/* ============================================================
   NOETIC MACHINES — hybrid Anduril (dark, cinematic, mono labels)
   + Tempus (light, data-forward, blue accent) design system
   Revised per feedback: colour, rhythm, motion, a11y, real content
   ============================================================ */

:root {
  /* Core neutrals */
  --ink:        #0a0c10;   /* near-black */
  --ink-2:      #0c1018;   /* blue-tinted dark */
  --ink-3:      #0b1322;   /* deeper blue dark */
  --panel:      #141a26;
  --paper:      #ffffff;
  --paper-2:    #f3f6fb;
  --paper-3:    #e9eef6;
  --paper-tint: #eef3ff;   /* faint blue light */

  /* Text */
  --t-on-dark:  #f2f5f9;
  --t-on-dark-dim: #9aa6b6;
  --t-on-light: #0d1420;
  --t-on-light-dim: #56627a;

  /* Accents — blue primary, teal (neural) + violet (fusion) secondary */
  --blue:       #2f6bff;
  --blue-bright:#5b8cff;
  --blue-deep:  #0a235c;
  --teal:       #38d4c8;
  --violet:     #7a4dff;
  --violet-soft:#a98bff;

  --line-dark:  rgba(255,255,255,0.10);
  --line-light: rgba(13,20,32,0.12);

  --maxw: 1200px;
  --maxw-narrow: 860px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--t-on-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.wrap--narrow { max-width: var(--maxw-narrow); }

/* ============================================================
   WORLD — one shared globe canvas behind the page (fixed).
   Plays the neural→earth cinematic, then glides into the hero.
   ============================================================ */
.world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block;
  transform-origin: 50% 50%; will-change: transform; background: transparent; }
/* every real section sits above the world canvas */
.nav, .dive, .hero, .statement, .platform, .define, .caps, .diff, .why,
.found, .about, .cta, .footer { position: relative; z-index: 1; }
/* pre-hero + hero are transparent so the world globe shows through */
.dive, .hero { background: transparent !important; }

/* ============================================================
   DIVE — pre-hero (cinematic plays on the world canvas behind it)
   ============================================================ */
.dive { height: 100vh; }
.dive__pin { position: relative; height: 100vh; overflow: hidden; }
.dive__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 3; padding: 34px 56px; will-change: opacity; }
/* soft dark scrim so the text reads clearly over the animation */
.dive__brand::before { content: ""; position: absolute; inset: -30% -15%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4,7,14,0.78) 0%, rgba(4,7,14,0.5) 42%, rgba(4,7,14,0) 72%);
  filter: blur(8px); }
