/* ═══════════════════════════════════════════════════════════════
   SSSD TECH SOLUTIONS — Premium UI
   ─────────────────────────────────────────────────────────────
   Brand palette (from logo):
     #004F76  deep navy      → authority, primary
     #91D8F7  diamond blue   → accent, luminance
   ═══════════════════════════════════════════════════════════════ */

:root {
  --deep:      #1E8FCC;       /* brand blue — readable on dark bg */
  --deep-700:  #1577AA;
  --deep-300:  #4BB5E8;
  --deep-900:  #020B14;       /* darkest, proofband */
  --light:     #91D8F7;       /* bright accent — unchanged */
  --light-50:  rgba(145,216,247,.12);
  --light-glow: rgba(145,216,247,.15);

  --ink:       #C8E5F5;       /* main text — light on dark */
  --ink-2:     rgba(200,229,245,.60);
  --ink-3:     rgba(200,229,245,.38);

  --paper:     #0C1E2E;       /* card bg */
  --room:      #04090F;       /* page bg — matches canvas clear color */
  --tint:      #081420;       /* slightly lighter section bg */
  --rule:      rgba(145,216,247,.1);  /* borders — light blue trace */

  --ok:        #1E7B54;
  --bad:       #B3261E;

  --f-display: 'Syne', system-ui, sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r:   8px;
  --r-l: 16px;
  --r-xl: 24px;

  --ease:    cubic-bezier(.16,1,.3,1);
  --ease-in: cubic-bezier(.4,0,1,1);
  --nav:     68px;

  --pad:  clamp(20px, 5vw, 64px);
  --gap:  clamp(28px, 4vw, 56px);
}

/* ── Light theme overrides ───────────────────────────────────── */
[data-theme="light"] {
  --deep:      #004F76;
  --deep-700:  #00405F;
  --deep-300:  #1E8FCC;
  --deep-900:  #001E30;
  --light:     #1E8FCC;
  --light-50:  rgba(30,143,204,.1);
  --light-glow: rgba(30,143,204,.12);

  --ink:       #0C1820;
  --ink-2:     rgba(12,24,32,.62);
  --ink-3:     rgba(12,24,32,.40);

  --paper:     #FFFFFF;
  --room:      #EFF4F8;
  --tint:      #E6EEF4;
  --rule:      rgba(0,79,118,.13);
}

/* ── Theme transition — applied during switch ────────────────── */
html.theme-changing,
html.theme-changing * {
  transition:
    background-color .38s cubic-bezier(.16,1,.3,1),
    color .32s cubic-bezier(.16,1,.3,1),
    border-color .32s cubic-bezier(.16,1,.3,1),
    box-shadow .38s cubic-bezier(.16,1,.3,1),
    opacity .32s cubic-bezier(.16,1,.3,1) !important;
}

/* ── Light-mode component overrides ─────────────────────────── */

/* Sections: semi-opaque warm white, 3D still bleeds through */
[data-theme="light"] .section       { background: rgba(239, 244, 248, 0.78); }
[data-theme="light"] .section--tint { background: rgba(230, 238, 244, 0.80); }
[data-theme="light"] .section--deep { background: rgba(0, 30, 48, 0.90); color: #fff; }

/* Nav */
[data-theme="light"] .nav         { background: rgba(255,255,255,0.78); }
[data-theme="light"] .nav.is-stuck { background: rgba(255,255,255,0.93); box-shadow: 0 1px 30px rgba(0,79,118,.12); }

/* Hero inner panel */
[data-theme="light"] .hero__inner {
  background: rgba(255,255,255,0.72);
  border-color: rgba(0,79,118,.18);
}

/* Buttons — light mode needs adjusted ghost */
[data-theme="light"] .btn--primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,79,118,.25);
}
[data-theme="light"] .btn--primary:hover { background: var(--deep-700); box-shadow: 0 8px 32px rgba(0,79,118,.35); }
[data-theme="light"] .btn--ghost {
  border-color: rgba(0,79,118,.25);
  background: rgba(0,79,118,.06);
  color: var(--deep);
}
[data-theme="light"] .btn--ghost:hover { border-color: var(--deep); color: var(--deep); }
[data-theme="light"] .btn--light { background: var(--deep); color: #fff; }

/* Mobile nav */
[data-theme="light"] .mobilenav { background: rgba(239,244,248,0.97); }

/* Proof band */
[data-theme="light"] .proofband { background: rgba(0,30,48,0.94); }

/* Footer keeps dark (brand area) */
[data-theme="light"] .foot { background: rgba(0,20,36,0.97); }

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }

body {
  background: var(--room);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* ── Grain overlay ───────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='256' height='256' filter='url(%23n)'/></svg>");
  background-size: 256px;
  background-repeat: repeat;
}

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

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

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: fixed; top: -80px; left: 14px; z-index: 10000;
  background: var(--deep); color: #fff; padding: 10px 18px;
  border-radius: var(--r); font: 500 .82rem var(--f-mono);
  transition: top .2s;
}
.skip-link:focus { top: 14px; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--pad); }

/* ── 3D Scene canvas — full viewport, IS the background ─────── */
#fieldCanvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
  opacity: 1;
}

.nav, main, .foot, .mobilenav, .modal { position: relative; z-index: 1; }

/* ── Custom cursor ───────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: var(--light);
  border-radius: 50%;
  margin: -3px 0 0 -3px;
  transition: transform .15s var(--ease), opacity .2s;
}
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--light);
  border-radius: 50%;
  margin: -18px 0 0 -18px;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  opacity: .4;
  transition: width .3s var(--ease), height .3s var(--ease),
              margin .3s var(--ease), opacity .3s, border-color .3s;
}
.cursor__ring.is-hover {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  opacity: .25;
  border-color: var(--light);
}
.cursor__ring.is-link {
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  background: var(--deep);
  opacity: .15;
}

@media (hover: none) {
  .cursor, .cursor__ring { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 .84rem/1 var(--f-display);
  letter-spacing: .05em;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: background .25s, color .25s, border-color .25s,
              transform .4s var(--ease), box-shadow .3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }

.btn--sm      { padding: 10px 20px; font-size: .78rem; }
.btn--primary { background: var(--light); color: #04090F; box-shadow: 0 4px 24px rgba(145,216,247,.25); }
.btn--primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(145,216,247,.4); }
.btn--ghost   { border-color: rgba(145,216,247,.3); color: var(--ink); background: rgba(145,216,247,.06); }
.btn--ghost:hover { border-color: var(--light); color: var(--light); transform: translateY(-1px); }
.btn--light   { background: var(--light); color: #04090F; }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(145,216,247,.4); }

.btn--magnetic {
  will-change: transform;
  transition: background .25s, color .25s, border-color .25s, box-shadow .3s;
}

.link {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 .82rem var(--f-mono);
  letter-spacing: .02em;
  color: var(--deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .25s var(--ease), color .2s, opacity .2s;
}
.link::after { content: '→'; transition: transform .25s var(--ease); }
.link:hover  { gap: 12px; }
.link:hover::after { transform: translateX(3px); }
.link--light { color: var(--light); }

/* ── Navigation ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav);
  display: flex; align-items: center; gap: 26px;
  padding-inline: var(--pad);
  background: rgba(4, 9, 15, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.nav.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(4, 9, 15, 0.88);
  box-shadow: 0 1px 40px rgba(0,0,0,.4);
}

.nav__brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav__mark  { width: 34px; height: auto; transition: transform .4s var(--ease); }
.nav__brand:hover .nav__mark { transform: scale(1.08) rotate(-3deg); }
.nav__word  { display: flex; flex-direction: column; line-height: 1.05; }
.nav__word strong { font: 800 1.02rem/1 var(--f-display); letter-spacing: .1em; color: var(--deep); }
.nav__word em     { font: 400 .53rem/1 var(--f-mono); letter-spacing: .18em; color: var(--ink-3); font-style: normal; text-transform: uppercase; }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font: 500 .8rem var(--f-body);
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--deep);
  transition: width .3s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--deep); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

/* ── Theme toggle ────────────────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .25s, background .25s, color .25s;
}
.theme-toggle:hover {
  background: var(--light-50);
  border-color: var(--light);
  color: var(--light);
}
.theme-toggle__icon {
  position: absolute;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .35s;
}

/* Dark mode: show moon, hide sun */
[data-theme="dark"]  .theme-toggle__sun  { transform: translateY(110%); opacity: 0; }
[data-theme="dark"]  .theme-toggle__moon { transform: none; opacity: 1; }
/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-toggle__sun  { transform: none; opacity: 1; }
[data-theme="light"] .theme-toggle__moon { transform: translateY(-110%); opacity: 0; }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 30px; padding: 6px; margin-left: auto; }
.nav__burger span { height: 1.6px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobilenav {
  position: fixed; inset: var(--nav) 0 0; z-index: 55;
  background: rgba(4, 9, 15, 0.95);
  padding: 26px var(--pad) 40px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}
.mobilenav nav { display: flex; flex-direction: column; }
.mobilenav a {
  font: 700 1.35rem var(--f-display);
  color: var(--ink);
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  transition: color .2s, padding-left .2s;
}
.mobilenav a:hover { color: var(--deep); padding-left: 8px; }
.mobilenav__cta { color: var(--deep); }

/* ── Section rail ────────────────────────────────────────────── */
.rail {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.rail a {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .3;
  transition: opacity .3s, gap .3s var(--ease);
}
.rail a:hover,
.rail a.is-active { opacity: 1; gap: 10px; }
.rail a span {
  display: block;
  width: 5px; height: 5px;
  background: var(--deep);
  border-radius: 50%;
  transition: width .3s var(--ease), background .2s;
}
.rail a.is-active span { width: 20px; background: var(--light); border-radius: 3px; }
.rail em {
  font: 500 .6rem var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity .25s, transform .25s var(--ease);
  pointer-events: none;
}
.rail a:hover em,
.rail a.is-active em {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) { .rail { display: none; } }

/* ── Section scaffolding ─────────────────────────────────────── */
.section {
  padding-block: clamp(80px, 10vw, 140px);
  background: rgba(3, 8, 14, 0.50);   /* 50% — 3D world bleeds through strongly */
  position: relative;
  z-index: 1;
}
.section--tint {
  background: rgba(7, 18, 28, 0.50);
}
.section--deep {
  background: rgba(2, 6, 11, 0.68);
  color: #fff;
  --ink: #fff; --ink-2: rgba(255,255,255,.76); --ink-3: rgba(255,255,255,.5);
  --rule: rgba(255,255,255,.15);
  --paper: rgba(255,255,255,.06);
}

/* ── Section header ──────────────────────────────────────────── */
.sechead {
  max-width: 62ch;
  margin-bottom: var(--gap);
  position: relative;
}
.sechead[data-n]::before {
  content: attr(data-n);
  position: absolute;
  top: -.45em;
  left: -.06em;
  font: 800 clamp(5rem, 13vw, 13rem)/1 var(--f-display);
  letter-spacing: -.04em;
  color: var(--ink);
  opacity: .04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 0.85;
}
.section--deep .sechead[data-n]::before { color: #fff; opacity: .06; }

.sechead__num {
  font: 500 .68rem var(--f-mono); letter-spacing: .22em;
  color: var(--deep-300); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.sechead__num::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--light);
  vertical-align: middle;
}
.section--deep .sechead__num { color: var(--light); }
.sechead__title {
  font: 700 clamp(1.9rem, 3.8vw, 3rem)/1.1 var(--f-display);
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(3,8,14,.8);
  position: relative; z-index: 1;
}
.sechead__lede {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 56ch;
  line-height: 1.75;
  position: relative; z-index: 1;
}

/* ── Reveal animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
/* Stagger siblings */
.reveal.in:nth-child(2) { transition-delay: .08s; }
.reveal.in:nth-child(3) { transition-delay: .16s; }
.reveal.in:nth-child(4) { transition-delay: .24s; }
.reveal.in:nth-child(5) { transition-delay: .32s; }
.reveal.in:nth-child(6) { transition-delay: .40s; }
.reveal.in:nth-child(7) { transition-delay: .48s; }
.reveal.in:nth-child(8) { transition-delay: .56s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
}
.reveal-left.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.95);
}
.reveal-scale.in {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

/* ── Hero — transparent so 3D canvas shows through ──────────── */
.hero {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(100px, 14vw, 160px) clamp(60px, 8vw, 100px);
  position: relative;
  background: transparent;   /* 3D world is the background */
}

.hero__inner {
  max-width: 820px;
  position: relative;
  z-index: 2;
  /* Dark gradient behind text for legibility over the 3D scene */
  padding: 48px 52px;
  background: rgba(4, 9, 15, 0.55);
  border: 1px solid rgba(145,216,247,.18);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .72rem var(--f-mono);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease) .1s forwards;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  background: var(--light);
  transform: rotate(45deg);
  flex-shrink: 0;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: rotate(45deg) scale(1); }
  50% { opacity: .5; transform: rotate(45deg) scale(.7); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__h1 {
  font: 800 clamp(2.6rem, 7vw, 5.4rem)/1.02 var(--f-display);
  letter-spacing: -.04em;
  text-wrap: balance;
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease) .25s forwards;
}
.hero__h1 .accent { color: var(--light); }

