﻿/* ============ CA AMIT DHANANIA — PERSONAL PORTFOLIO ============ */
:root {
  --ink: #060807;
  --ink-2: #0b0e0c;
  --ink-3: #101512;
  --accent: #2f9dff;
  --accent-deep: #0e5fbf;
  --accent-glow: rgba(47, 157, 255, 0.35);
  --cream: #f2eddf;
  --cream-dim: rgba(242, 237, 223, 0.55);
  --cream-faint: rgba(242, 237, 223, 0.28);
  --line: rgba(242, 237, 223, 0.1);
  --glass: rgba(16, 21, 18, 0.55);
  --glass-border: rgba(242, 237, 223, 0.12);
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--ink); }

a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
/* pointer-events drops the instant .done lands. Without it the overlay keeps
   swallowing clicks for the length of the fade — and blocks the page forever
   if that transition never runs (background tab, transitions disabled). */
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; width: min(420px, 80vw); }
.preloader-name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  letter-spacing: 0.28em;
  color: var(--cream);
  margin-bottom: 1.6rem;
  opacity: 0.9;
}
.preloader-bar {
  height: 1px; background: var(--line);
  position: relative; overflow: hidden;
}
.preloader-bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%; background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.preloader-count {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--accent);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(6, 8, 7, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.5rem; letter-spacing: 0.05em;
  color: var(--cream);
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  padding: 0.65rem 1.3rem; border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* ---------- Hero ---------- */
.hero { height: 480vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
}
#hero-canvas, #builder-canvas, #closer-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
#hero-canvas { z-index: 1; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(ellipse 130% 100% at 50% 45%, transparent 55%, rgba(6, 8, 7, 0.7) 100%),
    linear-gradient(to bottom, rgba(6, 8, 7, 0.45), transparent 18%, transparent 88%, var(--ink) 100%);
}
/* The subject plate is a full-bleed cinematic frame, so the type rides
   above it. On wide screens the crop parks him right of centre and the
   type claims the left; narrow screens stack centred over the vignette. */
.hero-content {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 0 1rem;
}
.hero-eyebrow {
  position: absolute;
  top: max(15vh, 108px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: max-content; max-width: 92vw;
  color: var(--accent);
  opacity: 0;
  text-shadow: 0 2px 18px rgba(6, 8, 7, 0.9);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 13vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
}
.hero-line { display: block; white-space: nowrap; }
.hero-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: 0 0 60px rgba(47, 157, 255, 0.25);
}
.hero-line .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em) rotateX(50deg);
  will-change: transform, opacity;
}
.hero-sub {
  position: absolute;
  bottom: 9.5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: max-content; max-width: min(620px, 88vw);
  font-size: clamp(0.6rem, 1.1vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  opacity: 0;
  background: rgba(6, 8, 7, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0.7em 1.6em;
  white-space: normal;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-scrollcue {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--cream-faint);
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-scrollcue-line {
  display: block; width: 46px; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent));
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 50% { transform: scaleX(0.4); opacity: 0.4; } }

/* Desktop hero composition: subject parked right by the canvas, so every
   type element re-anchors to the clear left column. Declared after the
   base hero rules above — it overrides their centring. */
@media (min-width: 901px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding-left: clamp(2rem, 6vw, 6rem);
    padding-right: 44vw;
  }
  .hero-title { font-size: clamp(3rem, 8.6vw, 8rem); }
  .hero-eyebrow {
    left: clamp(2rem, 6vw, 6rem);
    transform: none;
    top: max(13vh, 104px);
  }
  .hero-sub {
    left: clamp(2rem, 6vw, 6rem);
    transform: none;
    text-align: left;
    max-width: min(420px, 40vw);
  }
  .hero-scrollcue { left: clamp(2rem, 6vw, 6rem); transform: none; }
}

