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

:root {
  --bg: #050d1f;
  --navy-1: #0a1a36;
  --line: rgba(140, 170, 230, 0.14);
  --ink: rgba(238, 244, 255, 0.95);
  --muted: rgba(186, 204, 236, 0.68);
  --faint: rgba(186, 204, 236, 0.36);
  --green: #65a637;
  --green-l: #7fd06a;
  --blue: #0875e1;
  --blue-l: #5aa9ff;
  --teal: #22c1b3;
  --teal-l: #6ee9dc;
  --violet: #8b7cf6;
  --amber: #ffb23e;
  --red: #ff6b6b;
  --acc: var(--green-l);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px;
}

/* ── Ambient background ─────────────────────────────────── */
.sky {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(8, 117, 225, 0.26), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(101, 166, 55, 0.16), transparent 60%),
    linear-gradient(180deg, #06122a 0%, var(--bg) 60%);
}
.sky::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
}

/* ── Chrome ─────────────────────────────────────────────── */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green-l), var(--teal-l), var(--blue-l));
}
#dots {
  position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 12px;
}
#dots button {
  all: unset; cursor: pointer; position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(186, 204, 236, 0.22); transition: background .3s, transform .3s var(--ease);
}
#dots button:hover, #dots button.active { background: var(--acc); transform: scale(1.35); }
#dots button span {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%) translateX(-6px);
  white-space: nowrap; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); background: rgba(10, 26, 54, 0.92); border: 1px solid var(--line);
  padding: 5px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .25s;
}
#dots button:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
#chapter {
  position: fixed; left: 56px; bottom: 26px; z-index: 40;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); opacity: 0; transition: opacity .4s;
}
#chapter b { color: var(--acc); font-weight: 600; margin-right: 10px; }
body.in-story #chapter { opacity: 1; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 clamp(20px, 4vw, 56px) 0 clamp(20px, 6vw, 88px);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
body.past-hero .topbar {
  background: rgba(5, 13, 31, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .1em; font-size: 14px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand small { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--green-l); text-transform: uppercase; margin-left: 4px; }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.topnav a:hover { color: var(--ink); }
.topnav .topnav-cta {
  color: #06122a; font-weight: 700; padding: 9px 16px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green-l), var(--teal-l));
}
.topnav .topnav-cta:hover { color: #06122a; filter: brightness(1.08); }

/* ── Buttons ────────────────────────────────────────────── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 "Inter", sans-serif; text-decoration: none;
  color: #06122a; background: linear-gradient(90deg, var(--green-l), var(--teal-l));
  box-shadow: 0 10px 30px -10px rgba(110, 233, 220, 0.55);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(110, 233, 220, 0.7); }
.cta.ghost { color: var(--ink); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(186, 204, 236, 0.28); box-shadow: none; }
.cta.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cta-block { width: 100%; }
.step .cta { margin-top: 26px; }
.text-link { display: inline-block; margin-top: 28px; color: var(--blue-l); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--teal-l); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center;
  padding: 90px 7vw 60px 9vw; gap: 4vw;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-l);
  opacity: 0; animation: fade .8s .1s forwards;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-l); box-shadow: 0 0 0 0 rgba(127, 208, 106, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127, 208, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 208, 106, 0); } }
.hero h1 { font-size: clamp(52px, 7.4vw, 124px); line-height: .94; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hero h1 em, .contact-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green-l), var(--teal-l) 45%, var(--blue-l) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  margin-top: 28px; max-width: 36ch; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; color: var(--muted);
  opacity: 0; animation: fade .9s .6s forwards;
}
.hero .sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; opacity: 0; animation: fade .9s .8s forwards; }
.hero-visual { position: relative; opacity: 0; animation: fade 1.2s .4s forwards; }
.hero-stack svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.hero-stack .fl { opacity: 0; animation: build .8s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(.7s + var(--k) * .16s); }
.hero-stack .fl text { font: 600 7.6px var(--mono); letter-spacing: .06em; fill: #c7d4ee; }
.hero-stack .win.lit { animation: glowon 7s ease-in-out infinite; animation-delay: calc(var(--w) * -0.8s); }
.hero-stack .beacon { fill: #ff8a80; filter: drop-shadow(0 0 3px #ff6b6b); animation: blink-b 1.6s steps(1) infinite; }
@keyframes build { from { opacity: 0; transform: translateY(-34px); } to { opacity: 1; transform: none; } }
@keyframes glowon { 0%, 100% { opacity: 1; } 45% { opacity: .55; } 55% { opacity: 1; } }
@keyframes blink-b { 50% { opacity: .15; } }
.hero-who {
  position: absolute; left: -2%; bottom: -9%;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(10, 26, 54, 0.85); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; color: var(--muted);
}
.hero-who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 18%; background: #12305e; border: 2px solid rgba(127, 208, 106, 0.5); }
.hero-who b { display: block; font-size: 16px; color: var(--ink); }
.cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}
.cue i { width: 1px; height: 46px; background: linear-gradient(var(--green-l), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(var(--k) * -4px)); } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Scrollytelling layout ──────────────────────────────── */
.scrolly { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); position: relative; }
.steps { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.stage-col { grid-column: 2; grid-row: 1; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; container-type: size; }

.step { min-height: 100vh; position: relative; padding-bottom: 32vh; }
.step[data-h="120"] { min-height: 120vh; }
.step[data-h="130"] { min-height: 130vh; }
.step[data-h="150"] { min-height: 150vh; }
.step[data-h="160"] { min-height: 160vh; }
.step[data-h="170"] { min-height: 170vh; }
.step-inner { position: sticky; top: var(--pin, 15vh); padding: 0 4vw 0 6.5vw; max-width: 860px; transition: opacity .25s linear; }
.bignum {
  position: absolute; left: 3.5vw; top: -0.12em; z-index: -1; pointer-events: none;
  font-size: 170px; font-weight: 900; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(186, 204, 236, 0.08);
}
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 18px; transition: color .6s;
}
.step h2 { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; margin-bottom: 18px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--muted); margin-bottom: 28px; max-width: 60ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.lede + .lede { margin-top: -12px; }

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .step.seen .reveal { opacity: 1; transform: none; }
.js .step.seen .reveal:nth-child(3) { transition-delay: .08s; }
.js .step.seen .reveal:nth-child(4) { transition-delay: .16s; }
.js .step.seen .reveal:nth-child(5) { transition-delay: .24s; }
.js .step.seen .reveal:nth-child(6) { transition-delay: .32s; }

.rows { display: grid; gap: 4px 28px; }
.rows:has(> .row:nth-child(4)) { grid-template-columns: 1fr 1fr; }
.row {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start;
  padding: 14px 0 14px 16px; border-left: 2px solid rgba(186, 204, 236, 0.12);
  transition: border-color .5s, opacity .5s, transform .5s var(--ease);
}
.row .n { font-family: var(--mono); font-size: 13px; color: var(--acc); padding-top: 3px; }
.row h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; }
.row p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.js .tick { opacity: .25; transform: translateX(-10px); }
.js .tick.on { opacity: 1; transform: none; border-left-color: var(--acc); }
.js .flow.tick { opacity: 1; transform: none; }

