/* Kinsmen — hero landing page mockup
   Aesthetic: Anduril-class restraint. Black, off-white, single restrained crimson, single restrained blue.
   Type: Inter (grotesque) + Newsreader Italic (verse).
*/

:root {
  /* Kinsmen brand palette — locked 2026-06-19 per founder direction.
     Deep Field Green base, Old Gold operational accent, Martyr Red restrained for CTAs. */
  --bg: #0A1410;            /* near-black green — deepened per Davinci 2026-06-19 for chroma separation */
  --bg-2: #14201A;
  --bg-3: #1A2A22;
  --green: #214736;         /* Deep Field Green — primary brand */
  --green-dim: #1A3A2C;
  --fg: #F2EEDE;            /* Parchment Tan body — lifted ~5% for daytime readability */
  --fg-dim: #C8BFA3;        /* dim tone — lifted ~8% so it doesn't disappear against the bg in daylight */
  --fg-mute: #95907C;
  --tan: #D9C8A2;           /* Parchment Tan */
  --silver: #C0C0C0;        /* Iron Silver */
  --border: rgba(217, 200, 162, 0.10);
  --border-strong: rgba(217, 200, 162, 0.22);
  --accent-gold: #C2A24A;        /* Old Gold — primary operational accent */
  --accent-gold-hot: #D6B556;
  --accent-gold-soft: rgba(194, 162, 74, 0.22);
  --accent-red: #8E1D24;         /* Martyr Red — restrained urgency */
  --accent-red-hot: #A8242C;
  --accent-red-soft: rgba(142, 29, 36, 0.20);
  --land: #1A2A22;          /* Map land — slightly lighter than bg for contrast */
  --land-border: rgba(217, 200, 162, 0.07);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --font-display-serif: "Cinzel", "Cormorant Garamond", "Newsreader", Georgia, serif;
  --font-wordmark: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  --max-w: 1280px;
  --section-pad-y: clamp(80px, 12vw, 160px);
  --section-pad-x: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.skip {
  position: absolute; left: -9999px;
  background: var(--fg); color: var(--bg); padding: 8px 12px;
}
.skip:focus { left: 12px; top: 12px; z-index: 9999; }

/* ───── Nav ───── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(14, 26, 20, 0.92) 0%, rgba(14, 26, 20, 0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wordmark {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-wordmark);
  font-weight: 400; letter-spacing: 0.32em; font-size: 16px;
  color: var(--accent-gold);
}
.wordmark-stack { display: inline-flex; flex-direction: column; gap: 2px; }
.wordmark-tagline {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.32em;
  color: var(--silver);
  opacity: 0.65;
}
.wordmark .mark {
  width: 36px; height: 36px; flex: 0 0 36px;
  color: var(--accent-gold);
}
.wordmark .mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-dim);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-links .nav-cta {
  color: var(--fg);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
}
.nav-links .nav-cta:hover { border-color: var(--accent-red); color: var(--accent-red); }
.nav-toggle { display: none; }

/* ───── Hero ───── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(194, 162, 74, 0.04) 0%, transparent 65%),
    linear-gradient(180deg, #0E1A14 0%, #0B1610 100%);
}

.hero-top {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: clamp(96px, 13vh, 130px) 24px 18px;
  pointer-events: none;
}
.hero-bottom {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: auto;
  padding: 0 24px clamp(48px, 8vh, 80px);
  pointer-events: none;
}
.hero-headline {
  margin: 0 auto;
  font-family: var(--font-display-serif);
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg);
  max-width: 18ch;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 0 32px rgba(11,22,16,0.7);
}
.hero-headline .accent-gold { color: var(--accent-gold); }
.hero-headline .accent-red { color: var(--accent-red); }
/* v25: stack the three bottom elements vertically inside the hero — second-half-headline,
   map hint, CTA buttons — so they never overlap. Was previously overlapping when the
   buttons were absolute-positioned on top of the headline text. */
.hero-bottom-stack {
  position: relative;
  z-index: 4;
  margin-top: auto;
  padding: 0 24px clamp(28px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vh, 22px);
  text-align: center;
  pointer-events: none;
}
.hero-bottom-stack > * { pointer-events: auto; }
.hero-headline-cont {
  margin: 0;
  font-family: var(--font-display-serif);
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 22ch;
  color: var(--fg);
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 0 32px rgba(11,22,16,0.7);
}
/* Map hint inside the bottom stack — was previously absolute-positioned bottom-center */
.hero-bottom-stack .map-hint {
  position: static;
  transform: none;
  left: auto; bottom: auto;
}
.hero-cta-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn.btn-hero {
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
}
@media (max-width: 720px) {
  .hero-bottom-stack { padding-bottom: clamp(20px, 3vh, 32px); gap: 12px; }
  .hero-cta-strip { flex-direction: column; gap: 8px; width: min(82vw, 320px); }
  .btn.btn-hero { padding: 11px 18px; font-size: 11px; }
}

/* Map — flat tactical D3 map, fills hero, top-most interactive layer */
.map-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 60% 55%;
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0,0,0,0.65) 9%,
    rgba(0,0,0,1) 18%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.5) 88%,
    transparent 100%);
  mask-image: linear-gradient(180deg,
    transparent 0%,
    rgba(0,0,0,0.65) 9%,
    rgba(0,0,0,1) 18%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0.5) 88%,
    transparent 100%);
}
.map-stage svg {
  width: 100%; height: 100%;
  display: block;
  transform-origin: 45% 50%;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.map-grid line {
  stroke: rgba(255, 255, 255, 0.025);
  stroke-width: 0.5;
}
.map-country {
  fill: var(--land);
  stroke: var(--land-border);
  stroke-width: 0.4;
  transition: fill .2s ease, stroke .2s ease;
  cursor: default;
}
.map-country.persecuted { cursor: pointer; }
/* Background persecution context — desaturated so Nigeria/Iran/Syria can dominate */
.map-country.t1 { fill: hsla(354, 35%, 24%, 0.55); }
.map-country.t2 { fill: hsla(354, 40%, 27%, 0.65); }
.map-country.t3 { fill: hsla(354, 45%, 30%, 0.72); }
.map-country.t4 { fill: hsla(354, 50%, 32%, 0.78); }
.map-country.t5 { fill: hsla(354, 56%, 36%, 0.86); }
/* Founder's focus zones — Nigeria, Iran, Syria — saturated and emphasized */
.map-country.focus { fill: #8E1D24; }
.map-country.focus.nigeria { fill: #B82430; filter: drop-shadow(0 0 12px rgba(184, 36, 48, 0.8)); }
.map-country.persecuted:hover,
.map-country.persecuted:focus {
  fill: hsl(354, 75%, 52%);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.4;
  outline: 0;
  filter: drop-shadow(0 0 6px rgba(220, 38, 58, 0.45));
  animation-play-state: paused;
}
/* Heartbeat is mobile-only — desktop is too busy with all 36 countries visible at once.
   iOS Safari silently drops inline CSS custom properties on SVG paths, so we stagger
   via 5 hardcoded delay classes instead of var(--pulse-delay).
   Mobile perf v24: only enabled when scroll-zoom is active (lazy add via JS), and only
   animates opacity (GPU-cheap) instead of stroke (paint-cost). */
@media (max-width: 900px) {
  .map-country.persecuted {
    animation: border-heartbeat 6.5s ease-in-out infinite;
    animation-play-state: paused; /* paused by default; JS un-pauses when zoom active */
  }
  .map-pannable.zoomed .map-country.persecuted { animation-play-state: running; }
  .map-country.persecuted.pulse-0 { animation-delay: 0s; }
  .map-country.persecuted.pulse-1 { animation-delay: 1.3s; }
  .map-country.persecuted.pulse-2 { animation-delay: 2.6s; }
  .map-country.persecuted.pulse-3 { animation-delay: 3.9s; }
  .map-country.persecuted.pulse-4 { animation-delay: 5.2s; }
}
/* v24 mobile perf: opacity-only animation instead of stroke (paint vs compositor cost).
   Visually similar — opacity fade reads the same on small mobile country shapes. */
@keyframes border-heartbeat {
  0%, 55%, 100% { opacity: 0.55; }
  6%            { opacity: 1; }
  13%           { opacity: 0.5; }
  20%           { opacity: 0.92; }
  30%           { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .map-country.persecuted { animation: none; }
}
.map-source-pulse {
  fill: var(--accent-gold);
  opacity: 0.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: source-pulse 2.4s ease-out infinite;
}
@keyframes source-pulse {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}
.map-source-dot {
  fill: var(--accent-gold);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.8;
}
.map-arc {
  fill: none;
  pointer-events: none;
  stroke-linecap: round;
}
/* Subtle base lines — give the connection structure even when streak is off-screen */
.map-arc.base { stroke-width: 1.0; }
.map-arc.flow-nigeria-base { stroke: rgba(194, 162, 74, 0.40); filter: drop-shadow(0 0 3px rgba(194,162,74,0.35)); }
.map-arc.flow-iran-base    { stroke: rgba(217, 200, 162, 0.25); }
.map-arc.flow-syria-base   { stroke: rgba(164, 122, 62, 0.22); }

/* PERPETUAL emanating glow on the line itself + animated holographic shimmer on
   Nigeria's arcs specifically (filter brightness oscillates so the gold lines
   feel slightly alive instead of static). */
.map-arc.flow-nigeria-base {
  stroke: rgba(232, 198, 102, 0.95);
  stroke-width: 1.7;
  filter: url(#kinsmen-glow-nigeria);
}
/* Note: removed the keyframe shimmer animation that was animating four filter
   declarations on 4 paths — caused noticeable scroll lag. Heavy static glow keeps
   the holographic feel; bean beads passing along the line provide the live motion. */
.map-arc.flow-iran-base {
  stroke: rgba(217, 200, 162, 0.55);
  stroke-width: 1.0;
  filter: url(#kinsmen-glow-iran);
}
.map-arc.flow-syria-base {
  stroke: rgba(164, 122, 62, 0.50);
  stroke-width: 0.9;
  filter: url(#kinsmen-glow-syria);
}

/* Energy beads — BEAN shaped (ellipse oriented along path) traveling slowly.
   Nigeria beads are bigger and amplify the glow as they pass. */
.map-bead {
  fill: var(--accent-gold-hot);
  filter: url(#kinsmen-glow-bead-nigeria);
  pointer-events: none;
}
.map-bead.iran {
  fill: var(--tan);
  filter: url(#kinsmen-glow-bead-iran);
  opacity: 0.75;
}
.map-bead.syria {
  fill: #B58A4A;
  filter: url(#kinsmen-glow-bead-syria);
  opacity: 0.65;
}

/* Concentric pulse rings on focus destinations (Nigeria especially) */
.map-focus-ring {
  fill: none;
  stroke: rgba(184, 36, 48, 0.85);
  stroke-width: 1.2;
  pointer-events: none;
  transform-origin: center;
  transform-box: fill-box;
  animation: focus-ring 2.6s ease-out infinite;
}
.map-focus-ring.r-1 { animation-delay: 0.4s; stroke-opacity: 0.6; }
.map-focus-ring.r-2 { animation-delay: 0.8s; stroke-opacity: 0.4; }
@keyframes focus-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(3.0); opacity: 0; }
}
/* ───── Ops status card (upper-right hero) ───── */
.ops-status-card {
  position: absolute;
  top: clamp(82px, 12vh, 110px);
  right: clamp(16px, 3vw, 40px);
  z-index: 4;
  width: 200px;
  padding: 14px 16px;
  background: rgba(11, 22, 16, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  display: grid;
  gap: 12px;
}
.ops-status-card::before,
.ops-status-card::after {
  content: ""; position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--accent-gold);
}
.ops-status-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ops-status-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ops-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-gold);
}
.ops-pulse {
  width: 6px; height: 6px; background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse 2.4s ease-in-out infinite;
}
.ops-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.ops-stat { text-align: center; }
.ops-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0;
}
.ops-stat sup { font-size: 13px; }
.ops-stat span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-mute);
}
.ops-foot {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-dim);
}
.ops-foot-dot {
  width: 5px; height: 5px; background: var(--accent-red-hot);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-red-hot);
}

/* ───── Live intel teaser (lower-right of map) — v23 rebuild per Davinci ───── */
/* Old: red 9.5px caps on translucent map = 2.9:1, failed AA hard. New: gold eyebrow
   (7.3:1), heavier left rail, opaque bg, bumped sizes. Red survives only as the
   pulsing dot + border accents per brand rule "red is status only, never small-caps text". */
.intel-teaser {
  position: absolute;
  bottom: clamp(60px, 9vh, 95px);
  right: clamp(16px, 3vw, 40px);
  z-index: 4;
  width: 264px;
  padding: 14px 16px;
  background: rgba(8, 16, 12, 0.94);
  border: 1px solid var(--accent-red-hot);
  border-left: 3px solid var(--accent-red-hot);
  box-shadow: 0 0 0 1px rgba(168, 36, 44, 0.18), 0 6px 24px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 8px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.intel-teaser:hover {
  background: rgba(20, 32, 24, 0.96);
  border-color: var(--accent-gold);
}
.intel-teaser-head {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-gold);
}
.intel-teaser-pulse {
  width: 7px; height: 7px; background: var(--accent-red-hot);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red-hot);
  animation: pulse 1.6s ease-in-out infinite;
}
.intel-teaser-body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.42;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.intel-teaser-foot {
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fg-dim);
}

