/* ============================================================
   Media CFO — themediacfo.com
   Brand: black bracket logo, rose/magenta duotone, LA aerial
   ============================================================ */

:root {
  --ink:        #14080f;   /* near-black, warm */
  --ink-2:      #1f0f1a;
  --bg:         #ffffff;
  --bg-soft:    #faf6f8;
  --line:       #ede4e9;

  --rose:       #c75b86;   /* primary accent (from cover duotone) */
  --rose-deep:  #a23a66;
  --rose-soft:  #e89bba;
  --plum:       #2a1320;   /* dark section base */
  --plum-2:     #1a0b14;

  --text:       #261520;
  --muted:      #6e5963;
  --muted-dark: #c9a9b9;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(40, 10, 28, .35);
  --shadow-lg: 0 40px 90px -30px rgba(40, 10, 28, .55);

  --f-head: 'Archivo', 'Archivo Fallback', system-ui, sans-serif;
  --f-body: 'Inter', 'Inter Fallback', system-ui, sans-serif;
}

/* Metric-matched fallback fonts (Arial-based) so the webfont swap causes
   no layout shift. Overrides computed from the real font files vs Arial. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  size-adjust: 98.07%;
  ascent-override: 89.53%;
  descent-override: 21.41%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.29%;
  ascent-override: 90.29%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }
.section--dark {
  background: radial-gradient(120% 120% at 80% 0%, var(--plum) 0%, var(--plum-2) 70%);
  color: #fff;
}

.eyebrow {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--accent { color: var(--rose); }
.section--dark .eyebrow { color: var(--rose-soft); }

.section__title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.section__title--center { text-align: center; max-width: 880px; margin-left: auto; margin-right: auto; }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.section__head .section__title { margin-bottom: 0; max-width: 640px; }

p { color: var(--muted); font-size: 17px; }
.section--dark p { color: var(--muted-dark); }
.show__text p + p { margin-top: 16px; }
.host__text p + p { margin-top: 16px; }
strong { color: inherit; font-weight: 700; }
.section--dark strong, .show__text strong { color: var(--text); }
.section--dark strong { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 24px; border-radius: 100px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--accent {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(162, 58, 102, .6);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(162, 58, 102, .75); }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: rgba(120, 80, 100, .3);
}
.section--dark .btn--ghost,
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { color: var(--rose-soft); border-color: var(--rose-soft); }
.btn--block { display: flex; justify-content: center; width: 100%; margin-top: 18px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn__play { font-size: 11px; transform: translateY(.5px); }
.btn__ic { height: 15px; width: auto; display: inline-block; vertical-align: middle; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__brand img { height: 30px; width: auto; }
.nav.scrolled {
  background: rgba(20, 8, 15, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: 12px 0;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-family: var(--f-head); font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,.85); text-decoration: none; letter-spacing: .01em;
  transition: color .2s ease; position: relative;
}
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--rose); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 20px; font-size: 14px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 600px; display: flex; align-items: stretch;
  color: #fff; overflow: hidden; padding: 120px 0 0;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('assets/la-flyover.webp') center 30% / cover no-repeat;
  transform: scale(1.04);
}
.hero__wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20,8,15,.92) 0%, rgba(120,40,80,.55) 45%, rgba(199,91,134,.40) 100%),
    radial-gradient(80% 120% at 15% 50%, rgba(15,6,11,.85) 0%, rgba(15,6,11,0) 60%);
  mix-blend-mode: normal;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 20px;
  width: 100%;
}
.hero__copy { max-width: 640px; align-self: start; padding: 6px 0 52px; }
.hero__title {
  margin: 8px 0 26px;
}
.hero__title img {
  width: min(440px, 86%); height: auto; display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}
.hero__lede { font-size: clamp(17px, 2.1vw, 21px); color: rgba(255,255,255,.9); max-width: 540px; }
.hero__lede strong { color: #fff; }
.hero__actions { display: flex; gap: 14px; margin: 32px 0 28px; flex-wrap: wrap; }
.hero__chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips li {
  font-family: var(--f-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.22); border-radius: 100px; padding: 7px 14px;
  backdrop-filter: blur(4px);
}
/* Absolutely spans from the logo line (top) to the stats bar (bottom),
   so his head stays inline with the logo AND his feet stay on the bar
   regardless of copy height or viewport. */
.hero__portrait {
  position: absolute; top: 44px; right: 0; bottom: 0;
  width: clamp(300px, 40%, 470px);
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero__portrait img {
  position: relative; z-index: 1;
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(40,8,24,.4)) drop-shadow(0 2px 8px rgba(0,0,0,.28));
  animation: floatIn 1.1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.75); text-decoration: none; font-size: 22px;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  color: #fff; padding: 0;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat {
  padding: 46px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block; font-family: var(--f-head); font-weight: 900;
  font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 0%, var(--rose-soft) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label {
  display: block; margin-top: 12px; font-size: 14px; letter-spacing: .02em;
  color: rgba(255,255,255,.6);
}