/* Word-split spans for potential JS animation */
.hero__h1 .word { display: inline-block; }

.hero__lede {
  margin-top: 28px; max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300; line-height: 1.78;
  color: var(--ink-2);
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease) .4s forwards;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 38px;
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease) .55s forwards;
}

.flowline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px 0;
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--rule);
  opacity: 0;
  animation: fadeSlideUp .9s var(--ease) .7s forwards;
}
.flowline li {
  font: 500 .66rem var(--f-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
  transition: color .2s;
}
.flowline li:hover { color: var(--deep); }
.flowline li + li::before {
  content: '→'; margin-inline: 12px; color: var(--light);
}

/* Scroll cue */
.hero__scrollcue {
  position: absolute;
  bottom: 36px; left: var(--pad);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.1s forwards;
  z-index: 2;
}
.scrollcue__line {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--deep-300));
  animation: grow 1.5s var(--ease) 1.3s infinite;
  transform-origin: top;
}
@keyframes grow {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}
.scrollcue__txt {
  font: 500 .62rem var(--f-mono);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* Legacy scrollcue (alias) */
.scrollcue { display: none; }

/* ── Intents ─────────────────────────────────────────────────── */
.intents {
  border-top: 1px solid var(--rule);
}

.intent {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 16px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: color .4s, padding-left .4s var(--ease), border-color .3s;
}

.intent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,143,204,.18) 0%, rgba(145,216,247,.08) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
  z-index: 0;
}
.intent:hover::before { transform: scaleX(1); }
.intent:hover { color: var(--light); padding-left: 28px; }
.intent > * { position: relative; z-index: 1; }

