/* ════════════════════════════════════════════════════════════════
   VERIDOM — Evidence Infrastructure for Regulated Industries
   Design language: archival hallmark. Warm near-black, aged gold,
   institutional green for verified states only. Never blue.
   ════════════════════════════════════════════════════════════════ */

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

:root {
  --ink:        #08090B;
  --deep:       #0E1015;
  --surface:    #141720;
  --card:       #1A1E28;
  --border:     #262C3A;
  --rail:       #323A4E;

  --gold:       #B8892A;
  --gold-lt:    #D4A84B;
  --gold-dim:   #7A5A1A;
  --parchment:  #F5EED8;
  --cream:      #FAF6EC;

  --green:      #3D9E6A;
  --green-deep: #2A6B47;

  --white:      #F0EDE6;
  --silver:     #9A9285;
  --muted:      #5C5650;
  --warm:       #CDC5B8;

  --red:        #C0392B;
  --red-deep:   #8B2020;

  --serif:  'Playfair Display', Georgia, serif;
  --body:   'Lora', Georgia, serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;
  --sans:   'Jost', system-ui, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(184, 137, 42, 0.35); color: var(--cream); }

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

.container { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(90px, 12vw, 170px) 0; position: relative; }

/* ─────────────────────────── PRELOADER ─────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hex-path { stroke-dasharray: 222; stroke-dashoffset: 222; }
.hex-inner { opacity: 0; }
.hex-v { stroke-dasharray: 64; stroke-dashoffset: 64; opacity: 0; }
.hex-bar, .hex-dot, .hex-corner { opacity: 0; }
.preloader-line {
  display: flex; gap: 24px; align-items: baseline;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em;
  color: var(--silver); text-transform: uppercase;
}
.preloader-count { color: var(--gold); min-width: 3ch; text-align: right; letter-spacing: 0.15em; }

/* ─────────────────────────── NAV ─────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 36px;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.nav.hidden { transform: translateY(-110%); }
body.menu-open .nav { z-index: 1200; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-wordmark {
  font-family: var(--serif); font-weight: 700; letter-spacing: 0.14em;
  font-size: 16px; color: var(--cream); line-height: 1.1; display: block;
}
.nav-tag {
  font-family: var(--mono); font-size: 7px; letter-spacing: 0.28em;
  color: var(--gold); font-weight: 400; margin-top: 3px; display: block;
}
.nav-links a[aria-current="page"] { color: var(--gold-lt); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--silver);
  position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-lt); border: 1px solid rgba(184, 137, 42, 0.45);
  padding: 10px 20px; border-radius: 2px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 8px; margin-left: auto; z-index: 1102; }
.nav-burger span { width: 26px; height: 1.5px; background: var(--cream); transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(8, 9, 11, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); font-weight: 500;
  color: var(--warm); padding: 8px 0; border-bottom: 1px solid var(--border);
  transform: translateY(24px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s, color 0.3s;
}
.mobile-menu.open nav a { transform: translateY(0); opacity: 1; }
.mobile-menu nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu nav a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu nav a:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu nav a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu nav a:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu nav a:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu nav a:nth-child(7) { transition-delay: 0.30s; }
.mobile-menu nav a:hover { color: var(--gold-lt); }
.mobile-menu .mobile-cta { color: var(--gold-lt); border-bottom: none; }
.mobile-menu-foot {
  position: absolute; bottom: 32px; left: var(--pad);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--muted);
}

/* ─────────────────────────── BUTTONS ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.3s var(--ease);
  cursor: pointer;
}
.btn-arrow { transition: transform 0.35s var(--ease); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-solid { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-solid::before {
  content: ''; position: absolute; inset: 0; background: var(--gold-lt);
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn-solid:hover::before { transform: translateY(0); }
.btn-solid > * , .btn-solid { z-index: 1; }
.btn-solid span, .btn-solid { position: relative; }
.btn-ghost { border: 1px solid var(--rail); color: var(--warm); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-danger { border: 1px solid rgba(192, 57, 43, 0.5); color: #D98A80; }
.btn-danger:hover { background: rgba(139, 32, 32, 0.18); border-color: var(--red); }
.btn-sm { padding: 12px 20px; font-size: 10.5px; }
.btn-lg { padding: 20px 38px; font-size: 12.5px; }

/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px var(--pad) 90px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 30%, rgba(8,9,11,0.55) 75%, var(--ink) 100%),
    linear-gradient(to bottom, rgba(8,9,11,0.55), transparent 22%, transparent 70%, var(--ink) 100%);
}
/* live decision stream card */
.hero-live {
  position: absolute; right: clamp(24px, 5vw, 88px); top: 50%;
  transform: translateY(-54%);
  width: 372px; z-index: 2; pointer-events: none;
}
.hl-stack {
  position: absolute; left: 0; right: 0; top: 0; height: 100%;
  border: 1px solid var(--border); border-radius: 7px;
  background: rgba(14, 16, 21, 0.5);
}
.hl-stack-1 { transform: translateY(15px) scale(0.965); opacity: 0.55; }
.hl-stack-2 { transform: translateY(29px) scale(0.93); opacity: 0.3; }
.hl-card {
  position: relative;
  background: rgba(14, 16, 21, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rail); border-radius: 7px; overflow: hidden;
  box-shadow: 0 44px 88px -38px rgba(0, 0, 0, 0.9);
}
.hl-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  background: rgba(26, 30, 40, 0.6);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.24em; color: var(--silver);
}
.hl-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); animation: hl-pulse 1.9s ease-in-out infinite;
}
@keyframes hl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 158, 106, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(61, 158, 106, 0); }
}
.hl-id { margin-left: auto; color: var(--gold-lt); letter-spacing: 0.08em; }
.hl-row {
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 10.5px 18px; border-bottom: 1px solid rgba(38, 44, 58, 0.55);
  font-size: 12.5px; min-height: 41px;
}
.hl-row span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); flex-shrink: 0; }
.hl-row strong { font-family: var(--sans); font-weight: 300; color: var(--warm); text-align: right; }
.hl-chip {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  padding: 4px 10px; border-radius: 2px; border: 1px solid;
}
.hl-autonomous { color: var(--green); border-color: rgba(61, 158, 106, 0.5); background: rgba(42, 107, 71, 0.12); }
.hl-assisted { color: var(--gold-lt); border-color: rgba(212, 168, 75, 0.5); background: rgba(184, 137, 42, 0.1); }
.hl-escalated { color: #E08478; border-color: rgba(192, 57, 43, 0.55); background: rgba(139, 32, 32, 0.14); }
.hl-hash { font-family: var(--mono) !important; font-size: 10.5px; color: var(--gold-lt) !important; letter-spacing: 0.03em; min-width: 168px; }
.hl-foot { display: flex; gap: 7px; align-items: center; padding: 12px 18px; }
.hl-stamp {
  font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; color: var(--silver);
  border: 1px solid var(--border); border-radius: 2px; padding: 4px 7px; background: var(--card);
}
.hl-sealed {
  margin-left: auto;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--green);
  border: 1px solid rgba(61, 158, 106, 0.45); background: rgba(42, 107, 71, 0.12);
  padding: 5px 10px; border-radius: 2px;
}
@media (max-width: 1180px) { .hero-live { display: none; } }

.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-family: var(--mono); font-size: clamp(8.5px, 1.1vw, 10.5px);
  letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3.5vw, 44px);
}
.eyebrow-rule { width: 44px; height: 1px; background: var(--gold); opacity: 0.5; flex-shrink: 0; }
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(56px, 11.5vw, 158px);
  line-height: 0.98; letter-spacing: -0.015em;
  color: var(--cream); margin-bottom: clamp(28px, 3.5vw, 48px);
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ht-word { display: inline-block; will-change: transform; }
.ht-char { display: inline-block; transform-origin: 0% 100%; will-change: transform; }
.ht-gold { color: var(--gold-lt); font-style: italic; font-weight: 600; }
.ht-dot { color: var(--gold); }
.hero-sub {
  font-family: var(--body); font-size: clamp(15.5px, 1.6vw, 19px);
  color: var(--warm); max-width: 620px; line-height: 1.75; margin-bottom: clamp(32px, 4vw, 52px);
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid var(--border);
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  overflow: hidden; padding: 13px 0;
}
.ticker-track {
  display: flex; gap: 56px; white-space: nowrap; width: max-content;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--silver);
  animation: ticker 70s linear infinite;
}
.ticker-track .tk-state-aut { color: var(--green); }
.ticker-track .tk-state-ast { color: var(--gold-lt); }
.ticker-track .tk-state-esc { color: #D98A80; }
.ticker-track .tk-sealed { color: var(--green); }
.ticker-track .tk-dim { color: var(--muted); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-scrollcue {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: 76px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scrollcue-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.35em; color: var(--muted); writing-mode: vertical-rl; }
.scrollcue-line { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scrollcue-line::after {
  content: ''; position: absolute; top: -54px; left: 0; width: 1px; height: 54px;
  background: linear-gradient(transparent, var(--gold-lt));
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { to { transform: translateY(108px); } }

/* ─────────────────────────── HERO PROOF STRIP ─────────────────────────── */
.hero-proof {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: clamp(28px, 3.5vw, 44px);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--silver);
}
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }

/* ─────────────────────────── THE OFFER ─────────────────────────── */
.offer { background: var(--deep); }
.offer-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.offer-rows { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: clamp(28px, 3.5vw, 44px); }
.offer-row {
  display: flex; gap: clamp(18px, 2.5vw, 32px); align-items: flex-start;
  padding: clamp(22px, 2.8vw, 34px) 0; border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease), background 0.4s;
}
.offer-row:hover { padding-left: 16px; background: rgba(20, 23, 32, 0.45); }
.offer-num {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(26px, 2.6vw, 34px); color: var(--gold); line-height: 1; flex-shrink: 0;
  padding-top: 4px;
}
.offer-body h3 { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; color: var(--parchment); margin-bottom: 8px; }
.offer-body p { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.75; margin-bottom: 12px; }
.offer-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.24em; color: var(--gold); }
.offer-cta { margin-top: clamp(24px, 3vw, 36px); }

