/* Hallmark · shape: Workbench · genre: playful · theme: Werkstatt (deal 1/3, seed miniatures-real-size-model-cfaf·3443b3d6·2026-12-05·r0) · job: try · draw: manual
 * hero: a head beside a framed museum plate (the calculator keeps its three boxed cells) · nav: edge-aligned, the wordmark and seven links, a Menu button on a phone · footer: a ruled note over the credit lines · imagery: museum paintings (CC0) in ruled frames, credited under each · signature: ruled ledgers and timelines, the years in Jost figures · werkstatt: putty
 * axes: mid/geometric-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, long pages of quoted history; ruled sections and timelines break them up */
/* Hallmark · waive 77 · every page · a guide to schools of painting, a calculator and a table of scales, not a landing strip */
/* Hallmark · waive 44c · every page · the head and its plate fill the first screen; on the calculator the three cells, on the table page the head over its table */
/* Hallmark · waive 79 · the calculator · the space under the cells is the margin before the footer */
/* Hallmark · waive 78 · the painting pages · each question heads a narrow reading column beside its picture; at the section size it would break over four lines */
:root {
  color-scheme: light;
  --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.875rem; --text-md: 1rem; --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(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --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;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --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(84% 0.024 82); --color-paper-2: oklch(79.5% 0.028 80); --color-paper-3: oklch(89.5% 0.018 84);
  --color-ink: oklch(18% 0.008 60); --color-ink-2: oklch(27% 0.01 60); --color-muted: oklch(39% 0.014 62);
  --color-rule: oklch(58% 0.022 72);
  --color-accent: oklch(46% 0.2 264); --color-accent-2: oklch(58% 0.205 33); --color-accent-2-deep: oklch(50% 0.19 31); --color-accent-3: oklch(85% 0.165 92);
  --color-accent-ink: oklch(96% 0.012 82); --color-focus: oklch(46% 0.2 264);
  --font-display: "Jost", "Futura", sans-serif; --font-body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 2px; --rule-box: 3px;
  --shadow-card: none;
  --tracking-display: -0.005em; --display-weight: 700;
}

*, *::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: var(--color-accent-3); 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-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
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; } }
/* photographs: mono */
[data-slot] > img { filter: grayscale(1) contrast(1.18); }

@font-face { font-family: "Jost"; src: url("/fonts/jost-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--color-ink); line-height: 1; overflow-wrap: break-word; min-width: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-ink); text-decoration-color: var(--color-accent-2-deep); text-decoration-thickness: 2px; }
a:hover { color: var(--color-accent); }

.bar { border-bottom: 3px solid var(--color-ink); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-ink); text-decoration: none; }
.wordmark span { color: var(--color-accent); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; color: var(--color-ink); }
.bar__nav a:active { transform: translateY(1px); }
.bar__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }

.hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); max-width: 14ch; }
.hero .lead { margin-top: var(--space-sm); font-size: var(--text-lead); max-width: 44ch; color: var(--color-ink); }

.calc { margin-top: var(--space-xl); }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 3px solid var(--color-ink); background: var(--color-paper-3); }
.cell { padding: var(--space-lg); display: grid; gap: var(--space-sm); align-content: start; border-right: 2px solid var(--color-ink); min-width: 0; }
.cell:last-child { border-right: 0; }
.cell__k { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); }
.cell__n { margin: 0; color: var(--color-ink-2); }
.cell__v { margin: var(--space-sm) 0 0; padding-top: var(--space-sm); border-top: 3px solid var(--color-accent-2); font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.line { display: flex; align-items: end; gap: var(--space-xs); }
.field { display: grid; gap: var(--space-3xs); font-weight: 500; font-size: var(--text-sm); color: var(--color-ink); }
.field input, .line select { font: inherit; font-size: var(--text-lg); color: var(--color-ink); height: 48px; padding: 0 var(--space-sm); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-paper); box-sizing: border-box; }
.field input { width: 8rem; }
.field input:focus-visible, .line select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.field input:disabled, .line select:disabled { opacity: 0.5; cursor: not-allowed; }

