/* ============================================================
   YOUNG WASHINGTON — Gritty Colonial Epic
   ============================================================ */

/* ---------- Display font: Urban Shadow (Blankids Studio) ----------
   NOTE: Urban Shadow is licensed PERSONAL USE ONLY by Blankids Studio.
   A commercial license is required for this film-campaign use.
   Contact blankids.co@gmail.com / www.blankidsfonts.com. */
@font-face {
  font-family: "Urban Shadow";
  src: url("assets/fonts/UrbanShadowSansSerif.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Color — OKLCH, tinted neutrals, never pure black/white */
  --ink:           oklch(0.16 0.008 95);   /* #14140f base */
  --ink-deep:      oklch(0.12 0.008 95);   /* #0e0e0a */
  --ink-raised:    oklch(0.20 0.008 95);   /* #1c1c17 */
  --ink-line:      oklch(0.27 0.008 95);   /* #2a2a25 */
  --redcoat:       oklch(0.45 0.16 28);    /* #8b1a1a weathered crimson */
  --redcoat-bright:oklch(0.58 0.17 28);    /* brighter crimson — used only on large display */
  --ember:         oklch(0.80 0.10 28);    /* #ff9a91 firelight tint */
  --gold:          oklch(0.81 0.14 88);    /* #e9c349 burnished gold */
  --gold-deep:     oklch(0.66 0.12 88);    /* #af8d11 */
  --cream:         oklch(0.91 0.012 90);   /* #e5e2da parchment */
  --cream-dim:     oklch(0.70 0.012 88);   /* secondary — ~6.6:1 on ink */
  --cream-faint:   oklch(0.635 0.012 88);  /* tertiary / legal copy — lifted to ~4.6:1 on ink (WCAG AA) */

  /* Type */
  --f-display: "Urban Shadow", "Anton", "Arial Narrow", sans-serif;
  --f-body:    "Source Serif 4", Georgia, serif;
  --f-label:   "Work Sans", system-ui, sans-serif;

  /* Fluid scale (ratio ~1.28) */
  --t-hero:   clamp(3.5rem, 11vw, 9.5rem);
  --t-d1:     clamp(2.4rem, 6vw, 4.75rem);
  --t-d2:     clamp(1.9rem, 4vw, 3rem);
  --t-quote:  clamp(2rem, 5.5vw, 4.5rem);
  --t-body:   clamp(1.05rem, 1.35vw, 1.25rem);
  --t-label:  0.78rem;

  /* Space */
  --margin: clamp(1.25rem, 6vw, 5rem);
  --section: clamp(6rem, 13vw, 11rem);
  --maxw: 1320px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);          /* ease-out-expo: confident, decisive */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);    /* smooth */
  --ease-quint: cubic-bezier(0.22, 1, 0.36, 1);   /* snappier */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--redcoat); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Skip link — visible only when focused */
.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 12000;
  background: var(--gold); color: var(--ink);
  font-family: var(--f-label); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: -4px; }

