:root {
  --accent: #34d399;
  --accent2: #facc15;
  --bg: #070b12;
  --line: rgba(255, 255, 255, 0.09);
  --txt: #e8edf6;
  --dim: #93a1b5;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.85, 0.3, 1);
  /* Strong custom curves — the built-in CSS easings are too weak to read as intentional */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  /* Real spring curves via linear(). Springs settle instead of stopping, which is
     what makes a magnetic button or a popping badge feel physical rather than timed. */
  --spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  --spring-snap: linear(0, 0.218 2.1%, 0.862 6.5%, 1.114, 1.209 10.5%, 1.205 12.4%, 1.128 16.4%, 0.99 22.6%, 0.968, 0.96 27.1%, 0.973, 0.998 36.6%, 1.007 42.5%, 1);
  /* Durations — UI feedback stays under 300ms; scroll reveals are decorative and can breathe */
  --dur-press: 140ms;
  --dur-ui: 200ms;
  --dur-reveal: 720ms;
  --danger: #fb7185;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(52, 211, 153, 0.15), transparent 60%),
    radial-gradient(900px 500px at 5% 20%, rgba(251, 113, 133, 0.10), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
  background-color: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
::selection { background: var(--accent); color: #05080e; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Mouse-follow glow */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 22%), rgba(52, 211, 153, 0.09), transparent 70%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.progress-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 15px;
  color: var(--txt);
}
.logo:hover { color: var(--txt); }

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  color: #05080e;
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--dim);
  transition: color .22s ease, background .28s ease, transform .28s var(--ease);
}
.nav-link:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #05080e;
  font-weight: 600;
  transition: transform .3s var(--ease), background .28s ease, box-shadow .3s ease;
}
.nav-cta:hover {
  background: var(--accent2);
  color: #05080e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px var(--accent2);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s ease, background .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle.is-open .nav-toggle-bars { background: transparent; }
.nav-toggle.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px 90px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
}

.rise { animation: rise .8s var(--ease) var(--d, 0s) both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.03);
  animation-duration: .7s;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: ringPulse 2.2s ease-in-out infinite;
}

.hero-title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(100deg, var(--accent), var(--accent2), var(--accent));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

.hero-subhead {
  margin: 20px 0 0;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 34ch;
}

.hero-tagline {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--dim);
  max-width: 50ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: #05080e;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: 0 10px 30px -14px var(--accent);
  transition: transform 160ms var(--ease-out), background 200ms ease, box-shadow 200ms ease;
}
/* Press feedback fires on pointer-down, so the button confirms it heard you */
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--txt);
  font-weight: 600;
  font-size: 15.5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 160ms var(--ease-out), border-color 200ms ease, color 200ms ease;
}
.btn-ghost:active { transform: scale(0.97); }

/* Hover effects are gated: touch devices fire :hover on tap and get stuck in it */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--accent2);
    color: #05080e;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -12px var(--accent2);
  }
  .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
  }
}

.hero-microcopy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--dim);
  text-wrap: pretty;
}

/* Align the dot to the first line's optical centre, not the middle of a wrapped block */
.dot-sm { width: 6px; height: 6px; flex: none; margin-top: 8px; }

.hero-socials {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: color .25s ease, border-color .25s ease, transform .3s var(--ease), background .25s ease;
}
.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px) rotate(-4deg);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.portrait-glow {
  position: absolute;
  width: min(340px, 76vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 65%);
  filter: blur(28px);
}

.portrait-ring {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  border-radius: 999px;
  padding: 4px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent2), rgba(255, 255, 255, 0.06), var(--accent));
  animation: floaty 7s ease-in-out infinite;
}

.portrait {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: #0d1420;
  position: relative;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(52, 211, 153, 0.55);
  background: radial-gradient(240px 240px at 50% 30%, rgba(52, 211, 153, 0.10), transparent 70%);
}

.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait-fallback { display: grid; }

