/* Anjo site design system — Editorial dark + Living Pigment, Geist-rigor.
   One accent (PAD-driven), mono machine layer, hairline surfaces, 4px grid.
   Shared by the concise redo pages. */
:root {
  color-scheme: dark;
  --canvas: #0a0a0b;
  --surface: rgba(255,255,255,0.024);
  --surface-2: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
  --text: #f2efe9;
  --muted: #8b8278;
  --muted-2: #6f6862;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  /* single accent — the only color. PAD-driven; orb script overwrites live. */
  --accent: #c9a96e;
  --accent-2: #e8cd92;
  --bloom: rgba(201,169,110,0.22);
  --dyn-c0: #c9a96e;
  --dyn-c1: #2ec4b6;
  /* 4px grid */
  --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s8:48px; --s10:64px; --s12:96px; --s16:128px;
  --r-sm:10px; --r-md:16px; --r-full:999px;
  --ease: cubic-bezier(0.16,1,0.3,1);
  --w: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--s5); }

/* mono machine label — the editorial signature */
.kicker {
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content:''; width: 16px; height: 1px; background: var(--line-strong); }
.kicker b { color: var(--accent); font-weight: 600; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--w); margin: 0 auto; padding: 18px var(--s5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.04em; }
.nav-links { display: flex; align-items: center; gap: var(--s5); }
.nav-links a.lnk { color: var(--muted); font-size: 14px; transition: color .18s; }
.nav-links a.lnk:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 18px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s var(--ease), background .2s, border-color .2s, opacity .2s;
}
.btn-primary { background: #f2efe9; color: #0a0a0b; }
.btn-primary:hover { transform: translateY(-1px); opacity: .92; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { height: 46px; padding: 0 24px; font-size: 15px; }

/* hero — the one pigment moment (hybrid: instant CSS pigment → lazy ShaderGradient) */
.hero {
  position: relative; isolation: isolate; padding: var(--s16) 0 var(--s12);
  text-align: center; overflow: hidden;
  /* Instant pigment on first paint so the LCP hero never flashes flat black
     before the WebGL field mounts. Tracks the live PAD vars. */
  background:
    radial-gradient(120% 92% at 50% 34%, color-mix(in srgb, var(--dyn-c0) 11%, transparent) 0%, transparent 60%),
    radial-gradient(80% 62% at 50% 56%, color-mix(in srgb, var(--dyn-c1) 7%, transparent) 0%, transparent 72%),
    var(--canvas);
}
.hero.compact { padding: var(--s12) 0 var(--s10); }
#hero-pigment {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--canvas);
  pointer-events: none;                  /* pure backdrop — no camera grab on hover/scroll */
  opacity: 0; transition: opacity 1.2s var(--ease);
}
#hero-pigment.ready { opacity: .35; }
#hero-pigment canvas { display: block; }
#hero-pigment-veil {                     /* vignette so the headline stays legible over motion */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(135% 110% at 50% 42%, transparent 50%, rgba(0,0,0,0.40) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.12) 0%, transparent 32%, rgba(0,0,0,0.30) 100%);
}
@media (prefers-reduced-motion: reduce) { #hero-pigment { transition: none; } }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.orb-wrap { margin-bottom: var(--s6); filter: drop-shadow(0 18px 60px var(--bloom)); }
#orb-preview { border-radius: 50%; display: block; }
.hero .lede { color: rgba(255,255,255,0.9); font-size: clamp(20px,2.6vw,26px); line-height: 1.45; max-width: 40ch; }
.hero .hero-note { color: rgba(255,255,255,0.6); }
h1 {
  margin: var(--s5) 0 0; font-weight: 600;
  font-size: clamp(40px, 7.4vw, 84px); line-height: 0.98; letter-spacing: -0.045em;
  max-width: 14ch;
}
h1 em { font-style: normal; color: var(--accent-2); }
.lede { margin: var(--s5) 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(16px,2vw,19px); }
.hero-actions { display: flex; gap: var(--s3); margin-top: var(--s6); flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: var(--s5); font: 500 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted-2); }

/* section rhythm */
section.band { padding: var(--s12) 0; border-top: 1px solid var(--line); }
.band-head { max-width: 30ch; margin-bottom: var(--s8); }
.band-head h2 { margin: var(--s4) 0 0; font-weight: 600; font-size: clamp(28px,4vw,44px); line-height: 1.04; letter-spacing: -0.04em; }
.band-head p { margin: var(--s4) 0 0; color: var(--muted); font-size: 17px; }