@media (max-width: 720px) {
  .ops-status-card { width: 156px; padding: 10px 12px; top: 70px; }
  .ops-stat strong { font-size: 18px; }
  .intel-teaser { width: 218px; padding: 12px 14px; bottom: 48px; }
  .intel-teaser-body { font-size: 13px; }
}

.map-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--border);
  padding: 8px 14px;
  background: rgba(11, 11, 13, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  transform: translateX(-50%) scale(var(--hint-scale, 1));
  transform-origin: center bottom;
  opacity: var(--hint-op, 0.85);
  color: var(--hint-color, var(--fg-dim));
  border-color: var(--hint-border, var(--border));
}
.map-hint-dot {
  width: 6px; height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes hint-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 0.85; transform: translateX(-50%); }
}

/* Hero eyebrow + sub */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
  opacity: 0.85;
}
.eyebrow-dot {
  width: 5px; height: 5px; background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero-sub {
  margin: 0 auto;
  max-width: 48ch;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--fg);
  line-height: 1.55;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  font-weight: 400;
}

/* Intro — projected-deaths counter + CTAs (replaces old intro paragraph) */
.intro {
  padding: clamp(60px, 9vw, 100px) var(--section-pad-x);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.intro-inner {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  display: grid; gap: 32px;
  justify-items: center;
}
.counter-stack {
  display: grid; gap: 14px;
  width: 100%; max-width: 620px;
}
.counter {
  display: grid; gap: 12px;
  padding: 26px 26px 22px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(33, 71, 54, 0.18) 0%, rgba(14, 26, 20, 0.4) 100%);
  position: relative;
}
.counter::before, .counter::after {
  content: ""; position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--accent-gold);
}
.counter::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.counter::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.counter.century {
  background: linear-gradient(180deg, rgba(33, 71, 54, 0.10) 0%, rgba(14, 26, 20, 0.3) 100%);
}
.counter.century .counter-num {
  font-size: clamp(40px, 6.5vw, 64px);
  color: var(--fg-dim);
}
.counter-pulse.muted {
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  opacity: 0.7;
}
.counter-pulse.red {
  background: var(--accent-red-hot);
  box-shadow: 0 0 10px var(--accent-red-hot);
}
.counter-stack.martyr {
  margin-top: 14px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}
