/* ============================================================
   OCOA — The Fixed Point (light institutional system)
   Paper-white ground, navy ink, one signature green used with
   precision. Two deliberate dark moments: the ledger vault and
   the footer. Built to be trusted by a professional investor.
   ============================================================ */

:root {
  /* light ground */
  --paper: #f7f9fb;
  --paper-2: #eef2f6;
  --card: #ffffff;
  --ink: #0e1c33;
  --ink-2: #2e3d59;
  --slate: #55657f;
  --slate-faint: #93a2b8;
  --hairline: rgba(14, 28, 51, 0.1);
  --hairline-strong: rgba(14, 28, 51, 0.18);

  /* brand green: mint for graphics, deep green for text on light */
  --mint: #57e39a;
  --mint-text: #0e9c62;
  --mint-soft: rgba(87, 227, 154, 0.16);
  --mint-line: rgba(87, 227, 154, 0.55);

  /* dark band (ledger vault + footer) */
  --navy-950: #050b14;
  --navy-900: #081120;
  --navy-800: #0a1424;
  --navy-glass: rgba(13, 24, 43, 0.55);
  --d-ink: #e8edf4;
  --d-silver: #c9d1dc;
  --d-silver-dim: #8b95a5;

  --red: #c0483f;
  --red-soft: rgba(192, 72, 63, 0.08);
  --paper-ink: #0c1526;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --shadow-card: 0 1px 2px rgba(14, 28, 51, 0.05), 0 12px 32px -12px rgba(14, 28, 51, 0.14);
  --shadow-card-hover: 0 2px 4px rgba(14, 28, 51, 0.06), 0 24px 48px -16px rgba(14, 28, 51, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: #b8c4d4 var(--paper);
}

body {
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.cursor-on,
body.cursor-on a,
body.cursor-on button,
body.cursor-on input { cursor: none; }

::selection { background: var(--mint); color: var(--navy-950); }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ============ TYPE ============ */

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--mint-text);
  margin-bottom: 1.4rem;
}

.display {
  font-family: var(--font-serif);
  font-weight: 380;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 21ch;
  margin-bottom: 1.6rem;
}
.display-xl {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  max-width: none;
}

.display .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.display .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: var(--wd, 0s);
}
.display.words-in .w > span { transform: translateY(0); }

.section-sub {
  max-width: 56ch;
  color: var(--slate);
  margin-bottom: 3.5rem;
}

/* ============ REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.75em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s, color 0.35s, background-color 0.35s;
  will-change: transform;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(14, 28, 51, 0.45);
}
.btn-primary:hover {
  background: #16294a;
  box-shadow: 0 14px 34px -10px rgba(14, 28, 51, 0.5), 0 0 0 3px var(--mint-soft);
}
.btn-ghost {
  border-color: var(--hairline-strong);
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { border-color: var(--mint-text); color: var(--mint-text); }
.btn-danger {
  border-color: var(--red);
  color: var(--red);
}
.btn-danger:hover { background: var(--red-soft); box-shadow: 0 4px 20px rgba(192, 72, 63, 0.2); }
.btn-sm { padding: 0.65em 1.3em; font-size: 0.85rem; }
.btn-lg { padding: 1.15em 2.4em; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateY(3px); }

/* dark-band button variants */
.ledger .btn-ghost { background: transparent; color: var(--d-silver); border-color: #3a465c; }
.ledger .btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.ledger .btn-danger { border-color: #e05d5d; color: #e05d5d; }
.ledger .btn-danger:hover { background: rgba(224, 93, 93, 0.12); }

/* ============ BOOT ============ */

#boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { width: min(420px, 80vw); }
.boot-lines {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--slate);
  min-height: 7.2em;
  letter-spacing: 0.06em;
}
.boot-lines .bl { display: block; opacity: 0; animation: bl-in 0.3s forwards; }
.boot-lines .bl b { color: var(--mint-text); font-weight: 500; }
@keyframes bl-in { to { opacity: 1; } }
.boot-bar {
  margin-top: 1.4rem;
  height: 2px;
  background: #dde5ee;
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  transition: width 0.28s ease;
}

/* ============ SEAM PROGRESS ============ */

.seam-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 8000;
  pointer-events: none;
}
.seam-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--mint-text), var(--mint));
  box-shadow: 0 0 8px rgba(87, 227, 154, 0.55);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============ CURSOR ============ */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9500;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--mint-text);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(14, 28, 51, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
    border-color 0.3s, background-color 0.3s;
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: var(--mint-text);
  background: rgba(87, 227, 154, 0.1);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease,
    border-color 0.5s ease, box-shadow 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 249, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 24px -18px rgba(14, 28, 51, 0.25);
  padding-block: 0.7rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}
