/* ==========================================================================
   NWE Group — corporate holding page
   Static, dependency-free. System font stacks only (no web font requests).
   ========================================================================== */

:root {
  /* Navy scale */
  --navy-950: #050B17;
  --navy-925: #07101F;
  --navy-900: #0A1426;
  --navy-850: #0D1A30;
  --navy-800: #122240;
  --navy-700: #1B2E52;

  /* Warm neutrals */
  --warm-50: #FBF9F5;
  --warm-100: #F6F3EE;
  --warm-200: #EEEAE2;
  --warm-300: #E2DDD3;

  /* Text */
  --text-on-dark: #E9EEF6;
  --muted-on-dark: #A9B5C8;
  --dim-on-dark: #7C8BA3;
  --ink: #0B1628;
  --ink-muted: #3F4A5B;
  --ink-dim: #667085;

  /* Accents (restrained) */
  --blue: #3D8BFF;
  --cyan: #3FD0E6;
  --teal: #2BC4A8;
  --blue-ink: #1F5FD1;
  --teal-ink: #0B6E66;

  /* Lines */
  --line-dark: rgba(148, 178, 222, 0.14);
  --line-dark-strong: rgba(148, 178, 222, 0.26);
  --line-light: rgba(11, 22, 40, 0.10);
  --line-light-strong: rgba(11, 22, 40, 0.18);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 32px;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --section-y: 136px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  font-kerning: normal;
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Focus & skip link ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-light :focus-visible { outline-color: var(--blue-ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--warm-100); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section-dark { background: var(--navy-900); color: var(--text-on-dark); }
.section-deep { background: var(--navy-950); color: var(--text-on-dark); overflow: hidden; }
.section-light { background: var(--warm-100); color: var(--ink); }
.section-alt { background: var(--warm-200); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7;
}
.section-light .eyebrow { color: var(--blue-ink); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
  max-width: 22ch;
}
h3 { font-weight: 600; letter-spacing: -0.01em; }

.lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 56ch;
  margin-top: 20px;
  color: var(--ink-muted);
  text-wrap: pretty;
}
.section-dark .lead, .section-deep .lead { color: var(--muted-on-dark); }

.section-head { margin-bottom: 64px; }
.section-head-center { text-align: center; }
.section-head-center h2, .section-head-center .lead { margin-left: auto; margin-right: auto; }
.section-head-split {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end;
}
.section-head-split .lead { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.btn .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-light { background: var(--warm-100); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(233, 238, 246, .22); color: var(--text-on-dark); }
.btn-ghost:hover { border-color: rgba(233, 238, 246, .5); background: rgba(233, 238, 246, .04); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ==========================================================================
   1. Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--text-on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 16, 31, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; border-radius: 6px; }
/* Approved lockup includes its own clear space; the negative margin aligns the monogram with the content edge */
.brand { --logo-h: 52px; }
.brand img { flex: none; max-width: none; height: var(--logo-h); width: auto; margin-left: calc(var(--logo-h) * -0.163); }

.site-nav { display: flex; align-items: center; gap: 44px; }
.site-nav ul { display: flex; gap: 38px; }
.site-nav ul a {
  position: relative;
  font-size: 14px; font-weight: 450; letter-spacing: .01em; color: var(--muted-on-dark); text-decoration: none;
  padding: 6px 0;
  transition: color .2s ease;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--text-on-dark); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--text-on-dark); cursor: pointer; border-radius: 8px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; margin: 0 auto;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 120px;
  background: var(--navy-900);
}
.hero-bg, .hero-bg::after {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg {
  background-image:
    linear-gradient(rgba(148, 178, 222, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 222, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
}
.hero-bg::after {
  content: "";
  background:
    radial-gradient(640px circle at 78% 22%, rgba(61, 139, 255, .16), transparent 62%),
    radial-gradient(520px circle at 8% 90%, rgba(43, 196, 168, .07), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-dark-strong), transparent);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 72px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 12em;
}
.hero-lead {
  margin-top: 28px;
  font-size: 18px; line-height: 1.65;
  color: var(--muted-on-dark);
  max-width: 31em;
  text-wrap: pretty;
}
.hero-lead strong { font-weight: 500; color: var(--text-on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px; max-width: 600px;
}
.hero-points li { border-top: 1px solid var(--line-dark-strong); padding-top: 16px; }
.hp-k {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 6px;
}
.hp-v { display: block; font-size: 14px; line-height: 1.5; color: var(--muted-on-dark); }

/* Architecture figure */
.arch {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 34, 64, .72), rgba(10, 20, 38, .72));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.arch-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--dim-on-dark); margin-bottom: 16px; padding: 0 2px;
}
.arch-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted-on-dark);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(43, 196, 168, .5);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 196, 168, .45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(43, 196, 168, 0); }
}
.arch-layer {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
  background: rgba(5, 11, 23, .35);
}
.arch-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 12px;
}
.arch-num { color: var(--cyan); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-size: 12.5px; line-height: 1.3; color: var(--text-on-dark);
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(233, 238, 246, .03);
}
.arch-platform {
  border-color: rgba(63, 208, 230, .34);
  background:
    linear-gradient(180deg, rgba(61, 139, 255, .12), rgba(63, 208, 230, .03)),
    rgba(5, 11, 23, .4);
  box-shadow: 0 0 0 4px rgba(63, 208, 230, .04), 0 18px 40px -20px rgba(61, 139, 255, .35);
}
.arch-platform .arch-label { color: var(--text-on-dark); font-weight: 600; }
.arch-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.arch-modules li {
  position: relative;
  font-size: 12.5px; line-height: 1.3; color: var(--text-on-dark);
  padding: 9px 10px 9px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(10, 20, 38, .7);
}
.arch-modules li::before {
  content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 1px; background: var(--cyan); opacity: .85;
}
.arch-ops { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.op {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 8px;
  background: rgba(233, 238, 246, .03);
  color: var(--text-on-dark);
}
.op .i { width: 22px; height: 22px; color: var(--muted-on-dark); }
.op strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.op span { display: block; font-size: 11.5px; color: var(--dim-on-dark); line-height: 1.4; }
.op-agent { border-color: rgba(63, 208, 230, .38); }
.op-agent .i { color: var(--cyan); }
.op-link {
  position: relative; width: 64px; text-align: center;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim-on-dark); line-height: 1.3;
}
.op-link::before {
  content: ""; display: block; height: 1px; margin-bottom: 6px;
  background: repeating-linear-gradient(90deg, var(--muted-on-dark) 0 3px, transparent 3px 6px);
  opacity: .6;
}
.chips-outcome li { border-color: rgba(43, 196, 168, .35); }

