/* 900 Labs site stylesheet, the redesign of 2026-10-18.
   Paper, ink, and one proofreader's red. Self-hosted fonts, no external requests.
   Bump the ?v= on every stylesheet link when this file changes: browsers cache it for a day. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/spline-sans-mono-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f8f5ee;
  --paper-2: #fdfbf6;
  --manila: #efe8d7;
  --dark: #131920;
  --dark-2: #0d1218;
  --ink: #1b232c;
  --ink-2: #4d5661;
  --ink-3: #79818b;
  --paper-ink: #ece7da;
  --paper-ink-2: #a8a89c;
  --line: #ddd5c2;
  --line-2: #c3b99f;
  --dark-line: rgba(236, 231, 218, 0.17);
  --red: #ac3a22;
  --red-deep: #8c2d18;
  --red-bright: #d96b45;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 6rem);
  --header-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-read { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.8rem; padding: 0.6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--red); }
.eyebrow.plain::before { content: none; }
.ledger .eyebrow { color: var(--paper-ink-2); }

h1, .h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em { font-style: italic; font-weight: 460; }
h2, .h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  line-height: 1.25;
}
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 0.9rem; line-height: 1.5; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); }
.read { font-family: var(--serif); font-size: 1.1rem; line-height: 1.62; }
.read > * + * { margin-top: 1em; }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 0.9em; }
.prose p { text-wrap: pretty; }
strong { font-weight: 640; }

a.text-link, .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a.text-link:hover, .prose a:hover { color: var(--red); }

.arrow-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 0.1rem;
}
.arrow-link .a { font-family: var(--mono); }
.arrow-link:hover { color: var(--red); border-color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
.btn .a { font-family: var(--mono); font-size: 0.9em; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ledger .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 1.25rem; }
.wordmark {
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.12em;
  text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 0.5rem; flex: none;
}
.wordmark .chip { width: 9px; height: 9px; background: var(--red); flex: none; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.primary-nav a { font-family: var(--sans); font-weight: 500; font-size: 0.875rem; text-decoration: none; color: var(--ink-2); position: relative; padding: 0.3rem 0; }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"]:not(.btn) { color: var(--ink); }
.primary-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.15rem; height: 2px; background: var(--red); }
.primary-nav a.btn { color: var(--paper); padding: 0.6rem 0.95rem; font-size: 0.8125rem; }
.primary-nav a.btn:hover { color: var(--paper); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); padding: 0.55rem 0.7rem; cursor: pointer; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-nav { display: none; }
@media (max-width: 52rem) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav { display: none; border-bottom: 1px solid var(--line); background: var(--paper); }
  body.nav-open .mobile-nav { display: block; }
  .mobile-nav a { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; text-decoration: none; color: var(--ink); padding: 0.8rem 0; border-top: 1px solid var(--line); }
  .mobile-nav .m-foot { padding: 1rem 0 1.5rem; display: flex; gap: 1.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
  .mobile-nav .m-foot a { font-family: var(--mono); font-size: 0.72rem; padding: 0; border: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.divide { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 0.9rem; }
.section-head .eyebrow { margin-bottom: 0.2rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 52rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { max-width: 18ch; line-height: 1.12; }
.hero .lede { max-width: 50ch; margin-top: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.hero-foot { margin-top: clamp(2.5rem, 6vw, 4.5rem); display: flex; align-items: center; gap: 0.75rem; }
.hero-foot .line { flex: 1; height: 1px; background: var(--line); }
.hero-foot .doc, .page-register .doc { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); text-align: center; line-height: 1.7; }
.plus { width: 9px; height: 9px; flex: none; background: linear-gradient(var(--line-2), var(--line-2)) center / 1px 9px no-repeat, linear-gradient(var(--line-2), var(--line-2)) center / 9px 1px no-repeat; }

/* the pen-mark: the one on the site */
.pen-mark { position: relative; display: inline-block; }
.pen-mark svg { position: absolute; left: -0.06em; bottom: 0.05em; width: calc(100% + 0.12em); height: 0.2em; overflow: visible; pointer-events: none; }
.pen-mark path { fill: none; stroke: var(--red); stroke-width: 3.4; stroke-linecap: round; }

