/* DIRECTION A2-B1-C3-D3-E3-F4-G2-H1-I3 — "oxblood reading room"
 * A2 oxblood and cream: deep wine surfaces, warm cream text, one brass accent, no pure black anywhere.
 * B1 high-contrast didone display (Bodoni Moda) · C3 mono-inflected sans body (Space Grotesk).
 * D3 asymmetric edges: one corner cut per surface (top-right), everything else square.
 * E3 depth by hard offset shadow, no blur · F4 collage deck of posters with real depth.
 * G2 overlapping stagger catalogue · H1 oversized ranking numerals bleeding off the edge.
 * I3 cursor-reactive layer: the hero deck follows the pointer. Used in the hero deck and card lift only.
 * Every colour, radius, offset, duration and font below resolves to this block.
 */
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  /* Surfaces: lightness ladder from deep wine — never pure black */
  --ink: #1c0b10;
  --surface: #2a1218;
  --raised: #3a1a22;
  --line: #5a2e38;
  /* Text: two steps of cream */
  --text: #f4e7d4;
  --muted: #cdb4a2;
  /* One hue (brass) + its lift */
  --brass: #c8995a;
  --brass-lift: #e6bf84;
  /* Alpha forms of the same values */
  --ink-92: rgb(28 11 16 / 0.92);
  --ink-70: rgb(28 11 16 / 0.7);
  --ink-35: rgb(28 11 16 / 0.35);
  --ink-0: rgb(28 11 16 / 0);
  --wine-wash: rgb(120 28 44 / 0.2);

  --font-display: "Bodoni Moda", "Playfair Display", "Didot", Georgia, serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.12vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.3rem, 1.18rem + 0.6vw, 1.7rem);
  --step-2: clamp(1.7rem, 1.45rem + 1.25vw, 2.5rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 3.8rem);
  --display: clamp(2.7rem, 1.4rem + 5.6vw, 6rem);
  --lead-display: 0.95;
  --lead-body: 1.66;
  --track-eyebrow: 0.16em;

  /* D3: square everywhere, one cut corner */
  --cut: 16px;
  --cut-sm: 10px;
  --chamfer: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  --chamfer-sm: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, 0 100%);

  /* E3: hard offset, no blur */
  --offset: 6px 6px 0 var(--line);
  --offset-brass: 6px 6px 0 var(--brass);
  --offset-sm: 4px 4px 0 var(--line);

  /* Grade: the pack pulled toward wine and brass */
  --grade: sepia(0.34) saturate(0.85) hue-rotate(-12deg) contrast(1.05) brightness(0.98);
  --grade-lift: sepia(0.12) saturate(1) hue-rotate(-4deg) contrast(1.03) brightness(1);

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --dur: 600ms;
  --dur-fast: 160ms;
  --dur-rail: 90s;
  --tilt: 4deg;

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --measure: 68ch;
  --header-h: 3.7rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
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: clip; }
img, video { max-width: 100%; display: block; }
a { color: var(--brass-lift); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--brass-lift); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brass); color: var(--ink); padding: 0.6rem 1rem; z-index: 50; }
.skip-link:focus { left: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.eyebrow { font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--track-eyebrow);
  color: var(--brass); margin: 0 0 0.9rem; font-weight: 600; font-family: var(--font-body); }

/* ---- Media grading ------------------------------------------------------ */
.media { position: relative; overflow: hidden; background: var(--raised); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; filter: var(--grade);
  transition: filter var(--dur) var(--ease); }
.media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(170deg, var(--wine-wash), var(--ink-0) 70%); mix-blend-mode: multiply; }

/* ---- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ink-92); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.25rem; 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-size: 1.3rem; font-weight: 700; white-space: nowrap; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 0.15rem; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: var(--step--1); font-weight: 500;
  padding: 0.7rem 0.75rem; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--brass); clip-path: var(--chamfer-sm); }
@media (max-width: 860px) {
  .site-header__in { flex-wrap: wrap; gap: 0; }
  .nav { margin-left: calc(-1 * 0.75rem); width: calc(100% + 0.75rem); }
}

/* ---- F4 hero: collage deck with depth, copy beside it -------------------- */
.scene { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy deck"; align-items: center; gap: clamp(1rem, 0.5rem + 3vw, 4rem);
  min-height: min(90svh, 860px); padding: clamp(1.5rem, 1rem + 3vw, 4rem) var(--gutter);
  background: radial-gradient(ellipse at 75% 40%, var(--raised), var(--ink) 65%); overflow: hidden; }
