@font-face {
  font-family: "Antonio";
  src: url("assets/fonts/Antonio-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("assets/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #f1e7ce;
  --paper-2: #e8dcbc;
  --paper-3: #ddd0a8;
  --navy: #18253b;
  --navy-2: #2a3a55;
  --patrol: #c6362f;
  --evergreen: #2c4634;
  --mustard: #d4a12c;
  --peach: #e8916b;
  --ink-plate: rgba(24, 37, 59, 0.9);
  --ease-paper: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --cond: "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--navy); scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--body); line-height: 1.55; background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.skip-link {
  position: fixed; z-index: 200; top: 12px; left: 12px;
  transform: translateY(-200%);
  padding: 10px 16px; border: 2px solid var(--mustard); border-radius: 999px;
  background: var(--navy); color: var(--paper);
  font-family: var(--cond); letter-spacing: 0.14em; text-transform: uppercase;
}
.skip-link:focus { transform: translateY(0); }

.beat { position: relative; min-height: 100vh; overflow: clip; }

/* ---- shared route lines + reveal masks ---- */
.route-line { fill: none; stroke: var(--patrol); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.dotted-line { stroke-dasharray: 1.5 16; }
.reveal { fill: none; stroke: #fff; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }

/* ---- shared text bits ---- */
.kicker, .stamp {
  margin: 0 0 18px;
  font-family: var(--cond); font-size: 14px; line-height: 1.2;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.cold-copy h1, .decision-copy h2, .terrain-copy h2, .hero-copy h2, .honesty-left h2, .game-copy h2 {
  display: grid; gap: 8px; margin: 0;
  font-family: var(--serif); line-height: 0.98; letter-spacing: 0; font-weight: 400;
}
.cold-copy h1 { font-size: clamp(48px, 7.4vw, 116px); }
.hero-copy h2 { font-size: clamp(48px, 6.2vw, 96px); }
.decision-copy h2 { font-size: clamp(38px, 5vw, 80px); }
.terrain-copy h2 { font-size: clamp(38px, 5.4vw, 88px); }
.honesty-left h2 { font-size: clamp(38px, 4.6vw, 74px); }
.game-copy h2 { font-size: clamp(36px, 4.9vw, 78px); }

/* ============ BEAT 0 — cold open ============ */
.cold-open {
  min-height: 140vh;
  background:
    radial-gradient(62% 40% at 50% 100%, rgba(232, 145, 107, 0.26), transparent 70%),
    radial-gradient(42% 30% at 22% 16%, rgba(232, 145, 107, 0.12), transparent 70%),
    linear-gradient(180deg, #0e1726 0%, var(--navy) 30%, var(--navy-2) 60%, #12222f 100%);
  color: var(--paper);
}
#snow-canvas, .cold-sky, .cold-photo, .cold-photo-shade, .cold-route { position: absolute; inset: 0; }
.cold-photo {
  z-index: 0;
  background:
    image-set(url("assets/images/atmo-night.webp") type("image/webp"), url("assets/images/atmo-night.png") type("image/png"))
    center / cover no-repeat;
}
.cold-photo-shade {
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(13,21,33,0.78) 0%, rgba(13,21,33,0.5) 34%, rgba(13,21,33,0.18) 56%, rgba(13,21,33,0.34) 100%),
    linear-gradient(180deg, rgba(13,21,33,0.4) 0%, transparent 30%, transparent 60%, rgba(13,21,33,0.55) 100%);
}
#snow-canvas { z-index: 3; width: 100%; height: 100%; }
.cold-sky {
  z-index: 2; opacity: 0.5;
  background: linear-gradient(96deg, transparent 0%, rgba(232,145,107,0.3) 40%, rgba(212,161,44,0.34) 56%, rgba(232,145,107,0.12) 72%, transparent 100%);
  transform: translateX(-52%); mix-blend-mode: screen;
}

.cold-layout {
  position: sticky; z-index: 6; top: 0;
  display: grid; min-height: 100vh;
  grid-template-columns: minmax(0, 1.05fr) minmax(248px, 360px);
  align-items: center; gap: clamp(32px, 7vw, 110px);
  width: min(1280px, calc(100% - 64px)); margin: 0 auto;
  padding: 9vh 0 22vh;
}
.cold-copy h1 span { width: fit-content; padding: 2px 0; }
.cold-deck { margin: 28px 0 0; max-width: 31ch; font-size: clamp(16px, 1.7vw, 21px); color: var(--paper-2); line-height: 1.5; }
.cold-copy .kicker { color: var(--mustard); }

.phone-shell {
  position: relative; width: min(100%, 326px); aspect-ratio: 0.5; justify-self: end;
  border: 12px solid #0b1420; border-radius: 44px;
  background: linear-gradient(180deg, #1d2c42, #0d1726);
  box-shadow: 0 0 0 1.5px rgba(241,231,206,0.16), 0 26px 70px rgba(198,54,47,0.3), 0 0 110px rgba(232,145,107,0.22);
}
.phone-speaker { position: absolute; top: 16px; left: 50%; width: 78px; height: 7px; border-radius: 99px; background: rgba(241,231,206,0.18); transform: translateX(-50%); }
.phone-screen {
  display: grid; height: 100%; align-content: center; justify-items: center; gap: 6px; padding: 26px;
  border: 1px solid rgba(241,231,206,0.12); border-radius: 31px;
  background: radial-gradient(60% 30% at 50% 30%, rgba(212,161,44,0.18), transparent 70%), linear-gradient(180deg, rgba(241,231,206,0.08), rgba(241,231,206,0.015));
}
.phone-label, .phone-note { font-family: var(--cond); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.phone-label { color: var(--peach); }
.phone-note { color: rgba(241,231,206,0.66); }
.phone-screen strong {
  font-family: var(--serif); font-weight: 400; font-size: clamp(86px, 12vw, 152px); line-height: 0.88;
  font-feature-settings: "tnum"; color: var(--paper); text-shadow: 0 0 40px rgba(232,145,107,0.35);
}
.cold-route { z-index: 5; width: min(46vw, 500px); margin-left: auto; margin-right: 6vw; margin-top: 16vh; pointer-events: none; }
.cold-route .route-line { filter: drop-shadow(0 0 9px rgba(198,54,47,0.5)); }

.known-line {
  position: absolute; z-index: 8; right: clamp(16px, 6vw, 92px); bottom: 11vh;
  display: grid; gap: 10px; color: var(--navy);
  font-family: var(--serif); font-size: clamp(28px, 4vw, 60px); line-height: 1;
}
.known-line span { width: fit-content; padding: 10px 16px 14px; background: var(--paper); box-shadow: 6px 6px 0 rgba(198,54,47,0.18); }

/* ============ shared illustrated map ============ */
.front-range-map { margin: 0; }
.map-svg { display: block; width: 100%; filter: drop-shadow(0 24px 30px rgba(24,37,59,0.18)); }
.map-cap { margin: 14px 4px 0; font-family: var(--cond); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-2); }

/* painted base art carries the terrain — the SVG just contributes the torn-paper outline + cartography overlay */
.map-paper-edge { fill: none; stroke: var(--navy); stroke-width: 3.5; }
.map-photo { }
.map-inner-rule { fill: none; stroke: var(--navy); stroke-width: 1; opacity: 0.28; stroke-dasharray: 1 5; }
.map-vignette { fill: url(#paperVignette); pointer-events: none; }
/* the painting supplies the mountains/divide/contours/folds — hide the drawn versions */
.map-fold, .contours, .divide-line, .divide-peaks, .divide-snow, .divide-label { display: none; }

/* I-70 + minor roads are context only — kept faint so the patrol-red route reads as the hero */
.road-casing { display: none; }
.road-fill { fill: none; stroke: var(--navy-2); stroke-width: 3.4; stroke-dasharray: 8 6; opacity: 0.5; stroke-linecap: round; }
.road-dash { display: none; }
.road-minor { fill: none; stroke: var(--navy-2); stroke-width: 2.2; stroke-dasharray: 5 7; opacity: 0.4; stroke-linecap: round; }
.road-tag rect { fill: var(--paper); stroke: var(--navy-2); stroke-width: 1.3; opacity: 0.85; }
.road-tag text { font-family: var(--cond); font-size: 12px; letter-spacing: 0.12em; fill: var(--navy-2); text-anchor: middle; }

.cartouche-title { font-family: var(--serif); font-size: 30px; fill: var(--navy); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.cartouche-rule { stroke: var(--patrol); stroke-width: 3; }
.cartouche-sub { font-family: var(--cond); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--navy-2); }

.compass-ring { fill: var(--paper); stroke: var(--navy); stroke-width: 1.6; }
.compass-needle { fill: var(--navy-2); }
.compass-needle-n { fill: var(--patrol); }
.compass-n { font-family: var(--cond); font-size: 13px; fill: var(--navy); text-anchor: middle; letter-spacing: 0.1em; }
.scalebar line { stroke: var(--navy); stroke-width: 1.6; }
.scalebar text { font-family: var(--cond); font-size: 11px; letter-spacing: 0.12em; fill: var(--navy-2); text-transform: uppercase; }

.peak, .peak-snow { display: none; } /* painting carries the peaks; keep only the dot + label */
.resort-dot { fill: var(--paper); stroke: var(--patrol); stroke-width: 4; filter: drop-shadow(0 0 2px var(--paper)); }
.resort-label, .resort-sublabel, .denver-label, .cartouche-sub, .road-tag text, .scalebar text, .compass-n {
  paint-order: stroke; stroke: var(--paper); stroke-width: 3.4px; stroke-linejoin: round;
}
.resort-label { font-family: var(--cond); font-size: 19px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--navy); }
.resort-sublabel { font-family: var(--cond); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--navy-2); }
.denver-pin path { fill: var(--patrol); stroke: var(--paper); stroke-width: 2.5; }
.denver-pin circle { fill: var(--paper); }
.denver-label { font-family: var(--cond); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--navy); }

/* drawn route over the map */
.map-line, .commit-line { stroke-width: 6; }
.branch-line { stroke-width: 5; stroke-dasharray: 1.5 13; opacity: 0.3; }
.commit-line { opacity: 0; }
.map-line, .commit-line { filter: drop-shadow(0 0 2.5px var(--paper)) drop-shadow(0 0 1px var(--paper)); }

/* SVG annotation callouts */
.ann-leader { stroke: var(--patrol); stroke-width: 2; }
.ann-shadow { fill: var(--mustard); }
.ann-box { fill: var(--paper); stroke: var(--navy); stroke-width: 2; }
.ann-text { font-family: var(--body); font-size: 12.5px; font-weight: 700; fill: var(--navy); }

/* SVG "today" stamp */
.stamp-shadow { fill: var(--patrol); }
.stamp-box { fill: var(--mustard); stroke: var(--navy); stroke-width: 3.5; }
.stamp-text { font-family: var(--cond); font-size: 23px; letter-spacing: 0.1em; text-transform: uppercase; fill: var(--navy); text-anchor: middle; }

/* ============ BEAT 1 — hero ============ */
.hero-proper, .decision-beat { background: var(--paper); }
.paper-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.2;
  background-image: linear-gradient(90deg, rgba(24,37,59,0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(24,37,59,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-grid {
  position: relative; z-index: 2; display: grid; min-height: 100vh;
  grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: clamp(28px, 5vw, 80px);
  width: min(1320px, calc(100% - 72px)); margin: 0 auto; padding: 7vh 0;
}
.hero-proper .front-range-map { transform: rotate(-1.4deg); }
.hero-proper .map-svg { filter: drop-shadow(0 26px 34px rgba(24,37,59,0.2)); }
.hero-copy h2 span, .hero-sub span { width: fit-content; padding: 12px 18px 16px; background: var(--ink-plate); color: var(--paper); }
.hero-sub { margin: 24px 0 0; font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }
.hero-sub span { display: inline-block; padding: 9px 14px 12px; }
.small-stamp {
  display: inline-block; padding: 9px 13px; border: 2px solid var(--mustard);
  background: var(--navy); color: var(--paper); transform: rotate(-3deg); box-shadow: 4px 4px 0 rgba(198,54,47,0.32);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pill {
  min-height: 50px; display: inline-grid; place-items: center; padding: 14px 24px;
  border: 2px solid var(--navy); border-radius: 999px; font-weight: 800; letter-spacing: 0.01em; text-decoration: none;
  transition: transform 0.18s var(--ease-paper), box-shadow 0.18s var(--ease-paper);
}
.primary-pill { background: var(--navy); color: var(--paper); box-shadow: 5px 5px 0 var(--patrol); }
.primary-pill:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--patrol); }
.ghost-pill { background: transparent; color: var(--navy); }
.ghost-pill:hover { background: var(--paper-2); transform: translate(-1px, -1px); }
.hero-foot { margin: 26px 0 0; font-family: var(--cond); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-2); }

/* ============ BEAT 2 — decision ============ */
.decision-beat { min-height: 140vh; }
.decision-pin {
  position: sticky; top: 0; min-height: 100vh; display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(20px, 3vw, 56px);
  width: min(1340px, calc(100% - 64px)); margin: 0 auto; padding: 5vh 0;
}
.decision-copy { z-index: 4; max-width: 540px; }
.decision-copy .kicker { color: var(--patrol); }
.decision-sub { margin: 22px 0 0; max-width: 34ch; font-size: clamp(15px, 1.6vw, 19px); color: var(--navy-2); }
.decision-reasons {
  display: grid; gap: 10px; margin-top: 24px; max-width: 480px;
}
.reason-card {
  display: grid; grid-template-columns: minmax(84px, 0.34fr) minmax(0, 0.66fr);
  gap: 4px 14px; align-items: baseline;
  padding: 12px 14px;
  border: 2px solid rgba(24,37,59,0.82); background: rgba(241,231,206,0.78);
  box-shadow: 4px 4px 0 rgba(24,37,59,0.12);
}
.reason-card span {
  grid-row: 1 / span 2;
  font-family: var(--cond); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--patrol);
}
.reason-card strong {
  font-family: var(--cond); font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.05;
}
.reason-card p { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--navy-2); }
.reason-card-commit { background: var(--navy); color: var(--paper); box-shadow: 4px 4px 0 var(--patrol); }
.reason-card-commit p { color: var(--paper-2); }
.decision-map { z-index: 3; transform: rotate(-1deg); }
.decision-map .map-svg { filter: drop-shadow(0 24px 32px rgba(24,37,59,0.2)); }
.ann { opacity: 1; }     /* JS hides/reveals; visible by default for the no-JS fallback */
.today-stamp { opacity: 1; }

/* ============ BEAT 3 — terrain ============ */
.terrain-beat { min-height: 120vh; background: #0e1726; color: var(--paper); }
.terrain-image-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.terrain-image-wrap picture, .terrain-image-wrap img { display: block; width: 100%; height: 100%; }
.terrain-image-wrap img { object-fit: cover; object-position: center; transform: scale(1.05); }
.alpenglow-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,196,130,0.45) 0%, rgba(232,145,107,0.2) 22%, rgba(232,145,107,0) 44%);
  mix-blend-mode: soft-light;
}
.alpenglow-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,23,38,0) 40%, rgba(14,23,38,0.22) 66%, rgba(14,23,38,0.6) 100%);
}
.terrain-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.terrain-line .reveal { stroke-width: 36; }
.terrain-line .dotted-line { stroke-dasharray: 2 18; }
.terrain-route { stroke-width: 9; filter: drop-shadow(0 0 4px rgba(14,23,38,0.7)) drop-shadow(0 0 1.5px rgba(241,231,206,0.5)); }
.terrain-card {
  position: absolute; z-index: 5; max-width: 250px; padding: 11px 14px;
  border: 2px solid var(--paper); background: var(--ink-plate); color: var(--paper);
  box-shadow: 4px 4px 0 var(--patrol); font-size: 14px; font-weight: 700; line-height: 1.4;
}
.terrain-card span { display: block; font-family: var(--cond); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; color: var(--mustard); }
.terrain-card-one { left: 53%; top: 20vh; }
.terrain-card-two { left: 22%; bottom: 18vh; }
.terrain-copy { position: absolute; z-index: 6; top: 8vh; left: max(24px, 6vw); max-width: 720px; }
.terrain-copy .kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; background: var(--ink-plate); color: var(--mustard); }
.terrain-copy h2 span { width: fit-content; padding: 8px 14px 12px; background: var(--ink-plate); color: var(--paper); }