/* the Proof-Point artifact mockup */
.artifact-mock { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.am-sheet {
  width: min(100%, 430px); border-radius: 4px; position: relative;
}
.am-sheet-back {
  position: absolute; inset: 0; margin: auto; width: min(100%, 430px); height: 96%;
  background: #E8E0C8; transform: rotate(2.4deg) translateY(6px);
  border-radius: 4px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.am-sheet-main {
  background: var(--parchment); color: #1A1610;
  transform: rotate(-1.3deg);
  box-shadow: 0 44px 90px -36px rgba(0, 0, 0, 0.95);
  padding: clamp(24px, 2.6vw, 36px);
  transition: transform 0.6s var(--ease);
}
.artifact-mock:hover .am-sheet-main { transform: rotate(0deg) translateY(-4px); }
.am-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1.5px solid #1A1610; }
.am-title strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.am-title span { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.26em; color: #7A5A1A; }
.am-rows { padding: 14px 0; border-bottom: 1px solid rgba(26, 22, 16, 0.2); }
.am-row {
  display: flex; justify-content: space-between; gap: 14px; padding: 6.5px 0;
  font-size: 12px;
}
.am-row span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: #8A7F6E; padding-top: 2px; }
.am-row strong { font-family: var(--sans); font-weight: 500; color: #1A1610; text-align: right; }
.am-row-ok strong { color: var(--green-deep); }
.am-lines { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; }
.am-lines i { height: 5px; border-radius: 3px; background: rgba(26, 22, 16, 0.12); }
.am-foot {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; color: #8A7F6E;
  border-top: 1.5px solid #1A1610; padding-top: 12px;
}
.am-stamp {
  position: absolute; right: 18px; top: 42%;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--gold-dim);
  border: 2px solid var(--gold-dim); border-radius: 3px; padding: 8px 14px;
  transform: rotate(-14deg); opacity: 0.75;
}
.am-caption { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.26em; color: var(--muted); text-align: center; }

/* ─────────────────────────── BUYERS ─────────────────────────── */
.buyers { background: var(--deep); }
.buyers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.buyer-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(28px, 3.2vw, 46px);
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.buyer-card:hover { transform: translateY(-6px); border-color: rgba(184, 137, 42, 0.45); }
.buyer-kind { font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em; color: var(--gold); display: block; margin-bottom: 16px; }
.buyer-card h3 {
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600; color: var(--parchment); margin-bottom: 20px;
}
.buyer-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.buyer-list li {
  font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.7;
  padding-left: 24px; position: relative;
}
.buyer-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-family: var(--mono); }

/* ─────────────────────────── MANIFESTO ─────────────────────────── */
.manifesto { position: relative; }
.manifesto-pin {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--pad);
}
.manifesto-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold); margin-bottom: 40px;
}
.manifesto-text {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 5.4vw, 64px); line-height: 1.25;
  max-width: 1060px;
}
.manifesto-text .m-dim { display: block; color: var(--warm); margin-bottom: 0.4em; }
.manifesto-text .m-gold { display: block; color: var(--gold-lt); font-style: italic; }
.manifesto-text .m-word { display: inline-block; opacity: 0.1; will-change: opacity; }

/* ─────────────────────────── SECTION HEADS ─────────────────────────── */
.section-eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::after { content: ''; width: 38px; height: 1px; background: var(--gold); opacity: 0.4; }
body.js .section-eyebrow::after {
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) 0.15s;
}
body.js .in-view .section-eyebrow::after { transform: scaleX(1); }
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 1.15;
  color: var(--cream); max-width: 880px; letter-spacing: -0.01em;
}
.section-title em { color: var(--gold-lt); font-style: italic; }
.section-sub {
  font-family: var(--body); color: var(--silver); font-size: clamp(15px, 1.5vw, 17.5px);
  max-width: 680px; margin-top: 24px; line-height: 1.75;
}
.section-sub strong { color: var(--warm); font-weight: 500; }
.section-head { margin-bottom: clamp(48px, 7vw, 90px); }

/* ─────────────────────────── GAP ─────────────────────────── */
.gap { background: var(--ink); }
.gap-rows { border-top: 1px solid var(--border); }
.gap-row {
  display: grid; grid-template-columns: 140px 1fr 1.4fr; gap: clamp(20px, 4vw, 64px);
  align-items: baseline; padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, padding-left 0.4s var(--ease);
  position: relative;
}
.gap-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.gap-row::after {
  content: attr(data-ghost); position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(72px, 9vw, 130px); line-height: 1;
  color: var(--parchment); opacity: 0.04; pointer-events: none;
  transition: opacity 0.5s, color 0.5s;
}
.gap-row:hover { background: rgba(20, 23, 32, 0.5); padding-left: 22px; }
.gap-row:hover::before { transform: scaleY(1); }
.gap-row:hover::after { opacity: 0.09; color: var(--gold-lt); }
.gap-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; color: var(--muted); }
.gap-name { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 30px); font-weight: 600; color: var(--parchment); }
.gap-desc { font-family: var(--body); color: var(--silver); font-size: 15.5px; line-height: 1.7; }
.gap-coda {
  font-family: var(--body); font-size: clamp(16px, 1.8vw, 19.5px);
  color: var(--warm); max-width: 820px; margin-top: clamp(40px, 5vw, 64px); line-height: 1.8;
}
.gap-coda strong { color: var(--cream); font-weight: 500; }

/* ─────────────────────────── MARQUEE ─────────────────────────── */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden; background: var(--deep);
}
.marquee-inner {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(15px, 1.8vw, 21px); letter-spacing: 0.22em;
  color: var(--gold-dim); animation: ticker 38s linear infinite;
}

/* ─────────────────────────── PROTOCOL PIPELINE ─────────────────────────── */
.protocol { background: var(--deep); overflow: hidden; }
.protocol-pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0 36px;
}
.protocol-head { margin-bottom: clamp(28px, 4.5vh, 56px); }
.protocol-head .section-title { font-size: clamp(26px, 3.2vw, 40px); }
.protocol-head .section-sub { margin-top: 14px; }
.pipeline-track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  --track-edge: max(var(--pad), calc((100vw - 1280px) / 2 + var(--pad)));
  padding-left: var(--track-edge); padding-right: var(--track-edge);
  width: max-content;
}
.stage-card {
  width: clamp(300px, 33vw, 420px); flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: clamp(24px, 2.5vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; transition: border-color 0.4s, transform 0.4s var(--ease);
}
.stage-card:hover { border-color: rgba(184, 137, 42, 0.5); transform: translateY(-6px); }
.stage-card-seal { background: linear-gradient(160deg, var(--surface), #181a14); }
.stage-card-seal:hover { border-color: var(--green-deep); }
.stage-meta { display: flex; justify-content: space-between; align-items: center; }
.stage-id {
  font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: var(--gold);
  line-height: 1; font-style: italic;
}
.stage-layer { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.25em; color: var(--muted); }
.stage-name { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); font-weight: 600; color: var(--parchment); }
.stage-desc { font-family: var(--body); font-size: 14px; color: var(--silver); line-height: 1.65; flex: 1; }
.stage-code {
  font-family: var(--mono); font-size: 10.5px; color: var(--gold-lt);
  background: rgba(184, 137, 42, 0.07); border: 1px solid rgba(184, 137, 42, 0.18);
  border-radius: 2px; padding: 9px 13px; letter-spacing: 0.02em;
  overflow-x: auto; white-space: nowrap;
}
.stage-card-seal .stage-code { color: var(--green); background: rgba(42, 107, 71, 0.1); border-color: rgba(42, 107, 71, 0.3); }
.pipeline-progress {
  margin: clamp(24px, 4vh, 48px) max(var(--pad), calc((100vw - 1280px) / 2 + var(--pad))) 0;
  height: 1px; background: var(--border); position: relative;
}
.pipeline-progress-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
}

/* ─────────────────────────── ROUTING CONSOLE ─────────────────────────── */
.routing { background: var(--ink); }
.console {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  background: var(--surface);
}
.console-controls { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; gap: 36px; border-right: 1px solid var(--border); }
.control-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--silver); display: block; margin-bottom: 14px;
}
.control-label span { color: var(--gold-lt); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--gold); pointer-events: none; font-size: 12px;
}
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 3px;
  color: var(--cream); font-family: var(--mono); font-size: 12.5px;
  padding: 14px 40px 14px 16px; cursor: pointer; letter-spacing: 0.03em;
  transition: border-color 0.3s;
}
.select-wrap select:hover, .select-wrap select:focus { border-color: var(--gold-dim); outline: none; }