.nav-mark {
  width: 38px; height: 38px;
  object-fit: contain;
  background: var(--navy-800);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(14, 28, 51, 0.3);
}
.nav-word {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: var(--ink);
}
.nav-word sup { font-size: 0.5em; letter-spacing: 0; color: var(--slate-faint); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.04em;
  transition: color 0.3s;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(247, 249, 251, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--ink);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 38%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.97) 0%, rgba(247, 249, 251, 0.88) 26%, rgba(247, 249, 251, 0.42) 52%, rgba(247, 249, 251, 0) 72%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.5) 0%, rgba(247, 249, 251, 0) 22%, rgba(247, 249, 251, 0) 72%, var(--paper) 100%);
}
.hero-grain { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding-left: clamp(1.25rem, 7vw, 7.5rem);
  padding-right: 1.25rem;
  padding-top: 4rem;
}
.overline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--mint-text);
  margin-bottom: 1.8rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.hero-title em { font-style: normal; color: var(--mint-text); }
.ht-line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.ht-line > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.1s var(--ease-out);
}
.hero.loaded .ht-line > span { transform: translateY(0); }
.hero.loaded .ht-line:nth-child(2) > span { transition-delay: 0.09s; }
.hero.loaded .ht-line:nth-child(3) > span { transition-delay: 0.18s; }

.hero-sub {
  max-width: 46ch;
  color: var(--ink-2);
  margin-bottom: 2.6rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out) 0.45s, transform 1s var(--ease-out) 0.45s;
}
.hero.loaded .hero-sub { opacity: 1; transform: none; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out) 0.6s, transform 1s var(--ease-out) 0.6s;
}
.hero.loaded .hero-ctas { opacity: 1; transform: none; }

/* chips */
.hero-chips {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 6vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-end;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px -8px rgba(14, 28, 51, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.65em 1.1em;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.7em;
  opacity: 0;
  animation: chip-in 1s var(--ease-out) forwards, chip-float 7s ease-in-out infinite;
}
.hero.loaded .chip:nth-child(1) { animation-delay: 0.9s, 1.9s; }
.hero.loaded .chip:nth-child(2) { animation-delay: 1.05s, 2.4s; }
.hero.loaded .chip:nth-child(3) { animation-delay: 1.2s, 1.6s; }
.hero.loaded .chip:nth-child(4) { animation-delay: 1.35s, 2.9s; }
.chip i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint-text);
  box-shadow: 0 0 6px rgba(14, 156, 98, 0.7);
}
@keyframes chip-in { to { opacity: 1; } }
@keyframes chip-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.hero-scrollcue {
  position: absolute;
  z-index: 2;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
}
.cue-line {
  display: block;
  width: 1.5px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--mint-text));
  animation: cue 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(24px); opacity: 0; }
}

/* ============ TICKER ============ */

.ticker {
  border-block: 1px solid var(--hairline);
  background: var(--card);
  overflow: hidden;
  padding-block: 0.95rem;
  position: relative;
  z-index: 3;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll var(--ticker-dur, 46s) linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; align-items: center; white-space: nowrap; }
