/* Hallmark · shape: Index-First (a contents page) · genre: editorial · theme: custom, pinned by request (design.md: the margin) · job: find a writer, a book, a shop · idea: "the home is a book's frontispiece and contents; sections carry sidenotes in the outer margin" · vibe: "a well-made book, ink blue on near-white paper"
 * paper: oklch(99.2% 0.002 95) · accent: oklch(45% 0.17 262) · display: Literata · body: Literata · hero: a two-leaf spread, title leaf beside the contents · nav: edge-aligned bar, wordmark, running head, six chapters · footer: colophon · imagery: portraits from Wikimedia Commons, covers from Open Library, in plates and on shelf lines
 * axes: light/display-serif/chromatic-blue · posture: restrained (ink blue is the ribbon, links and the one action) · surface: paper with hairlines · contrast: pass · fold: pass · motion: design.md grammar (ribbon drops once, folios count once, plates rise once, the running head follows) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, portraits and covers vary in quality across the record; a plate without a picture is typeset initials, never a broken image, and every count is an entry on record */
/* Hallmark · waive 19 · the dashes are en dashes inside life dates and year ranges (1920–1998) and inside the sites' own quoted words · typography and quoted data, not our copy; the owner's voice keeps dashes */
/* Hallmark · dismissed 76 · portraits are the Wikimedia Commons files named on each writer's Wikidata record, hot-linked and credited on the page */
/* Hallmark · dismissed 58 · the first window is the frontispiece: a six-word head, one sentence, two actions and a six-line contents list whose folios are counts; the plates below carry a name and a date each */
/* Hallmark · waive 79 · the hero's right leaf is the contents list, a table of links, so the text column ends at the actions · the contents is the hero's content, as design.md asks */
/* Hallmark · waive 77 · the write band holds one line, two actions and the typed address, once · it is the register's last line */
/* Hallmark · waive 49b · the entries of the shelf and language lists and the plate captions are names, not controls · a long name may run to two lines */
/* Hallmark · answered F15 · every multi-column section shares the 64px column gap; a form's field pair keeps the field gap so the two inputs read as one row */
/* Hallmark · answered F19 · dates, counts, folios and ISBNs are Geist Mono because the book's figures are typed; every label is the body face */
/* readmore.in tokens: design.md's margin in OKLCH on Hallmark's role names. Light (the page) for everyone; the reading lamp
   is a choice the visitor makes with the footer toggle, remembered in the browser, never the OS switch. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(1.75rem, 2vw + 1rem, 2.75rem); --text-title: clamp(1.2rem, 0.6vw + 0.9rem, 1.5rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1280px; --gutter: 64px; --margin: 240px; --gap-columns: 32px; --section-gap-s: 112px; --section-gap: 136px; --section-gap-l: 168px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  --color-paper: oklch(99.2% 0.002 95);
  --color-paper-2: oklch(99.6% 0.003 95);
  --color-paper-3: oklch(97% 0.005 95);
  --color-ink: oklch(17% 0.01 60);
  --color-ink-2: oklch(32% 0.01 60);
  --color-muted: oklch(47% 0.01 60);
  --color-rule: oklch(86% 0.008 80);
  --color-rule-2: oklch(76% 0.01 80);
  --color-accent: oklch(45% 0.17 262);        /* fountain-pen ink */
  --color-accent-ink: oklch(98.5% 0.008 262);
  --color-focus: oklch(45% 0.17 262);
  --color-marker: oklch(93% 0.12 95);
  --color-error: oklch(52% 0.19 27); --color-success: oklch(48% 0.12 150);
  --color-scrim: oklch(99.2% 0.002 95 / 0.8);

  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Literata", Georgia, "Times New Roman", serif;
  --font-outlier: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius-card: 2px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: 0 1px 2px oklch(17% 0.01 60 / 0.06), 0 10px 30px -20px oklch(17% 0.01 60 / 0.3);
  --tracking-display: -0.012em;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --color-paper: oklch(19% 0.012 60); --color-paper-2: oklch(23% 0.012 60); --color-paper-3: oklch(26% 0.012 60);
  --color-ink: oklch(92% 0.012 80); --color-ink-2: oklch(80% 0.012 80); --color-muted: oklch(66% 0.012 80);
  --color-rule: oklch(32% 0.01 70); --color-rule-2: oklch(42% 0.012 70);
  --color-accent: oklch(74% 0.11 262); --color-accent-ink: oklch(19% 0.012 60); --color-focus: oklch(74% 0.11 262);
  --color-marker: oklch(42% 0.08 95); --color-error: oklch(70% 0.17 27); --color-success: oklch(72% 0.13 150);
  --color-scrim: oklch(19% 0.012 60 / 0.8); --shadow-card: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }


