/* Zero Headcount: the book. One stylesheet for every page of it.
 * In the newsroom's register: paper near white, near-black ink, a deep green accent; Libre Caslon Display for
 * headings, Libre Caslon Text for reading, Archivo Narrow for the small uppercase labels. The faces are served
 * from this site (site/assets/fonts/, SIL Open Font License, the licence beside them), never from another host.
 * A measure of about 65 characters, line height about 1.6, light and dark by the system. */

@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-display-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: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-display-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-400-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: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-400-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+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: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-400-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-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; }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/libre-caslon-text-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/assets/fonts/archivo-narrow-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: "Archivo Narrow"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("/assets/fonts/archivo-narrow-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fafaf8;
  --panel: #f0f1ed;
  --field: #ffffff;
  --text: #16181c;
  --muted: #5d6167;
  --faint: #8a8e92;
  --rule: #d8d9d4;
  --edge: #9a9d98;
  --underline: #b4b7b1;
  --accent: #1f4d3a;
  --accent-line: rgba(31, 77, 58, .38);
  --accent-ink: #fafaf8;
  --select: rgba(140, 194, 166, .4);
  --focus: #1f4d3a;
  --error: #9a3b33;
  --rec: #9b2d1f;  /* the spoken door's Stop and its clock: a red, never an orange */
  --table: #e6e5df;
  --leather: #17302a;
  --leather-ink: #ece9df;
  --gutter: rgba(0, 0, 0, .08);  /* the spine's shadow between the two pages of a spread */
  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --display: "Libre Caslon Display", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --size: clamp(18px, 0.95rem + 0.35vw, 21px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --panel: #1a1d1b;
    --field: #161917;
    --text: #ecede8;
    --muted: #9ea29d;
    --faint: #737873;
    --rule: #2d312e;
    --edge: #5b605c;
    --underline: #4d534f;
    --accent: #8cc2a6;
    --accent-line: rgba(140, 194, 166, .4);
    --accent-ink: #121413;
    --select: rgba(140, 194, 166, .26);
    --focus: #8cc2a6;
    --error: #e0908a;
    --rec: #e0908a;
    --table: #0b0d0c;
    --leather: #1a3a31;
    --gutter: rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: var(--size);
  line-height: 1.62;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--select); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }

.skip { position: absolute; left: -999px; top: 8px; font: 15px var(--sans); }
.skip:focus { left: 12px; z-index: 10; background: var(--bg); padding: 6px 10px; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* the column: about 65 characters of the body face (65ch of this face sets nearer 80) */
.book { max-width: calc(29.5em + 32px); margin: 0 auto; padding: 0 16px; }

.label, .top, .kicker, .k, .part, .mark, .state {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- the cover: a book you turn (/)
 * The filing docs/plans/2026-10-07-the-site-is-a-book-you-turn.md and its mock. One text, flowed by book.js into
 * page-sized columns (html.paged): the reader turns pages, nothing scrolls. Without script it reads top to bottom,
 * one column, the boards and the pages one after another. */

.volume { max-width: calc(29.5em + 32px); margin: 0 auto; padding: 16px 16px 3em; }
.volume .head, .volume .folio, .volume .edge, .volume .ribbon { display: none; }
.leaf { position: relative; margin: 0 0 3em; }
.board {
  padding: 2.5rem 1.4rem; background: var(--leather); color: var(--leather-ink);
  border-radius: 3px 10px 10px 3px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5);
}
.board a { color: inherit; }
.board :focus-visible, .paged .on-board .faces :focus-visible { outline-color: var(--leather-ink); }
.cover { display: grid; grid-template-rows: 1fr auto 1fr; min-height: 80vh; text-align: center; }
.cover h1 {
  align-self: end; margin: 0;
  font: 400 clamp(2.4rem, 9vw, 3.6rem)/1.02 var(--display);
  letter-spacing: .08em; text-transform: uppercase; text-wrap: balance;
}
.cover .subtitle { margin: 1.3rem 0 0; font: italic 400 1.05em/1.4 var(--serif); opacity: .85; }
.cover .rule { width: 2.4rem; height: 1px; margin: 1.4rem auto 0; background: currentColor; opacity: .45; }
/* the edition's line under the subtitle, in the cover's small sans; from the second edition a link to what is new */
.cover .edition {
  margin: 1.2rem 0 0; font: 600 .66rem/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  opacity: .75; text-wrap: balance;
}
/* a block of its own, so a tap anywhere on the line, between its words included, turns to what is new */
.cover .edition a {
  display: inline-block; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em;
}
.cover .by { align-self: end; margin: 0; font: 600 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.cover .tap {
  position: absolute; left: 0; right: 0; bottom: 1.2rem; margin: 0;
  font: 600 .66rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .6;
}
html:not(.paged) .cover .tap { display: none; }

.halftitle { display: flex; flex-direction: column; gap: 1.2em; }
.halftitle .who { margin: 0; font: 400 1.35em/1.3 var(--display); text-wrap: balance; }
.halftitle .who small { display: block; margin-top: .5rem; font: 400 .72em/1.5 var(--serif); color: var(--muted); }
.halftitle .open-line { margin: auto 0 0; text-wrap: pretty; }
/* the epigraph under the open line: a quotation, so in italics (the one place a quote is) */
.halftitle .epigraph { margin: 0 0 auto; font: italic 400 1.05em/1.45 var(--serif); color: var(--muted); text-wrap: balance; }
.halftitle .open-line strong { font-weight: 700; }
/* the QR on the endpaper: the book, with this copy's code, in the page's ink on its paper */
.qr-copy { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 1em; }
.qr-copy .qr { grid-row: span 2; width: min(160px, 21vh); line-height: 0; }
.qr-copy svg { display: block; width: 100%; height: auto; }
.qr-copy .qr-paper { fill: var(--bg); }
.qr-copy .qr-ink { fill: var(--text); }
.qr-copy figcaption, .qr-copy .qr-link { margin: 0; font: 500 13.5px/1.4 var(--sans); color: var(--muted); }
.qr-copy figcaption { align-self: end; }
.qr-copy .qr-link { align-self: start; margin-top: .4em; }
.qr-copy .qr-link a { color: var(--accent); text-decoration-color: var(--accent-line); text-underline-offset: .22em; }
.endpaper .came-via { margin: 0; font: 500 13.5px/1.4 var(--sans); color: var(--muted); }
.ribbon {
  position: absolute; top: 0; right: calc(var(--g, 1.4rem) * .45); z-index: 3; width: 1.1rem; height: 6.5rem;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}

/* the thesis (A3): after the half-title, before the contents; its claims numbered as the pitch numbers them, the
 * numbers in the labels' face, the claims in the body's */
.thesis > .label { margin: 0 0 1.4em; }
.thesis-claims { list-style: none; margin: 0; padding: 0; }
.thesis-claims li {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 0 .5em; margin: 0 0 .9em;
  break-inside: avoid;  /* a claim never leaves its number at the foot of a page */
}
.thesis-claims .n { font: 600 13px/1.9 var(--sans); letter-spacing: .08em; color: var(--accent); }
.thesis-claims p { margin: 0; line-height: 1.5; text-wrap: pretty; }
.paged .flows .thesis-claims li { display: block; }

.contents-leaf { margin: 0 0 3em; }
.contents-leaf ol { list-style: none; margin: 0; padding: 0; }
.contents-leaf li {
  position: relative; margin: 0 0 .6rem; padding-left: 5.2rem; font-size: .95em; line-height: 1.35; break-inside: avoid;
}
.contents-leaf .k, .contents-leaf .state {
  font: 600 10.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.contents-leaf .k { position: absolute; left: 0; top: .2em; }
.contents-leaf .state { display: block; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.contents-leaf .state > span:not([hidden]) ~ span::before { content: "\00a0\00b7\00a0"; }
.contents-leaf .row-new { color: var(--accent); }
.contents-leaf .coming { margin: 1.4em 0 0; color: var(--muted); }
.contents-leaf a {
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline);
  text-underline-offset: .2em;
}
.contents-leaf a:hover { text-decoration-color: currentColor; }
.contents-leaf .x { font-style: normal; color: var(--muted); font-size: .86em; }
@media (min-width: 48rem) {
  .contents-leaf li { padding-right: 15.5rem; }
  .contents-leaf .state { position: absolute; top: .2em; right: 0; text-align: right; white-space: nowrap; }
}

.ch { margin: 0 0 3em; }
/* a chapter's foot (two doors, §2): it ends on its dare, his Your turn lines under their label in the chapter's text
 * size; in the book then the one call, Tell us your story, a link that turns the book to its back door, in the door's
 * face and size, and the copy link for a friend under it */
.chapter-foot { margin: 2.4em 0 0; }
.chapter-foot > .label { margin: 0 0 .9em; }
.paged .chapter-foot > .label { break-after: avoid; }  /* never at the foot of a page, away from his lines */
.chapter-foot > .foot-call { margin: 1.2em 0 0; font: 400 1.35em/1.3 var(--display); text-wrap: balance; }
.chapter-foot > .copy-row { margin: 10px 0 0; }
.paged .chapter-foot > .foot-call { break-after: avoid; }  /* the call and its copy link on one page */
/* the book's two doors (two doors, §4), on the endpaper and on the back cover: the call, its line, the door it opens
 * in place, a card of the page's paper; no hook, no count */
.book-door > .door-call { margin-top: 0; }
.book-door .door-panel { margin-top: 1.1em; padding: .85em 1em .75em; }
/* the door open goes on to the next page whole where its own page cannot hold it (on a spread, the facing page) */
.paged .book-door .door-panel { break-inside: avoid; }
.book-door .claim-form { gap: 6px; }
.book-door .claim-form > label:not(.check) { margin-top: 4px; }
.book-door textarea { min-height: 0; height: 5.2em; }
.paged .book-door { -webkit-user-select: text; user-select: text; cursor: auto; }
.back { display: grid; grid-template-rows: auto auto auto 1fr; gap: 1.6rem; border-radius: 10px 3px 3px 10px; }
/* the back cover's blurb (2026-10-10, B1): its headline in the display face, the body in the book's, in the board's
 * ink; then the story call over the back door, in the body face, the call under it */
.blurb-head { margin: 0 0 .7em; font: 400 1.75em/1.15 var(--display); text-wrap: balance; }
.blurb p { margin: 0 0 .85em; line-height: 1.55; text-wrap: pretty; }
.blurb ul { margin: 0 0 .85em; padding-left: 1.15em; }
.blurb li { margin: 0 0 .35em; padding-left: .2em; line-height: 1.5; }
.blurb > :last-child { margin-bottom: 0; }
/* its last line, the book's line (2026-10-10, the pitch alternates, A): the headline's face and size, so the back cover
 * opens and closes on the same voice; a line of air above it, the board's gap below it (its own margin when the back
 * is set as blocks, where the board has no gap) */
.blurb .blurb-line { margin: 1.6rem 0 0; font: 400 1.75em/1.15 var(--display); text-wrap: balance; }
.paged .back.flows .blurb-line { margin-bottom: 1.6rem; }
.paged .blurb-line { break-inside: avoid; }
.back .story-call { margin: 0; line-height: 1.5; text-wrap: pretty; }
.back .story-call + .door-call { margin-top: .55em; }
/* the sign-up after it, the second ask: its label, its line and its form on one page */
.paged .back .ask { break-inside: avoid; }
.back .ask { margin: 0; padding: 0; background: none; border-radius: 0; }
.back .label { color: inherit; opacity: .7; }
.back .lead, .back .ask-lead { color: inherit; }
.back .ask-form { grid-template-columns: minmax(0, 1fr) auto; margin-top: 1rem; }
.back .ask-form input[type="email"] { grid-column: 1; grid-row: 1; }
.back .ask-form button { grid-column: 2; grid-row: 1; justify-self: start; align-self: center; margin-left: 6px; }
.back .ask-form .found-us { grid-column: 1 / -1; grid-row: 2; }
.paged .back.flows .ask-form { display: grid; }  /* the back set as blocks: the sign-up keeps its form */
/* and what goes on to the next page is on the board there too, its edges drawn on each page */
.paged .back.flows { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.back .ask input[type="email"], .back .ask input[type="text"] {
  border-color: rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .25); color: var(--leather-ink);
}
.back .ask input::placeholder { color: var(--leather-ink); opacity: .6; }
.back .ask input:focus-visible { outline-color: var(--leather-ink); }
.back .ask button { color: var(--leather-ink); text-decoration-color: currentColor; }
.back .ask .status, .back .ask .status.is-error { color: var(--leather-ink); }
/* the back door on the board: the call and its line in the board's ink; the door it opens, the page's paper and ink */
.back .book-door .claim-cta { text-decoration-color: currentColor; }
.back .book-door .door-line { color: inherit; opacity: .85; }
.back .door-panel { background: var(--bg); color: var(--text); }
.back .door-panel :focus-visible { outline-color: var(--focus); }
.colophon { align-self: end; font: 600 10.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.colophon p { margin: 0; }
.colophon .foot-note { margin: .4em 0 0; font: inherit; letter-spacing: inherit; text-transform: none; }
.colophon .foot-note a { color: inherit; }

/* paged: the book as the reader turns it */
html.paged, html.paged body { height: 100%; overflow: hidden; }
html.paged body { overscroll-behavior: none; }
.paged .volume {
  --top: 3.2rem; --bottom: 3.4rem;
  position: relative; height: 100vh; height: 100dvh; max-width: none; margin: 0; padding: 0;
  -webkit-user-select: none; user-select: none; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.paged .volume input, .paged .volume textarea { -webkit-user-select: text; user-select: text; cursor: text; }
.paged .sheet { position: relative; height: 100%; overflow: hidden; background: var(--bg); transition: background .3s; }
.paged .sheet { perspective: 2600px; }  /* the fold's depth (the turn, below): a page turns towards the reader */
.paged .sheet::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, 0));
}
.paged .flow {
  height: 100%; padding: var(--top) var(--g, 1.4rem) var(--bottom);
  column-fill: auto; will-change: transform;  /* the pages move at once, under the page that folds (below) */
}
.paged .flow > * { margin: 0; }
.paged .leaf { break-before: column; break-after: column; min-height: 100%; }
/* no leaf is taller than its page: one whose content does not fit (book.js marks it .flows) is set as plain blocks,
 * which every browser breaks across pages, and what does not fit goes on to the next page */
.paged .leaf.flows, .paged .flows .qr-copy, .paged .flows .claim-form, .paged .flows .ask-form { display: block; }
.paged .flows .halftitle .open-line, .paged .halftitle.flows .open-line { margin: 1.2em 0 0; }
.paged .flows > * + * { margin-top: 1em; }
.paged .flows .claim-form > label:not(.check), .paged .flows .claim-form > .send { display: block; margin-top: 10px; }
.paged .flows .claim-form > label.check { margin-top: 10px; }
.paged .claim-form > label, .paged .door-hook > .label { break-after: avoid; }  /* a label never at the foot of a page, away from its field */
.paged .flows .claim-form > input, .paged .flows .claim-form > textarea { display: block; margin-top: 6px; }
.paged .flows .ask-form > input, .paged .flows .ask-form > button { display: block; margin-top: 8px; }
.paged .flows .qr-copy .qr { margin-bottom: .6em; }
.paged .ch, .paged .contents-leaf { break-before: column; }
.paged .flow h1, .paged .flow h2, .paged .flow h3, .paged .flow .part, .paged .flow .kicker { break-after: avoid; }
.paged .flow p, .paged .flow li { orphans: 2; widows: 2; }
.paged .ch .chapter-head { padding: 0; margin: 0 0 1.6em; }
.paged .ch .chapter-head .part { margin-bottom: 1.6em; }
.paged .head, .paged .folio {
  position: absolute; left: var(--g, 1.4rem); right: var(--g, 1.4rem); z-index: 3; display: flex;
  justify-content: space-between; gap: 1em; font: 600 10.5px/1.4 var(--sans); letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); transition: opacity .3s;
}
.paged .head { top: 1.1rem; pointer-events: none; }
.paged .head-r { text-align: right; }
.paged .folio { bottom: 1.2rem; }
.paged .folio-contents {
  color: inherit; padding: .6em 0 .6em 1em; margin: -.6em 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline);
  text-underline-offset: .25em;
}
.paged .folio-contents:hover { color: var(--text); text-decoration-color: currentColor; }
/* one link back to zeroheadcount.com (the pitch at /) beside the folio, in its face and size, the address as it is
 * written (2026-10-10, C): on every page but the closed cover, the back cover's included */