.intent__n {
  font: 800 2.2rem/1 var(--f-display);
  color: var(--rule);
  letter-spacing: -.03em;
  transition: color .35s;
  line-height: 1;
}
.intent:hover .intent__n { color: rgba(145,216,247,.5); }

.intent__body { display: flex; flex-direction: column; gap: 6px; }
.intent__title {
  font: 700 1.18rem/1.2 var(--f-display);
  letter-spacing: -.015em;
  transition: color .3s;
}
.intent__copy {
  color: var(--ink-2);
  font-size: .91rem;
  line-height: 1.6;
  transition: color .3s;
}
.intent:hover .intent__copy { color: rgba(255,255,255,.75); }

.intent__arrow {
  font-size: 1.4rem;
  color: var(--deep-300);
  transition: transform .4s var(--ease), color .3s;
  flex-shrink: 0;
}
.intent:hover .intent__arrow {
  transform: translateX(6px) rotate(-45deg);
  color: var(--light);
}

/* ── Method ──────────────────────────────────────────────────── */
.method {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  position: relative;
}
/* Connecting rail */
.method::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light), var(--deep-300), transparent);
  z-index: 1;
}

.method__step {
  background: var(--tint);
  padding: 34px 22px 30px;
  border-top: 2px solid transparent;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .3s, transform .3s var(--ease);
}
.method__step:last-child { border-right: 0; }
.method__step:hover { background: var(--paper); transform: translateY(-4px); }

/* Node on the connecting rail */
.method__step::before {
  content: '';
  position: absolute;
  top: -7px; left: 22px;
  width: 12px; height: 12px;
  background: var(--deep);
  border: 2px solid var(--light);
  border-radius: 50%;
  z-index: 2;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.method__step:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--light-glow);
}

.method__n { font: 500 .66rem var(--f-mono); letter-spacing: .18em; color: var(--deep-300); }
.method__t { font: 700 1.12rem var(--f-display); margin-top: 13px; letter-spacing: -.012em; }
.method__s { font: 500 .7rem var(--f-mono); color: var(--deep); margin-top: 5px; letter-spacing: .04em; }
.method__d { font-size: .88rem; color: var(--ink-2); margin-top: 10px; line-height: 1.6; }

/* ── Capability pillars ──────────────────────────────────────── */
.pillars {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--light), var(--deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.pillar:hover { border-color: var(--deep-300); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,79,118,.1); }
.pillar:hover::before { transform: scaleX(1); }

.pillar__t {
  font: 700 1.6rem var(--f-display);
  letter-spacing: -.022em;
}
.pillar__d { color: var(--ink-2); font-size: .93rem; margin-top: 13px; line-height: 1.66; }
.pillar__strong {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--rule);
  font: 500 .76rem var(--f-mono);
  color: var(--deep); line-height: 1.6;
}

