/* ============================================================
   VOLTURA AI — "OBSERVATORY" DESIGN SYSTEM
   The instrument that watches the sky.
   Dark space canvas · gold-as-sunlight · reticle chrome · mono readouts
   ============================================================ */

/* ------------------------------------------------ tokens --- */
:root {
  /* palette */
  --bg:        #05070f;
  --bg-raised: #0a0f1e;
  --bg-deep:   #04060c;
  --bg-footer: #03050a;
  --gold:      #ffc52e;
  --gold-deep: #c8830c;
  --gold-hi:   #ffdd7a;
  --cyan:      #6ee7ff;
  --cyan-mut:  #3aa7c9;
  --text:      #e8ecf4;
  --text-2:    #8b93a7;
  --line:      rgba(255,255,255,.08);
  --line-soft: rgba(255,255,255,.05);
  --gold-line: rgba(255,197,46,.35);

  /* type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", "Cascadia Mono", ui-monospace, monospace;

  --fs-hero:  clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --fs-h2:    clamp(2rem, 3vw + .5rem, 3.25rem);
  --fs-h3:    clamp(1.375rem, 1.5vw + .75rem, 1.75rem);
  --fs-body:  1.0625rem;
  --fs-small: .9375rem;
  --fs-mono:  .8125rem;

  /* rhythm */
  --space-section: clamp(4.5rem, 10vh, 8rem);
  --container: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
}

@property --a {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: rgba(255,197,46,.25); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------- utilities --- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
}
.section--raised { background: var(--bg-raised); }

/* horizon rule — thin line with gold centre glow */
.h-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

/* mono eyebrow — the instrument voice */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: "◤"; font-size: .8em; color: var(--gold-deep); }

/* oversized ghost section numerals */
.section-num {
  position: absolute;
  top: clamp(1rem, 4vw, 2.5rem);
  right: clamp(.5rem, 3vw, 3rem);
  font-family: var(--font-mono);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 1;
  color: rgba(232,236,244,.04);
  pointer-events: none;
  user-select: none;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }

.lead {
  color: var(--text-2);
  max-width: 62ch;
  margin-top: 1.25rem;
}
.gold-text { color: var(--gold); }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* corner glow fields (Vercel trick) — one per section max */
.glow-tr::after,
.glow-bl::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-tr::after {
  top: -260px; right: -220px;
  background: radial-gradient(circle, rgba(255,197,46,.05), transparent 65%);
}
.glow-bl::before {
  bottom: -280px; left: -240px;
  background: radial-gradient(circle, rgba(110,231,255,.04), transparent 65%);
}
.section > .container { position: relative; z-index: 1; }

/* ------------------------------------------------ reveal --- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ----------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #eab114);
  color: #171001;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 0 0 rgba(255,197,46,0);
}
.btn-ghost {
  border: 1px solid rgba(255,197,46,.4);
  color: var(--gold);
  background: rgba(255,197,46,.02);
}
@media (hover: hover) {
  .btn-gold:hover { transform: scale(1.02); box-shadow: 0 0 28px rgba(255,197,46,.3); }
  .btn-ghost:hover { background: rgba(255,197,46,.08); box-shadow: 0 0 24px rgba(255,197,46,.25); }
  .btn .btn-arrow { transition: transform .25s var(--ease); }
  .btn:hover .btn-arrow { transform: translateX(4px); }
}

/* --------------------------------------------------- nav --- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(5,7,15,.55);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled {
  background: rgba(5,7,15,.85);
  border-bottom-color: rgba(255,197,46,.14);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .14em;
  color: var(--text);
  z-index: 130;
}
.brand .logo-mark { width: 26px; height: 26px; flex: none; }
.brand .brand-ai { color: var(--gold); }
@media (hover: hover) {
  .brand:hover .logo-mark { animation: spark-blink .35s steps(2, jump-none) 1; }
}
@keyframes spark-blink { 50% { opacity: .35; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.nav-links a:not(.btn) {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-2);
  padding-block: .35rem;
  transition: color .25s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
@media (hover: hover) {
  .nav-links a:not(.btn):hover { color: var(--text); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
}
.nav-cta {
  min-height: 38px;
  padding: .45rem 1.15rem;
  font-size: var(--fs-small);
  border-radius: 8px;
}
.nav-links .link-num { display: none; }

/* hamburger */
.nav-toggle {
  display: none;
  z-index: 130;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* -------------------------------------------------- hero --- */
.hero {
  position: relative;
  min-height: min(100svh, 1080px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, #070b17 60%, var(--bg-raised) 100%);
  overflow: hidden;
}
/* horizon glow lives BEHIND the canvas so drifting cloud shadows dim it */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 34% at var(--sun-x, 50%) 78%, rgba(255,197,46,.16), transparent 70%),
    radial-gradient(24% 26% at 6% 74%, rgba(110,231,255,.05), transparent 70%),
    radial-gradient(24% 26% at 94% 74%, rgba(110,231,255,.05), transparent 70%);
  z-index: 0;
}
#field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero h1 .line { display: block; }
.hero h1 .line-gold {
  background: linear-gradient(96deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-hi) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.1vw + .8rem, 1.25rem);
  max-width: 56ch;
  margin: 1.75rem auto 2.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* mono instrument readout, bottom-left */