.scene__wall { grid-area: deck; position: relative; height: min(76svh, 720px); }
.scene__wall a { position: absolute; display: block; width: 44%; aspect-ratio: 9 / 16; text-decoration: none;
  box-shadow: var(--offset); transition: transform var(--dur) var(--ease); will-change: transform;
  transform: translate3d(calc(var(--mx, 0) * var(--depth, 10px)), calc(var(--my, 0) * var(--depth, 10px)), 0) rotate(var(--rot, 0deg)); }
.scene__wall a .media { height: 100%; clip-path: var(--chamfer); }
.scene__wall a:nth-child(1) { left: 0; top: 14%; --rot: calc(-2 * var(--tilt)); --depth: 8px; z-index: 1; }
.scene__wall a:nth-child(2) { left: 14%; top: 2%; --rot: calc(-1 * var(--tilt)); --depth: 14px; z-index: 2; }
.scene__wall a:nth-child(3) { left: 30%; top: 8%; width: 50%; --rot: 0deg; --depth: 26px; z-index: 5; box-shadow: var(--offset-brass); }
.scene__wall a:nth-child(4) { left: 52%; top: 0; --rot: var(--tilt); --depth: 16px; z-index: 3; }
.scene__wall a:nth-child(5) { left: 58%; top: 22%; --rot: calc(2 * var(--tilt)); --depth: 10px; z-index: 4; }
.scene__wall .is-focal .media img { filter: var(--grade-lift); }
.scene__copy { grid-area: copy; position: relative; z-index: 2; max-width: 44rem; }
.scene h1 { font-size: var(--display); line-height: var(--lead-display); margin: 0 0 1.1rem; font-weight: 700; }
.scene h1 em { font-style: italic; font-weight: 500; color: var(--brass); }
.lede { font-size: var(--step-0); color: var(--text); max-width: 38rem; }
.provenance { font-size: var(--step--1); color: var(--muted); border-left: 3px solid var(--brass); padding-left: 0.8rem;
  margin: 0.4rem 0 1.4rem; max-width: 40rem; }
@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; grid-template-areas: "deck" "copy"; min-height: 0; padding-top: 1.2rem; }
  .scene__wall { height: 62vw; max-height: 430px; }
  .scene__wall a { width: 34%; }
  .scene__wall a:nth-child(1) { left: 0; top: 16%; }
  .scene__wall a:nth-child(2) { left: 12%; top: 4%; }
  .scene__wall a:nth-child(3) { left: 31%; top: 0; width: 38%; }
  .scene__wall a:nth-child(4) { left: 54%; top: 4%; }
  .scene__wall a:nth-child(5) { left: 66%; top: 16%; }
  .scene h1 { font-size: clamp(2.5rem, 1.6rem + 6vw, 3.4rem); }
}

/* ---- Buttons ------------------------------------------------------------ */
.cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px;
  padding: 0.8rem 1.6rem; font-family: var(--font-body); font-size: var(--step-0); font-weight: 700; letter-spacing: 0.01em;
  border: 1px solid var(--brass); cursor: pointer; text-decoration: none; border-radius: 0;
  transition: background var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  user-select: none; }
.cta { background: var(--brass); color: var(--ink); box-shadow: var(--offset); border-top-right-radius: var(--cut); }
.cta:hover, .cta:focus-visible { background: var(--brass-lift); color: var(--ink); box-shadow: var(--offset-brass); }
.btn { background: transparent; color: var(--text); border-color: var(--line); }
.btn:hover, .btn:focus-visible { border-color: var(--brass); color: var(--text); }
.btn[aria-pressed="true"] { border-color: var(--brass); color: var(--ink); background: var(--brass); }
.cta-note { font-size: var(--step--1); color: var(--muted); margin: 0.8rem 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.4rem; }

