:root {
  --page: #fffef8;
  --canvas: #f4f1e6;
  --surface: #ffffff;
  --field: #f7f4ea;
  --inset: #f3efe3;
  --hover: #f7f4ea;
  --hover-2: #fbf3d0;
  --ink: #0b1f3a;
  --ink-2: #4a5a6e;
  --ink-3: #8a96a6;
  --line: #e6e2d4;
  --line-soft: #f0ece0;
  --line-strong: #d4cfc0;
  --accent: #e8b923;
  --accent-ink: #0b1f3a;
  --accent-tint: #fbf3d0;
  --orange: #e8b923;
  --orange-tint: #fbf3d0;
  --green: #3d5a80;
  --green-tint: #e8eef6;
  --red: #b42318;
  --shadow-card: 0 0 0 1px #e6e2d4, 0 18px 47px #0b1f3a0c, 0 7.5px 19px #0b1f3a08;
  --shadow-btn: 0 0 0 1px #d4cfc0, 0 0 4px #0b1f3a0a;
  --bg: var(--page);
  --muted: var(--ink-2);
  --amber: var(--accent);
  --amber-s: var(--accent-tint);
  --gold: var(--accent);
  --gold-d: #c99a12;
  --teal: var(--green);
  --teal-s: var(--green-tint);
  --steel: #3d5a80;
  --steel-s: #e8eef6;
  --ivory: var(--surface);
  --font-h: "Barlow Condensed", system-ui, sans-serif;
  --font-b: "Barlow", system-ui, sans-serif;
  --max: 1320px;
  --pad: 32px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-d); }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0b1f3a;
  color: #ffffff;
  border-bottom: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 58px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  margin-right: auto;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.brand:hover { color: #ffffff; }
.brand .e { color: var(--accent); }
.brand svg path { fill: currentColor; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c5d0de;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #ffffff; }
.nav-cta {
  color: #0b1f3a !important;
  border: 0;
  padding: 7px 16px;
  background: var(--accent);
}
.nav-cta:hover { background: #c99a12; color: #0b1f3a !important; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  background: var(--page);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 82% 4%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    radial-gradient(90% 70% at 6% 100%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
}
.hero-map {
  position: absolute;
  top: -40px;
  right: -160px;
  width: min(62vw, 880px);
  height: 112%;
  opacity: 0.5;
  animation: astDrift 26s ease-in-out infinite;
  pointer-events: none;
}
.hero-map .flow { animation: astFlow 9s linear infinite; }
.hero-map .flow-r { animation: astFlow 13s linear infinite reverse; }
.pulse { animation: astPulse 3.4s ease-out infinite; }

.wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 12px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: astPulse 3s ease-out infinite;
}
.hero-main {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 78px 0 0;
  align-items: start;
}
.hero-copy { flex: 1 1 420px; min-width: 0; }
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker hr {
  width: 42px;
  height: 1px;
  border: 0;
  background: var(--accent);
  margin: 0;
}
.hero h1 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.012em;
  margin: 30px 0 0;
  max-width: 15ch;
  color: var(--ink);
}
.hero-tight .hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px 48px;
  padding-top: 48px;
  align-items: start;
}
.hero-tight .hero-copy { flex: none; }
.hero-tight .hero-card { flex: none; width: 100%; }
.hero-tight h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  max-width: 12ch;
  margin-top: 22px;
}
.hero-tight .lede { margin-top: 22px; font-size: 18px; max-width: 42ch; }
.hero-tight .hero-actions { margin-top: 28px; }
.hero-tight .stats { margin-top: 48px; }
.hero-card .home-donut {
  border: 0;
  box-shadow: none;
  min-height: 0;
  margin: 8px -8px -6px;
  background: transparent;
}
.hero-card .home-donut .insight-plot { min-height: 168px; }
.hero h1 .dot { color: var(--accent); }
.lede {
  font-size: 19px;
  line-height: 1.62;
  max-width: 56ch;
  margin: 32px 0 0;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin: 40px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-solid {
  background: var(--ink);
  color: var(--surface);
}
.btn-solid:hover { background: color-mix(in srgb, var(--ink) 86%, white); color: var(--surface); }
.btn-gold {
  background: var(--accent);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-d); color: var(--ink); }