.counter-stack.martyr .counter {
  background: linear-gradient(180deg, rgba(142, 29, 36, 0.10) 0%, rgba(14, 26, 20, 0.4) 100%);
}
.counter-stack.martyr .counter::before,
.counter-stack.martyr .counter::after {
  border-color: var(--accent-red-hot);
}
.counter-countdown {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.counter-countdown > span:first-child {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--fg-dim);
  line-height: 1.3;
  max-width: 18ch;
}
.countdown-time {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--accent-gold-hot);
  letter-spacing: 0.08em;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-shadow: 0 0 18px rgba(214, 181, 86, 0.5);
}
.countdown-time.countdown-pulse {
  animation: countdown-flash 0.7s ease-out;
}
@keyframes countdown-flash {
  0%   { color: var(--accent-red-hot); text-shadow: 0 0 24px rgba(168, 36, 44, 0.85); }
  100% { color: var(--accent-gold-hot); text-shadow: 0 0 18px rgba(214, 181, 86, 0.5); }
}
.counter-num.counter-tick {
  animation: counter-pulse 1.2s ease-out;
}
@keyframes counter-pulse {
  0%   { text-shadow: 0 0 0 rgba(214, 181, 86, 0); color: var(--accent-gold-hot); }
  40%  { text-shadow: 0 0 16px rgba(214, 181, 86, 0.85), 0 0 32px rgba(214, 181, 86, 0.55); }
  100% { text-shadow: 0 2px 24px rgba(142, 29, 36, 0.4); color: var(--fg); }
}
.counter-label {
  display: inline-flex; align-items: center; gap: 10px; justify-self: center;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-gold);
}
.counter-pulse {
  width: 8px; height: 8px;
  background: var(--accent-red); border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulse 2s ease-in-out infinite;
}
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 24px rgba(142, 29, 36, 0.4);
}
.counter-source {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-mute);
}
.intro-cta {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.16em;
}
.btn-primary {
  background: var(--accent-red); color: var(--fg);
  border-color: var(--accent-red);
}
.btn-primary:hover { background: var(--accent-red-hot); border-color: var(--accent-red-hot); }
.btn-ghost {
  background: transparent; color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.btn-ghost:hover { border-color: var(--accent-gold-hot); color: var(--accent-gold-hot); background: var(--accent-gold-soft); }
.btn-block { width: 100%; justify-content: center; }

/* ───── Verse + soldier photography band ───── */
/* StockCake CC0 background photo (soldier with child at sunset) anchored right.
   Gradient overlay protects verse legibility on the left. */

.verse-context {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 15vw, 200px) clamp(20px, 5vw, 72px);
  border-top: 0;
  border-bottom: 1px solid rgba(194, 162, 74, 0.30);
  min-height: 580px;
  isolation: isolate;
  background:
    linear-gradient(90deg,
      rgba(10, 20, 16, 1) 0%,
      rgba(10, 20, 16, 1) 12%,
      rgba(10, 20, 16, 0.92) 32%,
      rgba(10, 20, 16, 0.55) 50%,
      rgba(10, 20, 16, 0.18) 72%,
      rgba(10, 20, 16, 0.02) 90%,
      rgba(10, 20, 16, 0) 100%),
    url('../assets/soldier-sunset.webp') right center / auto 102% no-repeat;
  background-color: #0A1410;
}
/* Top + bottom fade — blend the section into the intro counter section above
   and the mission section below so the image transition feels seamless. */