.paged .folio-n:empty { display: none; }
.paged .folio-home {
  margin: -.6em auto -.6em 0; padding: .6em 0; color: inherit; text-transform: none; letter-spacing: .04em;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline);
  text-underline-offset: .25em;
}
.paged .folio-home:hover { color: var(--text); text-decoration-color: currentColor; }
.paged .on-board .head, .paged .on-board .folio { opacity: 0; visibility: hidden; }
.paged .volume.on-board:not(.at-cover) .folio { opacity: 1; visibility: visible; }
.paged .on-board .folio-contents { visibility: hidden; }
.paged .volume[data-at="half-title"] .ribbon { display: block; }
.paged .volume .faces {
  position: absolute; top: .9rem; right: var(--g, 1.4rem); z-index: 4; margin: 0;
  transition: opacity .3s;
}
.paged .volume:not(.at-cover) .faces { opacity: 0; visibility: hidden; }
/* the turn (docs/plans/2026-10-07-the-turn-the-phones-door-and-tell-it-at-a-desk.md): the page that leaves, drawn by
 * book.js over the sheet as it stood, folds over the spine, its back the paper with a soft shadow, and is removed.
 * Forward it lifts at its outer edge and folds left; back, it folds right. Never a slide; no fold for a reader who
 * asks for less motion (book.js draws none). */