.ticker-set span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  padding-inline: 1.6rem;
}
.ticker-set i {
  font-style: normal;
  color: var(--mint-text);
  font-size: 0.6rem;
}
@keyframes ticker-scroll {
  to { transform: translateX(calc(-1 * var(--ticker-w, 50%))); }
}

/* ============ SECTIONS ============ */

.section { padding-block: clamp(6rem, 11vw, 9.5rem); position: relative; }

/* ============ EVIDENCE ============ */

.evidence { background: var(--paper); }
.evidence-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}
.evidence-copy p { margin-bottom: 1.3rem; color: var(--slate); }
.evidence-copy p b { color: var(--ink); font-weight: 500; }
.evidence-points {
  list-style: none;
  margin-top: 2.2rem;
  display: grid;
  gap: 1rem;
}
.evidence-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--slate);
  font-size: 0.98rem;
}
.evidence-points li b { color: var(--ink); font-weight: 500; }
.evidence-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--mint-text);
}

/* the printout */
.sheet-stage { perspective: 1400px; position: relative; }
.sheet {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #fdfdfd 55%, #f2f4f7 100%);
  color: var(--paper-ink);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow:
    0 2px 4px rgba(14, 28, 51, 0.05),
    0 30px 60px -22px rgba(14, 28, 51, 0.28);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.4s ease;
  will-change: transform;
}
.sheet-glare {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: radial-gradient(
    600px circle at var(--gx, 50%) var(--gy, 20%),
    rgba(255, 255, 255, 0.9), transparent 45%
  );
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.sheet-stamp {
  position: absolute;
  top: 13.5%;
  right: 4.5%;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.42em;
  color: rgba(190, 54, 54, 0.55);
  border: 3px double rgba(190, 54, 54, 0.45);
  padding: 0.4em 0.8em 0.4em 1.1em;
  transform: rotate(-11deg);
  border-radius: 3px;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 2px solid var(--paper-ink);
  margin-bottom: 0.4rem;
}
.sh-doc {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #5c6a80;
  margin-bottom: 0.7rem;
}
.sh-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  color: var(--paper-ink);
}
.sh-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: #5c6a80;
  margin-top: 0.55rem;
  max-width: 30ch;
}
.sh-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0.25) saturate(0.6);
  opacity: 0.85;
  flex-shrink: 0;
}
.sheet-rows { padding-block: 0.6rem; }
.s-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.72rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 4px;
  transition: background-color 0.25s;
}
.s-row:hover { background: var(--mint-soft); }
.s-row + .s-row { border-top: 1px solid rgba(12, 21, 38, 0.09); }
.s-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3c4a61;
}
.s-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(12, 21, 38, 0.35);
  transform: translateY(-0.25em);
}
.s-val {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--paper-ink);
  font-variant-numeric: tabular-nums;
}
.sheet-foot {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(12, 21, 38, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sheet-foot p {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: #5c6a80;
}
.sf-hash { color: var(--mint-text) !important; }

.sheet-tip {
  position: fixed;
  z-index: 5000;
  max-width: 270px;
  background: var(--navy-800);
  border: 1px solid rgba(139, 149, 165, 0.25);
  border-left: 2px solid var(--mint);
  color: var(--d-silver);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 0.8em 1em;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(14, 28, 51, 0.35);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.sheet-tip.show { opacity: 1; transform: none; }

/* ============ DOORS ============ */

.doors { background: var(--paper-2); }
.door-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.6s var(--ease-out), border-color 0.6s, box-shadow 0.6s;
}
.door:hover {
  transform: translateY(-8px);
  border-color: var(--mint-line);
  box-shadow: var(--shadow-card-hover), 0 0 0 3px var(--mint-soft);
}
.door[data-href] { cursor: pointer; }
.door[data-href]:focus-visible {
  outline: none;
  border-color: var(--mint-text);
  box-shadow: var(--shadow-card-hover), 0 0 0 3px var(--mint-soft);
}
.door-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}
.door-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 1.6s var(--ease-out), filter 1.6s var(--ease-out);
  filter: saturate(0.96);
}
.door:hover .door-media img { transform: scale(1.0); filter: saturate(1.05); }
.door-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 28, 51, 0.08) 0%, transparent 30%, rgba(255, 255, 255, 0) 66%, rgba(255, 255, 255, 0.95) 97%);
}
.door-index {
  position: absolute;
  top: 1.1rem;
  left: 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.45em 0.9em 0.45em 1.1em;
  border-radius: 4px;
  box-shadow: 0 4px 14px -4px rgba(14, 28, 51, 0.3);
}
.door-index::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.35rem;
  background: var(--mint);
}
.door-body {
  padding: 1.4rem 1.7rem 1.9rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.door-body .door-cta { margin-top: auto; }
.door-body .door-ctas {
  margin-top: auto;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.door-body .door-ctas .door-cta { margin-top: 0; }
.door-cta-alt { color: var(--mint-text); border-color: rgba(14, 156, 98, 0.35); }
.door-body h3 {
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: 1.65rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.door-aud {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mint-text);
  margin-bottom: 1.1rem;
}
.door-copy { font-size: 0.95rem; color: var(--slate); margin-bottom: 1.3rem; }
.door-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
  width: 100%;
}
.door-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.85rem;
  color: var(--slate);
}
.door-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint-text);
  font-size: 0.8rem;
  font-weight: 600;
}
.door-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 0.35em;
  border-bottom: 1.5px solid var(--hairline-strong);
  transition: color 0.3s, border-color 0.3s;
}
.door-cta span { transition: transform 0.35s var(--ease-out); }
.door-cta:hover { color: var(--mint-text); border-color: var(--mint-text); }
.door-cta:hover span { transform: translateX(5px); }

