/* ─────────── Tokens ─────────── */
/* All colors live here. Preset files (styles-a.css, styles-b.css) override
   just :root to swap themes without touching anything else. */
:root {
  /* Solid colors */
  --bg:               #0a0908;
  --bg-soft:          #14110f;
  --bg-raised:        #1a1715;
  --fg:               #ece4d3;
  --fg-mute:          #9b938a;
  --fg-dim:           #524c46;
  --accent:           #d48c4f;

  /* RGB component tuples — for rgba() composition */
  --bg-rgb:           10, 9, 8;
  --fg-rgb:           236, 228, 211;
  --accent-rgb:       212, 140, 79;
  --neutral-rgb:      60, 50, 45;

  /* Derived overlays */
  --accent-soft:      rgba(var(--accent-rgb), 0.18);
  --hairline:         rgba(var(--fg-rgb), 0.10);
  --hairline-strong:  rgba(var(--fg-rgb), 0.22);
  --modal-overlay:    rgba(5, 4, 3, 0.78);

  /* Atmospheric background gradient — preset files override this with
     theme-specific gradient stacks. Falls back to the flat --bg if no
     preset is loaded. */
  --bg-gradient:      var(--bg);

  --font-display:     'Michroma', system-ui, -apple-system, sans-serif;
  --font-body:        'Syncopate', system-ui, -apple-system, sans-serif;

  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:      cubic-bezier(0.65, 0, 0.35, 1);

  --pad-x:            clamp(1.25rem, 4vw, 3rem);
}

/* ─────────── Reset ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg-gradient);
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-gradient);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

/* ─────────── Type system ─────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Kept as a hook for secondary catchphrase lines — Michroma has no italic,
   so visual differentiation is carried by color (set per-instance). */
.display-italic { font-style: normal; }

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.body-prose {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  line-height: 1.8;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: 0.015em;
  max-width: 52ch;
}

/* ─────────── Section layout ─────────── */
section {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

/* Grain — a film-like noise layer used across sections */
.grain {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.92 0 0 0 0 0.85 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ─────────── Nav ─────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 1.75rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.nav > * { pointer-events: auto; }

.nav-mark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--fg);
}

.nav-mark span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  transition: color 240ms var(--ease-out);
}

.nav-links a .idx {
  color: var(--fg-dim);
  font-size: 0.62rem;
  font-feature-settings: "tnum";
  transition: color 240ms var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 420ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--fg); outline: none; }
.nav-links a:hover .idx,
.nav-links a:focus-visible .idx { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

/* Hide numbering on narrow screens to keep nav tight */
@media (max-width: 560px) {
  .nav-links a .idx { display: none; }
  .nav-links { gap: 1.25rem; }
}

/* ─────────── §1 Hero ─────────── */
.hero {
  background:
    radial-gradient(ellipse at 50% 95%, rgba(var(--accent-rgb), 0.08), transparent 55%),
    var(--bg-gradient);
}

.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  /* Bottom padding intentionally larger than top so the centered stack shifts up,
     leaving room for the absolutely-positioned scroll-cue to sit below the tagline. */
  padding: clamp(4rem, 9vh, 6rem) var(--pad-x) clamp(6rem, 12vh, 9rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(0.9rem, 1.6vh, 1.5rem);
}

.hero-trailer {
  position: relative;
  width: clamp(280px, 65vw, 880px);
  aspect-ratio: 16 / 9;
  margin-top: clamp(0.5rem, 1vh, 1.25rem);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: #000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  /* Square neon halo extending ~150px out from the frame. Spread on
     every layer keeps the rectangular silhouette; opacity halves on
     each successive ring so the tail dissolves smoothly into bg. */
  box-shadow:
    /* inner accent stroke */
    0 0  0px  1px rgba(var(--accent-rgb), 0.35),
    /* near halo */
    0 0  4px  2px rgba(var(--accent-rgb), 0.22),
    /* mid */
    0 0 14px  8px rgba(var(--accent-rgb), 0.12),
    /* outer */
    0 0 30px 18px rgba(var(--accent-rgb), 0.065),
    /* far */
    0 0 55px 34px rgba(var(--accent-rgb), 0.032),
    /* tail — barely visible, smooth fade into bg */
    0 0 100px 58px rgba(var(--accent-rgb), 0.014),
    /* depth drop, unchanged in role but pushed a touch further */
    0 24px 80px -20px rgba(0, 0, 0, 0.70);
}

.hero-trailer iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.hero-logo {
  opacity: 0;
  transform: translateY(12px);
}

.hero-logo svg {
  width: 44px;
  height: 44px;
  stroke: var(--fg);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15);
  animation: pulse 2.8s var(--ease-in-out) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(1.4rem, 6vw, 6.5rem);
  color: var(--fg);
  opacity: 0;
  transform: translateY(24px);
  max-width: 100%;
  white-space: nowrap;
}

