:root {
  --void: #07080a;
  --charcoal: #10131a;
  --graphite: #171b22;
  --ivory: #f3f0e8;
  --ivory-dim: #c9c4b8;
  --muted: #b7b2a6;
  --silver: #c5cbd3;
  --line: rgba(243, 240, 232, 0.14);
  --line-strong: rgba(243, 240, 232, 0.28);
  --cobalt: #2457e6;
  --cobalt-deep: #1636a8;
  --cyan: #8fb4d4;
  --ink: #14171c;
  --paper: #f3f0e8;
  --oxide: #c45c4a;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 72px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--void); overflow-x: clip; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}

::selection { background: var(--cobalt-deep); color: var(--ivory); }

:focus-visible {
  outline: 1px solid var(--cobalt);
  outline-offset: 3px;
}

#content:focus { outline: none; }

a { color: inherit; }

button, a, [data-magnetic] { cursor: pointer; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ivory);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus { top: 16px; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.dek {
  max-width: 42rem;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  font-weight: 400;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
}

.progress-bar {
  display: block;
  height: 100%;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.frame {
  position: fixed;
  inset: 12px;
  border: 1px solid rgba(243, 240, 232, 0.14);
  pointer-events: none;
  z-index: 70;
}

html.on-light .frame { border-color: rgba(20, 23, 28, 0.16); }

.nav {
  --nav-fg: var(--ivory);
  position: fixed;
  top: 22px;
  left: 28px;
  right: 28px;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  min-height: 52px;
  padding: 0 8px 0 0;
  color: var(--nav-fg);
}

.nav.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  min-height: 64px;
  background: rgba(7, 8, 10, 0.92);
  border: 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  padding: 0 28px;
}

.nav.is-light { --nav-fg: var(--ink); color: var(--ink); }

.nav.is-light.is-scrolled {
  background: rgba(243, 240, 232, 0.94);
  border-bottom-color: rgba(20, 23, 28, 0.12);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--nav-fg);
  min-height: 44px;
}

.nav-mark {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: none;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 28px);
}

.nav-links a {
  position: relative;
  color: var(--nav-fg);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-index {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--nav-fg);
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.nav-index-label,
.nav-index-total { color: var(--muted); }

.nav.is-light .nav-index-label,
.nav.is-light .nav-index-total { color: #5c6370; }

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--nav-fg);
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.nav.is-light .nav-toggle { border-color: rgba(20, 23, 28, 0.3); }

.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #07080a;
  padding: 108px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.nav-menu[hidden] { display: none; }

.nav-menu-kicker {
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.72rem;
}

.nav-menu a {
  display: flex;
  gap: 16px;
  align-items: baseline;
  text-decoration: none;
  color: var(--ivory);
  font-size: clamp(2rem, 8vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 0.95;
  padding: 6px 0;
}

.nav-menu a span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-weight: 400;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18vh var(--pad) 28px;
  overflow: hidden;
}

.hero-gridline {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 240, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 240, 232, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 72% 42%, #000 10%, transparent 68%);
  pointer-events: none;
}

.instrument {
  position: absolute;
  width: min(92vw, 760px);
  aspect-ratio: 1;
  right: -28vw;
  top: 6vh;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 52%, transparent 80%);
  mask-image: linear-gradient(#000 52%, transparent 80%);
}

.instrument-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.ring,
.plate,
.ring-spin { position: absolute; inset: 0; }

.ring {
  border-radius: 50%;
  border: 1px solid rgba(243, 240, 232, 0.32);
}

.ring-eq { inset: 4%; transform: rotateX(74deg); border-color: rgba(197, 203, 211, 0.55); }
.ring-meridian { inset: 10%; transform: rotateY(72deg); border-color: rgba(243, 240, 232, 0.38); }
.ring-spin { inset: 2%; animation: spin 46s linear infinite; }
.ring-cobalt { border-color: rgba(36, 87, 230, 0.9); transform: rotateX(78deg) rotateZ(18deg); }
.plate { inset: 5%; overflow: visible; }
.plate text {
  fill: #c5cbd3;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.hero-kicker { position: relative; z-index: 2; margin-top: 0; }

.hero-layout {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: grid;
  gap: 1.25rem;
}

.hero-title {
  font-size: clamp(2.7rem, 10.4vw, 9.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-transform: uppercase;
  max-width: 12ch;
}

.hero-title span { display: block; }

.hero-title em {
  font-style: normal;
  font-weight: 450;
  color: var(--silver);
  margin-right: 0.18em;
}

.hero-support {
  max-width: 34ch;
  color: var(--ivory-dim);
  font-size: 1rem;
}

.hero-meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 8, 10, 0), rgba(7, 8, 10, 0.92) 28%);
}

