/* ============================================================
   ПАЛАИЧ — design system
   ============================================================ */
:root {
  --bg: #070a08;
  --bg-2: #0b100d;
  --card: #0e1511;
  --card-2: #121c16;
  --line: #223027;
  --line-2: #33483a;
  --ink: #eaf2ea;
  --ink-2: #b4c5b7;
  --ink-3: #7d9184;
  --accent: #6fd47f;
  --accent-rgb: 111 212 127;
  --gold: #d9b45c;
  --gold-rgb: 217 180 92;
  --blue: #8aa7d9;
  --danger: #e5645a;
  --danger-rgb: 229 100 90;

  --font-display: "Unbounded", "Trebuchet MS", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 18px;
  --pad: clamp(18px, 3vw, 30px);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(111, 212, 127, .10), transparent 65%),
    radial-gradient(900px 700px at 0% 30%, rgba(217, 180, 92, .05), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
  pointer-events: none;
}

img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(111, 212, 127, .28); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - clamp(32px, 7vw, 88px)); margin-inline: auto; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--accent { color: var(--accent); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }

.btn {
  --btn-bg: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #061007;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease), box-shadow .24s var(--ease);
  box-shadow: 0 10px 30px -14px rgba(111, 212, 127, .75);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .24s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -16px rgba(111, 212, 127, .9); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { background: var(--accent); color: #061007; }
.btn--ghost {
  background: rgba(255, 255, 255, .02);
  border-color: var(--line-2);
  color: var(--ink);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 12px 30px -18px rgba(111, 212, 127, .6); }
.btn--small { min-height: 40px; padding: 9px 18px; font-size: 12.5px; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 8, .62);
  border-bottom: 1px solid rgba(51, 72, 58, .5);
}
.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--container), 100% - clamp(32px, 7vw, 88px));
  min-height: 68px;
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(111, 212, 127, .22), rgba(217, 180, 92, .1));
  border: 1px solid rgba(111, 212, 127, .4);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}
