/* THE DANKERTONS — pitch site v2. Netflix billboard language, show-native palette.
   Buttery doctrine: EXPO_OUT, 90ms staggers, native touch scroll, compositor-only motion.
   Display: Titan One (wordmark-adjacent chunk). Body: Inter. */
@font-face { font-family: "Titan One"; src: url("/fonts/titan-one.woff2") format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-display: swap; font-weight: 100 900; }

:root {
  --ink: #060a07;
  --ground: #090e0a;
  --panel: #101711;
  --card: #141d15;
  --cream: #f6f1de;
  --cream-dim: #cdc8b4;
  --mut: #8f9583;
  --green: #a3e635;
  --green-hot: #c8ff4d;
  --green-deep: #14532d;
  --gold: #eab308;
  --line: rgba(246, 241, 222, 0.1);
  --expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --quint-out: cubic-bezier(0.23, 1, 0.32, 1);
  --back-out: cubic-bezier(0.34, 1.56, 0.64, 1);
  --material: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 18px 44px rgba(4, 8, 5, 0.6);
  --radius: 16px;
  --display: "Titan One", "Arial Rounded MT Bold", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --gutter: clamp(16px, 3.4vw, 64px);
  /* one shared page column. Every section, rail and card starts on this line. */
  --page: 2000px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ground);
  color: var(--cream);
  font-family: var(--body);
  font-size: clamp(15px, 0.95vw, 18px);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- intro ---------- */
#intro { position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px;
  transition: opacity 600ms var(--expo-out), visibility 600ms; }
#intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
#intro .wm { width: min(70vw, 640px); opacity: 0; transform: scale(0.92); filter: blur(16px);
  transition: opacity 900ms var(--expo-out), transform 900ms var(--expo-out), filter 900ms var(--expo-out); }
#intro.play .wm { opacity: 1; transform: scale(1); filter: blur(0); }
#intro .skip { color: var(--mut); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; transition: opacity 400ms var(--expo-out) 1200ms; padding: 12px 20px; }
#intro.play .skip { opacity: 1; }
#intro .bar { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--green); width: 0%; }
#intro.play .bar { width: 100%; transition: width 2600ms linear; }
@media (prefers-reduced-motion: reduce) { #intro .wm { transition: none; opacity: 1; transform: none; filter: none; } }

/* ---------- nav ---------- */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* contents ride the shared page column, same line as every section below */
  padding: 16px max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter)));
  background: linear-gradient(rgba(6, 10, 7, 0.92), rgba(6, 10, 7, 0));
  transition: background 400ms var(--material), padding 400ms var(--material),
              box-shadow 400ms var(--material); }
header.nav.scrolled { padding-block: 9px;
  background: rgba(8, 13, 9, 0.72); backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 rgba(246,241,222,0.09), 0 10px 30px rgba(0,0,0,0.35); }
header.nav .logo { height: 52px; width: auto; display: block;
  transition: height 400ms var(--material), filter 300ms var(--expo-out); }
header.nav.scrolled .logo { height: 42px; }
header.nav a.brand { display: flex; align-items: center; }
header.nav a.brand:hover .logo { filter: drop-shadow(0 0 14px rgba(163,230,53,0.45)); }

header.nav nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 26px); }
header.nav nav a { position: relative; color: var(--cream-dim); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 7px 2px;
  transition: color 260ms var(--expo-out); }
/* underline grows from the centre on hover and stays put on the live section */
header.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 320ms var(--expo-out), opacity 320ms var(--expo-out); opacity: 0; }
header.nav nav a:hover { color: var(--cream); }
header.nav nav a:hover::after { transform: scaleX(1); opacity: 0.55; }
header.nav nav a.live { color: var(--cream); }
header.nav nav a.live::after { transform: scaleX(1); opacity: 1; }
@media (max-width: 820px) {
  header.nav { padding: 10px var(--gutter); }
  header.nav nav { display: none; }
  header.nav .logo { height: 44px; }
  header.nav.scrolled .logo { height: 38px; }
}

/* anchor targets clear the fixed header instead of hiding under it */
section[id] { scroll-margin-top: 84px; }

