/* ==========================================================================
   Betty Fleetfoot — site styles
   Colours are sampled from the poster render; fonts:
     Bebas Neue   — section headings
     Antonio      — billing block + small caps labels (one-sheet billing face)
     Outfit       — body text (shared with wwstudios.org)
     Apfel Grotezk— the Joshua 24:15 block (shared with WW Studios sites)
   ========================================================================== */

@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("../assets/fonts/antonio-variable.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../assets/fonts/outfit-variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Apfel Grotezk"; src: url("../assets/fonts/apfel-grotezk-mittel.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* sky & fog, top to bottom of the poster */
  --sky-1: #6aabe7;
  --sky-2: #8abde8;
  --sky-3: #b0d2ec;
  --fog-1: #cfe0ed;
  --fog-2: #dee6e7;
  --fog-3: #b2c5c4;
  --grass: #4e7851;

  /* title + wood */
  --sienna: #d9661f;
  --sienna-deep: #b4521a;
  --sienna-light: #ec7c3e;
  --wood: #6b3d1f;
  --wood-deep: #3b2214;
  --bark: #1b120c;
  --bark-2: #261910;

  /* paper + greens */
  --cream: #f8f1e5;
  --paper: #fbf6ec;
  --parchment: #f1e7d5;
  --sage: #8fa98a;
  --infield: #18211b;
  --infield-2: #213027;

  --ink: #23170f;
  --ink-soft: #6a5444;

  /* WW Studios family */
  --ww-black: #000;
  --ww-orange: #ff9300;

  --font-display: "Bebas Neue", "Antonio", Impact, sans-serif;
  --font-billing: "Antonio", "Arial Narrow", sans-serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ww: "Apfel Grotezk", "Outfit", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bark);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sienna-light); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-billing); font-weight: 500; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  padding: .85em 1.4em; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.btn svg { width: .95em; height: .95em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--sienna { background: var(--sienna); color: #fff; }
.btn--sienna:hover { background: var(--sienna-light); }
.btn--ghost { border-color: rgba(248, 241, 229, .4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--glass { background: rgba(27, 18, 12, .38); color: var(--cream); border-color: rgba(248, 241, 229, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(27, 18, 12, .55); }
.btn--small { font-size: 13px; padding: .6em 1.05em; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }

/* ---------- sticky nav (appears after the poster) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(27, 18, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
  transform: translateY(-105%); transition: transform .45s var(--ease-out);
}
.nav.is-on { transform: none; }
.nav__brand { font-family: var(--font-display); font-size: 26px; letter-spacing: .04em; color: var(--sienna-light); text-decoration: none; line-height: 1; padding-top: 3px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; text-decoration: none; opacity: .82; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 640px) { .nav__links { display: none; } .nav .btn { margin-left: auto; } }

/* ==========================================================================
   1. HERO
   Phones / tall windows: the one-sheet (poster render layers) fills the width
   and the billing sits under it.
   Wide screens: a wide render of the same scene (blender/hero_wide) covers
   the screen, the title sits in the sky on the left, billing along the bottom.
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bark);
}
.stage { position: relative; width: 100%; }
.stage__frame {
  position: relative; width: 100%; aspect-ratio: 27 / 40; overflow: hidden;
  background: linear-gradient(var(--sky-1), var(--sky-3) 22%, var(--fog-2) 42%, var(--fog-3) 80%, var(--grass));
}
.stage__art { position: absolute; inset: 0; }
.wide { display: none; }
.layer {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto;
  will-change: transform; backface-visibility: hidden;
}

/* soft vignette + warm bottom fade, as on the one-sheet */
.stage__frame::after, .wide::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 44%, transparent 55%, rgba(24, 30, 36, .28) 100%),
    linear-gradient(transparent 70%, rgba(27, 18, 12, .34) 82%, rgba(27, 18, 12, .66) 92%, rgb(27, 18, 12) 100%);
}

/* "WW Studios presents" + the carved title (positioned to match the poster on phones) */
.titleblock {
  position: absolute; z-index: 3; top: 5vw; left: 19.75vw; width: 60.44vw;
  text-align: center; pointer-events: none;
}
.presents {
  font-family: var(--font-billing); font-weight: 450; text-transform: uppercase;
  font-size: clamp(10px, 2.52vw, 26px); line-height: 1; letter-spacing: .24em; padding-left: .24em;
  margin-bottom: 1.8vw;
  color: var(--cream); text-shadow: 0 1px 6px rgba(30, 50, 70, .35);
}
.title { margin: 0; pointer-events: auto; }
.title img { width: 100%; height: auto; transform-origin: 50% 0; filter: drop-shadow(0 6px 12px rgba(52, 62, 70, .32)); }

/* the horse easter egg hotspot (over the horse's head) */
.horse-spot {
  position: absolute; z-index: 4; left: 12%; top: 36%; width: 34%; height: 30%;
  background: none; border: 0; padding: 0; cursor: pointer; border-radius: 40%;
  -webkit-tap-highlight-color: transparent;
}
.horse-spot--wide { left: 28%; top: 28%; width: 21%; height: 42%; }

/* ---------- billing block ---------- */
.billing {
  position: relative; z-index: 5;
  display: grid; justify-items: center; gap: .55em;
  padding: 6px var(--gutter) 30px;
  margin-top: -1px;
  background: rgb(27, 18, 12);
  color: var(--cream); text-align: center; text-transform: uppercase;
  font-family: var(--font-billing);
  text-shadow: 0 1px 3px rgba(12, 8, 5, .6);
}
.billing p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: .42em; row-gap: .1em; text-wrap: balance; }
.billing__tagline { font-weight: 620; color: var(--sienna-light); letter-spacing: .1em; font-size: clamp(16px, 2.9vw, 30px); margin-bottom: .45em; }
.b-name { font-weight: 300; letter-spacing: .01em; white-space: nowrap; line-height: 1.15; }
.b-label { font-weight: 450; letter-spacing: .06em; font-size: max(.46em, 9.5px); white-space: nowrap; }
.billing__line--cast { font-size: clamp(18px, 3.23vw, 34px); }
.billing__line--crew { font-size: clamp(16px, 2.7vw, 28px); column-gap: 1.3em !important; }
.b-group { display: inline-flex; align-items: center; gap: .26em; white-space: nowrap; }
.billing__line--small { font-size: clamp(11px, 1.72vw, 17px); letter-spacing: .16em; column-gap: 1.6em !important; margin-top: .9em; }
.b-status { color: var(--sienna-light); font-weight: 650; }
.b-url { text-decoration: none; font-weight: 450; }
.b-url:hover { color: var(--sienna-light); }

.hero__teaser { position: relative; z-index: 6; display: flex; margin: 0 auto 34px; }

/* ---------- wide screens ---------- */
@media (min-aspect-ratio: 5/4) {
  .hero { height: 100vh; height: 100svh; min-height: 560px; background: var(--fog-2); }
  .stage { display: none; }
  .wide { display: block; position: absolute; inset: 0; overflow: hidden; }
  .wide__frame {
    position: absolute; left: 50%; top: 50%; width: max(100vw, 200vh); aspect-ratio: 2 / 1;
    transform: translate(-50%, -50%);
  }
  .wide::after {
    background:
      radial-gradient(90% 110% at 50% 42%, transparent 55%, rgba(24, 30, 36, .26) 100%),
      linear-gradient(transparent 64%, rgba(27, 18, 12, .38) 80%, rgba(27, 18, 12, .7) 92%, rgb(27, 18, 12) 100%);
  }
  .titleblock { top: max(56px, 7vh); left: max(24px, 4vw); width: clamp(280px, min(26vw, 52vh), 560px); }
  .presents { font-size: clamp(12px, 1.15vw, 22px); margin-bottom: max(10px, 1.4vh); }
  .billing {
    position: absolute; left: 50%; bottom: max(18px, 3.4vh); width: min(1240px, 94vw);
    transform: translateX(-50%); padding: 0; background: none; gap: .4em;
  }
  .billing__tagline { font-size: clamp(15px, 2.3vh, 28px); margin-bottom: .3em; }
  .billing__line--cast { font-size: clamp(17px, 2.9vh, 34px); }
  .billing__line--crew { font-size: clamp(14px, 2.4vh, 28px); }
  .billing__line--small { font-size: clamp(11px, 1.45vh, 17px); margin-top: .6em; }
  .b-label { font-size: max(.46em, 10px); }
  .hero__teaser { position: absolute; top: max(22px, 3vh); right: max(22px, 3vw); margin: 0; }
}

/* ---------- hero intro (only when JS is running) ---------- */
.js .hero [data-layer] { opacity: 0; }
.js .hero.is-ready [data-layer] { animation: rise 1.1s var(--ease-out) both; }
.js .hero.is-ready [data-layer="bg"] { animation-name: fade-zoom; animation-duration: 1.6s; }
.js .hero.is-ready [data-layer="henry"], .js .hero.is-ready [data-layer="spud"] { animation-delay: .25s; }
.js .hero.is-ready [data-layer="fence"] { animation-delay: .35s; }
.js .hero.is-ready [data-layer="betty"] { animation-delay: .5s; }
.js .hero.is-ready [data-layer="horse"] { animation-name: slide-in; animation-delay: .65s; }
.js .hero.is-ready [data-layer="presents"] { animation-name: fade; animation-delay: .9s; }
.js .hero.is-ready [data-layer="title"] { animation-name: drop; animation-duration: 1.2s; animation-delay: 1s; }
.js .hero.is-ready [data-layer="billing"] { animation-name: fade; animation-delay: 1.45s; animation-duration: 1.4s; }
.js .hero.is-settled [data-layer] { animation: none; opacity: 1; }
.js .hero .hero__teaser { opacity: 0; transition: opacity 1s 1.9s; }
.js .hero.is-ready .hero__teaser { opacity: 1; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-zoom { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 3%; } to { opacity: 1; translate: 0 0; } }
@keyframes slide-in { from { opacity: 0; translate: -6% 1%; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { 0% { opacity: 0; translate: 0 -14%; } 60% { opacity: 1; translate: 0 2%; } 80% { translate: 0 -.6%; } 100% { opacity: 1; translate: 0 0; } }

/* easter egg: hover the carved sign and it swings on its nails */
.title:hover img { animation: swing 1.6s ease-out; }
@keyframes swing { 0% { rotate: 0deg; } 15% { rotate: 2.4deg; } 35% { rotate: -1.8deg; } 55% { rotate: 1deg; } 75% { rotate: -.45deg; } 100% { rotate: 0deg; } }

/* easter egg: pat the horse — he nuzzles Betty, she laughs */
.js .hero.is-settled.is-nuzzle [data-layer="horse"] { animation: nuzzle 1.1s var(--ease-out); transform-origin: 0% 100%; }
.js .hero.is-settled.is-nuzzle [data-layer="betty"] { animation: giggle .9s .25s var(--ease-out); }
@keyframes nuzzle { 0% { rotate: 0deg; translate: 0 0; } 35% { rotate: -2.2deg; translate: 1.6% -.6%; } 60% { rotate: .6deg; translate: .4% 0; } 100% { rotate: 0deg; translate: 0 0; } }
@keyframes giggle { 0%, 100% { translate: 0 0; } 25% { translate: 0 -1.1%; } 50% { translate: 0 0; } 70% { translate: 0 -.5%; } }

/* ==========================================================================
   2. STORY
   ========================================================================== */
.story {
  position: relative; color: var(--cream);
  padding: clamp(80px, 14vw, 170px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(217, 102, 31, .16), transparent 70%),
    var(--bark);
}
.kicker {
  font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .28em; font-size: 14px; font-weight: 500;
  color: var(--sienna-light); margin-bottom: 22px;
}
.kicker--dark { color: var(--sienna-deep); }
.logline {
  font-weight: 300; font-size: clamp(27px, 4vw, 54px); line-height: 1.2; letter-spacing: -.012em;
  max-width: 24em; text-wrap: pretty;
}
.logline em { font-style: normal; color: var(--sienna-light); }
.logline .w { transition: opacity .5s ease, color .5s ease; }
.logline .w.dim { opacity: .2; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.facts li { font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: rgba(248, 241, 229, .7); display: flex; align-items: center; gap: 18px; }
.facts li + li::before { content: ""; width: 5px; height: 5px; background: var(--sienna); rotate: 45deg; }

.still { margin: clamp(60px, 9vw, 110px) auto 0; width: min(1280px, 100% - 2 * var(--gutter)); }
.still__frame { aspect-ratio: 2.39 / 1; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.still__frame img { width: 100%; height: 118%; object-fit: cover; translate: 0 var(--py, -6%); }
.still figcaption { font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: rgba(248, 241, 229, .5); margin-top: 14px; text-align: right; }

/* ==========================================================================
   3. CHARACTERS
   ========================================================================== */
.characters {
  position: relative; padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px);
  background: linear-gradient(var(--paper), var(--parchment));
  color: var(--ink);
}
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: .01em; color: var(--wood-deep); }
.section-head__sub { margin-top: 14px; color: var(--ink-soft); font-size: 17px; max-width: 34em; margin-inline: auto; }
.section-head--light h2 { color: var(--cream); }
.section-head--light .section-head__sub { color: rgba(248, 241, 229, .72); }

.cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  padding: 10px var(--gutter) 24px;
}
.card { position: relative; flex: 0 0 auto; width: clamp(170px, calc((100% - 80px) / 6), 222px); aspect-ratio: 3 / 4.7; perspective: 1400px; }
.card__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.card.is-flipped .card__inner { transform: rotateY(180deg); }
.card__face {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 18px 40px -12px rgba(59, 34, 20, .45);
}
.card__front {
  background:
    radial-gradient(90% 60% at 50% 18%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(var(--c1), var(--c2));
}
.card__art {
  position: absolute; left: 50%; bottom: 0; height: 90%; width: auto; max-width: none;
  translate: -50% 0; filter: drop-shadow(0 10px 18px rgba(30, 20, 10, .28));
  transition: scale .6s var(--ease-out);
  transform-origin: 50% 100%;
}
.card__art--horse { height: auto; width: 124%; left: 0; translate: -19% 0; bottom: 5%; transform-origin: 30% 100%; }
.card:hover .card__art { scale: 1.04; }
.card__caption {
  position: absolute; inset: auto 0 0; padding: 60px 16px 16px;
  background: linear-gradient(transparent, rgba(27, 18, 12, .82) 60%);
  color: var(--cream);
}
.card__role { display: block; font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; font-weight: 500; color: var(--sienna-light); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: .95; letter-spacing: .02em; margin-top: 4px; }
.card__voice { display: block; font-size: 13px; opacity: .8; margin-top: 4px; }
.card__back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; padding: 22px 18px 18px;
  background:
    linear-gradient(var(--c2), var(--c2)) top / 100% 5px no-repeat,
    radial-gradient(100% 70% at 50% 0%, rgba(255, 255, 255, .06), transparent 70%),
    var(--bark-2);
  color: var(--cream);
}
.card__back h3 { margin-bottom: 12px; }
.card__bio { font-size: 14.5px; line-height: 1.5; color: rgba(248, 241, 229, .86); }
.voice { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(248, 241, 229, .14); }
.voice img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.voice span { font-size: 12px; letter-spacing: .04em; color: rgba(248, 241, 229, .65); line-height: 1.3; }
.voice strong { display: block; font-family: var(--font-billing); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; color: var(--cream); }
.card__flip { position: absolute; inset: 0; z-index: 2; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.card__hint {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; line-height: 1;
  background: rgba(255, 255, 255, .5); color: var(--wood-deep); backdrop-filter: blur(4px);
  transition: rotate .6s var(--ease-out), opacity .3s;
}
.card:hover .card__hint { rotate: 180deg; }
.card.is-flipped .card__hint { opacity: 0; }

@media (max-width: 1180px) { .cards { flex-wrap: wrap; } }
@media (max-width: 640px) {
  .cards {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-bottom: 30px;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { width: 74vw; max-width: 300px; scroll-snap-align: start; }
  .card h3 { font-size: 38px; }
  .card__bio { font-size: 15.5px; }
}

.also { font-family: var(--font-display); font-weight: 400; font-size: 40px; letter-spacing: .02em; color: var(--wood-deep); text-align: center; margin: clamp(50px, 7vw, 80px) auto 22px; }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.mini { position: relative; aspect-ratio: 3 / 4.9; perspective: 1200px; }
.mini.is-flipped .card__inner { transform: rotateY(180deg); }
.mini .card__face { border-radius: 12px; box-shadow: 0 12px 28px -14px rgba(59, 34, 20, .5); }
.mini__front { background: var(--cream); display: flex; flex-direction: column; }
.mini__front img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.92); }
.mini__front h4, .mini__back h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: .02em; color: var(--wood-deep); padding: 12px 12px 4px; }
.mini__front span { font-size: 13px; color: var(--ink-soft); padding: 0 12px; }
.mini__back { transform: rotateY(180deg); background: var(--bark-2); padding: 6px 4px 12px; overflow: auto; }
.mini__back h4 { color: var(--sienna-light); }
.mini__back p { font-size: 13px; line-height: 1.45; color: rgba(248, 241, 229, .85); padding: 6px 12px 0; }

.ensemble { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--ink-soft); text-align: center; }
.ensemble b { font-weight: 500; color: var(--wood-deep); margin-left: .35em; }

/* ==========================================================================
   4. BUILD LOG
   ========================================================================== */
.build {
  position: relative; color: var(--cream);
  padding: clamp(80px, 11vw, 140px) 0 clamp(120px, 14vw, 180px);
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(143, 169, 138, .18), transparent 70%),
    linear-gradient(var(--infield-2), var(--infield));
}

