/* ============================================================
   SILK ROAD DGX — Design System
   Dark-first. Red is scarce. Restraint is the flex.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --red: #dc0000;
  --red-hot: #e50a15;
  --black: #000000;
  --off-black: #0a0a0a;
  --white: #ffffff;

  /* Neutral gray ramp */
  --gray-1: #8a8a8a; /* secondary text */
  --gray-2: #4d4d4d; /* tertiary / dim */
  --gray-3: #1a1a1a; /* surfaces */
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing scale (8px base) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  --section-gap: clamp(80px, 12vw, 128px);
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-quart: cubic-bezier(0.165, 0.84, 0.44, 1);

  --radius: 2px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

/* Hide custom cursor system on touch / coarse pointers; keep native */
@media (hover: hover) and (pointer: fine) {
  .cursor-enabled,
  .cursor-enabled a,
  .cursor-enabled button,
  .cursor-enabled input,
  .cursor-enabled textarea,
  .cursor-enabled [data-cursor] { cursor: none; }
}

/* ---------- Selection ---------- */
::selection { background: var(--red); color: var(--white); }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--white);
  color: var(--black);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: top 0.3s var(--ease-quart);
}
.skip-link:focus { top: 16px; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow__tick {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 1px;
  flex: none;
  box-shadow: 0 0 12px rgba(220, 0, 0, 0.7);
}

/* ============================================================
   Grain + Blueprint texture overlays
   ============================================================ */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
  animation: grain-shift 8s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  16%  { transform: translate(-3%, 2%); }
  33%  { transform: translate(2%, -4%); }
  50%  { transform: translate(-2%, 3%); }
  66%  { transform: translate(3%, 1%); }
  83%  { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}

.blueprint {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 0%, #000 30%, transparent 80%);
}

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 950;
  pointer-events: none;
  mix-blend-mode: difference;
  display: none;
}
.cursor-enabled .cursor { display: block; }

.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  transition: width 0.3s var(--ease-quart), height 0.3s var(--ease-quart), background 0.3s;
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid var(--white);
  transition: width 0.4s var(--ease-quart), height 0.4s var(--ease-quart),
              border-color 0.3s, opacity 0.3s;
}
.cursor__label {
  position: absolute;
  top: 22px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease-quart), transform 0.25s var(--ease-quart);
}
/* Interactive state */
.cursor.is-active .cursor__ring {
  width: 54px;
  height: 54px;
  border-color: var(--red-hot);
}
.cursor.is-active .cursor__dot {
  width: 10px;
  height: 10px;
  background: var(--red-hot);
}
.cursor.is-active .cursor__label { opacity: 1; transform: translateY(0); }
.cursor.is-hidden { opacity: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--bg);
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--hairline);
  transition: color 0.4s var(--ease-quart), box-shadow 0.4s var(--ease-quart),
              transform 0.4s var(--ease-quart);
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--red), var(--red-hot));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-expo);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible {
  color: var(--white);
  box-shadow: 0 0 0 1px var(--red-hot), 0 8px 30px rgba(220, 0, 0, 0.28);
}

.btn--accent {
  --bg: var(--red);
  box-shadow: 0 0 0 1px var(--red-hot), 0 6px 24px rgba(220, 0, 0, 0.25);
}
.btn--accent::before { background: linear-gradient(120deg, #ff1a1a, var(--red-hot)); }

.btn--ghost { --bg: transparent; }

.btn--lg { padding: 16px 28px; font-size: 14px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  transition: background 0.5s var(--ease-quart), backdrop-filter 0.5s;
}
.nav.is-scrolled {
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 0 var(--hairline);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav__logo { flex: none; }
.nav__logo img { height: 34px; width: auto; }

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-1);
  transition: color 0.3s var(--ease-quart);
}
.nav__tick {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-2);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-quart);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover .nav__tick,
.nav__link.is-current .nav__tick {
  background: var(--red);
  box-shadow: 0 0 10px rgba(220, 0, 0, 0.8);
  transform: scale(1.3);
}
.nav__link.is-current { color: var(--white); }