main { display: block; }
section { padding: clamp(40px, 5.5vw, 92px) 0; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: var(--page); margin: 0 auto; }
.kicker { color: var(--green); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.9vw, 52px);
  letter-spacing: 0.01em; line-height: 1.06; margin-bottom: 10px; text-shadow: 0 3px 0 rgba(0,0,0,0.35); }
.lede { color: var(--cream-dim); max-width: 72ch; font-size: clamp(15px, 1.05vw, 19px); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }

/* ---------- billboard hero (Netflix inset card) ---------- */
#hero { padding: clamp(70px, 7vw, 110px) var(--gutter) clamp(18px, 2vw, 34px);
  max-width: var(--page); margin-inline: auto; }
.billboard { position: relative; border-radius: clamp(14px, 1.4vw, 26px); overflow: hidden;
  min-height: min(86svh, 980px); display: flex; align-items: flex-end;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 1px solid rgba(246,241,222,0.08); }
.billboard .bg { position: absolute; inset: 0; }
.billboard .bg picture { display: block; width: 100%; height: 100%; }
.billboard .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%;
  transform: scale(1.045); animation: bbdrift 26s var(--expo-out) forwards; }
@keyframes bbdrift { to { transform: scale(1.0); } }
@media (prefers-reduced-motion: reduce) { .billboard .bg img { animation: none; transform: none; } }
/* The cast stands centre-right in the art and Dani is the leftmost of them, so the
   copy column is kept narrow and the scrim falls away by 40% rather than 68%.
   Anything wider buries her behind the logline. */
.billboard .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,10,7,0.46) 0%, rgba(6,10,7,0) 26%, rgba(6,10,7,0.5) 66%, rgba(6,10,7,0.96) 100%),
              linear-gradient(90deg, rgba(6,10,7,0.9) 0%, rgba(6,10,7,0.62) 20%, rgba(6,10,7,0.12) 40%, rgba(6,10,7,0) 54%); }
.billboard .content { position: relative; z-index: 2; padding: clamp(22px, 3vw, 56px); max-width: min(640px, 46%); }
.billboard .wordmark { width: min(420px, 62vw); margin-bottom: 16px; filter: drop-shadow(0 12px 34px rgba(0,0,0,0.6)); }
.metarow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px;
  color: var(--cream-dim); font-size: clamp(12.5px, 0.9vw, 15px); font-weight: 600; }
