/* Throughline Energy — site styles ("Ember" direction)
   One stylesheet for every page. Colors and type live in the tokens below. */

:root {
  /* Palette */
  --navy: #163250;
  --blue: #2e5a94;
  --ember: #f08a24;          /* decorative only: rules, dots, button fill */
  --ember-text: #a8520a;     /* text and links on light backgrounds */
  --ember-hover: #7d3c05;
  --ink: #1e222a;
  --ink-2: #3d4552;
  --muted: #4e555f;
  --muted-2: #616770;
  --rule: #d9dde3;
  --rule-soft: #dce0e5;
  --rule-faint: #e2e5e9;
  --field-border: #858c97;   /* 3.4:1 on white, for form controls */
  --line-light: #c8cdd5;
  --ground: #f3f4f6;
  --panel: #f6f7f9;
  --white: #ffffff;
  --on-navy-muted: #9fb4cb;
  --on-navy-text: #c9d6e4;
  --on-navy-accent: #ffd2a6;
  --on-navy-rule: rgba(255, 255, 255, 0.14);
  --chip-bg: #ebf2f9;
  --chip-border: #c7d8ea;
  --chip-text: #3f6088;

  /* Type */
  --font-display: "Schibsted Grotesk", "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Menlo, Consolas, monospace;

  /* Layout */
  --gutter: 24px;
  --rail-pad: 32px;
  --section-y: 72px;
  --max: 1200px;
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --rail-pad: 18px;
    --section-y: 48px;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--ember-text); }
a:hover { color: var(--ember-hover); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }

[id] { scroll-margin-top: 16px; }

p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); outline-color: var(--ember); }

/* ---------- Type ---------- */

.kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ember-text);
}

.label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-2);
}
.label--ember { color: var(--ember-text); }
.label--navy { color: var(--navy); }

