/* ==========================================================================
   Starpower — site styles
   Palette: forest green, muted lime, warm off-white.
   Type: Archivo (headlines, labels, interface) + Source Serif 4 (reading text).
   Change colors and fonts in :root below; everything else follows.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --forest-950: #0b211a;   /* dark sections, footer */
  --forest-900: #0f2a21;
  --forest-800: #15382d;   /* primary ink */
  --forest-700: #22473a;
  --forest-600: #2f5a46;
  --paper: #f6f5ee;        /* warm off-white page */
  --paper-2: #ecefe3;      /* quiet band */
  --lime: #b9e66e;         /* accent on dark, buttons */
  --lime-200: #dcf3b3;
  --olive: #3f6621;        /* accent text on light */
  --muted: #4b5f55;        /* secondary text on light */
  --muted-dark: #a9bdb1;   /* secondary text on dark */
  --rule: #d3dacb;
  --rule-dark: rgba(220, 243, 179, .14);

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 78rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --measure: 38rem;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 4.5rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--forest-800);
  font: 400 1.125rem/1.65 var(--serif);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-anchor: none;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 3px; }
.dark :focus-visible { outline-color: var(--lime); }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--lime); color: var(--forest-950); }

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 760;
  font-stretch: 104%;
  line-height: 1.04;
  letter-spacing: -.025em;
  word-spacing: .08em;   /* keeps words clearly apart in big, tight headlines */
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 6.25rem); font-weight: 780; letter-spacing: -.035em; line-height: .98; word-spacing: .14em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 650; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--forest-950); padding: .7rem 1rem; font: 650 1rem var(--sans); border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.eyebrow {
  font: 650 .78rem/1.2 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 1.25rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1.5px; background: currentColor; }
.dark .eyebrow { color: var(--lime); }

.lede { font: 400 clamp(1.2rem, 1.9vw, 1.45rem)/1.5 var(--sans); letter-spacing: -.005em; max-width: 36rem; }
.lede-serif { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; }
.statement {
  font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--serif);
  font-style: italic;
  letter-spacing: -.01em;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}