.slider-zone { position: relative; padding-top: 6px; }
.slider-bands {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(calc(-50% + 3px));
  display: flex; border-radius: 2px; overflow: visible; pointer-events: none;
}
.band { height: 100%; }
.band-esc { background: rgba(192, 57, 43, 0.45); width: 50%; border-radius: 2px 0 0 2px; }
.band-ast { background: rgba(212, 168, 75, 0.5); width: 36%; }
.band-aut { background: rgba(61, 158, 106, 0.55); width: 14%; border-radius: 0 2px 2px 0; }
.theta-mark {
  position: absolute; top: -16px; width: 1px; height: 32px; background: var(--cream);
  left: 86%;
}
.theta-mark span {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; color: var(--cream); font-style: italic;
}
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; background: transparent;
  height: 34px; position: relative; z-index: 2; cursor: ew-resize;
}
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: transparent; }
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); border: 4px solid var(--ink);
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 18px rgba(212, 168, 75, 0.5);
  margin-top: -8.5px; transition: box-shadow 0.3s;
}
input[type="range"]::-moz-range-track { height: 3px; background: transparent; }
input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--cream); border: 3px solid var(--ink);
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 18px rgba(212, 168, 75, 0.5);
}

.control-toggles { display: flex; flex-direction: column; gap: 16px; }
.toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-pill {
  width: 42px; height: 23px; border-radius: 20px; flex-shrink: 0;
  background: var(--card); border: 1px solid var(--rail); position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.toggle-pill::after {
  content: ''; position: absolute; top: 50%; left: 3px; transform: translateY(-50%);
  width: 15px; height: 15px; border-radius: 50%; background: var(--silver);
  transition: left 0.3s var(--ease), background 0.3s;
}
.toggle input:checked + .toggle-pill { background: rgba(184, 137, 42, 0.2); border-color: var(--gold); }
.toggle input:checked + .toggle-pill::after { left: 22px; background: var(--gold-lt); }
.toggle input:focus-visible + .toggle-pill { outline: 1px solid var(--gold); outline-offset: 2px; }
.toggle-text { font-family: var(--sans); font-size: 14px; color: var(--warm); font-weight: 300; }
.toggle-text em { color: var(--muted); font-style: normal; font-family: var(--mono); font-size: 11.5px; }

.console-output {
  padding: clamp(28px, 3.5vw, 52px);
  display: flex; flex-direction: column; gap: 26px;
  background: var(--deep);
}
.state-chip {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 26px; border-radius: 3px; align-self: flex-start;
  border: 1px solid; transition: all 0.4s var(--ease);
}
.state-dot { width: 10px; height: 10px; border-radius: 50%; }
.state-name { font-family: var(--mono); font-size: clamp(17px, 2vw, 23px); letter-spacing: 0.18em; font-weight: 500; }
.state-chip[data-state="autonomous"] { border-color: rgba(61, 158, 106, 0.5); background: rgba(42, 107, 71, 0.12); }
.state-chip[data-state="autonomous"] .state-dot { background: var(--green); box-shadow: 0 0 14px var(--green); }
.state-chip[data-state="autonomous"] .state-name { color: var(--green); }
.state-chip[data-state="assisted"] { border-color: rgba(212, 168, 75, 0.5); background: rgba(184, 137, 42, 0.1); }
.state-chip[data-state="assisted"] .state-dot { background: var(--gold-lt); box-shadow: 0 0 14px var(--gold-lt); }
.state-chip[data-state="assisted"] .state-name { color: var(--gold-lt); }
.state-chip[data-state="escalated"] { border-color: rgba(192, 57, 43, 0.55); background: rgba(139, 32, 32, 0.14); }
.state-chip[data-state="escalated"] .state-dot { background: var(--red); box-shadow: 0 0 14px var(--red); }
.state-chip[data-state="escalated"] .state-name { color: #E08478; }

.console-readout { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.readout-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px;
}
.ro-key { color: var(--muted); letter-spacing: 0.05em; }
.ro-val { color: var(--cream); text-align: right; letter-spacing: 0.04em; }
.ro-val.blocked { color: #E08478; }
.ro-val.permitted { color: var(--green); }
.console-note { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.7; font-style: italic; }

.states-legend {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(36px, 5vw, 56px);
}
.legend-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
}
.legend-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.legend-aut .legend-dot { background: var(--green); box-shadow: 0 0 10px rgba(61,158,106,0.6); }
.legend-ast .legend-dot { background: var(--gold-lt); box-shadow: 0 0 10px rgba(212,168,75,0.6); }
.legend-esc .legend-dot { background: var(--red); box-shadow: 0 0 10px rgba(192,57,43,0.6); }
.legend-item h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--cream); margin-bottom: 8px; }
.legend-item p { font-family: var(--sans); font-size: 13.5px; color: var(--silver); line-height: 1.65; }

/* ─────────────────────────── INVARIANTS ─────────────────────────── */
.invariants { background: var(--deep); }
.invariant-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.inv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(30px, 3vw, 46px);
  display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.inv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.inv-card:hover { transform: translateY(-8px); border-color: rgba(184,137,42,0.45); box-shadow: 0 28px 60px -30px rgba(0,0,0,0.8); }
.inv-card:hover::before { transform: scaleX(1); }
.inv-roman {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(54px, 5vw, 76px); line-height: 1; color: var(--gold);
  opacity: 0.85;
}
.inv-name { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; color: var(--parchment); }
.inv-desc { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.75; flex: 1; }
.inv-defence {
  border-top: 1px solid var(--border); padding-top: 18px;
  font-family: var(--sans); font-size: 13px; color: var(--warm); line-height: 1.65;
}
.inv-defence span {
  display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.3em;
  color: var(--gold); margin-bottom: 10px;
}

/* ─────────────────────────── EVIDENCE / VERIFY ─────────────────────────── */
.evidence { background: var(--ink); }
.verify-lab {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.trace-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; position: relative;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.trace-card.tampered { border-color: rgba(192, 57, 43, 0.6); box-shadow: 0 0 50px -16px rgba(139, 32, 32, 0.5); }
.trace-card.verified-ok { border-color: rgba(61, 158, 106, 0.55); box-shadow: 0 0 50px -16px rgba(42, 107, 71, 0.55); }
.trace-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 26px; border-bottom: 1px solid var(--border); background: var(--card);
}
.trace-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--silver); }
.trace-badge {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em;
  padding: 5px 12px; border-radius: 2px;
  color: var(--green); background: rgba(42, 107, 71, 0.12); border: 1px solid rgba(61, 158, 106, 0.35);
  transition: all 0.3s;
}
.trace-badge.bad { color: #E08478; background: rgba(139, 32, 32, 0.15); border-color: rgba(192, 57, 43, 0.5); }
.trace-body { padding: 14px 26px; }
.t-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid rgba(38, 44, 58, 0.6);
  font-size: 13px;
}
.t-row:last-child { border-bottom: none; }
.t-key { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; flex-shrink: 0; padding-top: 1px; }
.t-val { font-family: var(--sans); color: var(--warm); text-align: right; font-weight: 300; word-break: break-all; }
.t-val.t-gold { color: var(--gold-lt); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.t-val.t-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; }
.t-val.t-tampered { color: #E08478; background: rgba(139, 32, 32, 0.18); padding: 1px 7px; border-radius: 2px; }
#traceHash { color: var(--gold-lt); transition: color 0.3s; }
#traceHash.mismatch { color: #E08478; }
.trace-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 20px 26px 26px; border-top: 1px solid var(--border);
}