/* ---------- the Prove grid (same component as deck slide 4) ---------- */
.fig { border: 1px solid var(--line); background: var(--paper-2); padding: clamp(1rem, 2.5vw, 1.5rem); }
.fig .cap { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wedge { display: grid; grid-template-columns: 3.4rem repeat(6, minmax(0, 1fr)); gap: 4px; }
.wedge .h .short { display: none; }
.wedge .h { font-family: var(--mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-align: center; padding-bottom: 2px; align-self: end; white-space: nowrap; overflow: hidden; }
.wedge .r { font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); align-self: center; }
.wedge .c { height: 26px; border: 1px solid var(--line-2); background: var(--paper-2); }
.wedge .c.live { background: var(--red); border-color: var(--red); }
.wlegend { display: flex; gap: 1.4rem; margin-top: 0.9rem; flex-wrap: wrap; }
.wlegend span { font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 0.5rem; }
.wlegend i { display: inline-block; width: 16px; height: 11px; border: 1px solid var(--line-2); background: var(--paper-2); }
.wlegend i.live { background: var(--red); border-color: var(--red); }
.fig.big .wedge { grid-template-columns: 4.5rem repeat(6, minmax(0, 1fr)); gap: 6px; }
.fig.big .wedge .c { height: 34px; }
.fig.big .wedge .h { font-size: 0.62rem; }
@media (max-width: 40rem) {
  .wedge .h .long { display: none; }
  .wedge .h .short { display: inline; }
  table.data td, table.data th { padding-inline: 0.6rem; }
  .fig.big .wedge { grid-template-columns: 3.2rem repeat(6, minmax(0, 1fr)); gap: 4px; }
  .fig.big .wedge .c { height: 26px; }
  .wedge .h { font-size: 0.5rem; letter-spacing: 0.04em; }
}

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 52rem) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.card .n { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 0.6rem; }
.card .n span { color: var(--ink-2); }
.card p { color: var(--ink-2); font-size: 0.975rem; text-wrap: pretty; }
.card p strong { color: var(--ink); }
.card .fill { flex: 1; }
.card .arrow-link { align-self: flex-start; }
.stage-list { display: grid; gap: 0.55rem; }
.stage-list div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.6rem; font-size: 0.95rem; color: var(--ink-2); padding-top: 0.55rem; border-top: 1px solid var(--line); }
.stage-list b { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); padding-top: 0.2rem; }

.status-line { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--ink-2); display: flex; align-items: baseline; gap: 0.6rem; padding: 0.65rem 0.85rem; background: var(--manila); }
.status-line .k { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; flex: none; }

/* ---------- stage strip (Work page) ---------- */
.stages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
@media (max-width: 52rem) { .stages { grid-template-columns: 1fr; } }
.stages li { border-top: 2px solid var(--red); padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.stages .n { font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.stages h3 { font-size: 1.5rem; }
.stages p { color: var(--ink-2); font-size: 0.975rem; text-wrap: pretty; }
.stages dl { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.8rem; row-gap: 0.3rem; }
.stages dt { font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.15rem; }
.stages dd { font-size: 0.9rem; color: var(--ink-2); }
.stages dd .stop { color: var(--red); font-weight: 600; }

/* ---------- research lines ---------- */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 52rem) { .lines { grid-template-columns: 1fr; } }
.rline { background: var(--paper); padding: clamp(1.3rem, 3vw, 1.8rem); display: flex; flex-direction: column; gap: 0.8rem; }
.rline .n { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.rline h3 { font-size: 1.25rem; }
.items { list-style: none; display: grid; }
.items li { padding: 0.7rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.items .t { font-family: var(--serif); font-size: 1.02rem; font-weight: 540; line-height: 1.3; }
.items .t a { text-decoration: none; }
.items .t a:hover { color: var(--red); }
.items .s { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-2); line-height: 1.5; }
.items .s b { color: var(--ink); font-weight: 600; }
.items .s.done b { color: var(--red); }

/* note card */
.note-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--paper-2); padding: clamp(1.4rem, 3vw, 2rem); }
.note-card:hover { border-color: var(--ink); }
.note-card .n-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.9rem; }
.note-card .n-meta .m + .m::before { content: "·"; margin: 0 0.6rem; color: var(--line-2); }
.note-card .n-meta .series { color: var(--red); font-weight: 600; }
.note-card h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 500; max-width: 28ch; text-wrap: balance; }
.note-card .standfirst { margin-top: 0.7rem; color: var(--ink-2); max-width: 60ch; font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; text-wrap: pretty; }
.note-card .n-cta { margin-top: 1rem; }