/* ============ BEAT 5 (stub) — honest by design ============ */
.honesty-beat { min-height: 130vh; background: var(--paper-2); }
.honesty-pin {
  position: sticky; top: 0; min-height: 100vh; display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 80px);
  width: min(1280px, calc(100% - 64px)); margin: 0 auto; padding: 12vh 0 6vh;
}
.honesty-left { position: relative; }
.honesty-left .kicker { color: var(--patrol); }
.honesty-left h2 span { width: fit-content; }
.honesty-sub { margin: 22px 0 0; font-size: clamp(16px, 1.8vw, 21px); font-weight: 700; color: var(--navy); }
.honesty-spot {
  position: absolute; left: -8px; bottom: -2vh; width: clamp(150px, 16vw, 220px);
  opacity: 0.55; mix-blend-mode: multiply; pointer-events: none; user-select: none;
}
.confidence-track { position: absolute; right: -10px; top: -6vh; height: 96vh; width: 80px; pointer-events: none; }
.conf-solid { stroke-width: 6; }
.conf-frayed { stroke-width: 6; stroke-dasharray: 2 7 1 13 4 9 1 16; opacity: 0.5; }
.conf-terminus { fill: var(--patrol); stroke: var(--navy); stroke-width: 3; }

.honesty-right { display: grid; gap: 16px; }
.signal-card {
  border: 2px solid var(--navy); background: var(--paper); padding: 16px 18px;
  box-shadow: 6px 6px 0 rgba(24,37,59,0.14);
}
.signal-card header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 8px; }
.signal-name { font-family: var(--cond); font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.signal-pill { font-family: var(--cond); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pill-stale { background: var(--mustard); color: var(--navy); }
.pill-none { background: rgba(42,58,85,0.14); color: var(--navy-2); border: 1px solid rgba(42,58,85,0.4); }
.signal-card p { margin: 0; font-size: 14.5px; color: var(--navy-2); line-height: 1.5; }

/* ============ BEAT 6 — playable cached route ============ */
.game-beat {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(58% 44% at 78% 14%, rgba(232,145,107,0.28), transparent 66%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.game-layout {
  position: relative; z-index: 2;
  width: min(1280px, calc(100% - 64px)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center; padding: 9vh 0;
}
.game-copy .kicker { color: var(--patrol); }
.game-copy h2 span { width: fit-content; }
.game-sub { margin: 22px 0 0; max-width: 38ch; font-size: clamp(15px, 1.55vw, 19px); color: var(--navy-2); }
.game-readout {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  margin-top: 28px; max-width: 520px;
}
.game-readout div {
  min-width: 0; padding: 12px 14px;
  border: 2px solid rgba(24,37,59,0.84); background: rgba(241,231,206,0.66);
  box-shadow: 4px 4px 0 rgba(198,54,47,0.18);
}
.game-readout span, .game-label {
  display: block;
  font-family: var(--cond); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--patrol);
}
.game-readout strong {
  display: block; margin-top: 3px;
  font-family: var(--cond); font-size: clamp(18px, 2.1vw, 24px); letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.game-panel {
  border: 3px solid var(--navy); background: rgba(241,231,206,0.84);
  box-shadow: 10px 10px 0 rgba(198,54,47,0.24);
  padding: clamp(14px, 2vw, 20px);
}
.game-topline {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px;
}
.game-topline strong {
  display: block; margin-top: 2px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.25;
}
.game-button, .game-control {
  border: 2px solid var(--navy); border-radius: 999px;
  background: var(--navy); color: var(--paper);
  font: 800 14px/1 var(--body); cursor: pointer;
}
.game-button { flex: 0 0 auto; min-height: 44px; padding: 12px 18px; box-shadow: 4px 4px 0 var(--patrol); }
#skiisu-game {
  display: block; width: 100%; aspect-ratio: 4 / 3; height: auto;
  border: 2px solid var(--navy); background: var(--paper);
  touch-action: none;
}
.game-controls {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px;
}
.game-control {
  min-width: 0; min-height: 42px; padding: 10px 8px;
  background: var(--paper-2); color: var(--navy);
  font-size: 13px;
}
.game-control.is-active { background: var(--mustard); }
.game-help { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--navy-2); }

/* ============ BEAT 9 (stub) — get on the list ============ */
.cta-beat {
  position: relative;
  min-height: 96vh; display: grid; place-items: center; padding: 96px 24px 96px;
  background: var(--paper);
}
.cta-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    image-set(url("assets/images/atmo-golden.webp") type("image/webp"), url("assets/images/atmo-golden.png") type("image/png"))
    center / cover no-repeat;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 60%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.9) 55%, #000 100%);
          mask-image: radial-gradient(120% 90% at 50% 60%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.9) 55%, #000 100%);
}
.cta-beat::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 52%, rgba(241,231,206,0.78) 0%, rgba(241,231,206,0.25) 60%, transparent 100%);
}
.cta-stack { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 560px; }
.cta-icon { border-radius: 22.37%; box-shadow: 0 18px 44px rgba(24,37,59,0.22); }
.cta-beat .kicker { color: var(--patrol); margin: 6px 0 0; }
#cta-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.cta-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 0; }
.cta-form input {
  min-width: 240px; padding: 13px 16px; border: 2px solid var(--navy); border-radius: 999px;
  background: var(--paper-2); color: var(--navy); font: inherit; font-size: 15px;
}
.cta-form button {
  padding: 13px 24px; border: 2px solid var(--navy); border-radius: 999px;
  background: var(--navy); color: var(--paper); font: inherit; font-weight: 800; cursor: pointer;
  box-shadow: 5px 5px 0 var(--patrol);
}
.cta-fine { margin: 4px 0 0; font-size: 13px; color: var(--navy-2); }
.cta-tagline { margin: 18px 0 0; font-size: clamp(16px, 2vw, 22px); font-weight: 700; }
.trail-in, .trail-terminus { position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; }
.trail-in { top: 0; width: 0; height: 64px; border-left: 6px dotted var(--patrol); opacity: 0.8; }
.trail-terminus { bottom: 38px; width: 28px; height: 28px; margin-left: -14px; left: 50%; transform: none; border: 4px solid var(--navy); border-radius: 50%; background: var(--patrol); }