.turn-fold {
  position: absolute; top: 0; bottom: 0; z-index: 3; pointer-events: none;
  transform-style: preserve-3d; transition: transform .5s cubic-bezier(.3, .7, .2, 1);
}
.turn-fold.turn-fwd { transform-origin: 0 50%; }
.turn-fold.turn-back { transform-origin: 100% 50%; }
.turn-fold.turn-fwd.turning { transform: rotateY(-180deg); }
.turn-fold.turn-back.turning { transform: rotateY(180deg); }
.turn-face, .turn-paper {
  position: absolute; inset: 0; overflow: hidden; background: var(--bg);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.turn-board .turn-face { background: var(--leather); }
.turn-paper {
  transform: rotateY(180deg);
  background: linear-gradient(90deg, var(--gutter), transparent 22%, transparent 78%, var(--gutter)), var(--bg);
}
.turn-fwd .turn-face { box-shadow: inset 12px 0 18px -14px var(--gutter); }
.turn-back .turn-face { box-shadow: inset -12px 0 18px -14px var(--gutter); }
/* until the script has laid the pages out, the book waits a moment rather than showing them as one column */
@media (scripting: enabled) {
  html:not(.paged) .volume { animation: zh-wait 0s 1.2s both; }
}
@keyframes zh-wait { from { visibility: hidden; } to { visibility: visible; } }

/* the page on a table: the board behind it on the left, the page edges on the right */
@media (min-width: 48rem) {
  html.paged, html.paged body { background: var(--table); }
  html.paged body { display: grid; place-items: center; }
  .paged .volume { isolation: isolate; }
  .paged .volume { width: min(44rem, 92vw); height: min(86vh, 52rem); }
  .paged .volume::after {
    content: ""; position: absolute; inset: -10px 8px -10px -16px; z-index: -1;
    background: var(--leather); border-radius: 4px 10px 10px 4px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
  }
  .paged .sheet { border-radius: 2px 8px 8px 2px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
  .paged .on-board .sheet { background: var(--leather); }
  .paged .edge {
    display: block; position: absolute; top: 10px; bottom: 10px; right: -7px; width: 7px; z-index: 2;
    background: repeating-linear-gradient(90deg, var(--bg) 0 1px, var(--rule) 1px 2px); border-radius: 0 3px 3px 0;
    transition: opacity .3s;
  }
  .paged .on-board .edge { opacity: 0; }
  .paged .on-board .folio-home { color: var(--leather-ink); text-decoration-color: currentColor; opacity: .75; }
  .paged .on-board .folio-home:focus-visible { outline-color: var(--leather-ink); }
  .paged .board { box-shadow: none; border-radius: 0; padding: 0; }  /* the sheet is the board here */
  .paged .volume .faces a { color: var(--leather-ink); text-decoration-color: currentColor; opacity: .75; }
  .paged .volume .faces a[aria-current="page"] { color: var(--leather-ink); opacity: 1; }
}
/* the spread (docs/plans/2026-10-07-the-spread.md): at a laptop and wider, lying flat, the open book is two pages and
 * every turn is a spread. book.js sets .spread (on the root and on the volume) when its query matches; the sheet holds
 * two page columns. The phone and the upright tablet keep one page. */
.paged.spread .volume { width: min(88vw, 92rem); }
/* the endpaper, left of the half-title on a spread and before it on one page; a chapter opens on its own first page,
 * headline to story, on every layout (2026-10-10, A) */
.endpaper { display: flex; flex-direction: column; }  /* a page, as tall as the page and no taller */
.paged .volume[data-at="endpaper"] .ribbon { display: block; }

/* the frame: the spine between the two pages, its shadow on both; the board behind the left edge and the page edges on
 * the right, as on one page (above). Closed, front or back, the book is one board on the table: the sheet shows its
 * left page only, moved to the middle, and opens to the spread. */
.paged.spread .volume { transition: transform .45s cubic-bezier(.3, .7, .2, 1); }
.paged.spread .volume::after { transition: opacity .3s; }
.paged.spread .sheet {
  clip-path: inset(-6rem -6rem -6rem -6rem round 0);
  transition: background .3s, clip-path .45s cubic-bezier(.3, .7, .2, 1);
}
.paged.spread .sheet::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1.5rem); width: 3rem; z-index: 2;
  pointer-events: none; transition: opacity .3s;
  background: linear-gradient(90deg, transparent calc(50% - .5px), var(--rule) calc(50% - .5px), var(--rule) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent, var(--gutter) 50%, transparent);
}
.paged.spread .volume.shut { transform: translateX(25%); filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .3)); }
.paged.spread .volume.shut::after, .paged.spread .shut .sheet::after { opacity: 0; }
.paged.spread .shut .sheet { clip-path: inset(0 50% 0 0 round 2px 8px 8px 2px); }
.paged.spread .shut .faces { right: calc(50% + var(--g, 1.4rem)); }
.paged.spread .volume.still, .paged.spread .still::after, .paged.spread .still .sheet, .paged.spread .still .sheet::after {
  transition: none;  /* a layout (book.js) moves nothing the reader would see move */
}
@media (prefers-reduced-motion: reduce) {
  .paged.spread .volume, .paged.spread .volume::after, .paged.spread .sheet, .paged.spread .sheet::after { transition: none; }
}