/* ---------- Sections ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

.section-last { padding-bottom: 100px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 34px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}
.section-head.is-in .section-rule { transform: scaleX(1); }

/* Scroll reveal.
   --i is the element's index within its grid, set by JS, so siblings cascade instead of
   arriving as one slab. Stagger stays short (55ms) — long stagger reads as a slow page. */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity var(--dur-reveal) var(--ease-expo) var(--reveal-delay, 0ms),
    transform var(--dur-reveal) var(--ease-expo) var(--reveal-delay, 0ms),
    filter var(--dur-reveal) var(--ease-expo) var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.section-head.reveal { transform: translateY(18px); }

/* Blur-to-focus is the expensive half of the reveal. Desktop only — the audience here is
   mobile-heavy on mid-range hardware, and a blurred repaint per card is what drops frames. */
@media (min-width: 900px) {
  .reveal { filter: blur(7px); }
  .reveal.is-in { filter: blur(0); }
}

/* ---------- Doors ---------- */
.doors {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.door-card {
  display: block;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.door-card:hover {
  color: var(--txt);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.9);
}
.door-a:hover { border-color: var(--accent); }
.door-b:hover { border-color: var(--accent2); }

.door-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* The ranking cue is worth a line of eyebrow on a wide card and not worth a ragged
   second line on a narrow one — the door order and the accent already say it. */
@media (max-width: 560px) {
  .eyebrow-note { display: none; }
}
.door-a .door-eyebrow, .door-a .door-link { color: var(--accent); }
.door-b .door-eyebrow, .door-b .door-link { color: var(--accent2); }

.door-card h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.9vw, 27px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.door-card p {
  margin: 0;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.65;
  text-wrap: pretty;
}

.door-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-door {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform 160ms var(--ease-out), background 200ms ease, box-shadow 200ms ease;
}
.btn-door:active { transform: scale(0.97); }

.door-a .btn-door {
  background: var(--accent);
  color: #05080e;
  box-shadow: 0 10px 26px -14px var(--accent);
}
.door-b .btn-door {
  background: var(--accent2);
  color: #05080e;
  box-shadow: 0 10px 26px -14px var(--accent2);
}

.door-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-door:hover { transform: translateY(-2px); }
  .door-a .btn-door:hover { background: var(--accent); color: #05080e; box-shadow: 0 16px 32px -14px var(--accent); }
  .door-b .btn-door:hover { background: var(--accent2); color: #05080e; box-shadow: 0 16px 32px -14px var(--accent2); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 44px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 20px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 62ch;
}

.about-copy p { margin: 0; text-wrap: pretty; }

.about-copy strong { color: var(--txt); font-weight: 600; }

.moat-card {
  margin: 0;
  padding: 34px 32px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(52, 211, 153, 0.10), rgba(251, 113, 133, 0.06) 70%, rgba(255, 255, 255, 0.02));
}

.moat-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.moat-quote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: pretty;
}