/* race-track progress */
.track { position: relative; margin: 10px 0 60px; padding: 116px 0 0; }
.track__rail { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(248, 241, 229, .2); }
.track__rail--top { top: 132px; }
.track__rail--bottom { top: 144px; }
.track__fill { position: absolute; left: 0; height: 3px; border-radius: 3px; background: var(--sienna-light); width: 0; transition: width 2s linear; }
.track__fill--top { top: 132px; }
.track__fill--bottom { top: 144px; }
.track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); }
.track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.post { width: 6px; height: 42px; border-radius: 2px; background: rgba(248, 241, 229, .3); }
.track li.is-done .post { background: var(--sienna-light); }
.track li.is-now .post { background: var(--cream); box-shadow: 0 0 0 4px rgba(248, 241, 229, .15), 0 0 22px rgba(236, 124, 62, .7); }
.track li span { margin-top: 14px; font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; line-height: 1.25; color: rgba(248, 241, 229, .5); max-width: 11ch; }
.track li.is-done span { color: rgba(248, 241, 229, .85); }
.track li.is-done span::before { content: "✓ "; color: var(--sienna-light); }
.track li.is-now span { color: var(--cream); font-weight: 600; }
.track li.is-now span::after { content: "Now"; display: block; margin: 8px auto 0; width: max-content; padding: 2px 8px; border-radius: 99px; background: var(--sienna); color: #fff; font-size: 11px; letter-spacing: .18em; }
.runner { position: absolute; top: 12px; width: 150px; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; translate: -50% 0; transition: left 2s linear; cursor: pointer; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
/* Billy: a standing frame, swapped for a 12-frame walk cycle while he moves (blender/characters/billy_walk.blend) */
.runner__billy { position: absolute; inset: 0; overflow: hidden; background: url("../assets/bits/billy-stand.webp") center / 100% 100% no-repeat; }
.runner__billy::before { content: ""; position: absolute; top: 0; left: 0; width: 1200%; height: 100%; display: none; background: url("../assets/bits/billy-walk.webp") 0 0 / 100% 100% no-repeat; animation: walk-cycle 1.2s steps(12) infinite; }
.runner.is-walking .runner__billy { background: none; }
.runner.is-walking .runner__billy::before { display: block; }
.runner.is-left .runner__billy { transform: scaleX(-1); }
@keyframes walk-cycle { from { translate: 0 0; } to { translate: -100% 0; } }

@media (max-width: 860px) {
  .track { padding: 0 0 0 64px; margin-bottom: 50px; }
  .track__rail, .track__fill { left: 22px; right: auto; width: 3px !important; height: auto; top: 0; bottom: 0; }
  .track__rail--bottom, .track__fill--bottom { left: 34px; }
  .track__fill { bottom: auto; height: 0; transition: height 1.6s var(--ease-out); }
  .track ol { grid-template-columns: 1fr; gap: 0; }
  .track li { flex-direction: row; align-items: center; text-align: left; min-height: 46px; padding: 0; }
  .post { position: absolute; left: -48px; width: 30px; height: 6px; }
  .track li span { margin: 0; max-width: none; font-size: 14px; }
  .track li.is-now span::after { display: inline-block; margin: 0 0 0 10px; }
  .runner { width: 112px; left: auto !important; right: 0; translate: 0 -62%; transition: top 1.6s var(--ease-out); }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-bottom: 70px; }
.stat { padding: 20px 22px; border-radius: 12px; background: rgba(248, 241, 229, .05); border: 1px solid rgba(248, 241, 229, .08); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: .95; color: var(--sienna-light); }
.stat span { font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: rgba(248, 241, 229, .7); }

.log { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 44px; }
.log::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(rgba(248, 241, 229, .25), rgba(248, 241, 229, .05)); }
.entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px 40px; align-items: start; }
.entry::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--infield); border: 2px solid var(--sienna-light); }
.entry.is-now::before { background: var(--sienna-light); box-shadow: 0 0 0 6px rgba(236, 124, 62, .2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(236, 124, 62, 0); } }
.entry__date { font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--sienna-light); }
.entry h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; letter-spacing: .02em; margin: 6px 0 10px; }
.entry p { color: rgba(248, 241, 229, .78); max-width: 32em; }
.entry__media { border-radius: 10px; overflow: hidden; background: #0e1410; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.entry__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__media--poster img { aspect-ratio: auto; max-height: 360px; object-fit: contain; margin-inline: auto; width: auto; }
.video { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%;
  background: rgba(27, 18, 12, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f8f1e5' d='M5 3v10l8-5z'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat;
  border: 1px solid rgba(248, 241, 229, .5); backdrop-filter: blur(6px); transition: scale .3s var(--ease-out), background-color .3s;
}
.video:hover::after { scale: 1.08; background-color: var(--sienna); }
.video__label { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-billing); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--cream); background: rgba(27, 18, 12, .65); padding: 4px 9px; border-radius: 99px; text-align: left; }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr; } }