/* pillars — show, don't tell */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.pillar {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6) var(--s5) var(--s5);
  background: var(--surface); transition: border-color .2s, background .2s;
  display: flex; flex-direction: column;
}
.pillar::before { content:''; display:block; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent)); margin-bottom: var(--s5); }
.pillar:hover { border-color: var(--line-strong); background: var(--surface-2); }
.pillar-art { height: 132px; border-radius: var(--r-sm); margin-bottom: var(--s5); overflow: hidden;
  display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.03), transparent 70%); }
.pillar h3 { margin: 0 0 var(--s3); font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.pillar .num { font: 500 11px/1 var(--mono); color: var(--accent); letter-spacing: 0.1em; margin-bottom: var(--s5); }

/* feature rows — alternating art / copy (how-it-works deep page) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; padding: var(--s10) 0; border-top: 1px solid var(--line); }
.frow:nth-child(even) .frow-art { order: 2; }
.frow-art { height: 260px; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden;
  display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.035), transparent 72%); }
.frow-copy h3 { margin: var(--s4) 0 var(--s3); font-size: clamp(24px,3vw,34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
.frow-copy p { margin: 0; color: var(--muted); font-size: 16px; max-width: 42ch; }
.frow-copy .lnk-arrow { display: inline-block; margin-top: var(--s5); color: var(--accent); font-size: 14px; font-weight: 600; }

/* pillar / feature mini-art */
.mini-orb { width: 96px; height: 96px; border-radius: 50%; background: var(--orb-bg,#100e0c);
  box-shadow: inset 0 0 1px rgba(255,255,255,0.18), 0 0 40px -6px var(--bloom);
  background-image: radial-gradient(circle at 38% 34%, color-mix(in srgb,var(--dyn-c1) 80%, transparent), transparent 60%),
                    radial-gradient(circle at 64% 66%, color-mix(in srgb,var(--dyn-c0) 80%, transparent), transparent 62%); }
.mini-map { width: 86%; height: 100%; }
.mini-map .edge { stroke: rgba(163,154,145,0.34); stroke-width: 1.1; stroke-dasharray: 4 4; }
.mini-map text { font: 600 9px var(--mono); fill: var(--muted); letter-spacing: .04em; }

/* ── Inner World map — faithful re-creation of the on-device graph.
   Node colours mirror mobile/lib/wiki-palette.ts (category-fixed, do NOT react
   to PAD). Soft glowing orb-nodes + connecting edges + labelled chips. */
.iw-map { width: 100%; height: 100%; display: block; }
.iw-map .iw-edge { fill: none; stroke-linecap: round; opacity: .55; }
.iw-map .iw-node { transform-box: fill-box; transform-origin: center; }
.iw-map .iw-label { font: 600 11px/1 var(--mono); letter-spacing: .02em; dominant-baseline: middle; }
.iw-map .iw-chip { stroke-width: 1; }
/* gentle drift so the graph feels alive, not a static diagram */
.iw-map .drift-a { animation: iwd 9s var(--ease) infinite alternate; }
.iw-map .drift-b { animation: iwd 11s var(--ease) infinite alternate-reverse; }
.iw-map .drift-c { animation: iwd 13s var(--ease) infinite alternate; }
@keyframes iwd { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* Inner World showcase — the map as the page's visual centrepiece */
.iw-show { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: var(--s8); align-items: center; }
.iw-stage {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(201,169,110,0.06), transparent 60%),
    radial-gradient(100% 100% at 70% 100%, rgba(46,196,182,0.05), transparent 64%),
    #08080a;
  overflow: hidden; aspect-ratio: 16 / 11;
}
.iw-stage::after { /* legibility vignette */
  content:''; position:absolute; inset:0; pointer-events:none;
  box-shadow: inset 0 0 80px 8px rgba(0,0,0,0.55);
}
.iw-stagehead {
  position: absolute; top: 14px; left: 16px; right: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted);
}
.iw-stagehead b { color: var(--accent); font-weight: 600; }
.iw-meta { color: var(--muted-2); }
/* node orbs — static canvases rendering the real main-orb blob field, laid over
   the SVG edges/labels and positioned to match the viewBox node coordinates */
.iw-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.iw-orbs canvas { position: absolute; }
@media (max-width: 820px) { .iw-show { grid-template-columns: 1fr; gap: var(--s6); } }

/* privacy pillar glyph — phone holding the inner world, locked */
.iw-lock { display: grid; place-items: center; }
.iw-lock svg { width: 96px; height: 120px; }
.mini-wave { display: flex; align-items: center; gap: 4px; height: 64px; }
.mini-wave span { width: 4px; border-radius: 999px; background: linear-gradient(180deg,var(--accent-2),var(--accent)); animation: wv 1.4s ease-in-out infinite; }
.mini-wave span:nth-child(odd){animation-duration:1.1s}.mini-wave span:nth-child(3n){animation-duration:1.7s}
.mini-wave span:nth-child(2){animation-delay:-.2s}.mini-wave span:nth-child(3){animation-delay:-.6s}.mini-wave span:nth-child(4){animation-delay:-.9s}
.mini-wave span:nth-child(5){animation-delay:-.35s}.mini-wave span:nth-child(6){animation-delay:-.75s}.mini-wave span:nth-child(7){animation-delay:-.15s}
.mini-wave span:nth-child(8){animation-delay:-.55s}.mini-wave span:nth-child(9){animation-delay:-.95s}.mini-wave span:nth-child(10){animation-delay:-.4s}.mini-wave span:nth-child(11){animation-delay:-.7s}
.mini-wave.lg { height: 92px; gap: 5px; } .mini-wave.lg span { width: 5px; }
@keyframes wv { 0%,100%{height:10px;opacity:.5} 50%{height:56px;opacity:1} }

/* trust stages chip row */
.stages { display: flex; gap: 6px; flex-wrap: wrap; }
.stages span { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-full); border: 1px solid var(--line); color: var(--muted); }
.stages span.on { color: #0e0d0c; border-color: transparent; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); counter-reset: s; }
.step { border-top: 1px solid var(--line-strong); padding-top: var(--s4); }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font: 500 12px/1 var(--mono); color: var(--accent); margin-bottom: var(--s4); letter-spacing: .1em; }
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.tier { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); background: var(--surface); }
.tier.pop { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--surface-2); }
.tier .tag { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tier.pop .tag { color: var(--accent); }
.tier .price { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; margin: var(--s3) 0 var(--s2); }
.tier .price span { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.tier ul { list-style: none; margin: var(--s4) 0 var(--s5); padding: 0; }
.tier li { color: var(--muted); font-size: 14px; padding: 6px 0; padding-left: 20px; position: relative; }
.tier li::before { content: '·'; position: absolute; left: 6px; color: var(--accent); }
.tier .btn { width: 100%; }

/* comparison table — concise vs pages */
.cmp { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > div { padding: 16px 18px; font-size: 14.5px; color: var(--muted); }
.cmp-row .feat { color: var(--text); font-weight: 500; }
.cmp-row .us { color: var(--text); background: color-mix(in srgb, var(--accent) 7%, transparent); border-left: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.cmp-head > div { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); padding-top: 14px; padding-bottom: 14px; }
.cmp-head .us { color: var(--accent); }
@media (max-width: 720px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { padding: 10px 16px; }
  .cmp-row .feat { padding-top: 16px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
  .cmp-row .us { border-left: 0; }
  .cmp-head { display: none; }
}

/* two-column contrast (mirror vs mold) */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.contrast .col { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); }
.contrast .col.us { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--surface-2); }
.contrast h3 { margin: var(--s3) 0 var(--s2); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.contrast p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 720px) { .contrast { grid-template-columns: 1fr; } }

/* closer */
.closer { text-align: center; padding: var(--s16) 0; }
.closer h2 { font-size: clamp(32px,5vw,56px); font-weight: 600; letter-spacing: -0.045em; margin: var(--s4) 0 0; }
.closer p { color: var(--muted); margin: var(--s4) 0 var(--s6); }

footer { border-top: 1px solid var(--line); padding: var(--s8) 0 var(--s10); }
.inception-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: var(--s8); text-align: center; }
.inception-badge .inception-label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.inception-badge img { opacity: .82; transition: opacity .2s; }
.inception-badge a:hover img { opacity: 1; }
.inception-badge a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); color: var(--muted-2); font-size: 13px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: var(--s5); flex-wrap: wrap; }