.hero-readout {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: rgba(139,147,167,.75);
  text-transform: uppercase;
  text-align: left;
}
.hero-readout .tick { color: var(--gold-deep); }

/* scroll cue — descending gold dot on a 1px line */
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .2em;
  color: var(--text-2);
}
.scroll-cue .cue-line {
  position: relative;
  width: 1px; height: 44px;
  background: rgba(232,236,244,.14);
  overflow: hidden;
}
.scroll-cue .cue-line::after {
  content: "";
  position: absolute;
  left: -1.5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255,197,46,.8);
  animation: cue-drop 2.2s var(--ease) infinite;
}
@keyframes cue-drop {
  0%   { top: -6px; opacity: 0; }
  25%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 46px; opacity: 0; }
}

/* ------------------------------------- glass cards (the 3) --- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
/* corner reticles — 4 × L-marks painted as background strokes */
.card .reticles {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 1px 12px;
  background-repeat: no-repeat;
}
/* pointer-tracked inner light (--mx / --my set by JS) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,197,46,.07), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
  z-index: -1;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    background:
      linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
      conic-gradient(from var(--a),
        transparent 52%,
        rgba(255,197,46,.8) 74%,
        rgba(110,231,255,.5) 84%,
        transparent 96%) border-box;
    animation: border-spin 3.2s linear infinite;
  }
  .card:hover .reticles { opacity: 1; }
  .card:hover::after { opacity: 1; }
  .card:hover .card-link { color: var(--gold-hi); }
  .card:hover .card-link .arrow { transform: translateX(4px); }
}
@keyframes border-spin { to { --a: 360deg; } }

.card-index {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--gold-deep);
  letter-spacing: .1em;
  margin-bottom: 1.4rem;
}
.card-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 1.25rem; }
.card h3 { margin-bottom: .65rem; }
.card p { color: var(--text-2); font-size: var(--fs-small); flex: 1; }
.card-link {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--gold);
  transition: color .25s var(--ease);
}
.card-link .arrow { transition: transform .25s var(--ease); }

/* -------------------------------------- stat / why-now band --- */
.stats {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-block: 1px solid var(--line-soft);
  background: var(--bg-deep);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr;
}
.stat {
  padding: 2.25rem 1.5rem;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 15%;
  height: 70%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line), transparent);
}
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  white-space: nowrap;
  line-height: 1.1;
  color: var(--gold);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.stat--note {
  display: flex;
  align-items: center;
}
.stat--note p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text);
}
.stat--note .gold-text { color: var(--gold); }