.verse-context::before,
.verse-context::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}
.verse-context::before {
  top: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 20, 16, 0) 100%);
}
.verse-context::after {
  bottom: 0;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(10, 20, 16, 0) 100%);
}
.verse-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.verse-text-block {
  max-width: 38ch;
}
.verse-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent-gold);
  margin: 0 0 22px;
}
.verse-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  color: var(--fg);
  margin: 0 0 22px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.verse-translation {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0;
}

/* ───── (Original verse band reused if standalone elsewhere) ───── */

.verse {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(60px, 9vw, 110px) var(--section-pad-x);
  text-align: center;
  background: var(--bg-2);
}
.verse-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.4;
  color: var(--fg);
  max-width: 30ch;
  margin: 0 auto 18px;
}
.verse-ref {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0;
}

/* ───── Section conventions ───── */

section[id] { scroll-margin-top: 80px; }

.section-head {
  display: grid; gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section-label {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 500;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 24ch;
}

/* ───── Merchandise carousel (Phase C1 placeholder skeleton) ───── */

.merch {
  padding: clamp(70px, 10vw, 110px) 0 clamp(60px, 9vw, 100px);
  background: linear-gradient(180deg, var(--bg) 0%, #0C1813 100%);
  border-bottom: 1px solid var(--border);
}
.merch-head {
  max-width: var(--max-w);
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: 0 var(--section-pad-x);
  display: grid;
  gap: 14px;
}
.merch-head h2 {
  margin: 0;
  font-family: var(--font-display-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 600;
  text-transform: uppercase;
}
.merch-head p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14.5px;
  max-width: 56ch;
}
.merch-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 280px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px var(--section-pad-x) 24px;
  scrollbar-color: var(--accent-gold) var(--bg-2);
  scrollbar-width: thin;
}
.merch-carousel::-webkit-scrollbar { height: 6px; }
.merch-carousel::-webkit-scrollbar-track { background: var(--bg-2); }
.merch-carousel::-webkit-scrollbar-thumb { background: var(--accent-gold-soft); border-radius: 3px; }
.merch-card {
  scroll-snap-align: start;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  display: grid;
  grid-template-rows: 200px 1fr;
  transition: border-color .2s ease, transform .2s ease;
  position: relative;
}
.merch-card:hover { border-color: var(--accent-gold); transform: translateY(-2px); }
.merch-img {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--green-dim) 100%);
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.merch-icon {
  font-size: 48px;
  color: var(--accent-gold-soft);
  opacity: 0.4;
}
.merch-badge {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  background: rgba(11, 22, 16, 0.8);
  padding: 4px 8px;
  border: 1px solid var(--accent-gold-soft);
}
.merch-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.merch-body h3 {
  margin: 0;
  font-family: var(--font-display-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.merch-meta {
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.merch-desc {
  margin: 6px 0 14px;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.55;
}
.merch-cta {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-gold);
  cursor: pointer;
  text-align: left;
  transition: color .15s ease;
}
.merch-cta:hover { color: var(--accent-gold-hot); }

/* ───── Mission ───── */

.mission {
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid var(--border);
}
.mission-body {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.mission-body p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0;
}
.mission-stats {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  border-left: 1px solid var(--border-strong);
  padding-left: clamp(20px, 3vw, 40px);
}
.mission-stats span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.mission-stats strong {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 6px;
}

/* ───── Approach ───── */

.approach {
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid var(--border);
}
.approach-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.approach-grid.four { grid-template-columns: repeat(4, 1fr); }
.approach-card {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background .25s ease;
  position: relative;
}
.approach-card:hover { background: var(--bg-2); }
.approach-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 16px; height: 1px;
  background: var(--accent-gold);
}
.approach-num {
  font-family: var(--font-display-serif);
  font-weight: 600;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--accent-gold);
  display: block; margin-bottom: 28px;
  opacity: 0.92;
}
.approach-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.approach-card p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* ───── Join the Mission (unified) + Support panes ───── */