.callout {
  margin-top: 22px; padding: 16px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; max-width: 60ch;
  background: rgba(8, 117, 225, 0.1); border: 1px solid rgba(90, 169, 255, 0.25); color: var(--ink);
}
.callout.warm { background: rgba(255, 178, 62, 0.09); border-color: rgba(255, 178, 62, 0.3); }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; }
.flow span { font-size: 14px; font-weight: 600; padding: 8px 13px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.js .flow > * { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.js .flow.on > * { opacity: 1; transform: none; }
.js .flow.on > *:nth-child(2) { transition-delay: .08s; } .js .flow.on > *:nth-child(3) { transition-delay: .16s; }
.js .flow.on > *:nth-child(4) { transition-delay: .24s; } .js .flow.on > *:nth-child(5) { transition-delay: .32s; }
.js .flow.on > *:nth-child(6) { transition-delay: .40s; }

/* ── Stage ──────────────────────────────────────────────── */
.stage-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 420px at 50% 56%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%);
  transition: background 1s;
}
.stage-inner { position: absolute; inset: 0; container-type: size; }
.anchor { position: absolute; left: 50%; top: 56%; width: 0; height: 0; z-index: 2; transition: transform 1.2s var(--ease), opacity .8s; }
.stage.gte-4 .anchor { transform: translateY(9vh) scale(.92); }
.stage:has(.clone.on) .anchor { transform: translateY(-4vh) scale(.36); opacity: .55; }

.iso {
  position: absolute; left: -130px; top: -130px; width: 260px; height: 260px;
  transform-style: preserve-3d;
  transform: rotateX(calc(58deg + var(--py, 0) * 7deg)) rotateZ(calc(-45deg + var(--spin, 0deg) + var(--px, 0) * 10deg));
}
.slab { position: absolute; inset: 0; transform-style: preserve-3d; --t: 26px; --z: 0px; --off: 0px;
  transform: translateZ(calc(var(--z) + var(--off))); transition: transform 1.2s var(--ease); }