/* ---- Sections & prose --------------------------------------------------- */
.section { padding-block: clamp(2.6rem, 1.6rem + 4vw, 6rem); }
.section--tight { padding-block: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.section--line { border-top: 1px solid var(--line); }
.section h2, .prose h2 { font-size: var(--step-3); line-height: 1.02; margin: 0 0 1rem; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); line-height: 1.18; margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--brass); }
.prose strong { color: var(--text); font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.page-head { padding-block: clamp(2rem, 1.4rem + 3vw, 4rem) 1.5rem; }
.page-head h1 { font-size: var(--step-3); line-height: 1; margin: 0 0 1rem; max-width: 22ch; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin: 0 0 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.dated { font-size: var(--step--1); color: var(--muted); }

/* ---- Rail (episode 1 picks) --------------------------------------------- */
.rail { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding-block: 1.6rem 1.2rem; }
.rail__track { display: flex; gap: 1rem; width: max-content; animation: rail var(--dur-rail) linear infinite; padding-inline: 1rem; }
.rail:hover .rail__track, .rail:focus-within .rail__track { animation-play-state: paused; }
.rail__item { position: relative; width: clamp(140px, 12vw, 190px); flex: none; text-decoration: none; color: var(--text); }
.rail__item:nth-child(even) { margin-top: 1.4rem; }
.rail__item .media { aspect-ratio: 9 / 16; clip-path: var(--chamfer-sm); }
.rail__item span { display: block; padding: 0.5rem 0.1rem 0; font-size: var(--step--1); font-weight: 600; line-height: 1.25; }
.rail__label { position: absolute; z-index: 2; left: var(--gutter); top: 0; background: var(--brass); color: var(--ink);
  font-size: 0.75rem; letter-spacing: var(--track-eyebrow); text-transform: uppercase; padding: 0.2rem 0.6rem; font-weight: 700; margin: 0; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ---- Catalogue: G2 overlapping stagger --------------------------------- */
.tools { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0 0 1.6rem; }
.tools input[type="search"] { min-height: 48px; padding: 0 1rem; background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: var(--step-0); border-radius: 0; min-width: min(100%, 18rem); }
.tools select { min-height: 48px; background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 0; font: inherit; font-size: var(--step--1); padding: 0 0.7rem; }
.tools .btn { min-height: 44px; padding: 0.5rem 0.9rem; font-size: var(--step--1); }
.tools__count { font-size: var(--step--1); color: var(--muted); margin-left: auto; }
.grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: clamp(0.6rem, 0.3rem + 1vw, 1.2rem);
  row-gap: clamp(1rem, 0.6rem + 1.5vw, 1.8rem); padding-bottom: 2.6rem; }
.grid > :nth-child(2n) { translate: 0 2.2rem; }
@media (min-width: 640px) { .grid { --cols: 3; } .grid > :nth-child(n) { translate: none; } .grid > :nth-child(3n + 2) { translate: 0 2.4rem; } }
@media (min-width: 980px) { .grid { --cols: 4; } .grid > :nth-child(n) { translate: none; } .grid > :nth-child(4n + 2), .grid > :nth-child(4n + 4) { translate: 0 2.6rem; } }
@media (min-width: 1280px) { .grid { --cols: 5; } .grid > :nth-child(n) { translate: none; } .grid > :nth-child(5n + 2), .grid > :nth-child(5n + 4) { translate: 0 2.8rem; } }
.card { position: relative; display: block; color: var(--text); text-decoration: none; background: var(--surface);
  box-shadow: var(--offset-sm); transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.card .media { aspect-ratio: 9 / 16; clip-path: var(--chamfer); }
.card:hover, .card:focus-visible { box-shadow: var(--offset-brass); z-index: 2; transform: translate(-3px, -3px); }
.card:hover .media img, .card:focus-visible .media img { filter: var(--grade-lift); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.6rem 0.8rem 0.8rem;
  background: linear-gradient(0deg, var(--ink-92) 30%, var(--ink-0)); }
.card__title { display: block; font-family: var(--font-display); font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.1;
  margin: 0 0 0.35rem; font-weight: 700; }
.card__meta { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.card__meta b { color: var(--brass-lift); font-weight: 700; }
.card__play { position: absolute; top: 0.6rem; left: 0.6rem; width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--brass); }
.card__play svg { width: 12px; height: 12px; fill: var(--ink); }
.card__dur { position: absolute; top: 1.4rem; right: 0.6rem; font-size: 0.78rem; font-weight: 700; background: var(--ink-70);
  padding: 0.1rem 0.4rem; font-variant-numeric: tabular-nums; }
.card video.teaser { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.empty { padding: 2rem 0; color: var(--muted); }

/* ---- H1 ranking: oversized numerals bleeding off the edge ---------------- */
.spot { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.spot__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: 1.4rem 1.2rem 1.4rem clamp(5rem, 3.6rem + 5vw, 8rem); background: var(--surface); box-shadow: var(--offset-sm);
  overflow: hidden; border-top-right-radius: var(--cut); }
.spot__item:first-child { background: var(--raised); box-shadow: var(--offset-brass); }
.spot__num { position: absolute; left: -0.24em; top: 50%; translate: 0 -50%; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 3.5rem + 6vw, 8.5rem); line-height: 0.8; color: var(--line); pointer-events: none; }
.spot__num::before { content: attr(data-n); }
.spot__item:first-child .spot__num { color: var(--brass); }
.spot__name { font-family: var(--font-display); font-size: var(--step-1); margin: 0 0 0.2rem; font-weight: 700; position: relative; }
.spot__name a { color: var(--text); text-decoration: none; }
.spot__name a:hover { color: var(--brass-lift); }
.spot__verdict { margin: 0; color: var(--muted); font-size: var(--step--1); position: relative; }
.spot__score { font-family: var(--font-display); font-size: var(--step-2); color: var(--text); text-align: right; line-height: 1; margin: 0; position: relative; }
.spot__score small { display: block; font-family: var(--font-body); font-size: 0.75rem; color: var(--muted); }
@media (max-width: 640px) {
  .spot__item { grid-template-columns: 1fr; padding-left: 4.2rem; }
  .spot__score { text-align: left; }
}

/* ---- Comparison arena --------------------------------------------------- */
.arena-wrap { overflow-x: auto; background: var(--surface); box-shadow: var(--offset); border-top-right-radius: var(--cut); }
.arena { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--step--1); }
.arena th, .arena td { padding: 0.85rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.arena thead th { font-family: var(--font-display); font-size: var(--step-0); font-weight: 700; border-bottom: 2px solid var(--brass); }
.arena thead th:nth-child(2) { color: var(--brass-lift); }
.arena tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.arena tfoot td { border-bottom: 0; }
.arena caption { caption-side: top; text-align: left; padding: 0.9rem 0.9rem 0.6rem; font-size: var(--step--1); color: var(--text); font-weight: 600; }
.arena .cta { min-height: 44px; padding: 0.5rem 0.9rem; font-size: var(--step--1); box-shadow: var(--offset-sm); }

/* ---- Panels -------------------------------------------------------------- */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1.6rem 0; }
.glance > div { background: var(--surface); padding: 1.1rem 1.2rem; box-shadow: var(--offset-sm); border-top-right-radius: var(--cut); }
.glance dt { font-size: var(--step--1); color: var(--brass); text-transform: uppercase; letter-spacing: var(--track-eyebrow); font-weight: 700; }
.glance dd { margin: 0.4rem 0 0; }
.glance ul { margin: 0; padding-left: 1.1rem; }
.typecard { position: relative; display: grid; place-items: center; min-height: 14rem; padding: 2rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--raised) 14px 15px); box-shadow: var(--offset);
  border-top-right-radius: var(--cut); }