.brand__text { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .04); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}
.topbar__cta { margin-left: 4px; }
.progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: transparent; }
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(111, 212, 127, .1), var(--accent));
  box-shadow: 0 0 12px rgba(111, 212, 127, .8);
  transition: width .1s linear;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(112px, 15vh, 168px) 0 clamp(64px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.orb--1 { width: 46vw; height: 46vw; top: -12vw; right: -6vw; background: radial-gradient(circle, rgba(111, 212, 127, .5), transparent 68%); animation: drift 20s ease-in-out infinite; }
.orb--2 { width: 34vw; height: 34vw; bottom: -10vw; left: -8vw; background: radial-gradient(circle, rgba(217, 180, 92, .28), transparent 70%); animation: drift 26s ease-in-out infinite reverse; }
.orb--3 { width: 26vw; height: 26vw; top: 40%; left: 48%; background: radial-gradient(circle, rgba(138, 167, 217, .18), transparent 70%); animation: drift 32s ease-in-out infinite; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 212, 127, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 212, 127, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 40%, #000 20%, transparent 80%);
}

.hero__grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas:
    "copy stage"
    "actions stage";
  align-items: center;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: clamp(22px, 3vh, 36px);
}
.hero__copy { grid-area: copy; align-self: end; min-width: 0; }
.hero__stage { grid-area: stage; align-self: center; }
.hero__actions { grid-area: actions; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.hero__eyebrow { margin-bottom: 18px; animation: rise .9s var(--ease) both; }
.hero__title {
  font-size: clamp(3.1rem, 8.4vw, 6.2rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #ffffff 18%, #d9ecdb 52%, #8fbf98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1s var(--ease) .06s both;
}
.hero__sub {
  max-width: 34ch;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  animation: rise 1s var(--ease) .16s both;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__chips { animation: rise 1s var(--ease) .24s both; }
.hero__actions { animation: rise 1s var(--ease) .34s both; }
.hero__note { width: 100%; color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* 3D stage */
.hero__stage { animation: stage-in 1.2s var(--ease) .1s both; }
.stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1 / 1.02;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 50% 44%, rgba(111, 212, 127, .12), transparent 70%),
    linear-gradient(160deg, rgba(18, 28, 22, .85), rgba(8, 12, 9, .92));
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 40px 80px -50px rgba(0, 0, 0, .9),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(111, 212, 127, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 212, 127, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
  opacity: .7;
}
.stage__aura {
  position: absolute;
  left: 50%; top: 50%;
  width: 68%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 212, 127, .22), rgba(111, 212, 127, .04) 45%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.stage__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.stage__canvas:active { cursor: grabbing; }
.stage.is-loaded .stage__canvas { opacity: 1; }
.stage.is-loaded .stage__fallback { opacity: 0; }
.stage.is-error .stage__canvas { opacity: 0; }

.stage__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  justify-items: center;
  padding: 24px;
  transition: opacity .6s ease;
}
.stage__silhouette { width: min(74%, 340px); height: auto; filter: blur(.2px); animation: bob 7s ease-in-out infinite; }
.stage__fallback-text { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.stage__noscript {
  position: absolute;
  z-index: 5;
  left: 20px; right: 20px; bottom: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(7, 10, 8, .85);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.5;
}
.stage.is-error .stage__fallback-text { color: var(--gold); }

.stage__top { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; pointer-events: none; }
.stage__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(111, 212, 127, .32);
  border-radius: 999px;
  background: rgba(7, 10, 8, .55);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.stage__badge--ghost { border-color: var(--line); color: var(--ink-3); }
.stage__badge .dot { width: 5px; height: 5px; animation: blink 2.6s ease-in-out infinite; }

.stage__bottom {
  position: absolute;
  z-index: 3;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}
.stage__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(7, 10, 8, .6);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11.5px;
  backdrop-filter: blur(6px);
  transition: opacity .4s ease;
}
.stage__hint svg { width: 14px; height: 14px; color: var(--accent); }
.stage__hint.is-hidden { opacity: 0; }
.stage__skip { pointer-events: auto; color: var(--ink-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .8; }
.stage__skip:hover { color: var(--accent); opacity: 1; }

.stage__loader {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  background: rgba(7, 10, 8, .35);
  backdrop-filter: blur(2px);
  transition: opacity .5s ease, visibility .5s;
}
.stage.is-loaded .stage__loader,
.stage.is-error .stage__loader { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(111, 212, 127, .18);
  border-top-color: var(--accent);
  animation: spin 1.1s linear infinite;
}
.stage__loader-text { color: var(--ink-2); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }

.corner { position: absolute; z-index: 3; width: 14px; height: 14px; border-color: rgba(111, 212, 127, .55); border-style: solid; border-width: 0; pointer-events: none; }
.corner--tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; border-top-left-radius: 6px; }
.corner--tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; border-top-right-radius: 6px; }
.corner--bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; border-bottom-left-radius: 6px; }
.corner--br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; border-bottom-right-radius: 6px; }

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 13px 0;
  animation: marquee 38s linear infinite;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__star { color: var(--accent); opacity: .8; }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ============================================================
   Sections
   ============================================================ */
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.section--tint { background: linear-gradient(180deg, transparent, rgba(111, 212, 127, .035) 18%, rgba(111, 212, 127, .035) 82%, transparent); }
.section[hidden] { display: none; }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 30px);
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}
.section-head__num {
  padding-top: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .85;
}
.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  letter-spacing: -.035em;
  max-width: 18ch;
}
.section-head .eyebrow { margin-bottom: 2px; }

.section-lede { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 46px); color: var(--ink-2); font-size: clamp(15.5px, 1.5vw, 18px); }
.section-lede--wide { max-width: 74ch; }
.section-lede p + p { margin-top: 14px; }