.join-mission {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.join-mission-inner {
  max-width: 920px; margin: 0 auto;
}
.section-head.center { text-align: center; justify-items: center; }
.section-head.center h2 { max-width: 32ch; }
.join-sub {
  margin: 16px auto 0;
  max-width: 60ch;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 24px;
  border: 0; padding: 0;
}
.path-grid > legend { display: none; }
.path-card { cursor: pointer; }
.path-card input { position: absolute; opacity: 0; pointer-events: none; }
.path-card-inner {
  display: grid; gap: 12px;
  padding: 22px 20px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  height: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.path-card:hover .path-card-inner { border-color: var(--accent-gold); }
.path-card input:checked + .path-card-inner {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}
.path-icon {
  width: 28px; height: 28px;
  color: var(--accent-gold);
}
.path-icon svg { width: 100%; height: 100%; }
.path-title {
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  color: var(--fg);
}
.path-desc {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.55;
}
.serve-detail {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 20px;
  display: none;
}
.serve-detail.visible { display: block; }

.support {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.support-inner {
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.support-inner h2 {
  margin: 14px auto 18px;
  font-family: var(--font-display-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 22ch;
}
.support-inner > p {
  color: var(--fg-dim);
  margin: 0 auto 32px;
  font-size: 15px;
  max-width: 56ch;
  line-height: 1.65;
}
.support-inner .give-form { max-width: 480px; margin: 0 auto; text-align: left; }

/* ───── Forms ───── */

.field {
  display: block;
  margin-bottom: 16px;
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.stay-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .stay-form input:focus {
  outline: 0; border-color: var(--fg);
}
.field textarea { resize: vertical; min-height: 90px; }
.check-group {
  border: 0; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.check-group legend { margin-bottom: 14px; }
.check-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--fg);
  cursor: pointer;
}
.check-group input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--border-strong);
  background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
}
.check-group input[type="checkbox"]:checked {
  background: var(--accent-red-hot); border-color: var(--accent-red-hot);
}
.check-group input[type="checkbox"]:checked::after {
  content: ""; width: 5px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.give-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 20px;
}
.give-amount {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .2s ease;
}
.give-amount:hover { border-color: var(--fg); }
.give-amount.selected {
  background: var(--accent-red); border-color: var(--accent-red); color: #fff;
}
.nav-links .nav-cta:hover { border-color: var(--accent-red-hot); color: var(--accent-red-hot); }
.form-fine, .consent {
  display: block; margin-top: 16px;
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.5;
}
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent-red); }

/* ───── Stay ───── */

.stay {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.stay-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.stay-inner h2 {
  margin: 14px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stay-inner > p {
  color: var(--fg-dim); margin: 0 0 32px;
}
.stay-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  text-align: left;
}
.stay-form .consent { grid-column: 1 / -1; justify-content: center; }

/* ───── Footer ───── */

.foot {
  padding: 60px var(--section-pad-x) 36px;
  background: #050506;
}
.foot-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.foot-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: 0.18em; font-size: 13px;
}
.foot-brand .mark {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 18px; line-height: 1;
}
.foot-verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
  text-align: center;
  max-width: 42ch;
  justify-self: center;
}
.foot-links {
  display: flex; gap: 24px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim);
}
.foot-links a:hover { color: var(--fg); }
.foot-fine {
  margin: 24px 0 0;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute);
  text-align: center;
}