.hero-title .h-letter {
  display: inline-block;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: var(--fg-mute);
  letter-spacing: 0.1em;
  line-height: 1.6;
  max-width: none;
  opacity: 0;
  transform: translateY(12px);
  text-transform: uppercase;
  text-align: center;
}

/* Stagger reveal on load — order: logo → eyebrow → title → video → tagline → scroll-cue */
.loaded .hero-logo    { animation: reveal 900ms var(--ease-out) 200ms forwards; }
.loaded .hero-eyebrow { animation: reveal 900ms var(--ease-out) 350ms forwards; }
.loaded .hero-title   {
  animation:
    reveal      1200ms var(--ease-out)                  500ms forwards,
    title-shake 620ms  cubic-bezier(.17,.89,.32,1.28)  1500ms 1 forwards;
  will-change: transform;
}

@keyframes title-shake {
  0%   { transform: translateX(0);     }
  6%   { transform: translateX(-14px); }
  12%  { transform: translateX(12px);  }
  18%  { transform: translateX(-10px); }
  24%  { transform: translateX(8px);   }
  30%  { transform: translateX(-6px);  }
  36%  { transform: translateX(5px);   }
  42%  { transform: translateX(-4px);  }
  48%  { transform: translateX(3px);   }
  54%  { transform: translateX(-2px);  }
  60%  { transform: translateX(1px);   }
  100% { transform: translateX(0);     }
}
.loaded .hero-trailer { animation: reveal 1000ms var(--ease-out) 850ms forwards; }
.loaded .hero-tagline { animation: reveal 900ms var(--ease-out) 1300ms forwards; }
.loaded .scroll-cue   { animation: reveal 800ms var(--ease-out) 1700ms forwards; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%) translateY(8px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  color: var(--fg-mute);
}

.scroll-cue .label { font-size: 0.62rem; color: var(--fg-mute); }

.scroll-cue .chevron {
  width: 14px;
  height: 14px;
  stroke: var(--fg-mute);
  animation: cueFade 2.2s var(--ease-in-out) infinite;
}

@keyframes cueFade {
  0%   { opacity: 0; transform: translateY(-4px); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(6px); }
}

/* ─────────── §2 Pitch ─────────── */
.pitch {
  background-color: var(--bg);
}

.pitch-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
}

.pitch-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05) brightness(0.55);
}

/* Fallback atmospheric background when no image */
.pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(var(--accent-rgb), 0.06), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(var(--neutral-rgb), 0.4), transparent 60%),
    var(--bg-gradient);
}

.pitch-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(var(--bg-rgb),0.9) 0%, rgba(var(--bg-rgb),0.55) 50%, rgba(var(--bg-rgb),0.85) 100%),
    linear-gradient(to bottom, rgba(var(--bg-rgb),0.6) 0%, rgba(var(--bg-rgb),0.3) 50%, rgba(var(--bg-rgb),0.9) 100%);
  pointer-events: none;
}

.pitch-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(6rem, 14vh, 9rem) var(--pad-x) clamp(4rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  gap: 2rem 1.5rem;
  align-items: end;
}

.pitch-chapter {
  grid-column: 1 / -1;
  align-self: start;
}

.pitch-catch {
  grid-column: 1 / span 11;
  font-size: clamp(1.4rem, 4vw, 4rem);
  color: var(--fg);
  align-self: end;
}

.pitch-catch .line-1 { display: block; }

.pitch-catch .line-2 {
  display: block;
  padding-left: clamp(2rem, 8vw, 8rem);
  color: var(--fg-mute);
}

.pitch-aside {
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pitch-aside .body-prose { color: var(--fg); }

.pitch-aside-row {
  align-self: center; /* centers the whole image+paragraph block within .pitch-aside */
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 1.5fr;
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: center; /* paragraph vertically centered against the image */
}

.pitch-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  aspect-ratio: 16 / 9; /* 2560×1440 scaled down — image dictates the row height */
}

