/* ============================================================
   ABUUN — site.css
   Design system for the public marketing site.
   Portal pages (login/dashboard) keep main.css / precision-grid.css.

   00  Fonts
   01  Tokens & reset
   02  Utility type
   03  Chrome — cursor, preloader, rail, nav, footer
   04  Hero
   05  Dividers & section headers
   06  Capabilities index
   07  Process terminal
   08  Telemetry panel
   09  Manifesto
   10  CTA climax
   11  Services page
   12  Contact page
   13  Motion preferences & responsive
   ============================================================ */

/* ── 00 FONTS ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Archivo Var';
  src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Grotesk';
  src: url('/fonts/space-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Grotesk';
  src: url('/fonts/space-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ── 01 TOKENS & RESET ────────────────────────────────────── */
:root {
  --ink:        #0a0b0e;   /* page base — near-black, faint warmth      */
  --ink-2:      #0e1013;   /* raised surface                            */
  --ink-3:      #131519;   /* terminal chrome                           */
  --bone:       #eae6dc;   /* display type — warm bone, never pure white */
  --bone-60:    rgba(234,230,220,0.60);
  --bone-38:    rgba(234,230,220,0.38);
  --bone-14:    rgba(234,230,220,0.14);
  --amber:      #F7941E;   /* brand — do not tint                       */
  --amber-70:   rgba(247,148,30,0.70);
  --amber-32:   rgba(247,148,30,0.32);
  --amber-12:   rgba(247,148,30,0.12);
  --hair:       rgba(234,230,220,0.09);
  --hair-hot:   rgba(234,230,220,0.22);
  --grid-line:  rgba(234,230,220,0.035);

  --mono: 'Plex Mono', 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --disp: 'Archivo Var', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wordmark: 'Grotesk', 'Space Grotesk', 'Helvetica Neue', sans-serif;

  --rail-w: 56px;          /* fixed instrument rail, desktop only */
  --gutter: clamp(20px, 4.5vw, 72px);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);      /* expo-ish out  */
  --ease-slam: cubic-bezier(0.83, 0, 0.17, 1);     /* hard in-out   */
  --ease-tick: cubic-bezier(0.34, 1.56, 0.64, 1);  /* slight over   */
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html.reduced { scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--disp);
  font-variation-settings: 'wdth' 100, 'wght' 400;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed; top: -60px; left: var(--rail-w);
  z-index: 300; padding: 10px 16px;
  background: var(--amber); color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* page fade-in shutter (post-preloader) */
#page {
  position: relative;
}
html.js.booting #page { visibility: hidden; }

/* the logo mark — exact brand geometry, referenced everywhere.
   Never redrawn: chevron -64,52 → -14,0 → -64,-52 · rule -8,52 → 64,52
   stroke 18 / round caps / #F7941E                                     */
.mark { color: var(--amber); }

/* ── 02 UTILITY TYPE ──────────────────────────────────────── */
.m-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-38);
}
.m-label .amp { color: var(--amber-70); }

.disp {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 118, 'wght' 860;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.012em;
}

.num-cond {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 64, 'wght' 780;
  letter-spacing: 0.01em;
}

.amber { color: var(--amber); }

/* blinking underscore cursor — the logo's own cursor, reused live */
.caret {
  display: inline-block;
  width: 0.62em; height: 0.11em;
  min-height: 2px;
  background: var(--amber);
  vertical-align: baseline;
  margin-left: 0.08em;
  transform: translateY(-0.04em);
  animation: caret-blink 1.06s steps(1) infinite;
}
@keyframes caret-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
html.reduced .caret { animation: none; }

/* ── 03 CHROME ────────────────────────────────────────────── */

/* Custom cursor — an amber underscore that becomes the prompt on targets.
   Fine pointers only; killed under reduced motion. */