.head { padding-block: var(--space-3xl) var(--space-2xl); }
.head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 18ch; }
.head .lead { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 56ch; color: var(--color-ink); }

.sec { padding-block: var(--section-gap-s); border-top: 3px solid var(--color-ink); }
.sec--first { padding-top: var(--space-2xl); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }
.t-wrap { overflow-x: auto; }
.t { border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--color-paper-3); }
.t th, .t td { text-align: right; padding: var(--space-xs) var(--space-md); border: 2px solid var(--color-ink); white-space: nowrap; color: var(--color-ink); }
.t thead th { font-family: var(--font-display); font-weight: 700; }
.t tbody th { text-align: left; font-family: var(--font-display); font-weight: 700; }

.foot { border-top: 3px solid var(--color-ink); }
.foot__in { padding-block: var(--space-2xl) var(--space-3xl); display: grid; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

@media (max-width: 900px) {
  .cells { grid-template-columns: minmax(0, 1fr); }
  .cell { border-right: 0; border-bottom: 2px solid var(--color-ink); }
  .cell:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .hero { padding-top: var(--space-xl); }
  .cell { padding: var(--space-md); }
  /* the scales: one card a scale, each size labelled (the table hid the 1 m column off the side) */
  .t { display: block; background: none; }
  .t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .t tbody { display: grid; gap: var(--space-xs); }
  .t tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs) var(--space-sm); padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); background: var(--color-paper-3); }
  .t tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .t td { display: grid; align-content: start; padding: 0; border: 0; text-align: left; white-space: normal; }
  .t td::before { content: attr(data-label); font-size: var(--text-sm); color: var(--color-muted); }
}

/* ---- the painting pages (2026-12-05, #967): the menu on a phone, crumbs, the head with a plate, the history, plates,
   the ledger of schools, timelines, the study list, quotes and the register ---- */
.menu-btn { display: none; }
.crumbs { padding-top: var(--space-lg); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-muted); }
.crumbs a { color: var(--color-ink-2); }
.crumbs + .head { padding-top: var(--space-lg); }

.head--plate .head__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
.head--plate .plate { max-width: 34rem; }
.head--plate .plate img { width: auto; max-width: 100%; max-height: min(68vh, 560px); }
.head__text { display: grid; gap: var(--space-md); align-content: start; }
.head__text .lead { margin-top: 0; }
.head__more { max-width: 56ch; color: var(--color-ink); }
.head--home h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 16ch; }

.prose { display: grid; gap: var(--space-md); }
.prose > * { max-width: 68ch; }
.prose h2, .sec__in > h2 { font-size: var(--text-2xl); max-width: 32ch; }
.prose h2:not(:first-child) { margin-top: var(--space-xl); }
.prose h3, .sec__in > h3 { font-size: var(--text-lg); margin-top: var(--space-lg); }
.sec__in { display: grid; gap: var(--space-md); }
.sec__lead { max-width: 64ch; color: var(--color-ink-2); }
.ref { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.sum { padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); background: var(--color-paper-3); color: var(--color-ink); }
.more { max-width: 68ch; }

