/* The public frame, on the app's tokens and type (app.css is copied beside this file by the build; the tokens live in
   web/app.css and nowhere else). Spacing on the eight-step scale: 8 inside a control and label to field, 24 between
   fields, 32 between groups, 48 between sections, 64 above a page title (spec 026 S3). */
body { max-width: none; padding: 0; }

/* the skip link: out of sight until the first press of Tab, then over the bar's left end; it lands on the page's main
   area, which takes the focus without a ring (2026-10-12, the accessibility report's "Needs your words") */
.skip { position: absolute; left: 16px; top: -80px; z-index: 20; padding: 8px 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); text-decoration: none; font-size: 16px; }
.skip:focus { top: 12px; }
main.pub:focus { outline: none; }

/* the bar: wordmark left, the words right, the double rule under — the top stroke of the Z. Its words line up with the
   front page's facade (1120 wide), the rule runs the full width */
header.pub { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 24px; padding: 20px max(40px, calc((100% - 1120px) / 2 + 40px)) 12px; justify-content: stretch; font-size: 15px; border-bottom: 1px solid var(--ink); box-shadow: 0 3px 0 -2px var(--ink); }
/* the tabs up top in sentence case, the button in small caps (user, 2026-09-24) */
header.pub nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }   /* five links since 2026-11-02 (Docs and Updates to the footer), so the 24px of before 2026-11-01 again */
header.pub .wordmark, header.pub nav a, header.pub .acts a { white-space: nowrap; }   /* a name or a link never splits */
header.pub nav a, header.pub .acts a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 16px; border-bottom: 1px solid transparent; }
header.pub nav a:hover, header.pub .acts a:not(.btn):hover { border-bottom-color: var(--line); }
header.pub .acts { display: flex; gap: 24px; align-items: center; }

.btn { display: inline-block; font-size: 16px; font-variant: small-caps; letter-spacing: .1em; line-height: 1; padding: 11px 16px 8px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
header.pub .acts a.btn { padding: 8px 12px 6px; font-size: 14px; }
/* the light/dark toggle at the bar's right end (user, 2026-10-09: "a light/dark toggle in the header on the right like is
   normal for many websites using the normal generic symbols"): a moon by day, to go dark; a sun by night, to go light.
   A 40 px target with a 20 px drawing, its right edge on the facade's line; hidden until site.js runs it. */
header.pub .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  margin: -10px -10px -10px -8px; border: 0; border-radius: 0; background: none; color: var(--ink); font-variant: normal; letter-spacing: 0; }
header.pub .theme-toggle:hover:not(:disabled) { background: none; color: var(--accent); }
header.pub .theme-toggle[hidden] { display: none; }
header.pub .theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
header.pub .theme-toggle .sun { display: none; }
/* the menu button (2026-11-03): on a phone only, at the bar's right end beside the toggle, the same 40 px target; three
   bars to open, a cross to close; hidden until site.js runs it */
header.pub .menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  margin: -10px -10px -10px -4px; border: 0; border-radius: 0; background: none; color: var(--ink); font-variant: normal; letter-spacing: 0; }
header.pub .menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
header.pub .menu-toggle .close, header.pub.menu-open .menu-toggle .bars { display: none; }
header.pub.menu-open .menu-toggle .close { display: block; }
@media (max-width: 720px) { header.pub .menu-toggle:not([hidden]) { display: inline-flex; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) header.pub .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) header.pub .theme-toggle .moon { display: none; } }
:root[data-theme="dark"] header.pub .theme-toggle .sun { display: block; }
:root[data-theme="dark"] header.pub .theme-toggle .moon { display: none; }
/* the name, the five words, the two actions and the toggle share one line from about 940 px (measured 2026-11-02, when
   the name became Nobis and Docs and Updates left for the footer; it was 1160 px for Venire Project and seven words);
   below that the words take a line of their own under the name, starting at its edge. On a phone the words are not in
   the bar; on a narrow phone the name and the toggle take the first line and the actions the second. */
