/* Root Compute, variant A ("Manifesto"). One stylesheet for every page.
   Self-hosted fonts only, zero third-party requests. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url('fonts/archivo-300-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 600;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url('fonts/archivo-300-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk, display only. Relative URL: it ships inside this
   folder, not in public/fonts, so the apex never serves it. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------
   Variant A: "Manifesto". Poster type on a near-black ground, one
   loud accent (warm gold amber, never green; same tone as --gold).
   --------------------------------------------------------------- */

:root {
  --ink: #050607;
  --ink-2: #0d0d0d;
  --paper: #efefec;
  --text: #d3d3cf;
  --muted: #91918b;
  --hot: #f2c078;          /* the one loud accent: warm gold amber, never green */
  --hot-2: #f7d6a3;
  --gold: #f2c078;         /* "Said plainly" notes; now the same tone as --hot */
  --bad: #f29b8a;
  --rule: rgba(239,239,236,.14);
  --display: "Space Grotesk", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(1rem, 4.5vw, 3rem);
  --col: 40rem;
  --wide: 76rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-synthesis-weight: none;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--hot); color: var(--ink); }

a { color: var(--hot); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: var(--hot-2); }
a:focus-visible, button:focus-visible, summary:focus-visible, .term:focus-visible {
  outline: 3px solid var(--hot); outline-offset: 3px; border-radius: 2px;
}
p { margin: 0 0 1rem; }
b, strong { color: var(--paper); font-weight: 600; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--hot); color: var(--ink); padding: .5rem .8rem; }

/* Display type: every all-caps headline and big figure is Space Grotesk;
   body copy stays Archivo. Mono overrides (h2.sources-h, .pull .by,
   .next a small) are more specific, so they still win. */
.mark, details.menu nav a, h1, .shout, h2, h3, .pull p, .fig .big, .vs,
ul.points.bold li > b:first-child, .promises li b, .steps li::before,
.chapters .t, .prices td.n, .acro li, .cta, button[type=submit], .next a {
  font-family: var(--display);
}

/* ---------- top bar + menu ---------- */
/* the bar stays pinned while the page scrolls; ::before paints its
   background edge to edge past the max-width (body clips the overflow) */
.top {
  position: sticky; top: 0; z-index: 10; background: var(--ink);
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem var(--pad);
  max-width: var(--wide); margin: 0 auto;
  border-bottom: 2px solid var(--paper);
}
.top::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--ink); }
.mark {
  font-weight: 600; font-stretch: 125%; text-transform: uppercase;
  font-size: 1rem; letter-spacing: -.01em; line-height: 1;
  color: var(--paper); text-decoration: none; margin-right: auto;
}
.mark span { color: var(--hot); }
.mark img { width: 28px; height: 28px; vertical-align: middle; margin: -6px .5rem -6px 0; }
.top .go {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--hot); color: var(--ink); text-decoration: none;
  border: 1px solid var(--hot); padding: .5rem .7rem; line-height: 1; white-space: nowrap;
}
.top .go:hover { background: var(--hot-2); border-color: var(--hot-2); color: var(--ink); }

details.menu { position: static; }
details.menu > summary {
  list-style: none; cursor: pointer;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--paper); border: 1px solid var(--paper);
  padding: .5rem .7rem; line-height: 1; user-select: none;
}
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary::after { content: " +"; }
details.menu[open] > summary { background: var(--paper); color: var(--ink); }
details.menu[open] > summary::after { content: " ×"; }
details.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-bottom: 2px solid var(--paper);
  padding: .5rem var(--pad) 1.25rem;
  display: grid; grid-template-columns: 1fr; gap: 0;
}
@media (min-width: 640px) { details.menu nav { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
@media (min-width: 1000px) { details.menu nav { grid-template-columns: repeat(4, 1fr); } }
details.menu nav a {
  display: block; padding: .6rem 0; border-bottom: 1px solid var(--rule);
  color: var(--paper); text-decoration: none;
  font-weight: 600; font-stretch: 118%; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1;
}
details.menu nav a:hover, details.menu nav a[aria-current] { color: var(--hot); }
details.menu nav a[aria-current]::before { content: "→ "; }

/* ---------- opening statement: sits near the top, no empty first screen ---------- */
.slab {
  display: flex; flex-direction: column;
  padding: clamp(2.5rem, 7vw, 5rem) var(--pad) 2.5rem;
  max-width: var(--wide); margin: 0 auto;
  position: relative;
}
.slab.short { min-height: 0; }
.kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hot); margin: 0 0 1.25rem;
}
.kicker::before { content: "■ "; }
h1, .shout {
  font-weight: 600; font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(2.35rem, 11.5vw, 8.25rem);
  line-height: .9; letter-spacing: -.035em;
  color: var(--paper); margin: 0 0 1.5rem;
  overflow-wrap: break-word; hyphens: manual;
}
h1.l { font-size: clamp(2rem, 9.4vw, 6.5rem); }
h1.m { font-size: clamp(1.8rem, 8.2vw, 5.5rem); }
h1 em, .shout em, h2 em { font-style: normal; color: var(--hot); }
.slab .tagline {
  font-family: var(--mono); font-size: clamp(.85rem, 2.8vw, 1.05rem);
  color: var(--ink); background: var(--hot);
  display: inline-block; padding: .3rem .55rem; margin: 0 0 1.75rem; align-self: flex-start;
}
.slab .lede { max-width: var(--col); }
.slab .logo { display: block; width: clamp(88px, 24vw, 168px); height: auto; margin: 0 0 1.5rem; }
.lede { font-size: clamp(1.1rem, 3.6vw, 1.35rem); line-height: 1.45; color: var(--paper); font-weight: 400; }
.down {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 1.5rem 0 0;
}