html.cursor-on, html.cursor-on a, html.cursor-on button,
html.cursor-on input, html.cursor-on textarea, html.cursor-on select,
html.cursor-on label, html.cursor-on summary { cursor: none; }
#cursor {
  position: fixed; top: 0; left: 0; z-index: 400;
  pointer-events: none;
  width: 0; height: 0;
  display: none;
  transform: translate(-100px, -100px);
}
html.cursor-on #cursor { display: block; }
#cursor .c-bar {
  position: absolute; top: -1px; left: -7px;
  width: 14px; height: 2px;
  background: var(--amber);
  transition: transform 0.18s var(--ease-tick), opacity 0.18s linear;
  animation: caret-blink 1.4s steps(1) infinite;
  animation-play-state: paused;
}
#cursor.idle .c-bar { animation-play-state: running; }
#cursor .c-chev {
  position: absolute; top: -7px; left: -12px;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  line-height: 1; color: var(--amber);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.16s linear, transform 0.16s var(--ease-tick);
}
#cursor.hot .c-bar  { transform: translateX(8px) scaleX(0.7); }
#cursor.hot .c-chev { opacity: 1; transform: translateX(0); }
#cursor.down .c-bar { transform: translateX(8px) scaleX(0.45); }

/* Preloader — terminal boot, first visit per session only */
#boot {
  position: fixed; inset: 0; z-index: 500;
  background: var(--ink);
  display: none;
  align-items: center; justify-content: center;
}
html.booting #boot { display: flex; }
#boot .boot-log {
  position: absolute;
  top: clamp(24px, 6vh, 64px); left: var(--gutter);
  font-family: var(--mono); font-size: 12px; line-height: 2;
  letter-spacing: 0.06em;
  color: var(--bone-38);
  white-space: pre;
}
#boot .boot-log .ok { color: var(--amber-70); }
#boot .boot-mark { width: clamp(120px, 18vw, 210px); }
#boot .boot-mark .draw {           /* paths carry pathLength="100" */
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
#boot .boot-skip {
  position: absolute; bottom: 28px; right: var(--gutter);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em;
  color: var(--bone-38);
  text-transform: uppercase;
  padding: 8px 0;
}
#boot .boot-skip:hover { color: var(--amber); }

/* Instrument rail — fixed left edge, desktop */
#rail {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: var(--rail-w);
  z-index: 90;
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 0 0 22px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  backdrop-filter: blur(2px);
}
#rail .rail-track {
  position: absolute; top: 76px; bottom: 176px;
  left: 50%; width: 1px;
  background: var(--hair);
}
#rail .rail-fill {
  position: absolute; top: 0; left: 0; width: 1px; height: 100%;
  background: var(--amber);
  transform-origin: top;
  transform: scaleY(0);
}
#rail .rail-needle {
  position: absolute; top: 76px; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  will-change: top;
}
#rail .rail-pct {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bone-38);
  writing-mode: vertical-rl;
  margin-bottom: 4px;
}
#rail .rail-pct b { color: var(--amber); font-weight: 500; }

/* Nav */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 var(--gutter) 0 calc(var(--rail-w) + 28px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s linear, background 0.4s linear;
}
#nav.solid {
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hair);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo .mark { width: 21px; }
.nav-logo .wordmark {
  font-family: var(--wordmark); font-weight: 700;
  font-size: 15px; letter-spacing: 0.34em;
  color: #fff;
  transform: translateY(1px);
}
.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px);
}
.nav-links a {
  position: relative;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone-60);
  padding: 6px 0;
  transition: color 0.18s linear;
}
.nav-links a i {
  font-style: normal;
  color: var(--amber-70);
  margin-right: 7px;
  font-size: 10px;
}
.nav-links a::before {
  content: '>';
  position: absolute; left: -13px; top: 5px;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.16s linear, transform 0.16s var(--ease-tick);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a:hover::before { opacity: 1; transform: translateX(0); }
.nav-links .nav-cta {
  color: var(--amber);
  border: 1px solid var(--amber-32);
  padding: 9px 16px;
  transition: background 0.18s linear, color 0.18s linear, border-color 0.18s linear;
}
.nav-links .nav-cta::before { content: none; }
.nav-links .nav-cta:hover {
  background: var(--amber); color: var(--ink); border-color: var(--amber);
}

/* mobile menu */
#menu-btn {
  display: none;
  margin-left: auto;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--bone-60);
  padding: 10px 0 10px 16px;
}
#menu-btn .x { display: none; }
#menu-btn[aria-expanded="true"] .o { display: none; }
#menu-btn[aria-expanded="true"] .x { display: inline; }
#menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink);
  display: none;
  flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  gap: 6px;
}
#menu.open { display: flex; }
#menu a {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 116, 'wght' 840;
  text-transform: uppercase;
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.16;
  color: var(--bone);
  border-bottom: 1px solid var(--hair);
  padding: 14px 0;
  display: flex; align-items: baseline; gap: 16px;
}
#menu a i {
  font-style: normal;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--amber);
}
#menu .menu-foot {
  margin-top: 40px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--bone-38);
}