.statement.big { font-size: clamp(1.9rem, 4vw, 3.2rem); max-width: 26ch; padding-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.dark .statement { color: var(--lime-200); }
.mini-title { font: 700 .82rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.dark .mini-title { color: var(--muted-dark); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section.tight-top { padding-top: clamp(1rem, 3vw, 2rem); }
.band { background: var(--paper-2); }
.dark { background: var(--forest-950); color: #e3ebdf; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #f6f5ee; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }
.split-head { display: grid; grid-template-columns: 1fr; gap: 1.5rem 4rem; max-width: none; align-items: start; }
.split-head h2 { margin: 0; }
@media (min-width: 60rem) { .split-head { grid-template-columns: 1.1fr 1fr; } }
.split { display: grid; gap: 2rem 4rem; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.two-col { display: grid; gap: 3rem 5rem; align-items: start; }
@media (min-width: 62rem) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .two-col.flip > :first-child { order: 0; } }
.after-note { font: 500 1.05rem/1.5 var(--sans); color: var(--muted); margin: 2.5rem 0 0; max-width: 40rem; }

/* Decorative orbit lines on dark sections */
.orbit { position: absolute; inset: auto -20% -60% auto; width: min(70rem, 120vw); aspect-ratio: 1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(closest-side, transparent 64%, rgba(185,230,110,.16) 64.3%, transparent 64.8%),
    radial-gradient(closest-side, transparent 80%, rgba(185,230,110,.10) 80.3%, transparent 80.8%),
    radial-gradient(closest-side, transparent 96%, rgba(185,230,110,.07) 96.3%, transparent 96.8%);
}
.dark > .wrap { position: relative; }

/* ---------- Header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--forest-950);
  color: #e3ebdf;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(11, 33, 26, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--rule-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 500 1.2rem/1 var(--sans); letter-spacing: -.02em; color: #f6f5ee; }
.brand svg { width: 2rem; height: 2rem; flex: none; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-35deg); }
.brand b { font-weight: 800; color: var(--lime); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav ul a {
  display: block; padding: .55rem .8rem; border-radius: 99px;
  font: 550 .95rem/1 var(--sans); text-decoration: none; color: #cddbd0;
  transition: color .2s, background-color .2s;
}
.site-nav ul a:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav ul a[aria-current="page"] { color: var(--forest-950); background: var(--lime); }
.nav-cta { font: 650 .92rem/1 var(--sans); text-decoration: none; color: var(--lime); padding: .6rem 1rem; border: 1.5px solid rgba(185,230,110,.5); border-radius: 99px; transition: background-color .2s, color .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--lime); color: var(--forest-950); }

.menu-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 0; padding: .6rem 0; cursor: pointer; font: 600 .95rem var(--sans); color: #f6f5ee; }
.burger { position: relative; width: 1.4rem; height: .8rem; display: inline-block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: calc(100% - 2px); }
.menu-toggle[aria-expanded="true"] .burger i:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (max-width: 66rem) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    background: var(--forest-950);
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; padding: 1rem 0; border-radius: 0; border-bottom: 1px solid var(--rule-dark); background: none !important; color: #f6f5ee; }
  .site-nav ul a[aria-current="page"] { color: var(--lime); }
  .nav-cta { align-self: flex-start; font-size: 1rem; padding: .9rem 1.3rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Buttons & links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.button {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.4rem;
  font: 650 1rem/1 var(--sans); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  background: var(--lime); color: var(--forest-950);
  border: 1.5px solid var(--lime); border-radius: 99px;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.button::after { content: "→"; transition: transform .25s var(--ease); }
.button:hover { background: var(--lime-200); border-color: var(--lime-200); }
.button:hover::after { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: #f6f5ee; border-color: rgba(246,245,238,.35); }
.button.ghost:hover { border-color: var(--lime); color: var(--lime); }
.button.solid { background: var(--forest-800); color: #f6f5ee; border-color: var(--forest-800); }
.button.solid:hover { background: var(--forest-600); border-color: var(--forest-600); }
.button[disabled] { opacity: .6; cursor: progress; }
.arrow-link { font: 650 1.05rem/1.4 var(--sans); color: inherit; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; }
.arrow-link::after { content: " →"; }
.dark .arrow-link { color: var(--lime); }
.text-button { background: none; border: 0; padding: 0; cursor: pointer; font: 650 .92rem/1.3 var(--sans); color: var(--olive); text-decoration: underline; text-underline-offset: .25em; }
.ext::after { content: "↗"; display: inline-block; margin-left: .25em; font-family: var(--sans); font-weight: 500; font-size: .85em; text-decoration: none; transition: transform .2s var(--ease); }
.ext:hover::after { transform: translate(2px, -2px); }
.cite {
  display: inline-grid; place-items: center; vertical-align: super;
  min-width: 1.15rem; height: 1.15rem; margin-left: .2rem; padding: 0 .25rem;
  font: 700 .62rem/1 var(--sans); text-decoration: none;
  color: var(--olive); border: 1px solid currentColor; border-radius: 99px;
  transition: background-color .2s, color .2s;
}
.cite:hover { background: var(--olive); color: #fff; }
.dark .cite { color: var(--lime); }
.dark .cite:hover { background: var(--lime); color: var(--forest-950); }

/* ---------- Pages (single file, one shown at a time when JavaScript runs) ---------- */
.js .page[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .page.entering { animation: pageIn .55s var(--ease) both; }
  @keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(185,230,110,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(185,230,110,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { max-width: 11ch; }
.hero .lede { color: #cddbd0; }
.hero-art { margin: 0; justify-self: center; width: min(100%, 34rem); }
.hero-art img { width: 100%; filter: drop-shadow(0 0 60px rgba(185,230,110,.12)); }
@media (prefers-reduced-motion: no-preference) { .hero-art img { animation: float 9s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-10px); } } }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-top: 1px solid var(--rule-dark); }
@media (min-width: 60rem) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.figure-item { padding: 1.5rem 1.5rem 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .6rem; }
.figure-item + .figure-item { padding-left: 1.5rem; border-left: 1px solid var(--rule-dark); }
@media (max-width: 59.99rem) { .figure-item.figure-item:nth-child(3) { border-left: 0; padding-left: 0; } .figure-item:nth-child(n+3) { margin-top: 1rem; border-top: 1px solid var(--rule-dark); } }
.figure-item dt { font: 500 .9rem/1.35 var(--sans); color: var(--muted-dark); max-width: 30ch; }
.figure-item dd { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .75rem; }
.num { font: 780 clamp(1.9rem, 3.4vw, 2.75rem)/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #f6f5ee; }
.tag { display: inline-flex; align-items: center; gap: .35rem; font: 650 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 99px; white-space: nowrap; }
.tag::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; }
.tag.done { background: rgba(185,230,110,.16); color: var(--lime); }
.tag.done::before { background: var(--lime); }
.tag.plan { color: var(--muted-dark); border: 1px dashed rgba(169,189,177,.6); }
.tag.plan::before { border: 1.5px solid currentColor; }
:not(.dark) > .wrap .tag.done, .roadmap .tag.done { background: var(--forest-800); color: var(--lime); }
.roadmap .tag.plan, .band .tag.plan { color: var(--muted); border-color: var(--muted); }

/* ---------- Opening ---------- */
.opening { display: grid; gap: 2.5rem 5rem; align-items: end; }
@media (min-width: 60rem) { .opening { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.opening .statement { padding-left: 1.5rem; border-left: 3px solid var(--lime); }

/* ---------- Charts ---------- */
.chart { margin: 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); }
.chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.75rem; }
.chart-title { font: 700 1.05rem/1.3 var(--sans); letter-spacing: -.01em; max-width: 26ch; }
.legend { display: inline-flex; align-items: center; gap: .45rem; font: 500 .82rem/1 var(--sans); color: var(--muted); }
.key { width: .9rem; height: .6rem; border-radius: 2px; display: inline-block; }
.key.solid { background: var(--forest-800); }
.key.dashed { border: 1.5px dashed var(--forest-800); margin-left: .6rem; }
.bars { position: relative; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; padding: .35rem 0 1.1rem; border-radius: 4px; outline-offset: 4px; cursor: default; }
.bar-label { font: 650 .95rem/1.25 var(--sans); }
.bar-label small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.bar-value { font: 800 1.55rem/1 var(--sans); letter-spacing: -.03em; align-self: end; font-variant-numeric: tabular-nums; }
.bar-track { grid-column: 1 / -1; position: relative; height: 1.75rem; }
.bar-track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), rgba(21,56,45,.08) calc(100% / 12 - 1px) calc(100% / 12)); }
.bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / var(--max, 12) * 100%); border-radius: 0 4px 4px 0; transform-origin: left; transition: filter .2s; }
.bar.solid { background: var(--forest-800); }
.bar.muted { background: #8fa597; }
.bar.dashed { background: repeating-linear-gradient(135deg, rgba(185,230,110,.55) 0 6px, rgba(185,230,110,.2) 6px 12px); border: 2px dashed var(--forest-800); }
.bar-row:hover .bar, .bar-row:focus-visible .bar { filter: brightness(1.15); }
.axis { position: relative; height: 2.2rem; border-top: 1px solid var(--rule); margin-top: -.3rem; }
.axis span { position: absolute; top: .45rem; left: calc(var(--x) / 12 * 100%); transform: translateX(-50%); font: 500 .76rem/1.2 var(--sans); color: var(--muted); white-space: nowrap; }
.axis span:first-child { transform: none; }
.axis span.even { color: var(--olive); font-weight: 700; transform: none; margin-left: -.15rem; }
.axis span.even::before { content: ""; position: absolute; left: .15rem; top: -.45rem; height: .4rem; border-left: 2px solid var(--olive); }
.chart-note { font: 400 .86rem/1.5 var(--sans); color: var(--muted); margin: 1rem 0 0; }
.js [data-animate] .bar { transform: scaleX(0); }
.js [data-animate].shown .bar { transform: none; transition: transform 1.2s var(--ease); }
.js [data-animate].shown .bar-row + .bar-row .bar { transition-delay: .2s; }

.callout-num { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font: 500 .95rem/1.4 var(--sans); }
.callout-num .num { color: var(--forest-800); font-size: 2rem; white-space: nowrap; }

/* Column chart (data centers) */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; padding: 0 .5rem; }
.col-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; border-radius: 4px; outline-offset: 4px; }
.col-value { font: 800 1.4rem/1 var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.col-track { position: relative; width: min(5.5rem, 70%); height: 10rem; box-shadow: 0 1px 0 var(--rule); }
.col { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--v) / 13 * 100%); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.col.solid { background: var(--forest-800); }
.col.dashed { background: repeating-linear-gradient(135deg, rgba(185,230,110,.55) 0 6px, rgba(185,230,110,.2) 6px 12px); border: 2px dashed var(--forest-800); border-bottom: 0; }
.col.range { left: auto; right: -1.1rem; width: 4px; border-radius: 2px; background: var(--olive); bottom: calc(var(--lo) / 13 * 100%); height: calc((var(--hi) - var(--lo)) / 13 * 100%); }
.col-label { font: 600 .82rem/1.2 var(--sans); color: var(--muted); text-align: center; }
.col-value { font-size: 1.25rem; }
.js [data-animate] .col { transform: scaleY(0); }
.js [data-animate].shown .col { transform: none; transition: transform 1.1s var(--ease); }
.js [data-animate].shown .col-item + .col-item .col { transition-delay: .2s; }