.slab > i { position: absolute; transition: opacity .7s; }
.slab:not(.on) { --off: 280px; }
.slab:not(.on) > i { opacity: 0; }
.slab .top {
  inset: 0; transform: translateZ(var(--t)); border-radius: 8px;
  background: var(--c-top); border: 1px solid var(--c-edge);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08), 0 0 60px -10px var(--c-glow, transparent);
  display: flex; flex-direction: column; justify-content: center; padding: 0 26px; font-style: normal;
}
.slab .top b { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.slab .top small { font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; letter-spacing: .04em; }
.slab .fy { left: 0; top: 100%; width: 100%; height: var(--t); transform-origin: top; transform: rotateX(90deg); background: var(--c-s1); border-radius: 0 0 6px 6px; }
.slab .fx { right: 100%; top: 0; width: var(--t); height: 100%; transform-origin: right; transform: rotateY(90deg); background: var(--c-s2); border-radius: 6px 0 0 6px; }

.s-ops { --z: 0px; --t: 36px;
  --c-top: linear-gradient(135deg, #a6e88f, #65a637 60%, #3f7d20); --c-edge: rgba(200, 255, 180, 0.8);
  --c-s1: #3a6e1f; --c-s2: #2a5216; --c-glow: rgba(101, 166, 55, 0.9); }
.s-ops:not(.on) { --off: -220px; }
.s-ctx { --z: 56px; --t: 30px;
  --c-top: linear-gradient(135deg, #5aa9ff, #0875e1 60%, #0659b0); --c-edge: rgba(170, 210, 255, 0.8);
  --c-s1: #054a92; --c-s2: #03366c; --c-glow: rgba(8, 117, 225, 0.9); }
.s-mcp { --z: 106px; --t: 12px;
  --c-top: repeating-linear-gradient(90deg, rgba(34, 193, 179, 0.95) 0 22px, rgba(18, 140, 130, 0.95) 22px 26px); --c-edge: rgba(150, 255, 240, 0.8);
  --c-s1: #0d7f75; --c-s2: #095c55; --c-glow: rgba(34, 193, 179, 0.9); }
.s-mcp .top b { font-size: 16px; font-family: var(--mono); letter-spacing: .2em; }
.cart { width: 121px; height: 121px; inset: auto; --z: 136px; --t: 22px; }
.cart .top { padding: 0 10px; border-radius: 7px; }
.cart .top b { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.c1 { left: 0; top: 0; --c-top: linear-gradient(135deg, #a6e88f, #5fb43e); --c-edge: #ddffd0; --c-s1: #3f7d20; --c-s2: #2d5c17; }
.c2 { left: 139px; top: 0; --c-top: linear-gradient(135deg, #b8adff, #7c6cf0); --c-edge: #e0dbff; --c-s1: #5a4cc0; --c-s2: #433893; }
.c3 { left: 0; top: 139px; --c-top: linear-gradient(135deg, #7ff0d8, #1fb89f); --c-edge: #d2fff5; --c-s1: #158a76; --c-s2: #0f6758; }
.c4 { left: 139px; top: 139px; --c-top: linear-gradient(135deg, #ffc98a, #f39a2a); --c-edge: #ffe6c7; --c-s1: #b86d14; --c-s2: #8a510e; }

.iso .ghost { position: absolute; inset: 0; transform: translateZ(var(--z)); border: 1.5px dashed rgba(186, 204, 236, 0.35); border-radius: 8px; transition: opacity .8s; opacity: 0; }
.iso .ghost.on { opacity: 1; }

.scan { position: absolute; inset: -10px; border-radius: 10px; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(170, 255, 220, 0.5), rgba(90, 169, 255, 0.05) 70%);
  border: 1px solid rgba(170, 255, 220, 0.6); }
.scan.on { opacity: 1; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateZ(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateZ(170px); opacity: 0; } }

/* human guardrails around the stack */
.fence { position: absolute; inset: -26px; transform-style: preserve-3d; opacity: 0; transform: translateZ(-90px);
  transition: opacity .9s, transform 1.3s var(--ease); pointer-events: none; }
.fence.on { opacity: 1; transform: none; }
.fence > i { position: absolute; --h: 190px;
  background:
    repeating-linear-gradient(var(--dir), rgba(255, 207, 138, 0.0) 0 36px, rgba(255, 207, 138, 0.28) 36px 37px),
    linear-gradient(var(--dir), rgba(255, 207, 138, 0.16), rgba(255, 207, 138, 0.02));
  border: 1px solid rgba(255, 207, 138, 0.35); }
.fence .w-back, .fence .w-front { left: 0; width: 100%; height: var(--h); transform-origin: top; transform: rotateX(90deg); --dir: to top;
  border-bottom: 2px solid rgba(255, 220, 170, 0.9); box-shadow: 0 1px 14px rgba(255, 207, 138, 0.25); }
.fence .w-back { top: 0; }
.fence .w-front { top: 100%; }
.fence .w-left, .fence .w-right { top: 0; height: 100%; width: var(--h); transform-origin: left; transform: rotateY(-90deg); --dir: to left;
  border-right: 2px solid rgba(255, 220, 170, 0.9); }
.fence .w-left { left: 0; }
.fence .w-right { left: 100%; }
.stage:has(.clone.on) .fence { opacity: 0; }

.gate {
  position: absolute; left: var(--x); top: var(--y); z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(30, 24, 18, 0.82); border: 1px solid rgba(255, 207, 138, 0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 34px -10px rgba(255, 207, 138, 0.7);
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(var(--d) * 140ms);
}
.gate.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.gate .who { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(160deg, #ffdfae, #f2a65a); }
.gate .who::before { content: ""; position: absolute; left: 50%; top: 6px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #3a2615; }
.gate .who::after { content: ""; position: absolute; left: 50%; top: 18px; width: 20px; height: 16px; margin-left: -10px; border-radius: 10px 10px 0 0; background: #3a2615; }
.gate small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #ffcf8a; }
.gate b { font-size: 13px; color: var(--ink); white-space: nowrap; }

/* chaos tiles that sort into root causes */
.chaos {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  font-size: clamp(10px, 1.7cqw, 13.5px); font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  padding: 9px 15px 9px 12px; border-radius: 12px; color: #ffe3e3;
  background: linear-gradient(180deg, rgba(34, 58, 104, 0.62), rgba(12, 26, 56, 0.72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 128, 128, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 22px 44px -20px rgba(0, 0, 0, 0.9),
    0 0 30px -12px rgba(255, 107, 107, 0.55);
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  transition: transform 1.2s var(--ease), opacity .8s, filter .8s, border-color .6s, color .6s, box-shadow .6s;
  transition-delay: calc(var(--d, 0) * 45ms);
}
.chaos > span::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; vertical-align: 1px;
  background: var(--red); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
  animation: alarm 2.4s ease-out infinite; animation-delay: calc(var(--d, 0) * -0.31s);
  transition: background .6s;
}
.chaos.on {
  opacity: calc(0.45 + var(--z, 1) * 0.55);
  filter: blur(calc((1 - var(--z, 1)) * 7px));
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r, 0deg)) scale(var(--z, 1));
  animation: drift calc(5s + var(--d, 0) * 0.45s) ease-in-out infinite; animation-delay: calc(var(--d, 0) * -0.7s);
}
.stage.gte-1 .chaos.on {
  opacity: 1; filter: none; animation: none; color: var(--ink);
  transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy)));
  border-color: color-mix(in srgb, var(--bc) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 22px 44px -20px rgba(0, 0, 0, 0.9), 0 0 26px -10px var(--bc);
}
.stage.gte-1 .chaos > span::before { background: var(--bc); animation: none; }
@keyframes drift {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  33% { translate: 4px -7px; rotate: 1.2deg; }
  66% { translate: -5px 3px; rotate: -1deg; }
}
@keyframes alarm {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255, 107, 107, 0); }
}

.bucket {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  font-family: var(--mono); font-size: clamp(10px, 1.6cqw, 12px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c); padding-bottom: 8px; border-bottom: 2px solid var(--c);
  transform: translate(calc(-50% + var(--x)), calc(-50% - 22cqh)); opacity: 0; transition: opacity .6s, transform .8s var(--ease);
  white-space: nowrap;
}
.bucket.on { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% - 19cqh)); }

/* knowledge notes */
.md {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: 132px; padding: 12px 12px 14px; border-radius: 10px;
  background: #f4fbff; color: #0d2a4d; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  opacity: 0; transform: translate(calc(-50% + var(--x)), -70vh) rotate(var(--r));
  transition: transform 1s var(--ease), opacity .6s; transition-delay: calc(var(--d) * 120ms);
}
.md div { height: 5px; border-radius: 3px; background: rgba(13, 42, 77, 0.18); margin-top: 7px; }
.md div:nth-child(3) { width: 70%; } .md div:nth-child(4) { width: 85%; }
.md.on { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% - 28cqh)) rotate(var(--r)); }
.md.past { opacity: 0; transform: translate(-50%, 10vh) scale(.2) rotate(0deg); transition-duration: .9s; }

/* systems */
.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.links line { stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s; }
.links.on line { opacity: 1; }
.links .base { stroke: rgba(34, 193, 179, 0.55); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.links .flowl { stroke: var(--teal-l); stroke-dasharray: .02 .06; opacity: 0; transition: opacity .6s; }
.links.on .base { stroke-dashoffset: 0; }
.links-h .base { stroke: rgba(255, 207, 138, 0.5); }
.links-h .flowl { stroke: #ffdcaa; }
.links.on .flowl { opacity: 1; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -.16; } }
.sys {
  position: absolute; left: var(--x); top: var(--y); z-index: 3; text-align: center;
  padding: 9px 15px; border-radius: 12px; background: rgba(8, 20, 44, 0.92); border: 1px solid rgba(34, 193, 179, 0.5);
  box-shadow: 0 0 30px -8px rgba(34, 193, 179, 0.6);
  transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .8s var(--ease), opacity .6s;
  transition-delay: calc(var(--d) * 110ms);
}
.sys small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.sys b { font-size: 14px; color: var(--ink); white-space: nowrap; }
.sys.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* dashboard artifact */
.win { border-radius: 14px; overflow: hidden; background: rgba(8, 20, 44, 0.92); border: 1px solid rgba(140, 170, 230, 0.28); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.win-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--line); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.win-bar span { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.win-body { padding: 16px; }
.artifact {
  position: absolute; left: 50%; top: max(3%, calc(56% + 9vh - 520px)); width: min(480px, 90%); z-index: 4;
  transform: translate(-50%, 36vh) scale(.4); opacity: 0; transition: transform 1s var(--ease), opacity .6s;
}
.artifact.on { transform: translate(-50%, 0) scale(1); opacity: 1; }
.artifact.past { transform: translate(-50%, -30px) scale(.96); opacity: 0; }
.artifact h4 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; }
.artifact h4 em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.dash { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 8px; align-items: end; }
.dash .kpi { border-radius: 8px; padding: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 11px; color: var(--faint); }
.dash .kpi b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.dash .kpi .down, .dash .kpi .up { color: var(--green-l); font-weight: 600; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 84px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(var(--teal-l), var(--blue)); height: 4%; transition: height 1s var(--ease); }
.artifact.on .bars i { height: var(--h); }
.artifact.on .bars i:nth-child(2) { transition-delay: .1s; } .artifact.on .bars i:nth-child(3) { transition-delay: .2s; }
.artifact.on .bars i:nth-child(4) { transition-delay: .3s; } .artifact.on .bars i:nth-child(5) { transition-delay: .4s; }
.artifact.on .bars i:nth-child(6) { transition-delay: .5s; }

/* clones */
.clone {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: min(180px, 40cqw); text-align: center;
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
  transition: transform 1.1s var(--ease), opacity .6s; transition-delay: calc(var(--d) * 140ms);
}
.clone.on { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); opacity: 1; }
.clone svg { width: min(104px, 22cqw); display: block; margin: 0 auto 6px; overflow: visible; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)); }
.clone b { display: block; font-size: 13.5px; }
.clone small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.links2 line { stroke: rgba(186, 204, 236, 0.35); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.links2.on line { stroke-dashoffset: 0; }

.legend { position: absolute; right: 28px; bottom: 26px; z-index: 5; display: flex; gap: 8px; }
.legend span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); transition: .5s; }
.legend span.on { color: #fff; border-color: var(--c); background: color-mix(in srgb, var(--c) 25%, transparent); box-shadow: 0 0 16px -4px var(--c); }

.stage-caption { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 5; font-size: 13px; color: var(--muted); white-space: nowrap; }
.stage-caption span { position: absolute; left: 50%; transform: translate(-50%, 8px); opacity: 0; transition: .6s var(--ease); }
.stage-caption span.on { opacity: 1; transform: translate(-50%, 0); }

/* ── Bands (after the story) ────────────────────────────── */
.band { position: relative; padding: clamp(90px, 14vh, 150px) 0; }
.band--alt { background: linear-gradient(180deg, rgba(10, 26, 54, 0.55), rgba(10, 26, 54, 0.15)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { width: min(1160px, calc(100% - 7vw - 9vw)); margin-left: 9vw; margin-right: 7vw; }
.band-title { font-size: clamp(34px, 4vw, 60px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 800; max-width: 22ch; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.split--about { grid-template-columns: 0.8fr 1.2fr; }

.js .fade-up { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .fade-up.seen { opacity: 1; transform: none; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 46px; }
.stat { padding: 26px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(42px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  background: linear-gradient(90deg, var(--ink), var(--teal-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b i { font-style: normal; }
.stat:nth-child(3) b { font-size: clamp(30px, 2.9vw, 46px); padding-top: .25em; white-space: normal; line-height: 1.05; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }
.stats .stat:nth-child(2) { transition-delay: .1s; } .stats .stat:nth-child(3) { transition-delay: .2s; }

.wordmarks { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wordmarks li { font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.01em; color: var(--faint); transition: color .3s; }
.wordmarks li:hover { color: var(--ink); }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.seats small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-l); margin-bottom: 6px; }
.seats b { font-size: 16px; }

/* org chart */
.org { display: flex; flex-direction: column; align-items: center; padding: 30px; border-radius: 18px; background: rgba(8, 20, 44, 0.7); border: 1px solid var(--line); }
.org-node { padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(140, 170, 230, 0.3); background: rgba(255, 255, 255, 0.04); font-size: 13px; font-weight: 600; text-align: center; }
.org-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.org-wires { width: 100%; height: 36px; display: block; overflow: visible; }
.org-wires--down { height: 28px; }
.org-wires path { fill: none; stroke: rgba(110, 233, 220, 0.6); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.org.seen .org-wires path { stroke-dashoffset: 0; }
.org-you {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 18px;
  border-color: rgba(127, 208, 106, 0.7); background: rgba(101, 166, 55, 0.12);
  box-shadow: 0 0 40px -6px rgba(127, 208, 106, 0.55);
  transform: translateY(16px) scale(.92); opacity: 0; transition: transform 1s var(--ease) 1.1s, opacity .8s 1.1s;
}
.org.seen .org-you { transform: none; opacity: 1; }
.org-you img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 18%; background: #12305e; }
.org-you b { display: block; color: var(--green-l); font-size: 14px; }
.org-you span { font-size: 12.5px; color: var(--muted); font-weight: 500; }

/* engagement */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.model {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.model::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.model:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.models .model:nth-child(2) { transition-delay: .08s; } .models .model:nth-child(3) { transition-delay: .16s; }
.model-n { font-family: var(--mono); font-size: 13px; color: var(--c); }
.model h3 { font-size: 24px; letter-spacing: -0.02em; margin: 12px 0 10px; }
.model p { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.model .best { flex: 0; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.model .best small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 4px; font-weight: 500; }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 22px 18px 0 0; border-top: 2px solid rgba(186, 204, 236, 0.18); }
.journey li::before { content: counter(j, decimal-leading-zero); position: absolute; top: -11px; left: 0; font-family: var(--mono); font-size: 11px; color: #06122a; background: var(--green-l); padding: 2px 7px; border-radius: 999px; }
.journey b { display: block; font-size: 19px; margin-bottom: 4px; }
.journey span { color: var(--muted); font-size: 14.5px; }

/* about */
.about-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact-title { font-size: clamp(38px, 4.6vw, 70px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; margin-bottom: 22px; }
.contact-list { display: grid; gap: 10px; }
.contact-list a { font-size: 19px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid rgba(186, 204, 236, 0.25); transition: color .2s, border-color .2s; }
.contact-list a:hover { color: var(--teal-l); border-color: var(--teal-l); }
.form { border-radius: 16px; overflow: hidden; background: rgba(8, 20, 44, 0.92); border: 1px solid rgba(140, 170, 230, 0.28); box-shadow: 0 40px 100px -30px rgba(8, 117, 225, 0.45); }
.form-body { display: grid; gap: 14px; padding: 22px; }
.form label { display: grid; gap: 6px; }
.form label span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--ink); font: 400 15px/1.5 "Inter", sans-serif; transition: border-color .2s, background .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal-l); background: rgba(255, 255, 255, 0.07); }
.form textarea { resize: vertical; min-height: 120px; }
.form-note { min-height: 20px; font-size: 14px; color: var(--muted); }
.form-note.is-success { color: var(--green-l); font-weight: 600; }

.site-footer { padding: 40px 7vw 56px 9vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer b { color: var(--ink); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ── Depth & effects ────────────────────────────────────── */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

#neural {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero-copy { position: relative; z-index: 1; }
.hero-visual { z-index: 1; }
.hero-stack { translate: calc(var(--tx, 0) * 10px) calc(var(--ty, 0) * 7px); }
.hero-stack svg { shape-rendering: geometricPrecision; text-rendering: geometricPrecision; }
.hero-stack::after {
  content: ""; position: absolute; left: 12%; right: 30%; bottom: -2%; height: 14%; z-index: -1;
  background: radial-gradient(ellipse, rgba(110, 233, 220, 0.35), transparent 70%); filter: blur(12px);
}
.hero-stack { position: relative; }

.cursor-glow {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(110, 233, 220, 0.075), rgba(8, 117, 225, 0.04) 35%, transparent 65%);
}

.floor {
  position: absolute; inset: -170px; transform: translateZ(-2px); opacity: 0; transition: opacity 1.4s; pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 233, 220, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 233, 220, 0.28) 1px, transparent 1px);
  background-size: 30px 30px; background-position: center;
  mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%);
}
.stage:has(.s-ops.on) .floor { opacity: 1; }
.orbit {
  position: absolute; inset: var(--i); border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(110, 233, 220, 0.3); opacity: 0; transition: opacity 1.2s;
  transform: translateZ(var(--z)); animation: orbit var(--t) linear infinite;
}
.orbit::after {
  content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #e2fffa; box-shadow: 0 0 14px 4px rgba(110, 233, 220, 0.85);
}
.orbit--2 { border-style: dashed; border-color: rgba(184, 173, 255, 0.32); animation-direction: reverse; }
.orbit--2::after { background: #f1edff; box-shadow: 0 0 14px 4px rgba(139, 124, 246, 0.9); }
.stage.gte-2 .orbit { opacity: 1; }
.stage:has(.clone.on) .orbit { opacity: 0; }
@keyframes orbit { from { transform: translateZ(var(--z)) rotateZ(0deg); } to { transform: translateZ(var(--z)) rotateZ(360deg); } }
.stage-glow { transform: translate(calc(var(--px, 0) * 24px), calc(var(--py, 0) * 18px)); }

.tilt { position: relative; transform-style: preserve-3d; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.09), transparent 45%);
}
.tilt.tilting::after { opacity: 1; }
.tilt:not(.fade-up), .js .tilt.fade-up.seen, .js .ascent.seen .tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.tilt.tilting { transition: transform .12s linear, border-color .4s, box-shadow .4s !important; transition-delay: 0s !important; }

.form { position: relative; isolation: isolate; }
.form::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(110, 233, 220, 0.9) 76%, rgba(127, 208, 106, 0.9) 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 6s linear infinite;
}
@keyframes spin-ang { to { --ang: 360deg; } }

.band-title em.grad, .xp-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green-l), var(--teal-l) 45%, var(--blue-l) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Proof: stats + growth curve ────────────────────────── */
.stat-tags { display: flex !important; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.stat-tags i {
  font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; color: var(--teal-l); border: 1px solid rgba(110, 233, 220, 0.3); background: rgba(110, 233, 220, 0.06);
}
.ascent { margin: 10px 0 46px; }
.ascent-chart { position: relative; aspect-ratio: 1000 / 260; }
.ascent-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.asc-area { fill: url(#asc-fill); opacity: 0; transition: opacity 1.4s .6s; }
.asc-line { fill: none; stroke: url(#asc-line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px rgba(110, 233, 220, 0.6)); transition: stroke-dashoffset 2.2s var(--ease); }
.asc-comet { fill: #fff; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--teal-l)); opacity: 0; transition: opacity .6s 2s; }
.ascent.seen .asc-line { stroke-dashoffset: 0; }
.ascent.seen .asc-area, .ascent.seen .asc-comet { opacity: 1; }
.asc-node {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(110, 233, 220, 0.25), 0 0 24px 4px rgba(110, 233, 220, 0.7);
  transform: scale(0); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(.5s + var(--d) * .6s);
}
.asc-node::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(110, 233, 220, 0.6); animation: ping 2.4s ease-out infinite; animation-delay: calc(var(--d) * .5s); }
.ascent.seen .asc-node { transform: scale(1); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.ascent-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.ascent-card {
  padding: 22px 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  border-top: 2px solid var(--c); opacity: 0; translate: 0 24px;
  transition: opacity .8s var(--ease), translate .8s var(--ease), transform .5s var(--ease); transition-delay: calc(.6s + var(--d) * .6s);
}
.ascent.seen .ascent-card { opacity: 1; translate: 0 0; }
.ascent-card small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.ascent-card b { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.ascent-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ── Experience page ────────────────────────────────────── */
.xp-hero { min-height: auto; padding-top: 130px; padding-bottom: 80px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.xp-hero .sub { max-width: 54ch; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; opacity: 0; animation: fade .9s .7s forwards; }
.xp-chips span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--muted); }
.xp-portrait { position: relative; width: min(340px, 80%); aspect-ratio: 1; margin: 0 auto; transform: rotateX(calc(var(--ty, 0) * -8deg)) rotateY(calc(var(--tx, 0) * 10deg)); }
.xp-portrait::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from var(--ang), var(--green-l), var(--teal-l), var(--blue-l), transparent 60%, var(--green-l));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 7s linear infinite;
}
.xp-portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 18%;
  background: radial-gradient(circle at 50% 40%, #1a3f78, #0a1a36 70%); box-shadow: 0 30px 80px -30px rgba(8, 117, 225, 0.6); }
.xp-portrait .orb {
  position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 11px; border-radius: 999px; background: rgba(10, 26, 54, 0.88); border: 1px solid rgba(110, 233, 220, 0.4); color: var(--teal-l);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
  animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--d) * -1.2s);
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.section-title { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 26px; }
.domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.domain { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); transition: border-color .4s; }
.domain:hover { border-color: rgba(110, 233, 220, 0.4); }
.domain b { display: block; font-size: 17px; margin-bottom: 6px; }
.domain span { font-size: 14px; color: var(--muted); }

.xp-timeline { position: relative; padding-left: 52px; }
.xp-timeline::before, .xp-timeline::after { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.xp-timeline::before { background: rgba(186, 204, 236, 0.12); }
.xp-timeline::after { bottom: auto; height: calc((100% - 16px) * var(--fill, 0)); background: linear-gradient(var(--green-l), var(--teal-l), var(--blue-l)); box-shadow: 0 0 14px rgba(110, 233, 220, 0.7); }
.xp-item { position: relative; margin-bottom: 20px; }
.xp-item::before {
  content: ""; position: absolute; left: -43px; top: 30px; width: 14px; height: 14px; border-radius: 50%; z-index: 1;
  background: var(--bg); border: 2px solid rgba(186, 204, 236, 0.3); transition: .5s;
}
.xp-item.passed::before { background: var(--teal-l); border-color: #d8fff8; box-shadow: 0 0 0 5px rgba(110, 233, 220, 0.18), 0 0 18px rgba(110, 233, 220, 0.8); }
.xp-card { padding: 26px 28px; border-radius: 18px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); transition: border-color .4s, transform .9s var(--ease), opacity .9s var(--ease); }
.xp-item.passed .xp-card { border-color: rgba(110, 233, 220, 0.22); }
.xp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.xp-logo { height: 32px; width: auto; max-width: 150px; filter: brightness(0) invert(1); opacity: .92; }
.xp-head time { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.xp-card h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 4px; }
.xp-hq { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 12px; }
.xp-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag--stage { color: var(--green-l); border-color: rgba(127, 208, 106, 0.4); background: rgba(127, 208, 106, 0.07); }
.tag--early { color: var(--amber); border-color: rgba(255, 178, 62, 0.4); background: rgba(255, 178, 62, 0.07); }

.xp-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.xp-mini article { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.xp-mini .xp-logo { height: 20px; margin-bottom: 12px; }
.xp-mini time { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); margin-bottom: 6px; }
.xp-mini b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.xp-mini p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cred { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.cred small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-l); margin-bottom: 8px; }
.cred p { color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.xp-cta { text-align: center; }
.xp-cta .contact-title { max-width: 18ch; margin: 0 auto 26px; }
.xp-cta .hero-actions { justify-content: center; opacity: 1; animation: none; }
.topnav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 960px) {
  .xp-hero { grid-template-columns: 1fr; padding-top: 110px; }
  .xp-portrait { width: 220px; margin-top: 30px; }
  .xp-portrait .orb { font-size: 9.5px; }
  .ascent-cards, .creds { grid-template-columns: 1fr; }
  .xp-timeline { padding-left: 36px; }
  .xp-timeline::before, .xp-timeline::after { left: 9px; }
  .xp-item::before { left: -33px; }
  .xp-card { padding: 22px 20px; }
  .xp-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .topnav a:not(.topnav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding: 110px 7vw 110px; }
  .hero-visual { max-width: 380px; margin: 10px auto 0; }
  .scrolly { display: grid; grid-template-columns: 1fr; }
  .stage-col { grid-column: 1; grid-row: 1; z-index: 1; }
  .stage { position: sticky; top: 0; height: 100svh; }
  .stage-inner { top: 64px; bottom: auto; height: calc(58svh - 20px); }
  .stage-glow { background: radial-gradient(70% 38% at 50% 34%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 75%); }
  .anchor { top: 58%; } .iso { zoom: .56; }
  .stage.gte-4 .anchor { transform: translateY(12cqh) scale(.82); }
  .stage:has(.clone.on) .anchor { transform: translateY(1cqh) scale(.36); }
  .steps { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
  .step, .step[data-h] { min-height: 0; padding: 62svh 14px 34svh; }
  .step:first-child { padding-top: 70svh; }
  .step-inner {
    position: relative; top: 0; padding: 24px 20px 22px; border-radius: 20px; max-width: 560px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(14, 30, 62, 0.74), rgba(7, 16, 36, 0.86));
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(140, 170, 230, 0.18);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .step-inner::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 14px var(--acc); transition: background .6s; }
  .bignum { display: none; }
  .step h2 { font-size: 30px; }
  .lede { font-size: 16.5px; margin-bottom: 18px; }
  .lede + .lede { margin-top: -6px; }
  .callout { font-size: 14px; }
  .row { padding: 10px 0 10px 12px; }
  .row h3 { font-size: 16.5px; }
  .row p { font-size: 14px; }
  .flow span { font-size: 13px; padding: 7px 10px; }
  #chapter {
    display: block; left: 50%; bottom: auto; top: 74px; transform: translateX(-50%); z-index: 45;
    padding: 6px 12px; border-radius: 999px; font-size: 10.5px; white-space: nowrap;
    background: rgba(8, 20, 44, 0.8); border: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .rows:has(> .row:nth-child(4)) { grid-template-columns: 1fr; }
  .row { grid-template-columns: 70px 1fr; }
  .row .n { font-size: 11px; }
  .gate { gap: 6px; padding: 4px 9px 4px 4px; }
  .gate .who { width: 20px; height: 20px; }
  .gate .who::before { top: 4px; width: 7px; height: 7px; margin-left: -3.5px; }
  .gate .who::after { top: 12px; width: 14px; height: 11px; margin-left: -7px; }
  .gate small { font-size: 7px; letter-spacing: .08em; }
  .gate b { font-size: 9.5px; }
  .chaos { font-size: 9.5px; padding: 6px 9px 6px 8px; border-radius: 8px; }
  .chaos > span::before { width: 5px; height: 5px; margin-right: 6px; }
  .bucket { font-size: 9px; letter-spacing: .06em; }
  .md { width: 92px; font-size: 9px; padding: 8px 8px 10px; }
  .md.on { transform: translate(calc(-50% + var(--x) * .7), calc(-50% - 30cqh)) rotate(var(--r)); }
  .sys { padding: 5px 8px; border-radius: 8px; }
  .sys small { font-size: 7.5px; letter-spacing: .08em; }
  .sys b { font-size: 10.5px; }
  .artifact { top: 15%; width: 92%; }
  .artifact .win-body { padding: 10px; }
  .artifact h4 { font-size: 13px; margin-bottom: 8px; }
  .dash .kpi { padding: 6px; font-size: 9px; }
  .dash .kpi b { font-size: 12px; }
  .bars { height: 52px; }
  .clone { width: 42cqw; }
  .clone svg { width: 15cqw; }
  .clone b { font-size: 11px; }
  .clone small { display: none; }
  .legend, .stage-caption, #dots { display: none; }
  .wrap { width: auto; margin: 0 7vw; }
  .split, .split--about { grid-template-columns: 1fr; }
  .stats, .models, .seats { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .about-photo { max-width: 420px; }
  .site-footer { padding: 36px 7vw 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .hero h1 .ln > span { transform: none; }
  .hero-kicker, .hero .sub, .hero-actions, .hero-visual, .hero-stack .fl { opacity: 1; }
}
html:not(.js) .stage-col { display: none; }
html:not(.js) .scrolly { display: block; }