.dive__lockup { display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.dive__brand .nav__name { color: #ffffff; font-size: 1.7rem; letter-spacing: 0.16em; font-weight: 600;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9); }
.dive__brand .nav__name-dim { color: rgba(255,255,255,0.72); opacity: 1; }
.intro__tag { margin-top: 1.05rem; color: #e6eeff; font-family: var(--font-mono); font-size: 0.98rem;
  letter-spacing: 0.14em; text-shadow: 0 2px 16px rgba(0,0,0,0.92); }

html:not(.js) .dive { display: none; }            /* no JS: skip the pre-hero, go straight to hero */

@media (prefers-reduced-motion: reduce) {
  .dive { height: 100vh; }
}

/* Nav + progress bar are hidden during the dive; they drop in once the zoom resolves */
.nav { transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, opacity 0.55s var(--ease), transform 0.55s var(--ease); }
html.js .nav { opacity: 0; transform: translateY(-115%); pointer-events: none; }
html.js .nav.is-shown { opacity: 1; transform: none; pointer-events: auto; }
html.js .scroll-progress { opacity: 0; transition: opacity 0.5s var(--ease); }
html.js .scroll-progress.is-shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js .nav { opacity: 1; transform: none; pointer-events: auto; }
  html.js .scroll-progress { opacity: 1; }
}

/* ---------- a11y helpers ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--blue); color: #fff; padding: 0.7rem 1.1rem; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.8rem; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 2px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 14px; margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--blue-bright); }
.hero__copy .eyebrow { color: #f6b73c; }   /* amber/gold — pops on the dark hero */
.eyebrow__rule { flex: 0 0 48px; height: 1px; background: currentColor; opacity: 0.6; }

h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85rem; --pad-x: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; padding: var(--pad-y) var(--pad-x);
  border-radius: 3px; transition: all 0.25s var(--ease); white-space: nowrap;
}
/* Outlined / ghost buttons (transparent, hairline border, glow on hover) */
.btn--primary, .btn--ghost, .btn--nav {
  background: rgba(255,255,255,0.02); color: var(--t-on-dark); border-color: rgba(255,255,255,0.14);
}
.btn--primary:hover, .btn--ghost:hover, .btn--nav:hover {
  border-color: var(--blue-bright); color: #fff; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(91,140,255,0.4), 0 10px 30px -12px rgba(91,140,255,0.5);
}
.btn--nav { --pad-y: 0.6rem; --pad-x: 1.1rem; }
.btn--lg { --pad-y: 1.05rem; --pad-x: 2.4rem; font-size: 0.85rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent; }
.nav__inner { width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; gap: 2rem; height: 72px; }
.nav.is-scrolled { background: rgba(10,12,16,0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line-dark); }
.nav__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--t-on-dark); }
.nav__mark { color: var(--blue-bright); display: flex; }
.nav__name { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.12em; font-size: 0.92rem; }
.nav__name-dim { opacity: 0.55; margin-left: 2px; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--t-on-dark-dim); text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--t-on-dark); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; flex-direction: column; gap: 6px; justify-content: center; }
.nav__toggle span { display: block; height: 1.5px; width: 22px; background: var(--t-on-dark); transition: 0.3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ============================================================
   HERO — Anduril dark + canvas motion + orb (fills sparse space)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 75% 0%, #16223f 0%, #0c1322 45%, var(--ink) 80%);
  color: var(--t-on-dark);
  padding: 150px 0 0; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.55; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 80% at 60% 10%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 80% at 60% 10%, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 3rem;
}
.hero__title { font-size: clamp(2.8rem, 7.5vw, 6rem); letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 1.6rem; }
.hero__lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--t-on-dark-dim); max-width: 560px; line-height: 1.6; margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Atom: electrons racing around a nucleus, generating their own lightning (canvas) */
.atom { position: relative; justify-self: center; width: clamp(230px, 28vw, 400px); aspect-ratio: 1; }
.atom__canvas { width: 100%; height: 100%; display: block; }

/* Ticker (decorative; sr text provided separately) */
.hero__ticker { position: relative; z-index: 2; margin-top: auto;
  border-top: 1px solid var(--line-dark); width: min(100% - 48px, var(--maxw)); margin-inline: auto;
  overflow: hidden; padding: 1.3rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero__ticker-track { display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--t-on-dark-dim);
  animation: ticker 32s linear infinite; }
