/* =========================================================
   AAIVU — futuristic monochrome landing
   palette: pure black, pure white, and warm/cool whites
   ========================================================= */

:root {
  --black: #050505;
  --black-2: #0a0a0a;
  --black-3: #111111;
  --ink: #1a1a1a;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --white: #ffffff;
  --white-90: #f5f5f4;
  --white-80: #ebebe8;
  --white-70: #d8d8d4;
  --white-60: #a8a8a3;
  --white-50: #838380;
  --white-40: #5a5a57;
  --white-30: #3a3a37;
  --bone: #f1efe9;        /* warm white */
  --paper: #e9e7df;
  --silver: #c9c9c4;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--black); color: var(--white-80); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--white); color: var(--black); }

/* =========================================================
   BACKGROUNDS — grid, noise, particles
   ========================================================= */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
  mix-blend-mode: overlay;
}
#particles {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-inner { width: min(420px, 80vw); display: flex; flex-direction: column; align-items: flex-start; }
.loader-logo {
  width: 72px; height: 72px;
  margin-bottom: 32px;
  color: var(--white);
  opacity: 0;
  animation: loaderLogoIn 1.2s var(--ease-out) forwards;
}
.loader-logo svg { width: 100%; height: 100%; }
@keyframes loaderLogoIn {
  0% { opacity: 0; transform: rotate(-90deg) scale(.4); }
  60% { opacity: 1; transform: rotate(8deg) scale(1.05); }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}
.loader-mark {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -.03em;
  color: var(--white);
  display: flex; gap: .03em;
  margin-bottom: 28px;
}
.loader-letter {
  display: inline-block; opacity: 0; transform: translateY(40px);
  animation: letterIn .6s var(--ease-out) forwards;
}
.loader-letter:nth-child(1) { animation-delay: .05s; }
.loader-letter:nth-child(2) { animation-delay: .15s; }
.loader-letter:nth-child(3) { animation-delay: .25s; }
.loader-letter:nth-child(4) { animation-delay: .35s; }
.loader-letter:nth-child(5) { animation-delay: .45s; }
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}
.loader-bar {
  height: 1px; background: var(--line-2); position: relative;
  overflow: hidden; margin-bottom: 12px;
}
.loader-bar span {
  position: absolute; inset: 0; width: 0; background: var(--white);
}
.loader-meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--white-50); letter-spacing: .15em;
}

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--white-60);
  border-radius: 50%;
  pointer-events: none; z-index: 999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease);
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none; z-index: 999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.05);
  border-color: var(--white);
}
@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
  body { cursor: auto; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 32px;
  transition: background .3s var(--ease), padding .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 32px;
  border-color: var(--line);
}
.nav-inner {
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
}
.logo-mark {
  width: 30px; height: 30px;
  transition: transform .8s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(45deg); }