/* ---------- the page ---------- */
body { background-color: var(--color-paper); font-variation-settings: "opsz" 14; line-height: 1.6; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.with-margin { position: relative; }
@media (min-width: 1200px) { .with-margin { padding-right: var(--margin); } }
@media (max-width: 720px) { :root { --gutter: 16px; --section-gap-s: 72px; --section-gap: 88px; } }
.skip { position: absolute; left: var(--space-md); top: -100px; padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card); z-index: var(--z-toast); }
.skip:focus-visible { top: var(--space-md); }
.mono { font-family: var(--font-outlier); font-size: 0.86em; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ribbon { position: fixed; top: 0; left: calc(var(--gutter) + var(--space-xs)); width: 10px; height: 84px; background: var(--color-accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); z-index: var(--z-sticky-nav); transform-origin: top; pointer-events: none; }
@media (max-width: 720px) { .ribbon { left: auto; right: 16px; height: 56px; width: 8px; } }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in oklab, var(--color-paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: var(--rule-hair) solid var(--color-rule); }
.top-row { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; padding-left: 28px; }
.brand { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-decoration: none; color: var(--color-ink); font-variation-settings: "opsz" 24; }
.brand-more { font-style: italic; font-weight: 400; }
.brand .tld, .foot-mark .tld { color: var(--color-accent); }
.running { font-size: var(--text-sm); color: var(--color-muted); font-style: italic; margin-left: var(--space-md); min-height: 1em; }
.nav { margin-left: auto; display: flex; gap: var(--space-lg); }
.nav a { text-decoration: none; font-size: var(--text-sm); color: var(--color-ink-2); padding: var(--space-xs) 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--color-ink); border-color: var(--color-rule-2); }
.nav a[aria-current="page"] { color: var(--color-ink); border-color: var(--color-accent); }
.menu-link, .menu-close { display: none; }
@media (max-width: 920px) {
  .top-row { gap: var(--space-sm); padding-left: 0; }
  .running { display: none; }
  .menu-link { display: inline-flex; margin-left: auto; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); text-decoration: none; font-size: var(--text-sm); color: var(--color-ink); }
  .nav { position: fixed; inset: 0; display: none; flex-direction: column; gap: 0; padding: var(--space-2xl) var(--space-lg) var(--space-lg); background: var(--color-paper); z-index: var(--z-modal); }
  .nav:target { display: flex; }
  .nav a { font-size: var(--text-xl); font-family: var(--font-display); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .menu-close { display: inline-flex; position: absolute; top: var(--space-md); right: var(--space-md); padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); font-size: var(--text-sm); }
}

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-card); border: var(--rule-hair) solid transparent; font: inherit; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 85%, var(--color-ink)); }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--quiet:hover { border-color: var(--color-ink); }
a:where(:not(.btn, .brand, .plate-link, .spine)) { color: var(--color-ink); text-decoration-color: color-mix(in oklab, var(--color-accent) 55%, transparent); }
a:where(:not(.btn)):hover { text-decoration-color: var(--color-accent); }
.mark { flex: none; width: 18px; height: 18px; color: var(--color-ink-2); }
.mark--s { width: 15px; height: 15px; }