/* Footer */
footer {
  border-top: 1px solid var(--hair);
  margin-left: var(--rail-w);
  padding: 40px var(--gutter) 34px;
}
.foot-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .mark { width: 18px; }
.foot-brand span {
  font-family: var(--wordmark); font-weight: 700;
  font-size: 12px; letter-spacing: 0.32em; color: #fff;
}
.foot-links { margin-left: auto; display: flex; gap: 26px; }
.foot-links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--bone-38);
  transition: color 0.15s linear;
}
.foot-links a:hover { color: var(--amber); }
.colophon {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-38);
  text-transform: uppercase;
}
.colophon .sep { color: var(--amber-32); }

/* ── 04 HERO ──────────────────────────────────────────────── */
main { margin-left: var(--rail-w); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 116px var(--gutter) 30px;
  overflow: hidden;
}
#field {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute; z-index: 0;
  top: -22%; right: -14%;
  width: 62vw; height: 62vw;
  background: radial-gradient(circle, var(--amber-12) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }

.hero-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-bottom: clamp(30px, 6vh, 68px);
}
.hero-eyebrow .tick { width: 26px; height: 1px; background: var(--amber); }

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.hero-h1 {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 121, 'wght' 880;
  text-transform: uppercase;
  font-size: clamp(40px, 7.8vw, 138px);
  line-height: 0.9;
  letter-spacing: -0.014em;
  color: var(--bone);
}
.hero-h1 .l { display: block; white-space: nowrap; }
.hero-h1 .l2 { margin-left: clamp(28px, 7vw, 128px); }   /* deliberate step */
.hero-h1 .l3 { color: var(--amber); }
.hero-h1 .l3 .caret { width: 0.56em; height: 0.09em; }

/* typed tagline under headline — the signature line, verbatim */
.hero-tag {
  margin-top: clamp(26px, 4.5vh, 44px);
  font-family: var(--mono);
  font-size: clamp(12px, 1.35vw, 15px);
  letter-spacing: 0.12em;
  color: var(--bone-60);
  min-height: 1.6em;
}
.hero-tag .t-a { color: var(--amber); }
.hero-tag .prompt { color: var(--amber); margin-right: 10px; }

.hero-sub {
  margin-top: 18px;
  max-width: 470px;
  font-family: var(--disp);
  font-variation-settings: 'wdth' 100, 'wght' 420;
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone-60);
}

.hero-ctas { margin-top: clamp(28px, 5vh, 48px); display: flex; flex-wrap: wrap; gap: 14px; }

/* primary button — selection-highlight wipe, not a pill */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 22px;
  border: 1px solid var(--amber);
  color: var(--amber);
  overflow: hidden;
  transition: color 0.22s linear;
}
.btn .fill {
  content: '';
  position: absolute; inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s var(--ease-slam);
  z-index: 0;
}
.btn > span, .btn > b { position: relative; z-index: 1; }
.btn b { font-weight: 500; transition: transform 0.26s var(--ease-tick); }
.btn:hover { color: var(--ink); }
.btn:hover .fill { transform: scaleX(1); }
.btn:hover b { transform: translateX(4px); }
.btn.ghost { border-color: var(--hair-hot); color: var(--bone-60); }
.btn.ghost .fill { background: var(--bone); }
.btn.ghost:hover { color: var(--ink); }

