/* ==========================================================================
   Aether Labs — site styles
   ========================================================================== */

:root {
  --bg: #05060b;
  --bg-2: #090b15;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f1f4fb;
  --body: #b8c0d4;
  --muted: #7f889f;
  --cyan: #22e4ff;
  --blue: #3d6bff;
  --violet: #8b3dff;
  --amber: #ffb547;
  --grad: linear-gradient(110deg, #22e4ff 0%, #3d6bff 48%, #8b3dff 100%);
  --radius: 22px;
  --maxw: 1240px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--text); font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong { color: var(--text); font-weight: 600; }

::selection { background: rgba(34, 228, 255, 0.3); color: #fff; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ambient layers ---------- */

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.035;
  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");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(circle, rgba(61, 107, 255, 0.11), transparent 62%);
  transition: opacity 0.4s;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- buttons ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  color: #03040a;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 0 0 1px rgba(34, 228, 255, 0.4), 0 10px 40px -10px rgba(61, 107, 255, 0.8);
}
.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 0 0 1px rgba(34, 228, 255, 0.7), 0 14px 50px -8px rgba(61, 107, 255, 1);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(34, 228, 255, 0.6); color: #fff; background: rgba(34, 228, 255, 0.06); }

.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  height: 76px; display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { filter: drop-shadow(0 0 12px rgba(34, 228, 255, 0.45)); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }

.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; font-size: 15px; color: var(--body); transition: color 0.25s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--text); }
.nav-cta-mobile { display: none !important; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(61, 107, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(139, 61, 255, 0.10), transparent 60%);
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: 0;
  background-image:
    linear-gradient(rgba(34, 228, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 228, 255, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(72deg);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
  animation: floor 3.2s linear infinite;
  opacity: 0.45;
}
@keyframes floor { to { background-position: 0 64px; } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body);
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 228, 255, 0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 228, 255, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 228, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 228, 255, 0); }
}

.hero-title {
  margin-top: 26px;
  font-size: clamp(46px, 6.6vw, 92px);
  line-height: 0.98; font-weight: 600; letter-spacing: -0.045em;
}
.hero-title .grad-text { display: inline-block; padding-bottom: 0.08em; }

.hero-lead { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 34px; margin: 52px 0 0;
  padding-top: 28px; border-top: 1px solid var(--line); max-width: 580px;
}
.hero-stats dt { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.hero-stats dt small { font-size: 18px; margin-left: 2px; color: var(--cyan); }
.hero-stats dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 170px; }

/* hero visual: the face */

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; justify-self: end; perspective: 1200px; }
.hv-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.6s var(--ease); }

.face-glow {
  position: absolute; inset: 10% 8% 6% 12%; border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, rgba(61, 107, 255, 0.45), rgba(139, 61, 255, 0.18) 45%, transparent 70%);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }

.face { position: absolute; inset: 0; transform: translateZ(40px); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.face-base { filter: contrast(1.06) saturate(0.55) drop-shadow(0 30px 60px rgba(61, 107, 255, 0.35)); }

.face-holo {
  filter: grayscale(1) brightness(1.2) sepia(1) hue-rotate(150deg) saturate(6) drop-shadow(0 0 10px rgba(34, 228, 255, 0.8));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, #000 48%, #000 52%, transparent 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, #000 48%, #000 52%, transparent 58%, transparent 100%);
  -webkit-mask-size: 100% 300%;
  mask-size: 100% 300%;
  animation: holoScan 5.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes holoScan {
  0% { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
  100% { -webkit-mask-position: 0 0%; mask-position: 0 0%; }
}

.face-scanline {
  position: absolute; left: 12%; right: 10%; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px 2px rgba(34, 228, 255, 0.7);
  animation: scanline 5.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  opacity: 0.85;
}
@keyframes scanline { 0% { top: 0%; } 100% { top: 100%; } }

.face-grid {
  position: absolute; inset: 8% 10%;
  background-image:
    linear-gradient(rgba(34, 228, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 228, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 65%);
  mix-blend-mode: screen;
}

.face-glitch {
  opacity: 0;
  filter: grayscale(1) sepia(1) hue-rotate(210deg) saturate(8) brightness(1.1);
  animation: glitch 7s steps(1) infinite;
}
@keyframes glitch {
  0%, 91%, 100% { opacity: 0; clip-path: inset(0 0 0 0); transform: none; }
  92% { opacity: 0.8; clip-path: inset(22% 0 61% 0); transform: translateX(-12px); }
  93% { opacity: 0.8; clip-path: inset(58% 0 28% 0); transform: translateX(10px); }
  94% { opacity: 0.6; clip-path: inset(38% 0 49% 0); transform: translateX(-6px); }
  95% { opacity: 0; }
}

.shard-field { position: absolute; inset: -10%; width: 120%; height: 120%; transform: translateZ(70px); pointer-events: none; }

.orbit {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(34, 228, 255, 0.18);
  transform-style: preserve-3d;
}
.orbit i {
  position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 14px 3px rgba(34, 228, 255, 0.8);
}
.o1 { width: 96%; height: 96%; margin: -48% 0 0 -48%; transform: rotateX(72deg) rotateZ(0deg); animation: orbit1 18s linear infinite; }
.o2 { width: 82%; height: 82%; margin: -41% 0 0 -41%; transform: rotateY(68deg); border-color: rgba(139, 61, 255, 0.22); animation: orbit2 24s linear infinite; }
.o2 i { background: var(--violet); box-shadow: 0 0 14px 3px rgba(139, 61, 255, 0.9); }
.o3 { width: 108%; height: 108%; margin: -54% 0 0 -54%; border-style: dashed; border-color: rgba(255, 255, 255, 0.07); animation: spin 60s linear infinite; }
.o3 i { background: #fff; width: 5px; height: 5px; top: -3px; box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6); }
@keyframes orbit1 { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateY(68deg) rotateZ(0deg); } to { transform: rotateY(68deg) rotateZ(-360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hud { position: absolute; display: flex; align-items: center; gap: 0; transform: translateZ(90px); }
.hud-box {
  display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 10px;
  background: rgba(8, 11, 22, 0.66); border: 1px solid rgba(34, 228, 255, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.hud-box b { color: var(--cyan); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; }
.hud-box em { font-style: normal; color: var(--text); }
.hud-line { width: 50px; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.7)); }
.hud-1 { top: 13%; left: -4%; flex-direction: row-reverse; animation: float 7s ease-in-out infinite; }
.hud-1 .hud-line { background: linear-gradient(90deg, rgba(34, 228, 255, 0.7), transparent); }
.hud-2 { top: 44%; right: -6%; animation: float 8s ease-in-out -2s infinite; }
.hud-3 { bottom: 12%; left: 2%; flex-direction: row-reverse; animation: float 9s ease-in-out -4s infinite; }
.hud-3 .hud-line { background: linear-gradient(90deg, rgba(139, 61, 255, 0.8), transparent); }
.hud-3 .hud-box { border-color: rgba(139, 61, 255, 0.35); }
.hud-3 .hud-box b { color: #b58cff; }
@keyframes float { 50% { translate: 0 -10px; } }

.hud-bars { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.hud-bars i { width: 4px; background: var(--cyan); border-radius: 1px; animation: bars 1.2s ease-in-out infinite; }
.hud-bars i:nth-child(2) { animation-delay: -0.2s; }
.hud-bars i:nth-child(3) { animation-delay: -0.5s; }
.hud-bars i:nth-child(4) { animation-delay: -0.8s; }
.hud-bars i:nth-child(5) { animation-delay: -0.35s; }
@keyframes bars { 0%, 100% { height: 4px; opacity: 0.5; } 50% { height: 14px; opacity: 1; } }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px;
  background: var(--cyan); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */

.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content; padding: 22px 0;
  animation: marquee 50s linear infinite;
}
.marquee-track span { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--text); white-space: nowrap; opacity: 0.85; }
.marquee-track i { font-style: normal; font-size: 10px; color: var(--cyan); opacity: 0.7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { position: relative; padding: 140px 0; z-index: 1; }
.section-alt {
  background:
    linear-gradient(180deg, transparent, rgba(61, 107, 255, 0.04) 30%, rgba(61, 107, 255, 0.04) 70%, transparent);
}

.section-head { max-width: 780px; margin-bottom: 70px; }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
}
.label span {
  display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px;
  border: 1px solid rgba(34, 228, 255, 0.35); color: var(--text); font-size: 12px; letter-spacing: 0.04em;
}
.section-head h2, .praetor h2, .cta h2 {
  margin-top: 22px; font-size: clamp(38px, 5vw, 66px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em;
}
.section-lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 640px; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- spotlight cards ---------- */

.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 228, 255, 0.09), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 228, 255, 0.7), rgba(139, 61, 255, 0.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span {
  font-family: var(--font-mono); font-size: 12px; color: var(--body);
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}

.card-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan);
}

/* ---------- execution ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
}
.pillar-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--cyan);
  background: linear-gradient(135deg, rgba(34, 228, 255, 0.14), rgba(139, 61, 255, 0.14));
  border: 1px solid rgba(34, 228, 255, 0.25);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { margin-top: 26px; font-size: 23px; font-weight: 600; }
.pillar p { margin-top: 12px; }

.compare {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
}
.compare-col { padding: 34px 38px; }
.compare-old { background: rgba(255, 255, 255, 0.015); }
.compare-new {
  background: linear-gradient(135deg, rgba(34, 228, 255, 0.07), rgba(139, 61, 255, 0.07));
  border-left: 1px solid var(--line);
}
.compare-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.compare-new .compare-title { color: var(--text); }
.compare li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--line); font-size: 17px; }
.compare li:first-child { border-top: 0; }
.compare-old li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.2); }
.compare-old li::before, .compare-new li::before {
  position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px;
}
.compare-old li::before { content: "✕"; color: #6b7287; border: 1px solid var(--line-2); }
.compare-new li { color: var(--text); }
.compare-new li::before { content: "✓"; color: #03040a; background: var(--grad); font-weight: 700; }

/* ---------- numbers ---------- */

.numbers {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(34, 228, 255, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.012);
}
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 60px 28px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num-value {
  font-family: var(--font-display); font-size: clamp(48px, 5.5vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.45));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.num-label { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 230px; }

/* ---------- services bento ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  grid-column: span 2; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-direction: column;
}
.card-lg { grid-column: span 3; padding: 0; overflow: hidden; }
.card-md { grid-column: span 3; }
.card h3 { margin-top: 14px; font-size: 24px; line-height: 1.2; font-weight: 600; }
.card-lg h3 { font-size: 28px; }
.card p:not(.card-kicker) { margin-top: 12px; }
.card .chips { margin-top: auto; padding-top: 22px; }
.card-body { padding: 30px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.card-icon {
  width: 46px; height: 46px; margin-bottom: 26px; display: grid; place-items: center; border-radius: 13px; color: var(--cyan);
  background: rgba(34, 228, 255, 0.07); border: 1px solid rgba(34, 228, 255, 0.22);
}
.card-icon svg { width: 22px; height: 22px; }

.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16px; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg);
}

.card-visual {
  height: 220px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(400px 200px at 50% 100%, rgba(61, 107, 255, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 24px 24px;
}
.visual-neural svg { width: 100%; height: 100%; padding: 14px 20px; }
.nn-edge { stroke: rgba(61, 107, 255, 0.35); stroke-width: 1; }
.nn-flow { stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 6 60; animation: flow 2.4s linear infinite; opacity: 0.9; }
.nn-node { fill: #0a0d1a; stroke: var(--cyan); stroke-width: 1.4; }
.nn-node.out { stroke: var(--violet); }
.nn-core { fill: var(--cyan); animation: nodePulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes flow { to { stroke-dashoffset: -66; } }
@keyframes nodePulse { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1); } }

.visual-chain { display: flex; align-items: center; }
.chain-track { display: flex; gap: 36px; width: max-content; padding-left: 30px; animation: chain 16s linear infinite; }
.block {
  position: relative; flex: none; width: 120px; height: 96px; border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(61, 107, 255, 0.16), rgba(139, 61, 255, 0.06));
  border: 1px solid rgba(61, 107, 255, 0.4);
  font-family: var(--font-mono); font-size: 12px;
}
.block b { color: var(--text); font-weight: 500; }
.block span { color: var(--muted); }
.block::after {
  content: ""; position: absolute; right: -37px; top: 50%; width: 36px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 4px, transparent 4px 8px);
}
.block:nth-child(3n + 2) { border-color: rgba(34, 228, 255, 0.55); box-shadow: 0 0 30px -6px rgba(34, 228, 255, 0.5); }
@keyframes chain { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- process ---------- */

.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-line { position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.process-line span {
  position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: var(--grad); box-shadow: 0 0 14px rgba(34, 228, 255, 0.8);
}
.step { position: relative; }
.step-node {
  position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px;
  font-family: var(--font-mono); font-size: 16px; color: var(--text);
  background: #0a0d1a; border: 1px solid var(--line-2);
  transition: border-color 0.5s, box-shadow 0.5s, color 0.5s;
}
.step.is-lit .step-node { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px rgba(34, 228, 255, 0.07), 0 0 30px -4px rgba(34, 228, 255, 0.6); }
.step-tag {
  margin-top: 28px; display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); padding: 4px 10px; border-radius: 6px; background: rgba(34, 228, 255, 0.07);
}
.step h3 { margin-top: 14px; font-size: 30px; font-weight: 600; }
.step p:last-child { margin-top: 10px; }

.engage { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engage-item { padding: 30px 34px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.engage-title { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* ---------- ventures ---------- */

.feature {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: center;
  padding: 48px; border-radius: 28px; border: 1px solid rgba(34, 228, 255, 0.2);
  background:
    radial-gradient(600px 300px at 85% 50%, rgba(61, 107, 255, 0.14), transparent 70%),
    linear-gradient(135deg, rgba(34, 228, 255, 0.04), rgba(139, 61, 255, 0.04));
  overflow: hidden;
}
.feature h3 { margin-top: 16px; font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.feature-tag { margin-top: 8px; font-family: var(--font-display); font-size: 21px; color: var(--text); }
.feature-copy > p:not(.card-kicker):not(.feature-tag) { margin-top: 18px; }
.feature-specs { margin-top: 26px; display: grid; gap: 2px; }
.feature-specs li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.feature-specs b { font-family: var(--font-mono); font-weight: 500; color: var(--cyan); font-size: 15px; }
.feature-specs span { font-size: 15px; color: var(--body); }
.feature-visual { position: relative; }
.aion-svg { width: 100%; height: auto; overflow: visible; }
.svg-label { font-family: var(--font-mono); font-size: 13px; fill: var(--muted); letter-spacing: 0.04em; }
.aion-pulse { animation: breathe 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.aion-link { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -10; } }

.venture-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.venture {
  display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: transform 0.4s var(--ease);
}
.venture:hover { transform: translateY(-4px); }
.venture h3 { margin-top: 14px; font-size: 28px; font-weight: 600; }
.venture-tag { margin-top: 6px; font-family: var(--font-display); font-size: 17px; color: var(--text); opacity: 0.9; }
.venture > p:not(.card-kicker):not(.venture-tag) { margin-top: 14px; font-size: 16px; }
.venture .chips { margin-top: auto; padding-top: 22px; }
.venture-cta {
  border-style: dashed; border-color: rgba(34, 228, 255, 0.35);
  background: linear-gradient(135deg, rgba(34, 228, 255, 0.06), rgba(139, 61, 255, 0.08));
}
.venture-cta h3 { font-size: 40px; }
.venture-cta-link { margin-top: auto; padding-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--cyan); display: inline-flex; gap: 8px; }
.venture-cta:hover .arrow { transform: translateX(4px); }
.venture-cta .arrow { transition: transform 0.3s var(--ease); }

/* ---------- client work ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -30px 0 36px; }
.filter {
  height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--body);
  border: 1px solid var(--line-2); transition: all 0.3s;
}
.filter:hover { color: var(--text); border-color: rgba(34, 228, 255, 0.5); }
.filter.is-active { color: #03040a; background: var(--text); border-color: var(--text); font-weight: 600; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
  display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work.is-hidden { display: none; }
.work.is-entering { animation: workIn 0.5s var(--ease) both; }
@keyframes workIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.work-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.work-meta span:first-child { color: var(--cyan); }
.work-meta span:last-child { color: var(--muted); }
.work h3 { margin-top: 18px; font-size: 26px; font-weight: 600; }
.work-tag { margin-top: 6px; font-family: var(--font-display); font-size: 17px; color: var(--text); opacity: 0.9; }
.work > p:not(.work-tag) { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.work .chips { margin-top: auto; padding-top: 20px; }

.track { margin-top: 80px; }
.track-intro { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.track-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track-item {
  display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
}
.track-item .track-big {
  margin: 0; font-family: var(--font-display); font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1;
}
.track-big:not(.track-logo) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.track-logo img { width: 100%; height: auto; filter: brightness(1.1); }
.track-item h3 { font-size: 22px; font-weight: 600; }
.track-item p { margin-top: 8px; font-size: 15.5px; }

/* ---------- PRAETOR ---------- */

.praetor {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 500px at 80% 50%, rgba(255, 181, 71, 0.07), transparent 70%),
    #06070c;
}
.praetor-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.label-amber { color: var(--amber); }
.label-amber span { border-color: rgba(255, 181, 71, 0.4); }
.praetor-list { margin-top: 40px; display: grid; gap: 4px; }
.praetor-item { padding: 20px 0 20px 26px; border-left: 2px solid rgba(255, 181, 71, 0.25); transition: border-color 0.3s; }
.praetor-item:hover { border-left-color: var(--amber); }
.praetor-item h3 { font-size: 21px; font-weight: 600; }
.praetor-item p { margin-top: 6px; font-size: 16px; }
.praetor-note { margin-top: 30px; font-size: 15px; color: var(--muted); font-style: italic; }

.radar {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.06), transparent 70%);
  border: 1px solid rgba(255, 181, 71, 0.25);
}
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 181, 71, 0.16); }
.r1 { inset: 16%; } .r2 { inset: 32%; } .r3 { inset: 46%; border-color: rgba(255, 181, 71, 0.35); }
.radar-cross::before, .radar-cross::after { content: ""; position: absolute; background: rgba(255, 181, 71, 0.14); }
.radar-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 181, 71, 0.05) 30deg, rgba(255, 181, 71, 0.38) 89deg, transparent 90deg);
  animation: spin 4s linear infinite;
}
.blip {
  position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 14px 3px rgba(255, 181, 71, 0.7); animation: blip 4s ease-out infinite;
}
.blip::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 181, 71, 0.6); animation: ping 4s ease-out infinite; animation-delay: inherit; }
.b1 { left: 68%; top: 26%; animation-delay: 0.5s; }
.b2 { left: 76%; top: 62%; animation-delay: 1.4s; }
.b3 { left: 34%; top: 74%; animation-delay: 2.5s; }
.b4 { left: 27%; top: 36%; animation-delay: 3.4s; }
@keyframes blip { 0% { opacity: 1; } 60% { opacity: 0.15; } 100% { opacity: 0; } }
@keyframes ping { 0% { transform: scale(0.4); opacity: 1; } 60% { transform: scale(2); opacity: 0; } 100% { opacity: 0; } }
.radar-readout {
  position: absolute; left: 50%; bottom: -12px; transform: translate(-50%, 100%);
  display: flex; gap: 18px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em;
}
.radar-readout em { font-style: normal; color: var(--amber); }

