:root {
  --cyan: #35e0ff;
  --cyan-dim: rgba(53, 224, 255, 0.55);
  --navy: #04101e;
  --ink: #e8f4f8;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', -apple-system, sans-serif;
}

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

html { scroll-behavior: auto; }

body {
  background: #000;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; width: min(420px, 80vw); }
.loader-brand {
  font-family: var(--sans); font-weight: 300; letter-spacing: 0.5em;
  font-size: 14px; margin-bottom: 28px; color: var(--ink);
}
.loader-brand span { color: var(--cyan); margin: 0 6px; }
.loader-bar {
  height: 1px; background: rgba(255,255,255,0.15); margin-bottom: 14px;
}
#loader-fill {
  height: 100%; width: 0%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.2s ease;
}
.loader-status {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em;
  color: var(--cyan-dim);
}

/* ---------- Canvas & grade ---------- */
#film {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1;
}
#grade {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: #04101e; opacity: 0; mix-blend-mode: multiply;
}
#vignette {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ---------- HUD ---------- */
#hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 36px; pointer-events: none;
}
.hud-brand {
  font-weight: 500; letter-spacing: 0.35em; font-size: 15px;
}
.hud-brand em { font-style: normal; font-weight: 300; color: var(--cyan); }
.hud-mission {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(232,244,248,0.55); padding-top: 4px;
}
.hud-depth { text-align: right; }
.depth-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em;
  color: rgba(232,244,248,0.5);
}
.depth-value {
  font-family: var(--mono); font-weight: 300; font-size: 34px;
  color: var(--cyan); text-shadow: 0 0 18px rgba(53,224,255,0.45);
  line-height: 1.1;
}
.depth-value small { font-size: 14px; margin-left: 4px; color: var(--cyan-dim); }
.depth-zone {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.35em;
  color: var(--ink);
}

/* depth rail */
#hud-rail {
  position: fixed; right: 36px; top: 50%; transform: translateY(-50%);
  z-index: 20; height: 42vh; display: flex; gap: 10px; pointer-events: none;
}
.rail-track {
  width: 1px; background: rgba(255,255,255,0.18); position: relative;
}
#rail-marker {
  position: absolute; left: -3px; top: 0%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.rail-ticks {
  position: relative; width: 30px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.15em;
  color: rgba(232,244,248,0.45);
}
.rail-ticks span { position: absolute; transform: translateY(-50%); }

#hud-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 26px 36px; pointer-events: none;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em;
  color: rgba(232,244,248,0.5);
}
.hud-scroll {
  font-size: 10px; letter-spacing: 0.4em; color: var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
  transition: opacity 0.6s;
}
.hud-scroll span { display: inline-block; animation: bob 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Panels ---------- */
.panel {
  position: fixed; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 8vw;
  opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.panel h1 {
  font-weight: 300; font-size: clamp(46px, 8vw, 118px);
  letter-spacing: 0.08em; line-height: 1.05;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}
.panel h2 {
  font-weight: 300; font-size: clamp(34px, 5.6vw, 84px);
  letter-spacing: 0.05em; line-height: 1.12;
  text-shadow: 0 2px 40px rgba(0,0,0,0.85);
}
.panel .sub {
  margin-top: 24px; font-weight: 300;
  font-size: clamp(15px, 1.5vw, 21px); letter-spacing: 0.12em;
  color: rgba(232,244,248,0.85);
  text-shadow: 0 1px 20px rgba(0,0,0,0.9);
}
.panel-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.45em;
  color: var(--cyan); margin-bottom: 26px;
  text-shadow: 0 0 14px rgba(53,224,255,0.4);
}

/* specs grid */
.specs {
  display: grid; grid-template-columns: repeat(3, minmax(180px, 330px));
  gap: 2px; width: min(1080px, 88vw);
}
.spec {
  border: 1px solid rgba(53,224,255,0.22);
  background: rgba(4,16,30,0.55); backdrop-filter: blur(6px);
  padding: clamp(26px, 4vh, 44px) 20px;
}
.spec b {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 58px); color: var(--cyan); margin-bottom: 12px;
}
.spec i {
  font-style: normal; font-family: var(--mono); font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.22em; color: rgba(232,244,248,0.6);
}

