/* ═══════════════════════════════════════════════════════════
   Turbnetic.ai — Edge AI umbrella landing
   DARK CINEMATIC — near-black · bone type · one vermilion accent
   Founders Fund gravity × SpaceX full-bleed · Bull reduction rules
═══════════════════════════════════════════════════════════ */

:root {
  --bg:       #060607;   /* page black */
  --bg-2:     #0a0a0c;   /* panel */
  --bg-3:     #101013;   /* raised surface */
  --text:     #ebe8e0;   /* bone type */
  --text-2:   #9a978e;   /* secondary */
  --text-3:   #5f5d55;   /* muted / labels */
  --line:     rgba(235,232,224,0.13);   /* single hairline */
  --line-2:   rgba(235,232,224,0.26);
  --accent:   #22d3ee;   /* the one accent */
  --font-head: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-serif:'Zodiak', Georgia, serif;
  --transition:0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:     1360px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-2); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--text-2); }

/* ─────────────────────────  PRELOADER  ───────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pre-inner svg { animation: pre-spin 3.4s linear infinite; }
@keyframes pre-spin { to { transform: rotate(360deg); } }
.pre-word { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
.pre-word span { color: var(--accent); }
.pre-word em { font-style: normal; color: var(--text-3); }
.pre-bar { width: 130px; height: 1px; background: var(--line); overflow: hidden; }
.pre-fill { width: 0%; height: 100%; background: var(--accent); transition: width 0.3s ease; }

/* ─────────────────────────  NAV  ───────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled { background: rgba(6,6,7,0.8); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { animation: pre-spin 16s linear infinite; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.logo-text .accent { color: var(--accent); }
.logo-text .dot { color: var(--text-3); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); position: relative; transition: color var(--transition); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--text); transition: width var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 22px; border: 1px solid var(--line-2); color: var(--text); transition: all var(--transition);
}
.btn-nav:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--text); transition: var(--transition); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0; background: rgba(6,6,7,0.97);
  border-bottom: 1px solid var(--line); flex-direction: column; padding: 16px 48px 26px; z-index: 999;
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--transition);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.12em; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mobile-menu a.cta { color: var(--accent); border-bottom: 0; }

/* ─────────────────────────  HERO — full-bleed swarm  ───────────────────────── */
#hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 0; overflow: hidden; }
#edge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(1300px 760px at 62% 32%, transparent 52%, rgba(6,6,7,0.3) 86%),
    linear-gradient(180deg, rgba(6,6,7,0.62) 0%, rgba(6,6,7,0.02) 22%, rgba(6,6,7,0.02) 68%, var(--bg) 98%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 64px; }
.hero-h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 7.2rem); line-height: 0.92; letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 28px 0 0; color: var(--text); max-width: 18ch;
  overflow-wrap: break-word;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-h1 .line { overflow: hidden; padding-bottom: 0.07em; }
.hero-h1 .word { display: inline-block; }
[data-split] { visibility: hidden; }
[data-split].in { visibility: visible; }
.hero-sub { max-width: 52ch; margin-top: 30px; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--text-2); line-height: 1.6; overflow-wrap: break-word; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; will-change: transform;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 17px 30px; cursor: pointer; border: 1px solid var(--line-2);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn .arr { transition: transform var(--transition); }
.btn:hover .arr { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent); transform: skewX(-18deg); transition: left 0.55s ease; pointer-events: none; }
.btn:hover::after { left: 120%; }

.hero-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 36px; border-top: 1px solid var(--line); }
.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--text); }
.hero-stat .n b { font-weight: 600; }
.hero-stat .l { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.live-stat .n { color: var(--accent); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); }
.scroll-track { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.scroll-dot { position: absolute; top: -45%; left: 0; width: 100%; height: 45%; background: var(--text-2); animation: scroll-run 1.9s cubic-bezier(0.7,0,0.3,1) infinite; }
@keyframes scroll-run { 0% { top: -45%; } 60%,100% { top: 100%; } }

/* ─────────────────────────  LIQUID GLASS  ───────────────────────── */
.liquid { position: absolute; inset: -10%; z-index: 0; overflow: hidden; filter: blur(70px) saturate(125%); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; opacity: 0.6; will-change: transform; }
.blob-a { width: 46vw; height: 46vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle at 32% 32%, rgba(34,211,238,0.24), transparent 62%);
  animation: blob-a 26s ease-in-out infinite alternate; }