.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(18, 28, 22, .9), rgba(11, 16, 13, .9));
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 18% 0%, color-mix(in srgb, var(--pillar, var(--accent)) 16%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.card:hover { border-color: color-mix(in srgb, var(--pillar, var(--accent)) 45%, var(--line)); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 1.14rem; letter-spacing: -.02em; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.card__index { display: block; margin-bottom: 18px; color: color-mix(in srgb, var(--pillar, var(--accent)) 80%, #fff); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; }
.card__hint { display: block; margin-top: 18px; color: var(--ink-3); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; }
.card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--pillar, var(--accent)) 35%, transparent);
  background: color-mix(in srgb, var(--pillar, var(--accent)) 10%, transparent);
  color: var(--pillar, var(--accent));
}
.card__icon svg { width: 21px; height: 21px; }

.quote {
  position: relative;
  margin-top: clamp(24px, 3.5vw, 40px);
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
  border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, rgba(111, 212, 127, .07), transparent 70%);
}
.quote p { max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.05rem, 2.2vw, 1.55rem); font-weight: 500; line-height: 1.42; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 14px; color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: 14px; background: var(--line); overflow: hidden; }
.stats > div { padding: 18px 20px; background: var(--bg-2); }
.stats dt { color: var(--ink-3); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.stats dd { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* 02 chronicle */
.chronicle { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.chronicle__intro { position: relative; }
.chronicle__year {
  display: block;
  margin-bottom: 14px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px rgba(111, 212, 127, .26);
}
.chronicle__intro p { color: var(--ink-2); font-size: clamp(15.5px, 1.5vw, 17.5px); }
.chronicle__intro strong { color: var(--ink); font-weight: 600; }
.timeline { position: relative; border-left: 1px solid var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding: 0 0 30px 26px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -4.5px; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
}
.timeline__date { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.timeline__body h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.timeline__body p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.footnote { margin-top: 28px; color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; opacity: .8; }

/* 03 power */
.power { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.power__statement p { max-width: 22ch; font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2.15rem); font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.power__scale { position: relative; display: flex; gap: 6px; margin-top: 34px; padding-bottom: 24px; }
.power__tick { flex: 1; height: 34px; border-radius: 3px; background: linear-gradient(180deg, rgba(111, 212, 127, .12), rgba(111, 212, 127, .04)); border: 1px solid rgba(111, 212, 127, .12); }
.power__tick:nth-child(2) { background: linear-gradient(180deg, rgba(111, 212, 127, .16), rgba(111, 212, 127, .05)); }
.power__tick:nth-child(3) { background: linear-gradient(180deg, rgba(111, 212, 127, .2), rgba(111, 212, 127, .06)); }
.power__tick:nth-child(4) { background: linear-gradient(180deg, rgba(111, 212, 127, .24), rgba(111, 212, 127, .07)); }
.power__tick:nth-child(5) { background: linear-gradient(180deg, rgba(111, 212, 127, .3), rgba(111, 212, 127, .08)); }
.power__tick:nth-child(6) { background: linear-gradient(180deg, rgba(111, 212, 127, .38), rgba(111, 212, 127, .1)); }
.power__tick:nth-child(7) { background: linear-gradient(180deg, rgba(111, 212, 127, .48), rgba(111, 212, 127, .12)); }
.power__tick:nth-child(8) { background: linear-gradient(180deg, rgba(111, 212, 127, .6), rgba(111, 212, 127, .14)); }
.power__tick:nth-child(9) { background: linear-gradient(180deg, rgba(111, 212, 127, .74), rgba(111, 212, 127, .18)); }
.power__tick--full { background: linear-gradient(180deg, var(--accent), rgba(111, 212, 127, .3)); box-shadow: 0 0 24px rgba(111, 212, 127, .45); border-color: transparent; }
.power__label { position: absolute; right: 0; bottom: 0; color: var(--ink-3); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }

.check-list { display: grid; gap: 0; }
.check-list li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 23px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(111, 212, 127, .8);
}

/* 04 minions */
.tilt-group { perspective: 1000px; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .card__icon, .tilt h3 { transform: translateZ(24px); }
.tilt::marker { content: ""; }

/* 05 duties */
.duties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); }
.duties__item { display: flex; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .25s ease; }
.duties__item:hover { color: var(--accent); }
.duties__num { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; }
.duties__item p { font-size: clamp(15px, 1.6vw, 17px); font-weight: 500; transition: color .25s ease; }
.duties__item:hover p { color: var(--accent); }

/* 06 catastrophe */
.section--catastrophe { background: linear-gradient(180deg, rgba(229, 100, 90, .045), rgba(217, 180, 92, .03) 55%, transparent); }
.section--catastrophe .section-head { border-bottom-color: rgba(217, 180, 92, .22); }
.catastrophe { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.steps { border-top: 1px solid rgba(217, 180, 92, .16); }
.steps__item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(217, 180, 92, .14); }
.steps__num { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; padding-top: 3px; opacity: .9; }
.steps__item h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; }
.steps__item p { margin-top: 5px; color: var(--ink-2); font-size: 14.5px; }
.catastrophe__aside {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(217, 180, 92, .28);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(217, 180, 92, .09), rgba(20, 14, 8, .35));
  overflow: hidden;
}
.catastrophe__aside::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 180, 92, .5), transparent); }
.catastrophe__label { color: var(--ink-3); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; }
.catastrophe__name { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.2; color: var(--gold); letter-spacing: -.02em; }
.catastrophe__text { margin-top: 16px; color: var(--ink-2); font-size: 14.5px; }