.metarow .dot::before { content: "•"; color: var(--green); margin-right: 14px; }
.metarow .badge { border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; font-size: 0.85em; color: var(--cream); }
.billboard .logline { font-size: clamp(16px, 1.35vw, 23px); font-weight: 700; color: var(--cream);
  max-width: 34ch; line-height: 1.35; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.billboard p.pitch { color: var(--cream-dim); max-width: 46ch; margin-bottom: 24px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px;
  font-weight: 800; font-size: clamp(14px, 1vw, 17px); letter-spacing: 0.01em; text-decoration: none;
  transition: transform 250ms var(--expo-out), background 300ms var(--expo-out), box-shadow 300ms var(--expo-out); }
.btn:active { transform: scale(0.95); }
.btn.primary { background: var(--cream); color: #101510; }
.btn.primary:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 12px 32px rgba(246,241,222,0.18); }
.btn.ghost { background: rgba(60, 70, 60, 0.5); color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(90, 100, 90, 0.55); transform: translateY(-2px); }

/* Phones: a tall billboard behind a 1.79 landscape image shows a ~21% vertical
   slice of it, which loses three of the four leads. Stack instead: the art keeps
   its own aspect above, the copy sits on the ground below it. */
@media (max-width: 820px) {
  .billboard { display: block; min-height: 0; }
  .billboard .bg { position: relative; inset: auto; aspect-ratio: 3 / 2; }
  .billboard .bg img { object-position: center 52%; }
  .billboard .bg::after {
    background: linear-gradient(180deg, rgba(6,10,7,0.42) 0%, rgba(6,10,7,0) 22%, rgba(6,10,7,0) 62%, rgba(6,10,7,0.9) 97%, var(--ground) 100%); }
  .billboard .content { max-width: none; padding: 4px clamp(16px, 5vw, 26px) clamp(24px, 6vw, 34px); margin-top: -12%; }
  .billboard .wordmark { width: min(320px, 62vw); }
  .billboard .logline, .billboard p.pitch { max-width: none; }
}

/* ---------- rails (Netflix rows) ---------- */
/* The scrollers stay full-bleed so cards can travel to the screen edge, but their
   content box is inset to the same line as .wrap, and scroll-padding keeps snapping
   from eating that inset (a start-aligned snap otherwise parks card 1 at x=0). */
.rail, .shelf {
  --edge: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter)));
  scroll-padding-inline: var(--edge);
}
.rail { display: grid; grid-auto-flow: column; gap: clamp(10px, 0.9vw, 18px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 22px var(--edge) 34px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-head { padding: 0 var(--gutter); max-width: var(--page); margin: 0 auto; }

/* click-and-drag scrolling (mouse only; touch keeps native momentum) */
.rail.dragging, .shelf.dragging { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.rail.dragging *, .shelf.dragging * { pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .rail, .shelf { cursor: grab; }
  .rail.dragging .card:hover { transform: none; box-shadow: none; }
}
.card { position: relative; scroll-snap-align: start; border-radius: 12px; overflow: hidden;
  background: var(--card); text-align: left;
  transition: transform 380ms var(--expo-out), box-shadow 380ms var(--expo-out); will-change: transform; }
@media (hover: hover) {
  .card:hover { transform: scale(1.055) translateY(-4px); box-shadow: var(--shadow-card); z-index: 3; }
  .card:hover img { transform: scale(1.06); }
}
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 600ms var(--expo-out); will-change: transform; }

/* stacked stills that crossfade in place, so a card advertises all four */
.card .frames { position: relative; display: block; width: 100%; aspect-ratio: 16/9; }
.card .frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 850ms var(--material), transform 600ms var(--expo-out); }
.card .frames img.on { opacity: 1; }
.card .pips { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 5px;
  padding: 4px 7px; border-radius: 99px; background: rgba(6,10,7,0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card .pips i { width: 5px; height: 5px; border-radius: 50%; background: rgba(246,241,222,0.45);
  transition: background 400ms var(--material), transform 400ms var(--material); }
.card .pips i.on { background: var(--green); transform: scale(1.35); }
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px;
  background: linear-gradient(180deg, rgba(6,10,7,0) 0%, rgba(6,10,7,0.92) 78%); }
.card .n { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
.card .t { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.15vw, 21px);
  line-height: 1.18; margin-top: 3px; overflow-wrap: anywhere; }
.card .s { color: var(--cream-dim); font-size: clamp(12px, 0.85vw, 14.5px); line-height: 1.4; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.ep { width: clamp(300px, 26vw, 520px); }
.card.sc { width: clamp(250px, 21vw, 420px); }
.card.wd { width: clamp(300px, 26vw, 520px); }

/* ---------- character cutout shelf ---------- */
#cast { background: radial-gradient(120% 90% at 50% 0%, #0e1810 0%, var(--ground) 70%); }
.shelf { display: grid; grid-auto-flow: column; gap: clamp(6px, 1vw, 26px); align-items: end;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 30px var(--edge) 40px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.figure { position: relative; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding: 6px clamp(4px, 0.8vw, 18px) 10px;
  transition: transform 380ms var(--expo-out); will-change: transform; }
.figure img { height: calc(clamp(280px, 24vw, 470px) * var(--hs, 1)); width: auto; max-width: none;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.5));
  transition: transform 380ms var(--expo-out), filter 380ms var(--expo-out); }
.figure .nm { font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.15vw, 22px);
  letter-spacing: 0.03em; color: var(--cream); text-shadow: 0 3px 0 rgba(0,0,0,0.5);
  transition: color 300ms var(--expo-out), transform 300ms var(--expo-out); text-align: center; line-height: 1.1; }
.figure .rl { color: var(--mut); font-size: clamp(10.5px, 0.72vw, 12.5px); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
/* Character colour themes. --ch is the character's world tint as an "r,g,b"
   triple; a subtle glow on the cutout and a tint on the name, never a fill.
   Colour follows the world, so Marty reads Nick blue and Coco reads Dani green. */
.figure.tinted img { filter: drop-shadow(0 18px 22px rgba(0,0,0,0.5)) drop-shadow(0 6px 22px rgba(var(--ch), 0.28)); }
.figure.tinted .rl { color: rgba(var(--ch), 0.75); }
.modal .char-top.tinted .cutout { filter: drop-shadow(0 18px 24px rgba(0,0,0,0.5)) drop-shadow(0 6px 26px rgba(var(--ch), 0.34)); }
.modal .char-top.tinted h3 { text-shadow: 0 0 26px rgba(var(--ch), 0.4); }
.modal .char-top.tinted .sub { color: rgba(var(--ch), 0.92); }
.modal .char-top.tinted .facts span { border-color: rgba(var(--ch), 0.4); }

@media (hover: hover) {
  .figure:hover { transform: translateY(-10px); }
  .figure:hover img { transform: scale(1.05); filter: drop-shadow(0 26px 30px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(163,230,53,0.18)); }
  .figure.tinted:hover img { filter: drop-shadow(0 26px 30px rgba(0,0,0,0.55)) drop-shadow(0 0 34px rgba(var(--ch), 0.5)); }
  .figure.tinted:hover .nm { color: rgb(var(--ch)); }
  .figure:hover .nm { color: var(--green-hot); transform: scale(1.05); }
}
.figure:active img { transform: scale(0.97); }

/* ---------- synopsis / format strip ---------- */
.format-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.format-strip span { border: 1px solid var(--line); border-radius: 99px; padding: 8px 18px;
  color: var(--cream-dim); font-size: clamp(12.5px, 0.85vw, 15px); font-weight: 600; background: rgba(246,241,222,0.03); }
.format-strip span b { color: var(--green); font-weight: 800; margin-right: 6px; }
.syn-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 64px); align-items: start; }
@media (max-width: 900px) { .syn-grid { grid-template-columns: 1fr; } }
.syn-grid .art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
.modal .scrim { position: absolute; inset: 0; background: rgba(3, 6, 4, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 400ms var(--expo-out); }
.modal.in .scrim { opacity: 1; }
.modal .sheet { position: relative; width: min(1100px, 100vw); max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border-radius: 20px 20px 0 0; border: 1px solid var(--line); border-bottom: 0;
  transform: translateY(48px); opacity: 0; transition: transform 500ms var(--expo-out), opacity 500ms var(--expo-out);
  -webkit-overflow-scrolling: touch; }
.modal.in .sheet { transform: translateY(0); opacity: 1; }
@media (min-width: 821px) { .modal { align-items: center; padding: 4vh 20px; }
  .modal .sheet { border-radius: 20px; border-bottom: 1px solid var(--line); } }
.modal .close { position: sticky; top: 12px; margin-left: auto; margin-right: 12px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(6,10,7,0.75); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: transform 250ms var(--back-out), background 250ms; }
.modal .close:hover { background: rgba(163,230,53,0.28); transform: rotate(90deg); }
.modal .body { padding: 0 clamp(16px, 3.5vw, 40px) clamp(26px, 4vw, 44px); margin-top: -42px; }
.modal .hero-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.modal h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 40px); margin: 20px 0 2px; }
.modal .sub { color: var(--green); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.modal p { color: var(--cream-dim); margin-bottom: 12px; max-width: 76ch; overflow-wrap: anywhere; }
.modal .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.modal .facts span { font-size: 12.5px; color: var(--cream-dim); border: 1px solid var(--line); border-radius: 99px; padding: 5px 13px; }
.modal ul.rel { list-style: none; margin: 4px 0 16px; }
.modal ul.rel li { color: var(--cream-dim); padding: 8px 0 8px 22px; position: relative; border-bottom: 1px dashed var(--line); overflow-wrap: anywhere; }
.modal ul.rel li::before { content: "◆"; color: var(--green); position: absolute; left: 0; font-size: 10px; top: 12px; }
.modal .char-top { display: grid; grid-template-columns: 240px 1fr; gap: clamp(14px, 2.4vw, 34px); align-items: end; margin-top: 8px; }
.modal .char-top .cutout { width: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.5)); }
@media (max-width: 700px) { .modal .char-top { grid-template-columns: 150px 1fr; } }

