/* Wanderers design system. See docs/SITE.md. */

/* Typefaces are self-hosted (SIL Open Font License; see /fonts/README.txt). Latin subset. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/inter-variable.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('/fonts/jetbrains-mono-variable.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #070B16;
  --bg-2: #0A1020;
  --surface: #0E1528;
  --surface-2: #131C35;
  --line: #1E2843;
  --line-2: #2D3959;
  --text: #EAEEF8;
  --muted: #A9B3CB;
  --dim: #8590AC;
  --amber: #F4B860;
  --amber-ink: #1A1206;
  --teal: #7CD4C8;
  --rose: #F2A49C;

  /* chart marks (validated for colour-blind separation on --surface) */
  --c-pulsation: #C4841F;
  --c-artifact: #4E8FE8;
  --c-binary: #27A08F;
  --c-inconsistent: #9B7BEA;
  --c-blend: #E0606A;

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 28px;
  --radius: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(124, 212, 200, .09), transparent 62%),
    radial-gradient(900px 560px at 8% 2%, rgba(244, 184, 96, .07), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--amber-ink); }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--amber-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

main { overflow-x: hidden; overflow-x: clip; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: rgba(10, 16, 32, .8); font-size: 13.5px; }
.ticker .wrap { display: flex; gap: 14px; align-items: center; padding-top: 8px; padding-bottom: 8px; color: var(--muted); min-height: 38px; }
.ticker b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ticker span { min-width: 0; }
.ticker a { margin-left: auto; white-space: nowrap; color: var(--text); }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(7, 11, 22, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .25s; }
header.site.stuck { border-bottom-color: var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--serif); font-size: 27px; line-height: 1; letter-spacing: .005em; color: var(--text); }
.brand svg { flex: none; }
.brand .moon { transform-origin: 17px 17px; }
.brand:hover .moon { animation: orbit 2.4s cubic-bezier(.5, 0, .5, 1) 1; }
nav.main { display: flex; align-items: center; gap: 2px; font-size: 14.5px; }
nav.main a { text-decoration: none; color: var(--muted); padding: 8px 11px; border-radius: 999px; transition: color .15s, background .15s; }
nav.main a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
nav.main a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
nav.main a.btn { margin-left: 10px; padding: 9px 18px; min-height: 0; }
nav.main a.btn, nav.main a.btn:hover { color: var(--amber-ink); background: var(--amber); }
.navtoggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 8px 14px; font: 500 14px var(--sans); cursor: pointer; }
.navtoggle svg { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, filter .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 0 rgba(244, 184, 96, .0), 0 8px 28px -12px rgba(244, 184, 96, .55); }
.btn-primary:hover { color: var(--amber-ink); filter: brightness(1.07); }
.btn-ghost { border-color: var(--line-2); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .03); }
.arrow::after { content: "\2192"; display: inline-block; margin-left: .35em; transition: transform .15s; }
a:hover > .arrow::after, a.arrow:hover::after { transform: translateX(3px); }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.2vw, 92px); margin-bottom: 24px; }
h1 em, h2 em { font-style: italic; color: var(--amber); }
h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 14px; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.005em; margin: 0 0 8px; }
.page-title { font-size: clamp(42px, 6.6vw, 76px); }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; margin: 0 0 30px; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--dim); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.eyebrow.teal { color: var(--teal); }
.num { font-variant-numeric: tabular-nums; }

/* live dot */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; flex: none; position: relative; }
.dot.amber { background: var(--amber); }
.dot.off { background: var(--dim); }
.dot.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid currentColor; color: var(--teal); opacity: 0; animation: ping 2.4s ease-out infinite; }
.dot.amber.pulse::after { color: var(--amber); }

.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line-2); background: rgba(14, 21, 40, .6); padding: 6px 14px 6px 12px; border-radius: 999px; margin: 0 0 22px; }
.badge strong { color: var(--teal); font-weight: 500; }
.badge .sep { color: var(--line-2); }

/* ---------- sections ---------- */
section { padding: 58px 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px; margin-bottom: 34px; }
.section-head .lead { margin: 0; }
.section-head > a { font-size: 15px; white-space: nowrap; padding-bottom: 6px; }
.section-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.two.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