.arch-flow { position: relative; height: 26px; display: flex; justify-content: center; }
.arch-flow span {
  position: relative; width: 1px; height: 100%;
  background: linear-gradient(180deg, rgba(63, 208, 230, .1), rgba(63, 208, 230, .6));
  overflow: visible;
}
.arch-flow span::after {
  content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(63, 208, 230, .8);
  animation: flow 2.4s var(--ease) infinite;
}
.arch-flow:nth-of-type(2n) span::after { animation-delay: .8s; }
@keyframes flow {
  0% { transform: translateY(-2px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}

/* ==========================================================================
   3. Platform lifecycle
   ========================================================================== */
.lifecycle {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--warm-50);
  padding: 48px 28px 32px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -40px rgba(11, 22, 40, .25);
}
.lifecycle { --key: 150px; position: relative; }
.lifecycle-key { position: absolute; left: 28px; top: 47px; color: var(--ink-dim); }
.journey {
  position: relative;
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding-left: var(--key);
}
.journey::before {
  content: ""; position: absolute; top: 6px; height: 1px;
  left: calc(var(--key) + (100% - var(--key)) / 14); right: calc((100% - var(--key)) / 14);
  background: linear-gradient(90deg, var(--blue-ink), var(--teal-ink));
  opacity: .5;
}
.journey li { position: relative; padding: 0 8px; text-align: center; }
.step-node {
  position: relative; display: block; width: 13px; height: 13px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--warm-50);
  border: 1.5px solid var(--blue-ink);
}
.step-node::after {
  content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--blue-ink);
}
.journey li:nth-child(n+4) .step-node { border-color: #16657F; }
.journey li:nth-child(n+4) .step-node::after { background: #16657F; }
.journey li:nth-child(n+6) .step-node { border-color: var(--teal-ink); }
.journey li:nth-child(n+6) .step-node::after { background: var(--teal-ink); }
.step-num { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--ink-dim); }
.journey h3 {
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-weight: 650;
  margin: 6px 0 8px;
}
.journey p { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }

.state-rail {
  margin-top: 44px; padding-top: 26px;
  border-top: 1px dashed var(--line-light-strong);
}
.state-title { color: var(--ink-dim); margin-bottom: 10px; }
.state-rail li { position: relative; height: 38px; }
.state-rail li span {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-size: 13.5px; font-weight: 550; color: var(--ink);
}
.state-rail li::before {
  content: ""; position: absolute; top: 50%; height: 1px;
  left: calc(var(--key) + (100% - var(--key)) / 14); right: calc((100% - var(--key)) / 14);
  background: var(--line-light-strong);
}
.state-rail li::after {
  content: ""; position: absolute; top: calc(50% - 3.5px); left: var(--key); right: 0; height: 7px;
  background-image: radial-gradient(circle, var(--c, var(--blue-ink)) 2.6px, transparent 3.1px);
  background-size: calc(100% / 7) 7px;
  background-repeat: repeat-x;
}
.state-rail li:nth-child(1) { --c: #1F5FD1; }
.state-rail li:nth-child(2) { --c: #1A6BB0; }
.state-rail li:nth-child(3) { --c: #16657F; }
.state-rail li:nth-child(4) { --c: #0B6E66; }

/* ==========================================================================
   4. Capabilities
   ========================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  transition: border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cap { padding: 26px 24px 28px; }
.cap:hover {
  border-color: var(--line-light-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -28px rgba(11, 22, 40, .35);
}
.cap-icon {
  width: 42px; height: 42px; padding: 9px;
  border-radius: 9px;
  color: var(--blue-ink);
  background: linear-gradient(180deg, rgba(31, 95, 209, .08), rgba(11, 110, 102, .06));
  border: 1px solid rgba(31, 95, 209, .14);
  stroke-width: 1.4;
}
.cap h3 { font-size: 16px; font-weight: 550; line-height: 1.3; letter-spacing: -0.005em; margin: 20px 0 10px; }
.cap ul li {
  position: relative; padding-left: 16px;
  font-size: 14px; line-height: 1.5; color: var(--ink-muted);
}
.cap ul li + li { margin-top: 5px; }
.cap ul li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--ink-dim);
}

/* ==========================================================================
   5. AI Agent Operators
   ========================================================================== */
#ai-operators { overflow: hidden; }
#ai-operators::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px circle at 85% 0%, rgba(61, 139, 255, .10), transparent 60%);
}
#ai-operators .container { position: relative; }

.contrast {
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: rgba(13, 26, 48, .6);
  overflow: hidden;
}
.contrast-row { padding: 28px 32px 30px; }
.contrast-row + .contrast-row { border-top: 1px solid var(--line-dark); }
.contrast-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 18px; }
.contrast-label .mono { color: var(--text-on-dark); }
.contrast-note { font-size: 13px; line-height: 1.5; color: var(--dim-on-dark); }
.contrast-old { background: rgba(5, 11, 23, .35); }
.contrast-old .mono { color: var(--dim-on-dark); }
.contrast-new { background: linear-gradient(90deg, rgba(61, 139, 255, .07), rgba(63, 208, 230, .03)); }
.contrast-new .mono { color: var(--cyan); }

.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 34px; }
.flow li { position: relative; display: flex; }
.flow li > span {
  flex: 1;
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 8px;
  font-size: 13.5px; line-height: 1.3;
  color: var(--text-on-dark);
  background: rgba(233, 238, 246, .03);
}
/* connector line + arrowhead in the column gap */
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(100% + 5px); top: 50%; width: 22px; height: 1px;
  background: currentColor; opacity: .55;
}
.flow li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(100% + 20px); top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .75;
}
.flow-old li { color: var(--dim-on-dark); }
.flow-old li > span { color: var(--dim-on-dark); border-color: var(--line-dark-strong); border-style: dashed; background: none; }
.flow-new li { color: var(--cyan); }
.flow-new .flow-key > span {
  border-color: rgba(63, 208, 230, .6);
  background: rgba(63, 208, 230, .10);
  color: #fff; font-weight: 600;
}
.flow-new .flow-gate > span { border-color: rgba(43, 196, 168, .55); background: rgba(43, 196, 168, .07); }
.flow-new .flow-end > span { background: var(--warm-100); border-color: var(--warm-100); color: var(--ink); font-weight: 600; }