/* ---------- The Show ---------- */
.show__inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 64px; align-items: start; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 34px; margin-top: 40px; }
.pillar { padding-left: 18px; border-left: 2px solid var(--rose); }
.pillar h3 { font-family: var(--f-head); font-size: 17px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.pillar p { font-size: 15px; }
.show__cover {
  position: sticky; top: 100px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.show__cover img { border-radius: 8px; }

/* ---------- Episodes ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ep { text-decoration: none; color: #fff; transition: transform .2s ease; }
.ep:hover { transform: translateY(-4px); }
.ep__thumb {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
}
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; filter: saturate(.9); }
.ep:hover .ep__thumb img { transform: scale(1.06); filter: saturate(1.05); }
.ep__play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: rgba(199,91,134,.92); border-radius: 50%; color: #fff;
  opacity: 0; transform: scale(.8); transition: .25s ease;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.5);
}
.ep:hover .ep__play { opacity: 1; transform: scale(1); }
.ep__meta { padding: 14px 4px 0; }
.ep__name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 16px; }
.ep__role { display: block; font-size: 13px; color: var(--muted-dark); margin-top: 2px; }
.ep--cta { align-self: start; }
.ep--cta .ep__ctainner {
  aspect-ratio: 4/3; height: auto; border-radius: 12px;
  border: 1.5px dashed rgba(255,255,255,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; transition: border-color .2s ease, background .2s ease;
}
.ep--cta:hover .ep__ctainner { border-color: var(--rose-soft); background: rgba(199,91,134,.08); }
.ep__ctaplay {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(199,91,134,.92);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ep__ctatext { font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.3; }

/* ---------- Guests / logo wall ---------- */
.guests__sub { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.logo-wall {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.logo-wall li {
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  padding: 36px 26px; min-height: 132px;
  transition: background .25s ease;
}
.logo-wall li:hover { background: var(--bg-soft); }
.logo-wall img {
  max-height: 46px; max-width: 100%; width: auto; object-fit: contain;
  opacity: .92; transition: opacity .25s ease, transform .25s ease;
}
.logo-wall li:hover img { opacity: 1; transform: scale(1.04); }

/* ---------- Host ---------- */
.host__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.host__photo { position: relative; }
.host__photo img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 420px;
}
.host__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 100px;
}
.host__rep { margin-top: 18px; }
.host__rep a { color: var(--rose-soft); text-decoration: none; border-bottom: 1px solid rgba(232,155,186,.4); }
.host__rep a:hover { color: #fff; }
.host__links { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Listen ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.platform {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rose-soft); }
.platform--primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border-color: transparent; color: #fff;
}
.platform__ic {
  font-size: 22px; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(199,91,134,.12); color: var(--rose-deep); margin-bottom: 6px;
}
.platform__ic img { width: 24px; height: 24px; object-fit: contain; display: block; }
.platform--primary .platform__ic { background: rgba(255,255,255,.18); color: #fff; }
.platform__name { font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--text); }
.platform--primary .platform__name { color: #fff; }
.platform__tag { font-size: 13.5px; color: var(--muted); }
.platform--primary .platform__tag { color: rgba(255,255,255,.85); }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; text-align: center; padding: 120px 0; overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(20,8,15,.94) 0%, rgba(162,58,102,.7) 60%, rgba(199,91,134,.6) 100%),
    url('assets/la-flyover.webp') center / cover no-repeat;
}
.cta__inner { position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -.02em; line-height: 1.08; max-width: 820px; margin: 0 auto 16px;
}
.cta p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-2); color: #fff; padding: 100px 0 44px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1.7fr; gap: 48px; }
.footer__logo { height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted-dark); max-width: 320px; font-size: 15px; }
.newsletter { margin-top: 24px; max-width: 380px; }
.newsletter__label {
  display: block; font-family: var(--f-head); font-weight: 600;
  font-size: 13px; letter-spacing: .02em; color: #fff; margin-bottom: 10px;
}
.newsletter__row { display: flex; gap: 8px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; padding: 11px 18px; color: #fff;
  font-family: var(--f-body); font-size: 14px; transition: border-color .2s ease, background .2s ease;
}
.newsletter input::placeholder { color: rgba(255,255,255,.42); }
.newsletter input:focus { outline: none; border-color: var(--rose-soft); background: rgba(255,255,255,.1); }
.newsletter .btn { flex-shrink: 0; }
.newsletter__note { margin-top: 10px; font-size: 13px; color: var(--rose-soft); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-family: var(--f-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 16px; }
.footer__col a { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; padding: 5px 0; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__ic { height: 16px; width: 16px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.footer__col a:hover .footer__ic { filter: none; opacity: 1; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 68px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer__credit { font-size: 13.5px; color: rgba(255,255,255,.6); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer__credit a { color: var(--rose-soft); text-decoration: none; }
.footer__credit a:hover { color: #fff; }
.footer__credit .dot { opacity: .5; }
.made-by {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  white-space: nowrap; line-height: 1; opacity: .9; transition: opacity .2s ease;
}
.made-by:hover { opacity: 1; }
.made-by__text { font-size: 12px; opacity: .7; color: #fff; }
.made-by__bird { height: 22px; width: auto; }
.made-by__word { height: 22px; width: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1.2fr .8fr; }
  .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(20,8,15,.97); backdrop-filter: blur(14px);
    padding: 16px 24px 22px; margin: 0;
  }
  .nav__links.open a { padding: 10px 0; font-size: 17px; }
  .nav.scrolled .nav__links.open { top: 100%; }

  .hero { height: auto; min-height: auto; padding: 130px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__portrait { display: none; }
  .hero__copy { max-width: 100%; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }

  .show__inner { grid-template-columns: 1fr; gap: 40px; }
  .show__cover { position: static; max-width: 420px; }
  .pillars { grid-template-columns: 1fr; gap: 20px; }
  .host__inner { grid-template-columns: 1fr; gap: 36px; }
  .host__photo img { max-width: 320px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .ep-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: clamp(56px, 22vw, 90px); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile: lighter hero background for faster LCP */
@media (max-width: 820px) {
  .hero__bg { background-image: url('assets/la-flyover-sm.webp'); }
}