/* 07 tree */
.tree { margin-top: 8px; text-align: center; }
.tree__root {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 26px;
  border: 1px solid rgba(111, 212, 127, .4);
  border-radius: 14px;
  background: rgba(111, 212, 127, .07);
  box-shadow: 0 0 40px -18px rgba(111, 212, 127, .7);
}
.tree__root::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(111, 212, 127, .45), rgba(111, 212, 127, .15));
}
.tree__root-label { color: var(--ink-3); font-family: var(--font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.tree__root-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--accent); letter-spacing: -.01em; }
.tree__branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); margin-top: 0; padding-top: 28px; text-align: left; }
.tree__branches::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 212, 127, .35) 12%, rgba(111, 212, 127, .35) 88%, transparent);
}
.tree__branch { position: relative; }
.tree__trunk { position: absolute; left: 50%; top: -28px; width: 1px; height: 28px; background: linear-gradient(180deg, rgba(111, 212, 127, .35), color-mix(in srgb, var(--pillar) 60%, transparent)); }
.tree__card { position: relative; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .25s ease, transform .25s var(--ease); }
.tree__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pillar) 50%, var(--line)); }
.tree__card h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 700; color: var(--pillar); }
.tree__card p { margin-top: 6px; color: var(--ink-2); font-size: 14px; }