/* CTA */
.offer { margin-bottom: 40px; }
.cta {
  pointer-events: auto;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.45em;
  color: #02141f; background: var(--cyan);
  padding: 20px 52px 20px 58px; text-decoration: none;
  box-shadow: 0 0 34px rgba(53,224,255,0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(53,224,255,0.85);
}
.fine {
  margin-top: 30px; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; color: rgba(232,244,248,0.45);
}

#track { position: relative; z-index: 0; }

/* ================= THE CHART — surfaced content ================= */
/* Black / white / cyan. Black ground continues the ocean; white carries the
   prose; cyan is the single standout for every instrument mark (eyebrows,
   numerals, compass, readouts, CTA). Font shifts from HUD mono → serif. */
#dive-deeper {
  --ground:  #06090d;   /* near-black — primary */
  --ground-2:#030507;   /* deeper black */
  --ink:     #eef4f7;   /* white — support / prose */
  --ink-2:   #8b98a1;   /* muted grey — secondary text */
  --cyan:    #35e0ff;   /* the standout — same light as the descent */
  --cyan-2:  #8bedff;
  --cyan-dim: rgba(120,225,245,0.72);
  --cyan-soft: rgba(53,224,255,0.14);
  --serif: 'Manrope', 'Space Grotesk', system-ui, sans-serif;
  --rule: rgba(238,244,247,0.12);

  position: relative; z-index: 30;
  color: var(--ink);
  padding: 0 0 0;
  /* black ground, continuing the ocean floor, with a single cool shaft of
     cyan light bleeding down from the surface */
  background:
    radial-gradient(130% 60% at 50% -6%, rgba(53,224,255,0.10), transparent 60%),
    linear-gradient(#04101e 0%, var(--ground) 260px, var(--ground) 82%, var(--ground-2) 100%);
}
/* faint deep-water grain, no hard grid lines */
#dive-deeper::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.06; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#dive-deeper > * { position: relative; z-index: 1; }

/* the surface line — the descent's cyan light */
.waterline {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53,224,255,0.9) 50%, transparent);
  box-shadow: 0 0 30px rgba(53,224,255,0.4);
}

.coord {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.34em;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 20px;
}

/* --- opening --- */
.chart-open {
  max-width: 1120px; margin: 0 auto; padding: 40px 8vw 100px;
}
.chart-open h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 7.4vw, 110px); line-height: 0.98;
  letter-spacing: -0.015em; margin-bottom: 34px;
}
.lede {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 2vw, 27px); line-height: 1.5;
  max-width: 760px; color: var(--ink);
}
.lede em { font-style: italic; color: var(--cyan); }

/* --- manifest: five engines as a ledger, not boxes --- */
.manifest {
  max-width: 1120px; margin: 0 auto; padding: 0 8vw 90px;
}
.manifest-head { border-bottom: 2px solid var(--ink); padding-bottom: 26px; margin-bottom: 8px; }
.manifest-head h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 1.0; letter-spacing: -0.01em;
}
.arc-head h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.01em;
}
.manifest-head .coord { display: block; margin-bottom: 16px; }
.engines { list-style: none; }
.engine {
  display: grid;
  grid-template-columns: 84px 1fr 210px; gap: 30px; align-items: start;
  padding: 32px 0; border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease;
}
.engine:hover { background: linear-gradient(90deg, rgba(79,227,255,0.07), transparent 70%); }
.engine:hover .engine-read { color: var(--cyan); }
.engine-no {
  font-family: var(--serif); font-weight: 500; font-size: 46px;
  line-height: 1; color: var(--cyan);
  font-feature-settings: 'lnum' 1;
}
.engine-body h4 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.2vw, 28px);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.engine-body > p {
  font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 46ch;
}
.engine-body .doing {
  margin-top: 12px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.03em; color: var(--cyan-dim); line-height: 1.7;
}
.engine-read {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  line-height: 1.7; color: var(--cyan-dim); text-align: right;
  border-left: 1px solid var(--cyan-soft); padding-left: 20px;
  transition: color 0.3s ease;
}