.logo-text {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0;
  display: inline-flex; align-items: baseline;
}
.logo-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 1px;
  align-self: center;
  animation: pulse 2s infinite;
}
.logo-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 4px;
}
.nav-links a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--white-70);
  border-radius: 999px;
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--white-40);
  letter-spacing: .1em;
}
.nav-links a::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::before {
  border-color: var(--line-2);
  background: rgba(255,255,255,.03);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px; color: var(--white);
  background: rgba(255,255,255,.02);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
  position: relative; overflow: hidden;
}
.nav-cta svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav-cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.nav-cta:hover svg { transform: translateX(4px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; z-index: 3;
  min-height: 100vh;
  padding: 140px 32px 80px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-meta {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--white-50);
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.hero-meta-tl { top: 100px; left: 32px; }
.hero-meta-tr { top: 100px; right: 32px; }
.hero-meta-bl { bottom: 32px; left: 32px; gap: 12px; }
.hero-meta-br { bottom: 32px; right: 32px; }
.hero-meta .dot {
  width: 6px; height: 6px; background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-meta .sep { color: var(--white-30); }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
  50% { opacity: .5; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.arrow-down {
  width: 12px; height: 12px;
  animation: bounce 2s infinite var(--ease);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-content {
  max-width: 1600px; width: 100%;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-60);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 32px;
  overflow: hidden;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 168px);
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--white);
  margin-bottom: 40px;
}
.hero-title .line {
  display: block; overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  transform: translateY(120%);
  animation: wordIn 1.1s var(--ease-out) forwards;
}
.hero-title .word.italic {
  font-style: italic;
  background: linear-gradient(180deg, var(--white) 0%, var(--white-60) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: 1.0s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: 1.1s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: 1.2s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: 1.3s; }
.hero-title .line:nth-child(3) .word:nth-child(1) { animation-delay: 1.4s; }
.hero-title .line:nth-child(3) .word:nth-child(2) { animation-delay: 1.5s; }
@keyframes wordIn {
  to { transform: translateY(0); }
}
.hero-sub {
  max-width: 540px;
  font-size: 18px;
  color: var(--white-70);
  line-height: 1.5;
  margin-bottom: 48px;
  overflow: hidden;
}
.hero-sub > span {
  display: inline-block;
  opacity: 0; transform: translateY(40px);
  animation: subIn 1s var(--ease-out) 1.7s forwards;
}
@keyframes subIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0;
  animation: actionsIn 1s var(--ease-out) 1.9s forwards;
}
@keyframes actionsIn { to { opacity: 1; } }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn-label {
  position: relative; display: inline-block;
  height: 1em; overflow: hidden;
}
.btn-label span {
  display: block;
  transition: transform .4s var(--ease);
}
.btn-label span:nth-child(2) {
  position: absolute; top: 100%; left: 0;
}
.btn:hover .btn-label span:nth-child(1) { transform: translateY(-100%); }
.btn:hover .btn-label span:nth-child(2) { transform: translateY(-100%); }
.btn:hover svg { transform: translateX(6px); }

.btn-primary {
  background: var(--white); color: var(--black);
  border-color: var(--white);
}
.btn-primary:hover { background: var(--white-80); }

.btn-ghost {
  color: var(--white);
  border-color: var(--line-2);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: var(--white);
}

/* Hero Orb */
.hero-orb {
  position: absolute;
  top: 50%; right: -8%;
  width: 80vh; height: 80vh; max-width: 900px; max-height: 900px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  animation: orbIn 2s var(--ease-out) .5s forwards;
  z-index: 1;
}
@keyframes orbIn { to { opacity: 1; } }
.orb-svg { width: 100%; height: 100%; }
.orb-svg circle { animation: orbSpin 60s linear infinite; transform-origin: center; }
.orb-svg circle:nth-child(2) { animation-duration: 90s; animation-direction: reverse; }
.orb-svg circle:nth-child(3) { animation-duration: 120s; }
.orb-svg circle:nth-child(4) { animation-duration: 75s; animation-direction: reverse; }
@keyframes orbSpin { to { transform: rotate(360deg); } }

/* Marquee */
.hero-marquee {
  position: absolute;
  bottom: 80px; left: 0; right: 0;
  height: 1px; background: var(--line);
  overflow: visible;
  display: none; /* keep clean — show only on large */
}

/* Split-line reveal animations */
.split-line { overflow: hidden; }

/* =========================================================
   SECTIONS — base
   ========================================================= */
section {
  position: relative; z-index: 3;
  padding: 140px 32px;
}
.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--white-50);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag span {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--white-70);
}
.section-head {
  max-width: 1600px; margin: 0 auto 72px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--white);
}
.section-title .reveal-line {
  display: block; overflow: hidden;
}
.section-title .reveal-line.italic {
  font-style: italic;
  color: var(--white-60);
}
.section-title .reveal-line span,
.section-title .reveal-line {
  /* the children animate via JS, but base class keeps overflow hidden */
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: 80px 1fr 320px; gap: 64px;
  align-items: start;
}
.manifesto-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-50);
  border-top: 1px solid var(--line-2);
  padding-top: 12px;
  letter-spacing: .15em;
}
.manifesto-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--white);
}
.manifesto-text em {
  font-style: italic;
  color: var(--white-70);
}
.manifesto-text .hl {
  position: relative;
  font-style: italic;
  color: var(--bone);
}
.manifesto-text .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .08em;
  height: 1px; background: var(--white-50);
}
.manifesto-aside {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.55;
}
.manifesto-aside p { margin-bottom: 24px; }
.aside-list li {
  display: flex; gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-70);
  letter-spacing: .04em;
}
.aside-list li:last-child { border-bottom: 0; }
.aside-list li span { color: var(--white-40); }

