/* domain-sites shared design system v3 (concept-first, zero deps, self-hosted fonts)
   Each site overrides --accent / --accent2 / --accent-ink via a site-level :root block. */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --ink: #11151b;
  --paper: #f6f5f1;
  --paper2: #efece4;
  --hero: #0a0d12;
  --accent: #10b981;
  --accent2: #d8b36a;
  --danger: #ef5252;
  --amber: #f0a53a;
  --muted: #6b7280;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --r: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); background: rgba(10,13,18,.78); border-bottom: 1px solid rgba(255,255,255,.08); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-size: 1.35rem; color: #fff; text-decoration: none; letter-spacing: .01em; }
.brand em { color: var(--accent); font-style: italic; }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .9rem; transition: color .2s; }
nav.main a:hover { color: #fff; }
nav.main a.cta { background: var(--accent); color: var(--hero); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
nav.main a.cta:hover { filter: brightness(1.1); color: var(--hero); }

/* ---------- hero ---------- */
.hero-dark { background: var(--hero); color: #fff; position: relative; overflow: hidden; }
.hero-dark::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%),
  radial-gradient(500px 360px at 8% 110%, color-mix(in srgb, var(--accent2) 12%, transparent), transparent 60%);
  pointer-events: none; }
.hero-dark.grain::after { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
.hero-inner { position: relative; padding: 92px 0 84px; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent2); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent2); }
h1.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 22px; }
h1.display em { color: var(--accent); font-style: italic; }
.lede { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: transform .15s, filter .15s; }
.btn.solid { background: var(--accent); color: var(--hero); }
.btn.ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.g-pill { font-family: var(--mono); font-size: .75rem; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
section.soft { background: var(--paper2); }
section.dark { background: var(--hero); color: #fff; }
.s-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.s-label::before { content: ""; width: 20px; height: 1px; background: var(--muted); }
section.dark .s-label { color: rgba(255,255,255,.5); }
h2.serif { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; margin-bottom: 16px; }
h2.serif em { color: var(--accent); font-style: italic; }
section.dark h2.serif em { color: var(--accent); }
.sub { color: var(--muted); max-width: 640px; font-size: 1rem; }
section.dark .sub { color: rgba(255,255,255,.68); }

/* ---------- cards / grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 1px 3px rgba(17,21,27,.06); border: 1px solid rgba(17,21,27,.05); }
section.dark .card { background: #131820; border-color: rgba(255,255,255,.07); }
.card .num { font-family: var(--mono); font-size: .78rem; color: var(--accent); display: block; margin-bottom: 10px; }
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
section.dark .card h3 { color: #fff; }
.card p { font-size: .9rem; color: var(--muted); }
section.dark .card p { color: rgba(255,255,255,.62); }

/* ---------- wow: the ledger ---------- */
.ledger { margin-top: 44px; max-width: 640px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.42); font-family: var(--mono); }
.ledger-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.09); font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.62); }
.ledger-bar .dots { display: flex; gap: 5px; }
.ledger-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.ledger-bar .tag { margin-left: auto; color: var(--accent); }
.ledger-body { padding: 14px 16px 18px; min-height: 150px; }
.l-line { display: flex; gap: 10px; align-items: baseline; font-size: .8rem; opacity: 0; animation: lIn .35s ease forwards; margin-bottom: 8px; }
.l-line .t { color: rgba(255,255,255,.38); flex-shrink: 0; }
.l-line .b { color: rgba(255,255,255,.9); font-weight: 600; }
.l-line .m { color: rgba(255,255,255,.55); }
.chip { font-size: .62rem; letter-spacing: .1em; padding: 2px 8px; border-radius: 999px; margin-left: auto; flex-shrink: 0; }
.chip.sus { background: rgba(239,82,82,.16); color: var(--danger); }
.chip.rev { background: rgba(240,165,58,.16); color: var(--amber); }
.chip.ok { background: rgba(16,185,129,.16); color: var(--accent); }
@keyframes lIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.caret::after { content: "▊"; color: var(--accent); animation: blink 1s steps(1) infinite; margin-left: 4px; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .l-line { animation: none; opacity: 1; } .caret::after { animation: none; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
footer { background: var(--hero); color: rgba(255,255,255,.55); padding: 40px 0; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: rgba(255,255,255,.7); text-decoration: none; }
footer a:hover { color: #fff; }

/* ============ THEME VARIANTS (additive, v2) ============ */

/* --- Light hero: paper background, ink text (editorial/calm brands) --- */
.hero-light { background: var(--paper); color: var(--ink); }
.hero-light::before {
  background:
    radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%),
    radial-gradient(500px 360px at 8% 110%, color-mix(in srgb, var(--accent2) 8%, transparent), transparent 60%);
}
.hero-light.grain::after { opacity: .025; }
.hero-light .eyebrow { color: var(--accent); }
.hero-light .eyebrow::before { background: var(--accent); }
.hero-light h1.display { color: var(--ink); }
.hero-light .lede { color: var(--muted); }
.hero-light .btn.ghost { border-color: rgba(17,21,27,.22); color: var(--ink); }
.hero-light .btn.ghost:hover { border-color: var(--ink); filter: none; transform: translateY(-1px); }
.hero-light .g-pill { color: var(--muted); border-color: rgba(17,21,27,.14); }
.hero-light .ledger { background: #fff; border-color: rgba(17,21,27,.12); box-shadow: 0 1px 3px rgba(17,21,27,.08); }
.hero-light .ledger-bar { background: rgba(17,21,27,.04); border-bottom-color: rgba(17,21,27,.08); color: var(--muted); }
.hero-light .ledger-bar .dots i { background: rgba(17,21,27,.18); }
.hero-light .l-line .b { color: var(--ink); }
.hero-light .l-line .m { color: var(--muted); }
.hero-light .l-line .t { color: rgba(17,21,27,.35); }

/* --- Editorial: tighter serif display, thin rules, refined cards --- */
body.theme-editorial h1.display { font-size: clamp(2.7rem, 5.4vw, 4.6rem); letter-spacing: -.02em; }
body.theme-editorial .card { border-radius: 4px; box-shadow: none; border-color: rgba(17,21,27,.12); }
body.theme-editorial .btn { border-radius: 4px; }
body.theme-editorial .ledger { border-radius: 6px; }

/* --- Playful: big radii, chunky buttons, sticker chips --- */
body.theme-playful .card { border-radius: 28px; }
body.theme-playful .btn { border-radius: 18px; padding: 14px 28px; font-weight: 700; }
body.theme-playful .ledger { border-radius: 22px; }
body.theme-playful .g-pill { border-radius: 12px; }
body.theme-playful h1.display { letter-spacing: -.01em; }

/* --- Racing: condensed bold display, sharp chips --- */
body.theme-racing h1.display { text-transform: uppercase; letter-spacing: .02em; font-family: var(--sans); font-weight: 800; }
body.theme-racing .card { border-radius: 8px; }
body.theme-racing .btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

/* --- Chalk: soft chalkboard glow, hand-drawn feel --- */
body.theme-chalk .hero-dark::before { background: radial-gradient(700px 500px at 50% -20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
body.theme-chalk .ledger { border-radius: 18px; }
body.theme-chalk h1.display { font-weight: 400; }

/* --- Hazard: yellow/black industrial, striped accents --- */
body.theme-hazard .hero-dark::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 10px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--hero) 14px 28px);
}
body.theme-hazard .btn.solid { border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }

/* --- Luxury: gold on deep jewel, refined serif --- */
body.theme-luxury h1.display { font-size: clamp(2.8rem, 5.8vw, 4.8rem); }
body.theme-luxury .card { border-radius: 2px; border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
body.theme-luxury .ledger { border-radius: 4px; border-color: color-mix(in srgb, var(--accent) 25%, transparent); }

/* --- Minimal: near-white, huge type, almost no chrome --- */
body.theme-minimal .card { background: transparent; box-shadow: none; border-color: rgba(17,21,27,.1); border-radius: 0; }
body.theme-minimal .btn { border-radius: 0; }
body.theme-minimal .ledger { border-radius: 0; }

/* --- Cyber: midnight + neon, glow accents --- */
body.theme-cyber .ledger { border-color: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 12%, transparent); }
body.theme-cyber .btn.solid { box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 30%, transparent); }

/* --- Radar: concentric rings behind the hero --- */
body.theme-radar .hero-dark::before {
  background:
    radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--accent) 14%, transparent) 0 60px, transparent 61px),
    radial-gradient(circle at 78% 30%, transparent 0 130px, color-mix(in srgb, var(--accent) 8%, transparent) 131px 132px, transparent 133px),
    radial-gradient(circle at 78% 30%, transparent 0 200px, color-mix(in srgb, var(--accent) 7%, transparent) 201px 202px, transparent 203px),
    radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%);
}

