/* DIRECTION A1-B4-C2-D2-E2-F6-G4-H2-I1 — "ember reel"
 * A1 duotone ember · B4 wide geometric display (Sora 800) · C2 humanist body
 * (Source Sans 3) · D2 soft 20px corners · E2 hairline rules only, no shadow,
 * no glow · F6 cutout frame breaking the hero grid · G4 varied-span poster
 * palette · H2 medal strip · I1 crossfade (hero stack, card teaser, end card).
 * Every colour, radius, size and duration below resolves to a token here.
 */

@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/ss3-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/ss3-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/ss3-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/ss3-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  /* A1 surfaces: warm near-black lightness ladder */
  --ink:      #0B0807;
  --surface:  #15100E;
  --raised:   #201815;
  --line:     #3A2D26;
  --line-hot: #5A3A2C;
  /* text: two steps */
  --text:     #F4ECE4;
  --muted:    #B4A397;
  /* one accent + one lift, gold metal */
  --ember:      #F0502A;
  --ember-lift: #FF7D52;
  --gold:       #D4A55C;
  --gold-deep:  #8C6A3A;
  /* translucent steps of the same hues */
  --scrim-strong: rgba(11, 8, 7, 0.88);
  --scrim-soft:   rgba(11, 8, 7, 0.55);
  --scrim-clear:  rgba(11, 8, 7, 0);
  --wash-ember:   rgba(240, 80, 42, 0.22);
  --wash-gold:    rgba(212, 165, 92, 0.16);

  --font-display: "Sora", "Poppins", "Avenir Next", system-ui, sans-serif;
  --font-body:    "Source Sans 3", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1.04rem, 0.99rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.12rem + 0.6vw, 1.6rem);
  --step-2:  clamp(1.55rem, 1.30rem + 1.2vw, 2.25rem);
  --step-3:  clamp(2.0rem, 1.55rem + 2.3vw, 3.3rem);
  --display: clamp(2.35rem, 1.5rem + 4.2vw, 4.9rem);
  --numeral: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem);

  --lead-display: 0.98;
  --lead-body: 1.6;
  --track-wide: 0.04em;
  --track-eyebrow: 0.16em;

  /* D2 soft */
  --radius: 20px;
  --radius-tight: 18px;
  /* E2 hairline */
  --hair: 1px solid var(--line);
  --hair-hot: 1px solid var(--line-hot);
  --hair-ember: 1px solid var(--ember);

  /* I1 crossfade */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fade: 1100ms;
  --quick: 180ms;
  --hold: 5600ms;

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --wrap: 1240px;
  --measure: 68ch;
  --tap: 44px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--lead-body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--ember-lift); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-tight); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--display); line-height: var(--lead-display); margin: 0 0 1rem; }
h2 { font-size: var(--step-3); line-height: 1.05; margin: 0 0 0.9rem; }
h3 { font-size: var(--step-1); line-height: 1.2; margin: 0 0 0.5rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 50; background: var(--ink); padding: 0.6rem 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Media grading: pull every still/poster toward the ember duotone ---- */
.media { position: relative; overflow: hidden; background: var(--raised); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.06) sepia(0.1); }
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(195deg, var(--wash-ember), var(--scrim-clear) 45%, var(--wash-gold));
  mix-blend-mode: soft-light;
}