.blob-b { width: 40vw; height: 40vw; right: -8vw; top: 14%;
  background: radial-gradient(circle at 60% 40%, rgba(80,125,155,0.26), transparent 62%);
  animation: blob-b 34s ease-in-out infinite alternate; }
.blob-c { width: 54vw; height: 54vw; left: 22%; bottom: -22vw;
  background: radial-gradient(circle at 50% 50%, rgba(235,232,224,0.12), transparent 60%);
  animation: blob-c 40s ease-in-out infinite alternate; }
@keyframes blob-a { to { transform: translate(14vw, 12vh) scale(1.2); } }
@keyframes blob-b { to { transform: translate(-10vw, 16vh) scale(0.85); } }
@keyframes blob-c { to { transform: translate(-8vw, -10vh) scale(1.15); } }

.hero-glass { display: inline-block; max-width: 100%; }

/* ─────────────────────────  MARQUEE  ───────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee-row { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: marquee 36s linear infinite; }
.marquee-row span { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.6rem); letter-spacing: -0.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--text-3); transition: color var(--transition); }
.marquee:hover .marquee-row span { color: var(--text-2); -webkit-text-stroke: 1px transparent; }
.marquee-row i { color: var(--text-3); font-style: normal; font-size: 0.7rem; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-row { animation-play-state: paused; }

/* ─────────────────────────  SECTION SHELL  ───────────────────────── */
section { position: relative; }
.section-pad { padding: 170px 0; }
.section-head { max-width: 980px; margin-bottom: 92px; }
.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 4rem); line-height: 0.98; letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-top: 24px; color: var(--text);
}
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { margin-top: 26px; font-size: 1.08rem; color: var(--text-2); max-width: 60ch; }

/* ─────────────────────────  MANIFESTO (thesis)  ───────────────────────── */
.manifesto { background: var(--bg); }
.manifesto .section-head { max-width: 1100px; margin-bottom: 0; }
.manifesto .section-title {
  font-family: var(--font-serif); font-weight: 400; text-transform: none;
  font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.14; letter-spacing: -0.015em;
}
.manifesto .section-title em { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.manifesto .section-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 62ch; margin-top: 34px; }