.card { background: linear-gradient(180deg, rgba(19, 28, 53, .72), rgba(14, 21, 40, .72)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card p + p { margin-top: 10px; }
a.card { text-decoration: none; display: block; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.panel { background: rgba(14, 21, 40, .78); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.panel-head .state { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.panel-body { padding: 18px; }

.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 600; }
.pill.next { color: var(--teal); border-color: rgba(124, 212, 200, .35); }
.pill.out { color: var(--rose); border-color: rgba(242, 164, 156, .32); }
.pill.soon { border-style: dashed; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { min-width: 0; }
.hero .lead { max-width: 600px; }
.hero-orbit { position: absolute; z-index: -1; right: -260px; top: -120px; width: 900px; height: 900px; pointer-events: none; opacity: .5; }
.hero-orbit .spin { transform-origin: 450px 450px; animation: spin 90s linear infinite; }

.join { container-type: inline-size; background: rgba(14, 21, 40, .85); border: 1px solid var(--line-2); border-radius: var(--radius); max-width: 640px; margin: 0 0 14px; overflow: hidden; }
.join-line { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; }
.join-line .prompt { color: var(--amber); font-family: var(--mono); font-size: 14px; user-select: none; }
.join-line code { flex: 1 1 auto; min-width: 0; font-size: 12.25px; color: var(--text); overflow-x: auto; white-space: nowrap; padding: 8px 0; scrollbar-width: none; }
.join-line code::-webkit-scrollbar { display: none; }
.copy { flex: none; font: 600 13px var(--sans); padding: 10px 11px; border-radius: 9px; border: 1px solid var(--amber); background: var(--amber); color: var(--amber-ink); cursor: pointer; white-space: nowrap; }
.copy:hover { filter: brightness(1.07); }
.copy:disabled { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); cursor: not-allowed; filter: none; }
.join-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.chip { font-family: var(--mono); font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
@container (max-width: 608px) {
  .join-line { flex-wrap: wrap; align-items: flex-start; padding: 10px 12px; }
  .join-line .prompt { padding-top: 8px; }
  .join-line code { flex-basis: calc(100% - 30px); white-space: normal; overflow-wrap: anywhere; font-size: 13px; }
  .copy { width: 100%; }
}
.hero .under { font-size: 14px; color: var(--dim); max-width: 600px; margin: 0 0 28px; }

/* instrument panel (hero figure) */
.scope { margin: 0; min-width: 0; }
.scope .panel { box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset; }
.scope svg { display: block; width: 100%; height: auto; }
.scope figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.scope figcaption strong { color: var(--text); font-weight: 500; }

/* ---------- the question ---------- */
.question { padding-top: 28px; }
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px 56px; align-items: end; padding: 44px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qa .q { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.12; color: var(--muted); margin: 0 0 6px; text-wrap: balance; }
.qa .a { font-family: var(--serif); font-size: clamp(64px, 10vw, 128px); line-height: .92; letter-spacing: -.02em; margin: 0; color: var(--text); }
.qa .a em { color: var(--amber); }
.qa .note { color: var(--muted); margin: 0 0 14px; max-width: 520px; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; }
.counters > div { padding: 26px 22px 6px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.counters > div:last-child { border-right: 0; margin-right: 0; }
.counters > div { display: flex; flex-direction: column; }
.counters dt { order: 2; font-size: 14px; color: var(--muted); line-height: 1.45; }
.counters dd { order: 1; margin: 0 0 6px; font-family: var(--serif); font-size: clamp(42px, 5vw, 60px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.counters .zero { color: var(--amber); }

/* ---------- pipeline track ---------- */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: st; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line-2) 60%, var(--line)); }
.track li { counter-increment: st; position: relative; padding: 44px 20px 0 0; min-width: 0; }
.track li::before { content: ""; position: absolute; left: 0; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.track li[data-state="done"]::before { background: var(--teal); border-color: var(--teal); }
.track li[data-state="active"]::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px rgba(244, 184, 96, .16); animation: glow 2.4s ease-in-out infinite; }
.track li[data-state="closed"]::before { border-style: dashed; }
.track .step { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 0 0 8px; }
.track .step::before { content: "0" counter(st) " \00B7  "; }
.track h3 { margin-bottom: 10px; }
.track .val { font-family: var(--serif); font-size: 38px; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; }
.track li[data-state="active"] .val { color: var(--amber); }
.track li[data-state="closed"] .val, .track li[data-state="idle"] .val { color: var(--dim); }
.track .lab { font-size: 13.5px; color: var(--muted); margin: 4px 0 12px; }
.track .desc { font-size: 14px; color: var(--dim); margin: 0; max-width: 220px; }

/* ---------- update ---------- */
.update { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 48px; padding: 36px 0 0; border-top: 1px solid var(--line); }
.update .meta { font-size: 13.5px; color: var(--dim); margin: 0; }
.update .body p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--text); max-width: 760px; text-wrap: pretty; }
.update .body p + p { color: var(--muted); }

/* ---------- breakdown + log ---------- */
.breakdown { margin: 0 0 6px; }
.dots { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 16px; padding: 0; list-style: none; }
.dots a { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--c); position: relative; outline-offset: 2px; transition: transform .12s; }
.dots a:hover, .dots a:focus-visible { transform: scale(1.18); }
.dots a::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); background: #05080F; border: 1px solid var(--line-2); color: var(--text); font-size: 12px; line-height: 1.3; padding: 5px 9px; border-radius: 7px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 5; }
.dots a:hover::after, .dots a:focus-visible::after { opacity: 1; }
.dots li.gap { width: 7px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend button { all: unset; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 11px 4px 9px; border: 1px solid var(--line); border-radius: 999px; }
.legend button:hover { border-color: var(--line-2); color: var(--text); }
.legend button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.legend button[aria-pressed="true"] { border-color: var(--muted); color: var(--text); background: rgba(255, 255, 255, .05); }

.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 190px 150px 110px minmax(0, 1fr) auto; gap: 4px 18px; align-items: baseline; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.log li:last-child { border-bottom: 0; }
.log li:target { background: rgba(244, 184, 96, .07); }
.log .tic { font-family: var(--mono); font-size: 13.5px; color: var(--text); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.log .tic i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.log .tic a { text-decoration: none; }
.log .tic a:hover { text-decoration: underline; }
.log .m { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.log .why { color: var(--muted); font-size: 14px; grid-column: 4; grid-row: 1; }
.log .v { justify-self: end; grid-column: 5; grid-row: 1; }
.log li[hidden] { display: none; }
.log-head { display: grid; grid-template-columns: 190px 150px 110px minmax(0, 1fr) auto; gap: 18px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.log.compact li { grid-template-columns: minmax(0, 1fr) auto; }
.log.compact .m { display: none; }
.log.compact .v { display: block; grid-column: 2; grid-row: 1; }
.log.compact .why { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; }
.empty { padding: 28px 22px; color: var(--muted); font-size: 15px; }
.empty strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.empty p { margin: 0; max-width: 560px; }

/* ---------- desk / board / feed placeholders ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.rows li:last-child { border-bottom: 0; }
.rows .n { font-family: var(--mono); font-size: 12.5px; color: var(--dim); width: 20px; flex: none; }
.rows .av { width: 32px; height: 32px; border-radius: 50%; border: 1px dashed var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; flex: none; color: var(--dim); }
.rows li.you { color: var(--text); }
.rows li.you .av { border: 1px solid var(--amber); color: var(--amber); }
.rows .pts { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--dim); white-space: nowrap; }
.ghost-row { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--line), rgba(30, 40, 67, .3)); flex: 1 1 auto; max-width: 60%; }
.ghost-row.s { max-width: 34%; }

/* ---------- chart (test 2) ---------- */
.bars { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; }
.bars .name { font-size: 15px; color: var(--text); }
.bars .name small { display: block; font-size: 13px; color: var(--dim); }
.bars .value { font-family: var(--serif); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.bars .bar { grid-column: 1 / -1; position: relative; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .045); overflow: hidden; }
.bars .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: #5B6B93; border-radius: 0 4px 4px 0; transform-origin: left; }
.bars .bar i.range { left: var(--from); width: calc(var(--to) - var(--from)); background: repeating-linear-gradient(135deg, #8E9DC4 0 3px, #5B6B93 3px 6px); border-left: 2px solid var(--surface); }
.bars li.hi .bar i { background: var(--amber); }
.bars li.hi .value { color: var(--amber); }
.axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 10px; }
.js .reveal .bars .bar i:not(.range) { transform: scaleX(0); }
.js .reveal.in .bars .bar i:not(.range) { transform: none; transition: transform 1s cubic-bezier(.2, .7, .2, 1) .15s; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; }
.cat .cardtop { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 52px; }
.cat svg { color: var(--muted); }
.cat.live { border-color: rgba(244, 184, 96, .5); background: linear-gradient(180deg, rgba(244, 184, 96, .08), rgba(14, 21, 40, .72) 55%); }
.cat.live svg { color: var(--amber); }
.cat h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin-bottom: 8px; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principles > div { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.principles > div:last-child { border-right: 0; margin-right: 0; }
.principles h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--amber); margin-bottom: 10px; }
.principles p { color: var(--muted); font-size: 15.5px; }

/* ---------- callout ---------- */
.callout { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(244, 184, 96, .12), rgba(14, 21, 40, .9) 46%), var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center; }
.callout h2 { margin-bottom: 12px; }
.callout p { color: var(--muted); max-width: 620px; margin: 0; }
.callout .row { justify-content: flex-end; }

/* ---------- prose / inner pages ---------- */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-head .lead { max-width: 720px; margin-bottom: 0; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose h2 { margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--amber); }
.side { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.side > h2 { font-size: clamp(28px, 3vw, 36px); margin: 0; }
.side > div > :last-child { margin-bottom: 0; }
.side p, .side li { color: var(--muted); }
.side p { max-width: 720px; }
.side strong { color: var(--text); font-weight: 600; }
.side ul { padding-left: 1.1em; margin: 0 0 1em; max-width: 720px; }
.side li { margin-bottom: 8px; }
.side li::marker { color: var(--amber); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 12px 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
thead th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
tbody th { font-weight: 500; color: var(--text); min-width: 190px; }
td { color: var(--muted); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.hi th, tr.hi td { background: rgba(244, 184, 96, .06); }
tr.hi td.big { color: var(--amber); font-weight: 600; }
table.wide { min-width: 700px; }
.tablebox { overflow-x: auto; background: rgba(14, 21, 40, .78); border: 1px solid var(--line); border-radius: var(--radius); }
.note { border-left: 2px solid var(--amber); padding: 2px 0 2px 18px; color: var(--muted); font-size: 15px; max-width: 760px; margin: 22px 0 0; }
.note strong { color: var(--text); }

.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.marks li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; align-items: baseline; }
.marks li:last-child { border-bottom: 0; }
.marks .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.marks .miss { color: var(--rose); }
.marks .pass { color: var(--teal); }
.marks strong { color: var(--text); font-weight: 600; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps > li { counter-increment: s; position: relative; display: grid; grid-template-columns: 76px 220px minmax(0, 1fr); gap: 8px 24px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; }
.steps > li::before { content: "0" counter(s); font-family: var(--serif); font-size: 44px; line-height: .9; color: var(--amber); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; }
.steps .who { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 8px; }
.steps p { color: var(--muted); margin: 0 0 10px; max-width: 640px; }
.steps p:last-child { margin-bottom: 0; }
.steps strong { color: var(--text); font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line-2); display: grid; gap: 22px; }
.timeline li { position: relative; color: var(--muted); font-size: 15.5px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--muted); }
.timeline li.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(244, 184, 96, .16); }
.timeline li.done::before { background: var(--teal); border-color: var(--teal); }
.timeline strong { color: var(--text); font-weight: 600; display: block; }
.timeline .when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 500; font-size: 17px; color: var(--text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-size: 20px; color: var(--amber); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > p { color: var(--muted); max-width: 700px; margin: 0 0 18px; }

pre { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; margin: 0; }

/* ---------- footer ---------- */
footer.site { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 40px; background: rgba(7, 11, 22, .6); }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, .6fr)); gap: 32px; padding-top: 48px; padding-bottom: 28px; font-size: 14.5px; color: var(--muted); }
footer.site .about p { max-width: 380px; margin: 14px 0 0; font-size: 14px; color: var(--dim); }
footer.site h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 6px 0 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); text-decoration: underline; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
footer.site .legal p { margin: 0; }

/* ---------- motion ---------- */
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 4px rgba(244, 184, 96, .18); } 50% { box-shadow: 0 0 0 9px rgba(244, 184, 96, .04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .bars .bar i:not(.range) { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 44px; }
  .scope { max-width: 620px; }
  .hero-orbit { right: -420px; top: -200px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 210px; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .track::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: var(--line-2); }
  .track li { padding: 0 0 30px 38px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 18px; align-items: start; }
  .track li:last-child { padding-bottom: 0; }
  .track li::before { top: 3px; }
  .track .step { grid-column: 1; grid-row: 1; align-self: end; margin: 0 0 6px; }
  .track h3 { grid-column: 1; grid-row: 2; margin: 0; }
  .track .val { grid-column: 2; grid-row: 1; text-align: right; font-size: 34px; }
  .track .lab { grid-column: 2; grid-row: 2; text-align: right; margin: 2px 0 0; }
  .track .desc { grid-column: 1 / -1; grid-row: 3; max-width: 560px; margin-top: 10px; }
  .log li, .log-head { grid-template-columns: 180px 130px 100px minmax(0, 1fr); }
  .log .v { display: none; }
  .log-head span:last-child { display: none; }
  footer.site .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  footer.site .about { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  section { padding: 56px 0; }
  .page-head { padding-top: 48px; padding-bottom: 28px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .qa { grid-template-columns: minmax(0, 1fr); padding: 32px 0 28px; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counters > div { border-right: 0; margin-right: 0; padding: 22px 14px 4px 0; }
  .update, .side { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side { padding: 36px 0; }
  .two, .two.even { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles > div { border-right: 0; margin-right: 0; padding: 24px 0 6px; border-bottom: 1px solid var(--line); }
  .principles > div:last-child { border-bottom: 0; }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .callout .row { justify-content: flex-start; }
  .steps > li { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 14px; padding: 24px 0; }
  .steps > li::before { font-size: 34px; grid-row: 1 / span 2; }
  .steps > li > div:last-child { grid-column: 2; }
  .log li, .log-head { grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 14px; }
  .log .why { grid-column: 1 / -1; grid-row: 2; }
  .log-head { display: none; }
  .ticker a { display: none; }
  .marks li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 560px) {
  .cats { grid-template-columns: minmax(0, 1fr); }
  .cat { min-height: 0; }
  .cat .cardtop { padding-bottom: 20px; }
  .hero .row .btn { flex: 1 1 100%; }
  .log li { grid-template-columns: minmax(0, 1fr) auto; }
  .log .m.depth { display: none; }
  footer.site .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dots a { width: 16px; height: 16px; }
  .brand { font-size: 24px; }
  table { font-size: 14px; }
  th, td { padding: 11px 7px; }
  th:first-child { padding-left: 12px; }
  td:last-child, th:last-child { padding-right: 12px; }
  thead th, thead th.n { white-space: normal; letter-spacing: .04em; font-size: 10.5px; }
  tbody th { min-width: 112px; }
  table.wide tbody th { min-width: 150px; }
  .badge { font-size: 13px; }
  .badge .long { display: none; }
  .ticker { font-size: 13px; }
}

/* ---------- motto and disclaimers ---------- */
.motto { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; color: var(--muted); margin: -10px 0 20px; }
.disclaimer { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.disclaimer b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); white-space: nowrap; }
:not(.panel) > p.disclaimer { border: 0; padding: 0; margin: 16px 0 0; }

/* ---------- sky map ---------- */
.skymap { position: relative; width: 100%; max-width: 720px; margin: 0 auto; aspect-ratio: 1; }
.skymap svg { display: block; width: 100%; height: auto; overflow: visible; }
.skymap > p { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12%; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 50%; margin: 0; }
.sky-bg { fill: #080D1B; stroke: var(--line-2); }
.sky-grid { fill: none; stroke: #18213A; stroke-width: 1; }
.sky-cvz { fill: rgba(124, 212, 200, .045); stroke: var(--teal); stroke-opacity: .5; stroke-dasharray: 3 6; }
.sky-pole { stroke: var(--teal); stroke-width: 1.3; fill: none; }
.sky-star { fill: var(--text); opacity: .72; }
.sky-name { fill: var(--muted); font: 12.5px var(--sans); }
.sky-label { fill: var(--dim); font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sky-label.cvz { fill: var(--teal); opacity: .85; }
.sig { outline: none; }
.sig-hit { fill: transparent; }
.sig-dot { stroke: #080D1B; stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .12s, stroke .12s, opacity .15s; }
.sig:hover .sig-dot, .sig:focus-visible .sig-dot, .sig.lit .sig-dot { transform: scale(1.45); stroke: var(--text); }
.sig.dim { opacity: .14; }
.sky-tip { position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 16px)); background: #05080F; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 11px; font-size: 12.5px; line-height: 1.35; color: var(--muted); white-space: nowrap; pointer-events: none; box-shadow: 0 10px 30px -10px #000; }
.sky-tip[hidden] { display: none; }
.sky-tip b { display: block; font-family: var(--mono); font-weight: 500; color: var(--text); }
.mapgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.mapside h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 8px; }
.mapside p { color: var(--muted); font-size: 15.5px; }
.key { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.key li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; }
.key svg { display: block; }
.log li.lit { background: rgba(255, 255, 255, .045); }
.dots a.lit { transform: scale(1.25); box-shadow: 0 0 0 2px var(--text); }

/* ---------- status ladder ---------- */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; }
.ladder li { position: relative; padding: 22px 14px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; min-width: 0; }
.ladder li::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.ladder li.reached::before { background: var(--teal); border-color: var(--teal); }
.ladder b { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; color: var(--dim); font-variant-numeric: tabular-nums; }
.ladder li.reached b { color: var(--text); }
.ladder .rl { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 8px; line-height: 1.3; }
.ladder li.reached .rl { color: var(--text); }
.ladder .rn { font-size: 12.5px; color: var(--dim); margin-top: 3px; line-height: 1.35; }
.ladder li[data-rung="ruled_out"].reached::before { background: var(--rose); border-color: var(--rose); }
.ladder li[data-rung="ruled_out"].reached b { color: var(--rose); }

/* ---------- desk: unit tags and kinds ---------- */
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--muted); white-space: nowrap; }
.tag.kind { color: var(--text); border-color: var(--muted); }
.tag.level-warmup { color: var(--teal); border-color: rgba(124, 212, 200, .4); }
.tag.level-hard { color: var(--amber); border-color: rgba(244, 184, 96, .45); }
.tag.internal { border-style: dashed; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; flex: none; }
.rows li.unit .task { flex: 1 1 auto; min-width: 0; }
.kinds { list-style: none; margin: 0; padding: 0; }
.kinds li { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr) 96px; gap: 8px 24px; padding: 18px; border-bottom: 1px solid var(--line); align-items: start; font-size: 15px; color: var(--muted); }
.kinds li:last-child { border-bottom: 0; }
.kinds li.head { padding-top: 11px; padding-bottom: 11px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.kinds .pts { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--text); text-align: right; white-space: nowrap; }
.kinds .pts small { display: block; font-family: var(--sans); font-size: 12px; color: var(--dim); margin-top: 4px; }
.kinds li.head .pts { font: inherit; color: inherit; }
.kinds .lbl { display: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.kinds li.muted-row { opacity: .72; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: f; }
.four > div { counter-increment: f; padding: 26px 26px 6px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.four > div:last-child { border-right: 0; margin-right: 0; }
.four > div::before { content: "0" counter(f); display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--amber); margin-bottom: 12px; }
.four h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.four p { color: var(--muted); font-size: 15px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; margin: 0; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-2); }
.checklist li.done::before { background: var(--teal); border-color: var(--teal); }
.checklist li.done::after { content: ""; position: absolute; left: 5px; top: 19px; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.checklist strong { color: var(--text); font-weight: 600; }
.tabs { display: flex; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); align-items: center; flex-wrap: wrap; }
.tabs span { padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; }
.tabs span.on { color: var(--text); border-color: var(--line-2); }

/* ---------- funding ---------- */
.funding { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.funding .eyebrow { margin: 0; color: var(--dim); }
.funding p { margin: 0; }
.funding strong { color: var(--text); font-weight: 600; }
.funding a { white-space: nowrap; font-size: 14.5px; }

@media (max-width: 1020px) {
  .mapgrid { grid-template-columns: minmax(0, 1fr); }
  .ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 30px; }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .four > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .kinds li { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr) 80px; gap: 8px 18px; }
}
@media (max-width: 960px) {
  .js .navtoggle { display: inline-flex; }
  .js nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
  .js nav.main.open { display: flex; }
  .js nav.main a { padding: 12px 14px; font-size: 17px; border-radius: 10px; }
  .js nav.main a.btn { margin: 8px 0 0; padding: 13px 18px; }
  html:not(.js) header.site .wrap { flex-wrap: wrap; }
  html:not(.js) nav.main { flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .kinds li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .kinds li.head { display: none; }
  .kinds li > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .kinds li > .pts { grid-column: 2; grid-row: 1; }
  .kinds li > :nth-child(2), .kinds li > :nth-child(3) { grid-column: 1 / -1; }
  .kinds .lbl { display: block; }
  .funding { grid-template-columns: minmax(0, 1fr); }
  .sky-name { font-size: 15px; }
  .sky-label { font-size: 13px; }
}
@media (max-width: 560px) {
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four { grid-template-columns: minmax(0, 1fr); }
  .four > div { border-right: 0; margin-right: 0; padding-right: 0; }
  .four > div + div { border-top: 1px solid var(--line); }
  .sky-label:not(.cvz) { display: none; }
}
@media (max-width: 560px) {
  .rows li.unit { flex-wrap: wrap; gap: 8px 12px; }
  .rows li.unit .task { order: 3; flex-basis: 100%; }
}

/* ---------- sponsors (not open yet) ---------- */
.sponsors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; padding: 24px 26px; border: 1px dashed #3A486E; border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.sponsors p { margin: 0; }
.sponsors .eyebrow { margin-bottom: 10px; color: var(--dim); }
.sponsors strong { color: var(--text); font-weight: 600; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.slots li { min-height: 76px; border: 1px dashed #3A486E; border-radius: 12px; display: grid; place-items: center; text-align: center; padding: 10px 14px; font-size: 14px; line-height: 1.35; color: var(--dim); }
.slots li.first { grid-column: span 2; border-color: rgba(244, 184, 96, .5); color: var(--muted); font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.slots.live { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.slots li.filled { border-style: solid; color: var(--text); font-weight: 500; }
.slots li.filled a { text-decoration: none; }
@media (max-width: 820px) {
  .sponsors { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
@media (max-width: 560px) {
  .slots:not(.live) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots li.first { grid-column: 1 / -1; }
  .slots:not(.live) li:nth-child(n+4) { display: none; }
}

/* ---------- signal page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--amber); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--dim); }
.sig-only { display: none; }
.sig-ready .sig-only { display: block; }
.sig-ready p.badge.sig-only { display: inline-flex; }
.sig-ready .sig-none { display: none; }
.badge .pill { font-size: 12.5px; }
.facts { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 0; color: var(--text); font-size: 15.5px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 9px; }
.ladder.path b { font-size: 26px; min-height: 30px; }
.ladder.path li.here b { color: var(--amber); }
.ladder.path li.here::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(244, 184, 96, .18); }
.ladder.path li[data-rung="ruled_out"].here b { color: var(--rose); }
.ladder.path li[data-rung="ruled_out"].here::before { background: var(--rose); border-color: var(--rose); box-shadow: 0 0 0 4px rgba(242, 164, 156, .16); }
.plots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plotframe { margin: 0; border: 1px dashed #3A486E; border-radius: var(--radius); padding: 16px 16px 18px; background: rgba(14, 21, 40, .4); }
.plotframe svg { display: block; width: 100%; height: auto; }
.plotframe figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.plotframe strong { display: block; color: var(--text); font-weight: 600; }
.plotframe em { display: block; margin-top: 8px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.verdict-head { grid-template-columns: 1fr 1fr 1fr 2fr; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.pager a { text-decoration: none; color: var(--muted); }
.pager a:hover { color: var(--text); }
.pager a[hidden] { display: inline; visibility: hidden; }
.pager span { font-family: var(--mono); font-size: 13.5px; }
@media (max-width: 820px) {
  .plots { grid-template-columns: minmax(0, 1fr); }
  .verdict-head { display: none; }
}
@media (max-width: 560px) {
  .facts > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- social accounts (only shown when some exist) ---------- */
footer.site .about p.socials { margin-top: 12px; color: var(--muted); }
footer.site .about p.socials a, footer.site .legal a { text-decoration: underline; text-decoration-color: var(--line-2); }

/* ---------- tests in progress and the prediction ledger ---------- */
.btn[hidden] { display: none; }
button.btn-ghost { background: transparent; }
.btn:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.h-sm { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; margin: 0 0 14px; }

/* "on this page" chips */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(14, 21, 40, .6); text-decoration: none; font-size: 14.5px; }
.jump a:hover { border-color: var(--muted); }
.jump small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* pass marks that have no result yet */
.marks .tag { white-space: normal; justify-self: start; }
.marks .wait { color: var(--dim); border-style: dashed; }
.marks .res { font-style: normal; color: var(--text); }
.marks li.grp { display: block; padding: 16px 0 2px; border-bottom: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.marks li.grp:first-child { padding-top: 12px; }
.score .val.long { font-size: 30px; line-height: 1.1; font-style: italic; }
.marks.in-panel { padding: 4px 18px; }
.plain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plain li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.plain strong { color: var(--text); font-weight: 600; }

/* the fingerprint */
.fp-value { display: block; padding: 22px 20px; border: 1px dashed #3A486E; border-radius: 12px; background: rgba(7, 11, 22, .5); font-family: var(--mono); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.75; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); overflow-wrap: anywhere; }
.fp.is-set .fp-value { border-style: solid; border-color: rgba(244, 184, 96, .42); color: var(--amber); letter-spacing: .04em; text-transform: none; word-spacing: .25em; }
.fp-date { margin: 14px 0 16px; font-size: 14.5px; color: var(--muted); }
.fp .row:not(:has(> :not([hidden]))) { display: none; }

/* scoreboard tiles: hairlines come from the grid gap, so any column count stays tidy */
.scores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.score { padding: 20px 20px 22px; background: var(--surface); }
.score p { margin: 0; }
.score .k { min-height: 2.9em; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.score .val { margin: 8px 0 14px; font-family: var(--serif); font-size: clamp(34px, 3.3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.score.wait .val { font-style: italic; color: var(--dim); }
.score .sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.score .got { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text); }
.reports { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.reports li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }

/* calibration plot */
.calib-plot { position: relative; max-width: 460px; margin: 0 auto; }
.calib svg { display: block; width: 100%; height: auto; }
.calib text { font-family: var(--mono); font-size: 10.5px; fill: var(--dim); }
.calib .title { font-size: 11px; letter-spacing: .04em; fill: var(--muted); }
.calib .note { font-size: 10px; letter-spacing: .02em; }
.calib .grid { fill: none; stroke: var(--line); }
.calib .axis { fill: none; stroke: var(--line-2); }
.calib .ideal { fill: none; stroke: var(--dim); stroke-dasharray: 4 6; }
.calib .pending { font-family: var(--serif); font-style: italic; font-size: 32px; fill: var(--muted); }
.calib .pending-sub { letter-spacing: .12em; text-transform: uppercase; }
.calib .dot { fill: var(--c-binary); stroke: var(--surface); stroke-width: 2; }
.calib .err { fill: none; stroke: var(--c-binary); stroke-width: 1.5; opacity: .6; }
.calib .hit { fill: transparent; }
.calib .pt { outline: none; }
.calib .pt:hover .dot, .calib .pt:focus-visible .dot { stroke: var(--text); }
.calib .tip { position: absolute; z-index: 2; width: max-content; max-width: 230px; padding: 8px 11px; transform: translate(16px, -50%); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 8px; font-size: 12.5px; line-height: 1.45; color: var(--text); pointer-events: none; }
.calib .tip.flip { transform: translate(calc(-100% - 16px), -50%); }
.calib .tip[hidden] { display: none; }
.calib-table { margin-top: 16px; }
.calib-table:empty { display: none; }
.calib-table table { font-size: 14px; }
.calib-table tbody th { min-width: 0; }

/* evidence pack (signal page) */
.pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 52px; align-items: start; padding: 32px; background: rgba(14, 21, 40, .78); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pack h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.pack p { color: var(--muted); }
.pack .row { margin: 22px 0 12px; }
.packlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.packlist li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.packlist strong { display: block; margin-bottom: 3px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* for astronomers */
.offer .tags { margin: 0 0 16px; }
.offer h3 { margin-bottom: 10px; }
.offer p:last-child { margin-top: 14px; }
.side ul.checklist { padding-left: 0; max-width: 760px; }
.checklist.no li::before { content: "\00D7"; border-color: rgba(242, 164, 156, .4); color: var(--rose); font: 600 13px/14px var(--sans); text-align: center; }

@media (max-width: 1020px) {
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score:first-child { grid-column: 1 / -1; }
  .score .k { min-height: 0; }
}
@media (max-width: 820px) {
  .pack { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .scores { grid-template-columns: 1fr; }
  .packlist { grid-template-columns: 1fr; }
  .jump a { padding: 7px 13px; font-size: 14px; }
  .pack { padding: 20px; }
  .pack .btn { width: 100%; }
}

/* get involved */
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ask { display: flex; flex-direction: column; padding: 28px; }
.ask .tags { margin: 0 0 16px; }
.ask h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.08; margin-bottom: 12px; }
.ask ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; }
.ask li { margin-bottom: 4px; }
.ask li::marker { color: var(--amber); }
.ask ul + p { margin-top: 12px; }
.ask .act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 24px; }
.ask .subj { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ask .subj b { font-weight: 500; color: var(--muted); }
@media (max-width: 820px) {
  .asks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ask { padding: 22px; }
  .ask .btn { width: 100%; }
}