.pull-quote {
  margin: 64px auto 72px;
  max-width: 900px;
  text-align: center;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.pull-quote p::before, .pull-quote p::after { color: var(--cyan); }
.pull-quote p::before { content: "“"; }
.pull-quote p::after { content: "”"; }

.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sub-title {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-on-dark);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.sub-title:not(:first-child) { margin-top: 44px; }
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.work-list li {
  position: relative; padding-left: 26px;
  font-size: 15px; line-height: 1.45; color: var(--text-on-dark);
}
.work-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 15px; height: 15px;
  border: 1px solid rgba(63, 208, 230, .45); border-radius: 4px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 5px 5px no-repeat;
}
.work-list li:nth-child(n+10)::before {
  border-color: rgba(43, 196, 168, .55);
  background: linear-gradient(var(--teal), var(--teal)) center / 5px 5px no-repeat;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 13.5px; color: var(--text-on-dark);
  padding: 7px 12px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 999px;
  background: rgba(233, 238, 246, .03);
}
.fine { margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--dim-on-dark); max-width: 52ch; }

/* Operator trace */
.trace {
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 34, 64, .8), rgba(10, 20, 38, .9));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.trace-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-dark);
}
.trace-kicker { display: block; font-size: 10.5px; color: var(--cyan); margin-bottom: 6px; }
.trace-title { display: block; font-size: 16px; font-weight: 600; color: var(--text-on-dark); line-height: 1.35; }
.badge {
  flex: none;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 5px;
  color: var(--cyan); border: 1px solid rgba(63, 208, 230, .45); background: rgba(63, 208, 230, .06);
}
.trace-steps { position: relative; padding: 20px 22px 8px; }
.trace-steps::before {
  content: ""; position: absolute; left: 30px; top: 30px; bottom: 36px; width: 1px;
  background: var(--line-dark-strong);
}
.trace-steps li {
  position: relative; display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 0 0 16px 30px;
}
.trace-steps li::before {
  content: ""; position: absolute; left: 3px; top: 5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--navy-900); border: 1.5px solid var(--teal);
}
.trace-steps li.done::after {
  content: ""; position: absolute; left: 6.5px; top: 8.5px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal);
}
.trace-steps li.wait::before { border-color: #E3B45B; border-style: dashed; }
.t-k { font-size: 14px; font-weight: 600; color: var(--text-on-dark); line-height: 1.4; }
.t-v { font-size: 13px; color: var(--muted-on-dark); line-height: 1.45; }
.trace-steps li.wait .t-k { color: #F1CD85; }
.trace-foot {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  padding: 14px 22px;
  border-top: 1px solid var(--line-dark);
  background: rgba(5, 11, 23, .45);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.trace-illus { margin-left: auto; color: var(--dim-on-dark); }

/* ==========================================================================
   6. Autonomy model
   ========================================================================== */
.autonomy-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(61, 139, 255, .12), transparent 70%),
    radial-gradient(700px 360px at 50% 100%, rgba(43, 196, 168, .07), transparent 70%);
}
.section-deep .container { position: relative; }

.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.level {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 12px;
  background: rgba(13, 26, 48, .55);
  display: flex; flex-direction: column;
}
.level:nth-child(2) { background: rgba(18, 34, 64, .62); }
.level:nth-child(3) { background: rgba(22, 42, 78, .66); border-color: rgba(63, 208, 230, .26); }
.level:nth-child(4) {
  background: linear-gradient(160deg, rgba(61, 139, 255, .18), rgba(63, 208, 230, .06)), rgba(18, 34, 64, .7);
  border-color: rgba(63, 208, 230, .45);
  box-shadow: 0 30px 60px -30px rgba(61, 139, 255, .4);
}
.level:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -15px; width: 10px; height: 10px; margin-top: -5px;
  border-top: 1.5px solid var(--muted-on-dark); border-right: 1.5px solid var(--muted-on-dark);
  transform: rotate(45deg);
  opacity: .7;
}
.level-num { color: var(--dim-on-dark); }
.level h3 {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: -0.012em; font-weight: 500;
  margin: 10px 0 10px;
  color: var(--text-on-dark);
}
.level:nth-child(4) h3 { color: #fff; }
.level > p:not(.level-role) { font-size: 14.5px; line-height: 1.5; color: var(--muted-on-dark); flex: 1; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 22px 0 16px; }
.meter i { height: 4px; border-radius: 2px; background: rgba(148, 178, 222, .16); }
.level:nth-child(1) .meter i:nth-child(-n+1),
.level:nth-child(2) .meter i:nth-child(-n+2),
.level:nth-child(3) .meter i:nth-child(-n+3),
.level:nth-child(4) .meter i:nth-child(-n+4) {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.level-role {
  font-size: 13.5px; color: var(--text-on-dark);
  padding-top: 14px; border-top: 1px solid var(--line-dark);
}
.level-role span {
  display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim-on-dark); margin-bottom: 3px;
}

.drops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; height: 52px; }
.drops span { position: relative; }
.drops span::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(148, 178, 222, .35), rgba(63, 208, 230, .7));
}
.drops span::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 7px; height: 7px; margin-left: -3.5px;
  border-right: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan);
  transform: rotate(45deg);
}