.site-footer { background: var(--navy); color: var(--paper-2); padding: 26px 24px; text-align: center; }
.site-footer p { margin: 0; font-family: var(--cond); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer span { opacity: 0.6; }

/* ============ responsive ============ */
@media (max-width: 880px) {
  .cold-layout, .hero-grid { width: min(100% - 32px, 540px); grid-template-columns: 1fr; }
  .cold-layout { align-content: center; padding: 7vh 0 16vh; }
  .cold-copy h1 { font-size: clamp(40px, 12vw, 64px); }
  .phone-shell { width: min(66vw, 230px); justify-self: center; }
  .cold-route { width: 84vw; margin-right: -8vw; margin-top: 34vh; }
  .known-line { left: 16px; right: 16px; bottom: 8vh; }

  .hero-grid { gap: 18px; padding: 4vh 0 6vh; }
  .hero-proper .front-range-map { order: 2; transform: rotate(-0.8deg); }
  .hero-copy { order: 1; }
  .hero-copy h2 { font-size: clamp(36px, 10.5vw, 56px); }

  .decision-beat { min-height: 128vh; }
  .decision-pin { grid-template-columns: 1fr; width: calc(100% - 24px); gap: 8px; align-content: center; padding: 4vh 0; }
  .decision-copy { order: 1; }
  .decision-copy h2 { font-size: clamp(30px, 9vw, 52px); }
  .decision-sub { margin-top: 14px; max-width: none; font-size: 15px; }
  .decision-reasons { margin-top: 16px; max-width: none; gap: 8px; }
  .reason-card { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
  .reason-card span { grid-row: auto; font-size: 11px; }
  .reason-card strong { font-size: 17px; }
  .reason-card p { font-size: 13px; }
  .decision-map { order: 2; transform: rotate(-0.6deg); }

  /* BEAT 3 mobile — stack headline, then card-one well below it, then card-two at the bottom */
  .terrain-beat { min-height: 138vh; }
  .terrain-copy { top: 5vh; left: 18px; right: 18px; max-width: none; }
  .terrain-copy h2 { font-size: clamp(30px, 9vw, 48px); }
  .terrain-card { max-width: none; font-size: 13px; }
  .terrain-card span { font-size: 14px; }
  .terrain-card-one { left: 18px; right: 18px; top: auto; bottom: 30vh; }
  .terrain-card-two { left: 18px; right: 18px; bottom: 9vh; }

  .honesty-beat { min-height: auto; }
  .honesty-pin { position: static; min-height: auto; grid-template-columns: 1fr; gap: 22px; width: calc(100% - 32px); padding: 9vh 0 7vh; }
  .confidence-track, .honesty-spot { display: none; }
  .honesty-left h2 { font-size: clamp(32px, 9vw, 52px); }

  .game-layout {
    width: calc(100% - 32px); grid-template-columns: 1fr; gap: 22px; padding: 8vh 0;
  }
  .game-copy h2 { font-size: clamp(31px, 9vw, 52px); }
  .game-sub { max-width: none; }
  .game-readout { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .game-readout div { padding: 10px 9px; }
  .game-readout span { font-size: 10px; letter-spacing: 0.12em; }
  .game-readout strong { font-size: 16px; }
  .game-panel { padding: 12px; box-shadow: 6px 6px 0 rgba(198,54,47,0.24); }
  .game-topline { align-items: stretch; }
  .game-button { min-height: 42px; padding: 10px 14px; }
  .game-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-form input { min-width: 0; flex: 1 1 200px; }
}

@media (max-width: 430px) {
  .game-layout { width: calc(100% - 24px); }
  .game-topline { display: grid; }
  .game-button { width: 100%; }
  .game-help { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .cold-sky { transform: translateX(0); }
}

/* Static/reduced-motion/no-CDN path: compose the page as real sections, not pinned scroll space. */
html.is-static .cold-open { min-height: 100vh; }
html.is-static .cold-layout { position: relative; top: auto; min-height: 100vh; }
html.is-static .hero-proper,
html.is-static .decision-beat,
html.is-static .terrain-beat,
html.is-static .honesty-beat {
  min-height: auto;
}
html.is-static .hero-grid,
html.is-static .decision-pin,
html.is-static .honesty-pin {
  position: relative; top: auto; min-height: min(100vh, 820px);
}
html.is-static .decision-pin,
html.is-static .honesty-pin {
  align-items: center;
}
html.is-static .terrain-image-wrap {
  position: relative; top: auto; height: min(100vh, 840px); min-height: 680px;
}
html.is-static .terrain-copy { top: 7vh; }

@media (max-width: 880px) {
  html.is-static .cold-open { min-height: auto; }
  html.is-static .cold-layout { min-height: auto; }
  html.is-static .hero-grid,
  html.is-static .decision-pin,
  html.is-static .honesty-pin {
    min-height: auto;
  }
  html.is-static .terrain-image-wrap {
    height: 100svh; min-height: 740px;
  }
}