/* telemetry column, right edge of hero */
.hero-telemetry {
  align-self: end;
  margin-bottom: 8px;
  display: flex; flex-direction: column; gap: 22px;
  border-left: 1px solid var(--hair);
  padding-left: 22px;
  min-width: 168px;
}
.tele-block .m-label { font-size: 9px; margin-bottom: 6px; }
.tele-block .tele-v {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.tele-block .tele-v.on { color: var(--amber); }
.pulse {
  display: inline-block; width: 7px; height: 7px;
  background: var(--amber);
  margin-right: 9px;
  animation: pulse-k 2.2s var(--ease-out) infinite;
}
@keyframes pulse-k {
  0%   { box-shadow: 0 0 0 0 var(--amber-32); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
html.reduced .pulse { animation: none; }

.hero-foot {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue .mark { width: 13px; transform: rotate(90deg); animation: cue-nudge 2.4s var(--ease-out) infinite; }
@keyframes cue-nudge {
  0%, 100% { transform: rotate(90deg) translateX(0); opacity: 1; }
  50%      { transform: rotate(90deg) translateX(5px); opacity: 0.55; }
}
html.reduced .scroll-cue .mark { animation: none; }

/* ── 05 DIVIDERS & SECTION HEADERS ────────────────────────── */
.sec {
  position: relative;
  padding: clamp(84px, 12vh, 148px) var(--gutter) 0;
}
.sec-head {
  display: flex; align-items: baseline; gap: 20px;
  border-top: 1px solid var(--hair);
  padding-top: 16px;
  margin-bottom: clamp(40px, 7vh, 84px);
  position: relative;
}
.sec-head::before {           /* the traveling tick lives here via JS transform */
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 56px; height: 1px;
  background: var(--amber);
}
.sec-head .sec-no {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--amber);
}
.sec-head h2 {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-60);
}
.sec-head .sec-coord {
  margin-left: auto;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone-38);
  font-variant-numeric: tabular-nums;
}

/* reveal primitives (JS adds .in) */
.rv { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; transition: opacity 0.7s linear, transform 0.9s var(--ease-out); }
.rv-clip { clip-path: inset(0 0 100% 0); }
.rv-clip.in { clip-path: inset(0 0 -8% 0); transition: clip-path 0.9s var(--ease-slam); }
html.no-js .rv, html.no-js .rv-clip, html.reduced .rv, html.reduced .rv-clip {
  opacity: 1; transform: none; clip-path: none;
}

/* ── 06 CAPABILITIES INDEX ────────────────────────────────── */
.cap-intro {
  max-width: 560px;
  margin-bottom: clamp(44px, 7vh, 80px);
  font-family: var(--disp);
  font-variation-settings: 'wdth' 104, 'wght' 560;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.32;
  color: var(--bone);
}
.cap-intro .dim { color: var(--bone-38); }

.cap-list { border-bottom: 1px solid var(--hair); }
.cap-row { border-top: 1px solid var(--hair); }
.cap-row > button {
  width: 100%;
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 3.6vh, 34px) 0;
  text-align: left;
}
.cap-row .cap-no {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--bone-38);
  transition: color 0.2s linear;
}
.cap-row .cap-title {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 119, 'wght' 860;
  text-transform: uppercase;
  font-size: clamp(30px, 5.4vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--bone-38);
  transition: color 0.34s var(--ease-out), -webkit-text-stroke-color 0.34s linear, transform 0.4s var(--ease-out);
  will-change: transform;
}
.cap-row .cap-hint {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-38);
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.cap-row .cap-hint .gl {
  color: var(--amber);
  font-weight: 500;
  transition: transform 0.3s var(--ease-tick);
  display: inline-block;
}
.cap-row > button:hover .cap-title,
.cap-row.open .cap-title {
  color: var(--bone);
  -webkit-text-stroke-color: transparent;
  transform: translateX(10px);
}
.cap-row > button:hover .cap-no { color: var(--amber); }
.cap-row.open .cap-no { color: var(--amber); }
.cap-row.open .cap-hint .gl { transform: rotate(90deg); }