/* --- flywheel: the five engines as one circulating system --- */
.flywheel-wrap { margin: 0; padding: 44px 0 10px; display: flex; justify-content: center; }
#flywheel { width: min(620px, 92vw); height: auto; overflow: visible; }
#flywheel text { font-family: var(--mono); fill: var(--ink-2); }
.fw-ring { fill: none; stroke: var(--rule); stroke-width: 1.2; stroke-dasharray: 2 7; }
.fw-hub-ring { fill: rgba(53,224,255,0.03); stroke: var(--rule); stroke-width: 1; }
#flywheel .fw-hub-a { font-family: var(--serif); font-weight: 800; font-size: 25px; fill: var(--ink);
  text-anchor: middle; letter-spacing: -0.01em; }
.fw-hub-b { font-size: 8px; letter-spacing: 0.2em; fill: var(--cyan); text-anchor: middle; opacity: 0.85; }
.fw-dot { fill: var(--cyan-2); filter: drop-shadow(0 0 8px rgba(53,224,255,0.9)); }
.fw-node { cursor: pointer; }
.fw-node circle { fill: var(--ground); stroke: rgba(53,224,255,0.38); stroke-width: 1.5;
  transition: stroke 0.3s ease, fill 0.3s ease, filter 0.3s ease; }
.fw-node .fw-no { font-size: 17px; fill: var(--cyan); text-anchor: middle; letter-spacing: 0.05em; }
#flywheel .fw-name { font-family: var(--serif); font-weight: 700; font-size: 16px; fill: var(--ink);
  letter-spacing: 0.02em; transition: fill 0.3s ease; }
.fw-node .fw-role { font-size: 9px; letter-spacing: 0.22em; fill: var(--ink-2); }
.fw-node.on circle { stroke: var(--cyan); stroke-width: 2.5; fill: #081420;
  filter: drop-shadow(0 0 16px rgba(53,224,255,0.55)); }
.fw-node.on .fw-name { fill: var(--cyan); }
.fw-node:focus-visible { outline: none; }
.fw-node:focus-visible circle { stroke: var(--cyan); stroke-width: 3; }
.engine.on { background: linear-gradient(90deg, rgba(79,227,255,0.08), transparent 70%); }
.engine.on .engine-read { color: var(--cyan); }
@media (max-width: 640px) {
  .fw-node .fw-name { font-size: 19px; }
  .fw-node .fw-role { font-size: 11px; }
  .fw-hub-b { font-size: 10px; }
}

/* --- compass: two-column value block (headline + steps left, visual right) --- */
.arc-block {
  max-width: 1240px; margin: 0 auto; padding: 70px 6vw 90px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center;
}
.arc-head { max-width: none; margin: 0; }
.arc-head h3 { margin-bottom: 30px; }
.arc-steps { list-style: none; }
.arc-steps li {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  padding: 20px 0; border-top: 1px solid var(--rule);
}
.arc-steps li:last-child { border-bottom: 1px solid var(--rule); }
.s-no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--cyan); padding-top: 6px; }
.arc-steps h4 { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; }
.arc-steps p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.arc-figure { margin: 0; }
#compass-arc { width: 100%; height: auto; overflow: visible; }
.arc-base { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 5; opacity: 0.4; }
.arc-main { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(53,224,255,0.5)); }
.arc-return { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 3 7; opacity: 0.75;
  filter: drop-shadow(0 0 3px rgba(79,227,255,0.5)); }
/* nodes glow like the sub's viewport ring */
.arc-node circle { fill: var(--ground); stroke: var(--cyan); stroke-width: 2;
  filter: drop-shadow(0 0 4px rgba(79,227,255,0.6)); }