.nav__cta { margin-left: var(--s-2); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-quart), opacity 0.3s;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--s-3) var(--gutter) var(--s-5);
  background: rgba(6, 6, 6, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 0 var(--hairline);
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 0 0 var(--hairline);
}
.mobile-menu__link .mono {
  font-size: 12px;
  color: var(--red);
}
.mobile-menu__cta { margin-top: var(--s-4); justify-content: center; }

/* ============================================================
   Scroll-progress route spine
   ============================================================ */
.spine {
  position: fixed;
  top: 50%;
  left: max(18px, calc((100vw - var(--container)) / 2 - 28px));
  transform: translateY(-50%);
  z-index: 700;
  height: 46vh;
  display: flex;
}
.spine__track,
.spine__progress {
  position: absolute;
  left: 3px;
  top: 0;
  width: 1px;
  height: 100%;
}
.spine__track { background: var(--hairline-strong); }
.spine__progress {
  background: linear-gradient(var(--red), var(--red-hot));
  transform-origin: top;
  transform: scaleY(0);
  box-shadow: 0 0 8px rgba(220, 0, 0, 0.6);
}
.spine__nodes {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.spine__nodes a {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-2);
  position: relative;
  transition: background 0.3s, box-shadow 0.4s var(--ease-quart), transform 0.3s;
}
.spine__nodes a::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-1);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-quart);
}
.spine__nodes a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.spine__nodes a.is-reached {
  background: var(--red);
  box-shadow: 0 0 10px rgba(220, 0, 0, 0.9);
  transform: scale(1.25);
}

@media (max-width: 1100px) { .spine { display: none; } }

/* ============================================================
   HERO — The Living Route
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 38% 52%, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 45%, transparent 75%),
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 25%, transparent 70%, rgba(0,0,0,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  padding-top: 12vh;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: var(--s-3) 0 var(--s-4);
  max-width: 16ch;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; }
.hero__line--accent { color: var(--white); position: relative; }

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--gray-1);
  max-width: 46ch;
  margin-bottom: var(--s-5);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--red), transparent);
  animation: scroll-pulse 2.4s var(--ease-cubic) infinite;
}

/* Entrance: class-triggered transitions (reliable; JS adds .is-in).
   Content is fully visible without JS (progressive enhancement). */
.js .hero__eyebrow,
.js .hero__subtitle,
.js .hero__actions,
.js .hero__scroll,
.js .hero__line-inner {
  opacity: 0;
  transition: opacity 0.9s var(--ease-expo), transform 1.1s var(--ease-expo);
  will-change: opacity, transform;
}
.js .hero__eyebrow,
.js .hero__subtitle,
.js .hero__actions { transform: translateY(18px); }
.js .hero__scroll { transform: translateY(18px) translateX(-50%); }
.js .hero__line-inner { transform: translateY(110%); display: block; }

.hero.is-in .hero__eyebrow,
.hero.is-in .hero__subtitle,
.hero.is-in .hero__actions,
.hero.is-in .hero__scroll,
.hero.is-in .hero__line-inner { opacity: 1; }
.hero.is-in .hero__eyebrow,
.hero.is-in .hero__subtitle,
.hero.is-in .hero__actions,
.hero.is-in .hero__line-inner { transform: translateY(0); }
.hero.is-in .hero__scroll { transform: translateY(0) translateX(-50%); }

.hero__eyebrow { transition-delay: 0.15s; }
.hero__line:nth-child(1) .hero__line-inner { transition-delay: 0.28s; }
.hero__line:nth-child(2) .hero__line-inner { transition-delay: 0.4s; }
.hero__subtitle { transition-delay: 0.62s; }
.hero__actions { transition-delay: 0.76s; }
.hero__scroll { transition-delay: 1s; }

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ============================================================
   Generic section
   ============================================================ */
.section {
  position: relative;
  padding-block: var(--section-gap);
}
.section__head { max-width: 62ch; margin-bottom: var(--s-6); }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: var(--s-3) 0 var(--s-3);
}
.section__lede {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  color: var(--gray-1);
  line-height: 1.6;
  max-width: 54ch;
}

