/* Hallmark · shape: ten layouts behind one selector · genre: editorial · theme: custom · job: try · hero: per layout · nav: wordmark, three links, the other language, one action · footer: mast · imagery: the product (screenshots of lostbooks.store) · signature: the demo shop switched between its six languages
 * axes: ten layouts x ten colour schemes, none brown · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: P, the category line; the six real language captures and the one-copy rule carry the argument */
/* Hallmark · answered sweep · sloplint not run: the project forbids Node.js; the gates were walked by hand and the page rendered with Chromium */

/* The antiquaro.app website (website/; pages by tools/website-build). Fonts are served from /fonts/, never
   from Google: a German court has ruled loading them from Google a GDPR breach.
   The layout is a class on <body> (.l-*), the colour scheme another (.p-*). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/familjen-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/familjen-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/gelasio-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/gelasio-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/karla-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/karla-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/karla-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Bodoni"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/libre-bodoni-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Bodoni"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/libre-bodoni-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/mulish-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/mulish-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/mulish-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/work-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/work-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/work-sans-latin-600-normal.woff2") format("woff2"); }

/* ---------- Colour schemes: one class on <body>, none of them brown ---------- */
:root, .p-delft { --paper: #F6F8FB; --paper-2: #E7EDF6; --ink: #11203B; --muted: #46546E; --rule: #C7D2E3; --accent: #1F4FA8; --accent-ink: #FFFFFF; color-scheme: light; }
.p-petrol   { --paper: #F3F6F6; --paper-2: #E3EBEB; --ink: #0F2224; --muted: #465A5C; --rule: #C3D2D2; --accent: #0B5F63; --accent-ink: #FFFFFF; color-scheme: light; }
.p-indigo   { --paper: #0F1430; --paper-2: #1A2148; --ink: #ECEFFA; --muted: #AEB6D6; --rule: #323B6A; --accent: #9DB2FF; --accent-ink: #0F1430; color-scheme: dark; }
.p-forest   { --paper: #F4F7F5; --paper-2: #E2ECE5; --ink: #13231A; --muted: #4A5B50; --rule: #C4D5C9; --accent: #1E6B45; --accent-ink: #FFFFFF; color-scheme: light; }
.p-plum     { --paper: #F8F6FA; --paper-2: #ECE5F1; --ink: #221628; --muted: #57485E; --rule: #D6CBDD; --accent: #6A2C7A; --accent-ink: #FFFFFF; color-scheme: light; }
.p-signal   { --paper: #F5F6F8; --paper-2: #E7E9EE; --ink: #16191F; --muted: #4E5560; --rule: #CDD1D8; --accent: #C8102E; --accent-ink: #FFFFFF; color-scheme: light; }
.p-lagoon   { --paper: #F2FAF9; --paper-2: #DDF1EE; --ink: #0E2B2A; --muted: #40605E; --rule: #BCDDD8; --accent: #00756B; --accent-ink: #FFFFFF; color-scheme: light; }
.p-graphite { --paper: #15181D; --paper-2: #1F242B; --ink: #E9EDF2; --muted: #A3ACB8; --rule: #343B45; --accent: #6CB4FF; --accent-ink: #0B1520; color-scheme: dark; }
.p-royal    { --paper: #F7F8FC; --paper-2: #FFF4B8; --ink: #101633; --muted: #4A5175; --rule: #CDD2E6; --accent: #2B3FD6; --accent-ink: #FFFFFF; color-scheme: light; }
.p-emerald  { --paper: #0D1F1A; --paper-2: #16302A; --ink: #E6F2EC; --muted: #A2BDB2; --rule: #2C4A41; --accent: #3DDC97; --accent-ink: #0D1F1A; color-scheme: dark; }

/* ---------- Layouts: each its own type pairing ---------- */
:root, .l-compare { --display: "Spectral", Georgia, serif; --body: "Work Sans", system-ui, sans-serif; --display-weight: 500; --radius: 4px; }
.l-stage     { --display: "Libre Caslon Display", Georgia, serif; --body: "Hanken Grotesk", system-ui, sans-serif; --display-weight: 400; --radius: 0; }
.l-rail      { --display: "Fraunces", Georgia, serif; --body: "Instrument Sans", system-ui, sans-serif; --display-weight: 600; --radius: 10px; }
.l-index     { --display: "Newsreader", Georgia, serif; --body: "IBM Plex Sans", system-ui, sans-serif; --display-weight: 400; --radius: 0; }
.l-promise   { --display: "Familjen Grotesk", system-ui, sans-serif; --body: "Familjen Grotesk", system-ui, sans-serif; --display-weight: 700; --radius: 4px; }
.l-saleroom  { --display: "Cormorant Garamond", Georgia, serif; --body: "Karla", system-ui, sans-serif; --display-weight: 600; --radius: 0; }
.l-ledger    { --display: "Fraunces", Georgia, serif; --body: "Geist", system-ui, sans-serif; --display-weight: 400; --radius: 6px; }
.l-atlas     { --display: "Libre Bodoni", Georgia, serif; --body: "Public Sans", system-ui, sans-serif; --display-weight: 400; --radius: 0; }
.l-workbench { --display: "Schibsted Grotesk", system-ui, sans-serif; --body: "Schibsted Grotesk", system-ui, sans-serif; --display-weight: 700; --radius: 12px; }
.l-colophon  { --display: "Gelasio", Georgia, serif; --body: "Mulish", system-ui, sans-serif; --display-weight: 500; --radius: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; font-synthesis: none; }
h1 { font-size: clamp(2.6rem, 5vw + 0.8rem, 5rem); max-width: 16ch; }
h2 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.4rem); max-width: 22ch; }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: 0; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
dl { margin: 0; }
.wrap { width: 100%; max-width: 1392px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 40px; } }
.lead { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.35rem); line-height: 1.45; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sec { padding-block: clamp(72px, 9vw, 136px) 0; }
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); }
.stack { display: grid; gap: 22px; align-content: start; }
.after { margin-top: 32px; }
.skip { position: absolute; left: 16px; top: 16px; z-index: 10; padding: 12px 16px; background: var(--accent); color: var(--accent-ink); transform: translateY(-300%); }
.skip:focus-visible { transform: none; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--body); text-decoration: none; border: 0; border-radius: var(--radius); white-space: nowrap; cursor: pointer; transition: filter 0.2s ease-out; }
.btn:hover { filter: brightness(1.12); }
.btn:active { filter: brightness(0.95); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; transition: color 0.2s ease-out; }
.link:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.fill { color: var(--muted); outline: 1px dashed currentColor; outline-offset: 3px; padding-inline: 4px; }

/* The design selector (/designs/ only) */
.picker { background: var(--ink); color: var(--paper); position: relative; z-index: 2; }
.picker .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 8px; }
.picker .title { font-weight: 600; margin: 0 auto 0 0; }
.picker details { position: relative; }
.picker summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid color-mix(in oklab, var(--paper) 40%, transparent); border-radius: 6px; cursor: pointer; }
.picker summary .small { opacity: 0.75; }
.picker details ul { position: absolute; left: 0; top: calc(100% + 4px); min-width: min(320px, 90vw); max-height: 70vh; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 8px 24px color-mix(in oklab, var(--ink) 25%, transparent); }
.picker details a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 6px; color: inherit; text-decoration: none; }
.picker details a:hover, .picker details a[aria-current] { background: var(--paper-2); }
.picker details a[aria-current] { font-weight: 600; }
.picker .chip { flex: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--paper) 50%, var(--accent) 50%); border: 1px solid var(--ink); }
.picker .steps { display: flex; gap: 8px; }
.picker .steps a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid color-mix(in oklab, var(--paper) 40%, transparent); border-radius: 6px; text-decoration: none; color: inherit; }
.picker :focus-visible { outline-color: var(--paper); }
.picker details ul :focus-visible { outline-color: var(--accent); }