.arc-star path { fill: var(--cyan-2); }
.arc-label { font-family: var(--serif); font-size: 18px; font-weight: 500; fill: var(--ink); }
.arc-stage { font-family: var(--mono); font-size: 9px; letter-spacing: 0.22em; fill: var(--cyan); opacity: 0.85; }
/* draw-on animation */
#compass-arc .arc-main { stroke-dasharray: 1300; stroke-dashoffset: 1300; }
#compass-arc.drawn .arc-main { transition: stroke-dashoffset 1.6s ease; stroke-dashoffset: 0; }
#compass-arc .arc-node, #compass-arc .arc-star, #compass-arc text { opacity: 0; }
#compass-arc.drawn .arc-node, #compass-arc.drawn .arc-star, #compass-arc.drawn text {
  opacity: 1; transition: opacity 0.6s ease 1.1s;
}

/* --- log: why we win --- */
.log { max-width: 1120px; margin: 0 auto; padding: 30px 8vw 100px;
  border-top: 1px solid var(--rule); }
.log-entries {
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: 64px; row-gap: 40px; margin-top: 34px;
}
.entry { display: flex; gap: 18px; align-items: flex-start; }
.entry-mark { color: var(--cyan); font-size: 15px; line-height: 1.4; }
.entry h5 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 8px; }
.entry p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* --- results: split statement + monster stats (reference archetype) --- */
.results {
  max-width: 1240px; margin: 0 auto; padding: 80px 6vw 90px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.results::before {
  content: ''; position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 62%; height: 130%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 60% 50%, rgba(53,224,255,0.17), transparent 70%);
}
.results > * { position: relative; z-index: 1; }
.results-head h3 { margin: 10px 0 26px; font-size: clamp(44px, 6.4vw, 100px); line-height: 0.98; }
.results-head p { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
.results-stats { display: flex; flex-direction: column; gap: 40px; }
.rstat b {
  display: block; font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(50px, 7.2vw, 96px); line-height: 0.9; color: var(--cyan);
  text-shadow: 0 0 44px rgba(53,224,255,0.42); font-variant-numeric: tabular-nums;
}
.rstat i {
  display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.05em; color: var(--ink-2); line-height: 1.5; max-width: 38ch;
}

/* --- dispatch / CTA — the finale --- */
.dispatch {
  text-align: center; padding: 150px 8vw 160px; position: relative; overflow: hidden;
  background: var(--ground-2); color: var(--ink);
  border-top: 1px solid rgba(53,224,255,0.4);
}
.dispatch::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 8%, rgba(53,224,255,0.22), transparent 60%),
    radial-gradient(90% 70% at 50% 120%, rgba(53,224,255,0.10), transparent 60%);
}
.dispatch > * { position: relative; z-index: 1; }
.dispatch .coord { color: var(--cyan); opacity: 0.9; }
.dispatch h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(48px, 8.6vw, 124px); line-height: 0.94;
  letter-spacing: -0.04em; color: var(--ink); margin-bottom: 48px;
}
.seal {
  display: inline-block; text-decoration: none;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #03060a; background: var(--cyan);
  padding: 24px 56px; border: 1px solid var(--cyan); border-radius: 4px;
  box-shadow: 0 0 50px rgba(53,224,255,0.35);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.seal:hover { transform: translateY(-3px) scale(1.02); background: var(--cyan-2);
  box-shadow: 0 0 70px rgba(53,224,255,0.6); }
.seal:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.colophon {
  margin-top: 52px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.24em; color: rgba(238,244,247,0.45);
}
@media (max-width: 900px) {
  .results { grid-template-columns: 1fr; gap: 40px; }
  .results::before { display: none; }
  .dispatch { padding: 100px 8vw 110px; }
}

/* --- Why Now --- */
.whynow { max-width: 1120px; margin: 0 auto; padding: 20px 8vw 90px; }
.whynow h3, .notagency h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 48px;
}
.forces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.force { border-top: 1px solid var(--cyan-soft); padding-top: 20px; }
.force-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--cyan); }
.force h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 14px 0 10px; }
.force p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.whynow-line {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.4;
  margin-top: 54px; max-width: 40ch;
}
.whynow-line em, .not-line em { font-style: italic; color: var(--cyan); }