.control-layer {
  position: relative;
  border: 1px solid rgba(63, 208, 230, .32);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 26, 48, .92), rgba(7, 16, 31, .92));
  padding: 26px 28px 30px;
  box-shadow: 0 0 0 6px rgba(63, 208, 230, .03), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.control-layer::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--teal), transparent);
}
.control-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.control-head .mono { color: var(--cyan); font-size: 11px; }
.control-sub { font-size: 13.5px; color: var(--muted-on-dark); }
.controls { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.controls li {
  padding: 4px 18px;
  border-left: 1px solid var(--line-dark);
}
.controls li:first-child { border-left: 0; padding-left: 0; }
.controls .i { width: 24px; height: 24px; color: var(--cyan); margin-bottom: 14px; }
.controls strong {
  display: block; font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-on-dark); margin-bottom: 4px;
}
.controls span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted-on-dark); }

.authority {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center;
  margin-top: 96px;
}
.authority-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.16; letter-spacing: -0.016em; font-weight: 500;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.authority-quote footer {
  margin-top: 24px; font-size: 16px; line-height: 1.6; color: var(--muted-on-dark); max-width: 44ch;
}
.authority-chart {
  padding: 22px 22px 14px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  background: rgba(13, 26, 48, .5);
}
.authority-chart svg { width: 100%; height: auto; overflow: visible; }
.ch-grid line { stroke: rgba(148, 178, 222, .28); stroke-width: 1; }
.ch-cap { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 5 5; }
.ch-auth { fill: none; stroke: var(--warm-100); stroke-width: 2.5; stroke-linejoin: round; }
.ch-gates circle { fill: var(--navy-950); stroke: var(--warm-100); stroke-width: 2; }
.ch-axis { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; fill: var(--muted-on-dark); }
.ch-legend text { font-size: 12.5px; fill: var(--text-on-dark); }
.ch-legend circle { fill: var(--navy-950); stroke: var(--warm-100); stroke-width: 2; }