/* ---------- sections ---------- */
main { display: block; }
.blk {
  max-width: var(--wide); margin: 0 auto;
  padding: 3.5rem var(--pad) 3rem;
  border-top: 2px solid var(--paper);
}
.blk > .body, .blk .body { max-width: var(--col); }
@media (min-width: 960px) {
  .blk.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 4rem; align-items: start; }
  .blk.split > .head { position: sticky; top: 5rem; }
}
.num {
  display: block; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--hot); margin: 0 0 .75rem;
}
h2 {
  font-weight: 600; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.6rem, 6.8vw, 3.6rem);
  line-height: .95; letter-spacing: -.025em;
  color: var(--paper); margin: 0 0 1.5rem;
}
h2, h3 { text-wrap: balance; }
h3 {
  font-weight: 600; font-stretch: 115%; text-transform: uppercase;
  font-size: clamp(1.1rem, 4.2vw, 1.4rem); line-height: 1.1; letter-spacing: -.005em;
  color: var(--paper); margin: 2rem 0 .6rem;
}

/* Shokunin: What / Who / Why / How headings, one step up */
.wwwh h3 { font-size: clamp(1.3rem, 5vw, 1.75rem); }

/* ---------- declarative pull lines ---------- */
.pull {
  margin: 0; padding: 3rem var(--pad);
  background: var(--hot); color: var(--ink);
}
.pull p {
  max-width: var(--wide); margin: 0 auto;
  font-weight: 600; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.75rem, 8vw, 5rem); line-height: .95; letter-spacing: -.03em; overflow-wrap: break-word;
}
.pull.dark { background: var(--ink); color: var(--paper); border-top: 2px solid var(--paper); }
.pull.dark p em { font-style: normal; color: var(--hot); }
.pull .by { display: block; margin-top: 1rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: none; font-weight: 500; font-stretch: 100%; }