/* Reveal animation base */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   01 Capabilities
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  box-shadow: 0 0 0 1px var(--hairline);
}
.cap-card {
  position: relative;
  background: var(--off-black);
  padding: var(--s-5) var(--s-4) var(--s-4);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: background 0.5s var(--ease-quart), transform 0.5s var(--ease-quart);
  overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 20% 0%, rgba(220,0,0,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-quart);
}
.cap-card:hover { background: #0f0d0d; }
.cap-card:hover::before { opacity: 1; }
.cap-card__node {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-2);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.03);
  transition: background 0.4s, box-shadow 0.4s var(--ease-quart), transform 0.4s;
}
.cap-card:hover .cap-card__node {
  background: var(--red);
  box-shadow: 0 0 14px rgba(220,0,0,0.9), 0 0 0 5px rgba(220,0,0,0.12);
  transform: scale(1.2);
}
.cap-card__num {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.14em;
  margin-bottom: var(--s-4);
}
.cap-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.cap-card__body {
  color: var(--gray-1);
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1;
}
.cap-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--s-3);
}
.cap-card__tags li {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--gray-1);
  padding: 5px 9px;
  box-shadow: 0 0 0 1px var(--hairline);
  border-radius: var(--radius);
}

/* ============================================================
   02 Approach — manifesto
   ============================================================ */
