/* ===================================================================
   缓约 · Slow Compact
   Global tokens. Each species page further overrides.
   =================================================================== */

:root {
  --font-serif-cjk: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans-cjk: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
  --font-serif-latin: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans-latin: "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Neutral shell (used on home, timeline, about) */
  --ink: #1a1814;
  --paper: #f3efe6;
  --paper-2: #e8e2d3;
  --rule: #1a181433;
  --rule-soft: #1a181418;
  --muted: #6b6458;

  /* Species accents used in nav swatches */
  --eoani: #b8431e;
  --ketoi: #1b4f72;
  --huvari: #00d9ff;
  --thavari: #00ffc8;
  --human:  #ff8c00;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif-cjk);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-width: 1280px;
}

a { color: inherit; text-decoration: none; }
a.underline { border-bottom: 1px solid currentColor; }
a:hover.underline { opacity: 0.7; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }

::selection { background: var(--ink); color: var(--paper); }

/* -------------------------------------------------------------------
   Global navigation
   Inherits theme color from the page it sits on.
   ------------------------------------------------------------------- */

.g-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid var(--rule-soft);
  backdrop-filter: blur(8px);
  background: color-mix(in oklab, var(--paper) 85%, transparent);
  transition: background 600ms ease, color 600ms ease, border-color 600ms ease;
}

.g-nav__brand {
  font-family: var(--font-serif-cjk);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-nav__brand-mark {
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.g-nav__brand-mark::before, .g-nav__brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.5;
}
.g-nav__brand-mark::after { inset: 8px; opacity: 0.25; }

.g-nav__species {
  display: flex;
  gap: 0;
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.g-nav__species button {
  padding: 6px 16px;
  border-right: 1px solid var(--rule-soft);
  opacity: 0.55;
  transition: opacity 200ms;
  display: flex; align-items: center; gap: 8px;
}
.g-nav__species button:last-child { border-right: 0; }
.g-nav__species button:hover { opacity: 1; }
.g-nav__species button.is-active { opacity: 1; font-weight: 600; }
.g-nav__species .swatch {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}

.g-nav__utility {
  justify-self: end;
  display: flex;
  gap: 20px;
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.g-nav__utility button { opacity: 0.6; }
.g-nav__utility button:hover { opacity: 1; }
.g-nav__utility button.is-active { opacity: 1; font-weight: 600; }

/* -------------------------------------------------------------------
   Typographic helpers
   ------------------------------------------------------------------- */

.cjk-en { font-family: var(--font-serif-latin); font-style: italic; opacity: 0.7; font-weight: 400; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.num { font-family: var(--font-serif-latin); font-feature-settings: "lnum" 1, "tnum" 1; }
.smallcaps { font-variant: small-caps; letter-spacing: 0.08em; }

.label {
  font-family: var(--font-sans-cjk);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 500;
}

.hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}
.hr--soft { border-top-color: var(--rule-soft); }

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 48px 160px;
}

/* -------------------------------------------------------------------
   HOME
   ------------------------------------------------------------------- */

.home {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px 200px;
}

.home__hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule);
}
.home__hero h1 {
  font-family: var(--font-serif-cjk);
  font-weight: 600;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 24px 0 16px;
}
.home__hero .sub {
  font-family: var(--font-serif-cjk);
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
  color: color-mix(in oklab, var(--ink) 78%, transparent);
}
.home__hero .aside {
  font-family: var(--font-serif-cjk);
  font-size: 13px;
  line-height: 1.8;
  padding: 24px;
  border: 1px solid var(--rule);
  background: color-mix(in oklab, var(--paper-2) 50%, var(--paper));
}
.home__hero .aside dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.home__hero .aside dt { font-family: var(--font-sans-cjk); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; align-self: baseline; }
.home__hero .aside dd { margin: 0; }

.home h2 {
  font-family: var(--font-serif-cjk);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}
.home h2 .en { font-family: var(--font-serif-latin); font-style: italic; font-size: 22px; font-weight: 400; margin-left: 12px; opacity: 0.55; }

.home section { padding-top: 96px; }