/* ---------- Atmosphere: grain + embers ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.embers {
  position: fixed; inset: 0; z-index: 8000; pointer-events: none;
  width: 100%; height: 100%;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--f-label);
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before {
  content: ""; width: clamp(1.5rem, 4vw, 3rem); height: 1px;
  background: var(--gold); opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-d1);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.display em { font-style: normal; color: var(--redcoat-bright); }

.headline {
  font-family: var(--f-display);
  font-size: var(--t-d2);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.gold { color: var(--gold); }

.prose {
  font-family: var(--f-body);
  color: var(--cream-dim);
  max-width: 56ch;
  line-height: 1.7;
}
.prose--wide { max-width: 64ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose em { color: var(--ember); font-style: italic; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-label); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink-line);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 1.05rem 2.1rem;
  border-radius: 0;            /* sharp */
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.btn--primary {
  background: var(--redcoat); color: var(--cream);
  box-shadow: inset 0 0 30px -12px var(--ember);
}
.btn--primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--gold);
  border: 1px solid color-mix(in oklch, var(--gold) 55%, transparent);
}
.btn--ghost:hover { border-color: var(--gold); background: color-mix(in oklch, var(--gold) 8%, transparent); }
.btn--play .play {
  width: 0; height: 0; border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- Wordmark (CSS lockup) ---------- */
.wordmark {
  display: inline-flex; flex-direction: column;
  font-family: var(--f-display);
  text-transform: uppercase;
  color: var(--cream);
  line-height: 0.86;
  letter-spacing: 0.01em;
}
.wordmark span { display: block; }
.wordmark--xs { font-size: 1.05rem; letter-spacing: 0.02em; line-height: 0.82; }
.wordmark--sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.wordmark--hero {
  font-size: var(--t-hero);
  letter-spacing: 0.005em;
  text-shadow: 0 6px 40px rgba(0,0,0,0.55);
}

/* Hero lockup with sunburst */
.lockup { position: relative; display: inline-block; padding-top: clamp(1.5rem, 4vw, 3rem); }
.lockup__sun {
  position: absolute;
  left: 50%; top: -8%;
  width: clamp(15rem, 36vw, 30rem);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  z-index: -1;
  /* radiating tapered rays across the top semicircle */
  background:
    repeating-conic-gradient(from -90deg at 50% 100%,
      var(--redcoat) 0deg 4.5deg,
      transparent 4.5deg 11deg);
  -webkit-mask-image: radial-gradient(120% 150% at 50% 100%,
      #000 28%, rgba(0,0,0,0.55) 52%, transparent 78%);
          mask-image: radial-gradient(120% 150% at 50% 100%,
      #000 28%, rgba(0,0,0,0.55) 52%, transparent 78%);
  opacity: 0.92;
}
.lockup__sun::after {  /* solid sun core */
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 64%; aspect-ratio: 2 / 1; transform: translateX(-50%);
  background: var(--redcoat);
  -webkit-mask-image: radial-gradient(100% 200% at 50% 100%, #000 60%, transparent 100%);
          mask-image: radial-gradient(100% 200% at 50% 100%, #000 60%, transparent 100%);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem var(--margin);
  /* Only paint properties transition — never animate layout (padding/height). */
  transition: background 0.5s var(--ease),
              border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--ink-deep) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: var(--ink-line);
}
.nav__links { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav__links a {
  font-family: var(--f-label); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim);
  position: relative; padding-bottom: 4px;
  transition: color 0.35s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1.4rem; }
.nav__date {
  font-family: var(--f-label); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.nav__links-claim { display: none; }  /* only surfaces inside the mobile menu */

/* Hamburger — hidden on desktop, shown under 900px */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem var(--margin) 4rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.82);
  transform: scale(1.04);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 28%, transparent 30%, rgba(14,14,10,0.55) 75%, var(--ink) 100%),
    linear-gradient(180deg, rgba(14,14,10,0.7) 0%, transparent 22%, transparent 55%, var(--ink) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  max-width: 60rem;
}
.hero__tagline {
  font-family: var(--f-body); font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  color: var(--cream); max-width: 24ch; line-height: 1.35;
}
.hero__cast {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.2rem;
  font-family: var(--f-label); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim);
}
.hero__cast li { display: flex; align-items: center; gap: 1.2rem; }
.hero__cast li:not(:last-child)::after {
  content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.6rem; }
.hero__meta {
  font-family: var(--f-label); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-top: 0.4rem;
}
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 42px; border: 1px solid var(--cream-faint);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 2px; height: 8px;
  background: var(--gold); transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity:0; top:8px } 40% { opacity:1 } 100% { opacity:0; top:24px } }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: var(--section) var(--margin); max-width: var(--maxw); margin-inline: auto; }

/* ---------- Welcome ---------- */
.welcome__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.welcome__copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; min-width: 0; }
.welcome__copy .display { margin-top: 0.3rem; }
.welcome__figure { position: relative; min-width: 0; }
.welcome__figure img {
  /* height:auto lets aspect-ratio define the box (the width/height attrs are for
     CLS only; without this they'd force the raw 2837x1595 ratio). */
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: 62% 26%;            /* frame the face, not the collar */
  max-height: 620px;
  filter: contrast(1.03) saturate(0.95);
}
.welcome__figure::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 90px -20px rgba(0,0,0,0.9);
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,10,0.55) 100%);
}
.welcome__figure figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: 1.4rem 1.6rem;
  font-family: var(--f-body); font-style: italic; font-size: 1rem;
  color: var(--cream); max-width: 30ch; line-height: 1.4;
}