/* ─────────────────────────  BADGES  ───────────────────────── */
.badge { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.badge .dot { width: 5px; height: 5px; border-radius: 50%; }
.badge.live { color: var(--accent); }
.badge.live .dot { background: var(--accent); animation: pulse 1.6s infinite; }
.badge.dev { color: var(--text-2); }
.badge.dev .dot { background: var(--text-3); }
.badge.explore { color: var(--text-3); }
.badge.explore .dot { background: var(--line-2); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ─────────────────────────  PROJECTS — monumental index  ───────────────────────── */
#projects { background: var(--bg); }
.proj-index { border-top: 1px solid var(--line); }
.proj-row {
  position: relative; display: grid;
  grid-template-columns: 64px minmax(0,1fr) 220px 96px; align-items: center; gap: 30px;
  padding: 48px 12px; border-bottom: 1px solid var(--line);
  color: inherit; overflow: hidden; isolation: isolate; transition: padding-left var(--transition);
}
.proj-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-2); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
a.proj-row { cursor: pointer; }
a.proj-row:hover { padding-left: 28px; }
a.proj-row:hover::before { transform: scaleY(1); }
.proj-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.1em; align-self: start; padding-top: 10px; }
.proj-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 0.96; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--text); transition: color var(--transition);
}
a.proj-row:hover .proj-name { color: var(--accent); }
.proj-desc { margin-top: 14px; color: var(--text-2); font-size: 0.94rem; max-width: 54ch; }
.proj-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.proj-sector { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.proj-go { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
a.proj-row .proj-go { color: var(--text); }
.proj-go .arr { transition: transform var(--transition); }
a.proj-row:hover .proj-go .arr { transform: translateX(5px); }

.proj-more { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 0 0; }
.proj-more-t { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; color: var(--text); }
.proj-more-d { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; max-width: 48ch; }
.proj-more-cta { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 16px 28px; border: 1px solid var(--line-2); color: var(--text); transition: background var(--transition), color var(--transition), border-color var(--transition); }
.proj-more:hover .proj-more-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.proj-more-cta .arr { transition: transform var(--transition); }
.proj-more:hover .proj-more-cta .arr { transform: translateX(4px); }

/* ─────────────────────────  APPROACH  ───────────────────────── */
#approach { background: var(--bg-2); }
.appro-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.appro { padding: 44px 28px 52px; border-right: 1px solid var(--line); transition: background var(--transition); }
.appro:last-child { border-right: 0; }
.appro:hover { background: var(--bg-3); }
.appro-n { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-3); letter-spacing: 0.1em; }
.appro-t { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; margin-top: 24px; color: var(--text); }
.appro-d { margin-top: 12px; font-size: 0.92rem; color: var(--text-2); }

/* ─────────────────────────  EDGE STACK  ───────────────────────── */
#stack { background: var(--bg); }
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { padding: 36px 26px 40px; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec-n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.spec-n .spec-sub { font-size: 0.5em; color: var(--text-3); }
.spec-l { margin-top: 14px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }

.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.stack-cell { padding: 42px 30px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background var(--transition); }
.stack-cell:hover { background: var(--bg-2); }
.stack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-i { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.08em; }
.stack-tag { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); padding: 4px 9px; }
.stack-t { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin-top: 28px; color: var(--text); }
.stack-d { margin-top: 12px; font-size: 0.92rem; color: var(--text-2); }

.integ { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.integ-l { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); flex-shrink: 0; }
.integ-list { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.02em; color: var(--text-2); }

/* ─────────────────────────  CTA + FORM  ───────────────────────── */
#contact { background: var(--bg); }
.cta-box { position: relative; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 80px 64px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.cta-copy h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.035em; line-height: 0.98; text-transform: uppercase; color: var(--text); }
.cta-copy h2 em { font-style: normal; color: var(--accent); }
.cta-copy p { margin: 24px 0 0; max-width: 40ch; color: var(--text-2); font-size: 1rem; }
.cta-see { display: inline-flex; align-items: center; gap: 9px; margin-top: 32px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.cta-see .arr { transition: transform var(--transition); }
.cta-see:hover { color: var(--text); }
.cta-see:hover .arr { transform: translateX(4px); }

.hp { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 8px 0; transition: border-color var(--transition);
}
.field textarea { resize: vertical; min-height: 44px; line-height: 1.5; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: right 4px center, right 0px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-foot { display: flex; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.cta-box .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-box .btn-primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.form-note { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--text-3); }
.form-status { margin-top: 22px; font-family: var(--font-mono); font-size: 0.78rem; padding: 14px 16px; border: 1px solid var(--line-2); color: var(--text); }
.form-status.ok { border-color: var(--accent); color: var(--accent); }
.form-status.err { border-color: #ffb4a6; color: #ffb4a6; }

/* ─────────────────────────  FOOTER  ───────────────────────── */
footer { border-top: 1px solid var(--line); padding: 80px 0 40px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.foot-logo span { color: var(--accent); }
.foot-logo em { font-style: normal; color: var(--text-3); }
.foot-tag { margin-top: 18px; color: var(--text-2); font-size: 0.92rem; max-width: 300px; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.foot-col a { display: block; padding: 7px 0; color: var(--text-2); font-size: 0.9rem; transition: color var(--transition); }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-3); letter-spacing: 0.06em; }

/* ─────────────────────────  GRAIN  ───────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9996; pointer-events: none; opacity: 0.35; mix-blend-mode: overlay;
  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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ─────────────────────────  REVEAL (IntersectionObserver)  ───────────────────────── */
.rv-init { opacity: 0; transform: translateY(34px); }
.rv-in { opacity: 1 !important; transform: none !important; transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.section-title .line, .cta-copy h2 .line { overflow: hidden; padding-bottom: 0.09em; }
.scroll-prog { position: fixed; top: 0; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 1001; will-change: transform; }

/* ─────────────────────────  RESPONSIVE  ───────────────────────── */
@media (max-width: 1040px) {
  .proj-row { grid-template-columns: 52px minmax(0,1fr) 170px; }
  .proj-go { display: none; }
  .appro-grid { grid-template-columns: repeat(2, 1fr); }
  .appro:nth-child(2) { border-right: 0; }
  .appro { border-bottom: 1px solid var(--line); }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wrap, .nav-inner { padding-left: 24px; padding-right: 24px; }
  .liquid { filter: blur(50px) saturate(120%); }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
  #hero { padding-top: 120px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 30px; }
  .hero-stats { gap: 30px 40px; }
  .scroll-cue { display: none; }
  .section-pad { padding: 110px 0; }
  .proj-row { grid-template-columns: 40px 1fr; gap: 8px 20px; padding: 34px 6px; }
  .proj-meta { grid-column: 2; flex-direction: row; align-items: center; gap: 16px; margin-top: 6px; }
  a.proj-row:hover { padding-left: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cta-box { grid-template-columns: 1fr; gap: 44px; padding: 52px 30px; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .states { grid-template-columns: repeat(3, 1fr); }
  .credo-line { display: none; }
}
@media (max-width: 560px) {
  .hero-h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .appro-grid { grid-template-columns: 1fr; }
  .appro { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-strip { grid-template-columns: 1fr; }
  .spec { border-right: 0; border-bottom: 1px solid var(--line); }
  .stack-grid { grid-template-columns: 1fr; }
  .states { grid-template-columns: repeat(2, 1fr); }
  .proj-num { display: none; }
  .proj-row { grid-template-columns: 1fr; }
  .proj-meta { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .rv-init { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  [data-split] { visibility: visible; }
  .nav-logo svg, .pre-inner svg, .marquee-row, .scroll-dot, .badge.live .dot { animation: none; }
  .marquee-row { transform: none; }
}

/* ─────────────────────────  CABINET GROTESK — lighter display weights  ───────────────────────── */
.hero-h1, .section-title, .proj-name, .cta-copy h2, .marquee-row span { font-weight: 500; }
.spec-n, .hero-stat .n { font-weight: 500; }
.appro-t, .stack-t, .proj-more-t { font-weight: 500; }
.logo-text, .pre-word, .foot-logo { font-weight: 700; }
.hero-h1 { letter-spacing: -0.02em; }
.section-title, .proj-name, .cta-copy h2 { letter-spacing: -0.015em; }
/* manifesto stays Zodiak — keep its own metrics */
.manifesto .section-title { letter-spacing: -0.015em; }

/* ─────────────────────────  CREDO BAND (after the Bull)  ───────────────────────── */
.credo-band { position: absolute; top: 84px; left: 0; right: 0; z-index: 2; }
.credo { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.credo-mark { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.credo-mark em { font-style: italic; text-transform: none; letter-spacing: 0.04em; }
.credo-line { font-family: var(--font-serif); font-style: italic; font-size: 0.98rem; color: var(--text-2); }

/* ─────────────────────────  INSPIRATION — the Bull states  ───────────────────────── */
.inspo { background: var(--bg-2); }
.states { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.state { margin: 0; padding: 26px 18px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); transition: background var(--transition), color var(--transition); }
.state:hover { background: var(--bg-3); color: var(--text); }
.state svg { width: 100%; height: auto; }
.state figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.state figcaption b { font-family: var(--font-mono); font-weight: 400; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.state figcaption span { font-family: var(--font-body); font-size: 0.86rem; color: var(--text-2); }
.state:last-child figcaption span { color: var(--text); }
.states-cap { margin-top: 30px; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--text-2); }
