/* ═══════════════════════════════════════════════════════════════════════
   Hizlee — main stylesheet.
   No build step. No libraries. Only transform + opacity ever animate.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, OFL, Latin subset) ─────────────────────────── */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --ink:      #05070e;
  --ink-1:    #0a0f1d;
  --ink-2:    #0d1322;
  --line:     rgba(142, 168, 232, .14);
  --line-2:   rgba(142, 168, 232, .26);
  --fg:       #eef1fa;
  --fg-2:     #b6c0d8;
  --fg-3:     #8792ad;
  --volt-1:   #e6fbff;
  --volt-2:   #3fd8ff;
  --volt-3:   #7c5cff;
  --volt-4:   #a855f7;
  --volt:     linear-gradient(96deg, #e6fbff 0%, #3fd8ff 38%, #7c5cff 100%);

  --f-dis:  "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-txt:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gut:  clamp(20px, 4.4vw, 72px);
  --wrap: 1320px;
  --nav:  72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 18px);
  scrollbar-gutter: stable;
  background: var(--ink);
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg-2);
  font-family: var(--f-txt);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.62;
  font-feature-settings: "cv05" 1, "ss03" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--f-dis);
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { color: var(--fg); font-weight: 600; }
em { font-style: normal; }
::selection { background: var(--volt-2); color: #04121a; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: .7rem 1.1rem; border-radius: 8px;
  background: var(--volt-2); color: #04121a; font-weight: 600;
  transform: translate3d(0, -160%, 0);
}
.skip:focus { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ── Utilities ──────────────────────────────────────────────────────── */
.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.mono {
  font-family: var(--f-mono);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-mono);
  font-size: .6875rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: clamp(18px, 2vw, 28px);
}
.eyebrow em { color: var(--volt-2); font-style: normal; letter-spacing: .12em; }
.eyebrow em::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 28px; height: 1px; margin-left: .7rem; background: var(--line-2);
}
.eyebrow__bolt { width: 11px; height: 11px; color: var(--volt-2); flex: none; }

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

.lede {
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1rem + .38vw, 1.25rem);
  line-height: 1.55;
  max-width: 54ch;
  text-wrap: pretty;
}

.link {
  color: var(--volt-2);
  box-shadow: inset 0 -1px 0 0 rgba(63, 216, 255, .38);
}
.link:hover { box-shadow: inset 0 -1px 0 0 var(--volt-2); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li {
  font-family: var(--f-mono);
  font-size: .625rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-3);
  padding: .34rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --btn-y: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border: 1px solid transparent; border-radius: 10px;
  font-family: var(--f-dis);
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; cursor: pointer;
  transform: translate3d(0, var(--btn-y), 0);
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--solid { background: var(--volt-1); color: #05070e; }
.btn--solid:hover { --btn-y: -2px; background: #fff; }
.btn--line { border-color: var(--line-2); color: var(--fg); background: transparent; }
.btn--line:hover { --btn-y: -2px; border-color: var(--volt-2); color: var(--volt-2); }
.btn--sm { padding: .65rem 1.1rem; font-size: .875rem; border-radius: 8px; }
.btn--block { width: 100%; }

/* ── Scroll progress ────────────────────────────────────────────────── */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: 2px; pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 100%;
  background: var(--volt);
  transform: scale3d(var(--p, 0), 1, 1);
  transform-origin: 0 50%;
}

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80;
  height: var(--nav);
  border-bottom: 1px solid transparent;
  transition: background-color .3s linear, border-color .3s linear;
}
.nav.is-stuck { background: var(--ink); border-bottom-color: var(--line); }

.nav__in {
  height: 100%;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
}

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark { width: 22px; height: 22px; flex: none; }
.brand__word {
  font-family: var(--f-dis);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -.045em;
  color: var(--fg);
}

.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__links a {
  position: relative;
  font-size: .9rem; color: var(--fg-2);
  padding-block: 4px;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--volt-2);
  transform: scale3d(0, 1, 1); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scale3d(1, 1, 1); }