.hero__ticker-track .dot { color: var(--teal); font-size: 0.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   STATEMENT (narrow, dark, blue-tinted)
   ============================================================ */
.statement { background: var(--ink-3); color: var(--t-on-dark); padding: 110px 0; border-top: 1px solid var(--line-dark); }
.statement__text { font-size: clamp(1.55rem, 3.4vw, 2.7rem); font-weight: 500; line-height: 1.24; letter-spacing: -0.02em; max-width: 920px; }
.statement__text em { font-style: normal; color: var(--blue-bright); }
.statement__sub { margin-top: 2rem; max-width: 620px; color: var(--t-on-dark-dim); font-size: 1.1rem; }

/* ============================================================
   PLATFORM (light, full-bleed, the substance + diagram)
   ============================================================ */
.platform { background: var(--paper); color: var(--t-on-light); padding: 110px 0; }
.platform__intro { font-size: 1.2rem; color: var(--t-on-light-dim); margin-top: 1.4rem; max-width: 760px; line-height: 1.6; }
.diagram { background: linear-gradient(180deg, #0c1322, #0a0e18); border: 1px solid var(--line-dark);
  border-radius: 10px; padding: 2.4rem 2rem 1.6rem; box-shadow: 0 30px 70px rgba(10,20,45,0.18); }
.diagram__svg { width: 100%; height: auto; display: block; }
.diagram .dlabel { fill: #cfd8e6; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-anchor: middle; }
.diagram .dtag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-anchor: middle; }
.diagram .dtitle { fill: #fff; font-family: var(--font-sans); font-size: 16px; font-weight: 600; text-anchor: middle; }
.diagram .dsub { fill: #8a97ab; font-family: var(--font-sans); font-size: 11px; text-anchor: middle; }
.diagram__flow path { stroke-dasharray: 6 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.diagram__cap { color: var(--t-on-light-dim); font-size: 0.95rem; margin-top: 1.6rem; max-width: 820px; }

/* ============================================================
   DEFINE (light tint, blue background)
   ============================================================ */
.define { background: var(--paper-tint); color: var(--t-on-light); padding: 100px 0; }
.define__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.define__label h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.define__label h3 { background: linear-gradient(120deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.define__body p { font-size: 1.22rem; line-height: 1.6; margin-bottom: 1.4rem; }
.define__body strong { color: var(--blue); font-weight: 600; }
.define__muted { color: var(--t-on-light-dim); font-size: 1.08rem !important; }

/* ============================================================
   CAPABILITIES (light cards, colour-coded edges)
   ============================================================ */
.caps { background: var(--paper-2); color: var(--t-on-light); padding: 110px 0; }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cap { background: var(--paper); border: 1px solid var(--line-light); border-radius: 4px;
  padding: 2.4rem 2rem 2.6rem; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.cap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); }
.cap--neural::before { background: var(--teal); }
.cap--core::before { background: var(--violet); }
.cap--symbolic::before { background: var(--blue); }
.cap--neural .cap__icon { color: var(--teal); }
.cap--core .cap__icon { color: var(--violet); }
.cap--symbolic .cap__icon { color: var(--blue); }
.cap:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,20,32,0.12); border-color: rgba(47,107,255,0.4); }
.cap__num { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--t-on-light-dim); letter-spacing: 0.1em; }
.cap__icon { width: 48px; height: 48px; margin-bottom: 1.8rem; }
.cap__icon svg { width: 100%; height: 100%; }
.cap h3 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.cap p { color: var(--t-on-light-dim); font-size: 1rem; }

/* ============================================================
   DIFFERENTIATION (dark)
   ============================================================ */
.diff { background: var(--ink); color: var(--t-on-dark); padding: 110px 0; }
.diff__rows { border-top: 1px solid var(--line-dark); }
.diff__row { display: grid; grid-template-columns: 200px 1fr auto; gap: 2rem; align-items: baseline;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line-dark); }
.diff__no { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-on-dark-dim); }
.diff__what { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; color: #5b6577; }
.diff__note { font-size: 0.95rem; color: var(--t-on-dark-dim); max-width: 280px; text-align: left; justify-self: start; }
.diff__row--yes .diff__what { background: linear-gradient(120deg, var(--blue-bright), var(--violet-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.diff__row--yes .diff__no { color: var(--teal); }

/* ============================================================
   WHY NOW (light)
   ============================================================ */
.why { background: var(--paper); color: var(--t-on-light); padding: 110px 0; }
.why__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.why__lead h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.why__body p { font-size: 1.15rem; color: var(--t-on-light-dim); margin-bottom: 1.4rem; }
.why__punch { font-size: 1.35rem !important; color: var(--blue) !important; font-weight: 600; }

/* ============================================================
   FOUNDATION (dark, the convergence)
   ============================================================ */
.found { background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink) 100%); color: var(--t-on-dark); padding: 110px 0; }
.found__intro { color: var(--t-on-dark-dim); font-size: 1.15rem; max-width: 720px; margin-top: 1.4rem; }

.merge { margin: 1rem 0 3rem; }
.merge__svg { width: 100%; height: auto; display: block; max-height: 280px; }
.merge__stream { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.merge.is-in .merge__stream { animation: draw 1.6s var(--ease) forwards; }
.merge.is-in .merge__stream--out { animation: draw 1s var(--ease) 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.found__stacks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stack { background: var(--panel); border: 1px solid var(--line-dark); border-radius: 6px; padding: 2.6rem 2.2rem; height: 100%; position: relative; }
.stack--neural { border-top: 3px solid var(--teal); }
.stack--symbolic { border-top: 3px solid var(--blue); }
.stack__tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; margin-bottom: 1rem; }
.stack--neural .stack__tag { color: var(--teal); }
.stack--symbolic .stack__tag { color: var(--blue-bright); }
.stack h3 { font-size: 2.1rem; margin-bottom: 1rem; }
.stack__desc { color: var(--t-on-dark-dim); margin-bottom: 1.6rem; font-size: 1.02rem; }
.stack__list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.stack__list li { font-family: var(--font-mono); font-size: 0.82rem; color: var(--t-on-dark); padding-left: 1.4rem; position: relative; letter-spacing: 0.02em; }
.stack--neural .stack__list li::before { content: "▸"; position: absolute; left: 0; color: var(--teal); }
.stack--symbolic .stack__list li::before { content: "▸"; position: absolute; left: 0; color: var(--blue); }
.found__convergence { display: flex; align-items: center; gap: 1.6rem; padding-top: 2.2rem; margin-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.found__conv-line { flex: 0 0 60px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--violet)); }
.found__convergence p { font-size: 1.25rem; font-weight: 500; color: var(--t-on-dark); }

/* ============================================================
   METRICS STRIP (gradient, grounded figures)
   ============================================================ */
/* (metrics ribbon removed) */

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, #15203c, var(--ink) 70%); color: var(--t-on-dark); padding: 130px 0; text-align: center; }
.cta__grid { position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; }
.cta__title { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 1.4rem; }
.cta__sub { color: var(--t-on-dark-dim); max-width: none; white-space: nowrap; margin-bottom: 2.6rem; font-size: 1.1rem; }
@media (max-width: 640px) { .cta__sub { white-space: normal; max-width: 36em; margin-left: auto; margin-right: auto; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #06080b; color: var(--t-on-dark-dim); padding: 56px 0; border-top: 1px solid var(--line-dark); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.footer__brand .nav__name { color: var(--t-on-dark); }
.footer__lockup { display: flex; align-items: center; gap: 10px; }
.footer__tag { margin-top: 0.7rem; font-size: 0.95rem; }
.footer__meta { display: flex; flex-direction: column; gap: 0.4rem; text-align: right; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; }

/* ============================================================
   SCROLL MOTION (varied: fade, rise, slide)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.define__label.reveal { transform: translateX(-26px); }
.define__body.reveal { transform: translateX(26px); }
.define__label.is-in, .define__body.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .atom__spin, .atom__electron, .atom__pulse, .atom__orbit, .atom__nucleus, .atom__nucleus-ring { animation: none !important; }
  .hero__ticker-track { animation: none; }
  .diagram__flow path { animation: none; stroke-dasharray: none; }
  .merge__stream { stroke-dashoffset: 0 !important; animation: none !important; }
  .merge__pulse { display: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ADDED PER ROUND-2 FEEDBACK
   ============================================================ */

/* Anchored sections land below the fixed nav */
#platform, #capabilities, #why-now, #foundation, #about, #contact,
#cap-state, #cap-sim, #cap-plan { scroll-margin-top: 90px; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--violet));
  z-index: 150; transition: width 0.1s linear; }

/* Active nav link (scrollspy) */
.nav__links a.is-active { color: var(--t-on-dark); }
.nav__links a.is-active::after { content: ""; display: block; height: 1px; margin-top: 4px; background: var(--blue-bright); }

/* Hero scroll cue */
.hero__cue { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.25em;
  color: var(--t-on-dark-dim); text-decoration: none; }
.hero__cue:hover { color: var(--t-on-dark); }
.hero__cue-line { width: 1px; height: 34px; background: linear-gradient(var(--blue-bright), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; } }

/* Diagram: smaller output labels + clickable nodes */
.diagram .dlabel-sm { fill: #cfd8e6; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; text-anchor: middle; }
.diagram__link { cursor: pointer; }
.diagram__link rect { transition: stroke 0.25s var(--ease), fill 0.25s var(--ease); }
.diagram__link:hover rect { stroke: var(--violet-soft); fill: #161a36; }
.diagram__link:focus-visible { outline: none; }
.diagram__link:focus-visible rect { stroke: var(--blue-bright); stroke-width: 2; }

/* Definition redesigned as spec sheet */
.define__title { font-size: clamp(1.9rem, 4vw, 3rem); background: linear-gradient(120deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.define__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.define__lead p { font-size: 1.22rem; line-height: 1.6; margin-bottom: 1.4rem; }
.define__lead strong { color: var(--blue); font-weight: 600; }
.define__lead .define__muted { color: var(--t-on-light-dim); font-size: 1.08rem; }
.spec { border-top: 1px solid var(--line-light); }
.spec__row { display: grid; grid-template-columns: 130px 1fr; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.spec dt { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.spec dd { color: var(--t-on-light); font-size: 1.02rem; }

/* Capability "see where it fits" link */
.cap { display: flex; flex-direction: column; }
.cap__link { margin-top: auto; padding-top: 1.2rem; font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.cap__link:hover { color: var(--violet); }

/* Metrics: 6-up + note */

/* About / team */
.about { background: var(--paper); color: var(--t-on-light); padding: 110px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about__lead h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1.4rem; }
.about__inner { text-align: left; }
.about__inner h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 1.3rem 0; max-width: 18ch; }
.about__inner .about__text { max-width: 720px; }
.about__text { color: var(--t-on-light-dim); font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.6rem; }
.about__more { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.about__more:hover { color: var(--violet); }
.team { display: flex; flex-direction: column; gap: 1rem; }
.team__card { display: grid; grid-template-columns: 52px 1fr; gap: 1.2rem; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line-light); border-radius: 6px; padding: 1.3rem 1.5rem; }
.team__avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.82rem; color: #fff; letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--blue), var(--violet)); }
.team__card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team__card p { font-size: 0.92rem; color: var(--t-on-light-dim); }

/* Contact: form + lighter options */
.cta__head { text-align: center; margin-bottom: 3rem; }
.cta .cta__head .eyebrow { justify-content: center; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; text-align: left; width: 100%; max-width: 980px; }
.cform { background: rgba(255,255,255,0.03); border: 1px solid var(--line-dark); border-radius: 8px; padding: 2rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-on-dark-dim); }
.field input { background: #0c1018; border: 1px solid var(--line-dark); border-radius: 4px; padding: 0.8rem 0.9rem; color: var(--t-on-dark); font-family: var(--font-sans); font-size: 1rem; transition: border-color 0.2s; }
.field input:focus { outline: none; border-color: var(--blue-bright); }
.field input.invalid { border-color: #ff6b6b; }
.cform__submit { width: 100%; margin-top: 0.5rem; }
.cform__status { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; }
.cform__status.ok { color: var(--teal); }
.cform__status.err { color: #ff8585; }
.contact__consent { margin-top: 0.9rem; font-size: 0.78rem; line-height: 1.5; color: var(--t-on-dark-dim); }
.contact__consent a { color: var(--blue-bright); text-decoration: underline; }
.contact__col { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__grid { align-items: start; }
.contact__aside { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__aside-title { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-on-dark-dim); }
.optcard { display: flex; gap: 1rem; align-items: center; padding: 1.2rem; border: 1px solid var(--line-dark); border-radius: 8px; text-decoration: none; color: var(--t-on-dark); transition: border-color 0.2s, transform 0.2s var(--ease); }
.optcard:hover { border-color: var(--blue-bright); transform: translateY(-2px); }
.optcard__icon { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--blue-bright); }
.optcard strong { display: block; font-size: 0.98rem; }
.optcard small { color: var(--t-on-dark-dim); font-size: 0.85rem; }
.keepposted label { display: block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-on-dark-dim); margin-bottom: 0.6rem; }
.keepposted__row { display: flex; gap: 0.6rem; }
.keepposted__row input { flex: 1; min-width: 0; background: #0c1018; border: 1px solid var(--line-dark); border-radius: 4px; padding: 0.7rem 0.8rem; color: var(--t-on-dark); font-size: 0.95rem; }
.keepposted__row input:focus { outline: none; border-color: var(--blue-bright); }
.keepposted__status { margin-top: 0.7rem; font-size: 0.85rem; min-height: 1em; color: var(--teal); }

/* Footer redesigned with links */
.footer__top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand .nav__name { color: var(--t-on-dark); }
.footer__lockup { display: flex; align-items: center; gap: 10px; }
.footer__tag { margin-top: 0.7rem; font-size: 0.95rem; }
.footer__nav { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__h { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-on-dark-dim); margin-bottom: 0.3rem; }
.footer__col a { color: var(--t-on-dark); text-decoration: none; font-size: 0.9rem; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.footer__col a:hover { opacity: 1; color: var(--blue-bright); }
.footer__meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  /* keep the globe slot (the glide target) — just smaller and centered */
  .atom { width: clamp(190px, 52vw, 320px); margin: 0 auto; }
}
@media (max-width: 900px) {
  .define__grid, .why__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .caps__grid { grid-template-columns: 1fr; }
  .found__stacks { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav__links, .btn--nav { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,12,16,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark); padding: 0.5rem 24px 1.5rem; }
  .nav.is-open .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
}
/* wide platform diagram: let it scroll horizontally on small screens so labels stay legible */
@media (max-width: 760px) {
  .diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 20px; }
  .diagram__svg { min-width: 640px; }
  .footer__top { flex-direction: column; gap: 2rem; }
  .footer__nav { gap: 2.4rem; }
}
@media (max-width: 620px) {
  .hero { padding-top: 120px; }
  .diff__row { grid-template-columns: 1fr; gap: 0.5rem; }
  .diff__note { text-align: left; max-width: none; }
  .define__grid { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
  .spec__row { grid-template-columns: 100px 1fr; gap: 1rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero__actions .btn { flex: 1 1 auto; }
  .dive__brand { padding: 22px 28px; }
  .dive__brand .nav__name { font-size: 1.3rem; }
}
