/* AQTwin v2 — "mission-control luxury".
   Layout: near-black stage, hairline 12-col lattice inherited from the studio template, cinematic full-bleed
   chapters (hero → showreel → sectors → architecture → stack → capabilities → copilot → impact → global → contact).
   Type: Geist for structure, Instrument Serif italic for the human word in every headline, Geist Mono for telemetry. */
@font-face { font-family: "Geist"; src: url("../fonts/geist-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #030409;
  --bg-2: #070a14;
  --bg-3: #0b1020;
  --ink: #f4f6fb;
  --muted: #a0a9c2;
  --dim: #5e6786;
  --line: rgba(160, 180, 255, 0.085);
  --line-2: rgba(160, 180, 255, 0.16);
  --line-3: rgba(160, 180, 255, 0.28);
  --cyan: #22d3ee;
  --indigo: #6d7dff;
  --violet: #a78bfa;
  --gold: #f5c76b;
  --good: #34d399;
  --grad: linear-gradient(95deg, #22d3ee 0%, #6d7dff 48%, #a78bfa 100%);
  --grad-gold: linear-gradient(95deg, #ffe7a8 0%, #f5c76b 45%, #d79a3a 100%);
  --sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(109, 125, 255, .45); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* grain + lattice */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }
.lattice { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.lattice .wrap { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.lattice span { border-left: 1px solid var(--line); }
.lattice span:last-child { border-right: 1px solid var(--line); }
main, footer { position: relative; z-index: 1; }

/* preloader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); animation: loaderOut .01s linear 3.2s forwards; }
.loader .mark { width: 96px; height: 96px; }
.loader .mark circle, .loader .mark path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s var(--ease) forwards; }
.loader .mark path { animation-delay: .5s; }
.loader .count { position: absolute; left: var(--gutter); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
.loader .brandline { position: absolute; right: var(--gutter); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--dim); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes loaderOut { to { visibility: hidden; opacity: 0; } }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14), 0 0 18px var(--cyan); }
.eyebrow b { color: var(--ink); font-weight: 500; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); text-wrap: balance; }
/* type scale (standardised): display 40→76 · h2 32→56 · h3 22→30 · statement 26→44 · body 16–18 */
.display { font-weight: 500; font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.045em; }
.h2 { font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.06; letter-spacing: -0.04em; }
.h3 { font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; padding-right: .06em; font-size: 1.04em; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--muted); max-width: 56ch; margin: 0; }
.mono { font-family: var(--mono); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border: 0; border-radius: 999px; cursor: pointer; font: 500 14.5px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; will-change: transform; }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-light { background: var(--ink); color: #05070f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 18px 50px -18px rgba(109, 125, 255, .9); }
.btn-light:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 24px 70px -18px rgba(34, 211, 238, .95); }
.btn-glass { background: rgba(255, 255, 255, .045); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .08); }
.btn .play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #05070f; margin-left: -10px; }
.btn .play svg { width: 10px; height: 10px; }

/* nav */
.nav { position: fixed; z-index: 60; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gutter)), 1240px); display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(6, 8, 18, .45); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 60px -30px rgba(0, 0, 0, .9); transition: background .4s, padding .4s; }
.nav.scrolled { background: rgba(6, 8, 18, .78); }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav .btn { padding: 12px 18px; font-size: 13.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; margin-left: auto; }
.menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .3s; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; display: grid; align-content: center; gap: 6px; padding: 100px var(--gutter) 40px; background: rgba(3, 4, 9, .96); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.sheet.open { opacity: 1; visibility: visible; }
.sheet a { font: 500 clamp(32px, 9vw, 56px)/1.1 var(--sans); letter-spacing: -0.05em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sheet a .it { color: var(--violet); }

/* HERO — copy in columns 1–2 of the lattice, globe in 3–4, telemetry bar snapped to all four columns */
.hero { position: relative; min-height: max(760px, 100svh); display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; padding-top: calc(110px + env(safe-area-inset-top, 0px)); }
.hero-gl { position: absolute; inset: 0; z-index: -1; }
.hero-gl canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-gl.fallback { background: url("../img/globe.webp") 85% 45%/auto 90% no-repeat; opacity: .8; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 4, 9, .92) 0%, rgba(3, 4, 9, .7) 34%, rgba(3, 4, 9, 0) 58%), linear-gradient(180deg, rgba(3, 4, 9, .5) 0%, transparent 22%, transparent 70%, var(--bg) 100%); }
.hero-main { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.hero-copy { grid-column: 1 / span 2; grid-row: 1; display: grid; gap: 26px; min-width: 0; padding-block: clamp(24px, 5vh, 64px) 40px; padding-right: 24px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 4.6vw, 72px); }
.hero h1 .row { display: block; white-space: nowrap; }
.hero .lead { max-width: 52ch; }
.pill { display: inline-flex; align-items: center; gap: 12px; justify-self: start; max-width: 100%; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); }
.pill b { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; padding: 7px 10px; border-radius: 999px; color: #04121a; background: var(--grad); }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--ink); font-weight: 500; transition: width .6s var(--ease); }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.rotator > span:not(.on) { opacity: 0; transform: translateY(45%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-sectors { list-style: none; margin: 8px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--line); }
.hero-sectors li { display: inline-flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); }
.hero-sectors span { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--cyan); }
.hero-tag { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hub { position: absolute; display: inline-flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 7px 10px 7px 8px; border-radius: 999px; background: rgba(6, 9, 20, .62); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); }
.hub i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hub-ny, .hub-ldn, .hub-hyd { opacity: 0; }
.hero-tag.live .hub { left: 0; top: 0; transition: opacity .4s; will-change: transform; }
.hero-labels { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bar { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(6, 9, 20, .55), rgba(6, 9, 20, .2)); backdrop-filter: blur(10px); }
.cell-b { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.cell-b + .cell-b { border-left: 1px solid var(--line); }
.cell-b:first-child { padding-left: 0; }
.cell-b dt { display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cell-b dt em { font-style: normal; color: var(--good); }
.cell-b dd { margin: 0; font: 400 clamp(24px, 2.2vw, 32px)/1 var(--sans); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.cell-b dd small { font-size: .55em; color: var(--muted); margin-left: 2px; }
.cell-b .note { font-size: 12.5px; color: var(--muted); }
.spark { height: 22px; width: 100%; }
.scroll-cue { display: none; }

/* standards marquee */
.strip { position: relative; z-index: 1; border-block: 1px solid var(--line); background: rgba(7, 10, 20, .7); overflow: hidden; }
.strip-inner { display: flex; align-items: center; }
.strip-label { flex: none; padding: 22px 28px 22px var(--gutter); font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); border-right: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 1; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; font: 500 18px/1 var(--sans); letter-spacing: -0.02em; color: #c2c9dd; white-space: nowrap; }
.marquee-track span em { font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: var(--dim); padding: 5px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 88px); }
.head .eyebrow { grid-column: 1 / -1; }
.head .lead { justify-self: end; }
.head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head.center .lead { justify-self: center; }

/* SHOWREEL */
.reel { position: relative; }
.reel-frame { position: relative; border-radius: 28px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line-3), 0 60px 160px -60px rgba(109, 125, 255, .55), 0 30px 80px -40px rgba(0, 0, 0, .9); transform-origin: 50% 20%; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 9, .35) 0%, transparent 18%, transparent 62%, rgba(3, 4, 9, .85) 100%); }
.reel-hud { position: absolute; z-index: 2; inset: 18px 22px auto 22px; display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 246, 251, .85); }
.reel-hud .rec { display: inline-flex; align-items: center; gap: 8px; }
.reel-hud .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 12px #ff4d5e; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.reel-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; display: grid; gap: 6px; max-width: 640px; }
.reel-caption h3 { font: 500 clamp(20px, 2vw, 30px)/1.15 var(--sans); letter-spacing: -0.03em; }
.reel-caption p { margin: 0; color: #cdd3e6; font-size: 15px; }
.reel-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.reel-tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 8px; padding: 14px 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; min-width: 0; }
.reel-tab:hover { background: rgba(255, 255, 255, .05); }
.reel-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.reel-tab .n { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--dim); }
.reel-tab .t { font: 500 14.5px/1.2 var(--sans); letter-spacing: -0.015em; color: var(--muted); }
.reel-tab .bar { height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.reel-tab .bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.reel-tab[aria-selected="true"] { background: rgba(109, 125, 255, .08); box-shadow: inset 0 0 0 1px rgba(109, 125, 255, .45); }
.reel-tab[aria-selected="true"] .t { color: var(--ink); }
.reel-tab[aria-selected="true"] .n { color: var(--cyan); }

/* STATEMENT */
.statement { font: 400 clamp(26px, 2.9vw, 44px)/1.2 var(--sans); letter-spacing: -0.03em; max-width: 30ch; margin: 28px 0 0; text-wrap: balance; }
.statement .w { color: rgba(244, 246, 251, .18); transition: color .4s; }
.statement .w.on { color: var(--ink); }
.statement .w.on.x { font-family: var(--serif); font-style: italic; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement-foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); }
.statement-foot div { padding: 20px 20px 0 0; display: grid; gap: 6px; }
.statement-foot div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.statement-foot dt { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.statement-foot dd { margin: 0; font: 500 18px/1.3 var(--sans); letter-spacing: -0.02em; }

/* SECTORS — horizontal chapters */
.chapters { position: relative; overflow: hidden; }
.chapters-track { display: flex; width: max-content; }
.chapter { position: relative; width: 100vw; height: max(720px, 100svh); flex: none; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.chapter .bg { position: absolute; inset: -6% -8%; z-index: -2; }
.chapter .bg img { width: 100%; height: 100%; object-fit: cover; }
.chapter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 4, 9, .94) 0%, rgba(3, 4, 9, .72) 38%, rgba(3, 4, 9, .1) 70%), linear-gradient(0deg, rgba(3, 4, 9, .9), transparent 45%); }
.chapter .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 130px 70px; align-items: end; }
.chapter-copy { display: grid; gap: 22px; max-width: 640px; min-width: 0; }
.chapter .idx { display: flex; align-items: baseline; gap: 16px; font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.chapter .idx b { font: 400 clamp(44px, 4.6vw, 72px)/.8 var(--serif); font-style: italic; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(244, 246, 251, .5); }
.chapter p { margin: 0; color: #c7cee2; font-size: clamp(15px, 1.15vw, 17.5px); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); color: #d8deee; }
.chapter-stats { justify-self: end; display: grid; gap: 10px; width: min(100%, 360px); min-width: 0; }
.chapter-stats .glass { padding: 18px 20px; display: grid; gap: 6px; }
.chapter-stats b { font: 500 28px/1.1 var(--sans); letter-spacing: -0.035em; }
.chapter-stats b .it { font-size: 1.05em; }
.chapter-stats span { font-size: 13.5px; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #e9dcbc; padding: 12px 14px; border-radius: 14px; background: rgba(245, 199, 107, .08); box-shadow: inset 0 0 0 1px rgba(245, 199, 107, .3); }
.consent svg { flex: none; width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.chapter-progress { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; gap: 8px; }
.chapter-progress i { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.chapter-progress i b { display: block; height: 100%; width: 0; background: var(--grad); }

/* ARCHITECTURE */
.arch { background: radial-gradient(70% 60% at 50% 40%, rgba(109, 125, 255, .09), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.arch-shell { border-radius: 26px; background: rgba(5, 7, 15, .7); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -60px rgba(34, 211, 238, .35); overflow: hidden; }
.arch-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.arch-bar .dots { display: flex; gap: 6px; }
.arch-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-3); }
.arch-scroll { overflow-x: auto; scrollbar-width: thin; }
.arch-svg { display: block; width: 100%; min-width: 960px; height: auto; }
.arch-svg .node rect { fill: rgba(12, 17, 34, .92); stroke: var(--line-3); stroke-width: 1; transition: stroke .3s, fill .3s; }
.arch-svg .node:hover rect, .arch-svg .node.on rect { stroke: var(--cyan); fill: rgba(16, 28, 52, .95); }
.arch-svg .node { cursor: pointer; }
.arch-svg .node:focus { outline: none; }
.arch-svg .node:focus-visible rect { stroke: var(--gold); stroke-width: 2; }
.arch-svg text { font-family: var(--sans); fill: var(--ink); }
.arch-svg .lbl { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.arch-svg .sub { font-size: 10.5px; fill: var(--muted); font-family: var(--mono); letter-spacing: .06em; }
.arch-svg .col { font-size: 10px; fill: var(--dim); font-family: var(--mono); letter-spacing: .2em; }
.arch-svg .wire { fill: none; stroke: rgba(160, 180, 255, .2); stroke-width: 1.2; }
.arch-svg .core rect { fill: url(#coreFill); stroke: rgba(109, 125, 255, .7); }
.arch-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 24px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line); }
.arch-detail h4 { font: 500 20px/1.2 var(--sans); letter-spacing: -0.03em; }
.arch-detail h4 small { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.arch-detail p { margin: 0; color: var(--muted); font-size: 14.5px; }
.arch-detail .tags span { font-size: 12px; padding: 6px 10px; }

/* STACK (pinned exploded layers) */
.stack { position: relative; }
.stack-pin { min-height: 100svh; display: grid; align-items: center; padding-block: 110px 60px; }
.stack-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.stack-list { display: grid; border-top: 1px solid var(--line-2); margin-top: 36px; }
.stack-list li { list-style: none; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: .38; transition: opacity .4s; }
.stack-list li.on { opacity: 1; }
.stack-list li .n { font: 500 11px/1.6 var(--mono); letter-spacing: .12em; color: var(--cyan); }
.stack-list li b { display: block; font: 500 19px/1.25 var(--sans); letter-spacing: -0.025em; }
.stack-list li span { font-size: 14px; color: var(--muted); }
.stack-list { padding: 0; margin-bottom: 0; }
.stack-scene { position: relative; height: min(76svh, 680px); perspective: 1600px; }
.stack-3d { position: absolute; left: 50%; top: 50%; width: min(78%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-40deg); transform-style: preserve-3d; }
.plate { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(160, 190, 255, .35); background: rgba(10, 16, 34, .7); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transform-style: preserve-3d; }
.plate .tex { position: absolute; inset: 0; opacity: .9; }
.plate .tag { position: absolute; left: 14px; top: 14px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 6px 8px; border-radius: 6px; background: rgba(3, 4, 9, .7); }
.plate.on { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 80px rgba(34, 211, 238, .35); }
.tex-points { background-image: radial-gradient(rgba(125, 249, 255, .9) 1px, transparent 1.4px); background-size: 9px 9px; mask-image: radial-gradient(70% 70% at 40% 50%, #000, transparent); }
.tex-grid { background-image: linear-gradient(rgba(109, 125, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(109, 125, 255, .5) 1px, transparent 1px), radial-gradient(circle at 30% 40%, rgba(34, 211, 238, .5), transparent 25%), radial-gradient(circle at 70% 65%, rgba(167, 139, 250, .5), transparent 22%); background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%; }
.tex-city { background: url("../img/twin-layers.webp") center/cover; filter: saturate(1.2); }
.tex-heat { background: radial-gradient(circle at 35% 40%, rgba(255, 90, 80, .85), transparent 22%), radial-gradient(circle at 62% 58%, rgba(245, 199, 107, .8), transparent 26%), radial-gradient(circle at 50% 30%, rgba(34, 211, 238, .6), transparent 30%), linear-gradient(135deg, #0b1838, #07101f); }
.tex-quantum { background: repeating-radial-gradient(circle at 45% 50%, rgba(167, 139, 250, .55) 0 1.5px, transparent 1.5px 16px), repeating-radial-gradient(circle at 62% 46%, rgba(34, 211, 238, .45) 0 1.5px, transparent 1.5px 16px); }
.tex-ui { background: linear-gradient(rgba(255, 255, 255, .06) 0 0) 8% 22%/38% 22% no-repeat, linear-gradient(rgba(34, 211, 238, .25) 0 0) 8% 52%/38% 5% no-repeat, linear-gradient(rgba(245, 199, 107, .35) 0 0) 8% 62%/26% 5% no-repeat, linear-gradient(rgba(255, 255, 255, .06) 0 0) 54% 22%/38% 46% no-repeat, linear-gradient(rgba(109, 125, 255, .3) 0 0) 54% 76%/38% 8% no-repeat, linear-gradient(135deg, #101a36, #0a1022); }

/* CAPABILITIES bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.cell { position: relative; grid-column: span 4; min-height: 360px; border-radius: 22px; background: linear-gradient(180deg, rgba(14, 19, 38, .85), rgba(7, 10, 20, .9)); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; display: grid; grid-template-rows: 1fr auto; isolation: isolate; }
.cell.wide { grid-column: span 8; }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 125, 255, .16), transparent 60%); opacity: 0; transition: opacity .4s; }
.cell:hover::before { opacity: 1; }
.cell .viz { position: relative; min-height: 210px; }
.cell .viz canvas, .cell .viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell .copy { padding: 0 26px 26px; display: grid; gap: 8px; }
.cell .copy .k { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.cell h4 { font: 500 22px/1.15 var(--sans); letter-spacing: -0.035em; }
.cell p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 48ch; }
.cell .img { position: absolute; inset: 0; z-index: -1; }
.cell .img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cell .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 20, .1), rgba(7, 10, 20, .95) 75%); }
.chat { position: absolute; inset: 22px 22px auto; display: grid; gap: 10px; }
.bubble { justify-self: start; max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: #d9dff0; }
.bubble.me { justify-self: end; background: rgba(109, 125, 255, .2); box-shadow: inset 0 0 0 1px rgba(109, 125, 255, .4); }
.bubble.te { font-size: 14px; }

/* ENGAGEMENT */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--indigo), var(--violet), transparent); opacity: .7; }
.steps li { position: relative; padding: 36px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 16px rgba(34, 211, 238, .5); }
.steps li:last-child::before { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 16px rgba(245, 199, 107, .5); }
.steps .wk { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.steps b { font: 500 20px/1.2 var(--sans); letter-spacing: -0.025em; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* COPILOT */
.copilot-sec { position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.copilot-sec > .bgimg { position: absolute; inset: -4%; z-index: 0; }
.copilot-sec > .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.copilot-sec::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 4, 9, .97) 0%, rgba(3, 4, 9, .82) 45%, rgba(3, 4, 9, .3) 80%, rgba(3, 4, 9, .6)); }
.copilot-sec .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: clamp(100px, 11vw, 160px); }
.copilot { justify-self: end; width: min(100%, 500px); border-radius: 24px; background: rgba(7, 10, 22, .82); backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.copilot-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.copilot-top img { width: 32px; height: 32px; }
.copilot-top b { display: block; font: 500 14.5px/1.1 var(--sans); }
.copilot-top span { font-size: 12px; color: var(--muted); }
.copilot-top .live { margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; color: var(--good); display: inline-flex; align-items: center; gap: 7px; }
.copilot-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
.copilot-body { padding: 18px; display: grid; gap: 12px; min-height: 380px; align-content: start; }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg.q { justify-self: end; background: rgba(109, 125, 255, .2); box-shadow: inset 0 0 0 1px rgba(109, 125, 255, .4); border-bottom-right-radius: 5px; }
.msg.a { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 5px; color: #dbe1f2; }
.msg .src { display: block; margin-top: 8px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .05em; color: var(--dim); }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.opt .id { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 13px var(--sans); background: rgba(255, 255, 255, .08); }
.opt small { display: block; font-size: 12px; color: var(--muted); }
.opt .m { font: 500 11.5px/1.35 var(--mono); color: var(--muted); text-align: right; }
.opt.rec { background: rgba(245, 199, 107, .07); box-shadow: inset 0 0 0 1px rgba(245, 199, 107, .55); }
.opt.rec .id { background: var(--gold); color: #1c1300; }
.opt.ok { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .8); background: rgba(52, 211, 153, .07); }
.approved { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--good); }
.approved.show { display: inline-flex; }
.typing i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }

/* IMPACT */
.impact { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.impact div { padding: 28px 20px 0 0; display: grid; gap: 10px; align-content: start; }
.impact div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.impact b { font: 400 clamp(36px, 3.6vw, 56px)/1 var(--sans); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.impact b sup { font: 400 .42em/1 var(--serif); font-style: italic; letter-spacing: 0; vertical-align: top; margin-left: 4px; color: var(--violet); }
.impact span { font-size: 14px; color: var(--muted); max-width: 22ch; }

/* GLOBAL */
.global { position: relative; overflow: hidden; }
.global > .bgimg { position: absolute; inset: 0; }
.global > .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.global::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 70% at 50% 45%, rgba(3, 4, 9, .25), rgba(3, 4, 9, .96)); }
.global .wrap { position: relative; z-index: 2; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.office { padding: 28px; display: grid; gap: 14px; }
.office .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.office .code { font: 400 34px/1 var(--serif); font-style: italic; }
.office .chip { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); padding: 7px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4); }
.office .clock { font: 400 32px/1 var(--sans); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.office .clock small { font: 500 11px var(--mono); letter-spacing: .12em; color: var(--dim); margin-left: 8px; }
.office h4 { font: 500 20px/1.2 var(--sans); letter-spacing: -0.03em; }
.office p { margin: 0; font-size: 14px; color: var(--muted); }

/* INVESTORS + CONTACT */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(80px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46%; height: 46%; left: 6%; top: 30%; background: #22d3ee; opacity: .35; }
.aurora i:nth-child(2) { width: 50%; height: 50%; left: 38%; top: 18%; background: #6d7dff; opacity: .45; animation-duration: 22s; }
.aurora i:nth-child(3) { width: 40%; height: 40%; left: 58%; top: 45%; background: #a78bfa; opacity: .35; animation-duration: 26s; }
@keyframes drift { to { transform: translate(8%, -6%) scale(1.15); } }
.invest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.thesis { display: grid; border-top: 1px solid var(--line-2); margin: 0; }
.thesis div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.thesis dt { font: 500 11px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.thesis dd { margin: 0; color: #c9d0e3; font-size: 15px; }
.thesis dd b { display: block; font: 500 19px/1.3 var(--sans); letter-spacing: -0.025em; color: var(--ink); margin-bottom: 4px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(96px, 11vw, 160px); }
.mega { font: 500 clamp(40px, 5vw, 76px)/1.02 var(--sans); letter-spacing: -0.045em; margin: 26px 0 0; }
.contact-lines { display: grid; gap: 10px; margin-top: 30px; font-size: 15px; color: var(--muted); }
.contact-lines b { color: var(--ink); font-weight: 500; }
.mail { all: unset; cursor: pointer; display: inline-flex; align-items: baseline; gap: 12px; font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); font-style: italic; color: var(--ink); user-select: all; }
.mail small { font: 500 10.5px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mail:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
form.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; background: rgba(7, 10, 22, .72); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2); }
form.brief .full { grid-column: 1 / -1; }
form.brief label { display: grid; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-width: 0; }
form.brief input, form.brief select, form.brief textarea { width: 100%; min-width: 0; padding: 15px 15px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink); font: 400 15px/1.4 var(--sans); letter-spacing: 0; text-transform: none; transition: border-color .25s, background .25s; }
form.brief select option { background: var(--bg-3); }
form.brief input:focus, form.brief select:focus, form.brief textarea:focus { outline: none; border-color: var(--indigo); background: rgba(109, 125, 255, .06); }
form.brief textarea { min-height: 120px; resize: vertical; }
.row-end { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.fine { font-size: 12.5px; color: var(--dim); max-width: 40ch; }
.form-ok { display: none; grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 14px; background: rgba(52, 211, 153, .08); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .35); color: #bff5de; font-size: 14px; }
.form-ok.show { display: block; }
.form-ok.err { background: rgba(245, 199, 107, .08); box-shadow: inset 0 0 0 1px rgba(245, 199, 107, .4); color: #f6e0b0; }

/* FOOTER */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(72px, 9vw, 128px) calc(28px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, var(--bg) 0%, #050816 60%, #070b1d 100%); isolation: isolate; }
.foot-glow { position: absolute; z-index: -1; left: 50%; bottom: -30%; width: 120%; height: 80%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(109, 125, 255, .22), rgba(34, 211, 238, .08) 45%, transparent 70%); filter: blur(40px); }
.foot-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: end; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: linear-gradient(135deg, rgba(109, 125, 255, .12), rgba(34, 211, 238, .05) 50%, rgba(167, 139, 250, .1)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -60px rgba(109, 125, 255, .6); }
.foot-cta-copy { display: grid; gap: 18px; min-width: 0; }
.foot-cta-side { display: grid; gap: 12px; min-width: 0; justify-items: start; }
.subscribe { display: flex; gap: 8px; width: 100%; padding: 6px; border-radius: 999px; background: rgba(3, 4, 9, .55); box-shadow: inset 0 0 0 1px var(--line-2); }
.subscribe input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 400 15px var(--sans); color: var(--ink); }
.subscribe input:focus { outline: none; }
.subscribe:focus-within { box-shadow: inset 0 0 0 1px var(--indigo); }
.subscribe .btn { padding: 13px 18px; }
.sub-note { margin: 0 0 8px 16px; font-size: 12.5px; color: var(--dim); }
.sub-note.ok { color: var(--good); }
.sub-note.err { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: clamp(56px, 7vw, 96px); }
.foot-brand { display: grid; gap: 18px; align-content: start; }

.foot-brand p { margin: 0; max-width: 36ch; font-size: 14.5px; color: var(--muted); }
.foot-status { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 12px; border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #bff5de; background: rgba(52, 211, 153, .07); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }
.foot-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); animation: blink 2s infinite; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .25s, background .25s, transform .3s var(--ease); }
.socials a:hover { color: var(--ink); background: rgba(109, 125, 255, .15); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.foot-col { display: grid; gap: 12px; align-content: start; }
.foot-col h5 { margin: 0 0 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.foot-col a, .foot-col span { font-size: 14px; color: var(--muted); transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-col span { padding-left: 16px; position: relative; }
.foot-col span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); }
.foot-hubs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line-2); }
.foot-hubs > div { display: grid; gap: 4px; padding: 22px 20px 22px 0; min-width: 0; }
.foot-hubs > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.foot-hubs .code { font: 400 26px/1 var(--serif); font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.foot-hubs b { font: 500 16px/1.3 var(--sans); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.foot-hubs span { font-size: 13px; color: var(--muted); }
.foot-hubs .clock, .foot-hubs .clock-note { margin-top: 8px; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--ink); font-variant-numeric: tabular-nums; }
.foot-hubs .clock small { margin-left: 6px; color: var(--dim); font-size: 10.5px; }
.foot-hubs .clock-note { color: var(--cyan); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.wordmark { margin-top: 48px; font: 600 clamp(72px, 17vw, 280px)/.8 var(--sans); letter-spacing: -0.07em; white-space: nowrap; text-align: center; background: linear-gradient(180deg, rgba(190, 205, 255, .4), rgba(160, 180, 255, .04) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.wordmark .it { font-weight: 400; background: linear-gradient(180deg, rgba(167, 139, 250, .65), rgba(34, 211, 238, .05) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--ink); }
@media (max-width: 1100px) {
  .foot-cta { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-hubs { grid-template-columns: 1fr 1fr; }
  .foot-hubs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot-hubs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .subscribe { flex-direction: column; border-radius: 18px; }
  .subscribe input { padding: 12px 12px; }
  .subscribe .btn { justify-content: center; }
  .foot-hubs { grid-template-columns: 1fr; }
  .foot-hubs > div:nth-child(n) { padding-left: 0; border-left: 0; }
  .foot-hubs > div + div { border-top: 1px solid var(--line); }
}

/* floating CTA */
.float { position: fixed; z-index: 50; right: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -24px rgba(0, 0, 0, .95); transform: translateY(150%); transition: transform .6s var(--ease); }
.float.show { transform: none; }
.float a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--ink); color: #05070f; font: 500 13.5px/1 var(--sans); }
.float a span { color: #5c6683; }
.float button { all: unset; cursor: pointer; display: grid; place-items: center; width: 48px; background: rgba(9, 12, 26, .92); color: var(--ink); }
.float button:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }

/* cursor glow (desktop) */
.cursor { position: fixed; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(109, 125, 255, .1), transparent); transition: opacity .4s; }

/* responsive */
@media (max-width: 1100px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .hero-inner, .head, .chapter .wrap, .stack-grid, .copilot-sec .wrap, .invest, .contact-grid { grid-template-columns: 1fr; }
  .head .lead { justify-self: start; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding-right: 0; }
  .hero-tag { display: none; }
  .hero-sectors { gap: 6px 18px; }
  .hero::before { background: linear-gradient(180deg, rgba(3, 4, 9, .55), rgba(3, 4, 9, .85) 55%, var(--bg)); }
  .hero-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-b:nth-child(3) { border-left: 0; padding-left: 0; }
  .cell-b:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reel-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chapter { width: 100%; height: auto; min-height: 760px; }
  .chapters-track { flex-direction: column; width: 100%; }
  .chapter-progress { display: none; }
  .chapter-stats { justify-self: start; grid-template-columns: 1fr 1fr; width: 100%; }
  .stack-scene { height: 520px; }
  .cell, .cell.wide { grid-column: span 6; }
  .impact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .impact div:nth-child(4) { padding-left: 0; border-left: 0; }
  .impact div:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: 24px; }
  .copilot { justify-self: start; }
  .arch-detail { grid-template-columns: 1fr; }
  .statement-foot { grid-template-columns: 1fr 1fr; }
  .statement-foot div:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--violet)); }
  .steps li { padding: 0 0 28px 40px; }
}
@media (max-width: 720px) {
  .lattice .wrap { grid-template-columns: repeat(2, 1fr); }
  .lattice span:nth-child(n+3) { display: none; }

  .hero { min-height: 0; padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
  .hero h1 .row { white-space: normal; }
  .cell-b { padding: 14px 12px 16px; }
  .cell-b:nth-child(odd) { padding-left: 0; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-sectors li { font-size: 13px; }
  .reel-frame { border-radius: 18px; aspect-ratio: 4 / 5; }
  .reel-caption p { display: none; }
  .reel-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-stats { grid-template-columns: 1fr; }
  .cell, .cell.wide { grid-column: 1 / -1; }
  .impact { grid-template-columns: 1fr 1fr; }
  .impact div:nth-child(n) { padding-left: 0; border-left: 0; padding-right: 12px; }
  .impact div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .offices { grid-template-columns: 1fr; }
  .thesis div { grid-template-columns: 1fr; gap: 6px; }
  form.brief { grid-template-columns: 1fr; }
  .float a span { display: none; }
  .strip-label { display: none; }
  .stack-scene { height: 420px; }
  .statement-foot { grid-template-columns: 1fr; }
  .statement-foot div + div { padding-left: 0; border-left: 0; }
}
@media (hover: none), (max-width: 1100px) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader { display: none; }
  .grain { animation: none; }
}
.hero h1 .row { display: block; }
.rv { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rv > span { display: inline-block; }

/* hero artwork: keyed-out hologram floating in columns 3–4, blended into the night */
.hero-art { grid-column: 3 / span 2; grid-row: 1; justify-self: center; align-self: center; position: relative; margin: 0; width: min(100%, 560px); aspect-ratio: 1; z-index: 1; pointer-events: none; }
.hero-art img { position: relative; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; filter: saturate(1.08) drop-shadow(0 0 40px rgba(34, 211, 238, .18)); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); animation: floaty 9s ease-in-out infinite; }
.hero-art .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(109, 125, 255, .22), rgba(34, 211, 238, .08) 55%, transparent 75%); filter: blur(20px); }
.hero-art .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(160, 180, 255, .14); transform: translate(-50%, -50%); }
.hero-art .r1 { width: 112%; height: 112%; border-style: dashed; border-color: rgba(160, 180, 255, .12); animation: spin 80s linear infinite; }
.hero-art .r2 { width: 128%; height: 128%; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-gl { opacity: .2; }
.hero-tag { display: none; }
@media (max-width: 1100px) {
  .hero-art { grid-column: 1; grid-row: 2; width: min(78%, 420px); margin-top: -8px; }
  .hero-gl { opacity: .25; }
}

/* logo lockup: crisp SVG wordmark with the tagline set underneath, justified to the logo's width */
.logo { --lh: 33px; display: inline-grid; gap: calc(var(--lh) * .08); justify-items: start; }
.logo img { height: var(--lh); width: auto; display: block; }
.logo-tag { display: block; height: calc(var(--lh) * 25 / 84); width: auto; overflow: visible; }
.brand-lg .logo { --lh: 44px; }
@media (max-width: 720px) { .nav .logo { --lh: 28px; } .brand-lg .logo { --lh: 38px; } }