/* ── Burger + mobile menu ───────────────────────────────────────────── */
.burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--fg);
}
.burger__box { position: relative; display: block; width: 22px; height: 12px; }
.burger__box i {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease);
}
.burger__box i:first-child { top: 0; }
.burger__box i:last-child  { bottom: 0; }
.burger[aria-expanded="true"] .burger__box i:first-child { transform: translate3d(0, 5px, 0) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box i:last-child  { transform: translate3d(0, -5px, 0) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79;
  background: var(--ink);
  padding: calc(var(--nav) + 24px) var(--gut) max(32px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .4s;
}
.menu.is-open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .3s ease, transform .45s var(--ease), visibility 0s;
}
.menu__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: clamp(14px, 3vw, 22px) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-dis); font-weight: 500; letter-spacing: -.03em;
  font-size: clamp(1.6rem, 7vw, 2.1rem); color: var(--fg);
}
.menu__nav a em {
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em;
  color: var(--volt-2);
}
.menu__foot { display: grid; gap: 18px; justify-items: center; }
.menu__mail { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; color: var(--fg-3); }

/* ═══ HERO ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav) + clamp(28px, 6vh, 72px));
  padding-bottom: 96px;
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  flex: 1 1 auto;
}
.hero__copy { max-width: 46rem; }

.hero__title {
  font-size: clamp(3rem, 1.4rem + 8.6vw, 8.25rem);
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: 500;
  margin: 0 0 clamp(22px, 3vw, 34px);
}
.hero__title .line { display: block; }

.hero__sub {
  color: var(--fg-2);
  font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem);
  line-height: 1.55;
  max-width: 40ch;
  text-wrap: pretty;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.2vw, 40px); }

.hero__claims {
  display: flex; flex-wrap: wrap;
  gap: 0 clamp(20px, 3vw, 44px);
  margin-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero__claims li {
  font-size: .875rem; line-height: 1.35; color: var(--fg-2);
  padding-block: 4px;
}
.hero__claims li span {
  display: block; margin-bottom: 4px;
  font-family: var(--f-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--volt-2);
}

/* Field art ---------------------------------------------------------- */
.hero__art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.field { width: 100%; height: auto; overflow: visible; }
.field g { fill: none; stroke-linecap: round; }
.field__rings circle { stroke: rgba(142, 168, 232, .20); stroke-width: 1; }
.field__rings circle:nth-child(1) { stroke: rgba(63, 216, 255, .34); }
.field__rings circle:nth-child(2) { stroke: rgba(63, 216, 255, .21); }
.field__rings circle:nth-child(6) { stroke: rgba(142, 168, 232, .13); }
.field__ticks path { stroke: rgba(142, 168, 232, .38); stroke-width: 1.4; }
.field__grid path  { stroke: rgba(142, 168, 232, .09); stroke-width: 1; }
.field__trace path { stroke: var(--volt-2); stroke-width: 1.2; opacity: .55; }
.field__trace .t2, .field__trace .t4 { stroke: var(--volt-3); opacity: .5; }
.field__nodes circle { fill: var(--volt-2); stroke: none; }
.field__nodes circle:nth-child(odd) { fill: var(--volt-3); }