.link-ghost {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.link-ghost:hover { color: var(--ink); }

.hero-card {
  flex: 0 1 286px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 20px 20px 14px;
}
.card-label {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  color: var(--ink);
}
.hero-div:hover { color: var(--accent-ink); }
.hero-div .no { font-family: var(--font-h); font-size: 13px; letter-spacing: 0.12em; }
.hero-div .nm { font-family: var(--font-h); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.15; }
.hero-div .ct { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); }
.c-log { color: var(--ink); }
.c-mat { color: var(--accent); }
.c-ai { color: var(--steel); }
.snap { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.snap-row { margin-top: 12px; }
.snap-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.snap-row b { font-family: var(--font-h); font-weight: 500; letter-spacing: 0.1em; }
.bar { height: 3px; margin-top: 6px; background: var(--line); }
.bar i { display: block; height: 100%; }
.bar .a { width: 92%; background: var(--orange); }
.bar .b { width: 78%; background: var(--green); }
.bar .c { width: 66%; background: var(--steel); }

.fig-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fig-rule span:nth-child(2) {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 13px);
}

.stats {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  padding: 26px 20px 30px;
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.stat:hover { background: var(--hover); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.stat span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--ink-2);
}

/* Sections */
.sec { padding: 108px 0 0; }
.sec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.gutter {
  flex: 0 0 200px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-d);
  padding-top: 10px;
}
.gutter.light { color: var(--accent-ink); }
.body { flex: 1 1 420px; min-width: 0; }
h2 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}
h3 {
  font-family: var(--font-h);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.prose { font-size: 15.5px; line-height: 1.8; margin: 20px 0 0; max-width: 62ch; }
.prose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 36px;
}
.prose-grid p { font-size: 15.5px; line-height: 1.8; margin: 0; }