/* --- Map: fine grid + route dots (travel) --- */
body.theme-map .hero-dark::before {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent2) 16%, transparent), transparent 65%);
  background-size: 44px 44px, 44px 44px, auto;
}

/* --- Clay: soft terracotta wash --- */
body.theme-clay .hero-dark::before {
  background: radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%),
    radial-gradient(500px 360px at 8% 110%, color-mix(in srgb, var(--accent2) 12%, transparent), transparent 60%);
}

/* --- Sky: layered cloud bands --- */
body.theme-sky .hero-dark::before {
  background:
    radial-gradient(ellipse 60% 18% at 20% 68%, color-mix(in srgb, #fff 8%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 14% at 65% 75%, color-mix(in srgb, #fff 6%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
}

/* --- Japan: vermillion sun + wave band --- */
body.theme-japan .hero-dark::before {
  background:
    radial-gradient(circle 130px at 82% 18%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
    linear-gradient(180deg, transparent 72%, color-mix(in srgb, var(--accent2) 10%, transparent) 72% 76%, transparent 76%);
}

/* --- Spa: soft aqua light, airy --- */
body.theme-spa .hero-light::before {
  background:
    radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%),
    radial-gradient(500px 360px at 8% 110%, color-mix(in srgb, var(--accent2) 10%, transparent), transparent 60%);
}
body.theme-spa .card { border-radius: 24px; }

/* --- Scallop: scalloped card edges (rug theme) --- */
body.theme-scallop .card { border-radius: 24px 24px 14px 14px; border-bottom: 6px solid color-mix(in srgb, var(--accent) 35%, transparent); }

/* --- Steam: rising wisps (coffee) --- */
body.theme-coffee .hero-dark::before {
  background:
    radial-gradient(120px 60px at 30% 62%, rgba(255,255,255,.05), transparent 70%),
    radial-gradient(90px 50px at 45% 58%, rgba(255,255,255,.04), transparent 70%),
    radial-gradient(600px 420px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%);
}

/* --- Code: faint code-line bands (dev/tutorial) --- */
body.theme-code .hero-dark::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; opacity: .5;
  background:
    repeating-linear-gradient(180deg, transparent 0 23px, color-mix(in srgb, var(--accent) 7%, transparent) 23px 24px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
          mask-image: linear-gradient(180deg, transparent, #000);
}

/* --- Classified: stencil stamp corners (security) --- */
body.theme-classified .ledger-bar .tag { letter-spacing: .22em; }
body.theme-classified .g-pill { text-transform: uppercase; letter-spacing: .14em; }

/* ============ WOW COMPONENT LIBRARY (distinct per site) ============ */
.wow { margin-top: 44px; max-width: 640px; }
.wow-slot { position: relative; }

/* --- ROTATOR: cycling phrases (therapy-is) --- */
.rotator { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--accent); min-height: 1.4em; display: flex; align-items: center; }
.rotator .r-phrase { display: inline-block; animation: rIn .5s ease; }
@keyframes rIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- FLIP CARD (3D) --- */
.flip { perspective: 1000px; cursor: default; }
.flip-inner { position: relative; width: 100%; min-height: 180px; transform-style: preserve-3d; animation: flipLoop 7s ease-in-out infinite; }
.flip:hover .flip-inner { animation-play-state: paused; }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.42); font-family: var(--mono); font-size: .85rem; }
.flip-face .f-top { color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .1em; }
.flip-face .f-main { color: #fff; font-weight: 600; font-size: 1.1rem; }
.flip-face .f-chip { align-self: flex-start; font-size: .62rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; }
.flip-face.back { transform: rotateY(180deg); }
.hero-light .flip-face { background: #fff; border-color: rgba(17,21,27,.12); }
.hero-light .flip-face .f-top { color: var(--muted); }
.hero-light .flip-face .f-main { color: var(--ink); }
@keyframes flipLoop { 0%, 40% { transform: rotateY(0); } 65%, 95% { transform: rotateY(180deg); } 100% { transform: rotateY(0); } }

/* --- GAUGE: conic progress ring with count-up --- */
.gauge { display: flex; align-items: center; gap: 22px; }
.gauge-ring { --val: 0; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--val) * 1%), rgba(255,255,255,.1) 0); display: flex; align-items: center; justify-content: center; animation: gaugeIn 1.2s ease .2s both; }
.gauge-ring::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: var(--hero); }
.gauge-inner { position: relative; font-family: var(--mono); font-size: 1.4rem; color: #fff; }
.hero-light .gauge-inner { color: var(--ink); }
.hero-light .gauge-ring { background: conic-gradient(var(--accent) calc(var(--val) * 1%), rgba(17,21,27,.1) 0); }
.hero-light .gauge-ring::before { background: var(--paper); }
.gauge-legend { font-family: var(--mono); font-size: .8rem; color: rgba(255,255,255,.7); display: flex; flex-direction: column; gap: 8px; }
.hero-light .gauge-legend { color: var(--muted); }
.gauge-legend .g-row { display: flex; gap: 8px; align-items: baseline; }
.gauge-legend .g-k { color: var(--accent); font-weight: 700; }
@keyframes gaugeIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

/* --- STEPPER: advancing stages --- */
.stepper { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 14px; align-items: flex-start; opacity: .35; transition: opacity .5s; }
.step.active { opacity: 1; }
.step-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .68rem; color: rgba(255,255,255,.6); flex-shrink: 0; transition: all .4s; }
.hero-light .step-dot { border-color: rgba(17,21,27,.25); color: var(--muted); }
.step.active .step-dot { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.step-line { width: 2px; flex: 1; min-height: 22px; background: rgba(255,255,255,.12); margin-left: 12px; }
.hero-light .step-line { background: rgba(17,21,27,.12); }
.step:last-child .step-line { display: none; }
.step-body .s-t { font-family: var(--mono); font-size: .78rem; color: rgba(255,255,255,.9); font-weight: 600; }
.hero-light .step-body .s-t { color: var(--ink); }
.step-body .s-m { font-family: var(--mono); font-size: .72rem; color: rgba(255,255,255,.5); }
.hero-light .step-body .s-m { color: var(--muted); }

/* --- TICKER: scrolling marquee --- */
.ticker { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(0,0,0,.42); font-family: var(--mono); font-size: .8rem; }
.hero-light .ticker { background: #fff; border-color: rgba(17,21,27,.12); }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; padding: 16px 0; animation: tickerScroll 22s linear infinite; width: max-content; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { color: rgba(255,255,255,.75); }
.hero-light .ticker-track span { color: var(--ink); }
.ticker-track .t-tag { color: var(--accent); font-weight: 700; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- TYPEWRITER (code/question) --- */
.typewriter { font-family: var(--mono); font-size: .95rem; color: rgba(255,255,255,.85); min-height: 3.2em; border-left: 3px solid var(--accent); padding-left: 16px; }
.hero-light .typewriter { color: var(--ink); }
.typewriter .tw-line { display: block; opacity: 0; animation: twIn .3s ease forwards; }
@keyframes twIn { from { opacity: 0; } to { opacity: 1; } }
.typewriter .tw-caret { display: inline-block; width: 8px; height: 1em; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }

/* --- ORBIT: products around a hub (wez-me) --- */
.orbit { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.orbit-hub { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--accent); color: var(--hero); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: .8rem; z-index: 2; box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 40%, transparent); }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); }
.hero-light .orbit-ring { border-color: rgba(17,21,27,.18); }
.orbit-item { position: absolute; width: 92px; text-align: center; font-family: var(--mono); font-size: .7rem; color: rgba(255,255,255,.75); animation: orbitSpin 18s linear infinite; }
.hero-light .orbit-item { color: var(--ink); }
.orbit-item i { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin: 0 auto 6px; box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes orbitSpin { from { transform: rotate(0) translateX(140px) rotate(0); } to { transform: rotate(360deg) translateX(140px) rotate(-360deg); } }

/* --- STAMP: document stamp landing --- */
.stamp-wrap { display: flex; align-items: center; gap: 24px; font-family: var(--mono); }
.stamp-doc { flex: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(0,0,0,.42); padding: 18px; min-height: 150px; position: relative; }
.hero-light .stamp-doc { background: #fff; border-color: rgba(17,21,27,.12); }
.stamp-doc .sd-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); margin-bottom: 12px; }
.hero-light .stamp-doc .sd-line { background: rgba(17,21,27,.1); }
.stamp-doc .sd-line.short { width: 60%; }
.stamp-mark { font-size: 1.1rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); border: 3px solid var(--accent); border-radius: 8px; padding: 10px 14px; transform: rotate(-12deg); opacity: 0; animation: stampIn 1.2s ease 1.6s infinite; text-transform: uppercase; }
@keyframes stampIn { 0%, 55% { opacity: 0; transform: rotate(-12deg) scale(1.4); } 70%, 95% { opacity: 1; transform: rotate(-12deg) scale(1); } 100% { opacity: 0; } }