.pitch-image img {
  width: 100%;
  height: 100%;
  object-fit: fill; /* TEST: stretch to fill — swap to `cover` once the final art lands */
  display: block;
  filter: contrast(1.02) saturate(0.95);
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--accent);
  align-self: center;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.announcement::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.8s var(--ease-in-out) infinite;
}

@media (max-width: 900px) {
  .pitch-inner { display: flex; flex-direction: column; gap: 2.5rem; justify-content: center; }
  .pitch-catch .line-2 { padding-left: 1.5rem; }
  .pitch-aside-row { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .pitch-image { max-width: 420px; }
}

/* ─────────── §3 Join ─────────── */
.join {
  background-color: var(--bg);
}

.join::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(var(--accent-rgb), 0.08), transparent 55%),
    var(--bg-gradient);
}

.join-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(6rem, 14vh, 9rem) var(--pad-x) clamp(2rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
}

.join-chapter { margin-bottom: 2rem; }

.join-headline {
  font-size: clamp(1.4rem, 4.5vw, 4.5rem);
  max-width: 18ch;
  margin: 0 auto 1rem;
}

.join-headline em {
  font-style: normal;
  color: var(--accent);
}

.join-sub {
  color: var(--fg-mute);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 38ch;
  margin: 0 auto;
}

.cta-primary {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 2.1rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  transition: background 280ms var(--ease-out), color 280ms var(--ease-out), transform 280ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.cta-primary svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform 320ms var(--ease-out);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  outline: none;
}

.cta-primary:hover svg,
.cta-primary:focus-visible svg {
  transform: translateX(4px);
}

.cta-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.socials {
  margin-top: 4rem;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  width: 100%;
  max-width: 880px;
}

.social {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 0.5rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  transition: color 280ms var(--ease-out), background 280ms var(--ease-out);
}

.social + .social { border-left: 1px solid var(--hairline); }

.social svg {
  width: 22px; height: 22px;
  stroke: var(--fg);
  transition: transform 320ms var(--ease-out), stroke 280ms var(--ease-out);
}

.social:hover,
.social:focus-visible {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.04);
  outline: none;
}

.social:hover svg,
.social:focus-visible svg {
  stroke: var(--accent);
  transform: translateY(-3px);
}

.social:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }

/* ─────────── Neon variant ───────────
   Used on the Kickstarter CTA. Starts at the flat accent color with no
   halo, then breathes outward into a heavy multi-layer bloom and back.
   Inherits the preset's accent via rgba(var(--accent-rgb), …) so the
   glow automatically retints when you swap themes. */
.social--neon {
  color: var(--accent);
  animation: neon-pulse 2.6s ease-in-out infinite;
  will-change: filter, text-shadow;
}

.social--neon svg {
  stroke: var(--accent);
}

@keyframes neon-pulse {
  0%, 100% {
    /* Normal — accent color, no halo. The "off" state of the tube. */
    text-shadow: none;
    filter: none;
  }
  50% {
    /* Peak emission — four-layer bloom radiating up to ~70px. */
    text-shadow:
      0 0 10px rgba(var(--accent-rgb), 1.00),
      0 0 24px rgba(var(--accent-rgb), 0.85),
      0 0 44px rgba(var(--accent-rgb), 0.55),
      0 0 72px rgba(var(--accent-rgb), 0.30);
    filter:
      drop-shadow(0 0 8px  rgba(var(--accent-rgb), 1.00))
      drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.60))
      drop-shadow(0 0 36px rgba(var(--accent-rgb), 0.30));
  }
}

@media (max-width: 560px) {
  .socials { flex-direction: column; }
  .social + .social { border-left: 0; border-top: 1px solid var(--hairline); }
}

/* ─────────── Footer ─────────── */
.footer {
  margin-top: auto;
  padding-top: 4rem;
  width: 100%;
  max-width: 980px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.footer a {
  color: var(--fg-dim);
  transition: color 240ms var(--ease-out);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--fg-mute);
  outline: none;
}

.footer-links { display: flex; gap: 1.5rem; }

/* ─────────── Reveal on scroll ─────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1100ms var(--ease-out),
    transform 1100ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Faster reveal for the Join section — keeps the final CTA snappy but still readable */
.join [data-reveal] {
  transform: translateY(26px);
  transition:
    opacity 850ms var(--ease-out),
    transform 850ms var(--ease-out);
}