/* ---------- Story (full-bleed) ---------- */
.story { position: relative; }
.story__sticky { position: relative; overflow: hidden; padding: clamp(8rem, 18vw, 16rem) var(--margin); }
.story__still { position: absolute; inset: 0; z-index: 0; }
.story__still img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  filter: brightness(0.6) saturate(0.9) contrast(1.05);
  transform: scale(1.08);
}
.story__smoke {
  position: absolute; inset: -16% -26%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(38% 55% at 28% 48%, rgba(255,150,90,0.16), transparent 70%),
    radial-gradient(42% 52% at 72% 42%, rgba(230,70,50,0.14), transparent 72%),
    radial-gradient(30% 40% at 52% 64%, rgba(255,190,120,0.12), transparent 70%);
  filter: blur(28px); opacity: 0; mix-blend-mode: screen;
  will-change: transform, opacity;
}
.story--lite .story__smoke { display: none; }
.story__fade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(14,14,10,0.65) 42%, transparent 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 75%, var(--ink) 100%);
}
/* Film grain — scoped to the story photo only. Lives inside .story__still
   (z-index 0 in the sticky), so it always sits beneath .story__inner content.
   Overlay blend = it reads on the lit photo and vanishes over the ink fade. */
.story__grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='sg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23sg)'/%3E%3C/svg%3E");
  background-size: 400px 400px;
}
@media (prefers-reduced-motion: no-preference) {
  /* Paused by default; only runs while the story is on screen (set by IO).
     A keyframe animation does not stop offscreen on its own. */
  .story__grain { animation: grainShift 0.5s steps(3) infinite; animation-play-state: paused; }
  .story--inview .story__grain { animation-play-state: running; }
}
@keyframes grainShift {
  0%   { background-position: 0 0; }
  33%  { background-position: -45px 25px; }
  66%  { background-position: 35px -30px; }
  100% { background-position: -20px -40px; }
}
.story__inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start;
}
.story__quote {
  font-family: var(--f-display); text-transform: uppercase;
  font-size: var(--t-quote); line-height: 0.98; letter-spacing: 0.005em;
  color: var(--cream); max-width: 20ch;
}
.story__line { display: block; }

/* === Cinematic scroll sequence (JS-enabled, !reduced-motion) === */
.story.is-cinematic { height: 280vh; height: 280svh; }
.story.is-cinematic .story__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;   /* svh matches the hero; avoids mobile URL-bar clipping */
  display: flex; align-items: center;
  padding-top: 0; padding-bottom: 0;
}
/* Short / landscape phones: keep the quote + prose inside the pinned viewport */
@media (max-height: 540px) {
  .story.is-cinematic .story__quote { font-size: clamp(1.4rem, 6vh, 2.4rem); }
  .story.is-cinematic .story__prose { font-size: 0.92rem; }
  .story.is-cinematic .story__inner { gap: 1rem; }
}
.story.is-cinematic .story__line .word { display: inline-block; }
.story.is-cinematic .story__line .word__inner {
  display: inline-block;
  opacity: var(--wp, 0);
  transform: translateY(calc((1 - var(--wp, 0)) * 0.5em));
  filter: blur(calc((1 - var(--wp, 0)) * 4.5px));
}
/* will-change only while the stage is live (transient, not all session) */
.story--inview.is-cinematic .story__line .word__inner { will-change: opacity, transform, filter; }
/* Low-power devices (coarse pointer / few cores): drop the per-word blur entirely */
.story--lite.is-cinematic .story__line .word__inner { filter: none; }
.story.is-cinematic .story__prose {
  opacity: var(--pp, 0);
  transform: translateY(calc((1 - var(--pp, 0)) * 20px));
  transition: none;
}
@media (max-width: 700px) {
  .story__smoke { filter: blur(18px); inset: -10% -16%; }
}