/* --------------------------------------- mission strip --- */
.mission-strip {
  background: var(--bg-deep);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  text-align: center;
  overflow: hidden;
}
.mission-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 2.9rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(100deg,
    #7a611e 0%, var(--gold) 38%, var(--gold-hi) 50%, var(--gold) 62%, #7a611e 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}

/* -------------------------------------------- how it works --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.step { position: relative; padding-right: 1rem; }
.step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .12em;
  color: var(--gold);
}
.step-num::before { content: "[ "; color: var(--gold-deep); }
.step-num::after  { content: " ]"; color: var(--gold-deep); }
.step h3 { margin: .9rem 0 .55rem; }
.step p { color: var(--text-2); font-size: var(--fs-small); max-width: 40ch; }
.step::after {
  content: "→";
  position: absolute;
  top: 0;
  right: -8px;
  font-family: var(--font-mono);
  color: var(--gold-deep);
  display: none;
}

/* -------------------------------------- credibility strip --- */
.cred-strip {
  background: var(--bg-deep);
  border-block: 1px solid var(--line-soft);
  padding-block: 2.75rem;
  text-align: center;
}
.cred-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .9rem 1.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.cred-items .dot { color: var(--gold); font-size: 1.1em; line-height: 1; }
.cred-note {
  margin-top: 1.1rem;
  font-size: var(--fs-small);
  color: var(--text-2);
}

/* ---------------------------------------------- founders --- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
.founder-card {
  position: relative;
  padding: 2rem 1.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.founder-card .reticles {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 1px 12px;
  background-repeat: no-repeat;
}
@media (hover: hover) {
  .founder-card:hover {
    border-color: rgba(110,231,255,.35);
    transform: translateY(-3px);
  }
  .founder-card:hover .reticles { opacity: 1; }
}
.monogram {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,197,46,.4);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .05em;
  color: var(--gold);
  background: rgba(255,197,46,.05);
  margin-bottom: 1.35rem;
}
.founder-card h3 { font-size: 1.35rem; font-weight: 700; }
.founder-role {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: .3rem 0 1rem;
}
.founder-mail {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-2);
  transition: color .25s var(--ease);
}
@media (hover: hover) { .founder-mail:hover { color: var(--gold); } }

.founders-aside p {
  color: var(--text-2);
  max-width: 46ch;
}
.founders-aside .std-link { margin-top: 1.5rem; }

.std-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold);
}
.std-link .arrow { transition: transform .25s var(--ease); }
@media (hover: hover) {
  .std-link:hover { color: var(--gold-hi); }
  .std-link:hover .arrow { transform: translateX(4px); }
}

/* --------------------------------------------------- CTA --- */
.cta-section { text-align: center; }
.cta-section h2 { max-width: 20ch; margin-inline: auto; }
.cta-section .lead { margin-inline: auto; text-align: center; }
.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ------------------------------------------------ footer --- */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold-line), transparent) 1;
  padding-top: clamp(3rem, 7vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1.1rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a {
  font-size: var(--fs-small);
  color: var(--text-2);
  transition: color .25s var(--ease);
}
@media (hover: hover) { .footer-col a:hover { color: var(--gold); } }
.footer-col .f-mail { font-family: var(--font-mono); font-size: .8125rem; }
.footer-col .f-name { color: var(--text); font-size: var(--fs-small); display: block; }

.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p {
  font-size: var(--fs-small);
  color: var(--text-2);
  max-width: 30ch;
}
.footer-brand .f-mission {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .05em;
  color: var(--text-2);
}
.sun-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255,197,46,.8);
  margin-right: .6rem;
  vertical-align: 1px;
}

/* ------------------------------------------- breakpoints --- */
@media (min-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .container { padding-inline: 48px; }
  .nav-inner { padding-inline: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards .card:last-child { grid-column: auto; }
  .step::after { display: block; }
  .step:last-child::after { display: none; }
  .founders-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* mobile nav overlay */
@media (max-width: 767.98px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: 2.1rem;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
  }
  .nav-open .nav-links a:not(.btn) {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i, 0) * 60ms + 80ms);
  }
  .nav-links .link-num {
    display: inline;
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--gold);
    letter-spacing: .1em;
    margin-right: .8rem;
  }
  .nav-links .link-num::after { content: " —"; color: var(--gold-deep); }
  .nav-cta {
    opacity: 0;
    transition: opacity .4s var(--ease) .35s;
    min-height: 48px;
    padding: .7rem 1.6rem;
    font-size: 1.05rem;
  }
  .nav-open .nav-cta { opacity: 1; }
  .nav-open { overflow: hidden; }
  .mission-line { white-space: normal; line-height: 1.35; text-wrap: balance; }
  .hero-readout { display: none; }
}

@media (max-width: 479.98px) {
  .hero-ctas .btn { width: 100%; }
  .stat { padding: 1.75rem 1.5rem; }
  .stat + .stat::before {
    left: 10%; top: 0;
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  }
}