/* ─────────── Modal ─────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--modal-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-soft);
  border: 1px solid var(--hairline-strong);
  width: 100%;
  max-width: 460px;
  padding: clamp(2rem, 5vw, 2.75rem);
  position: relative;
  transform: scale(0.96) translateY(8px);
  transition: transform 280ms var(--ease-out);
}

.modal-backdrop.is-open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-mute);
  transition: color 240ms var(--ease-out);
  border-radius: 2px;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--fg);
  outline: none;
}

.modal-close:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.modal-close svg { width: 16px; height: 16px; stroke: currentColor; }

.modal-chapter {
  margin-bottom: 0.85rem;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--fg);
}

.modal-sub {
  font-size: 0.95rem;
  color: var(--fg-mute);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-field {
  position: relative;
}

.form-field input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 0;
  outline: none;
  transition: border-color 240ms var(--ease-out);
}

.form-field input::placeholder { color: var(--fg-dim); }

.form-field input:focus { border-bottom-color: var(--accent); }

.form-field input.is-error {
  border-bottom-color: #c45a5a;
}

.form-error {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #c45a5a;
  margin-top: 0.4rem;
  min-height: 1em;
}

.form-submit {
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  transition: background 260ms var(--ease-out), border-color 260ms var(--ease-out);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.form-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.form-success.is-active { display: flex; }

.form-success svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.form-success-text {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
}

.form-success-text strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.form-fine {
  margin-top: 1.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ─────────── Focus visibility ─────────── */
a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ─────────── Reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-snap-type: none; }
  .scroll-cue { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-logo, .hero-eyebrow, .hero-title, .hero-tagline, .hero-trailer { opacity: 1; transform: none; }
}

/* ─────────── Selection ─────────── */
::selection { background: var(--accent); color: var(--bg); }

/* ─────────── Mobile refinements ─────────── */
@media (max-width: 640px) {
  .nav { padding: 1.25rem var(--pad-x); }
  .hero-inner { padding-bottom: 4rem; }
  .pitch-aside { gap: 1.5rem; }
  .footer { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
}

/* ─────────── Nav current-page state ─────────── */
.nav-links a[aria-current="page"] {
  color: var(--fg);
}
.nav-links a[aria-current="page"] .idx {
  color: var(--accent);
}
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

/* ─────────── Presskit page ─────────── */
.presskit {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--accent-rgb), 0.06), transparent 55%),
    var(--bg-gradient);
}

.presskit-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(6rem, 14vh, 9rem) var(--pad-x) clamp(3rem, 5vh, 4rem);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vh, 4rem);
}

.presskit-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

.presskit-title {
  font-size: clamp(1.6rem, 5vw, 4.5rem);
  color: var(--fg);
}

.presskit-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  line-height: 1.8;
  color: var(--fg-mute);
  letter-spacing: 0.015em;
  max-width: 60ch;
}

.presskit-sub a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 200ms var(--ease-out);
}

.presskit-sub a:hover,
.presskit-sub a:focus-visible {
  opacity: 0.78;
  outline: none;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.asset-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  background: rgba(var(--fg-rgb), 0.02);
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}

.asset-card:hover {
  border-color: var(--hairline-strong);
  background: rgba(var(--fg-rgb), 0.035);
}

.asset-thumb {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.asset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.95);
}

.asset-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.asset-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fg);
}

.asset-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: var(--fg-mute);
}

.asset-download {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: background 240ms var(--ease-out), border-color 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.asset-download svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 240ms var(--ease-out);
}

.asset-download:hover,
.asset-download:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.asset-download:hover svg,
.asset-download:focus-visible svg {
  transform: translateY(2px);
}

.asset-download:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.asset-card--pending {
  background: transparent;
  border-style: dashed;
}

.asset-card--pending:hover {
  background: transparent;
  border-color: var(--hairline);
}

/* ─────────── Partners block ───────────
   Lives on the press kit page below the asset grid. Two-column on
   desktop: pitch + heading on the left, business contact on the
   right. Stacks below ~720px. */
.partners {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(2rem, 4vh, 3.25rem);
  align-items: end;
}

.partners-text p {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  line-height: 1.8;
  letter-spacing: 0.015em;
  color: var(--fg-mute);
  max-width: 56ch;
  margin-top: 1.25rem;
}

.partners-title {
  font-size: clamp(1.1rem, 2.2vw, 1.85rem);
  color: var(--fg);
  margin-top: 0.6rem;
  line-height: 1.15;
}

.partners-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.partners-mail {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  color: var(--accent);
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity 200ms var(--ease-out);
}

.partners-mail:hover,
.partners-mail:focus-visible {
  opacity: 0.78;
  outline: none;
}

@media (max-width: 720px) {
  .partners {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }
}