.plate {
  position: relative;
  margin: 40px 0 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 26px 24px 22px;
}
.plate figcaption,
.cap-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 18px;
}
.layer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.layer:first-of-type { margin-top: 0; }
.layer h3 {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.layer p {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
  color: var(--muted);
}
.badge {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 10px 16px;
  border: 1px solid;
}
.badge b {
  font-family: var(--font-h);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.badge span {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.b-log { border-color: var(--ink); }
.b-mat { border-color: var(--orange); }
.b-ai { border-color: var(--steel); }
.compose-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.div-list { border-top: 1px solid var(--line-strong); }
.div-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ghost {
  font-family: var(--font-h);
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 168px;
  line-height: 0.8;
  color: color-mix(in srgb, var(--ink) 6%, transparent);
  pointer-events: none;
  user-select: none;
}
.div-main { position: relative; flex: 1 1 320px; min-width: 0; }
.div-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.div-item h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  margin: 14px 0 0;
  max-width: 16ch;
}
.div-item p {
  font-size: 15px;
  line-height: 1.75;
  margin: 18px 0 0;
  max-width: 52ch;
}
.div-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
}
.div-link:hover { color: var(--gold); }
.div-side {
  flex: 1 1 280px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 32px;
  align-self: start;
}
.div-side .cap-label { color: var(--muted); margin-bottom: 14px; }
.sample {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
}
.sample code {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.1em;
  background: none;
}

.frame {
  margin-top: 30px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.frame iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
}
.frame.short iframe { height: 560px; }
.frame.kepler iframe { height: 680px; background: var(--canvas); }

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.meta-count {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.chip {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}
.chip:hover:not([aria-pressed="true"]) { border-color: var(--ink); }
.search {
  margin-left: auto;
  min-width: 220px;
  flex: 0 1 280px;
  border: 1px solid var(--line);
  background: var(--field);
  padding: 10px 12px;
  border-radius: 0;
}
.search:focus { border-color: var(--ink); outline: none; }

.index { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1.05fr) minmax(0, 1.25fr) 112px;
  gap: 20px;
  align-items: baseline;
  padding: 15px 4px 15px 14px;
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}
.row:hover { background: var(--accent-tint); }
.row:hover::before { transform: scaleY(1); }
.row .code {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}
.row .name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.row .name a { color: inherit; }
.row .name a:hover { color: var(--accent-ink); }
.row .tag { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.row .div { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; text-align: right; color: var(--muted); }
.empty { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

.dark {
  margin-top: 104px;
  background: var(--canvas);
  color: var(--ink);
  padding: 96px 0;
}
.dark h2 { color: var(--ink); }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}
.comp {
  background: var(--surface);
  padding: 26px 24px 30px;
}
.comp h3 {
  font-family: var(--font-h);
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.comp p {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 10px 0 0;
  color: var(--ink-2);
}
.viz { margin-top: 36px; display: grid; gap: 22px; }
.viz .frame { margin-top: 0; border-color: var(--line-strong); }

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}
.step { display: grid; gap: 10px; }
.step-n {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-n b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-ink);
}
.step-n i {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 11px);
}
.step h3 {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.step p { font-size: 12.5px; line-height: 1.55; margin: 0; color: var(--muted); }

.std { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.std-row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.std-row b {
  font-family: var(--font-h);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.std-row span { font-size: 14px; line-height: 1.5; color: var(--muted); }

.contact {
  margin: 96px auto 0;
  max-width: var(--max);
  padding: 0 var(--pad);
}
.contact .deck { grid-template-columns: 1fr; margin-top: 24px; }
.contact-grid {
  border-top: 1px solid var(--line-strong);
  padding-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: start;
}
.contact h2 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.contact .prose { color: var(--muted); }
.form {
  display: grid;
  gap: 16px;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}
.form label {
  display: grid;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  border: 1px solid var(--line);
  background: var(--field);
  padding: 11px 12px;
  border-radius: 0;
}
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); line-height: 1.5; }
.form-status {
  display: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid var(--teal);
  color: var(--teal);
}
.form-status.err { border-color: var(--red); color: var(--red); }
.form-status.on { display: block; }

.site-footer {
  margin-top: 88px;
  background: #0b1f3a;
  border-top: 0;
  color: #c5d0de;
}
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad) 40px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot a { color: #c5d0de; }
.foot a:hover { color: var(--accent); }

.page-hero {
  background: var(--page);
  color: var(--ink);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  max-width: 14ch;
}
.legal { padding: 64px 0 80px; max-width: 72ch; }
.legal h2 { font-size: 28px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--line-strong); }

.page-hero .lede { max-width: 62ch; margin-top: 20px; font-size: 18px; }
.page-hero.wide h1 { max-width: 22ch; }

.article { padding: 72px 0 24px; }
.article h2 { margin: 48px 0 16px; font-size: clamp(26px, 3vw, 36px); }
.article h3 { margin: 28px 0 10px; font-size: 22px; }
.article p, .article li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.article p { margin: 0 0 16px; max-width: 68ch; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 1.2em; max-width: 68ch; }
.article strong { color: var(--ink); font-weight: 600; }