/* ---------- CTA ---------- */

.cta { overflow: hidden; padding-bottom: 120px; }
.cta-face {
  position: absolute; right: -6%; top: 50%; width: min(760px, 62vw); transform: translateY(-50%); opacity: 0.32; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 75%);
}
.cta-face img { width: 100%; filter: grayscale(1) sepia(1) hue-rotate(180deg) saturate(2.4) brightness(0.9); }
.cta-inner { position: relative; }
.cta h2 { font-size: clamp(44px, 6vw, 84px); }
.cta .section-lead { max-width: 600px; }

.locations { margin-top: 100px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.loc { padding: 30px 30px 0 0; }
.loc + .loc { padding-left: 30px; border-left: 1px solid var(--line); }
.loc-coord { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--cyan); }
.loc h3 { margin-top: 10px; font-size: 22px; font-weight: 600; }
.loc h3 a:hover { color: var(--cyan); }
.loc p:last-child { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */

.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 15px; }
.footer-social { display: flex; gap: 10px; margin-left: auto; }
.footer-social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--body); transition: all 0.3s;
}
.footer-social a:hover { color: var(--cyan); border-color: rgba(34, 228, 255, 0.5); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-copy { width: 100%; font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 10px; }
  .hero-title { font-size: clamp(46px, 6.4vw, 72px); }
  .hero-stats { gap: 22px; }
  .hud-1 .hud-box span { display: none; }
  .hud-1 { left: 0; }
  .hud-2 { right: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card-lg, .card-md { grid-column: span 1; }
  .bento .card:last-child { grid-column: span 2; }
  .feature { grid-template-columns: 1fr; padding: 36px; }
  .feature-visual { width: 100%; max-width: 540px; margin-top: 20px; }
  .venture-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .praetor-inner { grid-template-columns: 1fr; gap: 90px; }
  .radar { max-width: 400px; }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 28px 40px;
    background: rgba(5, 6, 11, 0.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { width: 100%; padding: 18px 0; font-family: var(--font-display); font-size: 26px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 30px; height: 54px; font-size: 17px; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 84px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; justify-self: center; width: min(100%, 440px); margin-bottom: -10px; }
  .hero-title { margin-top: 20px; }

  .pillars { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-new { border-left: 0; border-top: 1px solid var(--line); }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num { padding: 40px 24px; }
  .num:nth-child(odd) { border-left: 0; padding-left: 0; }
  .num:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .process-line { display: none; }
  .engage { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .loc, .loc + .loc { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 110px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .nav-inner { padding: 0 20px; }
  .hero-title { font-size: clamp(42px, 12vw, 60px); }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-stats div:last-child { grid-column: span 2; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hud-box { padding: 7px 10px; font-size: 10px; }
  .hud-box b { font-size: 10px; }
  .hud-line { width: 24px; }
  .hud-1 { left: 0; } .hud-2 { right: 0; } .hud-3 { left: 0; }
  .hud-1 .hud-box span, .hud-3 .hud-box span { display: none; }
  .scroll-cue { display: none; }
  .bento, .venture-grid, .work-grid { grid-template-columns: 1fr; }
  .bento .card:last-child { grid-column: span 1; }
  .card-body { padding: 26px; }
  .card, .pillar, .venture, .work { padding: 26px; }
  .card-lg { padding: 0; }
  .feature { padding: 26px; }
  .feature-specs li { grid-template-columns: 1fr; gap: 2px; }
  .process { grid-template-columns: 1fr; }
  .compare-col { padding: 26px; }
  .track-item { grid-template-columns: 1fr; gap: 16px; }
  .track-logo img { max-width: 200px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .num, .num:nth-child(odd) { padding: 34px 0; border-left: 0; }
  .num + .num { border-top: 1px solid var(--line); }
  .radar-readout { flex-direction: column; align-items: center; gap: 4px; }
  .filters { margin-top: -30px; }
  .cta-face { width: 120vw; right: -40%; opacity: 0.18; }
  .footer-social { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .face-holo, .face-glitch, .face-scanline { display: none; }
}