/* ---- Header -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink);
  border-bottom: var(--hair);
}
.site-head__row { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: var(--track-wide); font-size: 1.02rem; white-space: nowrap; min-height: var(--tap); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--ember); font-weight: 800; }
.nav { display: flex; gap: 0.2rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { height: 0; }
.nav a { color: var(--muted); text-decoration: none; padding: 0 0.8rem; min-height: var(--tap); display: inline-flex; align-items: center; border-radius: var(--radius-tight); white-space: nowrap; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.head-cta { margin-left: 0.4rem; }

/* ---- Buttons: internal (play/browse) vs external continuation ---------- */
.btn, .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: var(--tap); padding: 0.7rem 1.35rem;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  border-radius: var(--radius-tight); text-decoration: none; cursor: pointer;
  border: var(--hair); color: var(--text); background: transparent;
  transition: background-color var(--quick) var(--ease), border-color var(--quick) var(--ease), color var(--quick) var(--ease);
  user-select: none;
}
.btn--play { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn--play:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg, .cta svg { width: 1.05em; height: 1.05em; flex: none; }
.cta { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.cta:hover, .cta:focus-visible { background: var(--ember-lift); border-color: var(--ember-lift); color: var(--ink); }
.cta--line { background: transparent; color: var(--ember-lift); border-color: var(--line-hot); }
.cta--line:hover, .cta--line:focus-visible { background: var(--surface); color: var(--ember-lift); border-color: var(--ember); }
.cta--small { min-height: 38px; padding: 0.35rem 0.9rem; font-size: var(--step--1); }
.site-head .cta--small { min-height: var(--tap); }
.cta-note { color: var(--muted); font-size: var(--step--1); margin: 0.5rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 1.2rem; }

.eyebrow { font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--track-eyebrow); color: var(--gold); font-weight: 700; margin: 0 0 0.8rem; }
.provenance { color: var(--muted); font-size: var(--step--1); border-left: 2px solid var(--ember); padding-left: 0.7rem; margin: 0.4rem 0 1rem; }

/* ---- F6 hero: cutout frame breaking the grid ---------------------------- */
.hero { padding-top: clamp(1.4rem, 1rem + 2vw, 3rem); }
.hero__frame {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gutter); align-items: end;
  border: var(--hair); border-radius: var(--radius);
  background: radial-gradient(120% 90% at 85% 10%, var(--wash-ember), var(--scrim-clear) 60%), var(--surface);
  padding: clamp(1.4rem, 1rem + 2.5vw, 3.2rem);
  margin-top: clamp(2.5rem, 2rem + 4vw, 6rem);
}
.hero__copy { position: relative; z-index: 2; padding-bottom: 0.4rem; }
.hero__copy h1 { max-width: 12ch; }
.hero__intro { max-width: 52ch; color: var(--text); }
.hero__stage { position: relative; align-self: stretch; min-height: 520px; }
.hero__deck { position: absolute; inset: 8% 0 0 0; }
.hero__deck .layer {
  position: absolute; width: 38%; aspect-ratio: 9 / 16;
  border-radius: var(--radius); border: var(--hair-hot); overflow: hidden;
}
.hero__deck .layer:nth-child(1) { left: -4%; bottom: 2%; width: 40%; rotate: -7deg; }
.hero__deck .layer:nth-child(2) { right: -3%; bottom: 14%; width: 34%; rotate: 5deg; }
.hero__deck .layer:nth-child(3) { left: 4%; top: 2%; width: 28%; rotate: 3deg; }
.hero__cutout {
  position: absolute; z-index: 3;
  left: 54%; translate: -50% 0;
  bottom: calc(-1 * clamp(1.4rem, 1rem + 2.5vw, 3.2rem) - 2.2rem);
  top: calc(-1 * clamp(2.5rem, 2rem + 4vw, 6rem) - clamp(1.4rem, 1rem + 2.5vw, 3.2rem));
  aspect-ratio: 9 / 16; max-width: 62%;
  border-radius: var(--radius); border: var(--hair-ember); overflow: hidden;
  background: var(--raised);
}
.hero__cutout .media { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade) var(--ease); }
.hero__cutout .media.is-on { opacity: 1; }
.hero__cutout .media:first-child { opacity: 1; }
.hero__cutout.is-live .media:first-child:not(.is-on) { opacity: 0; }
.hero__tag {
  position: absolute; z-index: 4; left: 0.7rem; right: 0.7rem; bottom: 0.7rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.8rem; border-radius: var(--radius-tight);
  background: var(--scrim-strong); border: var(--hair);
  color: var(--text); text-decoration: none; font-weight: 700; font-size: var(--step--1); min-height: var(--tap);
}
.hero__tag span { color: var(--gold); font-weight: 600; white-space: nowrap; flex: none; }
.hero__tag:hover { border-color: var(--gold); color: var(--text); }
.hero__count { position: absolute; z-index: 4; top: 0.8rem; left: 0.8rem; padding: 0.25rem 0.6rem; border-radius: var(--radius-tight); background: var(--scrim-strong); border: var(--hair); font-size: var(--step--1); color: var(--gold); font-weight: 700; }
.hero--child .hero__frame { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.hero--child .hero__stage { min-height: 470px; }
.hero--child .hero__cutout { max-width: 56%; }

/* ---- Sections & prose ---------------------------------------------------- */
.section { padding-block: clamp(2.6rem, 1.6rem + 4vw, 5.5rem); }
.section--rule { border-top: var(--hair); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section__head p { color: var(--muted); max-width: 60ch; margin: 0; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--text); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.split--flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.aside-media { position: sticky; top: calc(var(--header-h) + 1.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.aside-media figure { margin: 0; }
.aside-media .media { aspect-ratio: 9 / 16; border-radius: var(--radius); border: var(--hair); }
.aside-media figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.35rem; }
.aside-media figure:nth-child(2) { margin-top: 2.6rem; }

/* ---- G4 varied-span poster palette -------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1.2rem; padding: 0.8rem; border: var(--hair); border-radius: var(--radius); background: var(--surface); }
.filters input[type="search"], .filters select {
  min-height: var(--tap); padding: 0 0.9rem; border-radius: var(--radius-tight);
  border: var(--hair); background: var(--ink); color: var(--text); font: inherit; font-size: var(--step--1);
}
.filters input[type="search"] { flex: 1 1 14rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { min-height: var(--tap); padding: 0 0.85rem; border-radius: var(--radius-tight); border: var(--hair); background: transparent; color: var(--muted); font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip[aria-pressed="true"]:hover { color: var(--ink); }
.filters__status { font-size: var(--step--1); color: var(--muted); margin: 0 0 0 auto; }
.filters__empty { padding: 1.4rem; border: var(--hair); border-radius: var(--radius); color: var(--muted); }

.palette {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr));
  grid-auto-flow: dense;
}
.palette > li { min-width: 0; }
.palette > li.is-wide { grid-column: span 2; grid-row: span 2; }
.palette > li[hidden] { display: none; }
.card { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; text-decoration: none; color: var(--text); }
.card .media { aspect-ratio: 9 / 16; border-radius: var(--radius); border: var(--hair); }
.is-wide .card .media { flex: 1; }
.card__teaser { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade) var(--ease); }
.card.is-playing .card__teaser { opacity: 1; }
.card__badge, .card__dur {
  position: absolute; z-index: 2; padding: 0.2rem 0.55rem; border-radius: var(--radius-tight);
  background: var(--scrim-strong); font-size: 0.82rem; font-weight: 700; line-height: 1.4;
}
.card__badge { left: 0.55rem; top: 0.55rem; color: var(--gold); display: inline-flex; align-items: center; gap: 0.3rem; }
.card__badge svg { width: 0.8em; height: 0.8em; }
.card__dur { right: 0.55rem; bottom: 0.55rem; color: var(--text); }
.card h3 { font-size: 1.02rem; line-height: 1.25; margin: 0; letter-spacing: 0; }
.is-wide .card h3 { font-size: var(--step-1); }
.card__facts { margin: 0; font-size: var(--step--1); color: var(--muted); }
.card:hover h3, .card:focus-visible h3 { color: var(--ember-lift); }
.card:hover .media, .card:focus-visible .media { border-color: var(--gold); }

/* ---- H2 medal strip (ranking + episode ladder) -------------------------- */
.medals { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: var(--hair); }
.medal-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 0.6rem + 2vw, 2.4rem); padding: clamp(1.6rem, 1rem + 2vw, 2.8rem) 0; border-bottom: var(--hair); }
.medal {
  width: calc(var(--numeral) * 1.7); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: var(--numeral);
  border: 2px solid var(--line-hot); color: var(--muted); line-height: 1;
}
.medal-row:first-child .medal { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.medal-row:nth-child(2) .medal { border-color: var(--gold); color: var(--gold); }
.medal-row h3 { font-size: var(--step-2); }
.medal-row .verdict { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: var(--track-eyebrow); font-size: var(--step--1); margin-bottom: 0.6rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0; border: var(--hair); border-radius: var(--radius); margin: 1rem 0; overflow: hidden; }
.facts > div { padding: 0.8rem 1rem; border-right: var(--hair); border-bottom: var(--hair); margin: -0 -1px -1px 0; }
.facts dt { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: var(--track-eyebrow); }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; }

/* typographic brand plate — services whose media is not in our pack */
.plate { border: var(--hair); border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1.5vw, 2.2rem); background: linear-gradient(160deg, var(--raised), var(--surface)); }
.plate__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; margin: 0 0 0.6rem; color: var(--text); }
.plate__line { color: var(--muted); margin: 0; }
.plate--hot { border-color: var(--ember); }