/* ---------- Tickets ---------- */
.tickets__head { display: flex; flex-direction: column; gap: 1.2rem; max-width: 62ch; }
.packets { margin-top: clamp(2.5rem, 6vw, 4rem); }
.packets__label {
  font-family: var(--f-label); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim);
  margin-bottom: 1.2rem;
}
.packets__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--ink-line); border: 1px solid var(--ink-line);
}
.packet {
  position: relative; text-align: left;
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: clamp(1.3rem, 2.5vw, 2rem) clamp(1.1rem, 2vw, 1.6rem) clamp(1.3rem, 2.5vw, 1.8rem);
  background: var(--ink-raised);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.packet::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.packet:hover { background: color-mix(in oklch, var(--ink-raised) 80%, var(--redcoat)); }
.packet.is-active { background: color-mix(in oklch, var(--ink-raised) 62%, var(--redcoat)); }
.packet.is-active::before { transform: scaleX(1); }
.packet__index {
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; color: var(--gold);
}
.packet__count { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 0.9; }
.packet__unit {
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-dim);
}
.packet__sub { font-family: var(--f-body); font-size: 0.92rem; color: var(--cream-faint); margin-top: 0.4rem; }
.packet--max .packet__count { color: var(--gold); }
.packets__chosen {
  margin-top: 1.4rem;
  font-family: var(--f-body); font-style: italic; color: var(--cream-dim);
  min-height: 1.5em;
}
.packets__chosen strong { color: var(--gold); font-style: normal; font-weight: 600; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--ink-line); padding-top: clamp(2.5rem, 5vw, 4rem);
}
.step { display: flex; flex-direction: column; gap: 0.7rem; }
.step__num {
  font-family: var(--f-display); font-size: 2.2rem; color: var(--redcoat-bright);
  line-height: 1;
}
.step h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.04em; }
.step p { font-family: var(--f-body); color: var(--cream-dim); font-size: 1rem; max-width: 30ch; }

/* ---------- Claim form ---------- */
.claim { display: flex; justify-content: center; position: relative; overflow: hidden; }
/* Faint film still carries the cinema into the conversion moment, fading to ink. */
.claim__bg {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw;
  transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: url("assets/film/still-mist.jpg") center 28% / cover no-repeat;
  filter: brightness(0.42) contrast(1.04) saturate(0.82);
}
.claim__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(82% 75% at 50% 48%, transparent 0%, rgba(14,14,10,0.78) 58%, var(--ink) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 26%, transparent 68%, var(--ink) 100%);
}
.claim__panel {
  width: min(640px, 100%);
  position: relative; z-index: 1;
  background: color-mix(in oklch, var(--ink-raised) 90%, transparent);
  backdrop-filter: blur(3px);
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--redcoat);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  box-shadow: inset 0 1px 0 color-mix(in oklch, var(--gold) 14%, transparent),
              0 40px 80px -40px rgba(0,0,0,0.95);
}
.claim__panel::before {  /* gold corner accents */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--gold),var(--gold)) left top / 18px 1px no-repeat,
    linear-gradient(var(--gold),var(--gold)) left top / 1px 18px no-repeat,
    linear-gradient(var(--gold),var(--gold)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--gold),var(--gold)) right bottom / 1px 18px no-repeat;
  opacity: 0.6;
}
.claim__head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.claim__reassure { font-family: var(--f-body); font-size: 1rem; color: var(--cream-dim); line-height: 1.6; max-width: 48ch; }
.claim__reassure em { color: var(--cream); font-style: italic; }
/* Live reminder of the size previewed in the packet selector */
.claim__selection {
  font-family: var(--f-label); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.9rem; margin-top: 0.2rem; align-self: flex-start;
  border: 1px solid color-mix(in oklch, var(--gold) 35%, transparent);
  background: color-mix(in oklch, var(--gold) 7%, transparent);
}
.claim__selection strong { color: var(--gold); font-weight: 700; }
/* Stay hidden until a packet is actually previewed (the display rule above
   was overriding the [hidden] attribute and showing an empty box). */