.display, .h1, .h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}
.display {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h1--bps { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.025em; max-width: 960px; }
.h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede { max-width: 700px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.body { font-size: 17px; line-height: 1.55; color: var(--muted); }
.body-sm { font-size: 15px; line-height: 1.55; color: var(--muted); }
.note { font-size: 13px; line-height: 1.5; color: var(--muted-2); }

.link {
  font-weight: 600;
  color: var(--ember-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn--primary { background: var(--ember); color: var(--ink); }
.btn--primary:hover { background: #f59c45; color: var(--ink); }
.btn--secondary { background: var(--white); border-color: var(--line-light); color: var(--blue); }
.btn--secondary:hover { border-color: var(--blue); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0f2540; color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: #e8eef5; color: var(--navy); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Header ---------- */

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 68px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { display: block; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
}
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; }

.header-link { font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-header .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 18px;
    font-size: 16px;
  }
  .js .site-header .nav.is-open { display: flex; }
  .js .site-header .nav a:not(.btn) { padding: 12px 0; border-top: 1px solid var(--rule-faint); }
  .js .site-header .nav .btn { margin-top: 12px; }
}

/* ---------- Sections and the ember rail ---------- */

.section { padding: 0 var(--gutter); }
.section--white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section--white + .section--white { border-top: 0; }
.section--white + .section:not(.section--white),
.section:not(.section--white) + .section--white { margin-top: 0; }

.rail {
  max-width: var(--max);
  margin: 0 auto;
  border-left: 2px solid var(--ember);
  padding: var(--section-y) 0 var(--section-y) var(--rail-pad);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.rail--tight-top { padding-top: 0; }
.rail--tight-bottom { padding-bottom: 40px; }

.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.intro--wide { max-width: 960px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 40px;
  align-items: start;
}
.split > * { min-width: 0; }
.split--end { align-items: end; gap: 24px 40px; }
.split--center { align-items: center; }

.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack--lg { gap: 22px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.grid-cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid-cards > * { min-width: 0; }

/* ---------- Cards ---------- */

.card {
  padding: 28px;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card--white { background: var(--white); }
.card--dashed { background: var(--white); border-style: dashed; border-color: var(--line-light); }
.card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.card .push { margin-top: auto; }
.card__icon { display: block; color: var(--blue); }

@media (max-width: 640px) {
  .card { padding: 22px 20px; }
}

/* ---------- Home: hero ---------- */

.hero .rail { gap: 48px; padding-bottom: 56px; }
.hero__text { display: flex; flex-direction: column; gap: 26px; max-width: 980px; }

.figure-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.figure-card img { display: block; width: 100%; }
.figure-card figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.chart-scroll { overflow-x: auto; }

@media (max-width: 640px) {
  .figure-card { padding: 14px; }
  .chart-scroll img { min-width: 620px; }
}

.evidence {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}
.evidence li {
  padding: 16px 0 22px;
  border-top: 2px solid var(--ember);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.evidence__fig {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.evidence__text { font-size: 15px; line-height: 1.45; color: var(--muted); }
.evidence-block { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 900px) { .evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .evidence { grid-template-columns: 1fr; } }

/* ---------- Home: client situations ---------- */

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.ticks li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--ember);
}

/* ---------- Spec lists (label / value rows) ---------- */

.spec {
  margin: 0;
  padding: 4px 24px;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  background: var(--white);
}
.spec > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-faint);
}
.spec > div:last-child { border-bottom: 0; }
.spec dt {
  flex: 0 0 150px;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-2);
}
.spec dd { flex: 1 1 240px; min-width: 0; margin: 0; font-size: 15px; line-height: 1.5; }

.spec--navy { background: rgba(255, 255, 255, 0.07); border-color: var(--on-navy-rule); }
.spec--navy > div { border-bottom-color: var(--on-navy-rule); }
.spec--navy dt { flex-basis: 104px; color: var(--on-navy-muted); }
.spec--navy dd { color: var(--white); }

.spec--plain { background: transparent; border: 0; border-top: 1px solid var(--rule); border-radius: 0; padding: 0; }
.spec--plain > div:last-child { border-bottom: 1px solid var(--rule-faint); }

@media (max-width: 640px) {
  .spec { padding: 4px 18px; }
  .spec--plain { padding: 0; }
}

/* ---------- Home: offers ---------- */

.offer dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.offer dl > div { display: flex; flex-direction: column; gap: 3px; padding-top: 12px; border-top: 1px solid var(--rule-faint); }
.offer dt {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.offer dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.offer .btn { align-self: flex-start; }

.steps-h {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.steps-h li {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 2px solid var(--ember);
}
.step-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.step-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.step-text strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.step-text span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Work cards ---------- */

.work-card { padding: 26px; gap: 12px; }
.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
}
.work-card p { font-size: 15px; }
.work-card .role {
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.role__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--ember-text);
}

/* ---------- Navy panels (Threshold) ---------- */

.panel-navy {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 36px;
  align-items: start;
}
.panel-navy > * { min-width: 0; }
.panel-navy .kicker,
.panel-navy .label { color: var(--on-navy-muted); }
.panel-navy p { color: var(--on-navy-text); font-size: 16px; line-height: 1.55; }
.panel-navy :focus-visible { outline-color: var(--on-navy-accent); }
.panel-navy__head { display: flex; align-items: center; gap: 12px; }
.panel-navy__head svg { display: block; flex: none; }

/* ---------- Writing ---------- */

.pubs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.pub {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 6px 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.pub__title { font-size: 16px; font-weight: 600; }
.pub__meta { font-size: 14px; color: var(--muted); }
.pub .link { font-size: 15px; white-space: nowrap; }
.also { max-width: 920px; font-size: 15px; line-height: 1.6; color: var(--muted); }

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

/* ---------- About ---------- */

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px dashed var(--line-light);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  color: var(--muted-2);
}
.ph--portrait { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
.portrait { display: block; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }

.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--chip-border);
  border-radius: 4px;
  background: var(--chip-bg);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--chip-text);
}

.how { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--rule); }
.how dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px 24px;
}
.how dl > div { display: flex; flex-direction: column; gap: 4px; }
.how dt { font-size: 15px; font-weight: 600; }
.how dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.orgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.orgs > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.orgs p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.orgs .note { font-size: 13px; }

/* ---------- Forms ---------- */