.moat-sub {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- Ventures ---------- */
.ventures-intro {
  margin: -14px 0 24px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 62ch;
  text-wrap: pretty;
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

/* The client-work card is the offer; the two brands beside it are evidence.
   A brighter border and a lit top edge rank them without changing the layout. */
.venture-lead {
  border-color: rgba(52, 211, 153, 0.34);
  background:
    radial-gradient(420px 140px at 50% 0%, rgba(52, 211, 153, 0.13), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.07);
  color: var(--dim);
}

.venture-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: var(--txt);
  transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.venture-card:hover {
  color: var(--txt);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.9);
}
.hover-green:hover { border-color: var(--accent); }
.hover-rose:hover { border-color: var(--accent2); }

.venture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.venture-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-green { background: rgba(52, 211, 153, 0.14); color: var(--accent); }
.badge-rose { background: rgba(251, 113, 133, 0.14); color: var(--accent2); }

.venture-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.venture-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 26px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.venture-role { font-size: 14.5px; margin-bottom: 14px; }
.role-green { color: var(--accent); }
.role-rose { color: var(--accent2); }

.venture-card p {
  margin: 0 0 22px;
  color: var(--dim);
  line-height: 1.65;
  font-size: 15px;
  text-wrap: pretty;
}

.venture-url {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}

.dayjob-bar {
  margin-top: 20px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dayjob-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.dayjob-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.dayjob-left strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dayjob-role { font-size: 15px; color: var(--dim); }
.dayjob-right { font-size: 14.5px; color: var(--dim); }

/* ---------- Beliefs ---------- */
.beliefs { display: grid; gap: 18px; }

.belief-card {
  display: grid;
  grid-template-columns: clamp(48px, 7vw, 92px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 38px) clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s ease, background .3s ease;
}
.belief-card.hover-green:hover { border-color: rgba(52, 211, 153, 0.4); background: rgba(255, 255, 255, 0.04); }
.belief-card.hover-rose:hover { border-color: rgba(251, 113, 133, 0.4); background: rgba(255, 255, 255, 0.04); }

.belief-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
}
.stroke-green { -webkit-text-stroke: 1.5px var(--accent); }
.stroke-rose { -webkit-text-stroke: 1.5px var(--accent2); }

.belief-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.belief-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 68ch;
  text-wrap: pretty;
}

/* ---------- Proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.proof-card {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .3s ease;
}
.proof-card.is-in { transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .3s ease; }
.proof-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.check {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
}

.proof-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  margin-bottom: 7px;
}

.proof-body {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
  text-wrap: pretty;
}

.numbers-note {
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.numbers-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.numbers-note p {
  margin: 0;
  font-size: 15.5px;
  color: var(--dim);
  line-height: 1.6;
  max-width: 78ch;
  text-wrap: pretty;
}

/* ---------- Mid-page CTA band ---------- */
.cta-band {
  margin-top: 18px;
  padding: clamp(26px, 3.4vw, 38px) clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(52, 211, 153, 0.12), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-band-copy { flex: 1 1 320px; }

.cta-band h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.8vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.cta-band p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 58ch;
  text-wrap: pretty;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(10, 16, 25, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.9);
  /* Hidden state: nothing in the real world appears from nothing — start at 0.96, not 0 */
  opacity: 0;
  transform: translateY(120%) scale(0.96);
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.sticky-cta-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-cta-copy strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.sticky-cta-copy span {
  font-size: 12.5px;
  color: var(--dim);
}

.sticky-cta .btn-primary {
  flex: none;
  padding: 12px 20px;
  font-size: 14.5px;
}

@media (max-width: 780px) {
  .sticky-cta { display: flex; }
  /* Keep the footer clear of the floating bar */
  .site-footer { padding-bottom: 76px; }
}

/* ---------- YouTube ---------- */
.yt-card {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(251, 113, 133, 0.08), rgba(255, 255, 255, 0.02));
  color: var(--txt);
  transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s ease, box-shadow .4s ease;
}
.yt-card:hover {
  color: var(--txt);
  border-color: var(--accent2);
  transform: translateY(-5px);
  box-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.9);
}

.yt-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.yt-icon {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(251, 113, 133, 0.14);
  color: var(--accent2);
  font-size: 22px;
}

.yt-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.8vw, 26px);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.yt-card p {
  margin: 0;
  color: var(--dim);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 60ch;
  text-wrap: pretty;
}

.yt-link {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent2);
  white-space: nowrap;
}

/* ---------- Builds ---------- */
.builds-card {
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(52, 211, 153, 0.07), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.builds-copy { flex: 1 1 300px; }

.builds-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 30px);
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.builds-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 66ch;
  text-wrap: pretty;
}