.claim__selection[hidden] { display: none; }
.claim__fallback {
  margin-top: 1.4rem; font-family: var(--f-body); font-size: 0.95rem; color: var(--cream-dim);
}
.claim__fallback a { color: var(--gold); border-bottom: 1px solid color-mix(in oklch, var(--gold) 45%, transparent); }
.claim__fallback--noscript { margin-top: 0; }
.claim__minister {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--ink-line);
  font-family: var(--f-body); font-size: 0.9rem; color: var(--cream-faint);
}
.claim__minister a { color: var(--gold); border-bottom: 1px solid color-mix(in oklch, var(--gold) 40%, transparent); }
.claim__minister a:hover { border-color: var(--gold); }

/* Style the embedded ActiveCampaign form to match */
.claim__form { font-family: var(--f-body); }
/* AC forces a white background + padding/shadow on the <form>; neutralize it. */
.claim__form form._form_614,
.claim__form ._form_614._form {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  color: var(--cream-dim) !important;
}
.claim__form ._form_614 *,
.claim__form label, .claim__form span, .claim__form div, .claim__form p {
  color: var(--cream-dim);
}
/* Consent fine print: readable body type, not shouty all-caps */
.claim__form .sms_consent_checkbox,
.claim__form .sms_consent_message,
.claim__form .sms_consent_message * {
  text-transform: none !important;
  letter-spacing: 0.005em !important;
  font-family: var(--f-body) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: var(--cream-faint) !important;
  line-height: 1.55 !important;
}
.claim__form .sms_consent_checkbox { display: flex !important; align-items: flex-start; gap: 0.6rem; }

/* AC's own form title duplicates our "Claim your packets" heading — hide it. */
.claim__form ._form-title { display: none !important; }
.claim__form ._html-code,
.claim__form ._html-code p,
.claim__form ._form-branding,
.claim__form ._form_element { color: var(--cream-dim) !important; }
.claim__form ._html-code { font-size: 0.98rem !important; line-height: 1.6 !important; }
.claim__form ._form_element { margin-bottom: 1.1rem !important; }
.claim__form ._error, .claim__form ._error-inner { color: var(--ember) !important; }
.claim__form ._required, .claim__form span._required { color: var(--redcoat-bright) !important; }
.claim__form input[type=text],
.claim__form input[type=email],
.claim__form input[type=tel],
.claim__form select,
.claim__form textarea {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important; border-bottom: 1px solid var(--cream-faint) !important;
  border-radius: 0 !important;
  color: var(--cream) !important;
  font-family: var(--f-body) !important; font-size: 1rem !important;
  /* No left-padding shorthand here — it would clobber intl-tel-input's flag offset */
  padding-top: 0.7rem !important; padding-bottom: 0.7rem !important; padding-right: 0.1rem !important;
}
/* Left padding only for non-phone inputs; the phone input's left padding is
   managed by intl-tel-input (and reinforced inline via JS) to clear the flag. */
.claim__form input[type=text]:not(.iti__tel-input),
.claim__form input[type=email],
.claim__form textarea { padding-left: 0.1rem !important; }
.claim__form input::placeholder, .claim__form textarea::placeholder { color: var(--cream-faint) !important; }
.claim__form input:focus, .claim__form select:focus, .claim__form textarea:focus {
  border-bottom-color: var(--gold) !important; outline: none !important;
}
.claim__form label, .claim__form ._form-label {
  font-family: var(--f-label) !important; font-size: 0.74rem !important;
  font-weight: 600 !important; letter-spacing: 0.12em !important;
  text-transform: uppercase !important; color: var(--cream-dim) !important;
}
/* Submit only — high specificity to beat AC's injected #_form_614 ._submit rule.
   Do NOT style every button (the phone-input country dropdown is also a <button>). */
.claim__panel ._submit,
.claim__panel button#_form_614_submit,
.claim__form input[type=submit] {
  background: var(--redcoat) !important; color: var(--cream) !important;
  font-family: var(--f-display) !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; border: 0 !important; border-radius: 0 !important;
  padding: 1rem 2.2rem !important; font-size: 1.1rem !important; cursor: pointer;
  width: auto !important; height: auto !important; line-height: 1.2 !important;
  transition: background 0.4s var(--ease), color 0.4s var(--ease) !important;
}
.claim__panel ._submit:hover,
.claim__panel button#_form_614_submit:hover {
  background: var(--gold) !important; color: var(--ink) !important;
}
.claim__form ._button-wrapper { margin-top: 0.5rem !important; }