/* ---------- ledger (dark) ---------- */
.ledger { background: var(--dark); color: var(--paper-ink); }
.ledger .muted, .ledger .lede { color: var(--paper-ink-2); }
.ledger h2, .ledger h3 { color: var(--paper-ink); font-weight: 460; }
.ledger-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .ledger-grid { grid-template-columns: 1fr; } }
.fact-list { list-style: none; }
.fact-list li { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--dark-line); font-size: 1rem; }
.fact-list li:first-child { border-top: 1px solid var(--dark-line); }
.fact-list .idx { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--red-bright); flex: none; width: 1.8rem; }
.fact-list .fact { flex: 1; text-wrap: pretty; }
.disclosure { background: var(--paper); color: var(--ink); border-top: 4px solid var(--red); padding: clamp(1.25rem, 3vw, 1.75rem); max-width: 40rem; margin-top: 1.5rem; }
.disclosure .d-label { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.disclosure p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; text-wrap: pretty; }

/* ---------- archival panel (status, what-this-is) ---------- */
.archival { background: var(--manila); border-top: 2px solid var(--ink); position: relative; padding: clamp(1.25rem, 3vw, 1.75rem); }
.archival::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; height: 1px; background: var(--ink); }
.archival .a-title { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.archival .a-title::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.archival p { text-wrap: pretty; }

/* ---------- report artifact ---------- */
.artifact { border: 1px solid var(--ink); background: var(--paper-2); }
.artifact .art-tag { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.9rem clamp(1.25rem, 3vw, 2rem); border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.artifact .art-tag .t { display: flex; align-items: center; gap: 0.5rem; }
.artifact .art-tag .t::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.artifact .art-body { padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem); }
.artifact .art-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; max-width: 18ch; text-wrap: balance; }
.artifact .art-sub { margin-top: 0.8rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-2); max-width: 48ch; line-height: 1.45; }
.artifact .meta-strip { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-2); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper-2); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
table.data th { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; color: var(--ink-2); padding: 0.9rem 1rem 0.7rem; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
table.data td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: none; }
table.data .rowhead { font-weight: 600; }
table.data .no { color: var(--red); font-weight: 600; }
table.data .yes { font-weight: 600; }

/* ---------- definition rows, tick list ---------- */
.def-rows { list-style: none; border-top: 1px solid var(--line); }
.def-rows li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.def-rows .k { font-family: var(--sans); font-weight: 650; font-size: 0.95rem; }
.def-rows .v { color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 40rem) { .def-rows li { grid-template-columns: 1fr; gap: 0.2rem; } }
.tick-list { list-style: none; }
.tick-list li { padding: 0.75rem 0 0.75rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; text-wrap: pretty; color: var(--ink-2); }
.tick-list li:first-child { border-top: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 0.1rem; top: 1.2rem; width: 8px; height: 8px; background: var(--red); }
.two-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
@media (max-width: 40rem) { .two-list { grid-template-columns: 1fr; } }
.two-list li { border-top: 1px solid var(--line); padding-top: 0.7rem; color: var(--ink-2); text-wrap: pretty; }
.two-list li strong { color: var(--ink); display: block; margin-bottom: 0.15rem; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.field input { background: var(--paper-2); border: 1px solid var(--line-2); padding: 0.85rem 1rem; font-family: var(--sans); font-size: 1rem; color: var(--ink); border-radius: 0; width: 100%; }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; }
.inline-form { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1 1 14rem; }
.form-note { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-2); margin-top: 0.6rem; }