.builds-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 12px 22px;
  border-radius: 11px;
  border: 1px solid var(--line);
  color: var(--txt);
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .3s var(--ease), border-color .28s ease, color .25s ease;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.builds-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.6vw, 90px);
  line-height: 0.85;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(52, 211, 153, 0.5);
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-card {
  padding: clamp(30px, 4.4vw, 54px) clamp(22px, 3.6vw, 48px);
  border-radius: 26px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(52, 211, 153, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.contact-lead {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--txt);
  font-size: 18.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.trust-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.trust-list li {
  display: grid;
  grid-template-columns: 15px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--dim);
  text-wrap: pretty;
}

.contact-alt {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 15px;
  color: var(--dim);
}

/* ---------- Lead form ---------- */
.lead-form {
  display: grid;
  gap: 20px;
  align-content: start;
}

.field { display: grid; gap: 9px; }

.field-label {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--txt);
  padding: 0;
}

.field-optional {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--dim);
}

.input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 7, 12, 0.5);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 16px; /* < 16px makes iOS Safari zoom the page on focus */
  line-height: 1.5;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.input::placeholder { color: rgba(147, 161, 181, 0.6); }

.input:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: rgba(4, 7, 12, 0.8);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

textarea.input { resize: vertical; min-height: 108px; }

.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus-visible { box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.2); }

.field-error {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--danger);
}

/* Intent picker — segmented pills, so the first question costs one tap */
.intent-field {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.intent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intent-option { position: relative; }

.intent-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.intent-option span {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--dim);
  font-size: 14.5px;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.intent-option input:active + span { transform: scale(0.97); }

.intent-option input:checked + span {
  border-color: var(--accent);
  background: rgba(52, 211, 153, 0.14);
  color: var(--accent);
}

.intent-option input:focus-visible + span {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
}

.btn-submit {
  margin-top: 4px;
  border: 0;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-body);
}

.form-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dim);
  text-wrap: pretty;
}

.form-status {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--accent);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.form-status.is-visible { opacity: 1; transform: none; }
.form-status.is-error { color: var(--danger); }

/* In-flight: the button stops inviting a second press */
.btn-submit:disabled { cursor: wait; opacity: 0.7; }

/* Honeypot — off-screen for bots to find, gone for everyone else */
.botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .intent-option span:hover { border-color: rgba(52, 211, 153, 0.5); color: var(--txt); }
  .intent-option input:checked + span:hover { color: var(--accent); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); position: relative; z-index: 1; }

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 14px; color: var(--dim); }

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--dim); transition: color .25s ease; }
.footer-links a:hover { color: var(--accent); }

/* ==================================================================
   MOTION SYSTEM
   Everything below is progressive: JS adds the hook classes only on
   pointer-fine devices with motion allowed, so touch and reduced-motion
   users fall through to the static styles above.
   ================================================================== */

/* Registered so it can be transitioned — plain custom properties can't animate */
@property --spot-a {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

/* ---------- Hero headline: per-word mask reveal ---------- */
/* Each word rides up from behind its own overflow mask. The padding/margin pair
   gives descenders room so the mask never clips a 'y' or 'g'. */
.split .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.08em 0.04em 0.16em;
  margin: -0.08em -0.04em -0.16em;
}

/* An animation, not a transition-plus-trigger-class. The headline is the one thing on
   the page that must never depend on a JS frame callback to become visible — a
   throttled rAF in a backgrounded tab would leave it blank. This plays on its own the
   moment .split lands, and browsers resume it when the tab comes forward. */
.split .word-in {
  display: inline-block;
  animation: wordRise 900ms var(--ease-expo) var(--wd, 0ms) both;
}

@keyframes wordRise {
  from { transform: translateY(115%) rotate(4deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- Magnetic pressables ---------- */
/* The button leans toward the cursor and springs back on exit. Composed entirely
   from variables so hover-lift, press-scale, and magnet offset never overwrite
   each other the way three competing `transform` rules would. */
.magnetic.magnetic {
  --mag-x: 0px;
  --mag-y: 0px;
  --mag-lift: 0px;
  --mag-scale: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mag-x), calc(var(--mag-y) + var(--mag-lift)), 0) scale(var(--mag-scale));
  transition: transform 480ms var(--spring), background var(--dur-ui) ease, box-shadow var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease;
}

/* While the pointer is inside, tracking must be near-instant — a spring here would
   feel like drag. The spring is for the release. */
.magnetic.is-pulling { transition-duration: 110ms; transition-timing-function: linear; }
.magnetic.magnetic:active { --mag-scale: 0.97; transition-duration: var(--dur-press); }

/* Cursor-tracked sheen, behind the label */
.magnetic::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(140px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.32), transparent 62%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .magnetic.magnetic:hover { --mag-lift: -2px; }
  .magnetic:hover::after { opacity: 1; }
}