/* ---- comparison arena ---------------------------------------------------- */
.arena-wrap { overflow-x: auto; border: var(--hair); border-radius: var(--radius); }
.arena { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--step--1); }
.arena th, .arena td { padding: 0.85rem 0.9rem; text-align: left; border-bottom: var(--hair); vertical-align: top; }
.arena thead th { font-family: var(--font-display); font-size: 1rem; background: var(--surface); }
.arena thead th:nth-child(2) { color: var(--gold); }
.arena tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.arena td b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.arena tr:last-child td, .arena tr:last-child th { border-bottom: 0; }

/* ---- watch page ---------------------------------------------------------- */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-hot); }
.crumbs a { color: var(--muted); }
.watch-head { padding-top: 0.6rem; }
.watch-head h1 { font-size: var(--step-3); max-width: none; margin-bottom: 0.4rem; }
.watch-head .answer { max-width: 110ch; font-size: var(--step--1); }
.watch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 0.6rem + 2vw, 2.6rem); align-items: start; }
.player { --ph: min(80svh, calc(100svh - 300px), 760px); position: relative; width: min(100%, calc(var(--ph) * 0.5625)); aspect-ratio: 9 / 16; border-radius: var(--radius); border: var(--hair-hot); overflow: hidden; background: var(--ink); }
.player video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.player__error { position: absolute; inset: auto 0.7rem 0.7rem; padding: 0.8rem; border-radius: var(--radius-tight); background: var(--scrim-strong); border: var(--hair-ember); font-size: var(--step--1); }
.player__error[hidden] { display: none; }
.watch__side { display: grid; gap: 1.2rem; }
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.55rem; }
.ep { position: relative; display: flex; flex-direction: column; gap: 0.35rem; text-align: left; color: var(--text); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; min-height: var(--tap); }
.ep .media { aspect-ratio: 9 / 16; border-radius: var(--radius-tight); border: var(--hair); width: 100%; }
.ep--here .media { border: 2px solid var(--gold); }
.ep--locked .media img { filter: saturate(0.5) brightness(0.55) sepia(0.15); }
.ep__no { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.ep__label { font-size: 0.8rem; line-height: 1.25; color: var(--muted); }
.ep--here .ep__label { color: var(--gold); }
.ep__chip { position: absolute; z-index: 2; left: 50%; top: 32%; translate: -50% 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--scrim-strong); border: var(--hair-hot); color: var(--text); }
.ep__chip svg { width: 1.1rem; height: 1.1rem; }
.ep--here .ep__chip { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.ep--locked:hover .media, .ep--locked:focus-visible .media { border-color: var(--ember); }
.ep--locked:hover .ep__chip { border-color: var(--ember); color: var(--ember-lift); }
.continue { border: var(--hair-hot); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--surface); }
.continue h2, .continue h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.continue p { margin-bottom: 0.6rem; }
.endcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border: var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color var(--fade) var(--ease), background-color var(--fade) var(--ease); }
.endcard > div { padding: clamp(1rem, 0.8rem + 1vw, 1.6rem); }
.endcard > div + div { border-left: var(--hair); }
.endcard.is-ended { border-color: var(--ember); background: var(--raised); }
.endcard__state { font-size: var(--step--1); color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: var(--track-eyebrow); margin: 0 0 0.4rem; }
.next-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.next-list a { display: grid; gap: 0.35rem; text-decoration: none; color: var(--text); font-weight: 600; font-size: var(--step--1); line-height: 1.3; }
.next-list .media { aspect-ratio: 9 / 16; border-radius: var(--radius-tight); border: var(--hair); }
.next-list a:hover { color: var(--ember-lift); }
.synopsis { max-width: var(--measure); }