/* ---------- Cast ---------- */
.cast__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.cast__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.cast-card { position: relative; overflow: hidden; }
.cast-card img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.cast-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14,14,10,0.95) 100%);
}
.cast-card:hover img { transform: scale(1.06); filter: saturate(1.05) contrast(1.06); will-change: transform; }
.cast-card figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.2rem;
}
.cast-card__role {
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.cast-card__name { font-family: var(--f-display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: 0.02em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding: clamp(3.5rem, 8vw, 6rem) var(--margin) 2.5rem;
}
.footer__top {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; align-items: flex-end;
  padding-bottom: 3rem; border-bottom: 1px solid var(--ink-line);
}
.footer__date {
  font-family: var(--f-label); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 0.9rem;
}
.footer__partners { text-align: right; }
.footer__partners-label {
  font-family: var(--f-label); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-faint);
}
.footer__partners ul {
  display: flex; gap: 1.6rem; margin-top: 0.8rem; flex-wrap: wrap; justify-content: flex-end;
  font-family: var(--f-display); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.03em; color: var(--cream);
}
.footer__disclaimers {
  max-width: var(--maxw); margin: 2.5rem auto 0;
  font-family: var(--f-label); font-size: 0.82rem; color: var(--cream-faint); line-height: 1.7;
}
.footer__disclaimers p { font-weight: 600; letter-spacing: 0.02em; }
.footer__disclaimers ol {
  list-style: decimal; padding-left: 1.3rem; margin: 0.7rem 0 1.2rem; color: var(--cream-dim);
}
.footer__disclaimers ol li { margin-bottom: 0.3rem; }
.footer__fine { font-weight: 400 !important; color: var(--cream-faint); max-width: 88ch; }
.footer__fine a { color: var(--gold); }
.footer__legal {
  max-width: var(--maxw); margin: 2.5rem auto 0;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--f-label); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--cream-faint);
  text-transform: uppercase;
}
.footer__legal-links { display: flex; gap: 1.6rem; }
.footer__legal-links a:hover { color: var(--gold); }

/* ============================================================
   HERO CINEMA MODE — "Watch the Trailer" clears the graphics and
   fades the background video's own (synced) audio in.
   ============================================================ */
.hero__inner {
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}
.hero__scrim { transition: opacity 0.85s var(--ease); }
.hero__video { transition: filter 0.85s var(--ease); }