/* ---------- cta band ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .cta-band { grid-template-columns: 1fr; } }
.cta-band .lede { margin-top: 0.9rem; max-width: 46ch; }
.big-mail { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 0.1rem; display: inline-block; letter-spacing: -0.01em; word-break: break-all; }
.big-mail:hover { color: var(--red); }

.page-register { display: flex; align-items: center; gap: 0.75rem; padding-top: 2.5rem; }
.page-register .line { flex: 1; height: 1px; background: var(--line); }

/* ---------- footer ---------- */
.footer { background: var(--dark-2); color: var(--paper-ink); margin-top: clamp(2rem, 5vw, 3.5rem); }
.footer a { text-decoration: none; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 4vw, 3rem); }
@media (max-width: 52rem) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .footer-top { grid-template-columns: 1fr; } }
.footer .f-brand .wordmark { color: var(--paper-ink); }
.footer .f-brand .desc { margin-top: 1rem; font-size: 0.95rem; color: var(--paper-ink-2); line-height: 1.55; }
.footer .f-col h4 { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--paper-ink-2); margin-bottom: 1rem; }
.footer .f-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer .f-col a { font-family: var(--sans); font-size: 0.925rem; color: var(--paper-ink); }
.footer .f-col a:hover { color: var(--red-bright); }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-block: 1.5rem 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom p { font-family: var(--mono); font-size: 0.68rem; line-height: 1.7; letter-spacing: 0.03em; color: var(--paper-ink-2); }
.footer-bottom .correction { color: var(--paper-ink); }
.footer-bottom .correction::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--red-bright); margin-right: 0.5rem; }
.footer-bottom a { color: inherit; text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: 0.2em; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.person { background: var(--paper); padding: 1.4rem; display: grid; gap: 0.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); align-content: start; }
.person .mark { width: 2.6rem; height: 2.6rem; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; }
.person .name { font-family: var(--serif); font-size: 1.15rem; font-weight: 540; }
.person .role { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.person p { color: var(--ink-2); font-size: 0.925rem; }

/* ---------- thesis map (home hero), research rationale, two kinds of data ---------- */
.tmap { display: grid; }
.tmap .trow { display: grid; gap: 0.4rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.tmap .trow:last-child { padding-bottom: 0.15rem; }
.tmap .who { font-family: var(--serif); font-size: 1.12rem; font-weight: 540; line-height: 1.25; display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.1rem; }
.tmap .who::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--red); }
.tmap .pair { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 0.6rem; font-size: 0.9rem; line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.tmap .pair .k { font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.22rem; }
.rline .why { font-size: 0.95rem; color: var(--ink-2); text-wrap: pretty; }
.streams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
@media (max-width: 40rem) { .streams { grid-template-columns: 1fr; } }
.streams .s-k { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.35rem; }
.streams p { color: var(--ink-2); font-size: 0.975rem; text-wrap: pretty; }

/* ---------- added 2026-10-18 for the about, method, notes, contact and 900 Open pages ---------- */
.steps { list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.9rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.steps .num { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; color: var(--red); padding-top: 0.35rem; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 0.45rem; color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.35; color: var(--ink); border-left: 3px solid var(--red); padding-left: 1.2rem; max-width: 36ch; text-wrap: balance; }
.field select, .field textarea { background: var(--paper-2); border: 1px solid var(--line-2); padding: 0.85rem 1rem; font-family: var(--sans); font-size: 1rem; color: var(--ink); border-radius: 0; width: 100%; }
.field textarea { min-height: 9rem; resize: vertical; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.stack-form { display: grid; gap: 1rem; max-width: 36rem; }
.repo-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 1rem; }
@media (max-width: 40rem) { .repo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.repo-list li { background: var(--paper-2); padding: 0.75rem 1rem; font-family: var(--mono); font-size: 0.84rem; font-weight: 500; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team.single { max-width: 24rem; }
.page-end { padding-block: 0 var(--section); }

/* ---------- Note articles: carried over unchanged from the previous site ---------- */
.section-tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.archival .a-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.5rem; }
.archival .a-id { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.scope-fields { list-style: none; }
.scope-fields > li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; padding: 1rem 0; border-top: 1px dashed var(--line-2); }
.scope-fields > li:first-child { border-top: none; padding-top: 0; }
.scope-fields .f-k { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--red-deep); padding-top: 0.3rem; }
.scope-fields .f-v { font-size: 1.03rem; line-height: 1.6; text-wrap: pretty; }
.scope-fields .f-v strong { font-weight: 640; }
@media (max-width: 40rem) {
  .scope-fields > li { grid-template-columns: 1fr; gap: 0.3rem; }
}
.archival.slim { padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.6rem, 3.5vw, 2.25rem); }
.archival.slim p { font-size: 1.05rem; line-height: 1.62; }
.note-body { font-size: 1.125rem; line-height: 1.72; }
.note-body > * + * { margin-top: 1.35em; }
.note-body h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.note-body strong { font-weight: 640; }
.note-body em { font-style: italic; }
.series-bar { display: flex; align-items: center; gap: 0.9rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-2); }
.series-bar .series { color: var(--red); font-weight: 600; display: flex; align-items: center; gap: 0.6rem; }
.series-bar .series::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.series-bar .sep { color: var(--line-2); }
.series-footer { font-style: italic; color: var(--ink-2); font-size: 1rem; line-height: 1.65; padding-top: 1.75rem; border-top: 1px solid var(--line); text-wrap: pretty; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 3.1em; line-height: 0.82; font-weight: 480; color: var(--red-deep); padding: 0.05em 0.14em 0 0; }
.note-body, .scope-fields .f-v, .series-footer { font-family: var(--serif); }