/* ------------------------------------------ reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-cue .cue-line::after { animation: none; top: 20px; opacity: 1; }
  .mission-line {
    animation: none;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--gold);
  }
}

/* ============================================================
   WAVE 2 — INNER PAGES (additive only; nothing above modified)
   nav current-page · hero-lite · duo/trio panels · demos ·
   ensemble stack · revision log · finding cards · build grid ·
   prose · venture strip · mail cards
   ============================================================ */

/* current page highlighted in nav */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ------------------------------------------- hero-lite --- */
.hero--lite {
  min-height: min(74svh, 720px);
  padding-bottom: 4.25rem;
}
.hero--lite h1 { font-size: clamp(2.35rem, 3.4vw + 1rem, 4rem); }
.hero--lite .hero-sub { margin: 1.5rem auto 2.25rem; }

/* ------------------------------------ duo / trio panels --- */
.duo, .trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.panel {
  position: relative;
  padding: 1.9rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.panel-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.panel h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.panel p { color: var(--text-2); font-size: var(--fs-small); }

/* satellite-pixel demo (forecasting) */
.pixel-demo {
  position: relative;
  height: 150px;
  margin-bottom: 1.35rem;
  border: 1px dashed rgba(110,231,255,.45);
  border-radius: 8px;
  background: linear-gradient(rgba(110,231,255,.05), rgba(110,231,255,.02));
}
.pixel-demo::before {                    /* the cumulus */
  content: "";
  position: absolute;
  left: 22%; top: 46%;
  width: 52px; height: 24px;
  border-radius: 50%;
  background: rgba(232,236,244,.3);
  filter: blur(5px);
}
.demo-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan-mut);
}
.demo-label--tr { top: 10px; right: 12px; }
.demo-label--bl { bottom: 10px; left: 12px; color: var(--text-2); }

/* NWP cadence demo (forecasting) */
.cadence-demo {
  display: grid;
  gap: 1.05rem;
  margin-bottom: 1.35rem;
}
.cadence-row .demo-label { position: static; display: block; margin-bottom: .4rem; }
.demo-label--gold { color: var(--gold-deep); }
.tickline {
  height: 15px;
  border-bottom: 1px solid rgba(232,236,244,.15);
  background-image: repeating-linear-gradient(90deg,
    var(--tick-c) 0 1px, transparent 1px var(--tick-gap));
}
.tickline--sparse { --tick-c: rgba(110,231,255,.75); --tick-gap: 96px; }
.tickline--dense  { --tick-c: rgba(255,197,46,.8);   --tick-gap: 9px; }

/* mono feed readout (diagnostics panels) */
.feed-demo {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: grid;
  gap: .5rem;
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(4,6,12,.5);
}
.fd-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-2);
}
.fd-row .fd-val { color: var(--gold); letter-spacing: .02em; }
.fd-row .fd-val--cyan { color: var(--cyan); }
.fd-row .fd-val--dim { color: var(--text-2); }

/* --------------------------------- ensemble layer stack --- */
.ens-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.25rem;
  align-items: center;
}
.stack3d {
  display: flex;
  flex-direction: column;
  padding-block: .5rem;
}
.stack3d .layer {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 10px;
  width: min(430px, 100%);
  margin-inline: auto;
}
.stack3d .layer + .layer { margin-top: -48px; }
.layer--cam { z-index: 3; --plate-line: rgba(255,197,46,.5);   --plate-bg: rgba(255,197,46,.07);   --plate-glow: rgba(255,197,46,.14); }
.layer--sat { z-index: 2; --plate-line: rgba(110,231,255,.4);  --plate-bg: rgba(110,231,255,.05);  --plate-glow: rgba(110,231,255,.10); }
.layer--nwp { z-index: 1; --plate-line: rgba(232,236,244,.28); --plate-bg: rgba(232,236,244,.035); --plate-glow: rgba(232,236,244,.05); }
.plate-label {
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  text-align: right;
}
.plate-label::after { content: " —"; color: var(--plate-line); }
.plate {
  height: 118px;
  border-radius: 14px;
  border: 1px solid var(--plate-line);
  background: var(--plate-bg);
  box-shadow: 0 0 36px var(--plate-glow);
  transform: rotateX(58deg) rotateZ(-38deg);
  position: relative;
}
.plate::before {                         /* faint instrument grid */
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 8px;
  background-image:
    repeating-linear-gradient(90deg, var(--plate-line) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg,  var(--plate-line) 0 1px, transparent 1px 24px);
  opacity: .5;
}
.stack-caption {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.stack-caption::before { content: "⌄ "; color: var(--gold-deep); }

.ens-list { display: grid; gap: 2rem; }
.ens-item {
  border-left: 2px solid var(--chip, var(--gold));
  padding-left: 1.3rem;
}
.ens-item--cam { --chip: rgba(255,197,46,.7); }
.ens-item--sat { --chip: rgba(110,231,255,.6); }
.ens-item--nwp { --chip: rgba(232,236,244,.35); }
.ens-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.ens-item h3 { margin: .45rem 0 .4rem; }
.ens-item p { color: var(--text-2); font-size: var(--fs-small); max-width: 52ch; }

/* ------------------------------------- revision log ------ */
.log {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .03em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.008));
  padding: 1.4rem 1.6rem 1.1rem;
  max-width: 760px;
  overflow-x: auto;
}
.log-head {
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .75rem;
  margin-bottom: .9rem;
}
.log-line {
  display: flex;
  gap: 1.2rem;
  padding-block: .5rem;
  border-top: 1px dashed rgba(255,255,255,.07);
  color: var(--text-2);
  white-space: nowrap;
}
.log-line .t { color: var(--cyan-mut); flex: none; }
.log-line .up { color: var(--gold); }
.log-line .down { color: var(--cyan); }