/* A slow sheen sweeps the primary CTA three times when it first arrives, then stops.
   Enough to pull the eye to the one action that matters; not enough to nag. */
.btn-primary.sheen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: sheenSweep 2.4s var(--ease-in-out) 3;
  animation-delay: 1.1s;
  pointer-events: none;
}

@keyframes sheenSweep {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

/* ---------- Card spotlight ---------- */
/* z-index:-1 inside an isolated card paints above the card's own background but
   below its text — a wash that follows the cursor without dimming a single word. */
.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 50%), rgba(52, 211, 153, calc(var(--spot-a) * 0.16)), transparent 68%);
  transition: --spot-a 320ms ease;
}
.spotlight.hover-rose::before,
.spotlight.door-b::before {
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 50%), rgba(251, 204, 21, calc(var(--spot-a) * 0.16)), transparent 68%);
}

@media (hover: hover) and (pointer: fine) {
  .spotlight:hover::before { --spot-a: 1; }
}

/* ---------- Card tilt ---------- */
/* Kept to 5deg. Past that it stops reading as depth and starts reading as a gimmick. */
.tilt.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--tl, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 460ms var(--spring), border-color .3s ease, box-shadow .4s ease, opacity var(--dur-reveal) var(--ease-expo);
}
.tilt.is-tilting { transition-duration: 90ms; transition-timing-function: linear; }

@media (hover: hover) and (pointer: fine) {
  .tilt.tilt:hover { --tl: -6px; }
}

/* ---------- Link underline sweep ---------- */
/* In from the left, out to the right — the origin flip is what stops it feeling
   like a bar that just grows and shrinks in place. */
.sweep { position: relative; }
.sweep::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 340ms var(--ease-expo);
}

@media (hover: hover) and (pointer: fine) {
  .sweep:hover::after,
  a:hover > .sweep::after,
  a:hover .sweep::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
  }
}

/* ---------- Nav: sliding active indicator ---------- */
.nav { position: relative; isolation: isolate; }