.approach { background: linear-gradient(180deg, var(--black), #060606); }
.manifesto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  box-shadow: 0 0 0 1px var(--hairline);
  counter-reset: m;
}
.manifesto__item {
  position: relative;
  background: var(--off-black);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.manifesto__node {
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(220,0,0,0.6);
}
.manifesto__index {
  font-size: 11px;
  color: var(--gray-1);
  letter-spacing: 0.16em;
  padding-left: 26px;
}
.manifesto__stmt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.manifesto__note {
  color: var(--gray-1);
  font-size: 1rem;
  max-width: 42ch;
}

/* ============================================================
   03 Proof
   ============================================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  box-shadow: 0 0 0 1px var(--hairline);
  margin-bottom: var(--s-7);
}
.metric {
  background: var(--off-black);
  padding: var(--s-5) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.metric__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-1);
  order: 2;
}
.metric__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--red);
  order: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.metric__unit {
  font-size: 0.3em;
  color: var(--white);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.proof-statements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.proof-statement {
  padding: var(--s-5);
  box-shadow: 0 0 0 1px var(--hairline);
  border-radius: var(--radius);
  position: relative;
}
.proof-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--s-5);
  bottom: var(--s-5);
  width: 2px;
  background: linear-gradient(var(--red), transparent);
}
.proof-statement p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding-left: var(--s-3);
}

.capabilities-proof__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: var(--s-3);
}
.capabilities-proof__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.capabilities-proof__list li {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 9px 14px;
  box-shadow: 0 0 0 1px var(--hairline);
  border-radius: 100px;
  transition: box-shadow 0.3s, color 0.3s;
}
.capabilities-proof__list li:hover {
  box-shadow: 0 0 0 1px var(--red);
  color: var(--red);
}

/* ============================================================
   04 Process — horizontal route
   ============================================================ */
.process { overflow: hidden; }
.route {
  margin-top: var(--s-5);
  cursor: grab;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--s-3);
}
.route::-webkit-scrollbar { display: none; }
.route.is-dragging { cursor: grabbing; }
.route__track {
  position: relative;
  padding-inline: var(--gutter);
  width: max-content;
}
.route__line {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gray-2) 0 8px, transparent 8px 16px);
}
.route__stops {
  display: flex;
  gap: var(--s-5);
  position: relative;
}
.route__stop {
  position: relative;
  width: 340px;
  max-width: 78vw;
  flex: none;
  padding-top: 64px;
}
.route__node {
  position: absolute;
  top: 28px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--off-black);
  box-shadow: 0 0 0 1px var(--gray-1), 0 0 0 5px var(--black);
  transition: background 0.4s, box-shadow 0.4s var(--ease-quart);
}
.route__stop:hover .route__node {
  background: var(--red);
  box-shadow: 0 0 14px rgba(220,0,0,0.9), 0 0 0 5px var(--black);
}
.route__num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: var(--s-2);
}
.route__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-2);
}
.route__body { color: var(--gray-1); font-size: 0.98rem; max-width: 34ch; }
.route__hint {
  margin-top: var(--s-4);
  padding-inline: var(--gutter);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* ============================================================
   05 About
   ============================================================ */
.about { background: linear-gradient(180deg, #060606, var(--black)); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
  align-items: start;
}
.about__head { margin-bottom: 0; position: sticky; top: 120px; }
.about__body { display: flex; flex-direction: column; gap: var(--s-3); }
.about__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}
.about__body p:not(.about__lead) { color: var(--gray-1); font-size: 1.05rem; }

/* ============================================================
   06 Contact
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 90% at 50% 120%, rgba(220,0,0,0.10), transparent 60%);
}
.contact__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}
.contact__inner { position: relative; z-index: 1; }
.contact__title { font-size: clamp(3rem, 9vw, 7rem); }
.contact__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-7);
  margin-top: var(--s-6);
}

.contact-form { display: flex; flex-direction: column; gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.field input,
.field textarea {
  /* Reset native control chrome (kills the browser's beveled/inset
     "3D" border) so the hairline box-shadow is the only edge. */
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 0 0 1px var(--hairline);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-size: 1rem;
  transition: box-shadow 0.3s var(--ease-quart), background 0.3s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--red), 0 0 0 4px rgba(220,0,0,0.12);
  background: rgba(255,255,255,0.03);
}
.contact-form__submit { align-self: flex-start; margin-top: var(--s-2); }
.contact-form__status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--red);
  min-height: 1em;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-1);
}
.contact__aside-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.contact__email {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s;
  width: fit-content;
}
.contact__email:hover { color: var(--red); }
.contact__aside-note { color: var(--gray-1); font-size: 0.98rem; max-width: 34ch; }
.contact__meta {
  margin-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.contact__meta div { display: flex; justify-content: space-between; gap: var(--s-3); box-shadow: 0 -1px 0 0 var(--hairline); padding-top: var(--s-2); }
.contact__meta dt { color: var(--gray-1); font-size: 12px; letter-spacing: 0.06em; }
.contact__meta dd { color: var(--white); font-size: 12px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--white);
  color: var(--black);
  padding-block: var(--s-7) var(--s-4);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-6);
}
.footer__logo { height: 40px; width: auto; }
.footer__tagline {
  margin-top: var(--s-3);
  color: #333;
  font-size: 0.98rem;
  max-width: 30ch;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #333;
  width: fit-content;
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--red); }
.footer__contact { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.footer__email {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--black);
  transition: color 0.3s;
}
.footer__email:hover { color: var(--red); }
.footer__top { font-family: var(--font-mono); font-size: 12px; color: #555; }
.footer__top:hover { color: var(--red); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-top: var(--s-4);
  box-shadow: 0 -1px 0 0 rgba(0,0,0,0.12);
}
.footer__legal p { font-size: 11px; color: #666; letter-spacing: 0.02em; }
.footer ::selection { background: var(--red); color: var(--white); }

/* ============================================================
   Kinetic type (cursor / scroll driven weight+tracking)
   ============================================================ */
[data-kinetic] { transition: font-weight 0.4s var(--ease-quart), letter-spacing 0.4s var(--ease-quart); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .about__head { position: static; }
  .contact__cols { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu.is-open { display: flex; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .proof-statements { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   Reduced motion — accessibility pass/fail requirement
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
  .hero__scroll-line { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  /* Hero entrance: show instantly, no transform motion */
  .js .hero__eyebrow,
  .js .hero__subtitle,
  .js .hero__actions,
  .js .hero__scroll,
  .js .hero__line-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js .hero__scroll { transform: translateX(-50%) !important; }
  /* Custom cursor motion disabled — native cursor restored via JS */
}