/* slideshow */
.slides { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.slides .track { display: flex; transition: transform 700ms var(--expo-out); }
.slides .track > button { flex: 0 0 100%; padding: 0; }
.slides .track img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.slides .arrows { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.slides .arrows button { pointer-events: auto; width: 46px; height: 46px; margin: 0 10px; border-radius: 50%;
  background: rgba(6,10,7,0.68); color: var(--cream); font-size: 19px;
  transition: transform 250ms var(--back-out), background 250ms; }
.slides .arrows button:hover { background: rgba(163,230,53,0.32); transform: scale(1.08); }
.slides .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slides .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(246,241,222,0.4);
  transition: background 300ms var(--quint-out), transform 300ms var(--quint-out); }
.slides .dots i.on { background: var(--green); transform: scale(1.3); }
/* top-left, because the sheet's close button owns the top-right corner */
.slides .count { position: absolute; top: 10px; left: 12px; font-size: 12px; font-weight: 700;
  color: var(--cream-dim); background: rgba(6,10,7,0.62); border: 1px solid var(--line);
  border-radius: 99px; padding: 3px 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.slides .count b { color: var(--cream); }

/* thumbnail strip: every still visible at once, so four never reads as one */
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 2px; margin-bottom: 14px;
  scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 auto; width: clamp(62px, 9vw, 104px); padding: 0; border-radius: 8px;
  overflow: hidden; border: 2px solid transparent; opacity: 0.5; background: none;
  transition: opacity 260ms var(--expo-out), border-color 260ms var(--expo-out), transform 260ms var(--expo-out); }
.thumbs button img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.thumbs button:hover { opacity: 0.85; transform: translateY(-2px); }
.thumbs button.on { opacity: 1; border-color: var(--green); }

/* ---------- lightbox ---------- */
#lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(3,6,4,0.95); display: none;
  align-items: center; justify-content: center; opacity: 0; transition: opacity 350ms var(--expo-out); }