.faq { margin: 8px 0 0; border-top: 1px solid var(--line-strong); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.faq summary:hover { color: var(--accent-ink); }
.faq p { margin: 12px 0 0; }

.hubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.hub {
  background: var(--surface);
  padding: 22px 20px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
}
.hub:hover { background: var(--hover); color: inherit; }
.hub b {
  display: block;
  font-family: var(--font-h);
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.hub span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.hub i {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.cap-deep { margin-top: 8px; border-top: 1px solid var(--line-strong); }
.cap-deep article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cap-deep h3 { margin: 0 0 8px; }
.cap-deep .code {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-right: 10px;
  color: var(--ink-2);
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.related a {
  display: block;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-btn);
  color: var(--ink);
}
.related a:hover { border-color: var(--line-strong); color: var(--ink); }
.related b {
  display: block;
  font-family: var(--font-h);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.related span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

.deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 8px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.deck article,
.rail > div {
  background: var(--surface);
  padding: 28px 24px 30px;
}
.deck b, .rail b, .method b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deck h3, .rail h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  max-width: none;
}
.deck p, .rail p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: none; }

.rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 8px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.method {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
  padding: 0;
  list-style: none;
  max-width: none;
}
.method li {
  padding: 22px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.method li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.method h3 { margin: 0 0 8px; font-size: 20px; }
.method p { margin: 0; font-size: 14px; line-height: 1.55; max-width: none; }

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.industries li {
  padding: 8px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.pull {
  font-family: var(--font-h);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 18ch;
  margin: 48px 0 36px;
}

.cap-deep article {
  padding: 26px 0 26px 22px;
  border-left: 1px solid var(--line);
}
.cap-deep article:hover { background: var(--hover); border-left-color: var(--ink); }
.cap-deep p { max-width: 72ch; }

.page-close {
  margin: 56px 0 0;
  padding: 72px 0;
  background: var(--ink);
  color: var(--surface);
}
.page-close .kicker { color: color-mix(in srgb, var(--surface) 58%, transparent); }
.page-close h2 {
  max-width: 16ch;
  color: var(--surface);
  font-size: clamp(32px, 4vw, 52px);
}
.page-close p { margin: 14px 0 0; color: color-mix(in srgb, var(--surface) 70%, transparent); max-width: 46ch; }
.page-close .link-ghost { color: color-mix(in srgb, var(--surface) 78%, transparent); border-color: color-mix(in srgb, var(--surface) 28%, transparent); }
.page-close .link-ghost:hover { color: var(--surface); }
.page-close .btn-solid { background: var(--surface); color: var(--ink); }
.page-close .btn-solid:hover { background: var(--field); color: var(--ink); }

.hub:hover { transform: translateY(-2px); }

.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 28px 0 8px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.versus > div { background: var(--surface); padding: 32px 28px 34px; }
.versus .on { background: var(--ink); }
.versus b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.versus .on b { color: color-mix(in srgb, var(--surface) 52%, transparent); }
.versus h3 { margin: 10px 0 14px; font-size: 26px; max-width: none; }
.versus .on h3 { color: var(--surface); }
.versus ul { margin: 0; padding-left: 1.15em; max-width: none; }
.versus li { font-size: 14.5px; line-height: 1.55; margin: 0 0 10px; }
.versus .on li { color: color-mix(in srgb, var(--surface) 78%, transparent); }

.work, .pain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}
.work article, .pain article {
  padding: 28px 26px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.work h3, .pain h3 { margin: 8px 0 10px; font-size: 24px; max-width: none; }
.work p, .pain p { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: none; }
.work ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.work li {
  padding: 6px 10px;
  background: var(--field);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pain dl { margin: 18px 0 0; }
.pain dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}
.pain dt:first-child { margin-top: 0; }
.pain dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
.ticks li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 980px) {
  .deck, .rail, .method, .versus, .work, .pain, .ticks { grid-template-columns: 1fr; }
}

.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) 20px;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px 24px;
}
.foot-grid h2 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  max-width: none;
}
.foot-grid a, .foot-grid p {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: #c5d0de;
  letter-spacing: 0;
  text-transform: none;
}
.foot-grid a:hover { color: #ffffff; }
.foot-grid .brand { margin-bottom: 12px; color: #ffffff; }

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
}

.rise { animation: astRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.06s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.18s; }
.d4 { animation-delay: 0.24s; }
.reveal { opacity: 1; }
.reveal.in { animation: astRise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes astFlow { to { stroke-dashoffset: -260; } }
@keyframes astDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14px, 10px, 0); }
}
@keyframes astPulse {
  0% { r: 3; opacity: 0.85; }
  70% { r: 16; opacity: 0; }
  100% { r: 16; opacity: 0; }
}
@keyframes astRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .gutter { flex: 0 0 100%; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: #0b1f3a;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid #1e3a5f;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-top: 1px solid #1e3a5f; color: #c5d0de; }
  .nav-cta { border: 0; padding: 14px 0; box-shadow: none; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .lede { font-size: 16.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .row {
    grid-template-columns: 78px minmax(0, 1fr);
    row-gap: 3px;
  }
  .row .tag { grid-column: 2; }
  .row .div { grid-column: 2; text-align: left; }
  .div-side { border-left: 0; padding-left: 0; }
  .ghost { font-size: 96px; }
  .std-row { grid-template-columns: 1fr; gap: 6px; }
  .search { margin-left: 0; flex: 1 1 100%; }
  .frame iframe,
  .frame.short iframe,
  .frame.kepler iframe { height: 420px; }
  .insight.kepler iframe,
  .insight.tall.kepler iframe { min-height: 320px; }
}

.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 88%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.hero-stage { padding-bottom: 36px; }
.hero-stage .hero-glow {
  background:
    radial-gradient(72% 64% at 88% 16%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 56%),
    radial-gradient(48% 46% at 10% 90%, color-mix(in srgb, var(--steel) 14%, transparent), transparent 58%),
    radial-gradient(38% 36% at 40% 6%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 52%);
}
.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.18fr);
  gap: 28px 36px;
  padding: 28px 0 8px;
  align-items: center;
}
.stage-grid .hero-copy { max-width: none; }
.hero-stage h1 {
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  max-width: 16ch;
  font-size: clamp(42px, 6.4vw, 92px);
  margin-top: 20px;
}
.hero-stage h1 .ln { display: block; }
.hero-stage .lede { max-width: 40ch; }
.tick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 520px;
}
.tick-row div { background: var(--surface); padding: 14px 12px 16px; }
.tick-row dt {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tick-row dt { color: var(--ink); }
.tick-row div:nth-child(1) dt { color: var(--steel); }
.tick-row div:nth-child(2) dt { color: var(--green); }
.tick-row div:nth-child(3) dt { color: var(--orange); }
.tick-row dd {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hud {
  position: relative;
}
.hud::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left / 1px 13px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right / 1px 13px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left / 1px 13px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 13px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right / 1px 13px no-repeat;
}
.stage-frame {
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 26px 100%,
    var(--surface);
}
.stage-frame .insight-plot { min-height: 460px; }
.stage-readout {
  margin: 0;
  padding: 8px 20px 4px;
  min-height: 2.6em;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 72ch;
}
.stage-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}
.stage-frame figcaption b {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.stage-key {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 0 20px 18px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stage-key i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  vertical-align: middle;
}
.stage-key i.c-log { background: var(--ink); }
.stage-key i.c-mat { background: var(--accent); }
.stage-key i.c-ai { background: var(--steel); }
.stage-spin { transform-origin: 0 0; animation: stageSpin 80s linear infinite; }

.home-compose { padding: 8px 0 0; }
.compose-rail {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.compose-rail article {
  padding: 28px 26px 30px;
  transition: background 0.2s;
}
.compose-rail article:hover { background: var(--hover); }
.compose-rail article b {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.compose-rail article h2 {
  margin: 10px 0 8px;
  font-size: 28px;
  max-width: none;
}
.compose-rail article p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.compose-rail > i {
  display: block;
  background:
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat;
  position: relative;
}
.compose-rail > i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--ink-3);
  border-right: 1px solid var(--ink-3);
  transform: translate(-60%, -50%) rotate(45deg);
}

.home-divs.rich .home-div { min-height: 320px; padding: 22px 22px 24px; }
.home-div header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.home-div .insight.mini {
  width: 88px;
  min-height: 88px;
  border: 0;
  box-shadow: none;
  background: transparent;
  margin: -6px -4px 0 0;
}
.home-div .insight.mini .insight-plot { min-height: 88px; }
.home-div ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.home-div li {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: var(--field);
  color: var(--ink-2);
}
.home-div.d-log { box-shadow: var(--shadow-card), inset 0 2px 0 var(--ink); }
.home-div.d-mat { box-shadow: var(--shadow-card), inset 0 2px 0 var(--accent); }
.home-div.d-ai { box-shadow: var(--shadow-card), inset 0 2px 0 var(--steel); }

.insight.tall { min-height: 460px; }
.insight.tall .insight-plot { min-height: 400px; }
.insight.kepler {
  padding: 0;
  overflow: hidden;
  background: var(--canvas);
}
.insight.kepler figcaption {
  padding: 14px 16px 10px;
}
.insight.kepler iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 400px;
  border: 0;
  background: var(--canvas);
}
.insight.tall.kepler iframe { min-height: 560px; }
.net-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.net-side .insight { min-height: 220px; }
.net-side .home-cities { margin-top: 0; }
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 32px;
  align-items: end;
}
.close-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.close-actions small { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--surface) 48%, transparent); }