.nav-indicator {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  height: 34px;
  width: var(--ni-w, 0px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transform: translate3d(var(--ni-x, 0px), -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 460ms var(--ease-expo), width 460ms var(--ease-expo), opacity 240ms ease;
}
.nav.has-active .nav-indicator { opacity: 1; }
.nav-link.is-active { color: var(--txt); }

/* ---------- Scroll-driven accents ---------- */
/* Native scroll timelines: no JS, no scroll listener, and the compositor drives them. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-num {
      animation: numDrift linear both;
      animation-timeline: view();
      animation-range: entry 5% exit 95%;
    }
    @keyframes numDrift {
      from { transform: translateY(16px); opacity: 0.3; }
      42%, 58% { transform: none; opacity: 1; }
      to { transform: translateY(-16px); opacity: 0.3; }
    }

    .builds-num {
      animation: numScale linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes numScale {
      from { transform: scale(0.86) translateY(24px); opacity: 0; }
      to { transform: none; opacity: 1; }
    }
  }
}

@supports (animation-timeline: scroll()) {
  .progress-bar {
    animation: barGrow linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ---------- Hero portrait ---------- */
/* Wipes up into frame rather than fading — a fade would read as a slow image load. */
@keyframes portraitIn {
  from { clip-path: inset(0 0 100% 0 round 999px); }
  to { clip-path: inset(0 0 0 0 round 999px); }
}
.portrait { animation: portraitIn 1s var(--ease-expo) .3s both; }

/* Two parallax depths off one pointer position: the glow travels further than the
   photo, which is what sells it as a lit object rather than a flat disc. */
.portrait img {
  transform: scale(1.06) translate3d(calc(var(--px, 0) * -9px), calc(var(--py, 0) * -9px), 0);
  transition: transform 700ms var(--ease-expo);
}
.portrait-glow {
  transform: translate3d(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 22px), 0);
  transition: transform 900ms var(--ease-expo);
}

/* ---------- Counting numbers ---------- */
.count { font-variant-numeric: tabular-nums; }

/* ---------- Form feedback ---------- */
/* Errors settle instead of buzzing — three decaying swings, then still. */
@keyframes fieldShake {
  0% { transform: translateX(0); }
  18% { transform: translateX(-6px); }
  38% { transform: translateX(5px); }
  58% { transform: translateX(-3px); }
  78% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}
.field.has-error .input { animation: fieldShake 420ms var(--ease-in-out); }

.field-error {
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.field.has-error .field-error { transform: none; opacity: 1; }

/* Submit confirmation: the button acknowledges the click before the mail app opens */
.btn-submit.is-sent { --mag-scale: 1; background: var(--accent); }

/* ---------- Sticky CTA ---------- */
/* Springs up with a little overshoot on entry; leaves fast and flat, because an
   exit the user didn't ask to watch should get out of the way. */
.sticky-cta { transition: opacity 260ms var(--ease-out), transform 240ms var(--ease-out); }
.sticky-cta.is-visible { transition: opacity 300ms var(--ease-out), transform 620ms var(--spring); }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .nav-indicator { display: none; }
  .header-inner { padding: 14px 20px; }
  .logo { font-size: 13px; gap: 8px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .3s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-link { padding: 13px 16px; }
  .nav-cta { margin-left: 0; text-align: center; }

  .hero-actions { display: grid; gap: 10px; }
  .cta-band .btn-primary { width: 100%; }
  .door-actions { gap: 14px; }
  .intent-options { display: grid; }
}

/* Touch devices latch :hover after a tap — keep the colour shift, drop the lift */
@media (hover: none) {
  .nav-link:hover, .nav-cta:hover, .social-link:hover,
  .door-card:hover, .venture-card:hover, .proof-card:hover,
  .yt-card:hover, .btn-outline:hover {
    transform: none;
  }
}

@media (min-width: 600px) and (max-width: 875px) {
  .ventures-grid > :last-child { grid-column: 1 / -1; }
}

@media (min-width: 674px) and (max-width: 991px) {
  .proof-grid > :last-child { grid-column: 1 / -1; }
}

/* ---------- Motion preferences ---------- */
/* Reduced motion means gentler and non-vestibular, not zero feedback.
   Movement goes away; opacity and colour transitions stay, because they aid comprehension. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity, color, background-color, border-color, box-shadow !important;
    transition-duration: 180ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .sticky-cta { transform: none; }
  .sticky-cta:not(.is-visible) { display: none; }
  .bg-glow { display: none; }

  /* Motion-system opt-outs. Position and depth go; the opacity and colour cues that
     tell you what is hoverable and what just changed all stay. */
  .split .word-in { animation: none; transform: none; opacity: 1; }
  .split .word { overflow: visible; }
  .magnetic.magnetic,
  .tilt.tilt { transform: none; }
  .btn-primary.sheen::before { display: none; }
  .portrait { animation: none; clip-path: none; }
  .portrait img,
  .portrait-glow { transform: none; }
  .portrait img { transform: scale(1.06); }
  .nav-indicator { transition-property: opacity; }
  .sweep::after { transform: scaleX(1); opacity: 0; transition-property: opacity; }
  .sweep:hover::after { opacity: 1; }
  .field.has-error .input { animation: none; }
  .field-error { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sticky-cta { background: #0a1019; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