@media (max-width: 820px) {
  .pillars, .steps, .tiers { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s8) 0; }
  .frow:nth-child(even) .frow-art { order: 0; }
  .frow-art { height: 200px; }
  .nav-links a.lnk { display: none; }
  .hero { padding-top: var(--s12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-field, .mini-wave span { animation: none; }
  .mini-wave span:nth-child(odd){height:40px}.mini-wave span:nth-child(3n){height:20px}.mini-wave span{height:30px}
}

/* ── Waitlist dialog ─────────────────────────────────────────────────────── */
.waitlist-dialog {
  width: min(92vw, 420px); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: #0e0e10; color: var(--text); padding: var(--s6);
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.7); position: relative;
}
.waitlist-dialog::backdrop { background: rgba(5,5,6,0.66); backdrop-filter: blur(3px); }
.waitlist-dialog[open] { animation: wl-in .28s var(--ease); }
@keyframes wl-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.waitlist-close {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px;
  border: none; background: transparent; color: var(--muted); font-size: 24px; line-height: 1;
  cursor: pointer; border-radius: var(--r-sm);
}
.waitlist-close:hover { color: var(--text); background: var(--surface-2); }
.waitlist-dialog h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 var(--s2); }
.waitlist-sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 var(--s5); }
.waitlist-dialog form { display: flex; flex-direction: column; gap: var(--s3); }
.waitlist-dialog input[type="email"] {
  height: 46px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: inherit; font-size: 15px; width: 100%;
}
.waitlist-dialog input[type="email"]:focus { outline: none; border-color: var(--accent); }
.waitlist-dialog .btn { width: 100%; height: 46px; }
.waitlist-msg { margin: var(--s2) 0 0; font-size: 13px; min-height: 1.2em; }
.waitlist-msg[data-kind="error"] { color: #e88; }
.waitlist-msg[data-kind="success"] { color: var(--accent-2); }
.waitlist-fineprint { color: var(--muted-2); font-size: 12px; margin: var(--s5) 0 0; }
.waitlist-fineprint a { color: var(--muted); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════
   v4 — mission site: presence hero, doctrine, research ledger, lab pages,
   lineage timeline, horizon table, sticky mobile CTA. Additive; nothing
   above is redefined. */

/* mission hero — headline + presence panel side by side */
.hero.mission { text-align: left; padding: var(--s12) 0 var(--s10); }
.hero.mission .hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s8); align-items: center; }
.hero.mission h1 { max-width: 12ch; font-size: clamp(42px, 6.4vw, 80px); }
.hero.mission .lede { max-width: 44ch; }
.hero.mission .hero-actions { justify-content: flex-start; }
.hero.mission .bridge { margin: var(--s5) 0 0; color: rgba(255,255,255,0.72); font-size: 15px; max-width: 46ch; }
.hero.mission .bridge b { color: var(--accent-2); font-weight: 600; }
.mission-line { display: block; margin-top: var(--s4); font: 500 12px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); max-width: 52ch; }