/* --- stats: centered header + horizontal number row (reference archetype) --- */
.metrics { max-width: 1240px; margin: 0 auto; padding: 70px 6vw 80px; }
.metrics-head { text-align: center; margin-bottom: 54px; }
.metrics-head .coord { display: block; margin-bottom: 6px; }
.metrics-head h3 {
  font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(38px, 5.4vw, 76px); color: var(--ink-2);
}
.metric-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--rule); padding-top: 40px;
}
.metric { padding: 0 22px; position: relative; text-align: left; }
.metric + .metric::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 8px; width: 1px; background: var(--rule);
}
.metric b {
  display: block; font-family: var(--serif); font-weight: 800;
  font-size: clamp(40px, 4.4vw, 68px); line-height: 0.95; color: var(--ink);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.metric b .plus { color: var(--cyan); }
.metric i {
  display: block; margin-top: 16px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5;
}

/* --- selected work: image-led case cards --- */
.work { max-width: 1240px; margin: 0 auto; padding: 40px 6vw 90px; }
.work-top { text-align: center; margin-bottom: 8px; }
.work-top h3 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(38px, 5.4vw, 76px); color: var(--ink-2); margin-top: 6px; }
.work-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.wf { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); background: transparent; border: 1px solid var(--rule); border-radius: 30px;
  padding: 9px 18px; cursor: pointer; transition: all 0.2s ease; }