.verify-panel { display: flex; flex-direction: column; gap: 18px; }
.verify-steps { display: flex; flex-direction: column; gap: 10px; }
.v-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 18px 22px; opacity: 0.45;
  transition: opacity 0.4s, border-color 0.4s, background 0.4s;
}
.v-step.active { opacity: 1; border-color: var(--rail); }
.v-step.pass { opacity: 1; border-color: rgba(61, 158, 106, 0.4); background: rgba(42, 107, 71, 0.06); }
.v-step.fail { opacity: 1; border-color: rgba(192, 57, 43, 0.55); background: rgba(139, 32, 32, 0.08); }
.v-ico {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--rail); margin-top: 2px; position: relative;
  transition: all 0.3s;
}
.v-step.active .v-ico { border-color: var(--gold); animation: pulse-ico 1s ease infinite; }
.v-step.pass .v-ico { border-color: var(--green); background: rgba(61, 158, 106, 0.15); }
.v-step.fail .v-ico { border-color: var(--red); background: rgba(192, 57, 43, 0.15); }
.v-step.pass .v-ico::after, .v-step.fail .v-ico::after {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-family: var(--mono);
}
.v-step.pass .v-ico::after { content: '✓'; color: var(--green); }
.v-step.fail .v-ico::after { content: '✕'; color: #E08478; }
@keyframes pulse-ico { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,75,0.35); } 50% { box-shadow: 0 0 0 7px rgba(212,168,75,0); } }
.v-step > div { flex: 1; }
.v-step h4 { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--cream); margin-bottom: 4px; }
.v-step p { font-family: var(--sans); font-size: 13px; color: var(--silver); line-height: 1.6; }
.v-result { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; padding-top: 6px; flex-shrink: 0; }
.v-step.pass .v-result { color: var(--green); }
.v-step.fail .v-result { color: #E08478; }

.verify-verdict {
  border: 1px dashed var(--rail); border-radius: 4px;
  padding: 22px 26px; text-align: center;
  font-family: var(--body); font-size: 15px; color: var(--silver);
  transition: all 0.4s;
}
.verify-verdict.ok {
  border: 1px solid rgba(61, 158, 106, 0.5); background: rgba(42, 107, 71, 0.1); color: var(--cream);
}
.verify-verdict.bad {
  border: 1px solid rgba(192, 57, 43, 0.55); background: rgba(139, 32, 32, 0.1); color: var(--cream);
}
.verify-verdict .verdict-title {
  display: block; font-family: var(--mono); letter-spacing: 0.25em; font-size: 13px; margin-bottom: 8px;
}
.verify-verdict.ok .verdict-title { color: var(--green); }
.verify-verdict.bad .verdict-title { color: #E08478; }

/* ─────────────────────────── VERTICALS ─────────────────────────── */
.verticals { background: var(--deep); }
.vertical-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.vert-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(30px, 3.4vw, 50px);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.vert-card::after {
  content: ''; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(184, 137, 42, 0.12), transparent 65%);
  opacity: 0; transition: opacity 0.6s;
}
.vert-card:hover { transform: translateY(-6px); border-color: rgba(184, 137, 42, 0.4); }
.vert-card:hover::after { opacity: 1; }
.vert-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.vert-index { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); }
.vert-region { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.28em; color: var(--muted); }
.vert-name { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--parchment); }
.vert-domain { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
.vert-desc { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.75; flex: 1; }
.vert-anchor {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--warm);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 9px 14px; background: var(--card);
  align-self: flex-start; margin-top: 8px;
}

/* ─────────────────────────── NUMBERS ─────────────────────────── */
.numbers { background: var(--ink); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.num-cell {
  padding: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 48px);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.num-cell:nth-child(3n) { border-right: none; }
.num-cell:nth-child(n+4) { border-bottom: none; }
.num-val {
  font-family: var(--serif); font-weight: 700; font-style: italic;
  font-size: clamp(46px, 6vw, 84px); line-height: 1; color: var(--gold-lt);
  letter-spacing: -0.02em;
}
.num-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--silver); line-height: 1.8; text-transform: uppercase; }

/* ─────────────────────────── STANDARD ─────────────────────────── */
.standard { background: var(--deep); }
.standard-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.standard-copy { position: sticky; top: 110px; }
.standard-text { font-family: var(--body); font-size: 15.5px; color: var(--silver); line-height: 1.85; margin-top: 24px; max-width: 520px; }
.standard-stats {
  display: flex; gap: clamp(18px, 2.5vw, 40px); flex-wrap: wrap;
  margin-top: clamp(26px, 3vw, 38px); padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--border);
}
.ss-cell strong {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px); color: var(--gold-lt); line-height: 1;
}
.ss-cell span {
  display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em;
  color: var(--muted); margin-top: 8px; line-height: 1.8;
}
.standard-artifacts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.artifact {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: clamp(22px, 2.4vw, 32px);
  position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s, box-shadow 0.45s;
}
/* document corner fold */
.artifact::before {
  content: ''; position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 22px 22px 0;
  border-color: transparent var(--ink) transparent transparent;
  filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.4));
}
.artifact::after {
  content: ''; position: absolute; top: 0; right: 0; width: 22px; height: 22px;
  background: linear-gradient(225deg, transparent 50%, rgba(184, 137, 42, 0.25) 50%);
}
a.artifact:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: rgba(184, 137, 42, 0.55); background: var(--card);
  box-shadow: 0 26px 52px -26px rgba(0, 0, 0, 0.85);
}
.artifact-kind {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.3em; color: var(--gold);
  display: block; margin-bottom: 12px;
}
.artifact h3 { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); font-weight: 600; color: var(--parchment); margin-bottom: 8px; }
.artifact p { font-family: var(--sans); font-size: 13.5px; color: var(--silver); line-height: 1.65; margin-bottom: 16px; }
.artifact-ref { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--warm); }
.artifact-static { opacity: 0.75; }

/* ─────────────────────────── CONTACT ─────────────────────────── */
.contact {
  background:
    radial-gradient(ellipse 70% 60% at 20% 110%, rgba(184, 137, 42, 0.09), transparent 70%),
    var(--ink);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-copy { position: sticky; top: 110px; display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 32px); }
.contact-seal { opacity: 0.9; }
.contact-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--cream); max-width: 1000px;
}
.ct-line { display: block; }
.ct-gold { color: var(--gold-lt); font-style: italic; }
.contact-sub { font-family: var(--body); font-size: clamp(15px, 1.6vw, 17.5px); color: var(--silver); max-width: 600px; line-height: 1.8; }
.contact-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.contact-cities { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.3em; color: var(--muted); }

/* intake panel + form */
.contact-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden;
}
.contact-panel-head {
  padding: clamp(24px, 2.6vw, 36px) clamp(24px, 2.8vw, 40px);
  border-bottom: 1px solid var(--border); background: var(--card);
}
.panel-eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--gold); display: block; margin-bottom: 10px; }
.panel-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--parchment); }
.contact-form { padding: clamp(24px, 2.8vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 9px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--silver);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--deep); border: 1px solid var(--border); border-radius: 3px;
  color: var(--cream); font-family: var(--sans); font-weight: 300; font-size: 14.5px;
  padding: 13px 15px; transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none; -webkit-appearance: none;
}
.form-group textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(184, 137, 42, 0.12);
}
.form-group select { cursor: pointer; color: var(--cream); }
.form-group select:invalid { color: var(--muted); }
.form-group .select-wrap select { padding: 13px 40px 13px 15px; font-family: var(--sans); font-size: 14.5px; background: var(--deep); }
.form-submit { width: 100%; justify-content: center; margin-top: 26px; }
.form-note {
  font-family: var(--sans); font-size: 12.5px; color: var(--muted);
  text-align: center; margin-top: 16px; line-height: 1.6;
}
.form-result {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-align: center; color: var(--green); min-height: 18px; margin-top: 12px;
}
.form-result.error { color: #E08478; }

/* ─────────────────────────── FOOTER ─────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--ink); padding: clamp(56px, 7vw, 90px) 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-wordmark { font-family: var(--serif); font-weight: 700; letter-spacing: 0.16em; font-size: 19px; color: var(--cream); }
.footer-desc { font-family: var(--sans); font-size: 13.5px; color: var(--silver); line-height: 1.75; max-width: 340px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.footer-col a {
  display: block; font-family: var(--sans); font-size: 14px; color: var(--silver);
  padding: 5px 0; transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-lt); padding-left: 6px; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 26px; padding-bottom: 30px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted);
}
.footer-fine { max-width: 460px; text-align: right; line-height: 1.7; }

/* ─────────────────────────── CHAIN STRIP ─────────────────────────── */
.chain-strip {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: clamp(36px, 5vw, 60px);
  border: 1px solid var(--border); border-radius: 5px;
  background: var(--deep); padding: clamp(18px, 2vw, 28px);
  overflow-x: auto;
}
.chain-node {
  flex: 1; min-width: 120px;
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 3px;
  text-align: center; justify-content: center;
}
.chain-node-final { border-color: rgba(61, 158, 106, 0.4); background: rgba(42, 107, 71, 0.08); }
.cn-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--gold-lt); }
.chain-node-final .cn-label { color: var(--green); }
.cn-desc { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.chain-link {
  display: flex; align-items: center; flex-shrink: 0;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; color: var(--gold);
  padding: 0 10px; position: relative; white-space: nowrap;
}
.chain-link::before, .chain-link::after {
  content: ''; width: 8px; height: 1px; background: var(--gold-dim); margin: 0 4px;
}

/* ─────────────────────────── INVARIANT ICONS ─────────────────────────── */
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; }
.inv-icon { width: 44px; height: 44px; opacity: 0.85; }

/* ─────────────────────────── PAGE HERO (subpages) ─────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(160px, 22vh, 230px) 0 clamp(70px, 9vw, 120px);
  background: var(--ink);
}
.page-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 78% 10%, rgba(184, 137, 42, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(42, 107, 71, 0.05), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 7.5vw, 96px); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--cream); margin: clamp(20px, 2.5vw, 34px) 0;
}
.page-hero-title em { color: var(--gold-lt); }
.tm-mark { font-size: 0.55em; font-weight: 500; color: var(--silver); font-style: normal; letter-spacing: 0.02em; }
.page-hero-sub {
  font-family: var(--body); font-size: clamp(15.5px, 1.6vw, 19px);
  color: var(--warm); max-width: 640px; line-height: 1.75;
}

/* ─────────────────────────── OMP PAGE ─────────────────────────── */
.omp-problem { background: var(--deep); }
.question-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.question-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.question-card:hover { transform: translateY(-6px); border-color: rgba(184, 137, 42, 0.45); }
.q-index { font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; color: var(--gold); display: block; margin-bottom: 16px; }
.question-card p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; color: var(--parchment); line-height: 1.3; }
.question-card em { color: var(--gold-lt); }