/* presence panel — Anjo speaking on the page */
.presence {
  position: relative; border: 1px solid var(--line-strong); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: var(--s5) var(--s5) var(--s4); min-height: 340px;
  display: flex; flex-direction: column; gap: var(--s3);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,169,110,0.06) inset;
}
.presence-head { display: flex; align-items: center; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.presence-head .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); margin-right: 8px; vertical-align: 1px; animation: p-breathe 3.2s ease-in-out infinite; }
@keyframes p-breathe { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
.presence-lines { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.presence-line { margin: 0; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.42; letter-spacing: -0.014em; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.presence-line.in { opacity: 1; transform: none; }
.presence-line.soft { color: var(--muted); font-size: 15.5px; }
.presence-line .chip {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 4px 10px; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--accent-2);
  cursor: pointer; background: transparent; transition: border-color .2s, background .2s; vertical-align: 2px;
}
.presence-line .chip:hover, .presence-line .chip:focus-visible { border-color: var(--accent); background: rgba(201,169,110,0.08); outline: none; }
.presence-receipt { font: 500 12px/1.6 var(--mono); color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; margin: -4px 0 0; }
.presence-receipt b { color: var(--text); font-weight: 600; }
.presence-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.presence-actions .btn { height: 34px; padding: 0 14px; font-size: 13px; }
.presence.corrected { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); }
.hero.mission.state-held #hero-pigment { filter: hue-rotate(-18deg) saturate(1.15); }
.hero.mission.state-corrected #hero-pigment { filter: hue-rotate(28deg); }
#hero-pigment { transition: opacity 1.2s var(--ease), filter 1.6s var(--ease); }

/* doctrine — five laws, oversize numbered statement */
.doctrine { list-style: none; margin: var(--s8) 0 0; padding: 0; counter-reset: law; }
.doctrine li { counter-increment: law; display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s5); align-items: baseline; padding: var(--s6) 0; border-top: 1px solid var(--line); }
.doctrine li:last-child { border-bottom: 1px solid var(--line); }
.doctrine li::before { content: counter(law, upper-roman); font: 500 13px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.doctrine h3 { margin: 0; font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.04; letter-spacing: -0.04em; }
.doctrine p { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 52ch; }
.doctrine a.proof { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .18s; }
.doctrine a.proof:hover { color: var(--accent-2); }
.doctrine li:hover::before { color: var(--accent-2); }

/* research ledger — numbers in the margin */
.ledger { margin: var(--s8) 0 0; border-top: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: 160px 1fr 24px; gap: var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.ledger a:hover { background: linear-gradient(90deg, rgba(201,169,110,0.06), transparent 60%); }
.ledger .n { font: 600 clamp(22px, 2.6vw, 32px)/1 var(--mono); letter-spacing: -0.03em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.ledger .n small { display: block; margin-top: 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.ledger h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.ledger p { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 64ch; }
.ledger .go { color: var(--muted-2); font-size: 18px; transition: color .18s, transform .18s var(--ease); }
.ledger a:hover .go { color: var(--accent-2); transform: translateX(3px); }

/* moments — what it is like, shown */
.moments { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s5); margin-top: var(--s8); }
.moment { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); background: var(--surface); display: flex; flex-direction: column; gap: var(--s3); }
.moment.wide { grid-column: 1 / -1; }
.moment .kicker { margin-bottom: 4px; }
.moment h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.025em; }
.moment p { margin: 0; color: var(--muted); font-size: 15px; max-width: 58ch; }
.receipt-card { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 14px 16px; background: #0b0b0d; font-size: 15px; line-height: 1.5; }
.receipt-card .rc-read { color: var(--text); }
.receipt-card .rc-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted-2); }
.receipt-card .rc-meta b { color: var(--accent-2); font-weight: 600; }
.receipt-card .rc-actions { display: flex; gap: 8px; margin-top: 12px; }
.receipt-card .rc-actions span { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: var(--r-full); border: 1px solid var(--line-strong); color: var(--muted); }
.receipt-card .rc-actions span.hot { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); }
.now-line { display: flex; gap: 12px; align-items: flex-start; border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; }
.now-line .nl-k { font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.now-line .nl-t { margin: 0; color: var(--text); font-size: 15.5px; }

/* lab pages — vision / about / press / investors / blog */
.lab { padding: var(--s12) 0 var(--s10); }
.lab .wrap { max-width: 820px; }
.lab-head h1 { font-size: clamp(38px, 6vw, 72px); max-width: 16ch; }
.lab-head .lede { font-size: clamp(18px, 2.2vw, 22px); color: rgba(255,255,255,0.86); max-width: 52ch; }
.lab-head .meta { margin-top: var(--s5); font: 500 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--muted-2); }
.prose { margin-top: var(--s8); }
.prose h2 { margin: var(--s10) 0 var(--s4); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.06; letter-spacing: -0.035em; }
.prose h3 { margin: var(--s6) 0 var(--s3); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.prose p { margin: 0 0 var(--s4); max-width: 66ch; }
.prose p.big { font-size: clamp(20px, 2.6vw, 27px); line-height: 1.35; letter-spacing: -0.02em; color: var(--text); max-width: 36ch; }
.prose p.big em { font-style: normal; color: var(--accent-2); }
.prose ul, .prose ol { margin: 0 0 var(--s5); padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--accent-2); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { margin: var(--s6) 0; padding: 0 0 0 var(--s5); border-left: 2px solid var(--accent); }
.prose blockquote p { color: var(--text); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; letter-spacing: -0.015em; }
.prose code { font: 500 .92em var(--mono); color: var(--text); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.prose .define { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); background: var(--surface); }
.prose .define p { font-size: 15px; margin-bottom: 8px; }
.prose .define p:last-child { margin-bottom: 0; }
.prose .define b { color: var(--text); }
.passage { margin: var(--s8) 0; }
.passage p { color: var(--text); font-size: clamp(19px, 2.4vw, 25px); line-height: 1.42; letter-spacing: -0.02em; max-width: 34ch; margin: 0 0 var(--s5); }
.passage p.turn { color: var(--accent-2); }

/* lineage timeline */
.lineage { list-style: none; margin: var(--s6) 0 0; padding: 0; border-top: 1px solid var(--line); }
.lineage li { display: grid; grid-template-columns: 84px 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lineage .yr { font: 600 15px/1 var(--mono); letter-spacing: .04em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.lineage h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.lineage p { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
.lineage li.now .yr { color: var(--text); }
.lineage li.now h3 { color: var(--accent-2); }

/* horizon table */
.horizon { width: 100%; border-collapse: collapse; margin-top: var(--s6); font-size: 15px; }
.horizon th, .horizon td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.horizon th { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); border-bottom-color: var(--line-strong); }
.horizon td.st { font: 600 15px/1 var(--mono); color: var(--accent); white-space: nowrap; width: 48px; }
.horizon td.nm { color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.horizon td.nm small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; font-size: 14px; max-width: 46ch; }
.horizon td.status { white-space: nowrap; }
.horizon .pill { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: var(--r-full); border: 1px solid var(--line-strong); color: var(--muted); }
.horizon .pill.on { color: #0e0d0c; border-color: transparent; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.horizon .pill.research { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); }
.horizon .pill.far { color: var(--muted-2); border-style: dashed; }
.horizon tr.far td { color: var(--muted-2); }
.horizon tr.far td.nm { color: var(--muted); }

/* facts sheet / key-value */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin: var(--s6) 0; }
.fact { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); background: var(--surface); }
.fact .k { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.fact .v { margin-top: 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.035em; color: var(--text); }
.fact .v small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.dl-row { display: flex; gap: var(--s3); flex-wrap: wrap; margin: var(--s4) 0 var(--s6); }

/* post index */
.posts { list-style: none; margin: var(--s8) 0 0; padding: 0; border-top: 1px solid var(--line); }
.posts li a { display: grid; grid-template-columns: 110px 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .2s; }
.posts li a:hover { background: linear-gradient(90deg, rgba(201,169,110,0.06), transparent 60%); }
.posts .dt { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--muted-2); }
.posts h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.posts p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
.changelog { list-style: none; margin: var(--s8) 0 0; padding: 0; border-top: 1px solid var(--line); }
.changelog li { display: grid; grid-template-columns: 110px 1fr; gap: var(--s5); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.changelog li .dt { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; color: var(--muted-2); }
.changelog li b { color: var(--text); font-weight: 600; }

/* sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,10,11,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; height: 44px; }

/* nav: more links, tighter */
.nav-links { gap: var(--s4); }
.nav-links a.lnk.on { color: var(--text); }

/* section kicker reveal */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* focus states everywhere */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 1000px) {
  .hero.mission .hero-inner { grid-template-columns: 1fr; gap: var(--s6); }
  .hero.mission h1 { max-width: 14ch; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero.mission { padding: var(--s10) 0 var(--s8); }
  .doctrine li { grid-template-columns: 40px 1fr; }
  .doctrine a.proof { grid-column: 2; }
  .ledger a { grid-template-columns: 1fr; gap: 8px; }
  .ledger .go { display: none; }
  .moments { grid-template-columns: 1fr; }
  .lineage li, .posts li a, .changelog li { grid-template-columns: 1fr; gap: 6px; }
  .horizon td.status { white-space: normal; }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 72px; }
}
@media (max-width: 380px) {
  .hero.mission h1 { font-size: 36px; }
  .presence { padding: var(--s4); min-height: 0; }
  .presence-line { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .presence-line, .reveal, .mobile-cta { transition: none; }
  .presence-line, .reveal { opacity: 1; transform: none; }
  .presence-head .dot { animation: none; }
  #hero-pigment { transition: none; }
}
.prose a.btn-primary, .prose a.btn-primary:hover { color: #0a0a0b; text-decoration: none; }
.prose a.btn-ghost:hover { text-decoration: none; }