/* -------------------------------- 4-step method variant --- */
.steps--4 { gap: 2.25rem; }

/* --------------------------------------- finding cards --- */
.find-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card--mini { padding: 1.6rem 1.5rem 1.5rem; }
.card--mini .card-index { margin-bottom: 1rem; }
.card--mini h3 { font-size: 1.125rem; line-height: 1.35; }
.card--mini p { flex: none; margin-top: .5rem; }

/* ----------------------------------------- build grid ---- */
.build-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }

/* ------------------------------------------ about prose --- */
.prose { max-width: 68ch; display: grid; gap: 1.35rem; }
.prose p { color: var(--text-2); }
.prose .lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  line-height: 1.5;
  color: var(--text);
}

/* -------------------------------------- venture strip ---- */
.venture-strip {
  background: var(--bg-deep);
  border-block: 1px solid var(--line-soft);
  padding-block: 2.4rem;
  text-align: center;
}
.venture-line {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-2);
}
.venture-line strong { color: var(--gold); font-weight: 500; }

/* ----------------------------------------- mail cards ---- */
.mail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 2.75rem auto 0;
  text-align: left;
}
.mail-card {
  position: relative;
  display: block;
  padding: 2rem 1.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.mail-card .reticles {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 1px 12px;
  background-repeat: no-repeat;
}
.mail-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}
.mail-card h3 { font-size: 1.35rem; font-weight: 700; }
.mail-role {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: .3rem 0 1.1rem;
}
.mail-addr {
  font-family: var(--font-mono);
  font-size: .9375rem;
  color: var(--gold);
  transition: color .25s var(--ease);
}
@media (hover: hover) {
  .mail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,197,46,.45);
    box-shadow: 0 0 32px rgba(255,197,46,.12);
  }
  .mail-card:hover .reticles { opacity: 1; }
  .mail-card:hover .mail-addr { color: var(--gold-hi); }
}