.cap-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-slam);
}
.cap-row.open .cap-body { grid-template-rows: 1fr; }
.cap-body > div { overflow: hidden; }
.cap-detail {
  display: grid;
  grid-template-columns: 74px minmax(0, 520px) minmax(0, 1fr);
  gap: 18px;
  padding-bottom: clamp(26px, 4vh, 40px);
}
.cap-detail .cap-kicker {
  grid-column: 2;
  font-family: var(--disp);
  font-variation-settings: 'wdth' 106, 'wght' 620;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 1.3;
  color: var(--amber);
  margin-bottom: 12px;
}
.cap-detail p {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--bone-60);
  font-variation-settings: 'wdth' 100, 'wght' 420;
}
.cap-tags {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.cap-tags span {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone-60);
  border: 1px solid var(--hair-hot);
  padding: 6px 10px;
  white-space: nowrap;
}
.cap-tags span::before { content: '> '; color: var(--amber); }

/* ── 07 PROCESS TERMINAL ──────────────────────────────────── */
.proc-stage { position: relative; }
.proc-pin {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 24px; padding-bottom: 24px;
}
.proc-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.term {
  border: 1px solid var(--hair-hot);
  background: color-mix(in srgb, var(--ink-2) 92%, transparent);
  font-family: var(--mono);
  font-size: clamp(11.5px, 1.15vw, 13.5px);
  line-height: 1.9;
}
.term-bar {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--hair);
  padding: 10px 16px;
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--bone-38);
}
.term-bar .mark { width: 13px; }
.term-bar .term-net { margin-left: auto; color: var(--amber-70); }
.term-body {
  padding: 22px 22px 26px;
  min-height: clamp(280px, 40vh, 420px);
  white-space: pre-wrap;
  word-break: break-word;
}
.term-body .ln { display: block; min-height: 1.9em; }
.term-body .cmd  { color: var(--bone); }
.term-body .cmd::before {
  content: '> '; color: var(--amber); font-weight: 500;
  opacity: 0.18; transition: opacity 0.2s linear;
}
.term-body .cmd.live::before { opacity: 1; }
.term-body .cmt  { color: var(--bone-38); }
.term-body .out  { color: var(--amber-70); padding-left: 1.35em; }

.proc-side { display: flex; flex-direction: column; gap: 10px; }
.proc-side .proc-count {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 63, 'wght' 800;
  font-size: clamp(120px, 17vw, 250px);
  line-height: 0.82;
  color: var(--ink);
  -webkit-text-stroke: 1px var(--amber-32);
  font-variant-numeric: tabular-nums;
}
.proc-side .proc-count b { color: var(--amber); -webkit-text-stroke: 0; font-weight: inherit; }
.proc-side .proc-name {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 118, 'wght' 840;
  text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 44px);
  color: var(--bone);
  min-height: 1.1em;
}
.proc-side .proc-desc {
  max-width: 330px;
  font-size: 14px; line-height: 1.65;
  color: var(--bone-60);
  min-height: 4.2em;
}
.proc-side .proc-meter { display: flex; gap: 6px; margin-top: 14px; }
.proc-side .proc-meter i {
  width: 34px; height: 2px;
  background: var(--bone-14);
  transition: background 0.25s linear;
}
.proc-side .proc-meter i.lit { background: var(--amber); }