/* species selector */
.selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.selector__card {
  border: 1px solid var(--rule);
  padding: 20px;
  background: var(--paper);
  transition: transform 300ms ease, background 300ms;
  cursor: pointer;
  display: flex; flex-direction: column;
  gap: 16px;
  text-align: left;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.selector__card:hover { transform: translateY(-4px); }
.selector__card .viz {
  height: 180px;
  background: var(--card-bg, #111);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.selector__card h3 {
  margin: 0;
  font-family: var(--font-serif-cjk);
  font-weight: 500;
  font-size: 20px;
}
.selector__card h3 .en { font-family: var(--font-serif-latin); font-style: italic; font-weight: 400; font-size: 16px; margin-left: 8px; opacity: 0.65; }
.selector__card .meta {
  font-family: var(--font-sans-cjk);
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.7;
  display: flex; flex-direction: column; gap: 4px;
}
.selector__card .meta .num { font-family: var(--font-serif-latin); letter-spacing: 0; }
.selector__card .blurb { font-size: 13px; line-height: 1.55; color: color-mix(in oklab, var(--ink) 72%, transparent); flex: 1; }

/* contact matrix */
.matrix {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  margin-top: 48px;
}
.matrix__grid {
  display: grid;
  grid-template-columns: 96px repeat(5, 1fr);
  font-family: var(--font-sans-cjk);
  font-size: 12px;
}
.matrix__grid > div {
  padding: 10px 12px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  min-height: 72px;
  position: relative;
}
.matrix__grid .hdr {
  font-family: var(--font-sans-cjk);
  letter-spacing: 0.15em;
  font-size: 11px;
  opacity: 0.7;
  background: color-mix(in oklab, var(--paper-2) 60%, transparent);
  min-height: 44px;
  align-self: start;
}
.matrix__grid .hdr .en { display: block; font-family: var(--font-serif-latin); font-style: italic; font-size: 10px; letter-spacing: 0; opacity: 0.7; margin-top: 2px; }
.matrix__grid .row-hdr { letter-spacing: 0.1em; padding-top: 14px; }
.matrix__grid .cell-self { background: repeating-linear-gradient(-45deg, transparent, transparent 4px, var(--rule-soft) 4px, var(--rule-soft) 5px); }
.matrix__grid .cell-none { color: var(--muted); font-size: 10px; padding-top: 26px; }
.matrix__grid .cell-evt .yr { font-family: var(--font-serif-latin); font-size: 17px; line-height: 1; display: block; margin-bottom: 4px; font-weight: 500; }
.matrix__grid .cell-evt .mode { font-size: 10px; letter-spacing: 0.1em; opacity: 0.65; }
.matrix__grid .cell-evt.hot { background: color-mix(in oklab, var(--ink) 8%, transparent); }
.matrix__grid .cell-evt.hot .yr { color: var(--ink); }

.matrix__legend { font-size: 13px; line-height: 1.7; }
.matrix__legend h4 { font-family: var(--font-serif-cjk); font-size: 15px; margin: 0 0 8px; font-weight: 500; }
.matrix__legend ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.matrix__legend li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; font-size: 13px; }
.matrix__legend li .yr { font-family: var(--font-serif-latin); font-weight: 500; }

/* timeline */
.timeline {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
}
.timeline__inner {
  min-width: 1800px;
  position: relative;
  padding: 40px 0 60px;
}
.timeline__axis {
  position: relative;
  height: 1px;
  background: var(--rule);
  margin: 0 32px;
}
.timeline__tick {
  position: absolute;
  top: -6px;
  width: 1px;
  height: 12px;
  background: var(--rule);
}
.timeline__tick .y {
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
  font-family: var(--font-serif-latin);
  font-size: 11px;
  opacity: 0.55;
}
.timeline__event {
  position: absolute;
  width: 180px;
  font-size: 12px;
  line-height: 1.45;
}
.timeline__event .yr {
  font-family: var(--font-serif-latin);
  font-size: 14px;
  font-weight: 500;
}
.timeline__event .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
  margin-bottom: 6px;
}