/* ---------- giant figures ---------- */
.figs { display: grid; gap: 0; margin: 1.5rem 0 2rem; }
@media (min-width: 720px) { .figs.two { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.fig { border-top: 1px solid var(--rule); padding: 1.1rem 0 1.25rem; }
.fig .big {
  display: block;
  font-weight: 600; font-stretch: 125%;
  font-size: clamp(3rem, 17vw, 9rem); line-height: .85; letter-spacing: -.045em;
  color: var(--hot); margin: 0 0 .6rem;
  white-space: nowrap;
}
.fig .big.s { font-size: clamp(2.4rem, 12.5vw, 7rem); }
.fig .big small { font-size: .38em; letter-spacing: -.01em; color: var(--paper); margin-left: .08em; }
.body > .fig { margin-bottom: 1.5rem; }
/* Why "Root": numbered rows, heading close to its paragraph */
.fig > h2 { font-size: clamp(1.4rem, 6vw, 2.8rem); margin-bottom: .75rem; }
.fig .cap { display: block; font-family: var(--mono); font-size: .85rem; line-height: 1.45; color: var(--text); max-width: 30rem; }
.vs {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .9rem;
  font-weight: 600; font-stretch: 125%; line-height: .9; letter-spacing: -.04em;
  margin: 0 0 .6rem;
}
.vs .a { font-size: clamp(2.6rem, 14vw, 8rem); color: var(--hot); }
.vs .b { font-size: clamp(1.4rem, 6vw, 3.2rem); color: var(--muted); }
.vs .x { font-family: var(--mono); font-size: .85rem; letter-spacing: .1em; color: var(--muted); font-weight: 500; }

/* ---------- lists ---------- */
ul.points { list-style: none; padding: 0; margin: 0 0 1.25rem; }
ul.points li { padding: .9rem 0 .9rem 1.6rem; position: relative; border-top: 1px solid var(--rule); }
ul.points li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: .7rem; height: .7rem; background: var(--hot);
}
ul.points.bold li::before { top: 1.3rem; }
ul.points.bold li > b:first-child { display: block; text-transform: uppercase; font-stretch: 118%; font-size: 1.15rem; line-height: 1.15; margin-bottom: .2rem; }

/* three-line promise wall */
.promises { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: p; }
.promises li { counter-increment: p; border-top: 2px solid var(--paper); padding: 1.1rem 0 1.25rem; }
.promises li b {
  display: block; font-weight: 600; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.6rem, 7.4vw, 3.4rem); line-height: .95; letter-spacing: -.03em;
  color: var(--paper); margin: 0 0 .5rem;
}
.promises li b::before { content: "0" counter(p) " "; color: var(--hot); font-family: var(--mono); font-size: .3em; letter-spacing: .1em; vertical-align: .9em; }
.promises li span { display: block; max-width: var(--col); }
/* under a section heading, the points sit a size below it and fit one line */
.promises.sm li b { font-size: clamp(1rem, 4.4vw, 1.9rem); line-height: 1.05; }

/* stacked blocks (former cards) */
.stack { display: grid; gap: 0; margin: 1.5rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .stack.two { grid-template-columns: 1fr 1fr; column-gap: 2rem; } .stack.three { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; } }
.stack > * { border-top: 1px solid var(--rule); padding: 1rem 0 1.25rem; display: block; color: inherit; text-decoration: none; }
.stack h3 { margin: 0 0 .4rem; color: var(--hot); }
.stack .yr { font-family: var(--mono); font-size: .8rem; color: var(--muted); display: block; margin-bottom: .2rem; }
.stack .ico { display: block; width: 28px; height: 28px; color: var(--hot); margin-bottom: .5rem; }
.stack p { margin: 0; }
a.go-card { position: relative; }
a.go-card h3 { color: var(--paper); }
a.go-card h3::after { content: " →"; color: var(--hot); }
a.go-card:hover h3 { color: var(--hot); }
a.go-card p { color: var(--text); }

/* index chapter list */
.chapters { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: c; }
.chapters li { counter-increment: c; border-top: 1px solid var(--paper); }
.chapters li:last-child { border-bottom: 1px solid var(--paper); }
/* Each chapter is a <details>. The summary is display:block, NOT grid: older
   Chromium ignores grid on <summary> and shows the raw triangle and inline
   blurb. It opens a short distilled
   précis and a "Read more" link to the page. The counter stays on the row. */
.chapters summary { display: block; position: relative; padding: 1rem 2.5rem 1rem 3.15rem; color: var(--text); cursor: pointer; list-style: none; }
.chapters summary::marker { content: ""; font-size: 0; }
.chapters summary::-webkit-details-marker { display: none; }
.chapters summary::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; font-family: var(--mono); font-size: .85rem; color: var(--hot); }
.chapters summary .t, .chapters summary .d { display: block; }
.chapters summary .d { margin-top: .35rem; }
.chapters summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: .7rem; height: .7rem; margin-top: -.55rem;
  border-right: 2px solid var(--hot); border-bottom: 2px solid var(--hot);
  transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.chapters details[open] > summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.chapters .more { padding: 0 0 1.25rem 3.15rem; max-width: calc(var(--col) + 3.15rem); }
.chapters .more p { margin: 0 0 .75rem; }
.chapters .more .rm, .body .rm { font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.chapters .t { font-weight: 600; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.35rem, 6vw, 2.6rem); line-height: .95; letter-spacing: -.02em; color: var(--paper); }
.chapters .d { font-size: .95rem; }
.chapters summary:hover .t { color: var(--hot); }