/* ───── Country modal ───── */

.country-modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 20px;
}
.country-modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  padding: clamp(28px, 4vw, 48px);
  max-width: 560px; width: 100%;
  max-height: 86vh; overflow: auto;
  animation: modal-in .25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 10px; right: 14px;
  background: transparent; border: 0;
  color: var(--fg-dim);
  font-size: 26px; line-height: 1;
  padding: 8px 12px;
  transition: color .2s ease;
}
.modal-close:hover { color: var(--fg); }
.modal-tier {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 18px;
}
.tier-dot {
  width: 8px; height: 8px;
  background: var(--accent-red-hot);
  box-shadow: 0 0 10px var(--accent-red-hot);
}
.modal-country {
  margin: 0 0 18px;
  font-family: var(--font-display-serif);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.modal-body {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
}
.modal-source {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
}
.modal-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.5;
}

/* ───── Toast ───── */

.form-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 14px 22px;
  font-size: 13px; letter-spacing: 0.05em;
  z-index: 200;
  transition: transform .35s ease;
  max-width: 90%;
}
.form-toast.visible { transform: translateX(-50%) translateY(0); }

/* ───── Reveal ───── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ───── Mobile ───── */

@media (max-width: 900px) {
  .mission-body { grid-template-columns: 1fr; }
  .mission-stats { border-left: 0; border-top: 1px solid var(--border-strong); padding-left: 0; padding-top: 24px; }
  .approach-grid { grid-template-columns: 1fr; border-left: 0; }
  .approach-grid.four { grid-template-columns: 1fr 1fr; }
  .approach-card { border-right: 0; }
  .split { grid-template-columns: 1fr; }
  .split-pane { border-right: 0; border-bottom: 1px solid var(--border); }
  .split-pane:last-child { border-bottom: 0; }
  .stay-form { grid-template-columns: 1fr; }
  .verse-text-block { max-width: 100%; }
  .verse-context {
    background:
      linear-gradient(180deg, rgba(10,20,16,0.95) 0%, rgba(10,20,16,0.6) 40%, rgba(10,20,16,0.92) 100%),
      url('../assets/soldier-sunset.webp') center / cover no-repeat;
  }
  .path-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Mobile scroll-trap — hero pins via sticky while the zoom plays through.
   150vh total = 100vh pinned + 50vh of scroll-trap, so one swipe completes the zoom. */
@media (max-width: 900px) {
  .hero-track {
    position: relative;
    height: 150vh;
  }
  .hero {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-top, .hero-bottom-stack {
    opacity: var(--headline-op, 1);
  }
}
@media (min-width: 901px) {
  .hero-track { display: contents; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; padding: 8px;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 1px; background: var(--fg);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  /* Drawer becomes a true scrollable panel: nav links + ops box + intel box. */
  .mobile-menu {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 49;
    max-height: calc(100vh - 64px);
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 20px 20px 28px;
    display: flex; flex-direction: column; gap: 18px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu .mm-nav {
    display: flex; flex-direction: column; gap: 14px;
  }
  .mobile-menu .mm-nav a {
    font-size: 18px; letter-spacing: -0.01em;
    color: var(--fg); text-decoration: none;
  }

  .mm-divider {
    height: 1px; background: var(--border);
    margin: 4px 0 2px;
  }

  /* Mobile drawer: hide the fixed-position ops + intel cards (they live INSIDE
     the drawer now per Timn's 2026-06-20 redesign — cleaner mobile hero). */
  .ops-status-card,
  .intel-teaser { display: none !important; }

  /* In-drawer Ops box — mirrors .ops-status-card visual language but laid out
     for the full drawer width. */
  .mm-ops {
    position: relative;
    padding: 14px 16px;
    background: rgba(11, 22, 16, 0.92);
    border: 1px solid var(--border-strong);
    display: grid; gap: 12px;
  }
  .mm-ops::before,
  .mm-ops::after {
    content: ""; position: absolute;
    width: 8px; height: 8px;
    border: 1px solid var(--accent-gold);
  }
  .mm-ops::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
  .mm-ops::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
  .mm-ops-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  .mm-ops-stat { text-align: center; }
  .mm-ops-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px; line-height: 1; font-weight: 700;
    color: var(--fg); letter-spacing: 0;
  }
  .mm-ops-stat sup { font-size: 13px; }
  .mm-ops-stat span {
    display: block; margin-top: 4px;
    font-family: var(--font-display);
    font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--fg-mute);
  }
  .mm-ops-foot {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--fg-dim);
  }

  /* In-drawer Live Intel teaser — tappable link to /intelligence/. */
  .mm-intel {
    display: grid; gap: 8px;
    padding: 14px 16px;
    background: rgba(8, 16, 12, 0.96);
    border: 1px solid var(--accent-red-hot);
    border-left: 3px solid var(--accent-red-hot);
    text-decoration: none;
    color: var(--fg);
  }
  .mm-intel-body {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px; line-height: 1.42;
    color: var(--fg); letter-spacing: -0.005em;
  }
  .mm-intel-foot {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--fg-dim);
  }

  /* Shared head row for both in-drawer cards. */
  .mm-card-head {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-gold);
  }
  .mm-card-pulse {
    width: 7px; height: 7px; border-radius: 50%;
    animation: pulse 2.4s ease-in-out infinite;
  }
  .mm-card-pulse.gold {
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
  }
  .mm-card-pulse.red {
    background: var(--accent-red-hot);
    box-shadow: 0 0 10px var(--accent-red-hot);
    animation-duration: 1.6s;
  }
  .mm-card-pulse.sm { width: 5px; height: 5px; }

  .hero-top { padding: clamp(80px, 12vh, 100px) 20px 12px; }
  .hero-bottom { padding-bottom: clamp(36px, 7vh, 60px); }
  .hero-headline { font-size: clamp(28px, 9vw, 44px); }
  .hero-headline-cont { font-size: clamp(28px, 9vw, 44px); }
  .map-hint { font-size: 9px; padding: 6px 10px; bottom: 12px; }
  .check-group { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .give-row { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .foot-brand { justify-content: center; }
  .foot-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