/* ---- feed (clips) -------------------------------------------------------- */
.feed { list-style: none; margin: 0 auto; padding: 0; height: min(82svh, 760px); max-width: 440px; overflow-y: auto; scroll-snap-type: y mandatory; border: var(--hair); border-radius: var(--radius); }
.feed li { scroll-snap-align: start; height: 100%; position: relative; }
.feed .media { position: absolute; inset: 0; }
.feed__ui { position: absolute; z-index: 3; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(to top, var(--scrim-strong), var(--scrim-clear)); display: grid; gap: 0.5rem; }
.feed__ui h3 { margin: 0; font-size: var(--step-1); }
.feed__ui a.feed__title { color: var(--text); text-decoration: none; }
.feed__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.feed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--fade) var(--ease); }
.feed li.is-playing video { opacity: 1; }

/* ---- link block, faq, footer -------------------------------------------- */
.linkgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; border-top: var(--hair); }
.linkgrid li { border-bottom: var(--hair); }
.linkgrid a { display: grid; gap: 0.2rem; padding: 1rem 0.2rem; min-height: var(--tap); text-decoration: none; color: var(--text); }
.linkgrid a span { color: var(--muted); font-size: var(--step--1); }
.linkgrid a strong { font-family: var(--font-display); font-size: 1.05rem; }
.linkgrid a:hover strong { color: var(--ember-lift); }
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.theme { border: var(--hair); border-radius: var(--radius); padding: 1rem 1.1rem; }
.theme h3, .theme__h { font-size: 1.1rem; font-family: var(--font-display); font-weight: 700; margin: 0 0 0.4rem; }
.theme ul { margin: 0; padding-left: 1.1rem; font-size: var(--step--1); }
.theme li a { display: inline-block; padding-block: 0.35rem; }
.faq { max-width: var(--measure); }
.faq h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.final { border: var(--hair-ember); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 3vw, 3.4rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--gutter); align-items: center; background: radial-gradient(90% 120% at 100% 100%, var(--wash-ember), var(--scrim-clear) 70%), var(--surface); }
.final__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.final__media .media { aspect-ratio: 9 / 16; border-radius: var(--radius-tight); border: var(--hair); }
.final__media .media:nth-child(2) { translate: 0 -1.4rem; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); border: var(--hair); border-radius: var(--radius); overflow: hidden; margin: 1.2rem 0; }
.glance > div { padding: 1rem 1.1rem; border-right: var(--hair); border-bottom: var(--hair); margin: 0 -1px -1px 0; }
.glance h3, .glance__h { font-size: 0.9rem; text-transform: uppercase; letter-spacing: var(--track-eyebrow); color: var(--gold); margin: 0 0 0.4rem; }
.glance ul { margin: 0; padding-left: 1rem; font-size: var(--step--1); }
.glance p { margin: 0; font-size: var(--step--1); }
.score { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--gold); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 0.6rem; overflow-x: auto; padding-bottom: 0.4rem; }
.strip a { text-decoration: none; color: var(--text); font-size: var(--step--1); font-weight: 600; display: grid; gap: 0.35rem; }
.strip .media { aspect-ratio: 9 / 16; border-radius: var(--radius-tight); border: var(--hair); }
.strip a:hover { color: var(--ember-lift); }
.note { color: var(--muted); font-size: var(--step--1); }
.dated { color: var(--muted); font-size: var(--step--1); }