/* numbered steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.5rem 0; }
.steps li { counter-increment: s; position: relative; border-top: 1px solid var(--rule); padding: 1rem 0 1.1rem 3.6rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .55rem;
  font-weight: 600; font-stretch: 125%; font-size: 2.8rem; line-height: 1; color: var(--hot);
}
.steps li > b:first-child { display: block; text-transform: uppercase; font-stretch: 115%; font-size: 1.1rem; line-height: 1.15; margin-bottom: .25rem; }

/* phases */
.phase { border-top: 2px solid var(--paper); padding: 1rem 0 1.5rem; }
.phase .tag { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phase.now { border-color: var(--hot); }
.phase.now .tag { background: var(--hot); color: var(--ink); padding: .15rem .45rem; }
.phase h3 { margin: .5rem 0 .4rem; font-size: clamp(1.25rem, 5.4vw, 2rem); line-height: .95; font-stretch: 125%; }
.phase p { margin: 0; }

/* honesty notes */
.honest {
  border: 2px solid var(--gold); padding: 1rem 1.1rem; margin: 1.75rem 0 0;
  font-size: .97rem; color: #e6dcc6;
}
.honest b:first-child { display: block; font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }

/* ---------- price table ---------- */
.prices { width: 100%; border-collapse: collapse; margin: 1.5rem 0 .75rem; font-size: .95rem; }
.prices thead th { border-bottom: 2px solid var(--paper); }
.prices th, .prices td { text-align: left; padding: .65rem .4rem .65rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.prices th { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.prices td:first-child { color: var(--paper); }
.prices td.n {
  font-weight: 600; font-stretch: 125%; font-size: clamp(1.25rem, 5vw, 2rem); letter-spacing: -.02em;
  color: var(--hot); white-space: nowrap; text-align: right; padding-right: 0;
}
.prices th:last-child { text-align: right; padding-right: 0; }
.asof { font-family: var(--mono); font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.5rem; }

/* ROOT acrostic */
.acro { list-style: none; padding: 0; margin: 0; }
.acro li {
  font-weight: 600; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.2rem, 11vw, 8rem); line-height: .9; letter-spacing: -.035em; color: var(--paper);
}
.acro li span { color: var(--hot); }

/* ---------- calls to action ---------- */
.cta {
  display: inline-block; margin-top: 1.25rem;
  background: var(--hot); color: var(--ink) !important;
  font-weight: 600; font-stretch: 120%; text-transform: uppercase; letter-spacing: .01em;
  font-size: 1.1rem; text-decoration: none;
  padding: 1rem 1.4rem; border: 0;
}
.cta::after { content: "  →"; }
.cta:hover { background: var(--hot-2); }
.cta.wide { display: block; text-align: center; font-size: clamp(1.15rem, 5vw, 1.6rem); padding: 1.2rem 1rem; }

.closer { background: var(--ink-2); }

/* ---------- tap-or-hover definitions ---------- */
.term { border-bottom: 2px dotted var(--hot); cursor: help; position: relative; }
.term:hover::after, .term:focus::after {
  content: attr(data-def); position: absolute; left: 0; top: 1.6em; z-index: 5;
  width: max-content; max-width: min(18rem, 80vw); padding: .6rem .75rem;
  background: var(--paper); color: var(--ink); font-size: .85rem; line-height: 1.4;
  text-transform: none; font-stretch: 100%; font-weight: 400;
}

/* ---------- Why now citations ---------- */
.ref { font-family: var(--mono); font-size: .72em; color: var(--muted); vertical-align: super; line-height: 0; text-decoration: none; padding: .35em .2em; }
.ref:hover, .ref:focus-visible { color: var(--hot); }
.sources-blk { border-top: 2px solid var(--paper); }
h2.sources-h { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); margin: 0; font-stretch: 100%; }
ol.sources { margin: .75rem 0 0; padding-left: 1.6rem; font-size: .82rem; line-height: 1.5; color: var(--muted); max-width: 52rem; }
ol.sources li { padding: .3rem 0; scroll-margin-top: 1.5rem; }
ol.sources li:target { color: var(--ink); background: var(--hot); box-shadow: -.5rem 0 0 var(--hot), .5rem 0 0 var(--hot); }

/* ---------- Why now charts (static inline SVG, drawn from verified figures) ---------- */
.chart-fig { margin: 2rem 0; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.chart-fig figcaption { margin: 0 0 .9rem; }
.chart-t { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; color: var(--paper); }
.chart-sub { display: block; margin-top: .3rem; font-size: .95rem; color: var(--text); }
svg.chart { display: block; width: 100%; height: auto; overflow: visible; }
svg.chart .grid { stroke: var(--rule); stroke-width: 1; }
svg.chart .ax { fill: var(--muted); font: 500 12px var(--mono); }
svg.chart .val { fill: var(--paper); font: 600 14px var(--display); }
svg.chart .name { fill: var(--text); font: 500 14px var(--display); }
svg.chart .whisk { stroke: var(--paper); stroke-width: 2; fill: none; }
svg.chart .line { fill: none; stroke: var(--hot); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
svg.chart .dot { fill: var(--hot); stroke: var(--ink); stroke-width: 2; }
@media (max-width: 40rem) { svg.chart .ax { font-size: 16px; } svg.chart .val, svg.chart .name { font-size: 18px; } }
.chart-key { margin: .6rem 0 0; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.chart-key .k { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; vertical-align: -.1rem; margin: 0 .35rem 0 0; }
.chart-key .k.plan { margin-left: 1rem; background: repeating-linear-gradient(45deg, var(--hot) 0 2px, rgba(242,192,120,.3) 2px 5px); }
.chart-key .k.solid { background: var(--hot); }
.chart-src { margin: .5rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }

/* ---------- waitlist ---------- */
#waitlist { scroll-margin-top: 1rem; }
html { scroll-padding-top: 4rem; }
form { display: grid; gap: 1.1rem; margin-top: 2rem; max-width: var(--col); }
label {
  display: grid; gap: .4rem;
  font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper);
}
label .opt { color: var(--muted); text-transform: none; letter-spacing: 0; }
input, select, textarea {
  font: inherit; font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--paper);
  background: var(--ink-2); border: 0; border-bottom: 2px solid var(--paper); border-radius: 0;
  padding: .7rem .75rem; width: 100%; min-height: 3rem;
}
textarea { min-height: 6rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7f7f7a; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--hot); outline-offset: 2px; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-bottom-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[type=submit] {
  font: inherit; font-family: var(--display); font-weight: 600; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 7vw, 2.4rem); line-height: 1;
  background: var(--hot); color: var(--ink);
  border: 0; border-radius: 0; padding: 1.3rem 1rem; min-height: 4.5rem; width: 100%;
  margin-top: .75rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .8rem;
}
button[type=submit]:hover { background: var(--hot-2); }
button[type=submit][disabled] { opacity: .75; cursor: progress; }
.spin {
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  border: 3px solid rgba(5,6,7,.3); border-top-color: var(--ink);
  animation: spin .8s linear infinite; display: none;
}
.busy .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } .chapters summary::after { transition: none; } }