.disc { margin-top: 18px; }
.disc summary {
  display: flex; align-items: center; gap: 9px;
  font: 500 .78rem var(--f-mono);
  letter-spacing: .05em; color: var(--ink-2);
  padding: 11px 0; border-top: 1px solid var(--rule);
  list-style: none;
  transition: color .2s;
}
.disc summary::-webkit-details-marker { display: none; }
.disc summary::before {
  content: '+'; width: 18px; height: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 4px;
  font-size: .8rem; color: var(--deep); flex-shrink: 0;
  transition: background .2s, color .2s;
}
.disc[open] summary::before { content: '–'; background: var(--deep); color: #fff; }
.disc summary:hover { color: var(--deep); }
.disc__c { margin-left: auto; color: var(--ink-3); }
.disc--wide { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 0; }

.taglist { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 0 14px; }
.taglist li {
  font: 400 .75rem var(--f-body);
  color: var(--ink-2);
  background: var(--tint);
  border: 1px solid var(--rule);
  padding: 5px 12px; border-radius: 100px;
  transition: border-color .2s, color .2s;
}
.taglist li:hover { border-color: var(--deep-300); color: var(--deep); }
.section--tint .taglist li { background: var(--paper); }

/* ── Oracle ──────────────────────────────────────────────────── */
.oracle { display: grid; gap: var(--gap); grid-template-columns: 1.15fr .85fr; align-items: start; }
.ticks { display: grid; gap: 10px; margin: 28px 0 32px; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); }
.ticks li {
  position: relative; padding-left: 22px;
  font-size: .93rem; color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--light); transform: rotate(45deg);
}
.oracle__proof {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-l);
  padding: clamp(26px, 3vw, 38px);
  backdrop-filter: blur(4px);
  transition: border-color .3s, box-shadow .3s;
}
.oracle__proof:hover {
  border-color: rgba(145,216,247,.3);
  box-shadow: 0 8px 40px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.1);
}
.oracle__proofLabel { font: 500 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--light); }
.oracle__proofBig   { font: 700 1.8rem var(--f-display); margin-top: 18px; letter-spacing: -.025em; }
.oracle__proofSub   { color: rgba(255,255,255,.68); font-size: .89rem; margin-top: 7px; line-height: 1.6; }
.oracle__rule       { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 26px 0; }
.oracle__proof .link { margin-top: 24px; }

/* ── Diagrams ────────────────────────────────────────────────── */
.diagram { margin-top: var(--gap); overflow-x: auto; }
.diagram__cap {
  font: 500 .66rem var(--f-mono);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.diagram__svg { width: 100%; height: auto; min-width: 620px; overflow: visible; }

.d-ws   { font: 500 11px var(--f-mono); letter-spacing: .16em; fill: var(--deep-300); }
.d-node rect { fill: var(--paper); stroke: var(--rule); stroke-width: 1.5; }
.d-node text { font: 600 14px var(--f-body); fill: var(--ink); text-anchor: middle; }
.d-node .d-sub { font: 400 11px var(--f-mono); fill: var(--ink-3); letter-spacing: .04em; }
.d-node--key rect { stroke: var(--light); stroke-width: 2; }
.d-arrow { stroke: var(--light); stroke-width: 1.6; }
.d-edge  { font: 400 10px var(--f-mono); fill: var(--ink-3); text-anchor: middle; letter-spacing: .1em; text-transform: uppercase; }
.d-rule  { stroke: var(--rule); stroke-width: 1; }
.d-badge rect { fill: none; stroke: var(--rule); stroke-width: 1.5; }
.d-badge text { font: 600 11px var(--f-mono); fill: var(--ink-2); text-anchor: middle; letter-spacing: .04em; }
.d-badge--key rect { stroke: var(--light); }
.d-badge--key text { fill: var(--deep); }

.diagram--onDeep .d-ws { fill: rgba(145,216,247,.7); }
.diagram--onDeep .d-node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.22); }
.diagram--onDeep .d-node text { fill: #fff; }
.diagram--onDeep .d-node .d-sub { fill: rgba(255,255,255,.5); }
.diagram--onDeep .d-node--key rect { stroke: var(--light); stroke-width: 2; }
.diagram--onDeep .d-edge { fill: rgba(255,255,255,.45); }
.diagram--onDeep .d-rule { stroke: rgba(255,255,255,.14); }
.diagram--onDeep .d-badge rect { stroke: rgba(255,255,255,.28); }
.diagram--onDeep .d-badge text { fill: rgba(255,255,255,.82); }
.diagram--onDeep .d-badge--key rect { stroke: var(--light); }
.diagram--onDeep .d-badge--key text { fill: var(--light); }

/* ── Products ────────────────────────────────────────────────── */
.products { display: flex; flex-direction: column; gap: 24px; }
.product {
  display: grid; grid-template-columns: .75fr 1.25fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.product:hover {
  border-color: var(--deep-300);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,79,118,.08);
}
.product__shot {
  position: relative;
  min-height: 260px;
  background: linear-gradient(135deg, var(--light-50) 0%, #fff 100%);
  border-right: 1px solid var(--rule);
  display: grid; place-items: center;
  overflow: hidden;
}
.product__shot::before {
  content: '';
  position: absolute; inset: 24px;
  border: 1px dashed var(--rule); border-radius: var(--r);
}
/* Corner marks */
.product__shot::after {
  content: '';
  position: absolute; inset: 24px;
  background:
    linear-gradient(var(--deep-300), var(--deep-300)) 0 0 / 16px 1px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 0 0 / 1px 16px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 100% 0 / 16px 1px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 100% 0 / 1px 16px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 0 100% / 16px 1px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 0 100% / 1px 16px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 100% 100% / 16px 1px no-repeat,
    linear-gradient(var(--deep-300), var(--deep-300)) 100% 100% / 1px 16px no-repeat;
  opacity: .4;
}
/* Animated grid dots in product shot */
.product__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--rule) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .6;
}
.product__shotNote {
  position: relative; z-index: 1;
  font: 500 .64rem var(--f-mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); text-align: center; padding: 0 24px;
}
.product__body { padding: clamp(26px, 3vw, 42px); }
.product__cat  { font: 500 .66rem var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--deep-300); }
.product__t    { font: 800 1.9rem var(--f-display); letter-spacing: -.03em; margin-top: 10px; }
.product__h    { font: 500 1.04rem var(--f-body); color: var(--deep); margin-top: 9px; }
.product__d    { color: var(--ink-2); font-size: .93rem; margin-top: 14px; line-height: 1.65; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li {
  font: 400 .74rem var(--f-body);
  color: var(--ink-2);
  background: var(--tint);
  border: 1px solid var(--rule);
  padding: 5px 11px; border-radius: 100px;
  transition: background .2s, border-color .2s, color .2s;
}
.chips li:hover { background: var(--light-50); border-color: var(--light); color: var(--deep); }
.chips--si li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.86); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; }
.facts li { font-size: .87rem; color: var(--ink-2); }
.facts strong { font: 700 1.08rem var(--f-display); color: var(--deep); margin-right: 4px; }