@keyframes stageSpin {
  to { transform: rotate(360deg); }
}

.home-band { padding: 64px 0 8px; }
.home-band-head span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.home-band-head p {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}
.home-divs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.home-div {
  display: block;
  padding: 28px 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  min-height: 240px;
  transition: transform 0.2s, border-color 0.2s;
}
.home-div:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--line-strong); }
.home-div em {
  font-style: normal;
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.16em;
}
.home-div.d-log em { color: var(--ink); }
.home-div.d-mat em { color: var(--accent); }
.home-div.d-ai em { color: var(--steel); }
.home-div h2 {
  margin: 16px 0 10px;
  font-size: 32px;
  max-width: none;
}
.home-div p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.home-div span {
  display: inline-block;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.home-net { padding-bottom: 24px; }
.home-net-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 32px 40px;
  align-items: stretch;
}
.home-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}
.home-cities a {
  background: var(--surface);
  padding: 18px 16px 20px;
  color: var(--ink);
}
.home-cities a:hover { background: var(--hover); color: var(--ink); }
.home-cities b {
  display: block;
  font-family: var(--font-h);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-cities span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.home-more { margin: 18px 0 0; font-size: 14px; }
.home-close {
  margin: 40px 0 0;
  padding: 72px 0;
  background: var(--ink);
  color: var(--surface);
}
.home-close .kicker { color: color-mix(in srgb, var(--surface) 58%, transparent); }
.home-close h2 {
  max-width: 16ch;
  color: var(--surface);
  font-size: clamp(32px, 4vw, 52px);
}
.home-close p { margin: 14px 0 0; color: color-mix(in srgb, var(--surface) 70%, transparent); }
.home-close .link-ghost { color: color-mix(in srgb, var(--surface) 78%, transparent); border-color: color-mix(in srgb, var(--surface) 28%, transparent); }
.home-close .link-ghost:hover { color: var(--surface); }
.home-close .btn-solid { background: var(--surface); color: var(--ink); }
.home-close .btn-solid:hover { background: var(--accent-tint); color: var(--ink); }

@media (max-width: 980px) {
  .home-divs, .home-net-grid, .hero-tight .hero-main, .stage-grid, .compose-rail, .close-grid { grid-template-columns: 1fr; }
  .compose-rail > i { display: none; }
  .stage-frame { min-height: 460px; }
  .stage-frame .insight-plot { min-height: 340px; }
}

.page-hero .wrap { position: relative; z-index: 1; }
.insight[data-chart="hubs"] { min-height: 520px; }
.insight[data-chart="hubs"] .insight-plot { min-height: 460px; }
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px 56px;
  align-items: end;
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 640px;
}
.kpi {
  background: var(--surface);
  padding: 16px 14px 18px;
}
.kpi b {
  display: block;
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.kpi span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.insight-band {
  padding: 28px 0 8px;
}
.insight-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.insight-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.insight {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.insight.instrument {
  min-height: 300px;
}
.insight figcaption {
  padding: 14px 16px 0;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.insight-plot {
  flex: 1;
  min-height: 220px;
  width: 100%;
}
.insight-plot svg { width: 100%; height: 100%; display: block; }

.chart-tip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 12px;
  min-width: 120px;
  max-width: 240px;
  box-shadow: var(--shadow-card);
  font-size: 12px;
  line-height: 1.4;
}
.chart-tip b {
  display: block;
  font-family: var(--font-h);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.chart-tip span { color: color-mix(in srgb, var(--surface) 72%, transparent); }

.flow-stroke { stroke-dasharray: 5 9; animation: astFlow 2.8s linear infinite; }

.cap-deep article { transition: background 0.2s; }
.cap-deep article:hover { background: var(--accent-tint); }
.related a { transition: transform 0.2s, border-color 0.2s; }
.related a:hover { transform: translateY(-2px); }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .insight-grid, .insight-grid.cols-2 { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .reveal.in, .hero-map, .pulse, .live-dot i, .hero-map .flow, .hero-map .flow-r, .flow-stroke, .stage-spin {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