.support {
  margin-top: clamp(70px, 9vw, 110px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 18px 40px; align-items: center;
  padding: clamp(26px, 4vw, 40px); border-radius: 18px;
  background: linear-gradient(120deg, rgba(217, 102, 31, .16), rgba(248, 241, 229, .04));
  border: 1px solid rgba(248, 241, 229, .1);
}
.support h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1; letter-spacing: .02em; margin-bottom: 8px; }
.support p { color: rgba(248, 241, 229, .78); max-width: 36em; }
.support__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.support__note { grid-column: 1 / -1; font-size: 14px; padding-top: 16px; border-top: 1px solid rgba(248, 241, 229, .1); }
.support__note a { color: var(--sienna-light); }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER — WW Studios family look
   ========================================================================== */
.footer { position: relative; background: var(--ww-black); color: #fff; }
.peek { position: absolute; bottom: 100%; right: clamp(20px, 12vw, 180px); width: clamp(110px, 12vw, 150px); height: 140px; overflow: hidden; pointer-events: none; }
.peek img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; translate: 0 105%; transition: translate .9s var(--ease-out); pointer-events: auto; cursor: pointer; }
.peek.is-up img { translate: 0 38%; }
.peek.is-up img:hover, .peek.is-ducked img { translate: 0 105%; transition-duration: .25s; }