/* ==========================================================================
   7. Why NWE
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.why-chain { margin-top: 40px; position: relative; }
.why-chain::before {
  content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px;
  background: linear-gradient(180deg, var(--blue-ink), var(--teal-ink)); opacity: .35;
}
.why-chain li {
  position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 18px; align-items: baseline;
  font-size: 17px; line-height: 1.5; color: var(--ink);
  padding: 10px 0;
}
.why-chain .mono {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--warm-100); border: 1px solid var(--line-light-strong);
  font-size: 10.5px; letter-spacing: .04em; color: var(--blue-ink);
  position: relative; top: -2px;
}
.why-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 34px 0;
  border-top: 1px solid var(--line-light-strong);
}
.why-list li:last-child { border-bottom: 1px solid var(--line-light-strong); }
.why-num { color: var(--blue-ink); padding-top: 6px; }
.why-list h3 { font-size: 20px; font-weight: 550; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 8px; }
.why-list p { font-size: 16px; line-height: 1.6; color: var(--ink-muted); max-width: 52ch; }

/* ==========================================================================
   8. Regulatory scope
   ========================================================================== */
.section-scope { padding: 120px 0; }
.section-scope::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 300px at 50% 100%, rgba(63, 208, 230, .08), transparent 70%);
}
.section-scope .container { position: relative; }
.regimes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.regimes li {
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius);
  background: rgba(13, 26, 48, .6);
  transition: border-color .25s ease, background-color .25s ease;
}
.regimes li:hover { border-color: rgba(63, 208, 230, .45); background: rgba(18, 34, 64, .7); }
.regimes li::after {
  content: ""; position: absolute; left: 50%; bottom: -33px; width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--line-dark-strong), rgba(63, 208, 230, .6));
}
.regimes strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}
.regimes span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted-on-dark); }
.foundation {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  padding: 18px 24px;
  border: 1px solid rgba(63, 208, 230, .35);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(61, 139, 255, .10), rgba(63, 208, 230, .06), rgba(43, 196, 168, .08));
}
.foundation .mono { color: var(--cyan); }
.foundation-items { font-size: 14px; color: var(--text-on-dark); }