/* ============ LEDGER — the dark vault ============ */

.ledger {
  overflow: hidden;
  background: var(--navy-950);
}
.ledger-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.ledger-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-950) 4%, rgba(5, 11, 20, 0.72) 45%, rgba(5, 11, 20, 0.78) 60%, var(--navy-950) 96%);
}
.ledger-bg img { width: 100%; height: 100%; object-fit: cover; }
.ledger .container { position: relative; z-index: 2; }

.ledger .kicker { color: var(--mint); }
.ledger .display { color: var(--d-ink); }
.ledger .section-sub { color: var(--d-silver-dim); }

.chain-stage { margin-top: 2.4rem; }
.chain-status {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mint);
  border: 1px solid var(--mint-line);
  background: rgba(87, 227, 154, 0.06);
  padding: 0.7em 1.2em;
  border-radius: 4px;
  margin-bottom: 2rem;
  transition: color 0.4s, border-color 0.4s, background-color 0.4s;
}
.cs-lamp {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: lamp 2.4s ease-in-out infinite;
}
@keyframes lamp { 50% { opacity: 0.45; } }
.chain-status.broken {
  color: #e05d5d;
  border-color: rgba(224, 93, 93, 0.6);
  background: rgba(224, 93, 93, 0.07);
}
.chain-status.broken .cs-lamp {
  background: #e05d5d;
  box-shadow: 0 0 10px #e05d5d;
  animation-duration: 0.5s;
}