/* 08 legacy */
.legacy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legacy__lede { color: var(--ink-2); font-size: clamp(15.5px, 1.5vw, 17.5px); }
.legacy__outro { grid-column: 2; margin-top: 4px; color: var(--ink-3); font-size: 14px; font-style: italic; }
.legacy__list { display: grid; }
.legacy__row { display: grid; grid-template-columns: 140px 28px minmax(0, 1fr); align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.legacy__row:first-child { border-top: 1px solid var(--line); }
.legacy__who { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.legacy__arrow { color: var(--accent); font-size: 16px; }
.legacy__what { color: var(--ink-2); font-size: 14.5px; }

/* 09 hunch */
.hunch {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(111, 212, 127, .26);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 130% at 100% 0%, rgba(111, 212, 127, .12), transparent 60%),
    linear-gradient(160deg, rgba(14, 21, 17, .95), rgba(9, 13, 10, .95));
  overflow: hidden;
}
.hunch::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(111, 212, 127, .18);
  box-shadow: 0 0 0 26px rgba(111, 212, 127, .04), 0 0 0 52px rgba(111, 212, 127, .025);
  pointer-events: none;
}
.hunch__label { color: var(--ink-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.hunch__place { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; }
.hunch__coords { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; }

/* 10 finale */
.finale { overflow: hidden; }
.finale__list { display: grid; gap: 0; max-width: 70ch; border-top: 1px solid var(--line); }
.finale__list li { position: relative; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.finale__list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.finale__call { margin-top: clamp(34px, 5vw, 56px); }
.finale__line { font-family: var(--font-display); font-size: clamp(1.9rem, 5.6vw, 4.2rem); font-weight: 900; line-height: 1.02; letter-spacing: -.045em; text-transform: uppercase; }
.finale__line--accent { color: var(--accent); text-shadow: 0 0 60px rgba(111, 212, 127, .35); }
.finale__call .btn { margin-top: 26px; }

/* ============================================================
   Quiz
   ============================================================ */
.quiz-section { padding-bottom: clamp(90px, 11vw, 150px); }
.quiz {
  position: relative;
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(111, 212, 127, .07), transparent 55%),
    linear-gradient(165deg, rgba(16, 24, 19, .95), rgba(9, 13, 10, .97));
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 1);
  overflow: hidden;
}
.quiz::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 212, 127, .35), transparent); }

.quiz__start { display: grid; gap: 22px; justify-items: start; }
.quiz__start-title { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.quiz__start-copy p:not(.quiz__start-title) { color: var(--ink-2); max-width: 62ch; }
.quiz__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quiz__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font-size: 12px; }
.quiz__facts span { color: var(--ink); font-family: var(--font-mono); font-size: 11px; }
.quiz__best { color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; }
.quiz__noscript { margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); font-size: 13px; }