/* ---------- the spread ---------- */
.hero { padding: var(--space-2xl) 0; min-height: calc(100svh - 64px); display: grid; align-content: center; }
.spread { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.leaf--title { padding-top: var(--space-md); }
.leaf-over { font-size: var(--text-sm); color: var(--color-muted); font-style: italic; }
.leaf--title h1 { margin-top: var(--space-sm); font-size: var(--text-display); font-weight: 500; line-height: 1.02; letter-spacing: var(--tracking-display); font-variation-settings: "opsz" 72; max-width: 12ch; }
.lead { font-size: var(--text-lead); color: var(--color-ink-2); margin-top: var(--space-lg); max-width: 40ch; }
.hero-actions, .band-actions, .form-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.leaf--contents { border-left: var(--rule-hair) solid var(--color-rule); padding-left: var(--space-xl); }
.contents-head { font-size: var(--text-sm); color: var(--color-muted); font-weight: 400; font-style: italic; margin-bottom: var(--space-sm); }
.contents { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.contents li { border-bottom: var(--rule-hair) solid var(--color-rule); padding: var(--space-sm) 0; counter-increment: ch; }
.contents li > a { display: flex; align-items: baseline; gap: var(--space-xs); text-decoration: none; }
.contents li > a::before { content: counter(ch, upper-roman) "."; font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-muted); width: 2.2em; flex: none; }
.c-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; font-variation-settings: "opsz" 24; }
.c-dots { flex: 1; border-bottom: 1px dotted var(--color-rule-2); transform: translateY(-6px); min-width: var(--space-lg); }
.c-folio { font-size: var(--text-md); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.c-note { display: block; padding-left: calc(2.2em + var(--space-xs)); font-size: var(--text-sm); color: var(--color-muted); }
.contents-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 960px) { .spread { grid-template-columns: minmax(0, 1fr); } .leaf--contents { border-left: 0; padding-left: 0; border-top: var(--rule-hair) solid var(--color-rule); padding-top: var(--space-lg); } .leaf--title h1 { max-width: 14ch; } }

/* ---------- sections and sidenotes ---------- */
.section { padding-top: var(--section-gap-s); }
.section--tight { padding-top: var(--space-xl); }
.section-head { font-size: var(--text-section); font-weight: 500; letter-spacing: var(--tracking-display); font-variation-settings: "opsz" 48; margin-bottom: var(--space-md); }
.section-head a { text-decoration: none; }
.section-head .count { font-size: var(--text-sm); color: var(--color-muted); margin-left: var(--space-xs); }
.section-head--late { margin-top: var(--space-2xl); }
.section-lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 58ch; margin-bottom: var(--space-lg); position: relative; }
.section-more, .section-note, .entry-note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.sn-ref { font-family: var(--font-outlier); font-size: 0.7em; vertical-align: super; color: var(--color-accent); margin-left: var(--space-3xs); }
.sidenote { display: block; font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; margin-top: var(--space-sm); }
.sn-no { font-family: var(--font-outlier); color: var(--color-accent); margin-right: var(--space-2xs); }
@media (min-width: 1200px) { .sidenote { position: absolute; left: 100%; top: 0; width: calc(var(--margin) - var(--space-xl)); margin-left: var(--space-xl); margin-top: 0; } }
.plain { padding: var(--space-xl) 0 var(--space-md); }
.plain h1 { font-size: var(--text-display-s); font-weight: 500; letter-spacing: var(--tracking-display); font-variation-settings: "opsz" 72; line-height: 1.05; }
.plain .lead { max-width: 60ch; }
.lead-more { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 60ch; }
.narrow { max-width: 68ch; }
.prose h2 { font-size: var(--text-title); margin-top: var(--space-xl); margin-bottom: var(--space-xs); }
.prose p + p { margin-top: var(--space-md); }
.prose code { font-family: var(--font-outlier); font-size: 0.9em; }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.two--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .two, .two--form { grid-template-columns: minmax(0, 1fr); } }
.aside-head { font-size: var(--text-title); margin-bottom: var(--space-sm); }
.aside p + .aside-head, .aside form + .aside-head { margin-top: var(--space-xl); }