/* story engines */
.engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.engine {
  border: 1px solid var(--rule);
  padding: 22px;
  font-size: 13px; line-height: 1.65;
  min-height: 200px;
  display: flex; flex-direction: column;
  gap: 10px;
  background: var(--paper);
}
.engine.resolved { background: color-mix(in oklab, var(--paper-2) 60%, var(--paper)); color: var(--muted); }
.engine__num { font-family: var(--font-serif-latin); font-size: 11px; letter-spacing: 0.15em; opacity: 0.55; }
.engine__name { font-family: var(--font-serif-cjk); font-size: 18px; font-weight: 500; margin: -4px 0 4px; }
.engine__name .en { display: block; font-family: var(--font-serif-latin); font-style: italic; font-size: 13px; opacity: 0.7; margin-top: 2px; }
.engine__tags { display: flex; gap: 6px; margin-top: auto; }
.engine__tags .tag {
  font-family: var(--font-sans-cjk);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  opacity: 0.8;
}

.creed {
  margin-top: 96px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 48px;
  font-size: 15px;
  line-height: 1.8;
}
.creed .label { align-self: start; }
.creed p { margin: 0 0 16px; }

/* -------------------------------------------------------------------
   SHARED: fact card, kpi
   ------------------------------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid var(--rule); }
.fact { padding: 18px 20px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fact:last-child { border-right: 0; }
.fact .label { display: block; margin-bottom: 10px; }
.fact .val { font-family: var(--font-serif-latin); font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.fact .val .unit { font-size: 14px; opacity: 0.6; margin-left: 4px; }
.fact .note { font-size: 11px; opacity: 0.6; margin-top: 4px; }

/* -------------------------------------------------------------------
   SPECIES PAGE: common structure
   ------------------------------------------------------------------- */

.sp {
  min-height: 100vh;
  transition: background 600ms ease, color 600ms ease;
}
.sp__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 48px 200px;
}
.sp__hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--sp-rule);
  align-items: end;
}
.sp__kicker {
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.sp__kicker .rule { flex: 0 0 48px; height: 1px; background: currentColor; opacity: 0.5; }
.sp__title {
  font-family: var(--font-serif-cjk);
  font-weight: 500;
  font-size: 128px;
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.sp__title .en {
  display: block;
  font-family: var(--font-serif-latin);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  opacity: 0.55;
  margin-top: 8px;
  letter-spacing: 0;
}
.sp__lede {
  font-family: var(--font-serif-cjk);
  font-size: 19px;
  line-height: 1.75;
  max-width: 620px;
  opacity: 0.88;
}
.sp__hero-viz { min-height: 340px; }

.sp section { padding-top: 96px; }
.sp h2 {
  font-family: var(--font-serif-cjk);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
  line-height: 1.1;
}
.sp h2 .en { font-family: var(--font-serif-latin); font-style: italic; font-weight: 400; font-size: 22px; opacity: 0.55; margin-left: 16px; letter-spacing: 0; }
.sp h2 + .sub { opacity: 0.65; font-size: 14px; margin-top: 4px; max-width: 680px; }

.sp__fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--sp-rule);
  border-bottom: 1px solid var(--sp-rule);
}
.sp__fact-row > div {
  padding: 18px 20px 22px;
  border-right: 1px solid var(--sp-rule);
}
.sp__fact-row > div:last-child { border-right: 0; }
.sp__fact-row .label { opacity: 0.55; margin-bottom: 8px; display: block; }
.sp__fact-row .val { font-family: var(--font-serif-latin); font-size: 28px; line-height: 1.1; }
.sp__fact-row .val .unit { font-size: 13px; opacity: 0.6; margin-left: 3px; }
.sp__fact-row .note { font-size: 11px; opacity: 0.55; margin-top: 4px; }

.sp__two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 48px; }
.sp__two p { font-size: 15px; line-height: 1.8; margin: 0 0 18px; }

.sp p.lead { font-size: 16px; line-height: 1.8; max-width: 780px; margin: 32px 0 0; opacity: 0.9; }
.sp p { font-size: 15px; line-height: 1.8; }

.sp__sidenote {
  font-family: var(--font-serif-cjk);
  font-size: 13px;
  line-height: 1.7;
  padding: 18px 22px;
  border-left: 2px solid var(--sp-accent);
  margin: 24px 0;
  background: color-mix(in oklab, var(--sp-accent) 6%, transparent);
}
.sp__sidenote .label { display: block; margin-bottom: 6px; color: var(--sp-accent); opacity: 1; }