.omp-market { background: var(--ink); }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.market-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 3vw, 42px);
}
.market-kind { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.28em; color: var(--muted); display: block; margin-bottom: 14px; }
.market-card h3 { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); font-weight: 600; color: var(--parchment); margin-bottom: 10px; }
.market-card p { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.7; }
.market-card em { color: var(--warm); }

.manifesto-compact .manifesto-pin { min-height: 72vh; }
.manifesto-foot {
  font-family: var(--body); font-size: clamp(14px, 1.5vw, 16.5px); color: var(--silver);
  max-width: 640px; margin-top: 36px; line-height: 1.8;
}

.omp-diagram-section { background: var(--deep); }
.diagram-figure {
  margin: 0 0 clamp(28px, 4vw, 48px); border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
}
.diagram-figure img { width: 100%; height: auto; display: block; }
.diagram-figure figcaption {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
  padding: 16px 22px; border-top: 1px solid var(--border); background: var(--surface);
  line-height: 1.8; text-transform: uppercase;
}
.diagram-figure-chart { background: var(--surface); }

/* ─────────────────────────── THE BLUEPRINT (native diagram) ─────────────────────────── */
.blueprint { display: flex; flex-direction: column; gap: 0; }
.bp-meta {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.28em; color: var(--gold);
  border: 1px solid var(--border); border-bottom: none; border-radius: 6px 6px 0 0;
  padding: 13px clamp(18px, 2.5vw, 32px); background: var(--card);
}
.bp-meta span:nth-child(2) { color: var(--silver); }
.bp-board {
  border: 1px solid var(--border); border-radius: 0 0 6px 6px;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(184, 137, 42, 0.04) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(184, 137, 42, 0.04) 27px 28px),
    var(--ink);
  padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 56px);
  display: flex; flex-direction: column; align-items: center;
}
.bp-block {
  background: var(--surface); border: 1px solid var(--rail); border-radius: 5px;
  padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 34px);
  text-align: center; max-width: 560px; width: 100%;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
}
.bp-block:hover { border-color: rgba(184, 137, 42, 0.55); transform: translateY(-4px); box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.9); }
.bp-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.3em; color: var(--gold); display: block; margin-bottom: 10px; }
.bp-tag-green { color: var(--green); }
.bp-block h4 { font-family: var(--serif); font-size: clamp(17px, 1.9vw, 23px); font-weight: 600; color: var(--parchment); margin-bottom: 7px; }
.bp-block p { font-family: var(--body); font-size: 13px; color: var(--silver); line-height: 1.65; }
.bp-block code {
  display: inline-block; margin-top: 12px;
  font-family: var(--mono); font-size: 10.5px; color: var(--gold-lt); letter-spacing: 0.04em;
  background: rgba(184, 137, 42, 0.07); border: 1px solid rgba(184, 137, 42, 0.2);
  border-radius: 2px; padding: 7px 12px;
}

/* connectors */
.bp-conn { width: 1px; height: 48px; background: var(--gold-dim); position: relative; }
.bp-pulse {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-lt); box-shadow: 0 0 10px rgba(212, 168, 75, 0.8);
  animation: bpdrop 2.2s ease-in-out infinite;
}
@keyframes bpdrop {
  0% { top: 0; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% - 5px); opacity: 0; }
}

/* split: stem → bar → three colored drops */
.bp-split, .bp-merge { width: min(100%, 880px); height: 52px; position: relative; }
.bp-split::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 50%;
  background: var(--gold-dim);
}
.bp-split::after, .bp-merge::before {
  content: ''; position: absolute; left: 16.66%; right: 16.66%; top: 50%; height: 1px;
  background: linear-gradient(90deg, var(--green-deep), var(--gold-dim) 50%, var(--red-deep));
}
.bp-merge::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 50%;
  background: var(--green-deep);
}
.bp-drop { position: absolute; width: 1px; top: 50%; bottom: 0; }
.bp-rise { position: absolute; width: 1px; top: 0; height: 50%; }
.bp-drop:nth-child(1), .bp-rise:nth-child(1) { left: 16.66%; }
.bp-drop:nth-child(2), .bp-rise:nth-child(2) { left: 50%; }
.bp-drop:nth-child(3), .bp-rise:nth-child(3) { left: 83.33%; }
.bp-drop-aut { background: var(--green-deep); }
.bp-drop-ast { background: var(--gold-dim); }
.bp-drop-esc { background: var(--red-deep); }
.bp-pulse-merge { left: 50%; animation-delay: 1.1s; }

/* doors */
.bp-doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); width: min(100%, 880px); }
.bp-door { max-width: none; padding: clamp(16px, 2vw, 24px); }
.bp-doorlight { display: block; width: 9px; height: 9px; border-radius: 50%; margin: 0 auto 10px; }
.bp-door-aut .bp-doorlight { background: var(--green); box-shadow: 0 0 14px rgba(61, 158, 106, 0.7); animation: bpglow 3.6s ease-in-out infinite; }
.bp-door-ast .bp-doorlight { background: var(--gold-lt); box-shadow: 0 0 14px rgba(212, 168, 75, 0.7); animation: bpglow 3.6s ease-in-out infinite 1.2s; }
.bp-door-esc .bp-doorlight { background: var(--red); box-shadow: 0 0 14px rgba(192, 57, 43, 0.7); animation: bpglow 3.6s ease-in-out infinite 2.4s; }
@keyframes bpglow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.bp-door-aut:hover { border-color: rgba(61, 158, 106, 0.55); }
.bp-door-ast:hover { border-color: rgba(212, 168, 75, 0.55); }
.bp-door-esc:hover { border-color: rgba(192, 57, 43, 0.55); }
.bp-state { font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; display: block; margin-bottom: 8px; }
.bp-door-aut .bp-state { color: var(--green); }
.bp-door-ast .bp-state { color: var(--gold-lt); }
.bp-door-esc .bp-state { color: #E08478; }

/* record + chain */
.bp-record { max-width: 880px; border-color: rgba(61, 158, 106, 0.4); background: linear-gradient(160deg, var(--surface), rgba(42, 107, 71, 0.06)); }
.bp-record:hover { border-color: rgba(61, 158, 106, 0.6); }
.bp-stamps {
  display: flex; justify-content: center; gap: clamp(10px, 2vw, 26px); flex-wrap: wrap;
  margin-bottom: 12px;
}
.bp-stamps span {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--warm);
  border: 1px solid var(--border); border-radius: 2px; padding: 7px 12px; background: var(--card);
}
.bp-chain { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.bp-link-block {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--silver);
  background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 9px 14px;
}
.bp-link-this { color: var(--green); border-color: rgba(61, 158, 106, 0.5); background: rgba(42, 107, 71, 0.1); }
.bp-chainmark { color: var(--gold-dim); font-size: 13px; }
.bp-caption {
  margin-top: 24px; text-align: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--muted); line-height: 2;
}

.omp-regulatory { background: var(--ink); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.reg-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 3vw, 42px);
  transition: border-color 0.45s;
}
.reg-card:hover { border-color: rgba(184, 137, 42, 0.4); }
.reg-flag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; color: var(--gold); display: block; margin-bottom: 14px; }
.reg-card h3 { font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); font-weight: 600; color: var(--parchment); margin-bottom: 12px; }
.reg-card p { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.75; }

.omp-integrity { background: var(--deep); }
.integrity-rows { border-top: 1px solid var(--border); }
.integrity-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 3.6vw, 44px) 0; border-bottom: 1px solid var(--border);
}
.integrity-row h3 { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 28px); font-weight: 600; color: var(--parchment); }
.integrity-row p { font-family: var(--body); font-size: 15px; color: var(--silver); line-height: 1.8; }

.omp-spec { background: var(--ink); }
.standard-coda {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gold-lt);
  margin-top: 28px; text-transform: uppercase; line-height: 2;
}

.page-cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 115%, rgba(184, 137, 42, 0.1), transparent 70%),
    var(--deep);
  text-align: center;
}
.page-cta-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 34px); }
.page-cta-inner .contact-sub { max-width: 700px; }
.page-cta-eyebrow { justify-content: center; }
.page-cta-eyebrow::after { display: none; }