/* rolls and registers */
.roll { list-style: none; margin: 0; padding: 0; }
.roll li { display: flex; align-items: baseline; gap: var(--space-md); padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.roll li a { text-decoration: none; }
.roll li a:hover { text-decoration: underline; }
.roll .n { margin-left: auto; color: var(--color-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roll--cols { columns: 3; column-gap: var(--space-2xl); }
.roll--cols li { break-inside: avoid; }
.roll--plain li { gap: var(--space-lg); }
.roll--plain li span { color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 960px) { .roll--cols { columns: 2; } }
@media (max-width: 600px) { .roll--cols { columns: 1; } }
.register { list-style: none; margin: 0 0 var(--space-lg); padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); align-items: baseline; }
.row-name { text-decoration: none; font-weight: 500; }
.row-kind { font-size: var(--text-sm); color: var(--color-muted); grid-column: 2; grid-row: 1; white-space: nowrap; }
.row-where { font-size: var(--text-sm); color: var(--color-ink-2); grid-column: 1 / -1; }
.state-head { font-size: var(--text-title); font-variant-numeric: tabular-nums; margin-top: var(--space-xl); margin-bottom: var(--space-xs); }
.year-head { font-size: var(--text-lg); margin-top: var(--space-xl); margin-bottom: var(--space-xs); color: var(--color-ink); }
.shelf-list { list-style: none; margin: 0 0 var(--space-lg); padding: 0; columns: 2; column-gap: var(--space-2xl); }
.shelf-list li { break-inside: avoid; border-bottom: var(--rule-hair) solid var(--color-rule); }
.shelf-list li a { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding: var(--space-xs) 0; text-decoration: none; }
.shelf-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; font-variation-settings: "opsz" 24; }
.shelf-list .mono { color: var(--color-muted); text-align: right; }
@media (max-width: 720px) { .shelf-list { columns: 1; } }

/* ---------- plates ---------- */
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.plates--small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-lg) var(--space-2xl); }
@media (max-width: 960px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plates--small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plates--small { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plates { gap: var(--space-lg) var(--space-md); } .plate-name { font-size: var(--text-md); } }
.plate-link { text-decoration: none; display: block; }
.plate-frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; border: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-xs); background: var(--color-paper-2); }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(0.15) contrast(1.02); }
.plate-frame--empty { display: grid; place-items: center; font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-rule-2); font-variation-settings: "opsz" 72; }
.plate--text .plate-frame { background: var(--color-paper-3); }
.plate-name { margin-top: var(--space-sm); font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.2; font-variation-settings: "opsz" 24; }
.plates--small .plate-name { font-size: var(--text-md); }
.plate-link:hover .plate-name { text-decoration: underline; text-decoration-color: var(--color-accent); }
.plate-cap { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-xs); }

/* ---------- shelf lines and spines ---------- */
.shelf-row { display: flex; gap: var(--space-md); overflow-x: auto; padding: var(--space-md) 0 var(--space-md); border-bottom: 2px solid var(--color-ink); scroll-snap-type: x proximity; }
.shelf-row--wrap { flex-wrap: wrap; overflow: visible; }
.spine { flex: none; width: 132px; text-decoration: none; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-xs); }
.spine img { width: 132px; height: 198px; object-fit: cover; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.spine--text .spine-text { height: 198px; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-3); padding: var(--space-sm) var(--space-xs); display: flex; flex-direction: column; justify-content: space-between; }
.spine-title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.spine-by, .spine-year { font-size: var(--text-xs); color: var(--color-muted); }
.spine:not(.spine--text) .spine-text { display: flex; flex-direction: column; gap: var(--space-3xs); }