/* draw-on: runs once, then the SVG is permanently static */
.field__trace .t { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .field__trace .t { animation: draw 1.1s var(--ease) both; }
.js .field__trace .t1 { animation-delay: .35s; }
.js .field__trace .t2 { animation-delay: .5s; }
.js .field__trace .t3 { animation-delay: .62s; }
.js .field__trace .t4 { animation-delay: .74s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.js .field__rings circle,
.js .field__ticks path,
.js .field__grid path,
.js .field__nodes circle { animation: fade .9s ease both; }
.js .field__rings circle:nth-child(1) { animation-delay: .20s; }
.js .field__rings circle:nth-child(2) { animation-delay: .27s; }
.js .field__rings circle:nth-child(3) { animation-delay: .34s; }
.js .field__rings circle:nth-child(4) { animation-delay: .41s; }
.js .field__rings circle:nth-child(5) { animation-delay: .48s; }
.js .field__rings circle:nth-child(6) { animation-delay: .55s; }
.js .field__ticks path { animation-delay: .6s; }
.js .field__grid path  { animation-delay: .3s; }
.js .field__nodes circle { animation-delay: 1.1s; }
@keyframes fade { from { opacity: 0; } }

.field__bolt { overflow: visible; }
.js .field__bolt { animation: strike .85s var(--ease) both .12s; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes strike {
  from { opacity: 0; transform: translate3d(0, -22px, 0) scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* Hero footer strip --------------------------------------------------- */
.hero__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 18px;
  margin-top: clamp(32px, 5vh, 64px);
  border-top: 1px solid var(--line);
}
.hero__avail, .hero__foot-cue { display: flex; align-items: center; gap: .6rem; }
.node {
  width: 7px; height: 7px; flex: none;
  background: var(--volt-2);
  transform: rotate(45deg);
}
.cue {
  display: block; width: 1px; height: 22px;
  background: linear-gradient(to bottom, var(--volt-2), transparent);
}

/* ═══ Sections ═══════════════════════════════════════════════════════ */
.sec {
  padding-block: clamp(72px, 10vw, 148px);
  border-bottom: 1px solid var(--line);
}
.sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: end;
  column-gap: clamp(28px, 4vw, 80px);
  margin-bottom: clamp(40px, 5.5vw, 76px);
}
.sec__head .eyebrow { grid-column: 1 / -1; }
.sec__head h2 {
  grid-column: 1;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.2rem);
  line-height: .98;
  max-width: 16ch;
  margin-bottom: 0;
}
.sec__head .lede { grid-column: 2; padding-bottom: .35em; }
.sec--process { background: var(--ink-1); }

/* ── Rows: what we build ────────────────────────────────────────────── */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, .82fr) minmax(0, 1.18fr) 5.5rem;
  gap: 0 clamp(18px, 2.6vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 3.2vw, 46px);
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--volt-2);
  transform: scale3d(0, 1, 1); transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.row:hover::before { transform: scale3d(1, 1, 1); }
.row__n { padding-top: .45rem; transition: color .3s; }
.row:hover .row__n { color: var(--volt-2); }
.row__t {
  font-size: clamp(1.4rem, 1.05rem + 1.1vw, 2.1rem);
  line-height: 1.08;
  transition: transform .4s var(--ease);
}
.row:hover .row__t { transform: translate3d(8px, 0, 0); }
.row__b p { color: var(--fg-2); max-width: 46ch; text-wrap: pretty; }
.row__g {
  width: 100%; height: auto; align-self: center; justify-self: end;
  fill: none; stroke: rgba(142, 168, 232, .34); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .35s;
}
.row:hover .row__g { stroke: var(--volt-2); }

/* ── Steps: how we work ─────────────────────────────────────────────── */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px;
}
.steps::before { background: var(--line); }
.steps::after {
  background: linear-gradient(90deg, var(--volt-2), var(--volt-3));
  transform: scale3d(0, 1, 1); transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) .1s;
}
.steps.in::after { transform: scale3d(1, 1, 1); }

.step { position: relative; padding-top: 30px; }
.step__dot {
  position: absolute; top: 0; left: 0;
  width: 9px; height: 9px;
  background: var(--volt-2);
  transform: rotate(45deg);
}
.step__n { margin-bottom: 14px; }
.step h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); margin-bottom: 10px; }
.step p { color: var(--fg-2); font-size: .9875rem; text-wrap: pretty; }