.chain {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 1.2rem;
  scrollbar-width: thin;
}
.block {
  flex: 0 0 auto;
  width: 196px;
  background: var(--navy-glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 149, 165, 0.2);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
    border-color 0.4s, box-shadow 0.4s;
}
.chain.armed .block { opacity: 1; transform: none; }
.block.broken {
  border-color: rgba(224, 93, 93, 0.65);
  box-shadow: 0 0 30px rgba(224, 93, 93, 0.14);
  animation: block-shake 0.4s ease;
}
@keyframes block-shake {
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
.b-idx {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--d-silver-dim);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
}
.b-idx .b-flag { color: var(--mint); }
.block.broken .b-idx .b-flag { color: #e05d5d; }
.b-event {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--d-ink);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  min-height: 2.4em;
}
.b-payload {
  font-size: 0.62rem;
  color: var(--d-silver-dim);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  min-height: 2.8em;
}
.b-hash, .b-prev {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(139, 149, 165, 0.2);
  display: flex;
  gap: 0.6em;
  white-space: nowrap;
}
.b-hash b, .b-prev b { font-weight: 400; color: var(--d-silver-dim); }
.b-hash span { color: var(--mint); }
.block.broken .b-hash span { color: #e05d5d; }
.b-prev span { color: #6f7a8d; }
.block.broken .b-prev span.mismatch { color: #e05d5d; text-decoration: line-through; }

.link {
  flex: 0 0 auto;
  width: 31px;
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.chain.armed .link { opacity: 1; }
.link::before {
  content: "";
  width: 100%;
  height: 1.5px;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(87, 227, 154, 0.6);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.link::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #baf7d8;
  box-shadow: 0 0 6px var(--mint);
  animation: pulse-travel 2.6s linear infinite;
  animation-delay: var(--pd, 0s);
}
@keyframes pulse-travel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
.link.broken::before {
  background: repeating-linear-gradient(90deg, #e05d5d 0 5px, transparent 5px 10px);
  box-shadow: none;
}
.link.broken::after { display: none; }

.chain-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.chain-note {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #6f7a8d;
}

/* ============ WALK — inside-page teaser ============ */

/* Full-bleed evening-asset statement band — a visual anchor between the ledger
   and the gate. Edge-to-edge (not a card), so it reads as a moment, not a tile. */
.statement {
  position: relative;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-900);
}
.statement-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.04);
}
.statement-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 11, 20, 0.9) 0%, rgba(5, 11, 20, 0.5) 26%, rgba(5, 11, 20, 0.08) 52%, transparent 74%),
    linear-gradient(90deg, rgba(5, 11, 20, 0.6) 0%, rgba(5, 11, 20, 0.15) 40%, transparent 66%);
}
.statement-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.6rem, 7vh, 5.5rem);
}
.statement .kicker { color: var(--mint); margin-bottom: 1rem; }
.statement .display {
  color: #fff;
  max-width: 26ch;
  margin-bottom: 0;
  text-shadow: 0 2px 34px rgba(5, 11, 20, 0.55);
}

/* ============ GATE ============ */

.gate { background: var(--paper); }
.gate-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin-top: 2.6rem;
}
.gate-copy p { color: var(--slate); margin-bottom: 2.2rem; max-width: 46ch; }

.gates-list { list-style: none; }
.gates-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--slate);
  font-size: 0.97rem;
  transition: color 0.5s;
}
.gates-list li.stamped { color: var(--ink); }
.g-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 1.5px solid var(--hairline-strong);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.g-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-950);
  opacity: 0;
  transform: scale(1.8);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
li.stamped .g-check {
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 2px 12px rgba(87, 227, 154, 0.5);
}
li.stamped .g-check::after { opacity: 1; transform: scale(1); }

.gate-toy {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.gt-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--slate);
  margin-bottom: 1.8rem;
}
.gt-readouts {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.gt-read { display: grid; gap: 0.35rem; }
.gtr-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-faint);
}
.gtr-val {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.gtr-val.dim { color: var(--slate); }

#noiSlider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 26px;
  background: transparent;
  margin-bottom: 1.6rem;
}
#noiSlider::-webkit-slider-runnable-track {
  height: 3px;
  background: #d8dfe8;
  border-radius: 2px;
}
#noiSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--mint-text);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(14, 28, 51, 0.35);
  margin-top: -7.5px;
  transition: transform 0.2s;
}
#noiSlider::-webkit-slider-thumb:hover { transform: scale(1.2); }
#noiSlider::-moz-range-track {
  height: 3px;
  background: #d8dfe8;
  border-radius: 2px;
}
#noiSlider::-moz-range-thumb {
  width: 18px; height: 18px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--mint-text);
  box-shadow: 0 2px 10px rgba(14, 28, 51, 0.35);
}