.tooltip { position: fixed; z-index: 80; max-width: 18rem; padding: .6rem .8rem; background: var(--forest-950); color: #f0f4ec; font: 500 .85rem/1.4 var(--sans); border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.18); pointer-events: none; }

/* ---------- Timeline ---------- */
.timeline-block { margin: clamp(3.5rem, 7vw, 6rem) 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 2px; background: linear-gradient(90deg, var(--forest-800) 0 17%, transparent 17%), repeating-linear-gradient(90deg, var(--forest-600) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; padding-top: 2rem; padding-right: 1rem; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--forest-800); transition: transform .3s var(--ease), box-shadow .3s; }
.timeline li.done::before { background: var(--forest-800); box-shadow: 0 0 0 4px rgba(185,230,110,.6); }
.timeline li.active::before { transform: scale(1.25); }
.timeline button { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; width: 100%; }
.t-year { display: block; font: 800 1.35rem/1 var(--sans); letter-spacing: -.03em; margin-bottom: .35rem; }
.t-name { display: block; font: 600 .92rem/1.3 var(--sans); color: var(--muted); transition: color .2s; }
.timeline button:hover .t-name, .timeline li.active .t-name { color: var(--forest-800); }
.timeline p { font: 400 .95rem/1.5 var(--sans); color: var(--forest-800); margin: .75rem 0 0; }
.js .timeline p { display: none; }
.js .timeline li.active p { display: block; animation: pageIn .4s var(--ease) both; }
.timeline-key { display: flex; gap: .5rem; align-items: center; font: 500 .82rem/1 var(--sans); color: var(--muted); margin: 1.75rem 0 0; }
.timeline-key .dot { width: .75rem; height: .75rem; border-radius: 50%; border: 2px solid var(--forest-800); }
.timeline-key .dot.done { background: var(--forest-800); }
.timeline-key .dot + * , .timeline-key .dot:not(:first-child) { margin-left: .9rem; }
@media (max-width: 52rem) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: .5rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--forest-800) 0 30%, transparent 30%), repeating-linear-gradient(180deg, var(--forest-600) 0 6px, transparent 6px 12px); }
  .timeline li { padding: 0 0 1.5rem 2.25rem; }
  .timeline li::before { top: .1rem; }
}