/* the endpaper: the label, the QR and its line, the friend's copy, the front door; the ribbon at the foot */
.endpaper { gap: 1.2em; }
.endpaper > .label { margin: 0; }
.endpaper .ribbon-line { margin: auto 0 0; }


/* the contents on a spread's narrower page: each chapter's state under its title, as on a phone */
.paged.spread .contents-leaf li { padding-right: 0; }
.paged.spread .contents-leaf .state { position: static; text-align: left; white-space: normal; }
/* ---------------------------------------------------------------- (the book ends here) */

.label { margin: 0 0 1.3em; font-size: 11px; line-height: 1.4; color: var(--muted); }

/* the cover's three ways in, under the title: read, stay in the loop, tell your story */
.jump { margin: 0 0 2.4em; text-align: center; font: 14.5px/1.6 var(--sans); color: var(--muted); }
.jump a { color: var(--text); text-decoration-color: var(--underline); text-underline-offset: .22em; white-space: nowrap; }
.jump a:hover { text-decoration-color: currentColor; }
[id="read"], [id="loop"], [id="claim"], [id="door-new"] { scroll-margin-top: 1em; }
.versions { margin-top: 3.4em; padding-top: 2.4em; border-top: 1px solid var(--rule); }
.versions .ask-list { margin: 0; }
.read .contents { margin-top: 2.6em; }
.note { padding-top: 2.4em; border-top: 1px solid var(--rule); }
.note p, .chapter p, .coming { margin: 0 0 .95em; text-wrap: pretty; hanging-punctuation: first allow-end; }
/* one pattern for every section on the cover: the label, then one lead sentence in the display face at one size
 * (the author's note's first sentence, the versions, the contents, the loop); no section's heading is bigger */
main .lead { margin: 0 0 .75em; font: 400 1.35em/1.3 var(--display); color: var(--text); text-wrap: pretty; }