.hero-meta li {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.scroll-ind {
  position: absolute;
  left: 18px;
  bottom: 18vh;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 12px;
  transform: rotate(-90deg);
  transform-origin: left center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 64px;
  height: 1px;
  background: rgba(243, 240, 232, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: var(--ivory);
  animation: crawl 2.4s ease-in-out infinite;
}

@keyframes crawl {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

@keyframes spin { to { transform: rotate(360deg); } }

.origin { position: relative; background: var(--void); }

.origin-stage {
  position: relative;
  min-height: 100svh;
  padding: 14vh var(--pad) 6vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.watermark {
  position: absolute;
  right: -2vw;
  top: 6vh;
  margin: 0;
  font-size: clamp(8rem, 28vw, 24rem);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 232, 0.16);
  pointer-events: none;
}

.origin-title {
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 14ch;
  position: relative;
}

.origin-line { display: block; overflow: hidden; }

.origin-line span { display: block; }

.origin-dek { margin-top: 1.25rem; position: relative; max-width: 38rem; }

.trajectory { position: relative; margin-top: auto; min-height: 42vh; }

.trajectory-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trajectory-path {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.stations { position: absolute; inset: 0; }

.station {
  position: absolute;
  max-width: 16ch;
}

.station span,
.station small {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.station strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.station-01 { left: 2%; top: 68%; }
.station-02 { left: 22%; top: 50%; }
.station-03 { left: 42%; top: 34%; }
.station-04 { left: 62%; top: 18%; }
.station-05 { left: 78%; top: 2%; }

.industries { background: var(--charcoal); }

.industries-viewport { overflow-x: auto; }

.industries-track { display: block; }

.chapter {
  position: relative;
  min-height: 100svh;
  padding: 14vh var(--pad) 8vh;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  --mx: 0;
  --my: 0;
}

.chapter-intro { justify-content: flex-end; background: var(--void); }

.chapter-intro h2,
.section-head h2,
.engine h2,
.showup h2,
.global h2,
.principle h2,
.finale h2 {
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.chapter-intro h2 {
  font-size: clamp(2.4rem, 5.6vw, 5.8rem);
  max-width: 12ch;
}

.chapter-intro .dek { margin-top: 1.25rem; }

.chapter-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.readout {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chapter:hover .readout { opacity: 1; }

.chapter-title {
  margin-top: auto;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
  max-width: 10ch;
  transform: translate3d(calc(var(--mx) * 12px), 0, 0);
  transition: transform 0.5s ease, color 0.4s ease;
}

.chapter:hover .chapter-title { color: var(--ivory); }

.chapter-bottom {
  display: grid;
  gap: 16px;
  margin-top: 1.5rem;
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.chapter-bottom p { color: var(--ivory-dim); }

.tags { display: flex; flex-wrap: wrap; gap: 8px 14px; }

.tags li {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  border-top: 1px solid var(--line-strong);
  padding-top: 6px;
}

.diagram-layer {
  position: absolute;
  right: 4vw;
  top: 18vh;
  width: min(46vw, 520px);
  opacity: 0.78;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -16px), 0);
  transition: transform 0.45s ease, opacity 0.45s ease;
  pointer-events: none;
}

.chapter:hover .diagram-layer { opacity: 1; }

.diagram {
  width: 100%;
  height: auto;
  fill: none;
  stroke: rgba(243, 240, 232, 0.82);
  stroke-width: 1.25;
}

.chapter-deep .diagram circle { fill: var(--cyan); stroke: none; }
.chapter-auto .diagram circle { fill: none; }

.chapter::after {
  content: "";
  position: absolute;
  width: min(42vh, 360px);
  height: min(42vh, 360px);
  border: 1px solid transparent;
  right: 8vw;
  bottom: 12vh;
  transform: rotate(16deg);
  transition: border-color 0.5s ease, transform 0.7s ease;
  pointer-events: none;
}

.chapter:hover::after {
  border-color: rgba(36, 87, 230, 0.55);
  transform: rotate(4deg) scale(1.04);
}

.scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  top: 20%;
  background: linear-gradient(90deg, transparent, rgba(143, 180, 212, 0.9), transparent);
  opacity: 0;
  pointer-events: none;
}

.chapter:hover .scan {
  opacity: 1;
  animation: scan 1.8s ease forwards;
}

@keyframes scan {
  from { top: 16%; }
  to { top: 84%; }
}

.cmap-section,
.engine,
.global,
.scale,
.impact {
  padding: 12vh var(--pad);
  background: var(--void);
}

.section-head h2 { font-size: clamp(2.4rem, 5vw, 5rem); max-width: 14ch; }
.section-head .dek { margin-top: 1rem; }

.cmap {
  position: relative;
  margin-top: 6vh;
  aspect-ratio: 1200 / 680;
}

.cmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.cmap-path {
  fill: none;
  stroke: rgba(36, 87, 230, 0.85);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.cmap-node { fill: var(--ivory); }

.cluster {
  position: absolute;
  width: min(210px, 20vw);
  transform: translate(14px, -6px);
}

.cluster p,
.os-step span,
.life-step span,
.problem-line span,
.claims span,
.subsystem p {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.cluster h3 {
  margin: 6px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.cluster li {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  line-height: 1.45;
}

.engine { background: linear-gradient(180deg, #0c0e12 0%, #10141c 100%); }

.os {
  margin-top: 6vh;
  display: grid;
  gap: 28px;
}

.os-pane {
  border-top: 1px solid var(--line-strong);
  padding-top: 16px;
}

.os-pane dl { margin: 1rem 0 0; }

.os-pane div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.os-pane dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.os-pane dd { margin: 0; }

.os-out {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.9;
}

.os-pane-out p:last-child { color: var(--ivory-dim); max-width: 28ch; }

.os-bus { display: grid; }

.os-step {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  opacity: 1;
}

.os-step strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.os-step em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.js .os-step { opacity: 0.38; }
.js .os-step.is-hot {
  opacity: 1;
  border-top-color: rgba(36, 87, 230, 0.8);
}

.showup { background: #090b10; }

.showup-stage {
  min-height: 100svh;
  padding: 13vh var(--pad) 5vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.showup h2 {
  font-size: clamp(2.8rem, 6.5vw, 6.6rem);
  max-width: 12ch;
}

.showup-head {
  display: grid;
  gap: 12px;
}

.showup-lead {
  margin-top: 12px;
  font-size: 1.15rem;
  color: var(--ivory);
}

.showup-name {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.problems { display: grid; gap: 0; }

.problem-line {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.problem-line strong { font-weight: 600; letter-spacing: -0.03em; }
.problem-line em {
  grid-column: 2;
  font-style: normal;
  color: var(--oxide);
}

.life-rail {
  position: relative;
  height: 1px;
  background: rgba(243, 240, 232, 0.16);
  margin-bottom: 14px;
}

.life-path {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--cobalt);
  transform: scaleX(1);
  transform-origin: left center;
}

.marker {
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--ivory);
}

.life ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.life-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 650;
}

.subsystems {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.subsystem {
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
}

.subsystem h3 {
  margin-top: 6px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.gmap {
  position: relative;
  margin-top: 4vh;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 70% 55%, rgba(36, 87, 230, 0.08), transparent 42%),
    var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gmap svg { width: 100%; height: 100%; }

.zone { fill: rgba(243, 240, 232, 0.035); stroke: rgba(243, 240, 232, 0.16); stroke-width: 0.15; }
.graticule { fill: none; stroke: rgba(243, 240, 232, 0.06); stroke-width: 0.08; }
.route {
  fill: none;
  stroke: #8fb4d4;
  stroke-width: 0.28;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hub-dot { fill: var(--ivory); }

.hubs { position: absolute; inset: 0; }

.hub { position: absolute; }

.hub-point {
  width: 7px;
  height: 7px;
  background: var(--cobalt);
  display: block;
  box-shadow: 0 0 0 4px rgba(36, 87, 230, 0.18);
}

.hub-copy {
  position: absolute;
  left: 14px;
  top: -6px;
  width: max-content;
  display: grid;
}

.hub[data-side="left"] .hub-copy {
  left: auto;
  right: 14px;
  text-align: right;
}

.hub-copy small,
.hub-copy em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hub-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.scale {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scale-field {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.node-ring { position: absolute; inset: 8% 10%; animation: spin 90s linear infinite; }

.node-ring span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--ivory);
  transform: rotate(calc(var(--i) * 12.857deg)) translateX(min(28vw, 230px));
}

.node-ring span:nth-child(odd) {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  transform: rotate(calc(var(--i) * 12.857deg)) translateX(min(18vw, 150px));
}

.node-ring span:nth-child(3n) { background: var(--cobalt); }

.scale-num {
  position: relative;
  z-index: 2;
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.scale-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.impact-note {
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.impact-num span {
  display: block;
  font-size: clamp(5.5rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.impact-num small {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver);
}

.claims {
  display: grid;
  margin-top: 6vh;
  border-top: 1px solid var(--line);
}

.claims li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.claims strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-weight: 750;
}

.claims em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.principles { background: var(--charcoal); }

.principle {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14vh var(--pad) 10vh;
  border-bottom: 1px solid var(--line);
}

.principle h2 {
  font-size: clamp(2.8rem, 7vw, 7rem);
  max-width: 11ch;
}

.principle .dek { margin-top: 1.25rem; }

.finale {
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
}

.finale-grid {
  min-height: 100svh;
  display: grid;
  align-content: end;
  gap: 36px;
  padding: 16vh var(--pad) 8vh;
}

.kicker-dark { color: var(--cobalt-deep); }
.dek-dark { color: #3c4250; margin-top: 1.1rem; }

.finale h2 { font-size: clamp(2.8rem, 6.8vw, 7rem); max-width: 12ch; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--cobalt-deep);
  border-color: var(--cobalt-deep);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  color: var(--ink);
}

.btn-ghost:hover { color: var(--cobalt-deep); }

.desks { border-top: 1px solid rgba(20, 23, 28, 0.16); padding-top: 16px; }
.desks:focus { outline: none; }
.desks:focus-visible { outline: 1px solid var(--cobalt-deep); outline-offset: 6px; }

.desks li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(20, 23, 28, 0.12);
}

.desks li span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt-deep);
}

.desks li strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.desks p:last-child { margin-top: 14px; color: #3c4250; max-width: 36ch; }

.footer {
  padding: 8vh var(--pad) 6vh;
  display: grid;
  gap: 28px;
  background: var(--void);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer ul {
  display: grid;
  gap: 18px;
}

.footer li {
  color: var(--ivory);
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.footer li span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 400;
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.origin-stage,
.chapter,
.cmap-section,
.engine,
.global,
.scale,
.impact,
.showup-stage,
.principle,
.finale-grid {
  padding-top: max(14vh, 112px);
}

section,
footer {
  scroll-margin-top: 88px;
}

@media (min-width: 800px) {
  .hero-meta { grid-template-columns: repeat(4, max-content); gap: 0 36px; }
  .life ol { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .subsystems,
  .claims,
  .footer ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .problem-line { grid-template-columns: 42px minmax(180px, 0.8fr) 1.2fr; align-items: baseline; }
  .problem-line em { grid-column: auto; }
  .finale-grid { grid-template-columns: 1.4fr 0.8fr; align-items: end; }
  .footer { grid-template-columns: 1fr 2fr; align-items: start; }
  .footer-note { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: flex; }
  .nav-toggle,
  .nav-menu { display: none; }

  .instrument {
    width: min(50vw, 760px);
    right: -4vw;
    top: 10vh;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%), linear-gradient(#000 70%, transparent 96%);
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(90deg, transparent, #000 18%), linear-gradient(#000 70%, transparent 96%);
    mask-composite: intersect;
  }

  .plate text { font-size: 12px; }

  .hero-layout { grid-template-columns: 1.4fr 0.7fr; align-items: end; }
  .hero-title { grid-column: 1 / -1; max-width: none; }
  .hero-support { justify-self: end; text-align: left; }
  .scroll-ind { display: flex; }

  .js .origin-line-late span { transform: translateY(110%); }
  .js .trajectory-path,
  .js .cmap-path,
  .js .route { stroke-dashoffset: 1; }
  .js .station { opacity: 0; }
  .js .life-path { transform: scaleX(0); }
  .js .life-step,
  .js .subsystem { opacity: 0.32; }

  .industries { height: 100svh; }
  .industries-viewport { height: 100%; overflow: hidden; }
  .industries-track { display: flex; height: 100%; width: max-content; }
  .chapter {
    width: 100vw;
    height: 100%;
    min-height: 0;
    flex: 0 0 100vw;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .os { grid-template-columns: 0.8fr 1.3fr 0.7fr; gap: 48px; align-items: start; }

  .showup-head {
    grid-template-columns: 180px 1fr;
    align-items: start;
  }

  .principles-stage { height: 100svh; position: relative; }
  .js .principle {
    position: absolute;
    inset: 0;
    border-bottom: 0;
  }
  .js .principle:not(:first-child) { opacity: 0; }
}

@media (min-width: 900px) {
  .showup-stage {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    justify-content: space-between;
  }
}

@media (max-width: 899px) {
  .frame { display: none; }
  .plate text { display: none; }
  .diagram-layer { position: relative; right: auto; top: auto; width: min(100%, 420px); margin-top: 24px; opacity: 1; }
  .chapter-title { margin-top: 8vh; }
  .cmap { aspect-ratio: auto; display: flex; flex-direction: column; }
  .cmap-svg { display: none; }
  .cluster {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto;
    transform: none;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .gmap {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }
  .gmap svg { height: 240px; }
  .hubs { position: static; }
  .hub {
    position: relative;
    left: auto !important;
    top: auto !important;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .hub-point { display: none; }
  .hub-copy,
  .hub[data-side="left"] .hub-copy {
    position: static;
    text-align: left;
    right: auto;
    left: auto;
  }
}

@media (max-width: 799px) {
  .nav { left: 12px; right: 12px; top: 12px; }
}

.mobile-hubs { display: none; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .origin-line-late span,
  .js .station,
  .js .life-step,
  .js .subsystem,
  .js .os-step,
  .js .principle {
    opacity: 1 !important;
    transform: none !important;
  }
  .trajectory-path,
  .cmap-path,
  .route,
  .life-path { stroke-dashoffset: 0 !important; transform: none !important; }
}
