/* paper.css: "the paper", dark edition. Contract: scripts/design/CONTRACT.md (v1.1, 2026-09-23).
   One weight, one accent, hairlines, no fills except --ice, no bold, no icons except → ↗ and the kicker dot. */

@font-face { font-family: "Suisse Intl"; src: url("/durability-benchmark-assets/SuisseIntl-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #0a0b0d;
  --ink: #e5e3dc;
  --ink-soft: #b9b6ad;
  --muted: #8f8c84;
  --line: #24262b;
  --line-strong: #3a3d43;
  --ice: #121316;
  --blue: #5f9bd1;
  --steel: #9cc4ea;
  --failure: #d0705f;
  --base: #b09a82;
  --success: #57b294;
  --font: "Suisse Intl", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 78px;
  color-scheme: dark;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  animation: paper-in 300ms ease-out;
}
@keyframes paper-in { from { opacity: 0; } to { opacity: 1; } }
h1, h2, h3, h4, h5, h6, b, strong, th { font-weight: 400; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }
::selection { background: var(--blue); color: var(--paper); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 160ms, border-color 160ms; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, summary { touch-action: manipulation; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 60; background: var(--paper); color: var(--ink); padding: 8px 12px; font-size: 13px; }
.skip-link:focus { left: 12px; }

.shell { width: min(1440px, calc(100% - 112px)); margin: 0 auto; }

/* ---------- header ---------- */
.paper-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid var(--line); background: #0a0b0deb; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.paper-header .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.read-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; transform-origin: left; transform: scaleX(0); background: var(--blue); }
.brand { display: block; line-height: 0; }
.brand img { height: 46px; width: auto; display: block; }
.page-nav { display: flex; gap: 28px; font-size: 13px; margin-left: auto; align-items: center; }
.page-nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; text-decoration: none; color: var(--muted); }
.page-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--blue); }
.page-nav a[aria-current="page"] { color: var(--ink); }
.page-nav a:hover { color: var(--blue); }
.nav-more { display: none; font-size: 13px; }
.nav-more summary { list-style: none; cursor: pointer; color: var(--muted); padding: 12px 0; min-height: 44px; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more[open] summary { color: var(--ink); }
.nav-more ul { position: absolute; left: 0; right: 0; top: var(--header-h); max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior-y: contain; margin: 0; padding: 12px 20px 20px; list-style: none; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-more li a { display: block; padding: 12px 0; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-more li a[aria-current="page"] { color: var(--ink); }

/* ---------- type ---------- */
.kicker { font-size: 14px; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
h1, .display { font-size: clamp(56px, 7vw, 112px); line-height: .98; letter-spacing: -.065em; max-width: 970px; color: var(--ink); }
h2 { font-size: clamp(38px, 4.5vw, 68px); line-height: 1.06; letter-spacing: -.055em; max-width: 1000px; color: var(--ink); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.lede { font-size: clamp(20px, 1.85vw, 26px); line-height: 1.5; letter-spacing: -.02em; max-width: 780px; color: var(--ink-soft); }
.caption, .meta { font-size: 12px; line-height: 1.5; color: var(--muted); }
.label { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .02em; color: var(--muted); }
.prose { max-width: 760px; color: var(--ink-soft); }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 12px; }
.prose em { color: var(--ink); }

/* ---------- layout ---------- */
main { display: block; }
.hero { position: relative; padding: 88px 0 64px; isolation: isolate; }
.hero--full { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding: 88px 0; }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 880px; min-width: 0; }
.hero-copy h1 { max-width: 18ch; }
.hero-copy .lede { max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 40px; margin-top: 40px; }
.hero-actions .caption { font-size: 13px; }
.hero-copy .lede { margin-top: 40px; }
.hero-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; mask-image: linear-gradient(90deg, transparent 12%, #000 72%); -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 72%); opacity: .72; }
.hero-art canvas { width: 100%; height: 100%; display: block; }
.hero-word { position: absolute; left: 0; bottom: 4%; z-index: 1; font-size: clamp(80px, 14.4vw, 250px); line-height: 1; letter-spacing: -.085em; color: var(--ink); opacity: calc(.025 + var(--p, 0) * .035); pointer-events: none; white-space: nowrap; }
.hero-meta { margin-top: 24px; }
.section { padding: 120px 0; border-top: 1px solid var(--line); }
.section.section--flush { padding-top: 0; border-top: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 88px; align-items: start; }
.pair > * { min-width: 0; }
.pair-head .caption { margin-top: 15px; max-width: 440px; }
.section-index { font: 11px/1.5 var(--mono); color: var(--blue); margin-bottom: 24px; }
.pair--form .pair-head h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.pair--form .pair-head .lede { font-size: 20px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.catalog-head h2 { font-size: 24px; letter-spacing: -.025em; }
.stack > * + * { margin-top: 40px; }
.stack-lg > * + * { margin-top: 64px; }

/* ---------- facts ---------- */
.facts { list-style: none; margin: 0; padding: 0; }
.fact { display: grid; grid-template-columns: 100px 1fr; gap: 15px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.fact:last-child { margin-bottom: 0; }
.fact dt { font-size: 11px; color: var(--muted); padding-top: 4px; }
.fact dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.fact dd .caption { margin-top: 6px; }
.facts--wide .fact { grid-template-columns: 120px 1fr; padding-bottom: 24px; margin-bottom: 24px; }
.facts--wide .fact dd { color: var(--ink-soft); }
.facts--wide .fact dd p + p { margin-top: 16px; }
.sign { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- big numbers ---------- */
.big { display: block; }
.big-number { font-size: clamp(52px, 6.6vw, 92px); line-height: 1.05; letter-spacing: -.06em; color: var(--steel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big-number .arrow { color: var(--muted); font-size: .6em; margin: 0 .12em; letter-spacing: 0; }
.big-number .before { color: var(--base); }
.big-number .unit { font-size: .5em; letter-spacing: -.02em; margin-left: .1em; }
.big-label { font-size: 14px; color: var(--ink); margin-top: 8px; max-width: 320px; line-height: 1.5; }
.big-qualifier { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 360px; line-height: 1.5; }
.big-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.big-trio > .big, .big-quad > .big { min-width: 0; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.big-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.big--muted .big-number { color: var(--base); }
.big-trio .big-number { font-size: clamp(36px, 4vw, 56px); }

/* ---------- comparison rows ---------- */
.cmp { border-bottom: 1px solid var(--line-strong); }
.cmp-row { display: grid; grid-template-columns: 1.3fr .65fr .7fr 1.35fr; gap: 24px; padding: 23px 0; border-top: 1px solid var(--line-strong); align-items: baseline; }
.cmp-row--foot { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.cmp-row--foot .cmp-foot { grid-column: 1 / -1; }
.cmp-row--foot .cmp-foot:empty, .cmp-row--foot.cmp-head span:empty { display: none; }
.cmp-head { padding: 0 0 12px; border-top: 0; }
.cmp-head span { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.cmp-label { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.cmp-note { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0; line-height: 1.5; }
.cmp-fig { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-fig--layer { color: var(--blue); }
.cmp-foot { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.table-wrap table { min-width: 620px; }
.table-wrap--prose table { table-layout: fixed; }
.table-wrap--prose th:first-child { width: 36%; }
.table-wrap--prose th:nth-child(2) { width: 48%; }
.table-wrap--prose td { white-space: normal; overflow-wrap: anywhere; font-family: var(--font); }
.table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.table--wide { min-width: 720px; }
table { width: 100%; border-collapse: collapse; }
caption { text-align: left; }
thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
tbody th, tbody td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--line-strong); }
tbody tr:first-child th, tbody tr:first-child td { border-top: 0; }
tbody th { color: var(--ink); font-size: 17px; line-height: 1.4; }
tbody td { font-family: var(--mono); font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
td.layer, th.layer { color: var(--blue); }
.sub { display: block; font-family: var(--font); font-size: 12px; line-height: 1.5; color: var(--muted); white-space: normal; margin-top: 4px; letter-spacing: 0; }
.table-note { margin-top: 24px; font-size: 12px; color: var(--muted); max-width: 760px; line-height: 1.5; }

/* ---------- chart ---------- */
.chart-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; font-size: 14px; color: var(--ink); }
.chart-title span:last-child { font-size: 12px; color: var(--muted); text-align: right; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.chart-key li { display: inline-flex; align-items: center; gap: 10px; }
.chart-note { font-size: 16px; line-height: 1.6; max-width: 760px; margin-top: 24px; color: var(--ink-soft); }

/* ---------- actions ---------- */
.action { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; background: none; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 0 0 9px; margin: 0; color: var(--ink); font-size: 14px; line-height: 1.4; text-decoration: none; cursor: pointer; transition: color 160ms, border-color 160ms; }
.action::after { content: "\2192"; }
.action:disabled { opacity: .55; cursor: wait; }
.action:hover { color: var(--blue); border-color: var(--blue); }
.action--ext::after { content: " \2197"; }

/* ---------- panels and cards ---------- */
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 3px; padding: 24px; transition: border-color 160ms; }
.panel:focus-within { border-color: var(--blue); }
.panel--ice { background: var(--ice); }
.panel .media { display: block; margin: -24px -24px 24px; border-bottom: 1px solid var(--line); line-height: 0; }
.panel .media img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.panel h3 { margin-bottom: 15px; }
.panel .hook { font-size: 20px; line-height: 1.45; letter-spacing: -.015em; color: var(--ink-soft); }
.panel .meta { margin-top: 15px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.cards > .panel { display: flex; flex-direction: column; }
.panel .card-description { margin-top: 15px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.cards .toy-action, .cards .lab-soon { margin-top: auto; padding-top: 24px; }
.cards .chips { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 0; padding: 0; list-style: none; }
.chip { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 3px 8px; }
pre, code { font-family: var(--mono); font-size: 14px; }
pre { background: var(--ice); border: 1px solid var(--line); border-radius: 3px; padding: 24px; overflow-x: auto; line-height: 1.55; color: var(--ink-soft); }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 24px; }
.field-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; min-height: 48px; font-size: 16px; color: var(--ink); line-height: 1.5; transition: border-color 160ms; }
.field select { appearance: none; -webkit-appearance: none; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 4px; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field textarea { min-height: 120px; resize: vertical; }
.field-error { display: block; font-size: 12px; color: var(--failure); margin-top: 6px; }
.field-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-col { width: 100%; max-width: 560px; min-width: 0; }
.form-col form { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--blue); }

/* ---------- footer ---------- */
.paper-footer { border-top: 1px solid var(--line); padding: 35px 0; font-size: 12px; color: var(--muted); }
.paper-footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.paper-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.paper-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.paper-footer a:hover, .paper-footer a[aria-current="page"] { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .pair { gap: 40px; }
  .section { padding: 88px 0; }
  .hero { padding: 88px 0 64px; }
}
@media (max-width: 900px) {
  .pair { grid-template-columns: 1fr; gap: 24px; }
  .big-quad { grid-template-columns: 1fr 1fr; }
  .big-trio { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .shell { width: calc(100% - 40px); }
  .brand img { height: 36px; }
  .page-nav { gap: 18px; }
  .page-nav a:not(:last-child) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .nav-more { display: block; }
  .hero { padding: 64px 0 48px; }
  .hero--full { padding: 64px 0; }
  .hero-copy { width: 100%; }
  .hero-copy .lede { margin-top: 24px; }
  .hero-art { opacity: .42; mask-image: linear-gradient(180deg, #000, transparent 88%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%); }
  .hero-word { font-size: 22vw; bottom: 3%; }
  .section { padding: 64px 0; }
  h1, .display { font-size: clamp(42px, 11.5vw, 56px); letter-spacing: -.055em; line-height: 1.02; }
  h2 { font-size: clamp(32px, 9vw, 38px); }
  .kicker { font-size: 12px; margin-bottom: 24px; }
  .section-index { margin-bottom: 15px; }
  .catalog-head { align-items: start; }
  .catalog-head .caption { text-align: right; }
  .cmp-row { grid-template-columns: 1fr .45fr .85fr .5fr; gap: 10px; padding: 15px 0; }
  .cmp-row--foot { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .cmp-row--foot .cmp-fig { font-size: clamp(16px, 4.6vw, 22px); }
  .cmp-row--foot.cmp-head span { font-size: 10px; }
  .cmp-row--foot .cmp-foot { grid-column: 1 / -1; }
  .cmp-label { font-size: 16px; }
  .cmp-fig { font-size: 20px; }
  tbody th { font-size: 15px; }
  tbody td { font-size: 14px; }
  thead th, tbody th, tbody td { padding-right: 12px; }
  .fact { grid-template-columns: 84px 1fr; }
  .facts--wide .fact { grid-template-columns: 1fr; gap: 6px; }
  .big-number, .big-trio .big-number { font-size: clamp(44px, 14vw, 60px); }
  .panel { padding: 20px; }
  .panel .media { margin: -20px -20px 20px; }
  .paper-footer nav { gap: 18px; }
}
@media (max-width: 560px) {
  .chart-title { flex-direction: column; gap: 6px; }
  .chart-title span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  *, *::before, *::after { animation: none !important; }
}
@media print {
  .paper-header, .hero-art, .nav-more { display: none; }
  .shell { width: 100%; }
  .section, .hero { padding: 24px 0; }
  body { color: #000; background: #fff; }
}

/* ---------- exhibits: scroll-linked drawings of the paper's numbers (paper-motion.js) ---------- */
.exhibit { display: block; width: 100%; }
.exhibit--field { height: 150px; }
.exhibit--marks { height: 22px; }
.exhibit--bars { height: 96px; }
.exhibit--decay { height: 260px; }
.exhibit-label { font-size: 14px; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.exhibit-label .caption { display: block; }
.exhibit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.exhibit-cap { margin-top: 12px; max-width: 760px; }
.pair-exhibit { margin-top: 40px; max-width: 560px; }
.pair-exhibit .exhibit-cap { max-width: 560px; }
.pair-exhibit .exhibit--marks + .exhibit-label { margin-top: 15px; }
.pair-exhibit .exhibit--field + .exhibit-label { margin-top: 24px; }
.section--stage { padding: 0; }
.stage-scroll { position: relative; height: 240svh; }
.stage { position: sticky; top: var(--header-h); min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; padding: 64px 0; }
.stage-readout { font-family: var(--mono); color: var(--ink); font-size: 12px; }
@media (max-width: 900px) { .exhibit-row { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .stage-scroll { height: auto; }
  .stage { position: static; min-height: 0; padding: 64px 0; }
  .exhibit--field { height: 120px; }
  .exhibit--decay { height: 220px; }
}
.exhibit--drift { height: 200px; }
.exhibit--race { height: 220px; }
.exhibit--tax { height: 120px; }
.exhibit--fixes { height: 210px; }
.exhibit--command { height: 176px; }
.exhibit--above { height: 176px; }
.exhibit--timeline { height: 84px; }
.exhibit--bars-5 { height: 230px; }

/* ---------- blog index and post ---------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 40px 0; border-top: 1px solid var(--line); }
.post-list li:first-child { border-top: 0; padding-top: 0; }
.post-list h3 { margin: 8px 0 15px; }
.post-list h3 a { text-decoration: none; }
.post-list p { max-width: 760px; color: var(--ink-soft); }
.post-list p.caption { color: var(--muted); }
.post-list li:not(.post-status):first-child h3 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.04em; }
.post-list .action { margin-top: 24px; }
.post-status { color: var(--muted); font-size: 16px; padding: 40px 0; }
.post-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.post-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.post-toc__link { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; color: var(--muted); text-decoration: none; transition: color 160ms, border-color 160ms; }
.post-toc__link.is-active { color: var(--ink); border-left-color: var(--ink); }
.post-toc__link:hover { color: var(--blue); }
.post-toc[hidden] { display: none; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 90px; align-items: start; }
.post-layout > .prose { max-width: 760px; min-width: 0; }
.post-toc[hidden] + .prose { grid-column: 1 / -1; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin: 64px 0 24px; }
.prose h3 { font-size: 20px; letter-spacing: -.015em; margin: 40px 0 15px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose blockquote { margin: 24px 0; padding-left: 24px; border-left: 1px solid var(--line-strong); color: var(--ink); }
.prose img { display: block; height: auto; margin: 24px 0; border: 1px solid var(--line); }
.prose table { margin: 24px 0; }
.prose .toc { padding-left: 20px; font-size: 15px; }
.prose .toc li + li { margin-top: 6px; }
.prose .toc a { text-decoration: none; color: var(--ink-soft); }
.prose .toc a:hover { color: var(--blue); }
.prose .inshort { color: var(--ink); }
.totop { position: fixed; right: 28px; bottom: 88px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--muted); text-decoration: none; font-size: 16px; opacity: 0; pointer-events: none; transition: opacity 160ms, color 160ms; }
.totop.is-visible { opacity: 1; pointer-events: auto; }
.totop.is-docked { position: absolute; }
.totop:hover { color: var(--blue); }
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } .post-toc { position: static; } .totop { right: 16px; bottom: 24px; } }
@media (max-width: 700px) { .big-quad { grid-template-columns: 1fr; } }

/* ---------- toy box ---------- */
.panel h3 a { text-decoration: none; }
.panel .meta + h3 { margin-top: 15px; }
.toy-facts { margin-top: 24px; }
.toy-facts .fact dd { font-size: 14px; }
.chip--live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 1px; }
.toy-action { margin-top: 24px; }
.toy-more { margin-top: 40px; }
.post-sub__action { margin-top: 24px; }

/* ---------- contact ---------- */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-ts { margin: 0 0 24px; min-height: 0; max-width: 100%; overflow-x: auto; }
.cf-submit { min-height: 44px; }
.cf-status { margin-top: 24px; font-size: 15px; color: var(--ink); }
.cf-status[data-state="err"] { color: var(--failure); }
.cf-status[hidden], .cf-fallback[hidden] { display: none; }
.cf-fallback { margin-top: 12px; }
.cf-fallback a { color: var(--ink); }
.exhibit.exhibit--bars-4 { height: 180px; }
.exhibit.exhibit--bars-5 { height: 230px; }