/* --------------------------------- wave-2 breakpoints ---- */
@media (min-width: 640px) {
  .find-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .duo { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trio { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
  .mail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .find-grid { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .ens-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}
@media (max-width: 479.98px) {
  .log-line { white-space: normal; }
}

/* ============================================================
   WAVE 3 — DEPICTION LAYER (visual-first overhaul, additive)
   split layouts · viz frames · D1–D10 components · icon chips
   Art style: 1–1.5px gold/cyan strokes, dark translucent fills,
   soft glows, subtle loops. Scripted parts live in visuals.js.
   ============================================================ */

/* ------------------------------------------- split layout --- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-copy .lead { margin-top: 1rem; }
.split-copy h2 { max-width: 18ch; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--rev .split-copy { order: 2; }
  .split--rev .split-viz  { order: 1; }
}

/* ---------------------------------------------- viz frame --- */
.viz {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  padding: 1.35rem 1.35rem 1.05rem;
}
.viz > .reticles {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  opacity: .5;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 1px 12px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 12px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 1px 12px;
  background-repeat: no-repeat;
}
.viz-cap {
  margin-top: .95rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1.25rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-2);
}
.viz-cap .vc-gold { color: var(--gold); }
.viz-cap .vc-cyan { color: var(--cyan-mut); }

/* SVG instrument text */
.viz svg text {
  font-family: var(--font-mono);
  letter-spacing: .08em;
}
.vt        { fill: var(--text-2); font-size: 11px; }
.vt--gold  { fill: var(--gold); }
.vt--dgold { fill: var(--gold-deep); }
.vt--cyan  { fill: var(--cyan-mut); }
.vt--dim   { fill: rgba(139,147,167,.55); }
.vt--lg    { font-size: 13px; }

/* shared depiction keyframes */
@keyframes vz-pulse   { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes vz-blink   { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes vz-flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 96% { opacity: .55; } }
@keyframes vz-twinkle { 0%, 100% { opacity: .18; } 50% { opacity: .8; } }
@keyframes vz-shimmer { 0%, 100% { opacity: .14; } 50% { opacity: .48; } }
@keyframes vz-dash    { to { stroke-dashoffset: -220; } }
@keyframes vz-ring    { from { transform: scale(.3); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes vz-grow    { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ------------------------------- D1 · pixel vs cloud ------- */
.viz--d1 .d1-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: center;
}
@media (min-width: 820px) {
  .viz--d1 .d1-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 2rem; }
}
.d1-svg { width: 100%; height: auto; }
.d1-cloud { will-change: transform; }
.d1-readouts {
  display: grid;
  gap: 1.2rem;
  font-family: var(--font-mono);
}
@media (max-width: 819.98px) {
  .d1-readouts { grid-template-columns: 1fr 1fr; }
  .d1-readouts .d1-cadence { grid-column: 1 / -1; }
}
.d1-ro-tag {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.d1-ro-val {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cyan-mut);
  font-variant-numeric: tabular-nums;
}
.d1-ro-val--gold { color: var(--gold); }
.d1-mean { animation: vz-blink 2.6s ease-in-out infinite; }
.d1-bar {
  height: 5px;
  margin-top: .45rem;
  border-radius: 3px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.d1-bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  background: var(--cyan-mut);
}
.d1-bar--gold span { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.d1-ro-sub {
  margin-top: .4rem;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(139,147,167,.65);
}
.d1-cadence { display: grid; gap: .55rem; }
.d1-cadence .demo-label { position: static; display: block; }

/* ------------------------------- D2 · ensemble layers ------ */
.viz--d2 svg { width: 100%; height: auto; }
.d2-nwpwave { animation: vz-pulse 5s ease-in-out infinite; }
.d2-scan    { animation: d2-scan 3.6s linear infinite; }
@keyframes d2-scan { from { transform: translate(0, 0); } to { transform: translate(160px, 58px); } }
.d2-dot     { animation: d2-drift 7s ease-in-out infinite alternate; }
@keyframes d2-drift { from { transform: translate(-52px, 19px); } to { transform: translate(52px, -19px); } }
.d2-ret     { animation: vz-pulse 2.2s ease-in-out infinite; }
.d2-beam-dot { opacity: 0; }
.d2-b1 { animation: d2-fall1 2.8s linear infinite; }
.d2-b2 { animation: d2-fall2 2.8s linear infinite .9s; }
.d2-b3 { animation: d2-fall3 2.8s linear infinite 1.8s; }
@keyframes d2-fall1 { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(266px); opacity: 0; } }
@keyframes d2-fall2 { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(166px); opacity: 0; } }
@keyframes d2-fall3 { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(66px); opacity: 0; } }
.d2-fc { stroke-dasharray: 6 5; animation: vz-dash 7s linear infinite; }

/* ------------------------------- D3 · intraday re-snap ----- */
.viz--d3 canvas {
  width: 100%;
  height: 300px;
  display: block;
}
@media (max-width: 640px) { .viz--d3 canvas { height: 230px; } }

/* ------------------------------- D4 · truth-engine flow ---- */
.viz--d4 svg { width: 100%; height: auto; }
.d4-path { fill: none; stroke: rgba(110,231,255,.16); stroke-width: 1; }
.d4-out  { fill: none; stroke: rgba(255,197,46,.18); stroke-width: 1; }
.d4-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: d4-spin 26s linear infinite;
}
.d4-ring--rev { animation: d4-spin 18s linear infinite reverse; }
@keyframes d4-spin { to { transform: rotate(360deg); } }
.d4-core-glow { animation: vz-pulse 4s ease-in-out infinite; }

@media (max-width: 640px) {
  .viz--d4 { overflow-x: auto; }
  .viz--d4 svg { min-width: 620px; }
}

/* ------------------------------- D5 · disagreeing gauges --- */
.d5-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 560px) { .d5-tiles { grid-template-columns: 1fr; } }
.d5-tile {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.05rem 1.05rem .95rem;
  background: rgba(4,6,12,.55);
  animation: vz-flicker 5.5s linear infinite;
  animation-delay: calc(var(--i, 0) * 1.7s);
}
.d5-tag {
  font-family: var(--font-mono);
  font-size: .6563rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: .7rem;
}
.d5-gauge { width: 100%; max-width: 132px; height: auto; margin-bottom: .55rem; }
.d5-needle {
  stroke: var(--gold);
  stroke-width: 1.5;
  transform-box: view-box;
  transform-origin: 50% 91.4%;
  transition: transform .55s var(--ease);
}
.d5-val { font-family: var(--font-mono); line-height: 1; }
.d5-num { font-size: 1.7rem; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.d5-unit {
  display: block;
  margin-top: .35rem;
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(139,147,167,.7);
}

/* ------------------------------- D6 · drift vs truth ------- */
.viz--d6 svg { width: 100%; height: auto; }
.d6-sensor { stroke-dasharray: 5 4; animation: vz-dash 9s linear infinite; }
.d6-flag { animation: vz-blink 2.2s ease-in-out infinite; }

/* ------------------------------- D7 · clipping ceiling ----- */
.viz--d7 svg { width: 100%; height: auto; }
.d7-bar {
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.reveal.in .d7-bar,
html:not(.js) .d7-bar {
  animation: vz-grow .9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.d7-ghost { animation: vz-shimmer 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .35s); }
.d7-cap-line { animation: vz-blink 3.6s ease-in-out infinite; }

/* ------------------------------- D8 · India pilots map ----- */
.viz--d8 svg { width: 100%; max-width: 420px; height: auto; margin-inline: auto; }
.d8-outline {
  fill: rgba(255,197,46,.028);
  stroke: rgba(255,197,46,.55);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.d8-dot { fill: var(--gold); }
.d8-ring {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: vz-ring 3.2s ease-out infinite;
  animation-delay: calc(var(--i, 0) * .55s);
}
.d8-ring--2 { animation-delay: calc(var(--i, 0) * .55s + 1.6s); }

/* ------------------------------- D9 · sky aperture --------- */
.viz--d9 svg { width: 100%; height: auto; }
.d9-sweep {
  transform-box: fill-box;
  transform-origin: center;
  animation: d9-sweep 5.5s ease-in-out infinite alternate;
}
@keyframes d9-sweep { from { transform: rotate(-56deg); } to { transform: rotate(56deg); } }
.d9-cloud { animation: vz-twinkle 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .7s); }

/* ------------------------------- D10 · sprint pipeline ----- */
.d10-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.d10-block {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 1.15rem .6rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.d10-block svg { width: 22px; height: 22px; color: var(--gold); margin: 0 auto .6rem; }
.d10-name {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--text);
}
.d10-sub { margin-top: .3rem; font-size: .78rem; color: var(--text-2); }
.d10-line {
  position: relative;
  align-self: center;
  width: clamp(24px, 5vw, 64px);
  height: 1px;
  flex: none;
  background: var(--line);
}
.d10-line::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255,197,46,.8);
  animation: d10-pipe 2.6s linear infinite;
}
.d10-line--2::after { animation-delay: 1.3s; }
@keyframes d10-pipe {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@media (max-width: 560px) {
  .d10-flow { flex-direction: column; }
  .d10-line { width: 1px; height: 28px; margin-inline: auto; }
  .d10-line::after { animation: d10-pipe-v 2.6s linear infinite; left: -2.5px; }
  @keyframes d10-pipe-v {
    0% { top: 0; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { top: calc(100% - 6px); opacity: 0; }
  }
}

/* ------------------------------------------ icon chips ----- */
.chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .chips { grid-template-columns: repeat(3, 1fr); } }
.chips--stack { grid-template-columns: 1fr; }
@media (min-width: 768px) { .chips--stack { grid-template-columns: 1fr; } }
.chip {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.chip svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: .2rem; }
.chip h3 { font-size: 1.02rem; font-weight: 500; line-height: 1.3; }
.chip .chip-tag {
  font-family: var(--font-mono);
  font-size: .6563rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.chip p { font-size: .875rem; color: var(--text-2); margin-top: .2rem; }

/* mono cred list (home · D8 section) */
.cred-list {
  margin-top: 1.75rem;
  display: grid;
  gap: .8rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}
.cred-list li { display: flex; align-items: baseline; gap: .8rem; }
.cred-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255,197,46,.7);
  flex: none;
  align-self: center;
}