/* =========================================================
   RESEARCH ROWS
   ========================================================= */
.research-list {
  max-width: 1600px; margin: 0 auto;
  border-top: 1px solid var(--line-2);
}
.research-row {
  display: grid;
  grid-template-columns: 100px 1fr 360px 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  cursor: none;
  overflow: hidden;
  transition: background .4s var(--ease);
}
.research-row::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.04) 100%);
  transition: height .5s var(--ease);
  pointer-events: none;
}
.research-row:hover::before { height: 100%; }
.research-row:hover .row-arrow svg {
  transform: translate(4px, -4px);
}
.research-row:hover .row-title h3 {
  transform: translateX(8px);
  font-style: italic;
}
.research-row:hover .row-hover-img {
  opacity: 1;
}
.row-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: .15em;
}
.row-title h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.02em;
  transition: transform .5s var(--ease), font-style .25s var(--ease);
}
.row-title p {
  font-size: 14px;
  color: var(--white-60);
  max-width: 540px;
  line-height: 1.5;
}
.row-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.row-tags span {
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-70);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.row-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  justify-self: end;
}
.row-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.research-row:hover .row-arrow {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

/* row hover preview image — pure CSS abstract */
.row-hover-img {
  position: absolute;
  top: 50%; left: 38%;
  width: 240px; height: 160px;
  transform: translate(-50%, -50%) scale(.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  z-index: 5;
}
.research-row:hover .row-hover-img { transform: translate(-50%, -50%) scale(1); }
.row-img-inner { width: 100%; height: 100%; }
.img-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.4) 0%, transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.2) 0%, transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 16px),
    var(--ink);
}
.img-2 {
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.3), transparent, rgba(255,255,255,.15), transparent),
    var(--ink);
}
.img-3 {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.15) 0 2px, transparent 2px 14px),
    var(--ink);
}
.img-4 {
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.4) 0%, transparent 60%),
    var(--ink);
}
.img-5 {
  background:
    linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 50%, rgba(255,255,255,.1) 100%),
    var(--ink);
}

/* =========================================================
   AGENT GRID
   ========================================================= */
.agent-grid {
  max-width: 1600px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-2);
  border: 1px solid var(--line-2);
}
.agent-card {
  background: var(--black);
  position: relative;
  transition: background .4s var(--ease);
  perspective: 1000px;
}
.agent-card-inner {
  padding: 40px 32px 32px;
  position: relative;
  transition: transform .4s var(--ease);
  transform-style: preserve-3d;
}
.agent-card:hover { background: var(--black-3); }
.agent-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.06), transparent 40%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.agent-card:hover::after { opacity: 1; }
.agent-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-40);
  letter-spacing: .15em;
  margin-bottom: 32px;
}
.agent-icon {
  width: 56px; height: 56px;
  margin-bottom: 28px;
  color: var(--white);
  transition: transform .6s var(--ease);
}
.agent-icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.agent-card:hover .agent-icon { transform: rotate(90deg); }
.agent-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.agent-card p {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 360px;
}
.agent-card-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.agent-card-meta span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: .12em;
}

/* =========================================================
   SHOWCASE
   ========================================================= */