@media (max-width: 980px) {
  header.pub { grid-template-columns: 1fr auto auto; row-gap: 12px; }
  header.pub .acts { grid-column: 2; grid-row: 1; }
  header.pub .theme-toggle { grid-column: 3; grid-row: 1; }
  header.pub nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

main.pub { max-width: none; padding: 0 0 48px; counter-reset: sec step; }   /* full width, so a floor can run edge to edge; each sets its own measure */
/* no section numbers and no small capitals in a page's heads (user, 2026-09-25: "We shouldn't number the chapters"; the
   public pages followed, round G, 2026-09-27) */

/* ---- The front page (spec 026 S1.1, S3). One facade (2026-09-24): every floor hangs from two verticals, the outer line
   and the inner line, as the cornices of a boulevard line up. On it (round B, 2026-09-25, variant 4 taken forward; the
   reference wall: The Marshall Project's colour, "somewhat subdued and it's not just one bold one"; the Folio Society's
   light): five chapters, each with a colour of its own; under the opening, the spines — one panel per chapter, its plate,
   numeral and title — and every chapter opens on its spine again (user, 2026-09-25: the page "decays as you scroll ...
   doesn't feel like the chapter calls back strongly enough to the splash"). The chapter's words sit on the stone; the
   thing it shows — the juror, the report, the route — sits in cloth of the chapter's colour. Warm light from the upper
   left, a paper grain on the stone, a woven grain on the cloth. The plates are for images made for Venire: drawn, never
   photographs (the style register: nothing that reads as documentary realism). */
:root { --facade: 1120px; --pier: 136px;
  --c-slate: #34475C; --c-moss: #4E5A3F; --c-claret: #6B2C33; --c-plum: #4B3547; --c-teal: #2E4D50; --c-base: #2B2A28;
  --on-c: #F3EDE3; --on-c-muted: #D9D0C2; --on-c-line: rgba(243, 237, 227, .28); --gilt: #DCC38E; --paper: #EEE8DC; }
/* each chapter's colour, as a surface (--c) and as ink on the ground (--c-ink: the colour itself by day, lighter at night) */
.c1 { --c: var(--c-slate); --c-ink: var(--c-slate); } .c2 { --c: var(--c-moss); --c-ink: var(--c-moss); }
.c3 { --c: var(--c-claret); --c-ink: var(--c-claret); } .c4 { --c: var(--c-plum); --c-ink: var(--c-plum); }
.c5 { --c: var(--c-teal); --c-ink: var(--c-teal); }
.c0 { --c: var(--c-base); --c-ink: var(--c-base); }   /* a public page of no chapter (About, Questions, Updates ...) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #22201D; }
  :root:not([data-theme="light"]) .c1 { --c-ink: #8FA6BF; } :root:not([data-theme="light"]) .c2 { --c-ink: #A3B08A; }
  :root:not([data-theme="light"]) .c3 { --c-ink: #CF7F88; } :root:not([data-theme="light"]) .c4 { --c-ink: #B79BB2; }
  :root:not([data-theme="light"]) .c5 { --c-ink: #86B0B2; } :root:not([data-theme="light"]) .c0 { --c-ink: #C9C2B6; } }
:root[data-theme="dark"] { --paper: #22201D; }
:root[data-theme="dark"] .c1 { --c-ink: #8FA6BF; } :root[data-theme="dark"] .c2 { --c-ink: #A3B08A; } :root[data-theme="dark"] .c3 { --c-ink: #CF7F88; }
:root[data-theme="dark"] .c4 { --c-ink: #B79BB2; } :root[data-theme="dark"] .c5 { --c-ink: #86B0B2; } :root[data-theme="dark"] .c0 { --c-ink: #C9C2B6; }
/* text at night (user, 2026-09-27): text that carries no colour #FAFAFA, secondary text #E0E0E0, on the band as on the
   ground; the ground stays #161616, inside the #121212–#1E1E1E asked for. Text on a chapter's cloth keeps its cream
   (#F3EDE3), day and night, and the report keeps the report's own inks (spec 011). Body text (user, 2026-10-10: "Use
   #E0E0E0 for all body text at night too") takes --body: the ink by day, #E0E0E0 at night (13.7:1, about the day's
   13.2:1), so #FAFAFA is left to headings, heads, labels and the bar. */
:root { --body: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #FAFAFA; --muted: #E0E0E0; --band-ink: #FAFAFA; --band-muted: #E0E0E0; --body: #E0E0E0; } }
:root[data-theme="dark"] { --ink: #FAFAFA; --muted: #E0E0E0; --band-ink: #FAFAFA; --band-muted: #E0E0E0; --body: #E0E0E0; }
/* running text: no specificity, so anything that styles its own text (a muted line, a label, a link in the bar) keeps it */
:where(main.pub, footer.pub-foot) :where(p, li, dd, td, blockquote, figcaption) { color: var(--body); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .beta-tag { color: #D4827D; } }   /* the app's night accent is 4.4:1 here */
:root[data-theme="dark"] .beta-tag { color: #D4827D; }

.facade { max-width: var(--facade); margin: 0 auto; padding: 0 40px; }
.floor .facade, .opening .facade { padding-left: calc(40px + var(--pier)); }

/* the light: warm lamplight from the upper left and a paper grain on the stone (low at night) */
/* fixed to the window, so the light stays with the reader down the page (round B's approved light; dropped by mistake when
   it moved into the page, restored 2026-09-25) */
/* (every public page since 2026-09-27: the pages inside carry the front page's light) */
body { background-image: radial-gradient(1400px 900px at 18% -8%, rgba(255, 238, 205, .75), rgba(255, 238, 205, 0) 70%), url("grain.svg"); background-attachment: fixed, scroll; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body { background-image: radial-gradient(1400px 900px at 18% -8%, rgba(255, 196, 130, .08), rgba(255, 196, 130, 0) 70%), url("grain.svg"); } }
:root[data-theme="dark"] body { background-image: radial-gradient(1400px 900px at 18% -8%, rgba(255, 196, 130, .08), rgba(255, 196, 130, 0) 70%), url("grain.svg"); }
/* the cloth: the chapter's colour, lit from above and darker at the foot, with a woven grain; words on it in light ink */
.spines a, .cloth, main.pub > .hero, main.pub > .faq-head { background-color: var(--c);
  background-image: radial-gradient(140% 110% at 16% 0%, rgba(255, 228, 184, .15), rgba(255, 228, 184, 0) 58%), linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .2)), url("linen.svg");
  --ink: var(--on-c); --muted: var(--on-c-muted); --line: var(--on-c-line); --accent: var(--on-c); --accent-ink: #1E1E1C; --surface: rgba(243, 237, 227, .08); --body: var(--on-c); color: var(--ink); }
/* a plate: paper tinted by its chapter's colour; the print is laid onto it in black, so its white takes the tint */
.art { display: block; position: relative; isolation: isolate; background-color: color-mix(in srgb, var(--c) 30%, #EFE6D4); background-image: url("grain.svg"); overflow: hidden; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); }   /* the plate's size is the layout's, never the image's */
/* the chapters' prints: Daumier's Les Gens de Justice (1845-48, public domain), plates 1, 5, 12, 19 and 37 (user,
   2026-09-27: the Daumier prints, tinted, the second and fifth swapped). Upright prints in wide plates: each is cut to the
   band that holds the faces, clear of the series title above and the caption below */
.art[data-art="1"] img { object-position: 50% 30%; } .art[data-art="2"] img { object-position: 50% 52%; }
.art[data-art="3"] img { object-position: 50% 36%; } .art[data-art="4"] img { object-position: 50% 30%; }
.art[data-art="5"] img { object-position: 50% 34%; }

.opening { padding: 112px 0 104px; }
.opening h1 { font: 400 60px/1.06 var(--font-display); margin: 0 0 40px calc(-1 * var(--pier)); max-width: 14em; }   /* the title hangs on the outer line */
/* the app's lockup above the title (2026-10-12): Nobis by Venire Project, the two names the same Didot at the same size, "by"
   small and quiet, as in the app's bar (026 S7.12); it hangs on the outer line with the title */
.opening .product-mark { margin: 0 0 22px calc(-1 * var(--pier)); font: 400 30px/1.1 var(--font-display); letter-spacing: .06em; white-space: nowrap; }
.opening .product-mark .by { font: italic 400 20px/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.opening .lede { font-size: 22px; line-height: 1.55; max-width: 32em; margin: 0 0 44px; }
.opening .acts { display: flex; gap: 16px; flex-wrap: wrap; }
.opening .acts .btn { font-size: 17px; padding: 12px 18px 9px; }
/* the band, by night only (user, 2026-09-24: "No band on day (just stone), but keep the shade-warmer band for night"):
   by day the opening is the stone ground; at night it sits a shade warmer than the ink ground, with the page's tokens
   redefined inside it so every component inherits */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band { --ink: var(--band-ink); --muted: var(--band-muted); --line: rgba(243, 237, 227, .3); --accent: var(--band-ink); --accent-ink: var(--band); --voice: var(--band-muted);
    background: var(--band); color: var(--band-ink); }
  :root:not([data-theme="light"]) .band .btn { color: var(--ink); border-color: var(--muted); }
  :root:not([data-theme="light"]) .band .btn:hover { background: rgba(243, 237, 227, .08); }
  :root:not([data-theme="light"]) .band .btn.primary, :root:not([data-theme="light"]) .band .btn.primary:hover { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
  /* the bar over the opening in the band's colour, so the top of the page is one piece at night (user, 2026-09-25: "the top
     banner should be the same color as the page below it") */
  :root:not([data-theme="light"]) body.page-index header.pub { background: var(--band); }
}
:root[data-theme="dark"] .band { --ink: var(--band-ink); --muted: var(--band-muted); --line: rgba(243, 237, 227, .3); --accent: var(--band-ink); --accent-ink: var(--band); --voice: var(--band-muted);
  background: var(--band); color: var(--band-ink); }
:root[data-theme="dark"] .band .btn { color: var(--ink); border-color: var(--muted); }
:root[data-theme="dark"] .band .btn:hover { background: rgba(243, 237, 227, .08); }
:root[data-theme="dark"] .band .btn.primary, :root[data-theme="dark"] .band .btn.primary:hover { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
:root[data-theme="dark"] body.page-index header.pub { background: var(--band); }

/* the spines: the page's contents, and the colours every chapter below returns to */
.spines { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.spines a { display: flex; flex-direction: column; min-height: 340px; text-decoration: none; }
.spines .art { height: 220px; }
.spines .t { font: 400 24px/1.2 var(--font-display); color: var(--gilt); margin: 22px 28px 28px; }
.spines a:hover .t, .spines a:focus-visible .t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* a chapter opens on its title in its spine's colour, over a rule of that colour; below, the chapter's first words with its
   plate beside them, as a book sets a plate facing the text; the exhibit below both (user, 2026-09-27: option C, "plate
   beside the words", over a band holding the title and the plate; the chapters are not numbered: user, 2026-09-25) */
.chapter { padding-top: 136px; }
.opener { margin: 0 0 28px; border-bottom: 8px solid var(--c); }
.opener h2 { margin: 0; padding: 0 0 18px; font: 400 46px/1.1 var(--font-display); letter-spacing: 0; text-transform: none; border: 0; color: var(--c-ink); }
.lead-row { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 40px; align-items: start; margin: 0 0 48px; }
.floor .lead-row .ch-lead, .floor .lead-row .rows { margin: 0; }
.lead-row .art { aspect-ratio: 3 / 2; position: sticky; top: 32px; }   /* rides beside words longer than itself */
/* chapter 4 has no first words: its rows stand beside the plate, one above the other, and the plate is as tall as the
   print's picture allows (square: taller shows the series title or the caption) */
.lead-row .rows .bay { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.c4 .lead-row .art { aspect-ratio: 1 / 1; }
.floor > .facade > h2 { font: 400 36px/1.12 var(--font-display); letter-spacing: 0; text-transform: none; border: 0; padding: 0; margin: 0 0 24px; }
.floor .ch-lead { font-size: 22px; line-height: 1.5; max-width: 32em; margin: 0 0 48px; }
.floor figure { margin: 0; }
.floor figcaption { font: italic 400 18px/1.3 var(--font-body); margin: 0 0 14px; }

/* bays: a row of equal columns under one line */
.bays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.bays.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bay { border-top: 1px solid var(--ink); padding-top: 16px; }
.bay h3 { font: 400 26px/1.2 var(--font-display); margin: 0 0 10px; }
.bay p { margin: 0; font-size: 18px; line-height: 1.5; }

/* 1 — the sample case: each part cut to a few lines, the whole on hover; the question across the full width; the rules in
   the chapter's colour */
.case .bays { padding-bottom: 32px; border-bottom: 1px solid var(--c-ink); }
.case .bay { border-top: 2px solid var(--c-ink); }
.case .bay h3 { font: italic 400 18px/1.3 var(--font-body); }
.case .bay p { font-size: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.case .bay:last-child { grid-column: 1 / -1; }
.case .bay:last-child p { font-size: 24px; line-height: 1.4; font-style: italic; max-width: 34em; -webkit-line-clamp: unset; line-clamp: none; }

/* 2 — the sample synthetic juror, in the chapter's cloth: short lines, whole, wrapping where the column is narrow (user,
   2026-09-27: "Let the juror lines wrap"; the ellipsis hid the rest from a keyboard or a touch) */
.floor .fig { padding: 28px 36px 24px; }
.fig .juror { grid-template-columns: 1fr 1fr; gap: 8px 48px; font-size: 18px; padding: 0; margin: 0; border: 0; }
.fig .juror .who { font: 400 30px/1.2 var(--font-display); color: var(--gilt); margin: 0 0 16px; }
.fig .juror dt { font: italic 400 17px/1.3 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px; }
.fig .juror .real dt::after, .fig .juror .made dt::after { font-variant: normal; letter-spacing: 0; color: var(--ink); }
.fig .juror dl { min-width: 0; }   /* lets a grid column narrow below its longest line, so a long line wraps */
.fig .juror dd { margin-bottom: 6px; overflow-wrap: break-word; }
#juror .juror dd.disp { display: none; }
#juror .juror .term { border-bottom: 0; cursor: inherit; } #juror .juror .term .tip { display: none; }
.fig .juror dd.disp { color: var(--on-c); margin-top: 12px; }
.fig-foot { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.fig-foot .count { font-variant: small-caps; letter-spacing: .08em; }

/* 3 — the sample report, on paper mounted in the chapter's cloth as the juror is (user, 2026-09-25: the report card "feels a
   little incongruent"), at its own reading size: the report's type, not the page's. About half a screen: the masthead and
   the summary's first lines, cut with an ellipsis, then the link to the whole report on its own page (user, 2026-09-25). */
.report-frame { padding: 22px; }
.report-box { background-color: var(--paper); background-image: url("grain.svg"); padding: 32px 44px 28px;
  --ink: #1E1E1C; --muted: #5F5D58; --line: #B9B4AA; --accent: #6E2A2A; --accent-ink: #FFFFFF; --surface: #DFDAD1; --body: var(--ink); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .report-box { --ink: #ECEAE4; --muted: #A5A29B; --line: #383838; --accent: #C9706B; --accent-ink: #161616; --surface: #1E1E1E; } }
:root[data-theme="dark"] .report-box { --ink: #ECEAE4; --muted: #A5A29B; --line: #383838; --accent: #C9706B; --accent-ink: #161616; --surface: #1E1E1E; }
.excerpt { max-width: 720px; }
.excerpt .rt { font: 400 34px/1.15 var(--font-display); margin: 12px 0 6px; }
.excerpt .masthead { margin-bottom: 8px; border-bottom: 0; }   /* the summary's own rule follows at once; two would stack */
.excerpt h2:first-of-type { margin-top: 20px; }
.excerpt .cut { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.box-foot { margin: 24px 0 0; }

/* 4 — how to run it: reference rows, the name on the facade's first column and the words across the other two, ruled in
   the chapter's colour (user, 2026-09-25: three boxes there were "different ... for the sake of something different") */
.rows .bays { grid-template-columns: minmax(0, 1fr); gap: 0; }
.rows .bay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; border-top: 1px solid var(--c-ink); padding: 22px 0 26px; }
.rows .bay:last-child { border-bottom: 1px solid var(--c-ink); }
.rows .bay h3 { margin: 0; }

/* 5 — the route a case takes, set as chapter 1's sample case is: three stations under rules of the chapter's colour (user,
   2026-09-25: the card "is not attractive. Let's bring this closer to the text style of chapter 1") */
.route .bay { border-top: 2px solid var(--c-ink); }
.route .bay h3 { font: italic 400 19px/1.3 var(--font-body); }

/* the limitations, after the chapters, as a card in the cloth of the chapter it follows (user, 2026-09-25: "the Limitations
   section can be a card"; 2026-09-27: "Same color that matches chapter 5", over a neutral cloth); the heading in the first
   column, the two one above the other */
.limits { padding-top: 120px; }
.limits-card { --c: var(--c-teal); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding: 36px 40px 40px;
  background-color: var(--c); background-image: radial-gradient(140% 110% at 16% 0%, rgba(255, 228, 184, .15), rgba(255, 228, 184, 0) 58%), linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .2)), url("linen.svg");
  --ink: var(--on-c); --muted: var(--on-c-muted); --line: var(--on-c-line); --body: var(--on-c); color: var(--ink); }
.limits-card > h2 { grid-column: 1; margin: -6px 0 0; font: 400 36px/1.12 var(--font-display); letter-spacing: 0; text-transform: none; border: 0; padding: 0; color: var(--gilt); }
.limits-card .bays { grid-column: 2 / -1; grid-template-columns: minmax(0, 1fr); row-gap: 32px; }

/* the call at the foot: one button (user, 2026-09-25: "Join the beta" real simple, at the bottom) */
.closing { padding-top: 104px; }
.closing p { margin: 0; }
.closing .btn { font-size: 20px; padding: 16px 30px 12px; }

/* the foot of the front page: the base, in the darkest cloth */
.page-index footer.pub-foot { background-color: var(--c-base); background-image: url("grain.svg"); border-top: 0; box-shadow: none;
  --ink: var(--on-c); --muted: var(--on-c-muted); --body: var(--on-c); color: var(--on-c); }
.page-index footer.pub-foot p { color: var(--on-c-muted); }

/* at night the page begins and ends in the band's colour (the bar, the opening, the foot), the call at the foot is the
   opening's cream button, and the plates are dimmed so the paper does not glare (user, 2026-09-25: "work on the dark mode") */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-index footer.pub-foot { background-color: var(--band); }
  :root:not([data-theme="light"]) .closing .btn.primary { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
  :root:not([data-theme="light"]) .art { filter: brightness(.8) saturate(.9); }
}
:root[data-theme="dark"] .page-index footer.pub-foot { background-color: var(--band); }
:root[data-theme="dark"] .closing .btn.primary { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
:root[data-theme="dark"] .art { filter: brightness(.8) saturate(.9); }

/* motion, subtle (026 S3): each part rises a little into place as it comes into view, the bays of a row one after another.
   site.js marks the page as scripted first, so without script, or with reduced motion asked for, everything is there. */
.scripted .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.scripted .reveal.in { opacity: 1; transform: none; }
.scripted .reveal .bay { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.scripted .reveal.in .bay { opacity: 1; transform: none; }
.scripted .reveal.in .bay:nth-child(2) { transition-delay: .09s; } .scripted .reveal.in .bay:nth-child(3) { transition-delay: .18s; }
.scripted .reveal.in .bay:nth-child(4) { transition-delay: .27s; } .scripted .reveal.in .bay:nth-child(5) { transition-delay: .36s; }

@media (max-width: 1000px) {
  :root { --pier: 88px; }
  .facade { padding: 0 32px; } .floor .facade, .opening .facade { padding-left: calc(32px + var(--pier)); }
  .bays, .case .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spines a { min-height: 300px; } .spines .art { height: 160px; } .spines .t { font-size: 24px; margin: 14px 16px 18px; }   /* gilt on cloth is large type or nothing: 3:1 at 24 px, not 4.5:1 below it */
  .opener h2 { font-size: 38px; } .lead-row { gap: 32px; }
  .col, .cols > div, .group { grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; }
  .faq-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
}
/* ---- The public pages (spec 026 S3; round G, "B · the cover", user 2026-09-27: "Let's do B"). Each page opens on a
   cover of its chapter's cloth across the window — the chapter it deepens (tools/build_site.py TONES) — its title in gilt
   hung on the outer line, its lede in cream; no plate: the colour is the picture. Below, on the stone, each section's
   head stands in the margin in the chapter's colour with its words beside it, as a reference book sets side-heads. */
main.pub > .hero, main.pub > .faq-head { margin: 0; padding: 96px max(40px, calc((100% - var(--facade)) / 2 + 40px)) 80px calc(max(40px, calc((100% - var(--facade)) / 2 + 40px)) + var(--pier)); }
.hero h1, .faq-head h1 { font: 400 56px/1.08 var(--font-display); max-width: 15em; margin: 0 0 28px calc(-1 * var(--pier)); color: var(--gilt); }
.hero .lede, .faq-head .lede { font-size: 22px; line-height: 1.5; max-width: 32em; margin: 0; }
.hero .sub { margin: 0 0 16px; } .hero .sub a { color: var(--on-c-muted); }
.hero .acts { display: flex; gap: 16px; margin-top: 36px; }
.hero .acts .btn { font-size: 18px; padding: 12px 20px 9px; }

main.pub > .col, main.pub > .cols, main.pub > .groups, main.pub > .faq-layout { max-width: var(--facade); margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
main.pub > .faq-layout { padding-top: 72px; }   /* the rule above zeroed .faq-layout's own top space, so the questions met the band (user, 2026-10-17) */
main.pub { font-size: 18px; line-height: 1.6; }
.cols { display: block; }
.col, .cols > div, .group { display: grid; grid-template-columns: 232px minmax(0, 1fr); column-gap: 48px; align-items: baseline; }
:is(.col, .cols > div, .group) > * { grid-column: 2; max-width: 40em; }
main.pub :is(.col, .cols > div, .group) > h2 { grid-column: 1; margin: 56px 0 0; padding: 0; border: 0; font: 400 24px/1.25 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--c-ink); }
:is(.col, .cols > div, .group) > h2 + * { margin-top: 56px; }
:is(.col, .cols > div, .group) > :first-child, :is(.col, .cols > div, .group) > h2:first-child + * { margin-top: 72px; }
ul.lines, ol.lines { margin: 0; padding-left: 1.2em; }
ul.lines li, ol.lines li { margin: 0 0 8px; }
ul.lines li::marker, ol.lines li::marker { color: var(--c-ink, var(--accent)); }
/* a list of heads (user, 2026-10-09: no dashes; the bold head run into its sentence was "a little hard on the eyes" at
   night): each head on a line of its own in the Caslon italic the labels use, not bold, its words beneath, a clear space
   between items, no bullets (a numbered list keeps its numbers). At night the words take the secondary #E0E0E0 and the
   head the primary #FAFAFA, the user's two text colours (2026-09-27). */
ul.lines.heads { list-style: none; padding-left: 0; }
.lines.heads > li { margin: 0 0 20px; }
.lines.heads > li:last-child { margin-bottom: 0; }
.lines .li-head { display: block; font-weight: 400; font-style: italic; color: var(--ink); margin-bottom: 2px; }
.lines .li-text { display: block; }
.lines .li-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* heard, not seen */
/* the measure: running text on the public pages' columns stops at about 75 characters a line (it ran to 89) */
main.pub :is(.col, .cols > div, .group) > :is(p, ul.lines, ol.lines) { max-width: 34em; }

/* the docs' index as reference rows, as "How to run Venire" on the front page: the name, then its words */
#pages ul.lines { list-style: none; padding: 0; max-width: none; }
#pages li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: baseline; border-top: 1px solid var(--c-ink); padding: 18px 0 20px; margin: 0; }
#pages li:last-child { border-bottom: 1px solid var(--c-ink); }
#pages li a { font: 400 24px/1.2 var(--font-display); color: var(--ink); text-decoration: none; }
#pages li a b { font-weight: 400; }
#pages li a:hover, #pages li a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
#pages .sep { display: none; }

/* what a page shows sits in its chapter's cloth (the juror cards on the jurors page) */
#cards .cloth { padding: 28px 36px 24px; }
main.pub #cards .cloth > h2 { margin: 0 0 18px; padding: 0; border: 0; font: 400 30px/1.2 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--gilt); }
#cards .cloth .cap { color: var(--muted); }
#cards .cloth button { color: var(--ink); border-color: var(--line); background: transparent; }
.cap { color: var(--muted); font-size: 16px; margin: 16px 0 8px; }
.cap .count { font-variant: small-caps; letter-spacing: .08em; }
.sub { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.more { margin-top: 16px; }
.who-close { margin-top: 24px; }
.mono { font-family: var(--font-mono); font-size: 15px; }

/* the juror cards (the jurors page, and the front page's figure above): all in the markup, one shown; site.js cycles them */
.juror { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; font-size: 17px; margin-top: 8px; }
.juror[hidden] { display: none; }
/* the cards share one cell and a hidden one only goes unseen, so the figure keeps its tallest card's height and what
   follows it (the counter, Another juror) stays put as the lines wrap (user, 2026-09-27: "Let the juror lines wrap") */
.jurors { display: grid; }
.jurors > .juror { grid-area: 1 / 1; }
.jurors > .juror[hidden] { display: grid; visibility: hidden; }
.juror .who { grid-column: 1 / -1; color: var(--muted); font-style: italic; margin: 0 0 8px; }
.juror dl { margin: 0; }
.juror dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.juror dd { margin: 0 0 4px; }
.juror dd.disp { margin-top: 8px; color: var(--muted); }
/* real and modeled are said in type: sienna and Prussian mean direction and nothing else (026 S3) */
.juror .real dt::after { content: " · real"; color: var(--ink); text-transform: none; letter-spacing: .04em; font-variant: small-caps; }
.juror .made dt::after { content: " · modeled"; color: var(--ink); text-transform: none; letter-spacing: .04em; font-variant: small-caps; }
.juror:not([hidden]) { animation: fade-in .15s ease; }
@keyframes fade-in { from { opacity: 0; } }

/* the dotted term and its note: hover, focus, tap; a glossary in print */
.term { border-bottom: 1px dotted var(--voice); position: relative; cursor: help; outline: none; }
.term .tip { display: none; position: absolute; left: 0; top: 1.5em; z-index: 2; width: 300px; background: var(--bg); border: 1px solid var(--ink); padding: 8px 12px; font-size: 15px; line-height: 1.4; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.12); font-style: normal; font-variant: normal; letter-spacing: 0; text-transform: none; font-weight: 400; }
.term:hover .tip, .term:focus .tip { display: block; }
.term:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.term.tip-off .tip { display: none; }   /* Escape pressed: site.js, until the pointer or the focus leaves */
.term .tip::before { content: ""; position: absolute; left: 0; right: 0; top: -.5em; height: .5em; }   /* a bridge, so the pointer can reach the note */

/* questions: the five on the home page, and the page */
details { border-top: 1px solid var(--line); padding: 8px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; }
summary::marker { color: var(--accent); }
details > p { margin: 8px 0 4px 1.1em; color: var(--ink); }

/* the jurors (2026-11-02, the user's choice of three drafts, B, revised on the user's notes): the pool drawn, one dot for
   every hundred people by survey year, beside a panel of twelve; the survey's story in four figures under the double
   rule; the traits we add drawn as a sum; one juror (the cards); the county drawn as adult citizens by their 2020
   presidential vote; the kind of case; two safeguards. The drawings are the build's (tools/build_site.py
   jurors_figures), their numbers the data's (tools/jurors_figures.py). */
main.pub > .jd { max-width: var(--facade); margin: 0 auto; padding: 0 40px; box-sizing: border-box; }
main.pub .jd h2.jd-h { margin: 80px 0 20px; padding: 0; border: 0; font: 400 26px/1.25 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--c-ink); }
main.pub > .jd:first-of-type h2.jd-h, main.pub > .hero + .jd h2.jd-h { margin-top: 64px; }
.jd-cap { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 52em; }
.jd-pic { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 28px; }
.jd-pic .pool { width: 100%; height: auto; }
.jd-pic .pool .yr { font: 14px var(--font-body); fill: var(--muted); }
.jd-pic .pool .d { fill: var(--c-ink); } .jd-pic .pool .u { fill: none; stroke: var(--c-ink); stroke-width: 1; }
.jd-pic .arrow { font: 400 40px/1 var(--font-display); color: var(--c-ink); }
.jd-pic .panel { text-align: center; } .jd-pic .panel svg { width: 154px; height: 50px; fill: var(--c-ink); }
.jd-pic .panel p { margin: 8px 0 0; font: italic 400 17px/1.3 var(--font-body); color: var(--ink); }
.jd-kicker { margin: 40px 0 10px; font-size: 15px; font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--c-ink); }
.jd-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 4px double var(--c-ink); border-bottom: 1px solid var(--line); }
.jd-figs > div { padding: 24px 22px 22px; } .jd-figs > div + div { border-left: 1px solid var(--line); } .jd-figs > div:first-child { padding-left: 0; }
.jd .fig-n { margin: 0 0 8px; font: 400 44px/1 var(--font-display); color: var(--c-ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.jd .fig-t { margin: 0; font-size: 16px; line-height: 1.45; color: var(--body); }
.jd-intro { margin: 0 0 24px; font-size: 18px; line-height: 1.55; max-width: 38em; }
.jd-add { display: grid; grid-template-columns: minmax(0, 3fr) auto minmax(0, 6fr) auto minmax(0, 2fr); gap: 18px; align-items: center; }
.jd-add .step { background: var(--paper); border-top: 2px solid var(--c-ink); padding: 20px 20px 22px; align-self: stretch; }
.jd-add .step.juror { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.jd-add .step.juror svg { width: 64px; height: 64px; fill: none; stroke: var(--c-ink); stroke-width: 1.6; }
.jd-add .lab { margin: 0 0 12px; font: 400 21px/1.2 var(--font-display); color: var(--ink); }
.jd-add .plus { font: 400 36px/1 var(--font-display); color: var(--c-ink); }
.jd .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jd .chips li { margin: 0; font-size: 14px; line-height: 1.2; padding: 5px 9px; border: 1px solid var(--c-ink); }
.jd .chips.real li { background: var(--c-ink); color: var(--paper); }
.jd .chips.made li { border-style: dashed; color: var(--ink); }
.jd-add .tgroup + .tgroup { margin-top: 10px; }
.jd-add .tg { margin: 0 0 6px; font-size: 13px; font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--muted); }
.jd-add .note { margin: 14px 0 8px; font-size: 14px; line-height: 1.45; color: var(--body); }
.jd .meter { display: flex; height: 22px; font-size: 12px; line-height: 22px; text-align: center; border: 1px solid var(--c-ink); }
.jd .meter span { color: var(--ink); } .jd .meter span + span { border-left: 1px solid var(--c-ink); }
.jd .meter span:nth-child(1) { background: color-mix(in srgb, var(--c-ink) 12%, transparent); }
.jd .meter span:nth-child(2) { background: color-mix(in srgb, var(--c-ink) 28%, transparent); }
.jd .meter span:nth-child(3) { background: color-mix(in srgb, var(--c-ink) 48%, transparent); }
.jd #cards, main.pub > #cards { display: block; }
main.pub > #cards .cloth { margin: 0; }
.jd-county { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; border-top: 4px double var(--c-ink); padding-top: 24px; }
.jd-county .cm { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.jd-county .clab { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.jd-county .vrow { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 10px; }
.jd-county .vname { margin: 0; font-size: 16px; }
.jd-county .vbar { display: flex; height: 30px; }
.jd-county .vbar span { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 13px; color: #F3EDE3; }
.jd-county .vbar b { font-weight: 400; }
.jd-county .v-democrat { background: #3F5A7A; } .jd-county .v-republican { background: #8A3B3B; } .jd-county .v-other { background: #8C8577; }
.jd-county .v-did-not-vote { background: transparent; border: 1px solid var(--line); box-sizing: border-box; }
.jd-county .vbar .v-did-not-vote { color: var(--muted); }
.jd-county .vbar .v-other b { font-size: 0; }   /* too narrow for its number; the key and the bar's label carry it */
.jd-county .vkey { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0 206px; font-size: 13px; color: var(--muted); }
.jd-county .vkey i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.jd-case { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.jd .ic { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--c-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.jd h3 { margin: 0 0 6px; font: 400 22px/1.2 var(--font-display); color: var(--ink); }
.jd-case p { margin: 0; font-size: 17px; line-height: 1.55; }
#safeguards .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
#safeguards .bay { border-top: 1px solid var(--line); padding-top: 16px; }
#safeguards .bay h3 { font: italic 400 19px/1.3 var(--font-body); margin: 0 0 6px; }
#safeguards .bay p { font-size: 17px; line-height: 1.55; }
.jd-more { margin: 48px 0 0; font-size: 17px; }
@media (max-width: 1000px) {
  .jd-add { grid-template-columns: 1fr; } .jd-add .plus { justify-self: center; }
  .jd-county { grid-template-columns: 1fr; gap: 24px; }
  .jd-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jd-figs > div:nth-child(3) { border-left: 0; padding-left: 0; } .jd-figs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) { .jd-pic { grid-template-columns: 1fr; justify-items: start; } .jd-pic .arrow { transform: rotate(90deg); } }
@media (max-width: 620px) {
  main.pub > .jd { padding: 0 20px; }
  .jd-figs { grid-template-columns: 1fr; } .jd-figs > div { padding-left: 0; border-left: 0 !important; } .jd-figs > div + div { border-top: 1px solid var(--line); }
  .jd-county .vrow { grid-template-columns: 1fr; gap: 4px; } .jd-county .vkey { margin-left: 0; }
  #safeguards .bays { grid-template-columns: 1fr; } .jd .fig-n { font-size: 38px; }
  .jd-pic .pool .yr { font-size: 22px; }   /* the drawing scales to about half on a phone; its year labels stay legible */
}

/* who it's for (2026-11-02, the user's choice of three drafts, C): the groups as rows under hairlines, each with its
   icon above its name in the side column; an index of the seven across the top under the double rule, each a link down
   to its row. The icons are line drawings stroked in the chapter's ink (tools/words.py ICONS). On a phone the index
   goes and each icon sits beside its name. */
main.pub > .roster-wrap { max-width: var(--facade); margin: 0 auto; padding: 48px 40px 0; box-sizing: border-box; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 4px double var(--c-ink); border-bottom: 1px solid var(--line); }
.roster li + li { border-left: 1px solid var(--line); }
.roster a { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; box-sizing: border-box; padding: 20px 6px 18px; text-align: center; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.25; transition: background-color .2s ease; }
.roster a:hover, .roster a:focus-visible { background: var(--paper); }
:is(.roster, .groups) .ic { display: block; width: 34px; height: 34px; fill: none; stroke: var(--c-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.groups .group { align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
main.pub .groups .group > h2 { margin: 0; color: var(--c-ink); font-size: 26px; }
.groups .group > h2 .ic { width: 44px; height: 44px; margin: 0 0 12px; }
main.pub .groups .group > h2 + * { margin-top: 0; }
.groups .group > p { margin: 0; font-size: 18px; line-height: 1.6; }
.group p { margin-bottom: 8px; }
.group .preset { color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roster li:nth-child(5) { border-left: 0; }
  .roster li:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  main.pub > .roster-wrap { display: none; }
  .groups .group { padding: 30px 0; }
  main.pub .groups .group > h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
  .groups .group > h2 .ic { margin: 0; width: 36px; height: 36px; }
  .groups .group > :first-child:not(h2) { margin-top: 0; }
}

/* updates */
dl.entries dt { font-variant: small-caps; letter-spacing: .08em; color: var(--muted); margin-top: 16px; }
dl.entries dd { margin: 4px 0 0; }

footer.pub-foot { max-width: none; margin: 128px 0 0; padding: 20px max(40px, calc((100% - 1120px) / 2 + 40px)) 56px; border-top: 1px solid var(--ink); box-shadow: 0 -3px 0 -2px var(--ink); }   /* the base: the long line across, its words on the facade */
footer.pub-foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
footer.pub-foot nav a { color: var(--ink); text-decoration: none; font-variant: small-caps; letter-spacing: .1em; font-size: 15px; }
footer.pub-foot p { color: var(--muted); font-size: 15px; margin: 16px 0 0; }
footer.pub-foot p.cite { font-size: 13px; }

/* the questions page (spec 021; the answers are the [faq] section of words.txt) */
.faq-tools { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 0; max-width: 40em; }
.faq-tools input { flex: 1 1 260px; font: 17px/1.3 var(--font-body); padding: 11px 12px 7px; background: #F3EDE3; color: #1E1E1C; border: 1px solid #F3EDE3; }   /* a paper field on the cover's cloth */
.faq-tools input::placeholder { color: #5F5D58; }
.faq-tools input:focus { outline: 2px solid var(--on-c); outline-offset: 2px; box-shadow: none; }
.faq-layout { padding-top: 72px; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-toc { position: sticky; top: 24px; font-size: 16px; }
.faq-toc ul { list-style: none; padding: 0; margin: 0; }
.faq-toc li { margin: 0 0 8px; }
.faq-toc a { color: var(--muted); text-decoration: none; }
.faq-toc a:hover { color: var(--ink); }
/* the docs pages' rail (user, 2026-10-16): every page's title in the column the headings use elsewhere, held in view
   as the page scrolls, the current page marked by a rule in the chapter's colour; the text in the reading column */
.col.docs { align-items: start; }
.col.docs > .docs-rail { grid-column: 1; position: sticky; top: 24px; margin-top: 72px; font-size: 16px; line-height: 1.4; }
.docs-rail ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.docs-rail li { margin: 0; }
.docs-rail a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.docs-rail a:hover { color: var(--ink); }
.docs-rail a[aria-current="page"] { color: var(--ink); border-left-color: var(--c-ink); }
main.pub .docs-text { grid-column: 2; max-width: 34em; margin-top: 72px; }
.docs-text > p:first-child { margin-top: 0; }
.faq-section { margin: 0 0 48px; scroll-margin-top: 16px; }
main.pub .faq-section > h2 { margin: 0 0 16px; padding: 0; border: 0; font: 400 30px/1.2 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.section-note { border-left: 2px solid var(--mixed); padding: 4px 0 4px 12px; margin: 8px 0 8px; font-size: 16px; }
.section-note p:last-child { margin: 0; }
details.qa { scroll-margin-top: 16px; }
details.qa > summary { font-weight: 400; }
details.qa .a { padding: 8px 0 12px 1.1em; max-width: 42em; }
details.qa .a ul { padding-left: 20px; margin: 0 0 14px; }
details.qa .a li { margin: 0 0 6px; }
details.qa:target > summary { color: var(--accent); }
.badge { display: inline-block; margin-left: 8px; font-size: 12px; font-variant: small-caps; letter-spacing: .08em; color: var(--mixed); }
.permalink { font-size: 13px; margin: 0; } .permalink a { color: var(--muted); }

@media print {
  header.pub nav, header.pub .acts, footer.pub-foot nav, .faq-toc, .faq-tools, .permalink, [data-another], .docs-rail { display: none; }
  .juror[hidden] { display: grid; }
  .jurors { display: block; } .jurors > .juror[hidden] { visibility: visible; }
  .term .tip { display: inline; position: static; width: auto; border: 0; box-shadow: none; padding: 0; font-size: inherit; }
  .term .tip::before { content: " ("; } .term .tip::after { content: ")"; }
}
@media (max-width: 540px) {
  header.pub, header.pub[class] { grid-template-columns: 1fr auto auto; }
  header.pub .theme-toggle { grid-column: 2; grid-row: 1; }
  header.pub .menu-toggle { grid-column: 3; grid-row: 1; }
  header.pub .acts { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 720px) {
  header.pub { gap: 12px 16px; padding: 16px; grid-template-columns: 1fr auto auto auto; }
  header.pub .menu-toggle { grid-column: 4; grid-row: 1; }
  header.pub nav { grid-column: 1 / -1; grid-row: 3; }
  /* the menu (2026-11-03): with site.js, the words fold under the menu button and open as a list under the bar; without
     it they stay a row under the name, so a phone never loses them */
  header.pub.menu-ready nav { display: none; }
  header.pub.menu-ready.menu-open nav { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; margin: 4px 0 -4px; border-top: 1px solid var(--line); }
  header.pub.menu-open nav a { display: block; padding: 14px 2px 13px; font-size: 19px; border-bottom: 1px solid var(--line); }
  header.pub.menu-open nav a:last-child { border-bottom: 0; }
  .cols, .juror, .faq-layout { grid-template-columns: 1fr; }
  .faq-toc { position: static; }
  /* the public pages on a phone: the cover, then the heads above their words */
  main.pub > .hero, main.pub > .faq-head { padding: 56px 20px 48px; }
  .hero h1, .faq-head h1 { font-size: 38px; margin-left: 0; } .hero .lede, .faq-head .lede { font-size: 19px; }
  main.pub > .col, main.pub > .cols, main.pub > .groups, main.pub > .faq-layout { padding: 0 20px; }
  main.pub > .faq-layout { padding-top: 40px; }
  main.pub { font-size: 17px; }
  .col, .cols > div, .group { display: block; }
  main.pub :is(.col, .cols > div, .group) > h2 { margin: 48px 0 12px; font-size: 26px; }
  :is(.col, .cols > div, .group) > h2 + *, :is(.col, .cols > div, .group) > :first-child, :is(.col, .cols > div, .group) > h2:first-child + * { margin-top: 0; }
  :is(.col, .cols > div, .group) > :first-child:not(h2) { margin-top: 48px; }
  #pages li { grid-template-columns: 1fr; gap: 6px; }
  /* the docs rail above the page on a phone: the titles wrap as a short list, the current one underlined */
  .col.docs > .docs-rail { position: static; margin-top: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .docs-rail ul { display: flex; flex-wrap: wrap; gap: 4px 18px; border-left: 0; }
  .docs-rail a { display: inline; padding: 0; margin: 0; border: 0; }
  .docs-rail a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-ink); text-underline-offset: 4px; }
  main.pub .docs-text { margin-top: 32px; }
  #cards .cloth { padding: 20px 20px 16px; margin: 0 -20px; }
  footer.pub-foot { padding: 16px 16px 40px; margin-top: 96px; }
  /* the front page on a phone: one vertical; the spines a list, each plate beside its title; a chapter's plate above its
     numeral and title */
  .facade, .floor .facade, .opening .facade { padding: 0 20px; }
  .opening { padding: 56px 0 64px; } .opening .product-mark { font-size: 24px; margin: 0 0 16px; } .opening .product-mark .by { font-size: 17px; } .opening h1 { font-size: 38px; margin: 0 0 28px; } .opening .lede { font-size: 19px; margin-bottom: 32px; }
  .spines { grid-template-columns: 1fr; }
  .spines a { flex-direction: row; align-items: center; min-height: 0; } .spines .art { flex: 0 0 96px; height: 96px; }
  .spines .t { font-size: 24px; margin: 0 18px; }
  .chapter { padding-top: 88px; }
  .opener { margin-bottom: 24px; border-bottom-width: 6px; } .opener h2 { font-size: 30px; padding-bottom: 14px; }
  .lead-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; } .lead-row .art, .c4 .lead-row .art { order: -1; margin: 0 -20px; position: relative; top: 0; aspect-ratio: 3 / 2; }   /* the plate first, under the title; one column, so it does not ride */
  .floor > .facade > h2 { font-size: 28px; } .floor .ch-lead { font-size: 19px; margin-bottom: 32px; }
  .bays, .bays.n3, .case .bays { grid-template-columns: 1fr; row-gap: 28px; }
  .rows .bay { grid-template-columns: 1fr; gap: 8px; }
  .limits-card { display: block; padding: 24px 20px 28px; margin: 0 -20px; } .limits-card > h2 { margin: 0 0 24px; font-size: 28px; }
  .case .bay:last-child p { font-size: 20px; }
  .fig .juror { font-size: 17px; grid-template-columns: 1fr; gap: 16px; } .fig .juror .who { font-size: 24px; }   /* stacked on a phone, so each line keeps its width */
  .floor .fig { padding: 20px 20px 16px; margin: 0 -20px; } .report-frame { padding: 10px; margin: 0 -20px; } .report-box { padding: 24px 18px 20px; } .excerpt { font-size: 18px; }
}

/* The newsletter's form on Updates (2026-10-18; spec 026 item 8): the label above, then the field and the button on one
   line, the field taking the room; the same field and button as the app's (app.css). */
form.newsletter { max-width: 34em; margin-top: 20px; }
form.newsletter .nl-row { display: flex; gap: 8px; align-items: stretch; }
form.newsletter .nl-row input { flex: 1; min-width: 0; }
form.newsletter .nl-row button { flex: none; }
form.newsletter .small { margin: 8px 0 0; }
#nl-confirm .nl-go { margin-top: 24px; }   /* the confirmation page's one button, clear of its sentence */

/* ---- The pricing page (2026-11-01; recast 2026-11-02 from the user's edit: "four side by side columns or ... a 2x2
   square", "center aligned", the practice set large, the offer not "buried as a subheading", no dashes or bullets). A
   fee schedule under a double rule in the chapter's colour (the cost chapter's plum), four columns parted by hairlines.
   Each column, centred, opens on whom it serves in the display face; the offer stands beneath in a band of paper
   ruled in the chapter's colour, set large in that colour with its terms in small caps; two short lines follow. The columns share
   their rows (subgrid), so the bands line up however the heads wrap. Two by two below 1180px, one column on a phone. */
main.pub > .schedule { max-width: var(--facade); margin: 0 auto; padding: 80px 40px 0; box-sizing: border-box; }
.schedule > h2 { margin: 0 0 18px; padding: 0; border: 0; font: 400 24px/1.25 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.tariff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; border-top: 4px double var(--c-ink); border-bottom: 1px solid var(--line); }
.tariff.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tariff.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tier { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 34px 20px 30px; text-align: center; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier h3.tier-who { align-self: end; margin: 0 0 24px; font: 400 28px/1.15 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--ink); text-wrap: balance; }
.tier-offer { margin: 0 0 22px; padding: 16px 8px 15px; background: var(--paper); border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); }
.tier-offer b { display: block; font: 400 25px/1.15 var(--font-display); color: var(--c-ink); }
.tier-offer span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.3; font-variant: small-caps; text-transform: lowercase; letter-spacing: .1em; color: var(--body); }
.tier-lines { font-size: 16px; line-height: 1.5; color: var(--body); }
.tier-lines p { margin: 0 auto; max-width: 17em; text-wrap: pretty; }
.tier-lines p + p { margin-top: 10px; }
main.pub > .col.paying .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }   /* two by two beside the heading */
.paying .bay { border-top: 2px solid var(--c-ink); }
.paying .bay h3 { font: italic 400 19px/1.3 var(--font-body); }
.paying .bay p { font-size: 16px; }
main.pub > .col.paying p.join { margin-top: 48px; }
main.pub .col p.join { margin-top: 40px; }
.rows .more { margin: 16px 0 0; font-size: 17px; }
@media (max-width: 1180px) {
  .tariff { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto auto 1fr; }
  .tier:nth-child(odd) { border-left: 0; }
  .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  main.pub > .schedule { padding: 56px 20px 0; }
  .tariff, .tariff.n2, .tariff.n3 { grid-template-columns: 1fr; grid-template-rows: none; }
  .tier { grid-row: auto; grid-template-rows: none; padding: 28px 4px 26px; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .tier h3.tier-who { font-size: 26px; margin-bottom: 18px; }
  main.pub > .col.paying .bays { grid-template-columns: 1fr; row-gap: 28px; }
}

/* How it works (2026-11-02, the user: "an extended movie trailer"): the run's three stops as a thread under the cover,
   then four specimens of one sample run, each a sheet in the report's decided layout (spec 011, 2026-10-21) with
   numbered pins, its side-head and numbered notes in the margin beside it, as a catalogue sets notes beside a plate.
   Rules, not boxes; the sheet is the report's paper. */
main.pub > .thread-wrap { max-width: var(--facade); margin: 0 auto; padding: 56px 40px 0; box-sizing: border-box; }
.thread { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--c-ink); }
.thread li { border-left: 1px solid var(--line); }
.thread li:first-child { border-left: 0; }
.thread a { display: block; padding: 16px 20px 4px; color: var(--ink); text-decoration: none; font: 400 22px/1.25 var(--font-display); }
.thread li:first-child a { padding-left: 0; }
.thread a:hover, .thread a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.thread .n { display: block; font: 400 40px/1 var(--font-display); color: var(--c-ink); margin-bottom: 8px; }
main.pub > .spec { max-width: var(--facade); margin: 0 auto; padding: 96px 40px 0; box-sizing: border-box;
  display: grid; grid-template-columns: 232px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.spec-notes { grid-column: 1; position: sticky; top: 24px; }
.spec-notes .stop { margin: 0 0 8px; color: var(--muted); font-size: 16px; }
main.pub .spec-notes h2 { margin: 0 0 20px; padding: 0; border: 0; font: 400 24px/1.25 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--c-ink); }
.notes { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.notes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); margin: 0 0 14px; }
.notes .n, .sheet .pin { font: 400 17px/1 var(--font-display); color: var(--c-ink); }
.notes .n { padding-top: 3px; }
.spec-notes .more { margin: 24px 0 0; font-size: 16px; }
.spec > .sheet { grid-column: 2; }
/* the sheet: the report's paper, its reading type and its marks */
.sheet { background: var(--paper); border-top: 2px solid var(--ink); padding: 32px 36px 36px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.sheet p { margin: 0 0 12px; }
/* a pin hangs in the margin just left of what it marks, so it never moves the text */
.sheet :has(> .pin) { position: relative; }
.sheet .pin { position: absolute; left: -20px; top: .2em; font-size: 15px; }
.sheet .sp-title { font: 400 30px/1.15 var(--font-display); margin: 0 0 8px; }
.sheet .sp-meta { color: var(--muted); margin-bottom: 24px; }
.sheet .sp-label { color: var(--muted); margin: 24px 0 6px; }
.sheet .sp-rq { font-size: 21px; line-height: 1.5; max-width: 30em; }
.sheet .sp-list { margin: 0; padding-left: 1.1em; }
.sheet .sp-list li { margin: 0 0 4px; }
.sheet .sp-eyebrow { color: var(--muted); margin: 0 0 4px; }
.sheet .sp-q { font: 400 32px/1.15 var(--font-display); margin: 0 0 20px; max-width: 18em; }
.sheet .sp-entered { color: var(--muted); max-width: 36em; }
.sheet .juror { margin-top: 8px; }
.sheet .juror .who { font-style: normal; color: var(--ink); }
.sheet .juror dt { font-size: 16px; text-transform: none; letter-spacing: 0; }   /* the report's one type system: no small caps (011, 2026-10-21) */
.sheet .juror .real dt::after { content: " · real"; font-variant: normal; letter-spacing: 0; color: var(--muted); }
.sheet .juror .made dt::after { content: " · modeled"; font-variant: normal; letter-spacing: 0; color: var(--muted); }
.poss { display: grid; gap: 28px; margin-top: 20px; align-items: start; }
.poss.k2 { grid-template-columns: 1.4fr 1fr; }
.poss.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pos { border-top: 2px solid var(--ink); padding-top: 12px; min-width: 0; }
.sheet .pos .num { font: 400 56px/1 var(--font-display); margin: 0 0 6px; }
.sheet .pos .lbl { font-weight: 600; margin: 0 0 10px; }
.pos .lbl.defense { color: var(--defense); } .pos .lbl.mixed { color: var(--mixed); } .pos .lbl.state { color: var(--state); }
.sheet .mk { margin: 0 0 16px; }
.mks { display: flex; gap: 1px; color: var(--ink); line-height: 0; }
.mks i { flex: 1 1 0; max-width: 8px; aspect-ratio: 1; border: 1px solid var(--line); box-sizing: border-box; }
.mks i.on { background: currentColor; border-color: currentColor; }
.mks.defense { color: var(--defense); } .mks.mixed { color: var(--mixed); } .mks.state { color: var(--state); }
.sheet blockquote.ans { margin: 0 0 12px; }
.sheet blockquote.ans p { margin: 0 0 4px; }
.sheet .attr { color: var(--muted); }
.sheet .all span { display: inline-block; border: 1px solid var(--ink); padding: 6px 12px 4px; font-size: 16px; }
@media (max-width: 1000px) {
  .poss.k3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  main.pub > .spec { grid-template-columns: minmax(0, 1fr); padding: 64px 16px 0; }
  .spec-notes { position: static; margin-bottom: 20px; }
  .spec > .sheet { grid-column: 1; }
  .sheet { padding: 24px 18px 28px; }
  .sheet .sp-q { font-size: 26px; }
  .poss.k2 { grid-template-columns: minmax(0, 1fr); }
  main.pub > .thread-wrap { padding: 40px 16px 0; }
  .thread a { font-size: 17px; padding: 12px 10px 4px; }
  .thread .n { font-size: 30px; }
}