.site-foot { border-top: var(--hair); margin-top: clamp(2rem, 1rem + 4vw, 5rem); padding-block: 2.4rem 3rem; color: var(--muted); font-size: var(--step--1); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.site-foot h2 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.6rem; letter-spacing: var(--track-wide); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { color: var(--muted); display: inline-flex; min-height: 34px; align-items: center; text-decoration: none; }
.site-foot li a:hover { color: var(--gold); }
.site-foot .adult { color: var(--text); border-left: 2px solid var(--ember); padding-left: 0.7rem; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__frame, .hero--child .hero__frame { grid-template-columns: 1fr; margin-top: 1rem; padding: 1.2rem; }
  .hero__stage { min-height: 0; height: 340px; order: 2; }
  .hero__copy { display: contents; }
  .hero__copy .eyebrow { order: 0; margin: 0; }
  .hero__copy h1 { order: 1; margin: 0; max-width: 14ch; }
  .hero__copy .hero__rest { order: 3; }
  .hero__cutout { top: 0; bottom: 0; }
  .hero__deck { inset: 6% 0 0 0; }
  .hero--child .hero__stage { height: 300px; }
  .split, .split--flip, .final, .endcard { grid-template-columns: 1fr; }
  .endcard > div + div { border-left: 0; border-top: var(--hair); }
  .aside-media { position: static; }
  .watch { grid-template-columns: 1fr; }
  .player { --ph: max(380px, min(80svh, calc(100svh - 430px))); margin-inline: auto; }
  .watch-head .answer { font-size: var(--step--1); line-height: 1.45; }
  .watch-head h1 { font-size: var(--step-2); }
  .watch-head .provenance { margin-bottom: 0.6rem; }
  .site-head__row { padding-top: 8px; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-head__row { flex-wrap: wrap; gap: 0 0.6rem; }
  .nav { order: 3; width: 100%; margin-left: calc(-1 * 0.8rem); border-top: var(--hair); }
  .head-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .palette > li.is-wide { grid-column: auto; grid-row: auto; }
  .is-wide .card h3 { font-size: 1.02rem; }
  .rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; }
  .ep__label { font-size: 0.72rem; }
  .ep__chip { width: 2rem; height: 2rem; }
  .next-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .medal-row { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .brand { font-size: 0.92rem; }
  .head-cta .cta { padding-inline: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
}
.after { margin-top: 1.4rem; }
.medal-row--flat { padding-block: 0; border-bottom: 0; }
.plate--stack + .plate--stack { margin-top: 0.6rem; }
.hero__stage > .plate--stack:first-child { margin-top: clamp(0rem, 2vw, 2rem); }
.hero__stage .plate__name { font-size: var(--step-2); }
.hero__stage .plate { padding: 1rem 1.2rem; }
.endcard__next { font-size: var(--step-1); margin-bottom: 0.8rem; }
.answer { font-size: var(--step-0); max-width: 62ch; margin: 0.2rem 0 0.6rem; }
.section--tight .facts { margin: 0; }
.facts dd a { color: var(--ember-lift); }

.arena caption { caption-side: top; text-align: left; padding: 0.8rem 0.9rem; color: var(--muted); font-size: var(--step--1); }
.arena-wrap + h3 { margin-top: 1.6rem; }

/* ---- Attention CTAs (22.11): header, hero, brand no. 1, sticky bar -------
   Only box-shadow and a sheen on ::after move; the button itself never
   shifts, so a click always lands where the pointer went down. */
.site-head .cta, .hero__go .cta:not(.cta--line), .watch-go .cta, .stickybar .cta,
.ctaband .cta, .cta[data-v^="b?"]:not(.cta--line), .medal-row:first-child .cta {
  position: relative; overflow: hidden; isolation: isolate;
  animation: cta-glow 2s ease-in-out infinite;
}
.site-head .cta::after, .hero__go .cta:not(.cta--line)::after, .watch-go .cta::after, .stickybar .cta::after,
.ctaband .cta::after, .cta[data-v^="b?"]:not(.cta--line)::after, .medal-row:first-child .cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 244, 232, 0.55), transparent);
  pointer-events: none;
  animation: cta-sheen 2s ease-in-out infinite;
}
.cta[data-v^="b?"].cta--line { animation: cta-ring 2s ease-in-out infinite; }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 80, 42, 0.6); }
  55% { box-shadow: 0 0 0 5px rgba(240, 80, 42, 0.12), 0 0 20px 3px rgba(255, 125, 82, 0.5); }
}
@keyframes cta-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 80, 42, 0.5); border-color: var(--line-hot); }
  55% { box-shadow: 0 0 0 4px rgba(240, 80, 42, 0.1); border-color: var(--ember); }
}
@keyframes cta-sheen {
  0% { left: -70%; }
  55%, 100% { left: 130%; }
}
.hero__go { margin: 0 0 1rem; }
.watch-go { margin: 0.2rem 0 0.8rem; }
.section--band { padding-block: 0 clamp(1.2rem, 0.8rem + 1.5vw, 2rem); }
.ctaband {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.4rem;
  padding: 1rem 1.2rem; border: var(--hair-ember); border-radius: var(--radius);
  background: radial-gradient(90% 140% at 100% 50%, var(--wash-ember), var(--scrim-clear) 70%), var(--surface);
}
.ctaband__text { margin: 0; font-weight: 700; color: var(--text); max-width: 60ch; }
.stickybar { display: none; }
@media (max-width: 900px) {
  .hero__copy .hero__go { order: 1; margin: 0.2rem 0 0; }
  .hero__copy .hero__rest:has(> .hero__go) { display: contents; }
  .hero__copy .hero__rest:has(> .hero__go) > * { order: 3; }
  .hero__copy .hero__rest > .hero__go { order: 1; }
}
@media (max-width: 768px) {
  .stickybar {
    display: flex; justify-content: center; align-items: center;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    height: 60px; padding: 0 var(--gutter) env(safe-area-inset-bottom);
    background: var(--ink); border-top: var(--hair-hot);
    visibility: hidden; opacity: 0;
    transition: opacity var(--quick) var(--ease), visibility 0s linear var(--quick);
  }
  .stickybar.is-on { visibility: visible; opacity: 1; transition: opacity var(--quick) var(--ease); }
  .stickybar .cta { width: 100%; max-width: 420px; min-height: 44px; padding-block: 0.5rem; white-space: nowrap; }
  body:has(.stickybar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 440px) {
  .site-head__row { flex-wrap: wrap; }
  .head-cta { flex: none; }
  .head-cta .cta { padding-inline: 0.6rem; gap: 0.3rem; font-size: 0.84rem; white-space: nowrap; }
  .head-cta .cta svg { display: none; }
}
@media (max-width: 360px) {
  .brand { font-size: 0.84rem; gap: 0.4rem; }
  .head-cta .cta { padding-inline: 0.5rem; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cta, .cta::after { animation: none !important; }
}