.typecard__name { font-family: var(--font-display); font-size: var(--display); line-height: 0.9; margin: 0; color: var(--text); font-weight: 700; font-style: italic; }
.typecard__note { font-size: var(--step--1); color: var(--muted); margin: 1rem auto 0; max-width: 32rem; }
.stillrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stillrow a { display: block; color: var(--text); text-decoration: none; position: relative; }
.stillrow a:nth-child(even) { margin-top: 1.6rem; }
.stillrow .media { aspect-ratio: 9 / 16; clip-path: var(--chamfer); }
.stillrow span { display: block; padding: 0.5rem 0 0; font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
@media (max-width: 640px) { .stillrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.figure-cap { font-size: var(--step--1); color: var(--muted); margin-top: 0.8rem; }

/* ---- Subject blocks (hub) ------------------------------------------------ */
.subject { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2.4rem; }
.subject__access { font-size: var(--step--1); color: var(--muted); border-left: 3px solid var(--brass); padding-left: 0.8rem; }

/* ---- Link tiles ---------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.tile { display: block; padding: 1.3rem 1.2rem; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--offset-sm);
  border-top-right-radius: var(--cut); transition: box-shadow var(--dur-fast) var(--ease); }
.tile:hover, .tile:focus-visible { box-shadow: var(--offset-brass); }
.tile b { display: block; font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; line-height: 1.12; margin-bottom: 0.3rem; }
.tile span { color: var(--muted); font-size: var(--step--1); }

/* ---- Watch page ---------------------------------------------------------- */
.watch { display: grid; grid-template-columns: minmax(0, calc(80svh * 9 / 16)) minmax(0, 1fr); grid-template-areas: "player head" "player rail" "player info";
  column-gap: clamp(1.2rem, 1rem + 2.5vw, 3.5rem); row-gap: 1rem; align-items: start; }
.watch__head { grid-area: head; } .player { grid-area: player; } .watch__rail { grid-area: rail; } .watch__info { grid-area: info; }
.watch__head .provenance { margin-bottom: 0; }
.player { position: sticky; top: calc(var(--header-h) + 1rem); width: min(100%, calc(80svh * 9 / 16)); aspect-ratio: 9 / 16; background: var(--surface);
  box-shadow: var(--offset-brass); }
.player video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.player__error { position: absolute; inset: auto 0 0 0; padding: 1rem; background: var(--ink-92); font-size: var(--step--1); margin: 0; }
.watch__head h1 { font-size: var(--step-3); line-height: 1; margin: 0 0 0.6rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 1.4rem 0; }
.facts div { background: var(--surface); padding: 0.7rem 0.9rem; }
.facts dt { font-size: 0.75rem; color: var(--brass); text-transform: uppercase; letter-spacing: var(--track-eyebrow); font-weight: 700; }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; }
.continue { background: var(--raised); box-shadow: var(--offset-brass); padding: 1.2rem 1.3rem; margin: 1.2rem 0; border-top-right-radius: var(--cut); }
.continue p { margin: 0; }
.continue h2 { font-size: var(--step-1); margin: 0 0 0.4rem; }
@media (max-width: 860px) {
  .watch { grid-template-columns: 1fr; grid-template-areas: "head" "player" "rail" "info"; }
  .player { position: relative; top: auto; margin-inline: auto; width: min(100%, calc(62svh * 9 / 16)); }
}
.rail-note { font-size: var(--step--1); color: var(--muted); margin: 0 0 0.8rem; }
.eps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; }
@media (max-width: 640px) { .eps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ep { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface);
  color: var(--text); text-align: left; font: inherit; cursor: pointer; box-shadow: var(--offset-sm); }