.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--space-xl) var(--space-lg); align-items: start; }
.plate { margin: 0; display: grid; gap: var(--space-xs); min-width: 0; }
.plate img { width: 100%; height: auto; border: 3px solid var(--color-ink); background: var(--color-paper-3); }
.plate figcaption { display: grid; gap: var(--space-3xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.plate__t { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); line-height: 1.25; color: var(--color-ink); }

.group { margin-top: var(--space-lg); }
.ledger { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--color-ink); max-width: 64rem; }
.ledger li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: 2px solid var(--color-ink); }
.ledger img { width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--color-ink); }
.ledger a { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.ledger p { margin: 0; color: var(--color-ink-2); }
.ledger .yrs { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }

.t--ch tbody th { white-space: normal; min-width: 14rem; max-width: 28rem; }

/* a question and its answer: the answer in a narrow column, the picture beside it */
.story .container { display: grid; }
.spread { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: var(--space-lg) var(--space-3xl); align-items: start; padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.spread--text { padding-block: var(--space-3xl); }
.spread:first-child { border-top: 0; padding-top: 0; }
.spread .plate { max-width: 30rem; }
.spread__text { display: grid; gap: var(--space-lg); align-content: start; max-width: 22rem; }
.spread__text h2 { font-size: var(--text-2xl); }
.spread__text p { font-size: var(--text-lg); line-height: 1.85; }
.spread__text .sum { font-size: var(--text-md); line-height: 1.6; }
.spread__years { display: grid; align-content: start; gap: var(--space-xs); padding-top: var(--space-2xs); font-family: var(--font-display); font-weight: 700; font-size: var(--text-section); line-height: 1; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.t--ch td a, .q__src a { white-space: nowrap; }
/* class 12: a chapter is an object; its number on the left, what the book says in a narrow column beside it */
.chap__in { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 30rem); gap: var(--space-xl) var(--space-3xl); align-items: start; }
.chap__head { display: grid; gap: var(--space-sm); position: sticky; top: var(--space-xl); }
.chap__n { font-family: var(--font-display); font-weight: 700; font-size: var(--text-display); line-height: 0.9; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.chap__head h2 { font-size: var(--text-2xl); }
.chap__pp { color: var(--color-muted); }
.chap__body { display: grid; gap: var(--space-lg); }
.chap__body h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.2; color: var(--color-ink); margin-top: var(--space-3xl); }
.chap__body > h3:first-child { margin-top: 0; }
.q--big { padding: var(--space-lg) var(--space-xl); }
.q--big p { font-size: var(--text-xl); line-height: 1.6; color: var(--color-ink); }
.q--big + .q--big { margin-top: var(--space-lg); }
.chap__body .study { max-width: 24rem; gap: var(--space-3xl); }
.chap__on { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.story__more { padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); max-width: 40rem; }

/* the dates: the years large, what happened under them */
.tl { list-style: none; margin: 0; padding: 0; display: grid; max-width: 40rem; border-top: 3px solid var(--color-ink); }
.tl li { display: grid; gap: var(--space-3xs); padding-block: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.tl__when { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.2; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.tl__what { color: var(--color-ink-2); }
.tl__span { color: var(--color-ink); font-weight: 500; }

.study { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 24rem; }
.study p { font-size: var(--text-lg); line-height: 1.8; }
.study li { padding-top: var(--space-sm); border-top: 2px solid var(--color-ink); }
.study__on { font-size: var(--text-sm); white-space: nowrap; }
.q { margin: 0; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); background: var(--color-paper-3); }
.q p { margin: 0; }
.q__src { font-size: var(--text-sm); color: var(--color-muted); }
.hero__note { margin-top: var(--space-lg); }

.register { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); max-width: 68ch; }
.register__claim { margin: 0; color: var(--color-ink); font-weight: 500; }
.register blockquote { margin: var(--space-xs) 0 0; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); background: var(--color-paper-3); }
.register blockquote p { margin: 0; }
.register__src { margin: var(--space-xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); max-width: 64ch; }

.foot__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.foot__nav a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 2px solid var(--color-ink); color: var(--color-ink); background: var(--color-paper-3); font-weight: 500; text-decoration: none; }
  .menu-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
  .bar__nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: var(--space-sm); }
  .bar__nav.is-open, .bar__nav:target { display: flex; }
  .bar__nav a { border-top: 1px solid var(--color-rule); }
  .head--plate .head__in { grid-template-columns: minmax(0, 1fr); }
  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread__years { display: none; }
  .chap__in { grid-template-columns: minmax(0, 1fr); }
  .chap__head { position: static; }
  .spread__text { max-width: 36rem; }
}
@media (max-width: 600px) {
  .ledger li { grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); }
  .ledger img { width: 56px; height: 56px; grid-row: span 2; }
  .ledger .yrs { grid-column: 2; font-size: var(--text-sm); }
  .t--ch tbody th { min-width: 0; max-width: none; }
  .spread__text p { font-size: var(--text-md); line-height: 1.7; }
  .q--big { padding: var(--space-md) var(--space-lg); }
  .q--big p { font-size: var(--text-lg); }
}