.note {
  margin-top: 16px; padding: 12px 15px;
  background: var(--tint); border-left: 2px solid var(--light);
  font-size: .82rem; color: var(--ink-2);
  border-radius: 0 var(--r) var(--r) 0;
}
.product .btn { margin-top: 24px; }

/* ── Cases ───────────────────────────────────────────────────── */
.cases { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.case {
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: clamp(26px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.case::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--light), var(--deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.case:hover {
  border-color: var(--deep-300);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,79,118,.1);
}
.case:hover::before { transform: scaleX(1); }

.case__tag { font: 500 .64rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--deep-300); }
.case__t   { font: 700 1.22rem/1.26 var(--f-display); letter-spacing: -.016em; }
.case__m   { font-size: .86rem; color: var(--ink-2); }
.case__cta {
  margin-top: auto; padding-top: 14px;
  font: 500 .78rem var(--f-mono); color: var(--deep);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s var(--ease);
}
.case__cta::after { content: '→'; transition: transform .3s var(--ease); }
.case:hover .case__cta { gap: 10px; }
.case:hover .case__cta::after { transform: translateX(3px); }

/* ── Section bridges (transparent gaps let 3D show between sections) */
.sect-bridge {
  display: block;
  height: 60px;
  position: relative;
  z-index: 0;     /* below sections — 3D canvas shows through */
  background: transparent;
}
.sect-bridge--room-to-deep,
.sect-bridge--deep-to-room,
.sect-bridge--tint-to-deep,
.sect-bridge--deep-to-tint { background: transparent; }

/* ── Proof band ──────────────────────────────────────────────── */
.proofband {
  padding-block: clamp(60px, 8vw, 100px);
  background: rgba(2, 7, 12, 0.95);
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.proofband::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(145,216,247,.07) 0%, transparent 60%);
  pointer-events: none;
}

.proof__head {
  font: 800 clamp(2.4rem, 7vw, 5rem)/1.05 var(--f-display);
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: clamp(40px, 6vw, 72px);
  opacity: .92;
}