/* ─────────────────────────── OMP HERO FLOW ─────────────────────────── */
.omp-hero { padding-bottom: 0; }
.hero-flow-wrap { margin-top: clamp(36px, 6vh, 70px); overflow: hidden; }
.hero-flow { width: 100%; height: auto; display: block; opacity: 0.9; }
.flow-base { stroke: var(--border); stroke-width: 1.5; }
.flow-node { stroke: var(--gold); stroke-width: 1.5; fill: var(--ink); }
.flow-pulse {
  stroke-width: 2.5; stroke-linecap: round; fill: none;
  stroke-dasharray: 14 700;
  animation: flowdash 4.2s linear infinite;
}
.flow-pulse-in  { stroke: var(--gold-lt); animation-delay: 0s; }
.flow-pulse-aut { stroke: var(--green); animation-delay: 1.1s; }
.flow-pulse-ast { stroke: var(--gold-lt); animation-delay: 1.7s; }
.flow-pulse-esc { stroke: var(--red); animation-delay: 2.4s; }
@keyframes flowdash { from { stroke-dashoffset: 714; } to { stroke-dashoffset: 0; } }
.flow-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; }
.flow-label-aut { fill: var(--green); }
.flow-label-ast { fill: var(--gold-lt); }
.flow-label-esc { fill: #D46A5F; }

/* ─────────────────────────── JOURNEY ─────────────────────────── */
.journey { background: var(--deep); padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 120px); }
.journey-head { margin-bottom: clamp(36px, 5vw, 70px); }
.journey-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.journey-stage {
  position: sticky; top: 92px;
  height: min(560px, calc(100vh - 150px));
  background: var(--ink); border: 1px solid var(--border); border-radius: 8px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.stage-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--border); background: var(--card);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em;
}
.stage-id-label { color: var(--gold); }
.stage-clock { color: var(--silver); }
.stage-canvas { flex: 1; position: relative; }
.j-scene {
  position: absolute; inset: 0; padding: clamp(20px, 2.6vw, 36px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden;
}
.j-scene.active { opacity: 1; visibility: visible; }
.stage-dots {
  display: flex; justify-content: center; gap: 9px;
  padding: 13px; border-top: 1px solid var(--border); background: var(--card);
}
.sd { width: 6px; height: 6px; border-radius: 50%; background: var(--rail); transition: background 0.3s, transform 0.3s; }
.sd.active { background: var(--gold-lt); transform: scale(1.3); }

/* scene 1 — arrival */
.req-card { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; }
.req-head {
  display: flex; justify-content: space-between;
  padding: 11px 18px; border-bottom: 1px solid var(--border); background: var(--card);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.24em; color: var(--gold);
}
.req-chan { color: var(--muted); }
.req-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 18px;
  border-bottom: 1px solid rgba(38, 44, 58, 0.55); font-size: 13.5px;
}
.req-row:last-child { border-bottom: none; }
.req-row span { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.08em; padding-top: 2px; }
.req-row strong { font-family: var(--sans); font-weight: 400; color: var(--warm); text-align: right; }
.fingerprint { display: flex; flex-direction: column; gap: 7px; }
.fp-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.3em; color: var(--green); }
.fp-hash {
  font-family: var(--mono); font-size: clamp(12px, 1.3vw, 15px); color: var(--gold-lt);
  background: rgba(184, 137, 42, 0.07); border: 1px solid rgba(184, 137, 42, 0.22);
  border-radius: 3px; padding: 11px 15px; letter-spacing: 0.04em; min-height: 41px;
}

/* scene 2 — classify */
.intent-chip {
  align-self: flex-start;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; color: var(--gold-lt);
  border: 1px solid rgba(184, 137, 42, 0.4); background: rgba(184, 137, 42, 0.08);
  border-radius: 3px; padding: 13px 18px;
}
.intent-chip span { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.02em; color: var(--silver); text-transform: none; margin-top: 5px; }
.conf-meter { display: flex; flex-direction: column; gap: 12px; }
.conf-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; color: var(--silver);
}
.conf-num { font-size: 26px; color: var(--cream); letter-spacing: 0.04em; }
.conf-track { position: relative; height: 9px; background: var(--card); border-radius: 6px; }
.conf-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 6px; box-shadow: 0 0 16px rgba(212, 168, 75, 0.45);
}
.conf-theta {
  position: absolute; left: 91%; top: -7px; bottom: -7px; width: 1.5px; background: var(--cream);
  font-family: var(--mono); font-size: 10px; color: var(--cream);
}
.conf-theta::after { content: 'θ 0.91'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.conf-note { font-family: var(--body); font-style: italic; font-size: 13.5px; color: var(--silver); }

/* scene 3 — watchtowers */
.wt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wt-badge {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 16px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  color: var(--silver);
}
.wt-badge svg { width: 26px; height: 26px; }
.wt-name { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--warm); }
.wt-verdict { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; color: var(--green); }
.wt-fired { border-color: rgba(212, 168, 75, 0.55); background: rgba(184, 137, 42, 0.09); color: var(--gold-lt); }
.wt-fired .wt-name { color: var(--gold-lt); }
.wt-fired .wt-verdict { color: var(--gold-lt); }
.wt-note { font-family: var(--body); font-style: italic; font-size: 13.5px; color: var(--silver); line-height: 1.6; }

/* scene 4 — the fork */
.doors { display: flex; flex-direction: column; gap: 9px; }
.door {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  padding: 13px 18px; border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--silver); opacity: 0.45;
}
.door-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.door-aut .door-dot { background: var(--green); }
.door-ast .door-dot { background: var(--gold-lt); }
.door-esc .door-dot { background: var(--red); }
.door-active {
  opacity: 1; color: var(--gold-lt); border-color: rgba(212, 168, 75, 0.55);
  background: rgba(184, 137, 42, 0.08); box-shadow: 0 0 24px -6px rgba(212, 168, 75, 0.35);
}
.door-tag { margin-left: auto; font-size: 9px; color: var(--gold); letter-spacing: 0.12em; }
.officer-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: 14px 18px;
}
.officer-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--gold-lt);
  border: 1px solid rgba(184, 137, 42, 0.45); background: rgba(184, 137, 42, 0.08);
}
.officer-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.officer-info strong { font-family: var(--serif); font-size: 16.5px; color: var(--parchment); font-weight: 600; }
.officer-info span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); }
.officer-auth {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--green);
  border: 1px solid rgba(61, 158, 106, 0.4); background: rgba(42, 107, 71, 0.1);
  padding: 6px 10px; border-radius: 2px; white-space: nowrap;
}

/* scene 5 — the seal */
.seal-stamps { display: flex; flex-direction: column; gap: 9px; }
.stamp {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 16px;
}
.stamp-ico { font-size: 19px; color: var(--gold-lt); width: 26px; text-align: center; flex-shrink: 0; }
.stamp > div { flex: 1; }
.stamp strong { display: block; font-family: var(--sans); font-weight: 400; font-size: 14.5px; color: var(--cream); }
.stamp span { font-family: var(--sans); font-size: 11.5px; color: var(--muted); }
.stamp-ok { color: var(--green); font-size: 14px; }
.seal-chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-block {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--silver);
  background: var(--card); border: 1px solid var(--border); border-radius: 3px; padding: 8px 12px;
}
.sc-this { color: var(--gold-lt); border-color: rgba(212, 168, 75, 0.5); background: rgba(184, 137, 42, 0.08); }
.sc-link { color: var(--gold-dim); font-size: 12px; }

/* scene 6 — verification */
.reg-request { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; }
.rr-from { font-family: var(--mono); font-size: 9px; letter-spacing: 0.26em; color: var(--muted); display: block; margin-bottom: 8px; }
.reg-request p { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 21px); color: var(--cream); line-height: 1.45; }
.verified-badge {
  display: flex; align-items: center; gap: 16px;
  color: var(--green);
  border: 1px solid rgba(61, 158, 106, 0.5); background: rgba(42, 107, 71, 0.1);
  border-radius: 5px; padding: 16px 20px;
  box-shadow: 0 0 36px -10px rgba(61, 158, 106, 0.35);
}
.verified-badge strong { display: block; font-family: var(--mono); font-size: 19px; letter-spacing: 0.3em; }
.verified-badge span { font-family: var(--sans); font-size: 12px; color: var(--silver); letter-spacing: 0.02em; }

/* journey steps */
.journey-steps { display: flex; flex-direction: column; }
.j-step {
  min-height: 76vh;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  border-left: 1px solid var(--border); padding-left: clamp(22px, 2.5vw, 36px);
  position: relative;
}
.j-step::before {
  content: ''; position: absolute; left: -4.5px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--rail);
  transition: background 0.3s, box-shadow 0.3s;
}
.j-step.current::before { background: var(--gold-lt); box-shadow: 0 0 12px rgba(212, 168, 75, 0.6); }
.j-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.3em; color: var(--gold); }
.j-step h3 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; color: var(--parchment); line-height: 1.2; }
.j-step p { font-family: var(--body); font-size: clamp(14.5px, 1.5vw, 16px); color: var(--silver); line-height: 1.85; max-width: 460px; }
.j-step strong { color: var(--warm); font-weight: 500; }
.t-green { color: var(--green) !important; }
.t-gold { color: var(--gold-lt) !important; }
.t-red { color: #E08478 !important; }

/* ─────────────────────────── DOOR CARDS ─────────────────────────── */
.omp-doors { background: var(--ink); }
.doorcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(28px, 4vw, 44px); }
.doorcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 3vw, 42px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.doorcard:hover { transform: translateY(-6px); }
.doorcard-light { width: 11px; height: 11px; border-radius: 50%; margin-bottom: 6px; }
.doorcard-aut .doorcard-light { background: var(--green); box-shadow: 0 0 16px rgba(61, 158, 106, 0.7); }
.doorcard-ast .doorcard-light { background: var(--gold-lt); box-shadow: 0 0 16px rgba(212, 168, 75, 0.7); }
.doorcard-esc .doorcard-light { background: var(--red); box-shadow: 0 0 16px rgba(192, 57, 43, 0.7); }
.doorcard-aut:hover { border-color: rgba(61, 158, 106, 0.5); }
.doorcard-ast:hover { border-color: rgba(212, 168, 75, 0.5); }
.doorcard-esc:hover { border-color: rgba(192, 57, 43, 0.5); }
.doorcard-state { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; }
.doorcard-aut .doorcard-state { color: var(--green); }
.doorcard-ast .doorcard-state { color: var(--gold-lt); }
.doorcard-esc .doorcard-state { color: #E08478; }
.doorcard h3 { font-family: var(--serif); font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; color: var(--parchment); }
.doorcard p { font-family: var(--body); font-size: 14.5px; color: var(--silver); line-height: 1.75; }

/* ─────────────────────────── TAMPER TOY ─────────────────────────── */
.omp-tamper { background: var(--deep); }
.tamper-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: clamp(24px, 3vw, 40px); }
.tamper-chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-block {
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
  background: var(--surface); border: 1px solid rgba(61, 158, 106, 0.35); border-radius: 4px;
  padding: 13px 16px; cursor: pointer; text-align: left;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.tc-block:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.8); }