.hero.is-cinema .hero__inner {
  opacity: 0; transform: scale(0.94) translateY(-14px); filter: blur(6px);
  pointer-events: none;
}
.hero.is-cinema .hero__scroll { opacity: 0; pointer-events: none; }
.hero.is-cinema .hero__scrim { opacity: 0.16; }
.hero.is-cinema .hero__video {
  object-fit: contain;                 /* show the full 9:16 teaser, pillarboxed */
  transform: none;
  filter: saturate(1) contrast(1) brightness(1);
}
.hero.is-cinema .hero__media { animation: none !important; transform: none !important; background: var(--ink); }
/* Nav steps aside for the full-frame trailer */
body.is-cinema .nav {
  opacity: 0; transform: translateY(-100%); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.hero__cinema-exit {
  position: absolute; top: var(--margin); right: var(--margin); z-index: 6;
  display: none; align-items: center; gap: 0.6rem;
  font-family: var(--f-label); text-transform: uppercase; font-weight: 600;
  letter-spacing: 0.18em; font-size: 0.72rem; color: var(--cream);
  padding: 0.6rem 0.95rem;
  border: 1px solid color-mix(in oklch, var(--cream) 32%, transparent);
  background: color-mix(in oklch, var(--ink-deep) 50%, transparent);
  backdrop-filter: blur(6px);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__cinema-exit:hover { color: var(--gold); border-color: var(--gold); }
.hero__cinema-x { font-size: 1.15rem; line-height: 0.8; }
.hero__cinema-hint {
  position: absolute; bottom: var(--margin); left: 50%; transform: translateX(-50%); z-index: 6;
  display: none;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.66rem; color: var(--cream-dim);
}
.hero.is-cinema .hero__cinema-exit { display: inline-flex; }
.hero.is-cinema .hero__cinema-hint { display: block; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Hidden only when JS is present to reveal it again — no-JS users see everything. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   MOTION — cinematic layer (one orchestrated language)
   ============================================================ */

/* Reading progress: a thin film-reel sliver, JS-driven scaleX (GPU, no layout) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--redcoat) 0%, var(--gold) 100%);
  box-shadow: 0 0 12px -2px color-mix(in oklch, var(--gold) 60%, transparent);
  pointer-events: none; will-change: transform;
}

/* Signature hero moment: the sunburst igniting behind the wordmark */
@keyframes sunIgnite {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.55) rotate(-4deg); }
  60%  { opacity: 0.92; }
  100% { opacity: 0.92; transform: translateX(-50%) scale(1) rotate(0deg); }
}
@keyframes sunBreathe {
  0%, 100% { opacity: 0.92; }
  50%      { opacity: 0.78; }
}
.js .lockup__sun {
  animation:
    sunIgnite 1.5s var(--ease) 0.15s both,
    sunBreathe 7s ease-in-out 1.8s infinite;
}

/* Hero content lifts a touch more decisively on first load */
.js .hero .reveal { transition-duration: 1.1s; }

/* Parallax depth (scroll-driven, CSS-only; static fallback where unsupported) */
@keyframes heroSink { to { transform: translateY(7%) scale(1.06); } }
@keyframes stillDrift { from { transform: translateY(-7%) scale(1.12); } to { transform: translateY(7%) scale(1.12); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero__media {
      animation: heroSink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
      will-change: transform;
    }
    .story__still img {
      animation: stillDrift linear both;
      animation-timeline: view();
      animation-range: cover;
      will-change: transform;
    }
  }
}

/* Micro-interactions: tactile press + focus warmth */
.btn:active { transform: scale(0.97); }
.btn--primary:active { transform: scale(0.97) translateY(-1px); }
.packet:active { transform: scale(0.985); }
.nav__toggle:active { transform: scale(0.94); }
.claim__form input:focus, .claim__form select:focus, .claim__form textarea:focus {
  box-shadow: 0 1px 0 0 var(--gold) !important;
}

/* Cast captions settle up on hover */
.cast-card figcaption {
  transform: translateY(8px); opacity: 0.9;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.cast-card:hover figcaption, .cast-card:focus-within figcaption { transform: none; opacity: 1; }

/* Selection chip arrives with a soft pulse when a packet is previewed */
@keyframes chipIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js .claim__selection:not([hidden]) { animation: chipIn 0.5s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__video, .hero__media, .story__still img { transform: none; animation: none; }
  .lockup__sun { animation: none; }
  .hero__scroll span { animation: none; }
  .scroll-progress { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Nav links collapse into a hamburger-triggered panel */
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; right: var(--margin); left: var(--margin);
    flex-direction: column; gap: 0;
    background: var(--ink-deep);
    backdrop-filter: blur(12px) saturate(1.1);
    border: 1px solid var(--ink-line);
    box-shadow: 0 24px 50px -24px rgba(0,0,0,0.9);
    padding: 0.4rem 1.2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav__links.is-open { transform: translateY(8px); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 1rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--ink-line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }
  .nav__links-claim { display: block; color: var(--gold); }
  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__figure { order: -1; max-width: 26rem; }
  .packets__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__links { transition: none; }
}
@media (max-width: 560px) {
  .nav__date { display: none; }
  .hero__cast { font-size: 0.66rem; gap: 0.4rem 0.8rem; }
  .hero__cast li { gap: 0.8rem; }
  .packets__grid { grid-template-columns: 1fr 1fr; }
  .footer__top, .footer__partners { text-align: left; }
  .footer__partners ul { justify-content: flex-start; }
}