.proof {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.proof__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.proof__item:first-child { border-top: 1px solid rgba(255,255,255,.09); }

.proof__n {
  font: 800 clamp(3rem, 10vw, 7.5rem)/0.88 var(--f-display);
  color: #fff;
  letter-spacing: -.055em;
  flex-shrink: 0;
}
.proof__l {
  font: 500 .68rem/1.55 var(--f-mono);
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: right;
}

/* ── Why SSSD ────────────────────────────────────────────────── */
.why {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  overflow: hidden;
}
.why__item {
  background: var(--room);
  padding: 28px 26px 32px;
  position: relative;
  transition: background .3s;
}
.why__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--light);
  transition: height .4s var(--ease);
}
.why__item:hover { background: var(--paper); }
.why__item:hover::before { height: 100%; }
.why__item h3 {
  font: 700 1.05rem var(--f-display);
  letter-spacing: -.012em;
}
.why__item p  { color: var(--ink-2); font-size: .89rem; margin-top: 9px; line-height: 1.6; }

.example {
  margin-top: 28px;
  background: var(--deep);
  color: #fff;
  border-radius: var(--r-l);
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
}
.example::before {
  content: '"';
  position: absolute;
  top: -20px; right: 32px;
  font: 800 10rem var(--f-display);
  color: rgba(145,216,247,.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.example__label { font: 500 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--light); }
.example__body  { margin-top: 14px; font-size: 1.04rem; line-height: 1.75; color: rgba(255,255,255,.9); max-width: 74ch; }

.ownership { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule); }
.ownership__label { font: 500 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--deep-300); }
.ownership__chain { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 16px; }
.ownership__chain li { font: 500 .74rem var(--f-mono); color: var(--ink-2); }
.ownership__chain li + li::before { content: '→'; margin-inline: 10px; color: var(--light); }
.ownership__note { margin-top: 16px; font-size: .88rem; color: var(--ink-2); max-width: 74ch; }

/* ── Industries ──────────────────────────────────────────────── */
.inds { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.ind {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  padding: 26px 26px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.ind::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.ind:hover { border-color: var(--deep-300); transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,79,118,.08); }
.ind:hover::before { transform: scaleX(1); }
.ind h3 { font: 700 1.08rem var(--f-display); letter-spacing: -.012em; }
.ind p  { color: var(--ink-2); font-size: .89rem; margin-top: 9px; line-height: 1.62; }

.si {
  margin-top: 28px;
  background: var(--deep);
  color: #fff;
  border-radius: var(--r-l);
  padding: clamp(30px, 4vw, 50px);
  position: relative;
  overflow: hidden;
}
.si::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(145,216,247,.1) 0%, transparent 60%);
  pointer-events: none;
}
.si__eyebrow { font: 500 .66rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--light); }
.si__t { font: 700 clamp(1.5rem, 2.8vw, 2.2rem) var(--f-display); letter-spacing: -.025em; margin-top: 12px; }
.si__d { color: rgba(255,255,255,.8); margin-top: 14px; max-width: 68ch; line-height: 1.7; }
.si .btn { margin-top: 24px; }

/* ── Process ─────────────────────────────────────────────────── */
.process {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  position: relative;
}
.process li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 24px 22px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.process li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--light-50), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.process li:hover { border-color: var(--deep-300); transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,79,118,.08); }
.process li:hover::after { opacity: 1; }
.process span {
  font: 500 .66rem var(--f-mono); letter-spacing: .16em;
  color: var(--light); background: var(--deep);
  padding: 4px 9px; border-radius: 4px;
  position: relative; z-index: 1;
}
.process h3 { font: 700 1.02rem var(--f-display); margin-top: 14px; position: relative; z-index: 1; }
.process p  { font-size: .87rem; color: var(--ink-2); margin-top: 7px; line-height: 1.6; position: relative; z-index: 1; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact { display: grid; gap: var(--gap); grid-template-columns: .85fr 1.15fr; align-items: start; }
.contact__details { display: grid; gap: 22px; margin-top: 36px; }
.contact__details dt {
  font: 500 .64rem var(--f-mono); letter-spacing: .2em;
  text-transform: uppercase; color: rgba(145,216,247,.8);
}
.contact__details dd { margin-top: 5px; color: rgba(255,255,255,.88); font-size: .96rem; line-height: 1.5; }
.contact__details a:hover { color: var(--light); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label, .field legend {
  font: 500 .64rem var(--f-mono); letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.56);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: 300 .96rem var(--f-body);
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r);
  padding: 13px 15px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--light);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(145,216,247,.12);
}
.field select option { color: var(--ink); background: #fff; }
.field--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; border: 0; }
.radio { display: inline-flex; align-items: center; gap: 8px; font: 400 .9rem var(--f-body); color: rgba(255,255,255,.86); text-transform: none; letter-spacing: 0; }
.radio input { width: auto; accent-color: var(--light); }