.tc-id { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.18em; color: var(--muted); }
.tc-block code { font-family: var(--mono); font-size: 12px; color: var(--gold-lt); letter-spacing: 0.04em; }
.tc-state { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; color: var(--green); }
.tc-arrow { color: var(--gold-dim); font-size: 13px; }
.tc-block.tc-altered {
  border-color: var(--red); background: rgba(139, 32, 32, 0.18);
  box-shadow: 0 0 24px -6px rgba(192, 57, 43, 0.5); transform: translateY(-4px);
}
.tc-block.tc-altered code { color: #E08478; text-decoration: line-through; }
.tc-block.tc-altered .tc-state { color: #E08478; }
.tc-block.tc-broken { border-color: rgba(192, 57, 43, 0.5); background: rgba(139, 32, 32, 0.08); }
.tc-block.tc-broken code { color: #C08080; }
.tc-block.tc-broken .tc-state { color: #E08478; }
.tamper-verdict {
  border: 1px dashed var(--rail); border-radius: 4px;
  padding: 16px 22px; max-width: 640px;
  font-family: var(--body); font-size: 14.5px; color: var(--silver);
  transition: border-color 0.3s, background 0.3s;
}
.tamper-verdict.bad { border: 1px solid rgba(192, 57, 43, 0.55); background: rgba(139, 32, 32, 0.1); color: var(--cream); }

/* market 3-col + OMP card */
.market-grid-3 { grid-template-columns: repeat(3, 1fr); }
.market-card-omp { border-color: rgba(184, 137, 42, 0.45); background: linear-gradient(160deg, var(--surface), rgba(184, 137, 42, 0.05)); }
.market-card-omp .market-kind { color: var(--gold); }
.market-card-omp h3 { color: var(--gold-lt); }

/* ─────────────────────────── ABOUT PAGE ─────────────────────────── */
.hero-chips {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(26px, 3.2vw, 40px);
}
.hchip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; color: var(--warm);
  border: 1px solid var(--border); border-radius: 2px; padding: 9px 14px;
  background: rgba(20, 23, 32, 0.6);
}
.hchip i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-lt);
  animation: hl-pulse-gold 2.4s ease-in-out infinite;
}
.hchip:nth-child(2) i { animation-delay: 0.8s; }
.hchip:nth-child(3) i { animation-delay: 1.6s; }
@keyframes hl-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 75, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(212, 168, 75, 0); }
}
.hchip-cities { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.26em; color: var(--muted); margin-left: 8px; }

/* about hero — evidence ledger backdrop */
.about-hero { overflow: hidden; }
.ledger-bg {
  position: absolute; inset: -5% 0; pointer-events: none;
  display: flex; justify-content: space-between; padding: 0 3vw;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.ledger-col {
  font-family: var(--mono); font-size: 10px; line-height: 2.8;
  letter-spacing: 0.08em; color: var(--gold-lt); opacity: 0.07;
  white-space: pre; text-align: left;
  animation: ledgerScroll 60s linear infinite;
}
.ledger-col:nth-child(2) { color: var(--silver); }
@keyframes ledgerScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.about-hero .container { position: relative; z-index: 1; }

/* the moment we design for */
.moment {
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(184, 137, 42, 0.08), transparent 70%),
    var(--ink);
  text-align: center;
}
.moment-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.6vw, 32px); }
.moment-line {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(30px, 5.4vw, 66px); line-height: 1.2; color: var(--cream);
  max-width: 900px;
}
.moment-line em {
  font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: 0.62em; color: var(--gold-lt); letter-spacing: 0.04em;
  background: rgba(184, 137, 42, 0.08); border: 1px solid rgba(184, 137, 42, 0.3);
  border-radius: 3px; padding: 2px 14px; vertical-align: middle;
}
.moment-timer { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.mt-num {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(72px, 11vw, 150px); line-height: 1; color: var(--gold-lt);
  letter-spacing: -0.02em; min-width: 2.6ch; text-align: right;
}
.mt-unit {
  font-family: var(--mono); font-size: clamp(9px, 1vw, 11px); letter-spacing: 0.3em;
  color: var(--silver); text-align: left; line-height: 2;
}
.moment-foot { font-family: var(--body); font-size: clamp(14.5px, 1.6vw, 17px); color: var(--silver); line-height: 1.9; }

.about-why { background: var(--deep); }
.about-two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.section-head-tight { margin-bottom: 0; position: sticky; top: 110px; }
.about-body { display: flex; flex-direction: column; gap: 24px; }
.about-body p { font-family: var(--body); font-size: clamp(15px, 1.6vw, 17px); color: var(--silver); line-height: 1.85; }
.about-pull {
  font-family: var(--serif) !important; font-size: clamp(21px, 2.4vw, 28px) !important;
  font-style: italic; color: var(--gold-lt) !important; line-height: 1.5 !important;
  border-left: 2px solid var(--gold); padding-left: 24px;
}

.about-believe { background: var(--ink); }
.believe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.believe-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 3vw, 40px);
  position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.believe-card:hover { transform: translateY(-6px); border-color: rgba(184, 137, 42, 0.45); }
.believe-num {
  position: absolute; top: -14px; right: 8px;
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(72px, 7vw, 104px); line-height: 1;
  color: var(--parchment); opacity: 0.05; pointer-events: none;
  transition: opacity 0.5s, color 0.5s;
}
.believe-card:hover .believe-num { opacity: 0.1; color: var(--gold-lt); }
.believe-shift { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; position: relative; }
.bs-from { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); color: var(--silver); text-decoration: line-through; text-decoration-color: rgba(192, 57, 43, 0.45); text-decoration-thickness: 1px; }
.bs-arrow { color: var(--gold); font-size: 16px; display: inline-block; animation: arrowNudge 2.6s ease-in-out infinite; }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.bs-to { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; color: var(--parchment); }
.believe-card p { font-family: var(--sans); font-size: 13.5px; color: var(--silver); line-height: 1.7; }

.about-how { background: var(--deep); }
.stack-diagram {
  display: flex; flex-direction: column; gap: 8px;
  max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px);
  position: relative;
}
.stack-diagram::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(var(--gold-dim), var(--gold)); opacity: 0.4; z-index: 0;
}
.stack-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 16px 24px; position: relative; z-index: 1;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.stack-row:hover { border-color: rgba(184, 137, 42, 0.45); transform: translateX(8px); }
.stack-row:not(.stack-row-final) { animation: chainpulse 7s ease-in-out infinite; }
.stack-row:nth-child(2) { animation-delay: 0.55s; }
.stack-row:nth-child(3) { animation-delay: 1.1s; }
.stack-row:nth-child(4) { animation-delay: 1.65s; }
.stack-row code { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--gold-lt); }
.stack-row span { font-family: var(--body); font-size: 14.5px; color: var(--warm); text-align: right; }
.stack-row-final { border-color: rgba(61, 158, 106, 0.4); background: rgba(42, 107, 71, 0.07); }
.stack-row-final code { color: var(--green); }