/* the claim door, chapter-first: at the foot of every chapter, and on the wall's rows */
.claim-lead { margin: 0 0 .6em; font-size: 1.04em; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.doors { list-style: none; margin: 1.8em 0 0; padding: 0; }
.door-row { padding: 1.35em 0 1.5em; border-top: 1px solid var(--rule); }
.door-row:last-child { border-bottom: 1px solid var(--rule); }
.door-k {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2em 1em;
  margin: 0 0 .45em; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.door-title { margin: 0; font: 400 1.3em/1.25 var(--display); text-wrap: balance; }
.door-title a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline); text-underline-offset: .16em; }
.door-title a:hover { text-decoration-color: currentColor; }
.door-dare { margin: .45em 0 0; font-size: .97em; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.door-count { margin: .6em 0 0; font: 500 14px/1.4 var(--sans); color: var(--muted); }
/* the door's one call, Tell us your story, in the display face at the lead's size; its line under it; the hook */
.door-call { margin: 1em 0 0; font: 400 1.35em/1.3 var(--display); text-wrap: balance; }
.your-turn > .door-call { margin-top: 0; }
.door-row .door-call { font-size: 1.15em; }
.door-line { margin: .5em 0 0; font-size: .97em; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.door-hook { margin: 1.2em 0 0; }
.door-hook > .label { margin: 0 0 .6em; }
.door-hook p { margin: 0 0 .45em; line-height: 1.45; text-wrap: pretty; }
.door-hook .door-dare { margin: .6em 0 0; }
/* everything that acts is an underlined text link (the turn's filing, §5): Tell us your story, Send it, the copy link,
 * the mail way, Or tell it, Write it instead, Contents, Count me in; the recorder's three, Tell it, Stop and play, are
 * the only filled buttons in the book */
.door-link {
  padding: 10px 0; font: 600 15px/1.2 var(--sans); letter-spacing: .01em; color: var(--text); cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline);
  text-underline-offset: .25em;
}
.door-link:hover, .door-link[aria-expanded="true"] { text-decoration-color: currentColor; }
.btn {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 8px;
  font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
}
.btn-fill { background: var(--accent); color: var(--accent-ink); }
.btn-fill:hover { filter: brightness(1.07); }
/* the door opens under its call: by the call with script, by the address (#mine-…) without */
.door-panel { display: none; margin: 1em 0 0; padding: 1.15em 1.2em 1em; background: var(--panel); border-radius: 10px; }
.door-panel.is-open, html:not(.door-js) .door-panel:target { display: block; }
.your-turn .door-panel { background: var(--bg); }
.copy-row { margin: 14px 0 0; }  /* the copy link for a friend, one quiet line under the written form */
.copy-row .door-link { font-weight: 500; color: var(--muted); padding: 4px 0; }
div.claim > .door-count { margin-top: 1.2em; }  /* a chapter's door: the stories so far under it */

/* the spoken door (the claim page, tell it, 2026-10-07): on a phone that can record, This was me is Tell it. Its four
 * states (at rest, telling it, told, the receipt) are blocks, so a page that does not hold one breaks it across pages */
.tell-door { margin: 1em 0 0; font-family: var(--sans); }
.tell-door p { margin: 0; }
.tell-rest > * + *, .tell-rec > * + *, .tell-sent > * + * { margin-top: 12px; }
.tell-lead { font: 400 16px/1.5 var(--serif); color: var(--muted); text-wrap: pretty; }
.tell-q { font: 400 1.35em/1.3 var(--display); color: var(--text); text-wrap: balance; }
.tell-door .btn {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 13px 22px; border-radius: 10px;
  font: 600 16px/1.2 var(--sans);
}
.tell-door .btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tell-stop { background: var(--rec); border-color: var(--rec); color: var(--accent-ink); }
.tell-ways { margin-top: 10px; }
.tell-mail, .tell-door button.door-link, .tell-desk button.door-link {
  font-weight: 500; color: var(--muted);
}
.tell-door button.door-link, .tell-desk button.door-link {
  margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: none; text-align: left;
  -webkit-appearance: none; appearance: none;
}
.tell-door button.door-link:hover, .tell-desk button.door-link:hover { filter: none; text-decoration-color: currentColor; }
/* at a desk (the turn's filing, §3): Or tell it under the written form's Send it, Write it instead under the recorder,
 * each two thirds of a line below (16px; in the form, with its own gap of 6px) */
.claim-form > .tell-desk { margin: 10px 0 0; }
.paged .flows .claim-form > .tell-desk { display: block; margin-top: 16px; }
.tell-write { margin: 16px 0 0; }
.door-panel > .tell-door { margin-top: 0; }  /* in the form's place, where it began */
/* the phone's door has air (docs/plans/2026-10-07-the-turn-the-phones-door-and-tell-it-at-a-desk.md, §2): the lead, a
 * line, Tell it; a line, Or send it as a mail; two thirds of a line, the copy link for a friend. A line is the lead's,
 * 24px. At a desk the same air around the written form's buttons. */
.book-door .tell-rest > .tell-acts, .book-door .tell-rest > .tell-ways { margin-top: 24px; }
.book-door .claim-form > .send { margin-top: 18px; }  /* and the form's own gap, 6px: a line */
.paged .flows .book-door .claim-form > .send { margin-top: 24px; }  /* set as blocks, the form has no gap */
.door-panel > .copy-row { margin-top: 16px; }
.tell-after { font: 14.5px/1.45 var(--sans); color: var(--muted); }
.tell-refused { margin: 0 0 .6em; font: 600 15px/1.4 var(--sans); color: var(--text); }
/* the bars move while the reader tells it, by CSS alone; still for a reader who asks for less motion */
.wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { display: block; width: 3px; height: 30%; border-radius: 2px; background: var(--accent); }
.tell-rec .wave i { animation: zh-wave .9s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { height: 60%; animation-delay: -.3s; }
.wave i:nth-child(4n) { height: 45%; animation-delay: -.6s; }
.wave i:nth-child(7n) { height: 85%; animation-delay: -.15s; }
@keyframes zh-wave { to { height: 90%; } }
@media (prefers-reduced-motion: reduce) { .tell-rec .wave i { animation: none; height: 60%; } }
.clock { font: 500 15px/1.3 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.clock b { font-weight: 600; color: var(--rec); }
/* told: the player, then the form */
.tell-form { margin: 0; font: 16px/1.4 var(--sans); }
.tell-form > * + * { margin-top: 8px; }
.tell-form > label:not(.check) { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tell-form > input { display: block; margin-top: 4px; }
.tell-form > label.check {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 4px 0;
  font-size: 15.5px; font-weight: 500; color: var(--text); cursor: pointer;
}
.tell-form > label.check input { margin-top: 1px; }
.tell-form > .send { margin-top: 14px; }
.player {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); font: 500 15px/1.3 var(--sans);
}
.your-turn .player { background: var(--bg); }
.player .play {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
}
.player .play svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.player.playing .play { box-shadow: inset 0 0 0 3px var(--accent-ink); }
.player .tell-go { padding: 8px 16px; font-size: 15px; }  /* record, beside play: a new take */
.player .bar { position: relative; flex: 1 0 100%; min-width: 0; height: 3px; border-radius: 2px; background: var(--rule); }
.player .bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: var(--accent); }
.player .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.receipt { font: 400 1.35em/1.25 var(--display); color: var(--accent); }
.tell-door .status { margin: .8em 0 0; }
.paged .tell-form > label { break-after: avoid; }

/* the wall, the page /claims/: fiction, then fact, then the door */
.facts { list-style: none; margin: .8em 0 0; padding: 0; }
.fact { margin: .7em 0 0; padding: .05em 0 .1em 1em; border-left: 2px solid var(--accent); }
.fact-k { margin: 0 0 .15em; font: 600 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fact-h { margin: 0 0 .2em; font: 400 1.15em/1.3 var(--display); text-wrap: balance; }
.fact-meta { margin: 0; font: 500 13.5px/1.5 var(--sans); color: var(--muted); }
.fact[data-kind="author"] .who, .fact[data-kind="nominated"] .who, .fact[data-kind="agent"] .who { }
.unclaimed { margin: .9em 0 0; padding: .05em 0 .1em 1em; border-left: 2px solid var(--rule); color: var(--muted); }
.wall-lead { margin: 0 0 .5em; color: var(--muted); text-wrap: pretty; }
.wall-jump { margin: 0 0 1.8em; font: 14px/1.4 var(--sans); }
.wall-jump a { color: var(--text); text-decoration-color: var(--accent-line); text-underline-offset: .22em; }
.wall-jump a::after { content: "\00a0\2193"; color: var(--accent); }
.wall-chapters { margin-top: 0; }

/* the wall by chapter */
.by-chapter { margin-top: 3em; padding-top: 2.2em; border-top: 1px solid var(--rule); scroll-margin-top: 1em; }
.by-list { list-style: none; margin: 0; padding: 0; }
.by-chapter-row { padding: .6em 0 .65em; border-top: 1px solid var(--rule); }
.by-chapter-row:first-child { border-top: 0; padding-top: 0; }
.by-title { margin: 0; font: 400 1.02em/1.38 var(--display); }
.by-title a { text-decoration-color: var(--underline); text-underline-offset: .2em; }
.by-count { font: 13px/1.4 var(--sans); color: var(--muted); white-space: nowrap; }
.by-count::before { content: "\00b7\00a0"; }
.by-who { font: italic 13px/1.4 var(--sans); color: var(--muted); }
.by-heads { margin: .35em 0 0; padding-left: 1.1em; font-size: .92em; line-height: 1.45; }
.by-heads li { margin: 0 0 .15em; }
.by-heads li::marker { color: var(--faint); }

/* ---------------------------------------------------------------- a chapter's number */

.k { font-size: 11px; line-height: 2.1; letter-spacing: .1em; color: var(--muted); }
.x { color: var(--muted); font-size: .86em; }
.x { margin-left: .35em; }

/* ---------------------------------------------------------------- a chapter */

.top {
  display: flex; justify-content: space-between; gap: 1em;
  padding: 20px 0 0; font-size: 11px; line-height: 1.4;
}
.top a {
  color: var(--muted); padding: 6px 0; text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--underline); text-underline-offset: .25em;
}
.top a:hover { color: var(--text); text-decoration-color: currentColor; }

.in-book { margin: 1.6em 0 0; font: 600 14px/1.4 var(--sans); letter-spacing: .01em; }
.in-book a { color: var(--accent); text-decoration-color: var(--accent-line); text-underline-offset: .22em; }
.in-book a:hover { text-decoration-color: currentColor; }
.chapter-head { padding: clamp(2.6rem, 9vh, 6rem) 0 0; margin: 0 0 2.2em; }
.chapter-head .part {
  margin: 0 0 2.4em; padding-bottom: 1.3em; border-bottom: 1px solid var(--rule);
  font-size: 11px; line-height: 1.4; color: var(--accent);
}
.chapter-head h1 {
  margin: 0; font: 400 clamp(30px, 1.2rem + 1.9vw, 44px)/1.14 var(--display);
  letter-spacing: -.005em; text-wrap: balance;
}
.chapter-head .kicker {
  display: block; margin-bottom: .8em;
  font-size: 11.5px; line-height: 1.4; color: var(--muted);
}
.chapter-head .mark { margin: 1.1em 0 0; font-size: 11px; line-height: 1.4; letter-spacing: .1em; color: var(--muted); }

.chapter h2, .chapter h3 { font: 400 1.2em/1.3 var(--display); margin: 2em 0 .7em; text-wrap: balance; }
.chapter h2 .kicker {
  display: block; margin-bottom: .45em;
  font-size: 10.5px; line-height: 1.4; color: var(--accent);
}
.chapter .htitle { font-style: normal; font-weight: 400; }
.chapter hr { border: 0; margin: 2.2em 0; height: 1em; text-align: center; overflow: visible; }
.chapter hr::after { content: "\2042"; color: var(--faint); letter-spacing: .3em; }
.chapter ul { margin: 0 0 1em; padding-left: 1.25em; }
.chapter li { margin: 0 0 .4em; padding-left: .2em; }
.chapter li::marker { color: var(--faint); }

.scenario {
  margin: 2.4em 0; padding: .05em 0 .05em 1.3em;
  border-left: 2px solid var(--accent-line);
}
.scenario h2 { margin-top: 0; }
.your-turn {
  margin: 2.6em 0 0; padding: 1.3em 1.4em .5em;
  background: var(--panel); border-radius: 10px; font-size: .95em;
}
.your-turn h2 { margin-top: 0; }
/* Tell us your story is the call to action (one door, 2026-10-09; the ink underline from the turn's filing, §4): the
 * call's words and size are the line it sits in, with the ink underline at the door's links' offset */
.claim-cta {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--text);
  text-underline-offset: .25em;
}

/* ---------------------------------------------------------------- the forms */

.claim-form, .ask-form { font-family: var(--sans); font-size: 16px; line-height: 1.4; }
.claim-form { display: grid; gap: 8px; margin: 0; }
.claim-form > label:not(.check) {
  font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 8px;
}
.claim-form > label:first-of-type { margin-top: 0; }
.hint { margin: -2px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.claim-form > label.check {
  display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 0; padding: 4px 0;
  font-size: 15.5px; font-weight: 500; color: var(--text); cursor: pointer;
}
.claim-form > label.check input { margin-top: 1px; }
.field-error { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--error); }
input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
input[type="email"], input[type="text"], textarea {
  width: 100%; min-width: 0; margin: 0; padding: 11px 13px;
  border: 1px solid var(--edge); border-radius: 8px;
  background: var(--field); color: var(--text); font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 7.5em; line-height: 1.5; font-family: var(--serif); font-size: 17px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
/* a form's button keeps its element (the form submits on Enter) and is dressed as every other act: an underlined link
 * in the door's sans. The recorder's three (.btn-fill, .tell-stop, .play) carry their own fill. */
button {
  justify-self: start; margin: 0; padding: 10px 0; cursor: pointer;
  border: 0; border-radius: 0; background: none; color: var(--text);
  font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-align: left;
  text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--underline);
  text-underline-offset: .25em;
  -webkit-appearance: none; appearance: none;
}
button:hover:not(:disabled) { text-decoration-color: currentColor; }
button:disabled { opacity: .6; cursor: default; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; }
.send-note { font-size: 13.5px; color: var(--muted); }

.status { margin: .8em 0 1em; color: var(--text); }
.status.is-error { color: var(--error); font-style: normal; font-family: var(--sans); font-size: 15px; }
.hp { display: none; }

/* ---------------------------------------------------------------- the way forward, the email */

.forward { margin: 4.2em 0 0; padding-top: 1.6em; border-top: 1px solid var(--rule); }
.forward .label { margin-bottom: .7em; }
.next-open { display: block; margin: 0; text-decoration: none; }
.next-open .k { display: block; line-height: 1.6; }
.next-open .t { display: block; font: 400 1.25em/1.3 var(--display); text-wrap: balance; }
.next-open .t {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--underline); text-underline-offset: .2em;
}
.next-open .t::after { content: " \2192"; color: var(--accent); text-decoration: none; display: inline-block; margin-left: .15em; }
.next-open:hover .t { text-decoration-color: currentColor; }
.forward .coming { margin: 0; }