/* ── 08 TELEMETRY PANEL ───────────────────────────────────── */
.tele-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border: 1px solid var(--hair);
  border-bottom: 0;
}
.tele-cell {
  position: relative;
  padding: clamp(26px, 4vh, 44px) clamp(18px, 2.4vw, 34px) clamp(22px, 3.4vh, 38px);
  border-bottom: 1px solid var(--hair);
  min-width: 0;
}
.tele-cell + .tele-cell { border-left: 1px solid var(--hair); }
.tele-cell .m-label { margin-bottom: 16px; }
.tele-num {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 64, 'wght' 800;
  font-size: clamp(64px, 8.4vw, 128px);
  line-height: 0.86;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tele-num .u { color: var(--amber); font-size: 0.55em; vertical-align: 0.42em; }
.tele-cell .tele-note {
  margin-top: 14px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--bone-38);
}
.tele-cell.hot { background: var(--amber-12); }
.tele-cell.hot .tele-num { color: var(--amber); }
/* asymmetric spans set inline via style attr on the page */

.session-strip {
  border: 1px solid var(--hair);
  border-top: 1px solid var(--amber-32);
  display: flex; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-60);
  font-variant-numeric: tabular-nums;
}
.session-strip .ss {
  flex: 1 1 150px;
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 18px;
  border-right: 1px solid var(--hair);
  white-space: nowrap;
}
.session-strip .ss:last-child { border-right: 0; }
.session-strip .ss .k { color: var(--bone-38); font-size: 9.5px; letter-spacing: 0.2em; }
.session-strip .ss .v { color: var(--amber); font-weight: 500; }
.session-note {
  margin-top: 12px;
  font-family: var(--mono); font-size: 10px; font-style: italic;
  letter-spacing: 0.08em;
  color: var(--bone-38);
}