.about-difference { background: var(--ink); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(28px, 4vw, 44px); position: relative; }
.compare-grid::after {
  content: 'VS'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--gold-lt);
  background: var(--ink); border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 8px var(--ink), 0 0 36px rgba(0, 0, 0, 0.8);
  z-index: 2;
}
.compare-panel {
  border-radius: 5px; padding: clamp(24px, 2.8vw, 38px);
  display: flex; flex-direction: column; gap: 18px;
}
.compare-old { background: #120D0D; border: 1px solid rgba(139, 32, 32, 0.35); }
.compare-new { background: var(--surface); border: 1px solid rgba(61, 158, 106, 0.35); }
.compare-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; }
.compare-old .compare-label { color: #C08080; }
.compare-new .compare-label { color: var(--green); }
.compare-screen {
  background: var(--ink); border: 1px solid var(--border); border-radius: 4px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1;
}
.cs-line { font-family: var(--mono); font-size: 11.5px; color: var(--warm); letter-spacing: 0.03em; }
.cs-dim { color: var(--muted); }
.cs-bad { color: #E08478; }
.cs-good { color: var(--green); }
.cs-gold { color: var(--gold-lt); }
.compare-quote { font-family: var(--body); font-style: italic; font-size: 15px; color: var(--silver); }
.compare-quote-gold { color: var(--gold-lt); }

.about-mission { background: var(--deep); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.mv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(30px, 3.6vw, 52px);
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.mv-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184, 137, 42, 0.45);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.85);
}
.mv-card-vision:hover { border-color: rgba(61, 158, 106, 0.45); }
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.mv-card-vision::before { background: linear-gradient(90deg, var(--green), transparent 70%); }
.mv-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.32em; color: var(--gold); display: block; margin-bottom: 18px; }
.mv-card-vision .mv-label { color: var(--green); }
.mv-card p { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 26px); font-weight: 500; color: var(--parchment); line-height: 1.5; }

.about-values { background: var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.value-card:hover { border-color: rgba(184, 137, 42, 0.4); transform: translateY(-5px); }
.value-num { font-family: var(--mono); font-size: 9px; letter-spacing: 0.25em; color: var(--gold); display: block; margin-bottom: 14px; }
.value-card h3 { font-family: var(--serif); font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: var(--parchment); margin-bottom: 8px; line-height: 1.3; }
.value-card p { font-family: var(--sans); font-size: 13px; color: var(--silver); line-height: 1.65; }

.about-team { background: var(--deep); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: clamp(26px, 2.8vw, 38px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(184, 137, 42, 0.45); }
.team-card::after {
  content: 'VERIFIED ✓'; position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--green);
  border: 1px solid rgba(61, 158, 106, 0.45); background: rgba(42, 107, 71, 0.12);
  padding: 4px 9px; border-radius: 2px;
  opacity: 0; transform: translateY(-6px) rotate(3deg);
  transition: opacity 0.35s, transform 0.45s var(--ease);
}
.team-card { position: relative; }
.team-card:hover::after { opacity: 1; transform: translateY(0) rotate(-3deg); }
.team-card:hover .team-monogram {
  background: rgba(184, 137, 42, 0.16);
  box-shadow: 0 0 26px -4px rgba(212, 168, 75, 0.5);
}
.team-monogram { transition: background 0.4s, box-shadow 0.4s; }
.team-node::before {
  content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); margin-right: 7px; vertical-align: 1px;
  animation: hl-pulse 2.2s ease-in-out infinite;
}
.team-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.team-monogram {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--gold-lt);
  border: 1px solid rgba(184, 137, 42, 0.4); background: rgba(184, 137, 42, 0.07);
}
.team-node { font-family: var(--mono); font-size: 8px; letter-spacing: 0.2em; color: var(--muted); }
.team-discipline { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.26em; color: var(--gold); }
.team-name { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); font-weight: 700; color: var(--parchment); }
.team-role { font-family: var(--sans); font-size: 13px; color: var(--warm); }
.team-creds {
  list-style: none; display: flex; flex-direction: column; gap: 5px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 0; margin: 8px 0;
}
.team-creds li { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--silver); }
.team-creds li::before { content: '✓ '; color: var(--green); }
.team-bio { font-family: var(--sans); font-size: 13px; color: var(--silver); line-height: 1.7; flex: 1; }
.team-link {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--gold-lt);
  transition: color 0.3s;
}
.team-link:hover { color: var(--cream); }

/* ─────────────────────────── AMBIENT POLISH ─────────────────────────── */
/* custom scrollbar */
html { scrollbar-color: #3a3220 var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2e2715; border: 2.5px solid var(--ink); border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* editorial tilt on the marquee band (overhang clipped by main) */
main { overflow-x: clip; }
.marquee { transform: rotate(-1.1deg) scale(1.04); position: relative; z-index: 2; }

/* sealing-chain strip: travelling pulse */
.chain-node { animation: chainpulse 6.5s ease-in-out infinite; }
.chain-node:nth-of-type(1) { animation-delay: 0s; }
.chain-node:nth-of-type(2) { animation-delay: 0.6s; }
.chain-node:nth-of-type(3) { animation-delay: 1.2s; }
.chain-node:nth-of-type(4) { animation-delay: 1.8s; }
.chain-node:nth-of-type(5) { animation-delay: 2.4s; }
@keyframes chainpulse {
  0%, 100% { border-color: var(--border); box-shadow: none; }
  9% { border-color: rgba(212, 168, 75, 0.55); box-shadow: 0 0 18px -4px rgba(212, 168, 75, 0.35); }
  20% { border-color: var(--border); box-shadow: none; }
}
.chain-node-final { animation: chainpulse-final 6.5s ease-in-out infinite; animation-delay: 2.4s; }
@keyframes chainpulse-final {
  0%, 100% { border-color: rgba(61, 158, 106, 0.4); box-shadow: none; }
  9% { border-color: var(--green); box-shadow: 0 0 20px -4px rgba(61, 158, 106, 0.45); }
  20% { border-color: rgba(61, 158, 106, 0.4); box-shadow: none; }
}

/* 3D tilt cards: transform is GSAP-driven, keep transitions off transform */
.tilt { transition: border-color 0.45s, box-shadow 0.45s, background 0.45s !important; transform-style: preserve-3d; }

/* numbers: quiet hover */
.num-cell { transition: background 0.45s; }
.num-cell:hover { background: rgba(184, 137, 42, 0.035); }

/* ─────────────────────────── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .console { grid-template-columns: 1fr; }
  .console-controls { border-right: none; border-bottom: 1px solid var(--border); }
  .verify-lab { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: 1fr; }
  .standard-copy { position: static; }
  .invariant-cards { grid-template-columns: 1fr; }
  .states-legend { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .offer-grid { grid-template-columns: 1fr; }
  .buyers-grid { grid-template-columns: 1fr; }
  .journey-inner { grid-template-columns: 1fr; gap: 0; }
  .journey-stage { top: 64px; height: min(340px, 42vh); z-index: 5; }
  .j-scene { justify-content: flex-start; padding-top: 16px; gap: 12px; overflow: hidden; }
  .j-scene .wt-note, .j-scene .conf-note { display: none; }
  .j-step { min-height: 80vh; justify-content: flex-end; padding-bottom: 12vh; }
  .j-step p { max-width: none; }
  .doorcards { grid-template-columns: 1fr; }
  .market-grid-3 { grid-template-columns: 1fr; }
  .wt-grid { grid-template-columns: 1fr 1fr; }
  .req-card .req-row { font-size: 12.5px; }
  .hero-flow-wrap { margin-top: 28px; }
  .about-two-col { grid-template-columns: 1fr; }
  .section-head-tight { position: static; margin-bottom: 36px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .believe-grid { grid-template-columns: 1fr; }
}

/* keep the pinned pipeline fully visible on short screens */
@media (max-height: 760px) and (min-width: 901px) {
  .protocol-pin { padding-top: 84px; }
  .protocol-head .section-sub { display: none; }
  .stage-desc { font-size: 13px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 110px; padding-bottom: 130px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scrollcue { display: none; }
  .gap-row::after { display: none; }
  .gap-row { grid-template-columns: 1fr; gap: 8px; }
  .gap-row:hover { padding-left: 14px; }
  .vertical-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-cell { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .num-cell:nth-child(2n) { border-right: none !important; }
  .num-cell:nth-child(n+5) { border-bottom: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .footer-fine { text-align: left; }
  .question-row { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .integrity-row { grid-template-columns: 1fr; gap: 10px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-grid::after { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .standard-artifacts { grid-template-columns: 1fr; }
  .ledger-col:nth-child(3) { display: none; }
  .mt-num { min-width: auto; }
  .stack-row { grid-template-columns: 1fr; gap: 6px; }
  .stack-row span { text-align: left; }
  .stack-diagram::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .chain-strip { flex-direction: column; gap: 8px; }
  .chain-link { justify-content: center; padding: 2px 0; }
  .bp-doors { grid-template-columns: 1fr; gap: 10px; }
  .bp-split, .bp-merge { height: 30px; }
  .bp-split::after, .bp-merge::before, .bp-drop, .bp-rise { display: none; }
  .bp-split::before { height: 100%; }
  .bp-merge::after { height: 100%; bottom: auto; top: 0; }
  .am-stamp { right: 8px; font-size: 10px; }
  .hero-proof { gap: 10px; font-size: 8px; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .trace-actions { flex-direction: column; }
  .trace-actions .btn { width: 100%; justify-content: center; white-space: nowrap; }
  .t-row { flex-direction: column; gap: 4px; }
  .t-val { text-align: left; }
  .readout-row { font-size: 11px; }
}

/* pipeline: vertical fallback on touch/small screens (no pin) */
@media (max-width: 900px) {
  .pipeline-track { flex-direction: column; width: auto; }
  .stage-card { width: 100%; }
  .pipeline-progress { display: none; }
}

/* ─────────────────────────── REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .ticker-track, .marquee-inner { animation: none; }
}