.wf.on, .wf:hover { color: #04101e; background: var(--cyan); border-color: var(--cyan); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.wcard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--ground-2); border: 1px solid var(--rule); }
.wcard-img { position: absolute; inset: 0; background-image: var(--img);
  background-size: cover; background-position: center; transition: transform 0.6s ease; }
.wcard:hover .wcard-img { transform: scale(1.05); }
.wcard::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 38%, rgba(3,7,13,0.92)); }
.wcard-cat { position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #04101e; background: var(--cyan); padding: 6px 12px; border-radius: 20px; }
.wcard-meta { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.wcard-meta h4 { font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); letter-spacing: -0.015em; margin-bottom: 5px; }
.wcard-meta p { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: 0.02em; }
.wcard.hide { display: none; }
/* brand-spotlight card (light, shows a client logo in true colours) */
.wcard.brand { display: flex; flex-direction: column; padding: 30px 30px 28px; background: #f1efea; }
.wcard.brand::after { display: none; }
.brand-logo { width: min(58%, 220px); height: auto; margin-top: auto; }
.brand-stat { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em;
  line-height: 1.55; color: #4a5a68; }
.brand-stat b { color: #16283b; font-weight: 700; font-size: 15px; }

/* --- trusted by / logo wall --- */
.trusted { max-width: 1180px; margin: 0 auto; padding: 96px 8vw 104px;
  border-top: 1px solid var(--rule); }
.trusted-head { text-align: center; max-width: 40ch; margin: 0 auto 60px; }
.trusted-head .coord { display: block; margin-bottom: 18px; }
.trusted-head h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; color: var(--ink-2); }
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.logo-wall li { display: flex; align-items: center; justify-content: center;
  min-height: 132px; padding: 26px 20px;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logo-wall img { max-width: 78%; max-height: 40px; width: auto; height: auto; object-fit: contain;
  opacity: 0.5; filter: saturate(0); transition: opacity 0.3s ease, transform 0.3s ease; }
.logo-wall li.lw-tall img { max-height: 58px; }
.logo-wall li:hover img { opacity: 1; transform: scale(1.04); }
.trusted-foot { text-align: center; margin: 40px auto 0; max-width: 46ch;
  font-size: clamp(14px, 1.4vw, 17px); line-height: 1.6; color: var(--ink-2); }

/* --- "not a…" differentiator --- */
.notagency { max-width: 1120px; margin: 0 auto; padding: 90px 8vw; }
.nots { list-style: none; }
.nots li {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink); opacity: 0.28; transition: opacity 0.5s ease, color 0.5s ease;
}
.reveal.in .nots li { opacity: 1; }
.reveal.in .nots li:nth-child(1) { transition-delay: 0.05s; }
.reveal.in .nots li:nth-child(2) { transition-delay: 0.15s; }
.reveal.in .nots li:nth-child(3) { transition-delay: 0.25s; }
.reveal.in .nots li:nth-child(4) { transition-delay: 0.35s; }
.not-line {
  margin-top: 40px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.4; max-width: 46ch; color: var(--ink);
}

/* --- manifesto spine --- */
.spine {
  max-width: 1120px; margin: 0 auto; padding: 80px 8vw 90px; text-align: center;
  border-top: 1px solid var(--rule);
}
.spine .coord { margin-bottom: 34px; }
.spine-lines { display: flex; flex-direction: column; gap: 4px; }
.spine-lines span {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ink); opacity: 0.32; transition: opacity 0.55s ease;
}
.spine-lines span:hover { color: var(--cyan); }
.reveal.in .spine-lines span { opacity: 1; }
.reveal.in .spine-lines span:nth-child(1) { transition-delay: 0.05s; }
.reveal.in .spine-lines span:nth-child(2) { transition-delay: 0.17s; }
.reveal.in .spine-lines span:nth-child(3) { transition-delay: 0.29s; }
.reveal.in .spine-lines span:nth-child(4) { transition-delay: 0.41s; }
.reveal.in .spine-lines span:nth-child(5) { transition-delay: 0.53s; }

/* --- scroll reveal --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Manrope bold-sans display language (reskin) ===== */
.chart-open h2, .dispatch h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; }
.whynow h3, .notagency h3, .manifest-head h3, .arc-head h3, .work-head h3, .results-head h3 {
  font-weight: 700; letter-spacing: -0.025em; }
.metric b, .spine-lines span, .nots li { font-weight: 800; letter-spacing: -0.03em; }
.engine-no { font-weight: 700; letter-spacing: -0.02em; }
.engine-body h4, .entry h5, .force h4, .work-client { font-weight: 700; letter-spacing: -0.015em; }
.lede { font-weight: 500; letter-spacing: -0.01em; }
.lede em, .whynow-line em, .not-line em { font-style: normal; color: var(--cyan); font-weight: 600; }
/* two-tone headline: dimmed set-up, bright emphasis (big statements only) */
.chart-open h2, .dispatch h2, .whynow h3, .notagency h3, .results-head h3,
.manifest-head h3 { color: var(--ink-2); }
.hi { color: var(--ink); }
.hi-cyan { color: var(--cyan); }

/* variant comparison chip */
.variant-jump {
  position: fixed; bottom: 20px; right: 20px; z-index: 95;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: #8bedff; text-decoration: none;
  background: rgba(2, 10, 16, 0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(53,224,255,0.4); border-radius: 30px; padding: 10px 16px;
  transition: all 0.2s ease;
}
.variant-jump:hover { color: #02141f; background: #35e0ff; }

/* ===== BACKGROUND VARIATIONS (live preview switcher) ===== */
#dive-deeper.bg-current {
  background:
    radial-gradient(48% 30% at 16% 8%, rgba(53,224,255,0.16), transparent 60%),
    radial-gradient(46% 34% at 88% 26%, rgba(53,224,255,0.11), transparent 60%),
    radial-gradient(60% 42% at 40% 66%, rgba(53,224,255,0.09), transparent 62%),
    radial-gradient(50% 34% at 80% 94%, rgba(53,224,255,0.06), transparent 60%),
    linear-gradient(#04101e 0%, #06090d 44%, #03050a 100%);
  background-size: 150% 150%, 150% 150%, 150% 150%, 150% 150%, 100% 100%;
  animation: currentDrift 34s ease-in-out infinite alternate;
}
@keyframes currentDrift { from { background-position: 0 0,0 0,0 0,0 0,0 0; }
  to { background-position: 22% 12%, -18% 6%, 12% -12%, -10% -8%, 0 0; } }

/* Bioluminescence: flat deep-water base; the living particles are drawn on
   the #biolum canvas above it. */
#dive-deeper.bg-biolum {
  background:
    radial-gradient(80% 40% at 50% 1%, rgba(53,224,255,0.06), transparent 55%),
    linear-gradient(#030a12 0%, #02060c 44%, #01040a 100%);
}
#dive-deeper > #biolum {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none;
}
#dive-deeper:not(.bg-biolum) > #biolum { display: none; }

#dive-deeper.bg-shafts {
  background:
    linear-gradient(107deg, transparent 12%, rgba(53,224,255,0.07) 20%, transparent 30%, transparent 44%, rgba(53,224,255,0.05) 52%, transparent 63%, transparent 74%, rgba(53,224,255,0.06) 82%, transparent 92%),
    radial-gradient(90% 42% at 50% -6%, rgba(53,224,255,0.15), transparent 55%),
    linear-gradient(#04101e 0%, #06090d 46%, #03050a 100%);
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: shaftSway 26s ease-in-out infinite alternate;
}
@keyframes shaftSway { from { background-position: 0 0,0 0,0 0; } to { background-position: 34% 0, 0 0, 0 0; } }

/* the switcher itself */
#bg-switch {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 90; display: flex; align-items: center; gap: 8px;
  background: rgba(4,10,16,0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(53,224,255,0.4); border-radius: 40px; padding: 8px 12px;
  font-family: var(--mono); box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
#bg-switch span { font-size: 9px; letter-spacing: 0.24em; color: rgba(238,244,247,0.5); padding: 0 6px; }
#bg-switch button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: #eef4f7; background: transparent; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px; padding: 8px 14px; cursor: pointer; transition: all 0.2s ease;
}
#bg-switch button:hover { border-color: rgba(53,224,255,0.6); }
#bg-switch button.on { background: #35e0ff; color: #04101e; border-color: #35e0ff; }

@media (prefers-reduced-motion: reduce) {
  #dive-deeper.bg-current, #dive-deeper.bg-biolum, #dive-deeper.bg-shafts { animation: none; }
}

@media (max-width: 900px) {
  .arc-block { padding: 50px 6vw 70px; grid-template-columns: 1fr; gap: 34px; }
  .forces { grid-template-columns: 1fr; gap: 26px; }
  .metric-row { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .metric:nth-child(3n+1)::before { display: none; }
  .work-grid { gap: 12px; }
  .engine { grid-template-columns: 60px 1fr; }
  .engine-read { grid-column: 2; text-align: left; border-left: 0; padding-left: 0;
    border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 4px; }
  .log-entries { grid-template-columns: 1fr; row-gap: 30px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .trusted { padding: 72px 6vw 84px; }
}

@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall li { min-height: 108px; padding: 20px 14px; }
  .metric:nth-child(3n+1)::before { display: block; }
  .metric:nth-child(2n+1)::before { display: none; }
}

@media (max-width: 720px) {
  #hud-rail { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .hud-mission { display: none; }
  .hud-tel { display: none; }
  #hud-bottom { justify-content: center; }
  #hud-top { padding: 20px 22px; }
  .hud-brand { font-size: 12px; letter-spacing: 0.24em; padding-top: 6px; }
  .depth-value { font-size: 26px; }
  .engine-no { font-size: 34px; }
}

@media (max-width: 560px) {
  .metric-grid { grid-template-columns: 1fr; gap: 26px; }
  .spine-lines span, .nots li { opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  #compass-arc .arc-main { stroke-dashoffset: 0; }
  #compass-arc .arc-node, #compass-arc .arc-star, #compass-arc text { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nots li, .spine-lines span { opacity: 1 !important; transition: none; }
}