.status { margin: 0; min-height: 1.5rem; font-size: 1rem; font-weight: 500; }
.status:empty { min-height: 0; }
.status.err { color: var(--bad); }
.status.err::before { content: "! "; }
.status.wait { color: var(--hot); }
.done { display: none; margin-top: 2rem; background: var(--hot); color: var(--ink); padding: 1.75rem 1.25rem; max-width: var(--col); }
.done:focus { outline: none; }
.done h2 { margin: 0 0 .6rem; color: var(--ink); font-size: clamp(1.8rem, 8vw, 3rem); line-height: .95; font-stretch: 125%; }
.done p { margin: 0; color: var(--ink); }
.joined form { display: none; }
.joined .done { display: block; }
.joined .hide-on-join { display: none; }
.fine { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }

/* ---------- prev / next + footer ---------- */
.next {
  max-width: var(--wide); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--paper);
}
.next a {
  display: block; padding: 1.4rem var(--pad); text-decoration: none; color: var(--paper);
  font-weight: 600; font-stretch: 118%; text-transform: uppercase; font-size: clamp(.95rem, 3.8vw, 1.4rem); line-height: 1.05;
}
.next a small { display: block; font-family: var(--mono); font-weight: 500; font-stretch: 100%; font-size: .72rem; letter-spacing: .14em; color: var(--muted); margin-bottom: .35rem; }
.next a:hover { color: var(--hot); }
.next a + a { text-align: right; border-left: 1px solid var(--rule); }
.next a:only-child { grid-column: 1 / -1; }

footer {
  max-width: var(--wide); margin: 0 auto;
  padding: 1.75rem var(--pad) 3rem; border-top: 2px solid var(--paper);
  font-family: var(--mono); font-size: .78rem; color: var(--muted);
}
footer a { color: var(--muted); }
h1.acro { font-size: clamp(2.2rem, 11vw, 8rem); }
/* Inside a two-column section the figure column is roughly half the page,
   so viewport-based sizes would overflow it. */
