/* ============================================================
   BOOKSBYAMA — MEDIA KIT PAGE
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.media-hero {
  background: var(--bg-page);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}
.media-hero__inner { text-align: center; }
.media-hero__text { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.media-hero__title {
  font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; color: var(--text-primary); line-height: 1.12; letter-spacing: -.02em; margin: 0;
}
.media-hero__title span { color: var(--purple); }
.media-hero__sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; margin: 0; }

/* ── QUICK FACTS ──────────────────────────────────────────── */
.media-facts { background: var(--bg-surface); padding: 64px 0; border-bottom: 1px solid var(--border); }
.media-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.media-fact { display: flex; flex-direction: column; gap: 8px; }
.media-fact__value { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.media-fact__label { font-size: .82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ── BLURB ────────────────────────────────────────────────── */
.media-blurb { background: var(--bg-page); padding: 80px 0; }
.media-blurb__inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start;
}
.media-blurb__intro { display: flex; flex-direction: column; gap: 12px; }
.media-blurb__title { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--text-primary); margin: 0; line-height: 1.2; }
.media-blurb__text p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin: 0 0 16px; }
.media-blurb__text p:last-child { margin-bottom: 0; }

/* ── DOWNLOADS ────────────────────────────────────────────── */
.media-downloads { background: var(--bg-page); padding: 80px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.section-heading { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; color: var(--text-primary); line-height: 1.15; margin: 0; }
.section-sub { font-size: .93rem; color: var(--text-muted); line-height: 1.7; max-width: 520px; margin: 0; }

.media-downloads__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ── Asset card ───────────────────────────────────────────── */
.mda-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  position: relative; overflow: hidden;
}
.mda-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--border);
  transition: background .22s;
}
.mda-card--active::before  { background: linear-gradient(90deg, var(--green), #2fcc6d); }
.mda-card--soon::before    { background: linear-gradient(90deg, var(--gold), #f0a500); }
.mda-card--unavail::before { background: var(--border); }

.mda-card--active:hover {
  border-color: var(--purple-tint);
  box-shadow: 0 8px 32px rgba(99,93,169,.12);
  transform: translateY(-4px);
}

/* Top row: icon + badge */
.mda-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mda-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}

/* Status badges */
.mda-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 50px;
}
.mda-badge--active  { background: #E8F8EF; color: #2E9958; }
.mda-badge--soon    { background: #FFF3C4; color: #C99300; }
.mda-badge--unavail { background: #F2F1FA;  color: var(--text-light); }
.mda-badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2E9958; box-shadow: 0 0 5px #2E9958;
}

/* Body */
.mda-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mda-card__title {
  font-family: var(--font-head); font-size: .96rem; font-weight: 700;
  color: var(--text-primary); margin: 0; line-height: 1.3;
}
.mda-card__desc {
  font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin: 0;
}

/* Footer */
.mda-card__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mda-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: .7rem; color: var(--text-light); font-weight: 600;
}
.mda-meta span::before { content: '·'; margin-right: 5px; }
.mda-meta span:first-child::before { display: none; }
.mda-coming {
  font-size: .77rem; color: var(--text-light); margin: 0; font-style: italic;
}

/* Buttons */
.mda-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  font-size: .82rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none; font-family: inherit;
}
.mda-btn--download {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 3px 12px rgba(99,93,169,.28);
}
.mda-btn--download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,93,169,.38);
}
.mda-btn--soon {
  background: #FFF3C4; color: #C99300;
  cursor: default; pointer-events: none;
}
.mda-btn--unavail {
  background: var(--bg-page); color: var(--text-light);
  border: 1.5px solid var(--border);
  cursor: default; pointer-events: none;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.media-contact { background: var(--bg-page); padding: 0 0 96px; }
.media-contact__card {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-2xl); padding: 48px 56px; color: var(--text-primary);
}
.media-contact__text { display: flex; flex-direction: column; gap: 12px; }
.media-contact__title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; margin: 0; line-height: 1.2; color: var(--text-primary); }
.media-contact__sub { font-size: .97rem; color: var(--text-muted); line-height: 1.65; margin: 0; max-width: 540px; }
.media-contact__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .media-facts__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .media-blurb__inner { grid-template-columns: 1fr; gap: 32px; }
  .media-downloads__grid { grid-template-columns: 1fr 1fr; }
  .media-contact__card { grid-template-columns: 1fr; text-align: center; }
  .media-contact__actions { justify-content: center; }
}

@media (max-width: 768px) {
  .media-hero { padding: 100px 0 80px; }
  .media-facts__grid { grid-template-columns: 1fr; }
  .media-downloads__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .media-contact__card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .media-downloads__grid { grid-template-columns: 1fr; }
}