sup.src {
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0.55;
  margin-left: 2px;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------
   EOANI — warm, slow, tidally locked
   ------------------------------------------------------------------- */

.sp-eoani {
  --sp-bg: #1a0e0a;
  --sp-fg: #f5e6d3;
  --sp-muted: #c9a584;
  --sp-rule: #f5e6d322;
  --sp-accent: #e8821f;
  --sp-accent-2: #d4a574;
  --sp-hot: #ff6b35;
  --sp-ember: #8b3a1f;
  background:
    radial-gradient(ellipse 60% 100% at 0% 50%, #ff6b3533 0%, transparent 55%),
    radial-gradient(ellipse 45% 80% at 100% 50%, #050302 0%, transparent 60%),
    linear-gradient(90deg, #3a1407 0%, #1a0e0a 45%, #050302 100%);
  color: var(--sp-fg);
  font-family: var(--font-serif-cjk);
}
.sp-eoani .sp__title { letter-spacing: 0.06em; }
.sp-eoani a { border-bottom: 1px solid var(--sp-accent); }

.breath {
  animation: breath 30s ease-in-out infinite;
}
@keyframes breath {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.caste {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 40px;
  font-family: var(--font-serif-cjk);
}
.caste__row {
  display: grid;
  grid-template-columns: 200px auto 200px;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-bottom: 4px;
}
.caste__row .name {
  text-align: right;
  font-size: 17px;
}
.caste__row .name .en { display: block; font-family: var(--font-serif-latin); font-style: italic; font-size: 12px; opacity: 0.6; }
.caste__row .bar {
  height: 40px;
  background: linear-gradient(90deg, var(--sp-hot), var(--sp-ember));
  border: 1px solid var(--sp-rule);
  position: relative;
}
.caste__row .bar .lifespan {
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif-latin);
  font-size: 12px;
  color: var(--sp-bg);
  font-weight: 500;
}
.caste__row .pop {
  font-family: var(--font-serif-latin);
  font-size: 13px;
  opacity: 0.75;
}

/* -------------------------------------------------------------------
   KETOI — acoustic, oceanic, curved
   ------------------------------------------------------------------- */

.sp-ketoi {
  --sp-bg: #050e1a;
  --sp-fg: #e8f4f8;
  --sp-muted: #89a8bd;
  --sp-rule: #e8f4f822;
  --sp-accent: #2e86ab;
  --sp-accent-2: #7fc4d9;
  --sp-deep: #0a2540;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, #2e86ab33 0%, transparent 60%),
    linear-gradient(180deg, #0a2540 0%, #050e1a 60%, #020608 100%);
  color: var(--sp-fg);
  font-family: var(--font-sans-cjk);
  font-weight: 300;
}
.sp-ketoi .sp__title,
.sp-ketoi h2 { font-family: var(--font-sans-cjk); font-weight: 300; }

.wave-divider {
  height: 20px;
  width: 100%;
  margin: 40px 0;
  opacity: 0.5;
}

/* -------------------------------------------------------------------
   HUVARI — electric, geometric, clean
   ------------------------------------------------------------------- */

.sp-huvari {
  --sp-bg: #050b12;
  --sp-fg: #e8faff;
  --sp-muted: #6a9db5;
  --sp-rule: #00d9ff33;
  --sp-accent: #00d9ff;
  --sp-accent-2: #00ffa3;
  --sp-gold: #ffd700;
  background:
    linear-gradient(180deg, #050b12 0%, #030810 100%);
  color: var(--sp-fg);
  font-family: var(--font-sans-cjk);
  position: relative;
}
.sp-huvari .sp__title { font-family: var(--font-sans-cjk); font-weight: 600; letter-spacing: 0.08em; }
.sp-huvari h2 { font-family: var(--font-sans-cjk); font-weight: 500; letter-spacing: 0.06em; }
.sp-huvari .num, .sp-huvari .mono { font-family: var(--font-mono); }

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--sp-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--sp-accent) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.04;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
}

.maxwell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.maxwell__eq {
  border: 1px solid var(--sp-rule);
  padding: 20px 24px;
  background: color-mix(in oklab, var(--sp-accent) 3%, transparent);
}
.maxwell__eq .law {
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 6px;
}
.maxwell__eq .formula {
  font-family: "Cambria Math", "Latin Modern Math", "EB Garamond", serif;
  font-style: italic;
  font-size: 22px;
  margin: 12px 0;
  color: var(--sp-accent);
}
.maxwell__eq .sense {
  font-family: var(--font-sans-cjk);
  font-size: 13px;
  line-height: 1.65;
  opacity: 0.82;
}

/* -------------------------------------------------------------------
   THAVARI — dark, geologic, tensorial
   ------------------------------------------------------------------- */

.sp-thavari {
  --sp-bg: #050709;
  --sp-fg: #b8c5d6;
  --sp-muted: #6c7a8e;
  --sp-rule: #b8c5d622;
  --sp-accent: #00ffc8;
  --sp-accent-2: #ff4500;
  --sp-vent: #ff4500;
  --sp-biolume: #00ffc8;
  background: #050709;
  color: var(--sp-fg);
  font-family: var(--font-sans-cjk);
  font-weight: 300;
}
.sp-thavari .sp__title {
  font-family: var(--font-sans-cjk);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sp-thavari h2 { font-family: var(--font-sans-cjk); font-weight: 500; }

.ice-divider {
  position: relative;
  margin: 120px 0 64px;
  padding: 40px 0;
  border-top: 1px solid var(--sp-rule);
  border-bottom: 1px solid var(--sp-rule);
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(184,197,214,0.04) 6px 7px);
}
.ice-divider__label {
  text-align: center;
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.35em;
  opacity: 0.75;
}
.ice-divider__label em { font-style: normal; color: var(--sp-biolume); }

.epoch-slider {
  margin-top: 32px;
  background: color-mix(in oklab, var(--sp-fg) 4%, transparent);
  border: 1px solid var(--sp-rule);
  padding: 28px 32px;
}
.epoch-slider input[type=range] {
  width: 100%;
  accent-color: var(--sp-biolume);
}
.epoch-slider__label {
  display: flex; justify-content: space-between;
  font-family: var(--font-sans-cjk);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  opacity: 0.7;
}
.epoch-slider__readout {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.epoch-slider__readout h4 { font-family: var(--font-sans-cjk); font-size: 13px; margin: 0 0 6px; opacity: 0.7; letter-spacing: 0.15em; font-weight: 500; }
.epoch-slider__readout p { font-size: 14px; line-height: 1.7; margin: 0; opacity: 0.85; }

/* -------------------------------------------------------------------
   HUMAN — light, instrumented, humble
   ------------------------------------------------------------------- */

.sp-human {
  --sp-bg: #f8f9fa;
  --sp-fg: #0a0e1a;
  --sp-muted: #6c757d;
  --sp-rule: #0a0e1a26;
  --sp-accent: #0066cc;
  --sp-accent-2: #ff8c00;
  background: #f8f9fa;
  color: #0a0e1a;
  font-family: var(--font-sans-cjk);
}
.sp-human .sp__title { font-family: var(--font-sans-cjk); font-weight: 700; letter-spacing: 0.02em; }
.sp-human h2 { font-family: var(--font-sans-cjk); font-weight: 600; }
.sp-human .num, .sp-human .mono { font-family: var(--font-mono); }

.dash {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--sp-rule);
  border: 1px solid var(--sp-rule);
  margin-top: 32px;
}
.dash__cell {
  background: var(--sp-bg);
  padding: 20px 22px;
  min-height: 120px;
}
.dash__cell .label { font-size: 10px; letter-spacing: 0.2em; }
.dash__cell .val { font-family: var(--font-mono); font-size: 24px; margin-top: 8px; }
.dash__cell .val .unit { font-family: var(--font-sans-cjk); font-size: 11px; opacity: 0.6; margin-left: 3px; }
.dash__cell .caption { font-size: 11px; opacity: 0.6; margin-top: 6px; line-height: 1.45; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