/* Nav */
.nav { border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding-block: 14px; }
.wordmark { font-family: var(--display); font-weight: var(--display-weight); font-size: 2rem; line-height: 1; text-decoration: none; letter-spacing: -0.01em; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; }
.nav li a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.nav li a:not(.btn):hover { border-color: var(--accent); }

/* The demo shop in six languages: radio buttons, no script */
.langs { display: grid; grid-template-columns: auto minmax(0, 300px); gap: 28px; align-items: center; justify-content: center; margin: 0; }
.langs fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; }
.langs legend { padding: 0; margin-bottom: 8px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.langs input { appearance: none; width: 0; height: 0; margin: 0; border: 0; opacity: 0; }
.langs label { display: flex; align-items: center; min-height: 44px; padding-inline: 14px; border-left: 3px solid var(--rule); cursor: pointer; }
.langs label:hover { border-color: var(--muted); }
.langs input:checked + label { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.langs input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.langs .shots img { width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 14%, transparent); }
.langs .shots img:not(.default) { display: none; }
@supports selector(:has(*)) {
  .langs:has(input:checked) .shots img { display: none; }
  .langs:has(.r-en:checked) .shot-en, .langs:has(.r-nl:checked) .shot-nl, .langs:has(.r-fr:checked) .shot-fr,
  .langs:has(.r-de:checked) .shot-de, .langs:has(.r-it:checked) .shot-it, .langs:has(.r-es:checked) .shot-es { display: block; }
}
.langs figcaption { grid-column: 1 / -1; text-align: center; font-size: 0.875rem; color: var(--muted); justify-self: center; max-width: 44ch; }
@media (max-width: 560px) {
  .langs { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .langs fieldset { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .langs legend { grid-column: 1 / -1; }
  .langs label { border-left: 0; border-bottom: 3px solid var(--rule); justify-content: center; padding-inline: 4px; }
  .langs .shots { width: min(100%, 300px); }
}

/* Rows of facts */
.spec { border-top: 2px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-size: 1.1rem; line-height: 1.45; }
@media (max-width: 560px) { .spec > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* The sale's states */
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.scale li { display: grid; align-content: start; gap: 10px; padding: 22px 20px 22px 0; border-top: 5px solid transparent; margin-top: -3.5px; }
.scale li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.scale li.knock { border-top-color: var(--accent); }
.scale .state { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.7rem, 2vw + 0.6rem, 2.4rem); line-height: 1.05; overflow-wrap: break-word; min-width: 0; }
.scale .where { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.scale.column { grid-template-columns: minmax(0, 1fr); border-top: 0; }
.scale.column li, .scale.column li + li { padding: 14px 0; border-left: 0; margin: 0; border-top: 1px solid var(--rule); }
.scale.column li:first-child { border-top: 0; }
.scale.column li.knock { border-top: 5px solid var(--accent); }
.scale.column .state { font-size: 1.7rem; }
@media (max-width: 900px) {
  .scale { grid-template-columns: minmax(0, 1fr); }
  .scale li, .scale li + li { padding: 16px 0; border-left: 0; margin-top: 0; border-top: 1px solid var(--rule); }
  .scale li:first-child { border-top: 0; }
  .scale li.knock { border-top: 5px solid var(--accent); }
}

/* Promises and the paperwork */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.promises li { display: grid; gap: 8px; align-content: start; padding-block: 22px; border-top: 1px solid var(--rule); }
.promises strong { font-family: var(--display); font-weight: var(--display-weight); font-size: 1.6rem; line-height: 1.1; }
@media (max-width: 900px) { .promises { grid-template-columns: minmax(0, 1fr); } }
.big-list { border-top: 2px solid var(--ink); }
.big-list li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.big-list strong { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1.02; }
@media (max-width: 700px) { .big-list li { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.band { background: var(--paper-2); padding-block: clamp(64px, 8vw, 112px); margin-top: clamp(72px, 9vw, 136px); }
.close { background: var(--accent); color: var(--accent-ink); padding-block: clamp(64px, 8vw, 112px); margin-top: clamp(72px, 9vw, 136px); }
.close .lead { color: var(--accent-ink); }
.close .head { margin: 0; }
.close .btn { background: var(--accent-ink); color: var(--accent); }
.close .fill { color: var(--accent-ink); }
.close :focus-visible { outline-color: var(--accent-ink); }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
@media (max-width: 900px) { .close-grid { grid-template-columns: minmax(0, 1fr); } }

.footer { padding-block: 72px 48px; }
.footer .mast { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; padding-bottom: 20px; border-bottom: 2px solid var(--ink); max-width: none; }
.footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 18px; font-size: 0.875rem; color: var(--muted); }
.footer ul { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; }
.footer a:hover { color: var(--accent); }

/* Two columns: a picture or list beside a head and rows */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Compare */
.compare-hero { display: grid; gap: 22px; padding-block: 48px 0; }
.vs { overflow-x: auto; margin-top: 20px; }
.vs table { width: 100%; min-width: 640px; border-collapse: collapse; }
.vs caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: 0.875rem; color: var(--muted); }
.vs th, .vs td { text-align: left; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.vs thead th { font-size: 0.875rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.vs thead th.us { color: var(--accent); }
.vs td.us { font-weight: 600; }
.vs tbody th { font-weight: 600; width: 22%; }

/* Stage */
.stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; min-height: min(760px, calc(100svh - 140px)); padding-block: 56px; }
@media (max-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; } }

/* Rail */
.rail-hero { text-align: center; padding-block: 72px 0; }
.rail-hero h1 { margin-inline: auto; }
.rail-hero .lead { margin: 22px auto 30px; }
.rail-hero .actions { justify-content: center; }
.rail-hero .note { margin: 16px auto 0; }
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 56px; align-items: start; }
.rail figure { margin: 0; display: grid; gap: 10px; }
.rail img { width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 14%, transparent); }
.rail figcaption { font-size: 0.875rem; font-weight: 600; text-align: center; }
.rail figure:nth-child(even) { margin-top: 40px; }
@media (max-width: 900px) { .rail { grid-template-columns: repeat(6, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 12px; } .rail figure:nth-child(even) { margin-top: 0; } }
.feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
.feat > div { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.feat > div:nth-child(1), .feat > div:nth-child(6) { grid-column: span 5; }
.feat > div:nth-child(2), .feat > div:nth-child(5) { grid-column: span 4; }
.feat > div:nth-child(3), .feat > div:nth-child(4) { grid-column: span 3; }
@media (max-width: 900px) { .feat > div:nth-child(n) { grid-column: 1 / -1; } }

/* Index */
.index-hero { padding-block: 64px 0; }
.index-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.index { border-top: 2px solid var(--ink); }
.index a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color 0.2s ease-out; }
.index a:hover { background: var(--paper-2); }
.index .t { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.index .go { color: var(--accent); font-weight: 600; }
@media (max-width: 700px) { .index a { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Promise */
.l-promise .nav, .promise-hero { background: var(--ink); color: var(--paper); }
.l-promise .nav { border-color: color-mix(in oklab, var(--paper) 18%, transparent); }
.l-promise .nav .btn { background: var(--paper); color: var(--ink); }
.promise-hero { padding-block: 88px; }
.promise-hero h1 { max-width: 15ch; }
.promise-hero .lead { color: var(--paper); }
.promise-hero .btn { background: var(--paper); color: var(--ink); }
.promise-hero .btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.l-promise .nav :focus-visible, .promise-hero :focus-visible { outline-color: var(--paper); }

/* Saleroom */
.sale-hero { padding-block: 72px; background: var(--paper-2); }
.sale-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.sale-hero h1 { font-size: clamp(2.8rem, 6vw + 0.5rem, 6rem); }
@media (max-width: 900px) { .sale-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Ledger */
.ledger { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding-block: 56px; }
.price { border: 2px solid var(--ink); padding: 32px; display: grid; gap: 16px; border-radius: var(--radius); }
.price .fig { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; }
.price .fill { justify-self: start; }
.price ul { display: grid; gap: 8px; }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--accent); }
@media (max-width: 900px) { .ledger { grid-template-columns: minmax(0, 1fr); } }

/* Atlas */
.atlas-hero { padding-block: 64px 0; }
.atlas-hero h1 { max-width: 18ch; }
.atlas-sec { padding-top: 72px; }
.atlas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.atlas div { display: grid; gap: 10px; align-content: start; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--rule); }
.atlas div:nth-child(3n+2), .atlas div:nth-child(3n) { padding-left: 24px; border-left: 1px solid var(--rule); }
.atlas .code { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.atlas .line { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.5rem, 2vw + 0.5rem, 2.2rem); line-height: 1.1; }
@media (max-width: 900px) { .atlas { grid-template-columns: minmax(0, 1fr); } .atlas div, .atlas div:nth-child(3n+2), .atlas div:nth-child(3n) { padding: 20px 0; border-left: 0; } }

/* Workbench */
.bench-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-block: 56px; }
.bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.bench figure { margin: 0; display: grid; gap: 8px; }
.bench figure:nth-child(2) { transform: translateY(-28px); }
.bench img { width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 1px color-mix(in oklab, var(--ink) 14%, transparent); }
.bench figcaption { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .bench-hero { grid-template-columns: minmax(0, 1fr); } }

/* Colophon */
.col { max-width: 760px; margin: 0 auto; }
.colophon-hero { padding-block: 96px 24px; }
.colophon-hero h1 { font-size: clamp(2.6rem, 5vw + 0.5rem, 4.6rem); }
.prose-sec { padding-top: 48px; }
.prose { font-size: 1.15rem; display: grid; gap: 1em; }
.colophon { border-top: 2px solid var(--ink); }
.colophon > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.colophon dt { color: var(--muted); }
.colophon dd { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .bench figure:nth-child(2) { transform: none; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