.ep .media { display: block; aspect-ratio: 9 / 16; clip-path: var(--chamfer-sm); }
.ep__label { display: block; padding: 0.5rem 0.55rem 0.6rem; font-size: 0.8rem; line-height: 1.3; min-height: 3.8rem; }
.ep__label b { display: block; font-size: 0.86rem; }
.ep--here { box-shadow: var(--offset-brass); }
.ep--here .ep__chip { background: var(--brass); color: var(--ink); }
.ep__chip { position: absolute; top: 0.4rem; left: 0.4rem; z-index: 1; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.15rem 0.4rem; background: var(--ink-92); color: var(--brass-lift); }
.ep__chip svg { width: 9px; height: 9px; fill: currentColor; display: inline-block; vertical-align: -1px; }
.ep--locked .media img { filter: var(--grade) blur(1.5px); }
.ep--locked:hover, .ep--locked:focus-visible { box-shadow: var(--offset-brass); }
.ep__lock { position: absolute; top: 0.4rem; right: 0.9rem; z-index: 1; width: 26px; height: 26px; display: grid; place-items: center; background: var(--ink-92); }
.ep__lock svg { width: 13px; height: 13px; fill: var(--brass-lift); }
.endcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.2rem; margin-top: 1.6rem; }
.endcard > div { background: var(--surface); padding: 1.3rem; box-shadow: var(--offset-sm); border-top-right-radius: var(--cut); }
.endcard[data-state="ended"] > div { box-shadow: var(--offset-brass); background: var(--raised); }
.endcard__status { font-size: var(--step--1); color: var(--brass-lift); font-weight: 700; margin: 0 0 0.4rem; min-height: 1.4em; }
.endcard h2 { font-size: var(--step-1); margin: 0 0 0.6rem; }
.endcard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.endcard li a { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0.8rem; align-items: center; color: var(--text); text-decoration: none; min-height: 44px; }
.endcard li .media { aspect-ratio: 9 / 16; clip-path: var(--chamfer-sm); }
.endcard li a:hover b { color: var(--brass-lift); }
@media (max-width: 760px) { .endcard { grid-template-columns: 1fr; } }

/* ---- FAQ (always open) --------------------------------------------------- */
.faq h3 { font-size: var(--step-1); margin: 1.8rem 0 0.4rem; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { border-top: 3px solid var(--brass); background: var(--surface); padding-block: 2.6rem 3rem; margin-top: 3rem;
  font-size: var(--step--1); color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--step--1); text-transform: uppercase; letter-spacing: var(--track-eyebrow);
  color: var(--brass); margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { color: var(--muted); display: inline-block; padding: 0.35rem 0; min-height: 32px; }
.site-footer li a:hover { color: var(--text); }
.site-footer .provenance { color: var(--text); }
.site-footer__files { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.site-footer__files a { color: var(--muted); display: inline-block; padding: 0.6rem 0.15rem; }
.site-footer__files a:hover { color: var(--text); }
@media (max-width: 760px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__cols > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .rail { overflow-x: auto; }
  .scene__wall a { transform: rotate(var(--rot, 0deg)); }
}