.form {
  padding: 28px;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; min-height: 120px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-aside { font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form .btn { align-self: flex-start; }
.form-live:empty { display: none; }
.form-status {
  padding: 12px 14px;
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
}
.form-status--error { border-left-color: var(--ember-text); }
.form-status[hidden] { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .form { padding: 22px 18px; }
}

/* ---------- Contact block ---------- */

.contact-details { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.contact-details a { font-weight: 600; }
.contact-details span { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { padding: 28px var(--gutter) 32px; background: var(--white); border-top: 1px solid var(--rule); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.footer-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.footer-id svg { display: block; flex: none; }
.footer-id span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted-2);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; }
.footer-nav--throughlines { flex-basis: 100%; align-items: baseline; }
.footer-nav--throughlines a[aria-current="page"] { color: var(--muted-2); }
.footer-copy { flex-basis: 100%; font-size: 12px; color: var(--muted-2); }

/* ---------- BPS page ---------- */

.threshold-title { display: flex; align-items: center; gap: 14px; }
.threshold-title svg { display: block; flex: none; }
.threshold-title span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.table-wrap { overflow-x: auto; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-table th {
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--muted-2);
}
.mini-table td { padding: 8px 0; border-bottom: 1px solid var(--rule-faint); }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table th + th, .mini-table td + td { text-align: right; padding-left: 12px; }
.mini-table .muted { color: var(--muted-2); }

.risk-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.risk-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  color: var(--muted-2);
}
.risk-table th:first-child, .risk-table td:first-child { padding-left: 0; }
.risk-table th:last-child, .risk-table td:last-child { padding-right: 0; }
.risk-table th.ember { color: var(--ember-text); }
.risk-table td { padding: 16px; border-bottom: 1px solid var(--rule-faint); vertical-align: top; }
.risk-table tr:last-child td { border-bottom: 0; }
.risk-table td:first-child { width: 30%; font-weight: 600; }
.risk-table td:nth-child(2) { width: 34%; color: var(--muted); }
.table-wrap--rule { border-top: 1px solid var(--rule); }

.steps-v { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.steps-v li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule-faint); }

.coming {
  padding: 16px 18px;
  border: 1px dashed var(--line-light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.coming p { font-size: 15px; line-height: 1.5; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 8px 32px;
}
.features > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 12px; border-top: 1px solid var(--rule); min-width: 0; }
.features h3 { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.features p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.data-note {
  padding: 16px 20px;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  background: var(--panel);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.screens-panel {
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.screens-panel :focus-visible { outline-color: var(--on-navy-accent); }
.screens-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.screens-panel__head > div { display: flex; align-items: center; gap: 12px; }
.screens-panel__head svg { display: block; flex: none; }
.screens-panel h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--on-navy-muted);
}
.screens-panel .asof {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--on-navy-muted);
}
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 24px 20px;
}
.screens figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.screens figcaption { font-size: 14px; line-height: 1.45; color: var(--on-navy-text); }
.screens img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.ph--screen {
  aspect-ratio: 4 / 3;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--on-navy-muted);
}
.license-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.license-row p { flex: 1 1 380px; max-width: 760px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.routes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  border-top: 2px solid var(--ember);
}
.routes li { padding: 18px 18px 18px 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.routes strong { font-size: 17px; font-weight: 600; }
.routes span:last-child { font-size: 15px; line-height: 1.45; color: var(--muted); }

@media (max-width: 640px) {
  .routes li { border-bottom: 1px solid var(--rule-faint); padding-right: 0; }
}

.bounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px 40px;
}
.bounds > div { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
.bounds h3 { margin: 0; font-size: 16px; font-weight: 600; font-family: var(--font-body); }
.bounds p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.sources {
  padding-top: 16px;
  border-top: 1px solid var(--rule-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

/* ---------- Throughline timelines ---------- */

.tl { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.tl-phase { position: relative; padding: 4px 0 18px; }
.tl-phase::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--rail-pad) - 12px);
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--navy);
}
.tl-phase h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.6;
  color: var(--navy);
}
.tl-phase p { margin-top: 10px; max-width: 760px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.tl-item { position: relative; display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 0 0 30px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--rail-pad) - 7px);
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 0 3px var(--white);
}
.tl-item--after::before { background: var(--white); border: 2px solid var(--ember); }
.tl-date {
  flex: 0 0 140px;
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ember-text);
}
.tl-body { flex: 1 1 420px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 8px; }
.tl-body h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.tl-body p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.tl-body .link { font-size: 15px; align-self: flex-start; }

.more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
  font-size: 15px;
}

/* ---------- Simple pages (privacy, 404, thanks) ---------- */

.links-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; }
.ph-inline {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--line-light);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ---------- Label overrides (kept last so component paragraph rules don't win) ---------- */

p.label, span.label {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
}
p.label--ember { color: var(--ember-text); }
.panel-navy p.label { color: var(--on-navy-muted); }

@media (max-width: 640px) {
  .lede { font-size: 17px; }
  .evidence li { padding: 12px 0 16px; }
  .evidence__fig { font-size: 22px; }
}

/* ---------- Home: throughlines band ---------- */

.grid-cards--throughlines { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.throughline-card .h3 a { color: inherit; text-decoration: none; }
.throughline-card { padding: 24px 20px; }
.throughline-card .h3 { font-size: 20px; }
.throughline-card .h3 a::after { content: "\00a0\2192"; content: "\00a0\2192" / ""; color: var(--ember-text); }
.throughline-card .h3 a:hover { color: var(--ember-text); text-decoration: underline; text-underline-offset: 3px; }