.gt-meter { margin-bottom: 1.8rem; }
.gtm-track {
  position: relative;
  height: 10px;
  background: rgba(14, 28, 51, 0.08);
  border-radius: 6px;
}
.gtm-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 53%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(14, 156, 98, 0.45), var(--mint-text));
  transition: width 0.2s ease-out, background 0.3s, box-shadow 0.3s;
}
.gtm-fill.under {
  background: linear-gradient(90deg, rgba(192, 72, 63, 0.4), var(--red));
}
.gtm-floor {
  position: absolute;
  left: var(--floor-pos, 48.4%);
  top: -8px;
  bottom: -8px;
  width: 2px;
  background: var(--ink);
  z-index: 2;
}
.gtm-floor b {
  position: absolute;
  top: -1.7em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  white-space: nowrap;
}
.gt-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.gt-dscr {
  font-family: var(--font-serif);
  font-weight: 420;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gt-stamp {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  padding: 0.75em 1.3em;
  border-radius: 4px;
  border: 2px solid;
  animation: stamp-in 0.35s var(--ease-out);
}
.gt-stamp.pass {
  color: var(--mint-text);
  border-color: var(--mint-text);
  background: var(--mint-soft);
}
.gt-stamp.fail {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-soft);
}
@keyframes stamp-in {
  0% { transform: scale(1.5) rotate(-4deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ============ PROOF ============ */

.proof {
  border-block: 1px solid var(--hairline);
  background: var(--card);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.proof-item {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.6rem;
  border-left: 2px solid var(--hairline);
}
.p-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.p-suffix { color: var(--mint-text); }
.p-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.7;
  max-width: 24ch;
}

/* ============ THE END STATE ============ */

.vision { background: var(--paper); }

.feed {
  display: grid;
  grid-template-columns: 5fr auto 4fr;
  gap: 1.4rem;
  align-items: stretch;
  margin-bottom: 1.2rem;
}
.feed-col {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.feed-head {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--slate);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.feed-head i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint-text);
  box-shadow: 0 0 6px rgba(14, 156, 98, 0.6);
  animation: lamp 2.4s ease-in-out infinite;
}
.feed-events { display: grid; gap: 0.55rem; align-content: start; flex: 1; }
.feed-ev {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  padding: 0.55em 0.8em;
  background: var(--mint-soft);
  border-left: 2px solid var(--mint-text);
  border-radius: 3px;
  animation: ev-in 0.5s var(--ease-out);
}
.feed-ev.fading { opacity: 0.45; }
.feed-ev .ev-hash { margin-left: auto; color: var(--mint-text); font-size: 0.62rem; letter-spacing: 0.05em; }
@keyframes ev-in {
  from { opacity: 0; transform: translateY(-8px); }
}
.feed-join {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fj-arrow {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--mint-text);
  animation: lamp 2.4s ease-in-out infinite;
}
.feed-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.2rem;
}
.feed-num .fn-delta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  vertical-align: super;
  margin-left: 0.5em;
  letter-spacing: 0.05em;
}
.feed-num .fn-delta.up { color: var(--mint-text); }
.feed-num .fn-delta.down { color: var(--red); }
.feed-spark { width: 100%; height: 64px; margin-top: auto; }
.feed-spark path.sp-line {
  fill: none;
  stroke: var(--mint-text);
  stroke-width: 1.8;
}
.feed-spark path.sp-fill {
  fill: url(#sparkFill);
  stroke: none;
  opacity: 0.6;
}
.feed-note {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--slate-faint);
  margin-bottom: 3.4rem;
  max-width: 74ch;
}