/* hero corner frame (presence) */
.hero-frame {
  position: absolute;
  inset: calc(var(--nav-h) + 20px) 20px 20px;
  z-index: 2;
  pointer-events: none;
  opacity: .55;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 18px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 top 0 / 1px 18px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 18px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 top 0 / 1px 18px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 18px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) left 0 bottom 0 / 1px 18px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 18px 1px,
    linear-gradient(var(--gold-line), var(--gold-line)) right 0 bottom 0 / 1px 18px;
  background-repeat: no-repeat;
}

/* reduced motion: depictions settle to a composed still */
@media (prefers-reduced-motion: reduce) {
  .d7-bar, .reveal.in .d7-bar { transform: none; animation: none; }
  .d2-beam-dot, .d8-ring { opacity: 0 !important; }
  .d1-mean, .d5-tile, .d6-flag, .d7-cap-line { animation: none; }
}

/* ============================================================
   WAVE 4 — FINAL THREE PAGES (additive)
   mini icon cards · find-feature pairs · D10 annotations ·
   pipeline architecture · story beats + motifs · founder light
   ============================================================ */

/* small sprite icon on mini/advisory cards + chips */
.ico-s {
  width: 24px; height: 24px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.card--mini .ico-s { margin-bottom: .85rem; }

/* depiction paired with its capability card */
.find-feature { display: grid; gap: 20px; align-content: start; }
.find-feature .viz { padding-bottom: .95rem; }

/* 4-up variant of the finding grid */
@media (min-width: 1024px) {
  .find-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* D10 · block annotations (mono detail on the visual) */
.d10-meta {
  margin-top: .55rem;
  font-family: var(--font-mono);
  font-size: .6563rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------------------- pipeline architecture (consulting) --- */
.viz--arch svg { width: 100%; height: auto; }
.arch-link {
  fill: none;
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
  animation: vz-dash 8s linear infinite;
}
.arch-link--cyan { stroke: rgba(110,231,255,.5); }
.arch-link--gold { stroke: rgba(255,197,46,.6); }
.arch-perim { animation: vz-pulse 6s ease-in-out infinite; }
@media (max-width: 640px) {
  .viz--arch { overflow-x: auto; }
  .viz--arch svg { min-width: 620px; }
}

/* --------------------------------- story beats (about) ------ */
.beats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .beats { grid-template-columns: repeat(3, 1fr); } }
.beat {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.beat-motif { margin-bottom: 1.15rem; }
.beat-motif svg { width: 100%; height: 96px; }
.beat-motif text { font-family: var(--font-mono); letter-spacing: .08em; }
.beat-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .8rem;
}
.beat h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.beat p { color: var(--text-2); font-size: var(--fs-small); }

/* motif animation hooks (reuse shared keyframes) */
.m-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: d4-spin 30s linear infinite;
}
.m-star { animation: vz-twinkle 4.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .6s); }
.m-dash { stroke-dasharray: 5 4; animation: vz-dash 10s linear infinite; }
.m-pulse { animation: vz-pulse 4s ease-in-out infinite; }

/* ------------------- founders: subtle pointer-lit border ---- */
.founder-card { isolation: isolate; }
.founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(110,231,255,.07), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
  z-index: -1;
}
@media (hover: hover) {
  .founder-card:hover::after { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .m-star, .m-dash, .m-spin, .m-pulse, .arch-link, .arch-perim { animation: none; }
}