/* ---------- awards ---------- */
.award-table { max-width: 60ch; }
.award-name { font-size: var(--text-title); margin-bottom: var(--space-xs); }
.award-name a { text-decoration: none; }
.award-name .mono { color: var(--color-muted); margin-left: var(--space-xs); }
.wins { border-collapse: collapse; width: 100%; max-width: 72ch; }
.wins td { padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.wins .w-winner { width: 40%; padding-right: var(--space-md); }
.wins .w-work { color: var(--color-ink-2); font-style: italic; }
.wins .w-year { width: 4.5em; color: var(--color-muted); }
.w-for { color: var(--color-muted); }

/* ---------- cards (writing resources) ---------- */
.cards { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { border-top: 2px solid var(--color-ink); padding-top: var(--space-sm); display: flex; flex-direction: column; gap: var(--space-xs); }
.card-name { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); text-decoration: none; font-variation-settings: "opsz" 24; line-height: 1.2; }
.card-where { font-size: var(--text-sm); color: var(--color-muted); }
.card-about { font-size: var(--text-sm); color: var(--color-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-domain { font-size: var(--text-xs); color: var(--color-muted); margin-top: auto; }

/* ---------- search ---------- */
.search { margin-top: var(--space-lg); max-width: 48ch; position: relative; }
.search label { font-size: var(--text-sm); color: var(--color-ink-2); display: block; margin-bottom: var(--space-xs); }
.search input { width: 100%; font: inherit; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); min-height: 48px; }
.search input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.search-hits { list-style: none; margin: var(--space-xs) 0 0; padding: 0; border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-2); box-shadow: var(--shadow-card); max-height: 60vh; overflow: auto; }
.search-hits li a { display: flex; gap: var(--space-sm); align-items: baseline; padding: var(--space-xs) var(--space-md); text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.search-hits li a:hover, .search-hits li a:focus-visible { background: var(--color-paper-3); }
.search-hits .mono { color: var(--color-muted); margin-left: auto; white-space: nowrap; }
.search-hits mark { background: var(--color-marker); color: inherit; }

/* ---------- entries ---------- */
.entry-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
@media (max-width: 860px) { .entry-grid { grid-template-columns: minmax(0, 1fr); } .entry-side { order: -1; } }
.entry-kind { font-size: var(--text-sm); color: var(--color-muted); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-xs); }
.entry h1 { margin-top: var(--space-xs); }
.entry-facts { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-lg); }
.entry-desc { margin-top: var(--space-md); max-width: 62ch; }
.extract { margin-top: var(--space-lg); max-width: 62ch; position: relative; }
.extract > p:first-child { font-size: var(--text-lg); line-height: 1.55; }
.extract > p:first-child::first-letter { font-family: var(--font-display); font-size: 3.2em; float: left; line-height: 0.85; padding: var(--space-xs) var(--space-xs) 0 0; font-variation-settings: "opsz" 72; }
.credit { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); position: relative; }
.entry-h { font-size: var(--text-title); margin-top: var(--space-xl); margin-bottom: var(--space-xs); padding-bottom: var(--space-2xs); border-bottom: 2px solid var(--color-ink); max-width: 62ch; }
.entry-source { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.entry-shelves { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-ink-2); }
.reach { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
.reach li { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.portrait, .cover { margin: 0; }
.portrait img, .cover img { width: 100%; max-width: 320px; height: auto; border: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-xs); background: var(--color-paper-2); }
.portrait figcaption, .cover figcaption { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); max-width: 320px; }
.minimap { border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-3); aspect-ratio: 4 / 3; max-width: 320px; display: grid; place-items: center; }
.minimap-link { font-family: var(--font-outlier); font-size: var(--text-sm); }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: var(--space-md); }
.form--tight { gap: var(--space-sm); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: var(--text-sm); color: var(--color-ink-2); }
.field input:not([type="checkbox"]), .field select, .field textarea { font: inherit; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); min-height: 44px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-focus); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent, .form-help { font-size: var(--text-sm); color: var(--color-muted); }
.form-help { align-self: center; }
.form-help.is-error { color: var(--color-error); }

/* ---------- band and footer ---------- */
.section--band { padding-bottom: var(--section-gap-s); }
.band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-xl) var(--space-2xl); align-items: center; padding: var(--space-xl) 0; border-top: 2px solid var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.band h2 { font-size: var(--text-section); font-weight: 500; letter-spacing: var(--tracking-display); font-variation-settings: "opsz" 48; }
.band p { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 48ch; }
.band-mail { justify-self: end; font-family: var(--font-outlier); font-size: clamp(1.1rem, 2.4vw, 2rem); overflow-wrap: anywhere; }
.band-mail a { text-decoration: none; border-bottom: 3px solid var(--color-accent); }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); } .band-mail { justify-self: start; } }
.foot { margin-top: var(--section-gap); padding: var(--space-2xl) 0 var(--space-xl); border-top: 2px solid var(--color-ink); }
.foot-mark { font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); letter-spacing: var(--tracking-display); font-variation-settings: "opsz" 72; }
.foot-line { margin-top: var(--space-xs); color: var(--color-ink-2); max-width: 48ch; font-style: italic; }
.foot-cols { display: flex; flex-wrap: wrap; gap: var(--space-xl) var(--space-3xl); margin-top: var(--space-xl); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-xs); font-size: var(--text-sm); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-theme { margin-top: var(--space-xl); }
.foot-note { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); max-width: 76ch; }
main:has(> .section--band:last-child) + .foot { margin-top: 0; }

/* ---------- motion seams ---------- */
.js-motion [data-rise] { opacity: 0; transform: translateY(12px); }
.js-motion [data-rise].is-in { opacity: 1; transform: none; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } .js-motion [data-rise] { opacity: 1; transform: none; } }