.showcase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}
.showcase-card {
  border: 1px solid var(--line-2);
  background: var(--black-2);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--white-30);
}
.sc-visual {
  height: 240px;
  border-bottom: 1px solid var(--line-2);
  position: relative; overflow: hidden;
  background: var(--ink);
}
.sc-visual-1 {
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.18), transparent 50%),
    var(--black-3);
}
.sc-visual-1 .sc-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: perspective(400px) rotateX(60deg) translateY(20%);
  transform-origin: bottom;
  animation: gridFlow 8s linear infinite;
}
@keyframes gridFlow {
  from { background-position: 0 0; }
  to { background-position: 0 20px; }
}
.sc-circle {
  position: absolute;
  top: 30%; left: 60%;
  width: 80px; height: 80px;
  border: 1px solid var(--white);
  border-radius: 50%;
  animation: circleFloat 6s var(--ease) infinite;
}
@keyframes circleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .8; }
  50% { transform: translateY(-12px) scale(1.05); opacity: 1; }
}
.sc-line {
  position: absolute;
  height: 1px; background: var(--white);
  opacity: .3;
}
.sc-line-1 { top: 40%; left: 0; right: 50%; animation: lineSweep 4s var(--ease) infinite; }
.sc-line-2 { bottom: 30%; left: 30%; right: 0; animation: lineSweep 4s var(--ease) infinite .5s; }
@keyframes lineSweep {
  0%, 100% { opacity: 0; }
  50% { opacity: .6; }
}

.sc-visual-2 .sc-bars {
  position: absolute;
  bottom: 30px; left: 30px; right: 30px;
  display: flex; align-items: flex-end; gap: 8px;
  height: 60%;
}
.sc-visual-2 .sc-bars span {
  flex: 1; background: var(--white); border-radius: 1px;
  height: 30%;
  animation: barGrow 2.5s var(--ease) infinite;
}
.sc-visual-2 .sc-bars span:nth-child(1) { animation-delay: 0s; }
.sc-visual-2 .sc-bars span:nth-child(2) { animation-delay: .1s; }
.sc-visual-2 .sc-bars span:nth-child(3) { animation-delay: .2s; }
.sc-visual-2 .sc-bars span:nth-child(4) { animation-delay: .3s; }
.sc-visual-2 .sc-bars span:nth-child(5) { animation-delay: .4s; }
.sc-visual-2 .sc-bars span:nth-child(6) { animation-delay: .5s; }
.sc-visual-2 .sc-bars span:nth-child(7) { animation-delay: .6s; }
.sc-visual-2 .sc-bars span:nth-child(8) { animation-delay: .7s; }
@keyframes barGrow {
  0%, 100% { height: 20%; opacity: .4; }
  50% { height: 90%; opacity: 1; }
}

.sc-visual-3 .sc-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 180px; height: 180px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  animation: orbSpin 18s linear infinite;
}
.sc-visual-3 .sc-orbit::before {
  content: ""; position: absolute; inset: 30px;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
}
.sc-orb-1, .sc-orb-2, .sc-orb-3 {
  position: absolute; width: 8px; height: 8px;
  background: var(--white); border-radius: 50%;
}
.sc-orb-1 { top: -4px; left: 50%; }
.sc-orb-2 { top: 50%; right: -4px; }
.sc-orb-3 { top: 30px; left: 30px; width: 4px; height: 4px; }

.sc-visual-4 .sc-wave {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,
      transparent 0,
      transparent 14px,
      rgba(255,255,255,.18) 14px,
      rgba(255,255,255,.18) 15px);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  animation: waveShift 6s var(--ease) infinite;
}
@keyframes waveShift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.sc-meta {
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.sc-meta > span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: .15em;
}
.sc-meta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--white);
  letter-spacing: -.02em;
}
.sc-meta p {
  font-size: 13px;
  color: var(--white-60);
  line-height: 1.5;
}
.sc-stats {
  display: flex; gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}
.sc-stats div { display: flex; flex-direction: column; gap: 2px; }
.sc-stats b {
  font-family: var(--serif);
  font-size: 24px; font-weight: 400;
  color: var(--white);
}
.sc-stats span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: .12em;
}

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.timeline {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 56px 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: .15em;
  align-self: start;
  position: relative;
  padding-left: 16px;
}
.step-num::before {
  content: ""; position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
}
.step-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 64px);
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 12px;
  line-height: 1;
}
.step-body p {
  font-size: 16px;
  color: var(--white-60);
  max-width: 600px;
  line-height: 1.5;
}