/* --- DRAW: self-drawing SVG path --- */
.draw-wrap { position: relative; }
.draw-wrap svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.draw-path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawIn 3.2s ease forwards; }
.draw-path.delay { animation-delay: .9s; }
.draw-path.delay2 { animation-delay: 1.8s; }
.draw-path.soft { stroke: color-mix(in srgb, var(--accent) 45%, transparent); }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.draw-dot { fill: var(--accent); opacity: 0; animation: dotIn .4s ease forwards; }
.draw-dot.d1 { animation-delay: 2.4s; } .draw-dot.d2 { animation-delay: 3s; } .draw-dot.d3 { animation-delay: 3.6s; }
@keyframes dotIn { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .flip-inner, .ticker-track, .orbit-item { animation: none; }
  .stamp-mark { animation: none; opacity: 1; transform: rotate(-12deg); }
  .draw-path { animation: none; stroke-dashoffset: 0; }
  .draw-dot { animation: none; opacity: 1; }
}

/* ===== LAYOUT VARIANTS (uniqueness pass v2) ===== */
/* split hero: wow component sits right of the copy in a 2-col grid */
body.lv-split .hero-inner { display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center; }
body.lv-split .hero-inner .wow { grid-column: 2; grid-row: 1 / span 4; margin-top:0; }
body.lv-split .hero-inner .eyebrow, body.lv-split .hero-inner h1,
body.lv-split .hero-inner .lede, body.lv-split .hero-inner .cta-row { grid-column:1; }
body.lv-split .hero-inner .ledger, body.lv-split .hero-inner .draw-wrap,
body.lv-split .hero-inner .gauge, body.lv-split .hero-inner .flip,
body.lv-split .hero-inner .orbit, body.lv-split .hero-inner .stepper,
body.lv-split .hero-inner .ticker, body.lv-split .hero-inner .typewriter,
body.lv-split .hero-inner .stamp-wrap { grid-column:2; grid-row:1 / span 4; }
@media (max-width: 860px) { body.lv-split .hero-inner { display:block; } }