.ask {
  margin: 2.4em 0 0; padding: 1.5em 1.5em 1.3em;
  background: var(--panel); border-radius: 12px;
}
.ask-lead { margin: 0 0 .7em; font-size: 1.06em; line-height: 1.45; text-wrap: pretty; }
.ask .label { margin-bottom: .8em; }
.ask-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ask-list li { margin: 0 0 .2em; }
.ask-list strong { font-weight: 600; }
.ask-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ask-form button { grid-column: 1 / -1; justify-self: start; }
.ask .status { margin-bottom: 0; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4em 1.5em;
  margin: 5em 0 0; padding: 1.6em 0 2.6em; border-top: 1px solid var(--rule);
  font: 13px/1.4 var(--sans); color: var(--muted);
}
.foot-note { flex-basis: 100%; margin: 0; font-size: 12.5px; }
.foot-note a { color: inherit; text-decoration-color: var(--underline); text-underline-offset: .2em; }

/* ---------------------------------------------------------------- the two faces: for humans, for agents */

/* The switcher says it in its own type: the book's serif for humans, monospace for agents. The current one is
 * filled with the text colour; the other is outlined in it. Two colours, on both faces. */
.faces {
  display: flex; width: max-content; margin: 20px auto 0;
  border: 1px solid var(--text); border-radius: 999px; overflow: hidden;
}
.faces a { padding: 7px 16px; color: var(--text); text-decoration: none; line-height: 1.3; }
.faces a:hover { text-decoration: underline; text-underline-offset: .2em; }
.faces a[aria-current="page"] { color: var(--bg); background: var(--text); }
.faces a[aria-current="page"]:hover { text-decoration: none; }
.face-human { font: 16px var(--serif); }
.face-agent { font: 14px var(--mono); }
/* On the humans' cover the switch steps back to a small line at the top right, so the title is the first thing the
 * eye meets (the design review, 2026-10-07); each face still in its own type, the current one in ink. /agents/
 * (no data-book) keeps the pill above. */