/* ── Pillars: why ───────────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 300px;
  background: var(--ink);
  padding: clamp(26px, 2.8vw, 44px);
  overflow: hidden;
  transition: background-color .35s;
}
.pillar:hover { background: var(--ink-2); }
.pillar__n {
  position: absolute; top: 10px; right: 16px;
  font-size: clamp(3.2rem, 3.6vw, 4.4rem); line-height: 1; font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(142, 168, 232, .11);
}
.pillar h3 {
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem);
  margin-bottom: 14px;
  margin-top: auto;
  padding-top: clamp(30px, 4vw, 62px);
}
.pillar p { color: var(--fg-2); font-size: .9875rem; text-wrap: pretty; }

/* ── Toolbox ────────────────────────────────────────────────────────── */
.sec--stack { background: var(--ink-1); }
.stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.stack__col { border-top: 1px solid var(--line-2); padding-top: 18px; }
.stack__col h3 { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--volt-2); margin-bottom: 16px; }
.stack__col li {
  font-family: var(--f-dis);
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  font-weight: 500; letter-spacing: -.02em;
  color: var(--fg);
  padding-block: 7px;
  transition: color .25s;
}
.stack__col li:hover { color: var(--volt-2); }

/* ── Contact ────────────────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.contact__intro h2 {
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.35rem);
  line-height: 1;
  margin-bottom: clamp(16px, 2vw, 22px);
}
.contact__meta { margin: clamp(28px, 3.4vw, 44px) 0 0; display: grid; gap: 0; }
.contact__meta > div {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.contact__meta dt { padding-top: 3px; }
.contact__meta dd { margin: 0; color: var(--fg-2); font-size: .9375rem; }

.formcard {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 2.8vw, 36px);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--f-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
}
.field input, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--f-txt); font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #7d87a4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--volt-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--volt-2); outline-offset: 1px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7b7b; }
.field__err { min-height: 0; color: #ffa2a2; font-size: .8125rem; }
.field.is-invalid .field__err { margin-top: 1px; }

.turnstile { min-height: 65px; }
.turnstile:empty {
  display: flex; align-items: center;
  width: 300px; max-width: 100%; height: 65px;
  padding-inline: 14px;
  border: 1px dashed var(--line-2); border-radius: 8px;
}
.turnstile:empty::before {
  content: "Spam check \2014 loads as you type";
  font-family: var(--f-mono); font-size: .625rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}

.submit { position: relative; margin-top: 2px; }
.submit__spinner { display: none; width: 16px; height: 16px; }
.form.is-loading .submit { pointer-events: none; opacity: .75; }
.form.is-loading .submit__spinner {
  display: block;
  border: 2px solid rgba(5, 7, 14, .25);
  border-top-color: #05070e;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__status { font-size: .875rem; color: var(--fg-3); }
.form__status:empty { display: none; }
.form__status.is-error { color: #ffb3b3; }
.form__status a { color: var(--volt-2); box-shadow: inset 0 -1px 0 0 rgba(63, 216, 255, .4); }

.success { display: grid; justify-items: start; gap: 12px; }
.success__mark {
  width: 44px; height: 44px;
  fill: none; stroke: var(--volt-2); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.success h3 { font-size: 1.5rem; }
.success p { color: var(--fg-2); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(140px, 16vw, 240px);
  overflow: clip;
}
.footer__mail {
  display: inline-flex; align-items: flex-start; gap: .4em;
  font-family: var(--f-dis);
  font-size: clamp(1.75rem, .9rem + 4.4vw, 4.5rem);
  font-weight: 500; letter-spacing: -.045em; line-height: 1;
  color: var(--fg);
  word-break: break-word;
}
.footer__mail svg {
  width: .32em; height: .32em; margin-top: .12em; flex: none;
  fill: none; stroke: var(--volt-2); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.footer__mail:hover svg { transform: translate3d(3px, -3px, 0); }

.footer__row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px clamp(16px, 2vw, 30px); }
.footer__nav a { font-size: .875rem; color: var(--fg-3); transition: color .25s; }
.footer__nav a:hover { color: var(--fg); }
.footer__legal { margin-top: 22px; }

.footer > .wrap { position: relative; z-index: 1; }
.footer__ghost {
  position: absolute; left: 50%; bottom: -.08em; z-index: 0;
  transform: translate3d(-50%, 0, 0);
  margin: 0;
  font-family: var(--f-dis);
  font-size: clamp(5.5rem, 21vw, 19rem);
  font-weight: 600; letter-spacing: -.06em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142, 168, 232, .12);
  white-space: nowrap;
  pointer-events: none;
}

/* ── Static grain (never animated) ──────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Reveals (transform + opacity only, one shot) ───────────────────── */
.js .r { opacity: 0; transform: translate3d(0, 20px, 0); }
.js .r.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.row.r.in, .step.r.in, .pillar.r.in, .stack__col.r.in { transition-delay: var(--rd, 0ms); }
.row:nth-child(2)  { --rd: 60ms; }
.row:nth-child(3)  { --rd: 120ms; }
.row:nth-child(4)  { --rd: 180ms; }
.row:nth-child(5)  { --rd: 240ms; }
.step:nth-child(2) { --rd: 90ms; }
.step:nth-child(3) { --rd: 180ms; }
.step:nth-child(4) { --rd: 270ms; }
.pillar:nth-child(2) { --rd: 80ms; }
.pillar:nth-child(3) { --rd: 160ms; }
.pillar:nth-child(4) { --rd: 240ms; }
.stack__col:nth-child(2) { --rd: 80ms; }
.stack__col:nth-child(3) { --rd: 160ms; }
.stack__col:nth-child(4) { --rd: 240ms; }
.sec__head .r:nth-child(2) { --rd: 70ms; }
.sec__head .r:nth-child(3) { --rd: 140ms; }