/* compact: hero shrinks, first section is soft immediately */
body.lv-compact .hero-inner { padding: 56px 0 48px; }
body.lv-compact .hero-inner h1.display { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
body.lv-compact section:first-of-type { padding-top: 40px; }

/* banded: sections alternate dark/soft including the hero->first transition */
body.lv-band section:nth-of-type(odd) { background: var(--paper2); }
body.lv-band section:nth-of-type(even) { background: var(--paper); }

/* editorial: serif everywhere, hairline rules instead of cards */
body.lv-editorial .card { box-shadow:none; border:none; border-top: 1px solid rgba(17,21,27,.15); border-radius:0; padding: 20px 0; }
body.lv-editorial .grid { gap: 30px; }
body.lv-editorial .card .num { letter-spacing:.2em; }

/* ==== populize theme ==== */
:root { --accent:#a3e635;--accent2:#c084fc;--hero:#171238;--paper:#f6f5f1 }

/* ==== archetype: glassmorphism (populize) ==== */

/* ==== archetype: glassmorphism (frosted panels, glow, gradient blobs) ==== */
body { background: #0a0e1a; color: #e8ecf8; }
header.site { background: rgba(10,14,26,.55); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
header.site .wrap { height: 68px; }
.brand { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: .02em; }
.brand em { color: var(--accent); }
nav.main a { color: rgba(232,236,248,.6); font-size: .85rem; }
body .hero-dark.grain { background: #0a0e1a; }
.hero-dark::before {
  background:
    radial-gradient(700px 500px at 80% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 60%);
}
.hero-inner { padding: 120px 0 110px; }
body.theme-cyber .eyebrow { color: var(--accent); font-weight: 600; }
body h1.display { font-family: var(--sans); font-weight: 700; font-size: clamp(2.8rem, 5.8vw, 4.6rem); letter-spacing: -.02em; }
h1.display em { color: var(--accent); }
body.theme-cyber .lede { color: rgba(232,236,248,.7); font-size: 1.15rem; }
body.theme-cyber .btn.solid { border-radius: 14px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--accent2))); color: #fff; font-weight: 700; box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
body.theme-cyber .btn.ghost { border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e8ecf8; backdrop-filter: blur(8px); }
body.theme-cyber .card { border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.card .num { color: var(--accent); font-weight: 700; }
.card h3 { color: #fff; font-weight: 700; }
.card p { color: rgba(232,236,248,.62); }
body.theme-cyber section.dark .card { background: rgba(255,255,255,.05); }
body.theme-cyber section.soft { background: #0d1220; }
footer { background: #070a12; border-top: 1px solid rgba(255,255,255,.07); }
body.theme-cyber .g-pill { border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(232,236,248,.8); }
body h2.serif { font-weight: 700; font-family: var(--sans); }


/* ---- waitlist form (on-site, no mailto) ---- */
.wl-wrap { max-width: 560px; margin: 0 auto; }
.wl-form { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.wl-form input[type="email"] {
  flex: 1 1 240px; padding: 13px 18px; font-size: 1rem;
  border: 1.5px solid rgba(17,21,27,.25); border-radius: 10px; background: #fff; color: #11151b;
}
section.dark .wl-form input[type="email"] { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
section.dark .wl-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.wl-msg { flex-basis: 100%; font-size: .9rem; margin-top: 4px; }
.wl-msg.ok { color: var(--accent); }
.wl-msg.err { color: var(--danger); }
section.dark .wl-msg.ok { color: color-mix(in srgb, var(--accent) 75%, #fff); }

/* contrast fix (glassmorphism) */

body.theme-cyber section.dark { background: #0a0e1a; }
body.theme-cyber section.dark .sub { color: rgba(232,236,248,.72); }
body.theme-cyber section.dark .s-label { color: rgba(232,236,248,.6); }
body.theme-cyber section.dark .card p { color: rgba(232,236,248,.72); }
body.theme-cyber section.soft { background: #0d1220; }
body.theme-cyber section.soft .sub { color: rgba(232,236,248,.7); }


/* contrast fix 2 (glassmorphism) */

body.theme-cyber .card p { color: rgba(232,236,248,.78); }
body.theme-cyber .s-label { color: rgba(232,236,248,.7); }
body.theme-cyber .sub { color: rgba(232,236,248,.75); }
body.theme-cyber .eyebrow { color: var(--accent); }
body.theme-cyber .card .num { color: var(--accent); }


/* ---- audience audit checklist (populize) ---- */
.checklist { list-style: none; margin: 14px 0 6px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.checklist li label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checklist input[type="checkbox"] { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
section.dark .checklist li { color: rgba(232,236,248,.85); }
.wl-form input[type="text"] { flex: 1 1 200px; padding: 13px 18px; font-size: 1rem; border: 1.5px solid rgba(17,21,27,.25); border-radius: 10px; background: #fff; color: #11151b; }
section.dark .wl-form input[type="text"] { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
section.dark .wl-form input[type="text"]::placeholder { color: rgba(255,255,255,.5); }