.err, .form__err { font-size: .76rem; color: #FFB4AE; min-height: 1em; }
.form .btn { justify-self: start; margin-top: 4px; }
.form .btn:disabled { opacity: .6; cursor: wait; }

.form__ok {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(145,216,247,.35);
  border-radius: var(--r-l);
  padding: 44px 32px; text-align: center;
}
.form__okT { font: 700 1.2rem var(--f-display); }
.form__okB { color: rgba(255,255,255,.72); margin-top: 10px; font-size: .92rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.foot {
  background: rgba(2, 5, 10, 0.96);
  color: rgba(200,229,245,.55);
  padding-top: clamp(50px, 7vw, 80px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--deep-300), transparent);
}
.foot__inner { display: grid; gap: var(--gap); grid-template-columns: .9fr 1.6fr; }
.foot__brand img { width: 42px; filter: brightness(0) invert(1); opacity: .88; }
.foot__pos { font: 700 .97rem var(--f-display); color: #fff; margin-top: 16px; }
.foot__tag { font-size: .88rem; margin-top: 6px; max-width: 30ch; line-height: 1.6; }

.foot__nav { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); }
.foot__nav h3 { font: 500 .64rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--light); margin-bottom: 16px; }
.foot__nav a, .foot__nav address {
  display: block; font-size: .87rem; font-style: normal;
  color: rgba(255,255,255,.65); margin-bottom: 10px;
  transition: color .2s, padding-left .2s;
}
.foot__nav a:hover { color: #fff; padding-left: 4px; }

.foot__legal {
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  font: 400 .74rem var(--f-mono); color: rgba(255,255,255,.38);
}

/* ── Modal ───────────────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,12,18,.7);
  backdrop-filter: blur(12px);
  pointer-events: none;   /* invisible state must not block clicks */
  -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__panel {
  position: relative;
  width: min(760px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.5vw, 50px);
  transform: translateY(20px) scale(.98);
  transition: transform .35s var(--ease);
  box-shadow: 0 40px 100px rgba(0,20,40,.3);
}
.modal.is-open .modal__panel { transform: none; }
.modal__x {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tint); color: var(--ink-2); font-size: .9rem;
  transition: background .2s, color .2s, transform .2s;
}
.modal__x:hover { background: var(--deep); color: #fff; transform: rotate(90deg); }
.modal__tag { font: 500 .64rem var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--deep-300); }
.modal__t   { font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.18 var(--f-display); letter-spacing: -.025em; margin-top: 10px; padding-right: 44px; }
.modal__body { margin-top: 28px; display: grid; gap: 28px; }
.modal__body > * { min-width: 0; }

.mblock h4 { font: 500 .66rem var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--deep); padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.mblock p  { margin-top: 12px; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.mblock p.muted { font-size: .86rem; color: var(--ink-3); }
.mblock ul { margin-top: 12px; display: grid; gap: 8px; }
.mblock ul li { position: relative; padding-left: 20px; font-size: .93rem; color: var(--ink-2); }
.mblock ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--light); transform: rotate(45deg); }
.mflow { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 12px; }
.mflow li { font: 500 .74rem var(--f-mono); color: var(--deep); }
.mflow li + li::before { content: '→'; margin-inline: 9px; color: var(--light); }
.mstat { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; }
.diagram--inModal { margin-top: 14px; }
.diagram--inModal svg { width: 100%; height: auto; min-width: 480px; }
.mstat b { font: 800 2.2rem var(--f-display); color: var(--deep); letter-spacing: -.035em; }
.mstat span { font-size: .9rem; color: var(--ink-2); }
.modal .btn { margin-top: 6px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .oracle, .contact, .foot__inner { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__shot { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 780px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .form__row { grid-template-columns: 1fr; }
  .foot__legal { flex-direction: column; }
  .intent { grid-template-columns: 48px 1fr auto; gap: 16px; }
  .intent__n { font-size: 1.6rem; }
  .hero__scrollcue { display: none; }
}

@media (max-width: 540px) {
  .intent { grid-template-columns: 1fr auto; }
  .intent__n { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-left, .reveal-scale { opacity: 1; transform: none; }
  .eyebrow, .hero__h1, .hero__lede, .hero__actions, .flowline { opacity: 1; animation: none; }
  .hero__scrollcue { opacity: 1; animation: none; }
  .scrollcue__line { animation: none; }
}