/* ---------- Section headers ---------- */
.section-eyebrow { color: var(--accent); margin-bottom: 0.9rem; }
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.02em;
}
.section-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(47, 157, 255, 0.05), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1400px; margin: 0 auto;
}
.stat {
  padding: 1.4rem 1.6rem;
  border-left: 1px solid var(--line);
  transition: background 0.4s;
}
.stat:hover { background: rgba(47, 157, 255, 0.04); }
.stat-value {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1;
  color: var(--cream);
  display: flex; align-items: flex-start;
}
.stat-value sup {
  font-size: 0.4em; color: var(--accent);
  margin-top: 0.28em; margin-left: 0.06em;
}
.stat-value--text { gap: 0.12em; align-items: center; }
.stat-plus { color: var(--accent); font-size: 0.55em; }
.stat-label {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--cream-dim);
  letter-spacing: 0.04em;
  max-width: 20ch;
}

/* ---------- Ventures (co-founder logos) ---------- */
.ventures {
  position: relative;
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.2rem, 5vw, 4rem);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ventures-inner { max-width: 1200px; margin: 0 auto; }
.ventures-head { margin-bottom: clamp(2.2rem, 5vh, 3.5rem); }
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.venture {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.venture:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 157, 255, 0.35);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5), 0 0 44px rgba(47, 157, 255, 0.07);
}
.venture-plate {
  /* Pure white, not cream: the BMA and Taxgem marks carry baked-in white
     backgrounds, so any tint would frame them in visible rectangles. */
  background: #fff;
  border-radius: 14px;
  height: clamp(96px, 12vw, 128px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.6rem;
  overflow: hidden;
}
.venture-plate img {
  max-height: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.venture:hover .venture-plate img { transform: scale(1.07); }
.venture h3 {
  margin-top: 1.2rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.venture p { margin-top: 0.25rem; color: var(--cream-dim); font-size: 0.82rem; }
.venture .mono { color: var(--accent); display: block; margin-top: 0.7rem; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.2rem, 3vh, 2rem) 0;
  background: var(--ink-2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-right: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-faint);
  white-space: nowrap;
}
.marquee span em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
  padding: 0 0.15em;
  font-size: 0.5em;
  vertical-align: 0.55em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars { height: 420vh; position: relative; }
.pillars-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
}
.pillars-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(6, 8, 7, 0.92) 0%, rgba(6, 8, 7, 0.55) 45%, rgba(6, 8, 7, 0.25) 100%),
    linear-gradient(to bottom, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%);
}
.pillars-head {
  position: absolute;
  top: clamp(5rem, 12vh, 8rem);
  left: clamp(1.2rem, 6vw, 5rem);
  z-index: 3;
}
.pillars-track {
  position: absolute;
  left: clamp(1.2rem, 6vw, 5rem);
  bottom: clamp(4rem, 12vh, 8rem);
  z-index: 3;
  width: min(560px, calc(100vw - 2.4rem));
  display: grid;
}
.pillar {
  grid-area: 1 / 1;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.pillar-num {
  color: var(--accent);
  margin-bottom: 1rem;
}
.pillar h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 0.9rem;
}
.pillar p { color: var(--cream-dim); font-size: 0.95rem; max-width: 44ch; }
.pillar-tags { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pillar-tags span, .work-tags span {
  border: 1px solid var(--glass-border);
  color: var(--cream-faint);
  border-radius: 100px;
  padding: 0.32rem 0.75rem;
  font-size: 0.62rem;
}
.pillars-progress {
  position: absolute;
  right: clamp(1.2rem, 5vw, 4rem);
  top: 50%; transform: translateY(-50%);
  width: 2px; height: 120px;
  background: var(--line);
  border-radius: 2px;
  z-index: 3;
}
.pillars-progress span {
  display: block; width: 100%; height: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  border-radius: 2px;
}

/* ---------- Work ---------- */
.work { position: relative; }
.work-bg {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  margin-bottom: -100vh;
}
.work-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(6, 8, 7, 0.55) 25%, rgba(6, 8, 7, 0.55) 75%, var(--ink) 100%);
}
.work-inner {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(6rem, 16vh, 11rem) clamp(1.2rem, 5vw, 3rem);
}
.work-head { margin-bottom: clamp(3rem, 8vh, 5.5rem); }
.work-cards {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.work-card {
  position: relative;
  padding: clamp(1.8rem, 4vw, 3rem);
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.4s;
  cursor: default;
  overflow: hidden;
}
.work-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 157, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.work-card:hover::before, .work-card:focus-visible::before { opacity: 1; }
.work-card:hover, .work-card:focus-visible {
  border-color: rgba(47, 157, 255, 0.35);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(47, 157, 255, 0.06);
}
.work-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.4rem;
}
.work-index { color: var(--accent); }
.work-arrow {
  font-size: 1.4rem; color: var(--cream-faint);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s;
}
.work-card:hover .work-arrow { transform: translateX(8px) rotate(-45deg); color: var(--accent); }
.work-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
}
.work-abbr { color: var(--accent); font-size: 0.5em; vertical-align: super; letter-spacing: 0.1em; }
.work-pitch {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--cream);
  max-width: 52ch;
}
.work-desc {
  margin-top: 0.7rem;
  color: var(--cream-dim);
  font-size: 0.92rem;
  max-width: 62ch;
}
.work-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Finale ---------- */
.finale {
  position: relative;
  padding: clamp(7rem, 20vh, 13rem) clamp(1.2rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(47, 157, 255, 0.07), transparent 65%),
    var(--ink);
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.finale-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.finale-bg img {
  position: absolute;
  right: -6%;
  bottom: -12%;
  height: 118%;
  width: auto;
  opacity: 0.14;
  /* No hue-rotate: this portrait's rim light is already the accent blue. */
  filter: saturate(0.9) brightness(0.95);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 80%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, transparent 80%);
  will-change: transform;
}
.finale-inner { position: relative; z-index: 2; }
.finale-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.finale-line { display: block; overflow: hidden; }
.finale-line > .fw {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.finale-line em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.finale-ctas {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; gap: 1.1rem;
  justify-content: center; flex-wrap: wrap;
}
.btn {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border-radius: 100px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, background 0.35s, color 0.35s;
}
.btn-solid {
  background: var(--accent);
  color: var(--ink);
}
.btn-solid:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 44px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid var(--glass-border);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 14px 44px rgba(47, 157, 255, 0.12);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 3.2rem clamp(1.2rem, 5vw, 3rem) 2.4rem;
  background: var(--ink-2);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-logo {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--cream);
}
.footer-logo span { color: var(--accent); }
.footer-brand p { color: var(--cream-faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  transition: color 0.3s;
}
.footer-links a::after {
  content: "↗"; margin-left: 0.4em;
  color: var(--accent);
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  display: inline-block;
  transform: translate(-4px, 4px);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::after { opacity: 1; transform: translate(0, 0); }
.footer-fine { color: var(--cream-faint); }

/* ---------- Focus / a11y ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .ventures-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 380vh; }
  .pillars { height: 360vh; }
  .pillars-track { bottom: clamp(2.5rem, 8vh, 5rem); }
  .pillars-progress { display: none; }
  .hero-line--accent { -webkit-text-stroke: 1.2px var(--accent); }
  .finale-line em { -webkit-text-stroke: 1.2px var(--accent); }
  .grain { animation: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-cta { padding: 0.55rem 0.9rem; font-size: 0.6rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .marquee-track { animation: none; }
  .hero { height: 100vh; }
  .pillars { height: auto; }
  .pillars-sticky { position: relative; height: auto; padding: 6rem 0; }
  .pillars-track { position: relative; left: auto; bottom: auto; margin: 3rem auto 0; display: grid; gap: 1.5rem; }
  .pillar { grid-area: auto; opacity: 1 !important; transform: none !important; }
  .hero-line .ch { opacity: 1 !important; transform: none !important; }
  .hero-sub, .hero-eyebrow { opacity: 1 !important; }
  .finale-line > .fw { transform: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.15s !important; }
}