.verse { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 90px); }
.verse__text { font-family: var(--font-ww); font-weight: 500; text-transform: uppercase; font-size: clamp(46px, 7.4vw, 104px); line-height: .96; letter-spacing: -.02em; }
.verse__ref { margin-top: 22px; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ww-orange); }
.verse__link { display: inline-block; margin-top: 22px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.verse__link:hover { color: var(--ww-orange); }

.footbar { background: #f6f6f4; color: #111; padding: clamp(50px, 6vw, 72px) 0 30px; }
.footbar__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footbar h2 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footbar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footbar a, .footbar .linklike { font-size: 14.5px; text-decoration: none; color: #111; }
.footbar a:hover, .footbar .linklike:hover { color: var(--sienna-deep); }
.footbar a.quiet { color: #666; }
.footbar__brand { display: flex; flex-direction: column; gap: 14px; }
.footbar__brand p { font-size: 14.5px; color: #555; line-height: 1.45; }
.footbar__brand strong { color: #111; }
.ww-mark { width: 92px; height: 92px; border-radius: 50%; background: #000; display: grid; place-items: center; }
.ww-mark img { width: 66%; height: auto; }
.footbar__fine { margin-top: 44px; padding-top: 20px; border-top: 1px solid #e3e3df; font-size: 13px; color: #777; }
@media (max-width: 760px) { .footbar__grid { grid-template-columns: 1fr 1fr; } .footbar__brand { grid-column: 1 / -1; } }

/* ---------- video player ---------- */
.player { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; border-radius: 12px; overflow: visible; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.player::backdrop { background: rgba(12, 8, 5, .86); backdrop-filter: blur(6px); }
.player__frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .4); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- toast (easter eggs) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; translate: -50% 20px; opacity: 0; pointer-events: none;
  font-family: var(--font-display); font-size: 26px; letter-spacing: .06em; color: var(--cream);
  background: var(--sienna); padding: 8px 20px 6px; border-radius: 99px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: opacity .35s, translate .35s var(--ease-out);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .cards .card, .js .minis .mini { opacity: 0; translate: 0 34px; transition: opacity .8s ease, translate .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .cards.is-in .card, .js .minis.is-in .mini { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .hero [data-layer], .js .reveal, .js .cards .card, .js .minis .mini { opacity: 1; translate: none; }
}