body[data-book] .faces { width: auto; gap: 1.1em; justify-content: flex-end; margin: 14px 0 0; border: 0; border-radius: 0; }
body[data-book] .faces a { padding: 4px 0; color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--underline); text-underline-offset: .22em; }
body[data-book] .faces a:hover { color: var(--text); text-decoration-color: currentColor; }
body[data-book] .faces a[aria-current="page"] { color: var(--text); background: none; text-decoration: none; }
body[data-book] .face-human { font-size: 14px; }
body[data-book] .face-agent { font-size: 12.5px; }
code, pre { font-family: var(--mono); font-size: .86em; }

/* ---------------------------------------------------------------- the agents' face: a plain-text document
 * One monospace face (the system's), one size, two colours (the text and the background, light or dark by the
 * system). The structure shows as markdown would, drawn here so the headings and items keep their own text:
 * the second content value is the alternative text, empty, so assistive tech reads the heading, not its hashes. */

body[data-face="agents"] { font: 15px/1.6 var(--mono); }
body[data-face="agents"] .book { max-width: calc(72ch + 32px); }
body[data-face="agents"] .faces { border-radius: 0; }
body[data-face="agents"] :focus-visible { outline-color: var(--text); }
.doc { padding: 2.6em 0 0; }
.doc * { font: inherit; color: var(--text); background: none; font-style: normal; letter-spacing: 0; text-transform: none; }
.doc h1, .doc h2, .doc strong, .doc th { font-weight: 700; }
.doc h1 { margin: 0 0 1em; }
.doc .jump { margin: 0 0 1em; text-align: left; }
.doc .jump a { white-space: normal; }
.doc h2 { margin: 2.4em 0 1em; }
.doc h1::before { content: "# "; content: "# " / ""; }
.doc h2::before { content: "## "; content: "## " / ""; }
.doc p { margin: 0 0 1em; }
.doc blockquote { margin: 0 0 1em; padding: 0; }
.doc blockquote p::before { content: "> "; content: "> " / ""; }
.doc ul { list-style: none; margin: 0 0 1em; padding: 0; }
.doc li { margin: 0 0 .5em; }
.doc li::before { content: "- "; content: "- " / ""; }
.doc a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.doc table { width: 100%; margin: 0 0 1em; border-collapse: collapse; }
.doc th, .doc td { padding: .5em 1ch .5em 0; text-align: left; vertical-align: top; border-top: 1px solid var(--text); }
.doc thead th { border-top: 0; }
.doc tbody th { white-space: nowrap; }
.doc .need { display: block; font-weight: 400; white-space: normal; max-width: 12ch; }
.doc td { overflow-wrap: anywhere; }
.doc pre { margin: 0 0 1em; padding: .8em 0; overflow-x: auto; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
body[data-face="agents"] .foot, body[data-face="agents"] .foot * { font: inherit; color: var(--text); }
body[data-face="agents"] .foot { border-top-color: var(--text); }
body[data-face="agents"] .foot a { text-decoration-color: currentColor; }

@media (max-width: 520px) {
  .your-turn { padding: 1.1em 1.05em .4em; margin-left: -4px; margin-right: -4px; }
  .ask { padding: 1.25em 1.1em 1.1em; margin-left: -4px; margin-right: -4px; }
  .door-panel { padding: 1em .95em .9em; margin-left: -4px; margin-right: -4px; }
  .ask-form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .top, .faces, .forward, .ask, .door-call, .door-line, .door-count, .door-panel, .skip, .foot { display: none !important; }
  body { background: #fff; color: #000; }
}