.quiz__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.quiz__step, .quiz__count { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.quiz__count { color: var(--accent); }
.quiz__bar { height: 3px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #b9e5c0); transition: width .45s var(--ease); box-shadow: 0 0 14px rgba(111, 212, 127, .6); }

.quiz__question-wrap { padding: clamp(22px, 3vw, 34px) 0; }
.quiz__question { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; max-width: 30ch; }
.quiz__question:focus { outline: none; }
.quiz__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .018);
  color: var(--ink-2);
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}
.option:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); }
.option__key {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  transition: inherit;
}
.option[aria-checked="true"] { border-color: var(--accent); background: rgba(111, 212, 127, .1); color: var(--ink); box-shadow: 0 0 0 1px rgba(111, 212, 127, .25), 0 14px 30px -24px rgba(111, 212, 127, .9); }
.option[aria-checked="true"] .option__key { border-color: var(--accent); background: var(--accent); color: #061007; }
.option.is-locked { cursor: default; }

.quiz__footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.quiz__hint { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; }

/* result */
.quiz__result { display: grid; gap: clamp(24px, 3.5vw, 36px); }
.result__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(22px, 4vw, 44px); align-items: center; }
.ring { position: relative; width: clamp(132px, 20vw, 168px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring__track { stroke: rgba(255, 255, 255, .07); }
.ring__value { stroke: var(--ring-color, var(--accent)); stroke-linecap: round; filter: drop-shadow(0 0 8px var(--ring-glow, rgba(111, 212, 127, .55))); transition: stroke-dashoffset 1.1s var(--ease), stroke .3s ease; }
.ring.is-good { --ring-color: var(--accent); --ring-glow: rgba(111, 212, 127, .55); }
.ring.is-average { --ring-color: var(--gold); --ring-glow: rgba(217, 180, 92, .55); }
.ring.is-bad { --ring-color: var(--danger); --ring-glow: rgba(229, 100, 90, .55); }
.ring__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
.ring__pct { color: var(--ring-color, var(--ink)); font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ring__pct small { font-size: .45em; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.ring__label { margin-top: 5px; color: var(--ink-3); font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.result__verdict .eyebrow { margin-bottom: 8px; }
.result__title { font-size: clamp(1.4rem, 3.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.result__text { margin-top: 10px; color: var(--ink-2); max-width: 52ch; font-size: 14.5px; }
.result__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.result__stat { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; }
.result__stat b { color: var(--ink); font-weight: 600; }

.result__review-title { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.review { display: grid; }
.review__item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review__mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; margin-top: 2px; }
.review__item.is-ok .review__mark { background: rgba(111, 212, 127, .15); color: var(--accent); border: 1px solid rgba(111, 212, 127, .45); }
.review__item.is-bad .review__mark { background: rgba(229, 100, 90, .13); color: var(--danger); border: 1px solid rgba(229, 100, 90, .45); }
.review__q { font-size: 14.5px; font-weight: 600; }
.review__answer { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.review__answer b { color: var(--ink); font-weight: 600; }
.review__answer.is-bad b { color: var(--danger); }
.review__answer.is-ok b { color: var(--accent); }
.review__correct { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.review__correct b { color: var(--accent); font-weight: 600; }
.review__note { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); font-style: italic; }

.result__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: #050806; padding: clamp(34px, 5vw, 56px) 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr auto; gap: 26px 40px; align-items: start; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__title { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.footer__sub { color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.footer__license { color: var(--ink-3); font-size: 11.5px; line-height: 1.7; max-width: 46ch; }
.footer__license a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.footer__license a:hover { color: var(--accent); }
.footer__motto { color: var(--accent); font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }

/* ============================================================
   Motion
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 4%, 0) scale(1.08); } }
@keyframes bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s var(--ease), transform .72s var(--ease); transition-delay: var(--d, 0ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-reveal="3d"] { transform: perspective(900px) rotateX(8deg) translateY(30px); }
html.js .reveal[data-reveal="3d"].is-visible { transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .hero__grid-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "actions"; }
  .hero__copy, .hero__actions { max-width: 640px; }
  .hero__stage { width: 100%; max-width: 520px; justify-self: center; }
  .stage { margin-inline: auto; }
  .hero__title { font-size: clamp(3rem, 12vw, 6rem); }
  .chronicle, .power, .legacy { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legacy__outro { grid-column: auto; }
  .catastrophe { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__motto { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 > :last-child:nth-child(3) { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tree__branches { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 30px; }
  .tree__root { margin-bottom: 26px; }
  .tree__root::after { display: none; }
  .tree__branches::before { display: none; }
  .tree__trunk { display: none; }
  .tree__branch { padding-left: 0; }
  .result__top { grid-template-columns: minmax(0, 1fr); }
  .ring { width: 140px; justify-self: center; }
  .quiz__options { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__title { font-size: clamp(2.9rem, 15vw, 4.6rem); }
  .stage { border-radius: 18px; }
  .stage__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stage__skip { display: none; }
  .scroll-cue { display: none; }
  .section { padding: 72px 0; }
  .section-head { gap: 14px; }
  .section-head h2 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .grid--3, .duties { grid-template-columns: minmax(0, 1fr); }
  .duties { gap: 0; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .timeline__date { padding-top: 0; }
  .legacy__row { grid-template-columns: 110px 20px minmax(0, 1fr); gap: 8px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > div { padding: 14px 18px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .quiz { padding: 20px 18px; border-radius: 18px; }
  .quiz__footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .quiz__footer .btn { width: 100%; }
  .quiz__best { font-size: 10px; }
  .result__actions .btn { width: 100%; }
  .finale__line { font-size: clamp(1.7rem, 10vw, 3rem); }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__title, .hero__sub, .hero__chips, .hero__actions, .hero__eyebrow, .hero__stage { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .stage__silhouette { animation: none; }
  .scroll-cue__line { animation: none; }
}
