/* ==========================================================================
   Mason Voorhees - portfolio
   ========================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 400 500; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  --bg: #010102;
  --bg-2: #08080c;
  --ink: #eeeef3;
  --ink-2: #a6a8ba;
  --ink-3: #6e7084;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --card: rgba(13, 13, 21, .62);
  --card-2: rgba(20, 20, 31, .7);

  --violet: #9a88ff;
  --cyan: #5fdcff;
  --green: #46f5a9;
  --amber: #ffbb55;
  --acc: 154, 136, 255;            /* section accent (rgb triplet) */
  --grad: linear-gradient(96deg, #c3b8ff 0%, #8fd9ff 45%, #9bffd8 100%);

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --nav-h: 64px;
}

[data-scene="hero"], [data-scene="evidence"], [data-scene="testpilot"],
[data-scene="experience"], [data-scene="toolkit"], [data-scene="contact"] { --acc: 154, 136, 255; }
[data-scene="ai"]        { --acc: 186, 120, 255; }
[data-scene="quality"]   { --acc: 70, 245, 169; }
[data-scene="platforms"] { --acc: 255, 187, 85; }
[data-scene="builds"]    { --acc: 95, 220, 255; }

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: rgba(154, 136, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: #fff; color: #000; border-radius: 10px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------- background layers */
#gl {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.gl-ready #gl { opacity: 1; }

.bg-fallback {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none;
  /* a still echo of the shader's ribbon, for browsers without WebGL */
  background:
    linear-gradient(167deg, transparent 40%, rgba(124, 92, 255, .055) 48.5%, rgba(95, 200, 255, .07) 50%, rgba(124, 92, 255, .04) 51.5%, transparent 60%),
    radial-gradient(55vw 30vw at 62% 46%, rgba(95, 170, 255, .05), transparent 70%),
    var(--bg);
}
.no-webgl .bg-fallback { display: block; }
.no-webgl #gl { display: none; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

/* Edge fades: content fades out before it slides under the floating nav
   or a phone's browser bars, so nothing shows through half-cut. */
.edge { position: fixed; left: 0; right: 0; z-index: 92; pointer-events: none; }
.edge--top {
  top: 0; height: calc(env(safe-area-inset-top) + 12px + var(--nav-h) + 56px);
  background: linear-gradient(180deg, rgba(1,1,2,.97) 0%, rgba(1,1,2,.92) 55%, rgba(1,1,2,.5) 80%, rgba(1,1,2,0) 100%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.is-scrolled .edge--top { opacity: 1; }
.edge--bottom {
  display: none; bottom: 0; height: calc(env(safe-area-inset-bottom) + 104px);
  background: linear-gradient(0deg, rgba(1,1,2,.97) 0%, rgba(1,1,2,.88) 38%, rgba(1,1,2,.45) 70%, rgba(1,1,2,0) 100%);
}
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .edge--bottom { display: block; }
}

main, .nav, .menu { position: relative; }
main { z-index: auto; }

/* ------------------------------------------------------------ preloader */
.preloader {
  position: fixed; inset: 0; z-index: 150; background: var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io), visibility 0s linear 1s;
}
html:not(.js) .preloader { display: none; }
.is-loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.boot {
  width: min(600px, calc(100vw - 32px)); overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), #0b0b12;
  box-shadow: 0 50px 140px -50px rgba(124, 92, 255, .45), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
  font-family: var(--mono); font-size: 13px; line-height: 1.8; color: var(--ink-2);
  transition: transform .9s var(--ease-io), opacity .55s var(--ease);
}
.is-loaded .boot { transform: translateY(-28px) scale(.985); opacity: 0; }
.boot__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.boot__title { flex: 1; text-align: center; margin-right: 46px; }
.boot__body { position: relative; padding: 16px 20px 18px; min-height: 318px; }
.boot__body::after { /* faint scanlines */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.boot__cmd { color: var(--ink); margin-bottom: 8px; white-space: nowrap; }
.boot__list { display: grid; }
.boot__line { display: flex; align-items: baseline; gap: 10px; opacity: 0; transform: translateY(5px); transition: opacity .22s var(--ease), transform .22s var(--ease), color .2s; color: var(--ink-3); }
.boot__line.is-on { opacity: 1; transform: none; }
.boot__ico { width: 1.1em; flex-shrink: 0; font-style: normal; color: var(--violet); text-align: center; }
.boot__line.is-pass { color: var(--ink-2); }
.boot__line.is-pass .boot__ico { color: var(--green); text-shadow: 0 0 12px rgba(70, 245, 169, .55); }
.boot__name { white-space: nowrap; }
.boot__lead { flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(255,255,255,.13); transform: translateY(-5px); }
.boot__meta { white-space: nowrap; }
.boot__line.is-pass .boot__meta { color: var(--ink); }
.boot__ms { min-width: 6ch; text-align: right; color: var(--ink-3); opacity: .75; font-variant-numeric: tabular-nums; }
.boot__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.boot__summary.is-on { opacity: 1; transform: none; }
.boot__summary b { color: var(--green); font-weight: 500; }
.boot__pass { background: var(--green); color: #03130b; font-weight: 600; padding: 0 9px; border-radius: 5px; letter-spacing: .06em; box-shadow: 0 0 24px rgba(70, 245, 169, .45); }
.boot__time { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.boot__progress { height: 2px; background: rgba(255,255,255,.05); }
.boot__progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform .25s var(--ease); }
@media (max-width: 680px) {
  .boot { font-size: 11.5px; }
  .boot__body { padding: 14px 14px 16px; min-height: 290px; }
  .boot__ms { display: none; }
  .boot__title { margin-right: 0; text-align: left; }
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: calc(12px + env(safe-area-inset-top)) 12px 0;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto; position: relative;
  max-width: 1180px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s, transform .6s var(--ease);
}
.is-scrolled .nav__bar {
  background: rgba(12, 12, 19, .58);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.nav__brand { display: flex; align-items: center; font-weight: 500; letter-spacing: -.015em; padding-left: 6px; }
.nav__name { font-size: 16px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 14px; color: var(--ink-2); border-radius: 999px;
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); background: rgba(255,255,255,.06); }
.nav__cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; background: var(--ink); color: #0a0a10;
  transition: background-color .3s, transform .3s var(--ease);
}
.nav__cta:hover { background: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; margin-left: auto; border: 1px solid var(--line-2); }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__progress { position: absolute; left: 26px; right: 26px; bottom: -1px; height: 1px; overflow: hidden; opacity: 0; transition: opacity .4s; }
.is-scrolled .nav__progress { opacity: 1; }
.nav__progress i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(1,1,2,.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 48px + env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__inner { display: grid; gap: 4px; }
.menu__inner a {
  display: flex; align-items: baseline; gap: 16px; font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: -.035em;
  line-height: 1.15; padding: 4px 0; opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.menu__inner a span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0; }
.menu-open .menu__inner a { opacity: 1; transform: none; }
.menu-open .menu__inner a:nth-child(1) { transition-delay: .12s; }
.menu-open .menu__inner a:nth-child(2) { transition-delay: .16s; }
.menu-open .menu__inner a:nth-child(3) { transition-delay: .20s; }
.menu-open .menu__inner a:nth-child(4) { transition-delay: .24s; }
.menu-open .menu__inner a:nth-child(5) { transition-delay: .28s; }
.menu-open .menu__inner a:nth-child(6) { transition-delay: .32s; }
.menu-open .menu__inner a:nth-child(7) { transition-delay: .36s; }
.menu__foot { display: grid; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

/* -------------------------------------------------------------- buttons */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .35s, color .35s, border-color .35s, box-shadow .5s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn--primary { background: var(--ink); color: #08080d; box-shadow: 0 0 0 0 rgba(154,136,255,0); }
.btn--primary:hover { background: #fff; box-shadow: 0 10px 40px -8px rgba(154,136,255,.55); }
.btn--primary:hover svg { transform: translate(2px, 2px); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(14,14,22,.55); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.btn--xl { --h: 64px; padding: 0 30px; font-size: 16px; }
.btn > span { position: relative; }

/* ---------------------------------------------------------------- pills */
.pill {
  display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; color: var(--ink-2); border: 1px solid var(--line-2); background: rgba(10,10,16,.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(70,245,169,.6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(70,245,169,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(70,245,169,0); } }

.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--acc)); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex; padding: calc(var(--nav-h) + clamp(44px, 6vw, 88px)) 0 clamp(56px, 7vw, 110px);
}
.hero__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }

.hero__title {
  font-size: clamp(4.1rem, 14.5vw, 14rem); line-height: .84; font-weight: 600; letter-spacing: -.058em;
  color: #f4f4f8;
  margin-left: -.04em;
  text-shadow: 0 2px 40px rgba(1,1,2,.35);
}
/* clip only vertically (for the reveal), never horizontally, so the name can't get cut off */
.hero__title .line { display: block; padding-bottom: .06em; margin-bottom: -.06em; clip-path: inset(-0.3em -100vw 0 -100vw); }
.hero__title .line:nth-child(2) { padding-left: .7em; }
.hero__title .word { display: inline-block; will-change: transform; }
.js .hero__title .word { transform: translateY(105%); }
.is-loaded .hero__title .word { transform: none; transition: transform 1.3s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) .word { transition-delay: .08s; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 5vw, 80px); align-items: end; }
.hero__lede { font-size: clamp(1.15rem, 1.65vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 34ch; letter-spacing: -.012em; }
/* accent words: same typeface, lighter weight and a quieter tone (two-tone headlines) */
.sh__title em, .contact__title em, .principles em { font-style: normal; font-weight: 300; color: #9294a8; }
.hero__lede em { font-style: normal; font-weight: 500; color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }


/* terminal */
.terminal {
  border-radius: 18px; overflow: hidden;
  background: rgba(9, 9, 15, .55); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.terminal__bar, .studio__bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-3);
}
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.terminal__title { flex: 1; }
.terminal__tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); }
.terminal__body {
  margin: 0; padding: 14px 16px 16px; height: 248px; overflow: hidden;
  font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-2); white-space: normal;
  -webkit-mask-image: linear-gradient(transparent 0, #000 22%); mask-image: linear-gradient(transparent 0, #000 22%);
}
.terminal__body code { display: block; }
.ln { display: grid; grid-template-columns: auto 10.5ch minmax(0, 1fr); column-gap: 10px; animation: lnIn .35s var(--ease) both; }
.ln--cmd { margin-top: 6px; }
.t-ts { color: var(--ink-3); opacity: .7; font-variant-numeric: tabular-nums; }
.t-tag { color: var(--violet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-msg { min-width: 0; overflow-wrap: anywhere; }
.t-txt { color: var(--ink); }
@keyframes lnIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.terminal__body code { font-family: inherit; }
.terminal__caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.t-prompt { color: var(--violet); }
.t-cmd { color: var(--ink); }
.t-ok { color: var(--green); }
.t-dim { color: var(--ink-3); }
.t-num { color: var(--ink); }
.t-err { color: #ff86a6; }

/* -------------------------------------------------------------- marquee */
.marquee {
  position: relative; z-index: 1; overflow: hidden; padding: 26px 0;
  border-block: 1px solid var(--line); background: rgba(1,1,2,.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: flex; align-items: center; font-size: clamp(1.25rem, 2.3vw, 2rem); font-weight: 500; letter-spacing: -.03em;
  color: var(--ink-3); white-space: nowrap; transition: color .3s;
}
.marquee__list li::after { content: '✦'; font-size: .45em; margin: 0 clamp(18px, 2.4vw, 34px); color: rgba(154,136,255,.6); }
.marquee__list li:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(100px, 13vw, 180px) 0; }
.section--tight { padding-top: clamp(60px, 8vw, 110px); }

.sh { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); max-width: 980px; }
.sh__idx {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.sh__idx span { color: rgb(var(--acc)); }
.sh__idx::after { content: ''; width: 56px; height: 1px; background: linear-gradient(90deg, rgba(var(--acc), .6), transparent); }
.sh__title { font-size: clamp(2.5rem, 6.6vw, 6rem); line-height: .96; font-weight: 500; letter-spacing: -.045em; }
.sh__title--sm { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.sh__title em { display: inline; }
.sh__kicker { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.sh--row { grid-template-columns: 1fr; }

/* split-word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .04em .32em 0; margin: -.12em -.04em -.32em 0; }
.w__i { display: inline-block; will-change: transform; }
.js [data-split] .w__i { transform: translateY(135%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w__i { transform: none; }

/* generic reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ----------------------------------------------------------------- cards */
.card {
  position: relative; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)), var(--card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(var(--acc), .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s var(--ease);
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, -20%), rgba(var(--acc), .1), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* -------------------------------------------------------------- metrics */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 16px; min-height: 230px; }
.metric__value {
  font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; font-weight: 500; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0;
}
.metric__value small { font-size: .5em; color: var(--ink-3); letter-spacing: -.02em; }
.metric__value .suf { font-size: .62em; color: var(--ink-2); letter-spacing: -.02em; margin-left: .04em; }
.metric__value--swap s { color: var(--ink-3); text-decoration-thickness: 2px; text-decoration-color: rgba(255,255,255,.35); font-size: .62em; }
.metric__value--swap .arrow { font-size: .5em; color: rgb(var(--acc)); margin: 0 .08em; }
.metric__label { margin-top: auto; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.metric:nth-child(4n+1) { --d: 0s; } .metric:nth-child(4n+2) { --d: .07s; } .metric:nth-child(4n+3) { --d: .14s; } .metric:nth-child(4n+4) { --d: .21s; }

/* -------------------------------------------------------------- feature */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.feature__copy { display: grid; gap: 26px; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(70,245,169,.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346f5a9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/11px no-repeat;
  border: 1px solid rgba(70,245,169,.35);
}
.ticks b { color: var(--ink); font-weight: 500; }
.ticks i { font-style: normal; color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stats > div { padding: 22px 16px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.stats dd { margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.feature__stack { font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.7; max-width: 44ch; }

/* studio mock */
.studio { overflow: hidden; --acc: 154, 136, 255; }
.studio__bar { background: rgba(255,255,255,.02); }
.studio__file { flex: 1; color: var(--ink-2); }
.studio__mode { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--acc)); }
.studio__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 360px; }
.studio__code { counter-reset: ln; padding: 18px 0; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.studio__code li {
  counter-increment: ln; position: relative; padding: 5px 18px 5px 50px; color: var(--ink-2);
  transition: background-color .35s, color .35s;
}
.studio__code li::before { content: counter(ln); position: absolute; left: 18px; width: 18px; text-align: right; color: var(--ink-3); opacity: .6; }
.studio__code li:nth-child(n+3) { padding-left: 66px; }
.studio__code li.is-active { background: rgba(var(--acc), .1); color: var(--ink); }
.studio__code li.is-active::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: rgb(var(--acc)); }
.studio__code li.is-pass::after { content: '✓'; position: absolute; right: 16px; color: var(--green); font-size: 12px; }
.c-kw { color: var(--ink); font-weight: 500; }
.c-dim { color: var(--ink-3); }
.c-tag { color: var(--cyan); font-size: 12px; padding: 1px 7px; border-radius: 6px; background: rgba(95,220,255,.08); }
.c-str { color: #ffd38a; }
.studio__run { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: rgba(0,0,0,.18); }
.studio__runhead { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.studio__timer { color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.studio__steps { display: grid; gap: 9px; }
.studio__steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); transition: color .3s; }
.studio__steps i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); flex-shrink: 0; transition: border-color .3s, background-color .3s; }
.studio__steps li.is-running { color: var(--ink); }
.studio__steps li.is-running i { border-color: rgba(var(--acc), .25); border-top-color: rgb(var(--acc)); animation: spin .7s linear infinite; }
.studio__steps li.is-done { color: var(--ink-2); }
.studio__steps li.is-done i { border-color: rgba(70,245,169,.5); background: rgba(70,245,169,.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346f5a9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/10px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
.studio__shot {
  margin-top: auto; height: 96px; border-radius: 12px; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(154,136,255,.12), rgba(95,220,255,.05)); display: grid; gap: 8px; padding: 12px; align-content: start;
}
.studio__shot span { height: 9px; border-radius: 4px; background: rgba(255,255,255,.08); }
.studio__shot span:nth-child(1) { width: 40%; }
.studio__shot span:nth-child(2) { width: 75%; }
.studio__shot span:nth-child(3) { width: 58%; background: rgba(70,245,169,.25); }
.studio__shot::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(transparent, rgba(var(--acc), .25), transparent); animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { to { top: 110%; } }
.studio__report { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 11.5px; opacity: .25; transition: opacity .5s; }
.studio__report.is-on { opacity: 1; }
.studio__report span { padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--ink-2); }
.studio__report .ok { color: var(--green); border-color: rgba(70,245,169,.35); background: rgba(70,245,169,.08); }
.studio__note { position: absolute; right: 16px; bottom: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); opacity: .7; letter-spacing: .04em; }

/* ------------------------------------------------------------- pipeline */
.pipeline { padding: clamp(24px, 3vw, 40px); margin-bottom: 14px; overflow: hidden; }
.pipeline__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 34px; }
.pipeline__sub { color: var(--ink-2); font-size: 15px; }
.pipeline__steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.pipeline__steps::before {
  content: ''; position: absolute; left: 8px; right: 8px; top: 18px; height: 1px;
  background: linear-gradient(90deg, rgba(var(--acc), .15), rgba(var(--acc), .5), rgba(70,245,169,.5));
}
.pipeline__steps::after {
  content: ''; position: absolute; top: 15px; left: 0; width: 70px; height: 7px; border-radius: 7px;
  background: radial-gradient(closest-side, #fff, rgba(var(--acc), .9) 40%, transparent);
  filter: blur(1px); animation: travel 4.2s var(--ease-io) infinite;
}
@keyframes travel { 0% { left: -4%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 98%; opacity: 0; } }
.pipeline__steps li { position: relative; display: grid; gap: 6px; padding-top: 50px; align-content: start; }
.pipeline__steps li::before {
  content: ''; position: absolute; top: 11px; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg-2); border: 1.5px solid rgba(var(--acc), .8); box-shadow: 0 0 0 5px rgba(var(--acc), .08);
}
.pipeline__steps li:last-child::before { border-color: var(--green); box-shadow: 0 0 0 5px rgba(70,245,169,.1); }
.pipeline__n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.pipeline__steps b { font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.pipeline__steps small { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pipeline__fork { display: inline-block; margin-top: 6px; font-style: normal; font-family: var(--mono); font-size: 11px; color: #ff9db7; padding: 4px 8px; border-radius: 6px; border: 1px dashed rgba(255,120,160,.4); justify-self: start; }
.pipeline__proof { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.pipeline__proof b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.ok { color: var(--green); }

/* ---------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.proj { padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.proj--wide { grid-column: span 2; }
.proj__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--acc)); }
.proj__title { font-size: clamp(1.3rem, 1.75vw, 1.6rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.proj--hero .proj__title, .proj--tall .proj__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.proj__desc { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.proj__proof {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink);
  padding: 10px 12px; border-radius: 10px; background: rgba(var(--acc), .07); border: 1px solid rgba(var(--acc), .18);
}
.proj__proof::before { content: '✓ '; color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chips li { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.chips--lg li { font-family: var(--sans); font-size: 14px; padding: 8px 14px; color: var(--ink); transition: border-color .3s, background-color .3s; }
.chips--lg li:hover { border-color: rgba(var(--acc), .6); background: rgba(var(--acc), .08); }

.bigproof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 10px 0 4px; border-block: 1px solid var(--line); }
.bigproof > div { padding: 20px 16px 20px 0; display: grid; gap: 6px; }
.bigproof > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.bigproof b { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.bigproof span { font-size: 13px; color: var(--ink-3); }
.bigproof--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ----------------------------------------------------------- principles */
.principles { margin-top: clamp(80px, 10vw, 140px); }
.principles .eyebrow { margin-bottom: 26px; }
.principles__list { border-bottom: 1px solid var(--line); }
.principles__list li {
  display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: 16px;
  padding: clamp(20px, 2.6vw, 34px) 0; border-top: 1px solid var(--line);
  transition: padding-left .6s var(--ease);
}
.principles__list li:hover { padding-left: 14px; }
.principles__n { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.principles__list p { font-size: clamp(1.5rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; }

/* ------------------------------------------------------------ platforms */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.split__col { display: grid; gap: 14px; }
.proj--tall { min-height: 100%; }
.lead-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(60px, 7vw, 100px); }
.lead-item { border-top: 1px solid rgba(var(--acc), .4); padding-top: 20px; display: grid; gap: 12px; }
.lead-item__k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--acc)); }
.lead-item p { color: var(--ink-2); font-size: 15px; }

/* --------------------------------------------------------------- builds */
.builds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.build { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; transition: transform .6s var(--ease); }
.build:hover { transform: translateY(-4px); }
.build__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.build__plat { color: rgb(var(--acc)); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(var(--acc), .3); background: rgba(var(--acc), .06); letter-spacing: .03em; }
.build h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; }
.build p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.build .build__stack { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.builds .build:nth-child(3n+2) { --d: .07s; } .builds .build:nth-child(3n+3) { --d: .14s; }

/* ------------------------------------------------------------- timeline */
.timeline { position: relative; }
.tl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: baseline; padding: 36px 0; border-top: 1px solid var(--line); position: relative; }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl__when { font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl__org { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tl__badge { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: var(--green); border: 1px solid rgba(70,245,169,.35); background: rgba(70,245,169,.07); }
.tl__roles { display: grid; gap: 4px; margin: 14px 0 0; }
/* roles + dates in a fixed two-column grid so every date lines up in one left-aligned column */
.tl__roles p { display: grid; grid-template-columns: minmax(0, 1fr) 19ch; column-gap: 24px; align-items: baseline; max-width: 680px; font-size: 15.5px; }
.tl__roles b { font-weight: 500; }
.tl__roles span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); text-align: left; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl__list { margin-top: 16px; display: grid; gap: 8px; max-width: 72ch; }
.tl__list li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.tl__list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: rgb(var(--acc)); }
.tl:hover .tl__org { color: #fff; }

/* -------------------------------------------------------------- toolkit */
.toolkit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.tk h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.tk .chips { margin-top: 0; padding-top: 0; gap: 8px; }

/* -------------------------------------------------------------- contact */
.contact { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: clamp(100px, 13vw, 170px); }
.contact__inner { display: grid; gap: 26px; justify-items: start; }
.contact__title { font-size: clamp(3rem, 8.6vw, 8.8rem); line-height: .92; font-weight: 500; letter-spacing: -.055em; }
.contact__lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; }
.contact__links a { position: relative; font-size: 16px; color: var(--ink-2); padding: 6px 0; transition: color .3s; }
.contact__links a span { display: inline-block; margin-left: 4px; transition: transform .4s var(--ease); }
.contact__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.contact__links a:hover { color: var(--ink); }
.contact__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__links a:hover span { transform: translate(2px, -2px); }

.footer { margin-top: auto; padding: 120px 0 calc(28px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(1,1,2,.55) 55%, rgba(1,1,2,.8)); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 22px; border-top: 1px solid var(--line); }
.footer__top { color: var(--ink-2); }
.footer__top:hover { color: var(--ink); }

/* ============================================================ responsive */
@media (max-width: 1180px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 200px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .pipeline__steps::before, .pipeline__steps::after { display: none; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__bar { padding: 0 8px 0 14px; }
  .hero__bottom { grid-template-columns: 1fr; }
  .terminal { max-width: 560px; }
  .feature { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .tl__when { padding-top: 0; }
  .tl__roles p { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .tl__roles span { min-width: 19ch; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --radius: 18px; --nav-h: 58px; }
  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 56px; }
  .hero__title { font-size: clamp(3.6rem, 21vw, 7rem); line-height: .86; }
  .hero__title .line:nth-child(2) { padding-left: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .terminal__body { height: 230px; font-size: 11px; padding: 12px; }
  .ln { grid-template-columns: 10.5ch minmax(0, 1fr); column-gap: 8px; }
  .t-ts { display: none; }
  .metrics { gap: 10px; }
  .metric { padding: 20px 18px; min-height: 0; gap: 12px; }
  .metric__value { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .metric__label { font-size: 13px; margin-top: 0; }
  .bento, .builds, .lead-grid, .toolkit { grid-template-columns: 1fr; }
  .proj--wide { grid-column: auto; }
  .proj { min-height: 0; }
  .build { min-height: 0; }
  .studio__body { grid-template-columns: 1fr; min-height: 0; }
  .studio__code { border-right: 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .studio__code li { padding: 4px 14px 4px 40px; }
  .studio__code li::before { left: 12px; }
  .studio__code li:nth-child(n+3) { padding-left: 52px; }
  .studio__shot { display: none; }
  .stats > div { padding-right: 8px; }
  .stats > div + div { padding-left: 12px; }
  .stats dd br { display: none; }
  .pipeline__steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 4px; }
  .pipeline__steps li { padding: 0 0 22px 34px; }
  .pipeline__steps li::before { top: 4px; }
  .pipeline__steps li:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: 0; width: 1px; background: rgba(var(--acc), .35); }
  .bigproof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bigproof > div { padding: 16px 8px 16px 0; }
  .bigproof > div + div { padding-left: 10px; }
  .bigproof b { font-size: 1.6rem; }
  .bigproof span { font-size: 11.5px; }
  .principles__list li { grid-template-columns: 34px 1fr; gap: 8px; }
  .principles__list li:hover { padding-left: 0; }
  .principles__list p { font-size: clamp(1.45rem, 7vw, 2rem); }
  .contact__title { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .btn--xl { --h: 58px; padding: 0 22px; font-size: 15px; width: 100%; }
  .contact__actions { width: 100%; }
}

@media (max-width: 380px) {
  .metrics { grid-template-columns: 1fr; }
}

/* keep the footer line above the bottom fade and the phone's browser bar */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ======================================================== motion prefs */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { animation: none; }
  .marquee__track { animation: none; }
  .js [data-reveal], .js [data-split] .w__i, .js .hero__title .word { opacity: 1; transform: none; filter: none; }
}

@media (hover: none) {
  .card::before, .card::after { display: none; }
  .build:hover { transform: none; }
}