/* ---------- Dark "stake" + closing ---------- */
.stake h2 { max-width: 12ch; }
.stake .lede-serif { color: #f6f5ee; }

/* ---------- Sources ---------- */
.sources { padding-block: 2rem 3rem; }
.sources details { border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.sources summary { cursor: pointer; display: flex; align-items: baseline; gap: 1rem; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary h2 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.sources summary span { font: 500 .9rem var(--sans); color: var(--muted); }
.sources summary::after { content: "+"; margin-left: auto; font: 500 1.4rem/1 var(--sans); transition: transform .3s var(--ease); }
.sources details[open] summary::after { transform: rotate(45deg); }
.sources ol { margin: 1.25rem 0 0; padding-left: 1.5rem; font: 400 .95rem/1.5 var(--sans); color: var(--muted); columns: 2 22rem; column-gap: 3rem; }
.sources li { margin-bottom: .6rem; break-inside: avoid; }
.sources li:target { background: var(--lime-200); }
.sources a { color: var(--forest-800); font-weight: 600; }

/* ---------- Page intros ---------- */
.page-intro { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); position: relative; }
.intro-grid { display: grid; gap: 2rem 5rem; align-items: start; }
@media (min-width: 60rem) { .intro-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .intro-side { padding-top: 2.6rem; align-self: start; } }
.page-intro h1 { max-width: 14ch; }
.page-intro .lede + .lede { margin-top: -.25rem; }
.h1-wide { max-width: 20ch !important; font-size: clamp(2.4rem, 5.6vw, 5rem); }
.h1-sub { display: block; color: var(--olive); font-style: italic; font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; margin-top: .25em; }
.dark .h1-sub { color: var(--lime); }
.intro-cols { display: grid; gap: 1.5rem 5rem; margin-top: 2.5rem; }
@media (min-width: 60rem) { .intro-cols { grid-template-columns: 1fr 1fr; } }
.about-intro { padding-bottom: clamp(4rem, 9vw, 7rem); }
.about-intro .lede { color: #cddbd0; max-width: 42rem; }

/* ---------- Explore: reaction + compare ---------- */
.diagram { margin: 0; }
.reaction { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(1rem, 3vw, 2rem); }
.reaction figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 500 .9rem/1.45 var(--sans); color: var(--muted); margin-top: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .reaction.play .r-d { animation: inD 1.2s var(--ease) both; }
  .reaction.play .r-t { animation: inT 1.2s var(--ease) both; }
  .reaction.play .r-burst { animation: burst 1.6s ease-out .9s both; transform-origin: 178px 112px; }
  .reaction.play .r-he { animation: outHe 1.1s var(--ease) 1.3s both; }
  .reaction.play .r-n { animation: outN 1.1s var(--ease) 1.3s both; }
  .reaction.play .r-path { animation: dash 2.4s linear both; }
  @keyframes inD { from { transform: translate(60px, 30px); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
  @keyframes inT { from { transform: translate(60px, -30px); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
  @keyframes burst { 0% { transform: scale(.2); opacity: 0; } 30% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
  @keyframes outHe { from { transform: translate(-70px, 30px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes outN { from { transform: translate(-80px, -30px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes dash { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
}

.compare { display: grid; gap: 1.5rem; grid-template-columns: 1fr; border-top: 1px solid var(--rule); padding-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 48rem) { .compare { grid-template-columns: 1fr 1fr; } }
@media (min-width: 66rem) { .compare { grid-template-columns: 1fr 1fr 1.3fr; gap: 3rem; } }
.compare-col svg { width: 12rem; margin-bottom: 1rem; }
.compare-col h3 { margin-bottom: .35rem; }
.compare-col p { font: 400 1.05rem/1.5 var(--sans); color: var(--muted); margin: 0; max-width: 22ch; }
.compare-col.fusion h3 { color: var(--olive); }
.compare-col.fusion p { color: var(--forest-800); }
.compare-points { background: var(--forest-950); color: #e3ebdf; border-radius: 12px; padding: 1.75rem; }
.compare-points .mini-title { color: var(--lime); }
.checks { list-style: none; margin: 0; padding: 0; font: 500 1.02rem/1.45 var(--sans); }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .9rem; }
.checks li:last-child { margin-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.6' fill='none' stroke='%230b211a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }

/* ---------- Tabs ---------- */
.tab-list { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.tab-list [role="tab"] {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.2rem; cursor: pointer;
  font: 650 1rem/1 var(--sans); letter-spacing: -.01em;
  background: transparent; border: 1.5px solid var(--rule); border-radius: 99px; color: var(--muted);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab-list [role="tab"]:hover { border-color: var(--forest-800); color: var(--forest-800); }
.tab-list [aria-selected="true"] { background: var(--forest-800); border-color: var(--forest-800); color: #f6f5ee; }
.tab-num { font-size: .75rem; color: var(--olive); letter-spacing: .06em; }
.tab-list [aria-selected="true"] .tab-num { color: var(--lime); }
.tab-panel { display: grid; gap: 2rem 4rem; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 52rem) { .tab-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tab-panel[hidden] { display: none; }
.tab-panel img { width: 100%; max-width: 30rem; }
.tab-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tab-panel p { font-size: 1.2rem; line-height: 1.55; }
.tab-panel .panel-eg { font: 500 .95rem/1.4 var(--sans); color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--rule); margin: 1.5rem 0 0; }
.panel-eg a { color: var(--forest-800); font-weight: 650; }
@media (prefers-reduced-motion: no-preference) { .tab-panel:not([hidden]) { animation: pageIn .45s var(--ease) both; } }

/* ---------- Roadmap (efforts) ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-800); }
.roadmap li { display: grid; gap: .75rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); transition: background-color .3s; }
@media (min-width: 52rem) { .roadmap li { grid-template-columns: 14rem minmax(0, 1fr); } }
.roadmap li:target { background: linear-gradient(90deg, rgba(185,230,110,.25), transparent 70%); }
.rm-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.rm-year { font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--sans); letter-spacing: -.04em; }
.roadmap li:not(.done) .rm-year { color: transparent; -webkit-text-stroke: 1.5px var(--forest-800); }
.rm-body { max-width: 44rem; }
.rm-body h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.rm-kind { font: 650 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: .8rem; }
.rm-body p:last-child { margin: 0; }

.capital { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); max-width: 22rem; }
.capital .num { font-size: clamp(3rem, 6vw, 4.5rem); color: var(--lime); }
.capital > span:last-child { font: 500 1rem/1.4 var(--sans); color: var(--muted-dark); }

/* ---------- Why: topics ---------- */
.topics-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 5rem; padding-bottom: var(--section); }
@media (min-width: 64rem) { .topics-layout { grid-template-columns: 15rem minmax(0, 1fr); } }
.topic-nav { min-width: 0; position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; z-index: 5; }
.topic-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.topic-nav li { counter-increment: t; }
.topic-nav a { display: flex; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--rule); font: 600 .92rem/1.3 var(--sans); text-decoration: none; color: var(--muted); transition: color .2s; }
.topic-nav a::before { content: counter(t, decimal-leading-zero); font-size: .75rem; padding-top: .12rem; color: var(--olive); }
.topic-nav a:hover { color: var(--forest-800); }
.topic-nav a.current { color: var(--forest-800); }
.topic-nav a.current::after { content: ""; margin-left: auto; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(185,230,110,.35); align-self: center; flex: none; }
@media (max-width: 63.99rem) {
  .topic-nav { top: var(--header-h); background: var(--paper); margin-inline: calc(var(--gutter) * -1); padding: .5rem var(--gutter); border-bottom: 1px solid var(--rule); }
  .topic-nav ol { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
  .topic-nav a { border: 1px solid var(--rule); border-radius: 99px; padding: .5rem .9rem; white-space: nowrap; }
  .topic-nav a::before { display: none; }
  .topic-nav a.current { background: var(--forest-800); color: #f6f5ee; border-color: var(--forest-800); }
  .topic-nav a.current::after { display: none; }
}
.topic { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--rule); }
.topic:first-child { border-top: 0; padding-top: 0; }
.topic-num { font: 700 .8rem/1 var(--sans); letter-spacing: .12em; color: var(--olive); margin-bottom: .9rem; }
.topic h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 20ch; }
.topic-body { display: grid; gap: 2rem 3.5rem; align-items: start; margin-top: 1.5rem; }
@media (min-width: 72rem) { .topic-body { grid-template-columns: minmax(0, 1fr) 19rem; } }
.topic-fig { margin: 0; padding: 1.5rem; border-radius: 12px; background: var(--paper-2); }
.topic-fig figcaption { font: 500 .92rem/1.4 var(--sans); color: var(--muted); }
.fig-num { font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--sans); letter-spacing: -.04em; margin: 0 0 .5rem; color: var(--forest-800); font-variant-numeric: tabular-nums; }
.fig-num.on-dark { color: var(--lime); font-size: clamp(4rem, 9vw, 7rem); }
.clock svg { width: 10rem; margin: 0 auto 1rem; }
.clock-ring { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .clock-ring { stroke-dashoffset: 100; }
.js .clock.shown .clock-ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.clock figcaption { text-align: center; }
.unit-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 1.25rem; }
.unit-row span { height: 3.5rem; border-radius: 4px; background: #d6ddcf; }
.unit-row span.on { background: var(--forest-800); position: relative; }
.unit-row span.on::after { content: ""; position: absolute; inset: 35% 30%; border-radius: 50%; background: var(--lime); }
.stats-pair { display: grid; gap: 1.5rem; }
.stats-pair > div + div { padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.meter { height: .5rem; border-radius: 99px; background: #d6ddcf; overflow: hidden; margin-bottom: .75rem; }
.meter span { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--forest-800); border-radius: 99px; transition: width .6s var(--ease); }
.dc { padding: 1.5rem; }
.race-list ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.race-list li { font: 650 .9rem/1 var(--sans); padding: .55rem .8rem; border-radius: 99px; background: var(--forest-800); color: #f6f5ee; }
.race-list li.more { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }

.closing .display { font-size: clamp(2.6rem, 6.5vw, 5.6rem); max-width: 13ch; letter-spacing: -.04em; word-spacing: .14em; }
.closing-grid { display: grid; gap: 2rem 5rem; margin-top: 3rem; align-items: start; }
@media (min-width: 60rem) { .closing-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.sea p:last-child { font: 500 1.05rem/1.45 var(--sans); color: var(--muted-dark); max-width: 22ch; }

/* ---------- Take action ---------- */
.accordion details { border-top: 1px solid var(--forest-800); }
.accordion details:last-child { border-bottom: 1px solid var(--forest-800); }
.accordion summary { display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary h3 { margin: 0; flex: 1; font-size: clamp(1.25rem, 2.2vw, 1.6rem); transition: color .2s; }
.accordion summary:hover h3 { color: var(--olive); }
.acc-num { font: 700 .8rem/1 var(--sans); letter-spacing: .08em; color: var(--olive); width: 1.75rem; flex: none; }
.accordion summary::after { content: ""; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; border: 1.5px solid var(--forest-800);
  background: linear-gradient(var(--forest-800), var(--forest-800)) center/.8rem 1.5px no-repeat, linear-gradient(var(--forest-800), var(--forest-800)) center/1.5px .8rem no-repeat;
  transition: transform .3s var(--ease), background-color .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.acc-body { padding: 0 0 1.75rem 3rem; max-width: 42rem; }
.acc-body p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) { .accordion details[open] .acc-body { animation: pageIn .4s var(--ease) both; } }
[data-expand-all] { margin-top: 1rem; }

.checklist-progress { margin-top: 2rem; max-width: 24rem; }
.checklist-progress p { font: 500 .92rem/1.4 var(--sans); color: var(--muted); }
.checklist { list-style: none; margin: 0 0 3rem; padding: 0; }
.checklist li + li { border-top: 1px solid var(--rule); }
.checklist label { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; cursor: pointer; font: 500 1.1rem/1.45 var(--sans); }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 1.6rem; height: 1.6rem; margin: 0; border: 1.5px solid var(--forest-800); border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.checklist input::after { content: ""; width: .8rem; height: .8rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3 4.8 9 10 3.4' fill='none' stroke='%230b211a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transform: scale(0); transition: transform .2s var(--ease); }
.checklist input:checked { background: var(--lime); border-color: var(--forest-800); }
.checklist input:checked::after { transform: scale(1); }
.checklist input:checked + span { color: var(--muted); }
.tools-title { margin-top: 0; }
.tool-links { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 40rem) { .tool-links { grid-template-columns: repeat(3, 1fr); } }
.tool-links a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.1rem 2.4rem 1.1rem 1.2rem; border: 1.5px solid var(--forest-800); border-radius: 10px; text-decoration: none; font: 700 1rem/1.25 var(--sans); transition: background-color .2s, color .2s; position: relative; }
.tool-links a::after { position: absolute; top: 1rem; right: 1rem; }
.tool-links a span { font-weight: 500; font-size: .82rem; color: var(--muted); }
.tool-links a:hover { background: var(--forest-800); color: #f6f5ee; }
.tool-links a:hover span { color: var(--muted-dark); }

/* ---------- Resources ---------- */
.res-tools { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 0; border-top: 1px solid var(--forest-800); border-bottom: 1px solid var(--rule); position: sticky; top: var(--header-h); background: var(--paper); z-index: 5; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .55rem .9rem; border-radius: 99px; border: 1.5px solid var(--rule); background: transparent; font: 600 .88rem/1 var(--sans); color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--forest-800); color: var(--forest-800); }
.chip[aria-pressed="true"] { background: var(--forest-800); border-color: var(--forest-800); color: #f6f5ee; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 14rem; max-width: 20rem; }
.search svg { position: absolute; left: .9rem; width: 1.05rem; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: .7rem 1rem .7rem 2.5rem; border-radius: 99px; border: 1.5px solid var(--rule); background: #fff; font: 500 .95rem var(--sans); color: var(--forest-800); }
.search input:focus { border-color: var(--forest-800); outline: none; box-shadow: 0 0 0 3px rgba(185,230,110,.6); }
.res-count { font: 500 .85rem var(--sans); color: var(--muted); margin: 1rem 0 0; min-height: 1.3em; }
.res-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.res-group[hidden] { display: none; }
.res-group > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.res-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest-800); }
.res-item[hidden] { display: none !important; }
.res-list .res-item { display: grid; gap: .4rem 2.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); transition: background-color .2s; }
@media (min-width: 52rem) { .res-list .res-item { grid-template-columns: 14rem minmax(0, 1fr) 7rem; align-items: baseline; } }
.res-list .res-item:hover { background: linear-gradient(90deg, transparent, rgba(185,230,110,.18) 30%, transparent); }
.res-source { font: 650 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.res-item h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.res-item h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100%/0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.res-item h3 a:hover { background-size: 100% 1.5px; }
.res-item p { margin: 0; font-size: 1rem; color: var(--muted); }
.res-type { font: 600 .78rem/1 var(--sans); color: var(--muted); justify-self: start; padding: .35rem .6rem; border: 1px solid var(--rule); border-radius: 99px; }
@media (min-width: 52rem) { .res-type { justify-self: end; } }
.org-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 40rem) { .org-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .org-grid { grid-template-columns: repeat(4, 1fr); } }
.org-grid a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem; border-radius: 10px; background: var(--forest-950); color: #f6f5ee; text-decoration: none; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.org-grid a::after { position: absolute; top: 1.2rem; right: 1.2rem; color: var(--lime); }
.org-grid a:hover { transform: translateY(-3px); background: var(--forest-800); }
.org-name { font: 750 1.15rem/1.2 var(--sans); letter-spacing: -.015em; padding-right: 1.5rem; }
.org-desc { font: 400 .95rem/1.4 var(--sans); color: var(--muted-dark); }
.res-empty { font: 500 1rem var(--sans); color: var(--muted); padding: 2rem 0; }
.suggest { margin-top: clamp(3rem, 6vw, 5rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; padding: 1.75rem 2rem; border-radius: 12px; background: var(--paper-2); }
.suggest p { margin: 0; font: 600 1.1rem var(--sans); }

/* ---------- About ---------- */
.founder { display: flex; align-items: center; gap: 1.25rem; margin-top: .5rem; }
.founder-mark, .founder-photo { width: 5.5rem; height: 5.5rem; border-radius: 50%; flex: none; object-fit: cover; }
.founder-mark { display: grid; place-items: center; background: var(--forest-950); color: var(--lime); font: 750 1.4rem/1 var(--sans); letter-spacing: .02em; box-shadow: 0 0 0 6px rgba(185,230,110,.35); }
.founder-name { font: 750 1.4rem/1.15 var(--sans); letter-spacing: -.02em; margin: 0 0 .3rem; }
.founder-role { font: 500 .95rem/1.3 var(--sans); color: var(--muted); margin: 0; }
.contact-direct { font: 500 1rem/1.5 var(--sans); color: var(--muted); margin-top: 2rem; }
.contact-direct a { color: var(--forest-800); font-weight: 650; word-break: break-word; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font: 650 .9rem/1.2 var(--sans); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 8px;
  border: 1.5px solid var(--rule); background: #fff; color: var(--forest-800);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-800); box-shadow: 0 0 0 3px rgba(185,230,110,.6); }
.field [aria-invalid="true"] { border-color: #a3352b; }
.consent { display: flex; gap: .7rem; align-items: center; font: 500 .95rem/1.4 var(--sans); cursor: pointer; }
.consent input { width: 1.15rem; height: 1.15rem; accent-color: var(--forest-800); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-note { font: 400 .85rem/1.4 var(--sans); color: var(--muted); margin: 0; }
.form-status { font: 600 .95rem/1.45 var(--sans); margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--olive); }
.form-status.err { color: #a3352b; }
.dark .form-status.ok { color: var(--lime); }
.dark .form-status.err { color: #ffb4a8; }
.form.sent .field, .form.sent .field-row, .form.sent .consent, .form.sent .form-foot { display: none; }
.form.sent .form-status { font: 650 1.25rem/1.4 var(--sans); padding: 2rem; border-radius: 12px; background: var(--paper-2); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 56rem) { .footer-top { grid-template-columns: 1fr 1fr; align-items: end; } }
.footer-tagline { font: 500 italic clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--serif); color: var(--lime-200); margin: 1.5rem 0 0; max-width: 20ch; }
.nl-title { font: 750 1.2rem/1.2 var(--sans); color: #f6f5ee; margin: 0; }
.nl-sub { font: 400 .95rem/1.45 var(--sans); color: var(--muted-dark); margin: 0; }
.nl-row { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.nl-row input[type="email"] { flex: 1 1 14rem; padding: .9rem 1.2rem; border-radius: 99px; border: 1.5px solid rgba(220,243,179,.25); background: rgba(255,255,255,.04); color: #f6f5ee; font: 500 1rem var(--sans); }
.nl-row input[type="email"]::placeholder { color: #7f978a; }
.nl-row input[type="email"]:focus { outline: none; border-color: var(--lime); }
.newsletter.sent .nl-row, .newsletter.sent .nl-sub { display: none; }
.newsletter.sent .form-status { background: rgba(185,230,110,.12); font-size: 1.05rem; padding: 1rem 1.25rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 2rem 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.footer-nav a { font: 600 .95rem var(--sans); text-decoration: none; color: #cddbd0; }
.footer-nav a:hover { color: var(--lime); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font: 400 .85rem/1.5 var(--sans); color: #8aa194; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); }
.footer-base p { margin: 0; }
.footer-base a { color: #cddbd0; }

/* ---------- Small screens ---------- */
@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .figure-item { padding-right: .75rem; }
  .figure-item + .figure-item { padding-left: .75rem; }
  .acc-body { padding-left: 0; }
  .tab-list [role="tab"] { flex: 1 1 100%; justify-content: flex-start; }
}

/* ---------- Print & reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .progress, .menu-toggle, .res-tools, .form, .tooltip { display: none !important; }
  .page { display: block !important; }
  .dark { background: #fff; color: #000; }
}

/* ---------- Privacy dialog ---------- */
.privacy { max-width: 34rem; width: calc(100% - 2rem); border: 0; border-radius: 14px; padding: 2rem 2rem 1.5rem; background: var(--paper); color: var(--forest-800); box-shadow: 0 30px 80px rgba(0,0,0,.35); font-size: 1rem; }
.privacy::backdrop { background: rgba(11,33,26,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.privacy h2 { font-size: 1.6rem; padding-right: 2rem; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--rule); background: transparent; font: 400 1.4rem/1 var(--sans); cursor: pointer; }
.dialog-close:hover { border-color: var(--forest-800); }
.footer-link { color: #cddbd0; font-weight: 400; font-size: inherit; }

/* ---------- "Energy in vs. out" mini graphic (SPARC figure on Home) ---------- */
.io { flex-basis: 100%; display: flex; align-items: flex-end; gap: .6rem; margin-top: .35rem; }
.io-group { display: flex; flex-direction: column; gap: .3rem; }
.io-label { font: 650 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.io-cells { display: flex; gap: 3px; }
.io-cells i { width: .55rem; height: 1.1rem; border-radius: 2px; background: var(--lime); }
.io-cells i.in { background: #cddbd0; }
.io-arrow { font: 600 .95rem/1 var(--sans); color: var(--muted-dark); padding-bottom: .1rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .figures .io-cells i:not(.in) { transform: scaleY(0); transform-origin: bottom; }
  .js .figures.in .io-cells i:not(.in) { transform: none; transition: transform .4s var(--ease); }
  .js .figures.in .io-cells i:nth-child(2) { transition-delay: .55s; } .js .figures.in .io-cells i:nth-child(3) { transition-delay: .6s; }
  .js .figures.in .io-cells i:nth-child(4) { transition-delay: .65s; } .js .figures.in .io-cells i:nth-child(5) { transition-delay: .7s; }
  .js .figures.in .io-cells i:nth-child(6) { transition-delay: .75s; } .js .figures.in .io-cells i:nth-child(7) { transition-delay: .8s; }
  .js .figures.in .io-cells i:nth-child(8) { transition-delay: .85s; } .js .figures.in .io-cells i:nth-child(9) { transition-delay: .9s; }
  .js .figures.in .io-cells i:nth-child(10) { transition-delay: .95s; } .js .figures.in .io-cells i:nth-child(11) { transition-delay: 1s; }
  .js .figures.in .io-cells i:first-child { transition-delay: .5s; }
}
@media (max-width: 40rem) {
  .io { gap: .4rem; }
  .io-cells { gap: 2px; }
  .io-cells i { width: .32rem; height: .95rem; }
  .figures .num { font-size: 1.75rem; white-space: nowrap; }
}

/* ---------- Headline sizing inside two-column intros (keeps long words like "understanding" inside their column) ---------- */
.intro-grid > div { min-width: 0; }
.intro-grid h1 { font-size: clamp(2.5rem, 4.6vw, 4.75rem); }
h1, h2, h3 { overflow-wrap: break-word; }
.axis span.even em { font-style: normal; }
@media (max-width: 30rem) {
  .axis { height: 3rem; }
  .axis span.even em { display: block; margin-top: .2rem; }
}

/* ==========================================================================
   Kardashev scale (Why This Matters → "The big picture")
   ========================================================================== */
.kardashev { background-color: var(--forest-950); color: #e3ebdf; position: relative; overflow: hidden;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 30%, rgba(220,243,179,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 84%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 91% 56%, rgba(220,243,179,.5), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 38% 6%, rgba(255,255,255,.4), transparent 60%);
}
.kardashev h2, .kardashev h3 { color: #f6f5ee; }
.kardashev .eyebrow { color: var(--lime); }
.kardashev .cite { color: var(--lime); }
.kardashev .cite:hover { background: var(--lime); color: var(--forest-950); }
.kardashev :focus-visible { outline-color: var(--lime); }
.kardashev + .closing { border-top: 1px solid var(--rule-dark); }
.k-head { display: grid; gap: 1.5rem 4rem; align-items: start; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 60rem) { .k-head { grid-template-columns: 1.1fr 1fr; } }
.k-head h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 14ch; }
.k-head .prose { color: #cddbd0; }
.k-head strong { color: var(--lime); }

.k-types { list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); padding: 0; display: grid; gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); border-radius: 12px; overflow: hidden; }
@media (min-width: 48rem) { .k-types { grid-template-columns: repeat(3, 1fr); } }
.k-types li { background: var(--forest-950); padding: 1.5rem; display: flex; flex-direction: column; gap: .35rem; }
.k-types svg { width: 2.75rem; height: 2.75rem; margin-bottom: .5rem; }
.k-types li:nth-child(2) svg { opacity: .75; } .k-types li:nth-child(3) svg { opacity: .55; }
.k-type-name { font: 780 1.3rem/1.1 var(--sans); letter-spacing: -.02em; color: #f6f5ee; margin: 0; }
.k-types p:not(.k-type-name) { font: 400 .98rem/1.45 var(--sans); color: var(--muted-dark); margin: 0; }
.k-us { align-self: flex-start; margin-top: .6rem; font: 650 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--forest-950); background: var(--lime); padding: .4rem .6rem; border-radius: 99px; }

.k-explorer { border: 1px solid var(--rule-dark); border-radius: 16px; padding: clamp(1.25rem, 3.5vw, 2.5rem); background: rgba(255,255,255,.02); }
.k-readout { display: grid; gap: 1rem 2.5rem; align-items: center; min-height: 9.5rem; }
@media (min-width: 48rem) { .k-readout { grid-template-columns: auto 1fr; } }
.k-score { display: flex; flex-direction: column; gap: .5rem; }
.k-score-label { font: 650 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.k-score-num { font: 800 clamp(4rem, 10vw, 6.5rem)/1 var(--sans); letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; min-width: 3.3ch; text-shadow: 0 0 40px rgba(185,230,110,.35); }
.k-era { font: 750 clamp(1.25rem, 2.2vw, 1.6rem)/1.2 var(--sans); letter-spacing: -.02em; color: #f6f5ee; margin: 0 0 .35rem; }
.k-desc { font: 400 1.05rem/1.5 var(--sans); color: #cddbd0; margin: 0 0 .5rem; max-width: 40rem; }
.k-power { font: 650 .98rem/1.45 var(--sans); color: var(--lime-200); margin: 0; }
.k-bulbs { font-weight: 450; color: var(--muted-dark); }

.k-scale { position: relative; margin-top: 3.5rem; --thumb: 28px; }
.k-track { position: absolute; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2); top: 7px; height: 14px; border-radius: 99px; background: rgba(255,255,255,.07); }
.k-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--pos, .4) * 100%); border-radius: 99px; background: linear-gradient(90deg, #4f7a33, var(--lime)); box-shadow: 0 0 18px rgba(185,230,110,.35); }
.k-marker { display: none; }
.k-gap { position: absolute; top: -2.1rem; left: calc(var(--today, .4) * 100%); right: 0; height: 1.5rem; border: 1.5px dashed rgba(185,230,110,.45); border-bottom: 0; border-radius: 6px 6px 0 0; display: flex; justify-content: center; }
.k-gap span { position: relative; top: -.65rem; height: 1.2rem; padding: 0 .5rem; background: var(--forest-950); font: 650 .78rem/1.2rem var(--sans); color: var(--lime); white-space: nowrap; }
.k-range { position: relative; z-index: 2; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.k-range:focus { outline: none; }
.k-range::-webkit-slider-runnable-track { height: 28px; background: transparent; }
.k-range::-moz-range-track { height: 28px; background: transparent; }
.k-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #f6f5ee; border: 5px solid var(--lime); box-shadow: 0 0 0 6px rgba(185,230,110,.18), 0 0 24px rgba(185,230,110,.6); cursor: grab; }
.k-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #f6f5ee; border: 5px solid var(--lime); box-shadow: 0 0 0 6px rgba(185,230,110,.18), 0 0 24px rgba(185,230,110,.6); cursor: grab; }
.k-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--forest-950), 0 0 0 7px #f6f5ee; }
.k-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--forest-950), 0 0 0 7px #f6f5ee; }
.k-range:active::-webkit-slider-thumb { cursor: grabbing; }

.k-stops { position: relative; height: 4.2rem; margin: .5rem calc(var(--thumb) / 2) 0; }
.k-stop { position: absolute; left: calc(var(--p) * 100%); transform: translateX(-50%); top: .6rem; padding: .35rem .55rem; border-radius: 99px; border: 1px solid transparent; background: none; font: 650 .82rem/1 var(--sans); color: var(--muted-dark); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s, background-color .2s; }
.k-stop::before { content: ""; position: absolute; left: 50%; top: -1.1rem; height: .7rem; border-left: 1.5px solid rgba(220,243,179,.35); }
.k-stop.row2 { top: 2.4rem; }
.k-stop.row2::before { top: -2.9rem; height: 2.5rem; }
.k-stop:hover { color: #f6f5ee; border-color: var(--rule-dark); }
.k-stop[aria-pressed="true"] { color: var(--forest-950); background: var(--lime); }
.k-stop.is-goal { color: var(--lime); }
.k-stop.is-goal[aria-pressed="true"] { color: var(--forest-950); }
.k-axis { position: relative; height: 1.2rem; margin: 0 calc(var(--thumb) / 2); border-top: 1px solid var(--rule-dark); }
.k-axis span { position: absolute; top: .35rem; transform: translateX(-50%); font: 500 .72rem/1 var(--sans); color: #7f978a; }
.k-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.k-hint { font: 450 .9rem/1.4 var(--sans); color: var(--muted-dark); margin: 0; }
.k-explorer:not(.is-ready) .k-scale, .k-explorer:not(.is-ready) .k-controls { display: none; }
.k-axis span:nth-child(1){left:0} .k-axis span:nth-child(2){left:20%} .k-axis span:nth-child(3){left:40%} .k-axis span:nth-child(4){left:60%} .k-axis span:nth-child(5){left:80%} .k-axis span:nth-child(6){left:100%}
.k-explorer.is-playing .k-fill { transition: width .9s var(--ease); }

@media (max-width: 40rem) {
  .k-stops { position: static; height: auto; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
  .k-stop, .k-stop.row2 { position: static; transform: none; border-color: var(--rule-dark); padding: .55rem .8rem; }
  .k-stop::before { display: none; }
  .k-axis { display: none; }
  .k-gap span { font-size: .7rem; }
}

.k-facts { display: grid; gap: 1.5rem 3rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 48rem) { .k-facts { grid-template-columns: repeat(3, 1fr); } }
.k-facts > div { border-top: 1px solid var(--rule-dark); padding-top: 1.25rem; }
.k-fact-num { font: 800 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--sans); letter-spacing: -.04em; color: var(--lime); margin: 0 0 .6rem; }
.k-facts p:not(.k-fact-num) { font: 450 1rem/1.5 var(--sans); color: #cddbd0; margin: 0; }
.k-fusion { font: 500 italic clamp(1.3rem, 2.4vw, 1.75rem)/1.35 var(--serif); color: var(--lime-200); max-width: 46rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-left: 1.5rem; border-left: 3px solid var(--lime); }

.k-table { margin-top: 2.5rem; border-top: 1px solid var(--rule-dark); padding-top: 1.25rem; }
.k-table summary { cursor: pointer; font: 650 .98rem var(--sans); color: var(--lime); }
.k-table table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font: 450 .95rem/1.4 var(--sans); }
.k-table th, .k-table td { text-align: left; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--rule-dark); }
.k-table thead th { font-weight: 650; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.k-table tbody th { color: #f6f5ee; font-weight: 700; }
.k-table td:last-child { font-variant-numeric: tabular-nums; color: var(--lime); font-weight: 700; }
.k-table .chart-note { color: var(--muted-dark); }

/* Home teaser */
.teaser-wrap { padding-top: clamp(2.5rem, 5vw, 4rem); }
.teaser { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 1.75rem; border-radius: 14px; text-decoration: none; color: #e3ebdf; background: var(--forest-950); position: relative; overflow: hidden; transition: transform .25s var(--ease); }
.teaser:hover { transform: translateY(-2px); }
.teaser-num { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--sans); letter-spacing: -.05em; color: var(--lime); text-shadow: 0 0 30px rgba(185,230,110,.35); }
.teaser-text { display: flex; flex-direction: column; gap: .3rem; }
.teaser-text strong { font: 750 clamp(1.1rem, 2vw, 1.35rem)/1.25 var(--sans); letter-spacing: -.015em; color: #f6f5ee; }
.teaser-text span { font: 600 .95rem/1.3 var(--sans); color: var(--lime); }
.teaser-text span::after { content: " →"; }
.k-gap[hidden] { display: none; }

/* Roadmap: make finished milestones unmistakable */
.roadmap li.done { background: linear-gradient(90deg, rgba(185,230,110,.22), rgba(185,230,110,0) 75%); padding-left: 1.25rem; padding-right: 1.25rem; border-left: 4px solid var(--olive); }
.roadmap .tag.done { font-size: .78rem; padding: .45rem .75rem; }
.roadmap .tag.done::before { content: "✓"; width: auto; height: auto; border-radius: 0; background: none; font-size: .9rem; line-height: 1; }
.rm-achieved { font: 500 1.15rem/1.45 var(--sans); color: var(--forest-900, #12352a); margin-bottom: .6rem; }
.rm-achieved strong { color: var(--olive); }

/* Closing call-to-action under a pull quote */
.next-step { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid var(--rule-dark); }
.next-step p { flex: 1 1 18rem; margin: 0; font: 500 1.05rem/1.45 var(--sans); color: var(--muted-dark); }
.next-step .button { flex: none; }

/* Kardashev: the leap behind us vs. the leap ahead */
.k-leap { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.25rem, 3.5vw, 2.25rem); border: 1px solid var(--rule-dark); border-radius: 16px; }
.k-leap-title { font: 750 clamp(1.2rem, 2vw, 1.45rem)/1.25 var(--sans); letter-spacing: -.015em; margin: 0 0 1.75rem; }
.k-leap-row { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 6.5rem; grid-template-areas: "label track num" ". note note"; gap: .5rem 1.5rem; align-items: center; }
.k-leap-row + .k-leap-row { margin-top: 1.75rem; }
.k-leap-label { grid-area: label; margin: 0; display: flex; flex-direction: column; gap: .2rem; }
.k-leap-label strong { font: 750 1.05rem/1.2 var(--sans); color: #f6f5ee; }
.k-leap-label span { font: 500 .85rem/1.2 var(--sans); color: var(--muted-dark); }
.k-leap-track { grid-area: track; height: 22px; border-radius: 6px; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.k-leap-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); min-width: 6px; border-radius: 6px; background: #6f9a4a; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.is-ahead .k-leap-fill { background: linear-gradient(90deg, #6f9a4a, var(--lime)); box-shadow: 0 0 22px rgba(185,230,110,.35); transition-delay: .7s; }
.k-leap.in .k-leap-fill, .k-leap:not(.reveal) .k-leap-fill { transform: none; }
.k-leap-num { grid-area: num; margin: 0; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--sans); letter-spacing: -.04em; color: #cddbd0; text-align: right; font-variant-numeric: tabular-nums; }
.is-ahead .k-leap-num { color: var(--lime); }
.k-leap-note { grid-area: note; margin: 0; font: 450 .98rem/1.5 var(--sans); color: var(--muted-dark); max-width: 44rem; }
.k-leap-sum { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); font: 500 italic clamp(1.15rem, 2vw, 1.4rem)/1.4 var(--serif); color: var(--lime-200); }
@media (max-width: 40rem) {
  .k-leap-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label num" "track track" "note note"; }
}
@media (prefers-reduced-motion: reduce) { .k-leap-fill { transition: none; transform: none; } }

.k-explorer { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.k-compare { margin: .5rem 0 0; font: 650 .95rem/1.4 var(--sans); color: var(--lime); }
.k-controls { justify-content: space-between; }
.k-hint strong { color: #f6f5ee; font-weight: 650; }
.k-range { touch-action: pan-y; }
@keyframes k-nudge { 0%, 100% { box-shadow: 0 0 0 6px rgba(185,230,110,.18), 0 0 24px rgba(185,230,110,.6); } 50% { box-shadow: 0 0 0 14px rgba(185,230,110,.08), 0 0 32px rgba(185,230,110,.8); } }
.k-range.is-hinting::-webkit-slider-thumb { animation: k-nudge 1.8s ease-in-out infinite; }
.k-range.is-hinting::-moz-range-thumb { animation: k-nudge 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .k-range.is-hinting::-webkit-slider-thumb, .k-range.is-hinting::-moz-range-thumb { animation: none; } }