.vision-line {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
}
.v-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--slate);
}
.v-rail {
  position: relative;
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--hairline-strong), var(--mint-text));
}
.v-dot {
  position: absolute;
  left: var(--p);
  top: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--slate-faint);
}
.v-dot-end {
  background: var(--mint-text);
  box-shadow: 0 0 10px rgba(14, 156, 98, 0.6);
  animation: lamp 3s ease-in-out infinite;
}
.vision-copy {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--ink-2);
  max-width: 52ch;
}

/* ============ BOOK ============ */

.book {
  text-align: center;
  overflow: hidden;
  padding-block: clamp(8rem, 14vw, 12rem);
  background: var(--paper-2);
}
.book-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(87, 227, 154, 0.16) 0%, rgba(87, 227, 154, 0.05) 38%, transparent 65%);
  animation: halo-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-breathe {
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.75; }
}
.book .container { position: relative; z-index: 2; }
.book .display-xl { margin-inline: auto; }
.book-sub {
  color: var(--slate);
  max-width: 44ch;
  margin: 0 auto 2.8rem;
}
.book-cta { margin-bottom: 3.2rem; }
.book-fine {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  line-height: 2;
  color: var(--slate-faint);
}

/* ============ FOOTER — navy bookend ============ */

.footer {
  border-top: 1px solid transparent;
  padding-block: 4rem 2.5rem;
  background: var(--navy-950);
  color: var(--d-silver-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
}
.f-mark { width: 44px; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(87, 227, 154, 0.3)); }
.f-word {
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--d-ink);
  margin-bottom: 0.8rem;
}
.f-word sup { font-size: 0.5em; color: var(--d-silver-dim); }
.f-tag {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--d-silver-dim);
  line-height: 1.5;
}
.f-head {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.2rem;
}
.f-col { font-size: 0.9rem; color: var(--d-silver-dim); }
.f-col a {
  display: block;
  padding-block: 0.28rem;
  color: var(--d-silver-dim);
  transition: color 0.3s;
}
.f-col a:hover { color: var(--mint); }
.f-col p { margin-bottom: 0.8rem; }
.f-hash {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #4d7a63;
  word-break: break-all;
  line-height: 1.8;
}
.f-copy {
  font-size: 0.75rem;
  color: rgba(139, 149, 165, 0.55);
  margin-top: 1.4rem;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1180px) {
  .hero-chips { display: none; }
}
@media (max-width: 1000px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .gate-grid { grid-template-columns: 1fr; }
  .sheet-stage { max-width: 560px; }
  .feed { grid-template-columns: 1fr; }
  .feed-join { transform: rotate(90deg); padding-block: 0.2rem; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  /* vertical scrim: image breathes at the top, text sits on clean paper */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.12) 0%, rgba(247, 249, 251, 0.55) 26%, rgba(247, 249, 251, 0.94) 42%, var(--paper) 58%);
  }
  .hero-video { object-position: center top; }
  .hero-content { padding-top: 38svh; }
  .door-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-content { padding-top: 5.5rem; }
  .gt-verdict { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ============ STATIC QA MODE (?static=1) ============ */

html.static { scroll-behavior: auto !important; }
html.static .hero { min-height: 0; height: 940px; }
html.static *, html.static *::before, html.static *::after {
  transition: none !important;
  animation: none !important;
}
html.static #boot { display: none; }
html.static .cursor-dot, html.static .cursor-ring { display: none; }
html.static .reveal,
html.static .hero-sub,
html.static .hero-ctas,
html.static .chip { opacity: 1 !important; transform: none !important; }
html.static .ht-line > span,
html.static .display .w > span { transform: none !important; }
html.static .block, html.static .link { opacity: 1 !important; transform: none !important; }

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .hero-sub, .hero-ctas, .chip { opacity: 1 !important; transform: none !important; }
  .ht-line > span, .display .w > span { transform: none !important; }
  .ticker-track { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