/* =========================================================
   METRICS
   ========================================================= */
.metrics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 32px;
}
.metrics-grid {
  max-width: 1600px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.metric { display: flex; flex-direction: column; gap: 12px; }
.metric-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 7vw, 120px);
  line-height: 1;
  color: var(--white);
  letter-spacing: -.04em;
}
.metric-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 200px 32px;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: 1000px; height: 1000px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.10) 0%, transparent 50%);
  animation: ctaPulse 8s var(--ease) infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.cta-inner {
  max-width: 1100px; margin: 0 auto;
  text-align: center;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 132px);
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--white);
  margin: 16px 0 32px;
}
.cta-title .reveal-line { display: block; overflow: hidden; }
.cta-title .reveal-line.italic { font-style: italic; color: var(--white-70); }
.cta-sub {
  font-size: 18px;
  color: var(--white-60);
  max-width: 600px;
  margin-bottom: 56px;
}

.cta-button {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 24px 36px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  color: var(--white);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  transition: color .4s var(--ease);
}
.cta-button::before {
  content: ""; position: absolute; inset: 0;
  background: var(--white);
  border-radius: 999px;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 0;
}
.cta-button:hover { color: var(--black); }
.cta-button:hover::before { transform: translateY(0); }
.cta-button-text {
  position: relative; z-index: 1;
  display: inline-block;
  height: 1em; overflow: hidden;
}
.cta-button-text span {
  display: block;
  transition: transform .5s var(--ease);
}
.cta-button-text span:nth-child(2) {
  position: absolute; top: 100%; left: 0; right: 0;
}
.cta-button:hover .cta-button-text span { transform: translateY(-100%); }
.cta-button svg {
  width: 28px; height: 28px;
  position: relative; z-index: 1;
  transition: transform .5s var(--ease);
}
.cta-button:hover svg { transform: translate(8px, -8px); }

.cta-meta {
  display: flex; gap: 56px; flex-wrap: wrap; justify-content: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 800px;
}
.cta-meta > div {
  display: flex; flex-direction: column; gap: 6px;
  text-align: left;
}
.cta-meta span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-50);
  letter-spacing: .15em;
}
.cta-meta b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding: 64px 32px 0;
  border-top: 1px solid var(--line);
  z-index: 3;
  overflow: hidden;
}
.footer-top {
  max-width: 1600px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 24px;
}
.footer-mark {
  display: flex; align-items: baseline; gap: 12px;
}
.ftr-aaivu {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--white);
}
.ftr-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: .15em;
}
.footer-links {
  display: flex; gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--white-60);
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1600px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-50);
  letter-spacing: .12em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-mega {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(120px, 26vw, 480px);
  line-height: .8;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  text-align: center;
  margin-top: 32px;
  margin-bottom: -.1em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

/* =========================================================
   REVEAL animations driven by IntersectionObserver
   ========================================================= */
.reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(60%);
  transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out);
}
.in-view .reveal-line { transform: translateY(0); opacity: 1; }
.in-view .reveal-line:nth-child(2) { transition-delay: .14s; }
.in-view .reveal-line:nth-child(3) { transition-delay: .28s; }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .manifesto-num { display: none; }
  .research-row {
    grid-template-columns: 60px 1fr 60px;
    gap: 16px;
  }
  .row-tags { display: none; }
  .row-hover-img { display: none; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-track { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-orb { opacity: .35; }
}
@media (max-width: 700px) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
  section { padding: 80px 20px; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-cta svg { width: 12px; height: 12px; }
  .logo-tag { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-meta-tl, .hero-meta-tr { top: 84px; }
  .hero-meta-tr, .hero-meta-br { right: 20px; }
  .hero-meta-tl, .hero-meta-bl { left: 20px; }
  .hero-orb { display: none; }
  .agent-grid { grid-template-columns: 1fr; }
  .showcase-track { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-meta { gap: 32px; }
}