/* ==========================================================================
   9. Operating model
   ========================================================================== */
.opm {
  display: grid; grid-template-columns: 110px minmax(0, 820px) 110px; justify-content: center; gap: 24px;
}
.opm-side { position: relative; display: flex; justify-content: center; }
.opm-side::before {
  content: ""; position: absolute; top: 18px; bottom: 18px; left: 50%; width: 1px;
  background: var(--line-light-strong);
}
.opm-side::after {
  content: ""; position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-right: 1.5px solid var(--ink-dim); border-bottom: 1.5px solid var(--ink-dim);
}
.opm-down::after { bottom: 18px; transform: rotate(45deg); }
.opm-up::after { top: 18px; transform: rotate(-135deg); }
.opm-side span {
  position: relative; align-self: center;
  writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim);
  background: var(--warm-100);
  padding: 12px 0;
}
.opm-down span { transform: rotate(180deg); }

.opm-layers { display: grid; gap: 40px; }
.opm-layer {
  position: relative;
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--line-light-strong);
  border-radius: var(--radius-lg);
  background: #fff;
}
.opm-layer:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -41px; width: 1px; height: 40px;
  background: repeating-linear-gradient(180deg, var(--ink-dim) 0 3px, transparent 3px 6px);
  opacity: .55;
}
.opm-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--blue-ink); }
.opm-meta .i { width: 26px; height: 26px; color: var(--ink-muted); }
.opm-layer h3 { font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin-bottom: 6px; }
.opm-layer p { font-size: 17px; line-height: 1.5; color: var(--ink-muted); }
.opm-platform {
  background: linear-gradient(135deg, var(--navy-850), var(--navy-900));
  border-color: var(--navy-700);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 38, .6);
  padding: 34px 32px;
}
.opm-platform::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--teal), transparent);
}
.opm-platform .opm-meta { color: var(--cyan); }
.opm-platform h3 { color: #fff; }
.opm-platform p { color: var(--muted-on-dark); }

.closing-statement {
  margin: 112px auto 0; max-width: 940px; text-align: center;
  padding-top: 56px; border-top: 1px solid var(--line-light-strong);
}
.closing-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.34; letter-spacing: -0.012em; font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

/* ==========================================================================
   10. CTA & footer
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  padding: 150px 0 160px;
  background: var(--navy-925);
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 178, 222, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 222, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 70%);
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 320px at 50% 38%, rgba(61, 139, 255, .20), transparent 70%),
    radial-gradient(420px 260px at 58% 72%, rgba(43, 196, 168, .10), transparent 70%);
}
.cta-inner { position: relative; }
.cta h2 {
  margin: 0 auto;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.08; letter-spacing: -0.02em;
  max-width: 17em;
}
.cta .lead { margin: 26px auto 0; max-width: 56ch; }
.cta-actions { margin-top: 44px; display: flex; justify-content: center; }
.cta-email { margin-top: 22px; font-size: 14px; color: var(--dim-on-dark); }
.cta-email a { color: var(--muted-on-dark); text-decoration-color: rgba(154, 168, 191, .4); text-underline-offset: 3px; }
.cta-email a:hover { color: var(--text-on-dark); }

.site-footer { background: var(--navy-950); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-brand img { max-width: none; height: 44px; width: auto; margin-left: -7px; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-base::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: var(--line-dark);
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { font-size: 14px; text-decoration: none; color: var(--muted-on-dark); transition: color .2s ease; }
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-base {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  position: relative;
  padding-top: 22px; padding-bottom: 32px;
  font-size: 12.5px; color: var(--dim-on-dark);
}

/* ==========================================================================
   Motion: reveal on scroll (only when JS is running)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.cap-grid .reveal:nth-child(4n+2), .why-list .reveal:nth-child(2) { transition-delay: .06s; }
.cap-grid .reveal:nth-child(4n+3), .why-list .reveal:nth-child(3) { transition-delay: .12s; }
.cap-grid .reveal:nth-child(4n+4), .why-list .reveal:nth-child(4) { transition-delay: .18s; }
.why-list .reveal:nth-child(5) { transition-delay: .24s; }
.hero .reveal:nth-child(2) { transition-delay: .06s; }
.hero .reveal:nth-child(3) { transition-delay: .12s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; }
.hero .reveal:nth-child(5) { transition-delay: .24s; }
.hero .arch.reveal { transition-delay: .2s; }

/* Meter fill animates in with its section */
.js .levels .meter i { transition: background-color .4s ease; }
.js .levels:not(.is-visible) .meter i { background: rgba(148, 178, 222, .16); }

/* Chart line draw */
.js .authority:not(.is-visible) .ch-auth { stroke-dasharray: 800; stroke-dashoffset: 800; }
.js .authority.is-visible .ch-auth { stroke-dasharray: 800; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) .3s; }

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
  .arch-flow span::after { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  :root { --section-y: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero h1 { max-width: 16ch; }
  .arch { max-width: 680px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .controls { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .controls li:nth-child(4) { border-left: 0; padding-left: 0; }
  .regimes { grid-template-columns: repeat(3, 1fr); }
  .regimes li::after { display: none; }
  .authority { grid-template-columns: 1fr; gap: 40px; }

  .contrast { display: grid; grid-template-columns: 1fr 1.3fr; }
  .contrast-row + .contrast-row { border-top: 0; border-left: 1px solid var(--line-dark); }
  .contrast-label { display: block; }
  .contrast-label .mono { display: block; margin-bottom: 4px; }
  .flow { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; }
  .flow li > span { flex: none; min-height: 0; padding: 9px 13px; white-space: nowrap; }
  .flow li:not(:last-child)::after { left: 22px; top: calc(100% + 5px); width: 1px; height: 22px; }
  .flow li:not(:last-child)::before { left: 18.5px; top: calc(100% + 19px); margin-top: 0; transform: rotate(135deg); }
  .authority-chart { max-width: 640px; }
  .why-grid { gap: 56px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: var(--navy-925);
    border-bottom: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-header.is-open .site-nav {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .site-nav ul a::after { display: none; }
  .nav-cta { align-self: flex-start; }

  .section-head-split { grid-template-columns: 1fr; gap: 0; }
  .section-head-split .lead { margin-top: 22px; }

  /* Lifecycle becomes vertical */
  .lifecycle { padding: 32px 24px 28px; }
  .lifecycle-key { display: none; }
  .journey { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .journey::before {
    top: 8px; bottom: 30px; left: 6px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--blue-ink), var(--teal-ink));
  }
  .journey li {
    display: grid; grid-template-columns: 13px 40px 1fr; column-gap: 18px; align-items: baseline;
    text-align: left; padding: 0 0 22px;
  }
  .step-node { margin: 0; grid-row: span 2; align-self: start; margin-top: 3px; }
  .step-num { grid-column: 2; grid-row: 1 / span 2; }
  .journey h3 { grid-column: 3; margin: 0 0 2px; }
  .journey p { grid-column: 3; }
  .state-rail { margin-top: 12px; }
  .state-title { padding-left: 0; }
  .state-rail ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .state-rail li { height: auto; }
  .state-rail li::before, .state-rail li::after { display: none; }
  .state-rail li span {
    position: static; transform: none; display: inline-block; padding: 6px 12px;
    border: 1px solid var(--line-light-strong); border-radius: 999px; background: #fff;
  }

  .contrast-row { padding: 24px; }
  .ops-grid { grid-template-columns: 1fr; gap: 56px; }

  .levels { grid-template-columns: repeat(2, 1fr); }
  .level:nth-child(2)::after { display: none; }
  .drops { display: none; }
  .control-layer { margin-top: 20px; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-intro { position: static; }

  .opm { grid-template-columns: minmax(0, 1fr); }
  .opm-side { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 84px; --header-h: 64px; }
  .brand { --logo-h: 44px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 80px; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 2.4rem); }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .hero-points li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 12px; }
  .hp-k { margin: 2px 0 0; }
  .arch { padding: 14px; }
  .arch-layer { padding: 12px; }
  .arch-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .arch-modules { grid-template-columns: repeat(2, 1fr); }
  .arch-ops { grid-template-columns: 1fr; }
  .op-link { width: auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .op-link::before, .op-link::after { content: ""; display: block; flex: 1; height: 1px; margin: 0; background: repeating-linear-gradient(90deg, var(--muted-on-dark) 0 3px, transparent 3px 6px); opacity: .5; }

  .section-head { margin-bottom: 44px; }
  .lead { font-size: 16.5px; }
  .cap-grid { grid-template-columns: 1fr; }

  .contrast { grid-template-columns: 1fr; }
  .contrast-row + .contrast-row { border-left: 0; border-top: 1px solid var(--line-dark); }
  .flow li > span { white-space: normal; }
  .work-list { grid-template-columns: 1fr; }
  .trace-foot { gap: 6px 14px; }
  .trace-illus { margin-left: 0; }

  .levels { grid-template-columns: 1fr; gap: 26px; }
  .level::after { display: none; }
  .level:not(:last-child)::after {
    display: block; top: auto; bottom: -19px; right: auto; left: 50%; margin: 0 0 0 -5px;
    transform: rotate(135deg);
  }
  .controls { grid-template-columns: repeat(2, 1fr); }
  .controls li, .controls li:nth-child(4) { border-left: 0; padding: 0 12px 0 0; }
  .control-layer { padding: 22px 20px 24px; }
  .authority { margin-top: 64px; }
  .authority-chart { padding: 14px 10px 6px; }
  .ch-axis { font-size: 12.5px; letter-spacing: .06em; }
  .ch-legend text { font-size: 15px; }

  .why-list li { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .why-list h3 { font-size: 18px; }

  .regimes { grid-template-columns: repeat(2, 1fr); }
  .regimes strong { font-size: 19px; }

  .opm-layer { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .opm-meta { justify-content: flex-end; flex-direction: row-reverse; }
  .opm-layer p { font-size: 16px; }
  .closing-statement { margin-top: 72px; padding-top: 44px; }

  .cta { padding: 104px 0 112px; }
  .cta-actions .btn { width: 100%; }
  .footer-base { flex-direction: column; }
}

/* 404 page */
.notfound { min-height: 100vh; display: grid; place-items: center; padding: 96px 0; }
.notfound .brand { display: flex; width: max-content; margin: 0 auto 48px; }
.notfound .brand img { margin-left: calc(var(--logo-h) * -0.163); margin-right: calc(var(--logo-h) * -1.5); } /* centre the artwork, not its clear space */
.notfound .eyebrow { justify-content: center; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; max-width: 18ch; margin: 0 auto; }