@media (min-width: 960px) {
  .split .fig .big { font-size: min(7.5vw, 6.25rem); }
  .split .fig .big.s { font-size: min(6vw, 5rem); }
  .split .figs.two .fig .big, .split .figs.two .fig .big.s { font-size: min(4.6vw, 3.9rem); }
  .split .vs .a { font-size: min(7vw, 5.75rem); }
  .split .vs .b { font-size: min(3.4vw, 2.6rem); }
}

/* ---------- Shokunin: one word, set apart ---------- */
.word {
  max-width: var(--wide); margin: 0 auto;
  padding: clamp(3rem, 12vw, 9rem) var(--pad);
  text-align: center;
}
.word .pre {
  font-family: var(--mono); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 2rem;
}
.word .word-t {
  font-family: var(--display); font-weight: 600; text-transform: none; font-stretch: 100%;
  font-size: clamp(3.25rem, 17vw, 10rem); line-height: .9; letter-spacing: -.04em;
  color: var(--hot); margin: 0 0 2rem;
}
.word .means {
  font-size: clamp(1.15rem, 3.8vw, 1.6rem); line-height: 1.4; color: var(--paper);
  max-width: 28rem; margin: 0 auto;
}
.word .means::before { content: "— "; color: var(--hot); }

/* ---------- home chapters: stat line and the wide lead row ---------- */
.chapters summary .st {
  display: block; margin-bottom: .45rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hot);
}
.chapters li.lead { background: rgba(242,192,120,.07); border-top-color: var(--hot); }
.chapters li.lead summary { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.chapters li.lead summary::before { top: 1.95rem; }
.chapters li.lead .t { font-size: clamp(1.7rem, 8vw, 3.6rem); }
.chapters li.lead .st { font-size: .9rem; }

/* On a phone the term can sit anywhere in the line, so pin the definition to the screen edges instead */
@media (max-width: 40rem) { .term:hover::after,.term:focus::after{position:fixed;left:1rem;right:1rem;top:auto;bottom:1rem;width:auto;max-width:none} }

/* ---------- line drawings (gold strokes on ink, one icon set per page in an inline <defs>) ---------- */
svg.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.art { margin: 1.5rem 0; background: var(--ink-2); border: 1px solid var(--rule); padding: 1.2rem; }
.art svg { display: block; width: 100%; height: auto; max-width: 460px; margin: 0 auto; }
.art.tall svg { max-width: 400px; }
.fig .art.ring { margin: 0 0 .8rem; padding: .8rem; }
.art .ln { fill: none; stroke: var(--hot); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art .ic { stroke-width: 1.15; }
.art .solid, .art .solidf { fill: var(--ink-2); }
.art .lnr { fill: none; stroke: rgba(238,243,239,.26); stroke-width: 1; }
.art .dash { stroke-dasharray: 3 3; }
.art .dashl { stroke-dasharray: 3 4; }
.art .mesh { fill: none; stroke: var(--hot); stroke-opacity: .45; stroke-width: 1; }
.art .fh { fill: var(--hot); }
.art .dot { fill: var(--ink-2); stroke: var(--hot); stroke-width: 1.5; }
.art .track { fill: none; stroke: var(--rule); stroke-width: 12; }
.art .arc { fill: none; stroke: var(--hot); stroke-width: 12; }
.art .trackl { stroke: rgba(238,243,239,.26); stroke-width: 8; }
.art .arcl { stroke: var(--hot); stroke-width: 8; }
.art .tick { stroke: var(--paper); stroke-width: 1.2; stroke-dasharray: 3 2; fill: none; }
.art .tx { fill: var(--paper); font-family: var(--display); font-weight: 500; }
.art .mo { fill: var(--muted); font: 500 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.art .ms { fill: var(--muted); font: 500 10.5px var(--mono); }
.art .mg { fill: var(--hot); font: 500 11px var(--mono); }

/* promise icons stand where the 01 / 02 / 03 counter was */
.promises li:has(> svg.pi) b::before { content: none; }
.promises li svg.pi, svg.rooticon {
  display: block; fill: none; stroke: var(--hot); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round;
}
.promises li svg.pi { width: clamp(2rem, 6vw, 2.75rem); height: auto; aspect-ratio: 1; margin: 0 0 .6rem; }
svg.rooticon { width: clamp(3rem, 10vw, 4.5rem); height: auto; aspect-ratio: 1; margin: 0 0 .8rem; }