/* ── 09 MANIFESTO ─────────────────────────────────────────── */
.manif { padding-bottom: 0; }
.manif-stage .manif-pin {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.manif-quote {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 117, 'wght' 870;
  text-transform: uppercase;
  font-size: clamp(34px, 6.6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.manif-quote .w { color: var(--bone-14); transition: color 0.18s linear; }
.manif-quote .w.lit { color: var(--bone); }
.manif-quote .row2 .w.lit { color: var(--amber); }
.manif-quote .row2 { display: inline; }
.manif-body {
  margin-top: clamp(28px, 5vh, 52px);
  max-width: 520px;
  margin-left: clamp(0px, 22vw, 420px);   /* offset — pulls the eye across */
  font-size: 15px; line-height: 1.75;
  color: var(--bone-60);
}
.manif-body b { color: var(--bone); font-weight: 500; }
.manif-sig {
  margin-top: 22px;
  margin-left: clamp(0px, 22vw, 420px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--amber-70);
}

/* ── 10 CTA CLIMAX ────────────────────────────────────────── */
.cta {
  position: relative;
  margin-top: clamp(90px, 14vh, 170px);
  border-top: 1px solid var(--hair);
  padding: clamp(80px, 13vh, 150px) var(--gutter) clamp(70px, 11vh, 130px);
  overflow: hidden;
}
.cta .cta-mark {
  position: absolute;
  right: -3%; top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 34vw, 560px);
  opacity: 0.1;
  pointer-events: none;
}
.cta-kicker { margin-bottom: 26px; }
.cta-h {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 120, 'wght' 880;
  text-transform: uppercase;
  font-size: clamp(44px, 8.4vw, 138px);
  line-height: 0.92;
  color: var(--bone);
  max-width: 10ch;
}
.cta-h .amber { display: block; }
.cta-prompt {
  margin-top: clamp(36px, 6vh, 60px);
  display: inline-flex; align-items: center; gap: 16px;
  border: 1px solid var(--amber-32);
  padding: clamp(18px, 3vh, 26px) clamp(20px, 3vw, 34px);
  font-family: var(--mono);
  font-size: clamp(15px, 2.1vw, 22px);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s linear;
  max-width: 100%;
}
.cta-prompt .fill {
  position: absolute; inset: 0;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-slam);
}
.cta-prompt > span { position: relative; z-index: 1; white-space: nowrap; }
.cta-prompt .p { color: var(--amber); font-weight: 500; }
.cta-prompt:hover { border-color: var(--amber); }
.cta-prompt:hover .fill { transform: scaleY(1); }
.cta-prompt:hover > span, .cta-prompt:hover .p { color: var(--ink); }
.cta-prompt .caret { position: relative; z-index: 1; }
.cta-prompt:hover .caret { background: var(--ink); }
.cta-alt {
  margin-top: 26px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  color: var(--bone-38);
}
.cta-alt a {
  color: var(--bone-60);
  border-bottom: 1px solid var(--amber-32);
  padding-bottom: 2px;
  transition: color 0.15s linear, border-color 0.15s linear;
}
.cta-alt a:hover { color: var(--amber); border-color: var(--amber); }

/* ── 11 SERVICES PAGE ─────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 168px var(--gutter) 64px;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: none;
  color: var(--bone-38);
}
.page-hero .crumb { margin-bottom: 22px; }
.crumb b, .crumb .amp { color: var(--amber); font-weight: 500; }
.page-hero h1 {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 121, 'wght' 880;
  text-transform: uppercase;
  font-size: clamp(46px, 9vw, 136px);
  line-height: 0.9;
  color: var(--bone);
}
.page-hero .page-hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 15px; line-height: 1.7;
  color: var(--bone-60);
}

.pillar {
  border-bottom: 1px solid var(--hair);
  padding: clamp(64px, 10vh, 120px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 90px);
}
.pillar:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.pillar:nth-child(even) .pillar-info { order: 2; }
.pillar-no {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 18px;
}
.pillar h2 {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 118, 'wght' 860;
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.94;
  color: var(--bone);
  margin-bottom: 20px;
}
.pillar .pillar-lede {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 105, 'wght' 600;
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.4;
  color: var(--amber);
  margin-bottom: 16px;
}
.pillar p { font-size: 14.5px; line-height: 1.75; color: var(--bone-60); max-width: 480px; }
.pillar .ptags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar .ptags span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--bone-60);
  border: 1px solid var(--hair-hot);
  padding: 6px 10px;
}
.pillar .ptags span::before { content: '> '; color: var(--amber); }

.spec-sheet { border: 1px solid var(--hair); align-self: start; }
.spec-sheet .spec-bar-head {
  display: flex; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hair);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--bone-38);
}
.spec-row { padding: 16px 18px 18px; border-bottom: 1px solid var(--hair); }
.spec-row:last-child { border-bottom: 0; }
.spec-row .spec-top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--bone-60);
  margin-bottom: 10px;
}
.spec-row .spec-top b { color: var(--amber); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-row .bar { height: 2px; background: var(--bone-14); position: relative; overflow: hidden; }
.spec-row .bar i {
  position: absolute; inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-slam);
}
.spec-row.in .bar i { transform: scaleX(var(--w, 0.5)); }
html.reduced .spec-row .bar i, html.no-js .spec-row .bar i { transform: scaleX(var(--w, 0.5)); }

/* ── 12 CONTACT PAGE ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  min-height: calc(100svh - 64px);
}
.contact-info {
  border-right: 1px solid var(--hair);
  padding: 168px clamp(24px, 3.6vw, 56px) 56px;
  display: flex; flex-direction: column; gap: 34px;
}
.contact-info h1 {
  font-family: var(--disp);
  font-variation-settings: 'wdth' 120, 'wght' 880;
  text-transform: uppercase;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 0.92;
  color: var(--bone);
}
.ci-block .m-label { margin-bottom: 8px; }
.ci-block .ci-v {
  font-family: var(--mono); font-size: 13.5px;
  letter-spacing: 0.05em; line-height: 1.8;
  color: var(--bone);
}
.ci-block .ci-v a { border-bottom: 1px solid var(--amber-32); transition: color 0.15s, border-color 0.15s; }
.ci-block .ci-v a:hover { color: var(--amber); border-color: var(--amber); }
.contact-info .ci-foot { margin-top: auto; }

.contact-form-wrap { padding: 168px clamp(24px, 4.5vw, 84px) 80px; }
.cf-head {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--bone-38);
  margin-bottom: 40px;
}
.cf-head b { color: var(--amber); font-weight: 500; }

.f-row { position: relative; margin-bottom: 34px; }
.f-row label {
  display: block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-38);
  margin-bottom: 10px;
  transition: color 0.2s linear;
}
.f-row label i { font-style: normal; color: var(--amber-70); margin-right: 8px; }
.f-row input, .f-row textarea, .f-row select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-hot);
  font-family: var(--mono); font-size: 15px;
  color: var(--bone);
  padding: 6px 0 12px;
  border-radius: 0;
  transition: border-color 0.25s linear;
}
.f-row select { appearance: none; -webkit-appearance: none; }
.f-row select option { background: var(--ink-2); color: var(--bone); }
.f-row .sel-chev {
  position: absolute; right: 2px; bottom: 14px;
  font-family: var(--mono); color: var(--amber);
  pointer-events: none;
  transform: rotate(90deg); display: inline-block;
  font-size: 13px;
}
.f-row textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.f-row input:focus, .f-row textarea:focus, .f-row select:focus {
  outline: none;
  border-bottom-color: var(--amber);
}
.f-row:focus-within label { color: var(--amber); }
.f-row .f-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-slam);
}
.f-row:focus-within .f-line { transform: scaleX(1); }

.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.form-status {
  margin-top: 18px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8;
  letter-spacing: 0.04em;
  min-height: 3.6em;
  white-space: pre-wrap;
}
.form-status .ok { color: var(--amber); }
.form-status .err { color: #e05545; }

/* ── 13 MOTION & RESPONSIVE ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

@media (max-width: 1100px) {
  :root { --rail-w: 0px; }
  #rail { display: none; }
  #nav { padding-left: var(--gutter); }
  .hero-telemetry { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; gap: 30px; }
  .proc-side { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 12px 22px; }
  .proc-side .proc-count { font-size: clamp(64px, 12vw, 110px); }
  .proc-side .proc-desc { min-height: 0; }
  .cap-detail { grid-template-columns: 0px minmax(0,1fr); }
  .cap-tags { grid-column: 2; grid-row: auto; justify-self: start; flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  .pillar, .pillar:nth-child(even) { grid-template-columns: 1fr; }
  .pillar:nth-child(even) .pillar-info { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: 0; border-bottom: 1px solid var(--hair); padding-top: 120px; gap: 24px; }
  .contact-form-wrap { padding-top: 56px; }
  .manif-body, .manif-sig { margin-left: 0; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  #menu-btn { display: block; }
  .hero { padding-top: 96px; }
  .hero-h1 { font-size: clamp(30px, 10vw, 60px); }
  .hero-h1 .l2 { margin-left: 7vw; }
  .hero-eyebrow { letter-spacing: 0.14em; }
  .sec-head { flex-wrap: wrap; }
  .sec-head .sec-coord { display: none; }
  .tele-num { font-size: clamp(40px, 13vw, 64px); }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .cap-row > button { grid-template-columns: 44px minmax(0,1fr); }
  .cap-row .cap-hint { display: none; }
  .cap-detail { grid-template-columns: 0px minmax(0,1fr); gap: 0 18px; }
  .tele-grid { grid-template-columns: 1fr 1fr; }
  .tele-cell { grid-column: auto !important; }
  .tele-cell + .tele-cell { border-left: 0; }
  .tele-cell:nth-child(even) { border-left: 1px solid var(--hair) !important; }
  .session-strip .ss { border-right: 0; border-bottom: 1px solid var(--hair); }
  .term-body { min-height: 300px; }
  .f-split { grid-template-columns: 1fr; }
  .cta-prompt { font-size: 13px; }
  .foot-links { margin-left: 0; }
}