.js .intro { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}

/* ═══ Responsive ═════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .row { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.1fr); }
  .row__g { display: none; }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 48px); }
  .hero__art { order: -1; max-width: 300px; justify-self: start; margin: -18px 0 -10px; }
  .hero__copy { max-width: none; }
  .hero { min-height: 0; padding-bottom: 56px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sec__head { grid-template-columns: minmax(0, 1fr); row-gap: clamp(16px, 2.4vw, 24px); }
  .sec__head h2 { max-width: 18ch; }
  .sec__head .lede { grid-column: 1; padding-bottom: 0; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 26px; }
  .steps::before, .steps::after {
    top: 6px; bottom: 6px; left: 4px; right: auto; width: 1px; height: auto;
  }
  .steps::after { transform: scale3d(1, 0, 1); transform-origin: 50% 0;
    background: linear-gradient(180deg, var(--volt-2), var(--volt-3)); }
  .steps.in::after { transform: scale3d(1, 1, 1); }
  .step { padding: 0 0 clamp(26px, 5vw, 40px) 0; }
  .step:last-child { padding-bottom: 0; }
  .step__dot { left: -26px; top: 2px; }
  .step__n { margin-bottom: 8px; }

  .contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .row { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 4px 14px; }
  .row__n { grid-row: 1; padding-top: .3rem; }
  .row__t { grid-column: 2; }
  .row__b { grid-column: 2; margin-top: 10px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stack__col { padding-block: 18px 22px; }
  .stack__col ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .hero__claims { gap: 0 24px; }
  .contact__meta > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero__foot-cue { display: none; }
}

@media (max-width: 420px) {
  .hero__art { max-width: 240px; }
  .hero__claims li { font-size: .625rem; }
}

/* ═══ Reduced motion: nothing moves, everything is already there ═════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .js .r { opacity: 1; transform: none; }
  .js .intro { animation: none; opacity: 1; transform: none; }
  .js .field__trace .t { animation: none; stroke-dashoffset: 0; }
  .js .field__bolt, .js .field__rings circle, .js .field__ticks path,
  .js .field__grid path, .js .field__nodes circle { animation: none; opacity: 1; transform: none; }
  .steps::after { transform: scale3d(1, 1, 1); }
  .progress { display: none; }
}