#lightbox.open { display: flex; }
#lightbox.in { opacity: 1; }
#lightbox .stage { position: absolute; inset: 0; overflow: hidden; touch-action: none;
  display: flex; align-items: center; justify-content: center; }
#lightbox img { max-width: 100vw; max-height: 100svh; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }
#lightbox .cap { position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  background: rgba(6,10,7,0.82); border: 1px solid var(--line); color: var(--cream-dim);
  padding: 8px 18px; border-radius: 99px; font-size: 13px; max-width: min(92vw, 680px); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lightbox .lb-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 14px;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(6,10,7,0.75); font-size: 20px; z-index: 3; }
#lightbox .hint { position: absolute; top: max(18px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  color: var(--mut); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- creators / ask ---------- */
.creators { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-top: 26px; }
.creators .c { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform 350ms var(--expo-out), border-color 350ms; }
@media (hover: hover) { .creators .c:hover { transform: translateY(-3px); border-color: rgba(163,230,53,0.3); } }
.creators .c b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.creators .c em { display: block; color: var(--green); font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 12px; }
.creators .c p { color: var(--cream-dim); font-size: 14.5px; margin: 0; }
#contact { text-align: center; padding-bottom: 130px;
  background: radial-gradient(90% 70% at 50% 100%, #0e1810 0%, var(--ground) 75%); }
#contact .lede { margin: 0 auto 28px; }
footer { border-top: 1px solid var(--line); color: var(--mut); font-size: 12.5px; padding: 28px var(--gutter) 44px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); }
.rv.on { opacity: 1; transform: translateY(0); transition: opacity 400ms var(--expo-out), transform 400ms var(--expo-out); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .slides .track, .card, .card img, .figure, .figure img, .btn { transition: none; }
}

/* ---------- mobile type floor (must stay last: media queries add no specificity,
   so this has to come after the rules it lowers) ----------
   These are all tracked uppercase micro-labels, the first thing to close up on a
   phone. Nothing on a small screen renders below 12px. */
@media (max-width: 820px) {
  .card .n { font-size: 12px; letter-spacing: 0.2em; }
  .figure .rl { font-size: 12px; letter-spacing: 0.1em; }
  .metarow .badge { font-size: 12px; }
  #lightbox .hint { font-size: 12px; }
  .kicker { font-size: 12px; letter-spacing: 0.26em; }
  .card .s { font-size: 13px; }
  .thumbs button { width: 74px; }
}
