/* The Erratic · theerratic.com
   Night, paper, ink and one vermilion line. Literata (with its optical sizes) for everything that is read,
   Libre Franklin for labels and controls. Square and flat: no radius, no shadows, no gradients, 1px rules.
   The voice is the italic: roman states, italic departs.

   Design pass of 13 November 2026: new font files cut from the full families (scripts/fonts.py), old-style
   figures in text, the site's own arrows, one type scale, the house details shared with Flavio's other sites
   (focus ring, link underlines, button geometry, hairlines), print styles, and a fade between pages. */

/* Fonts: self-hosted. One file per style holds every character the pages use. */
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata-roman-20261113.woff2") format("woff2"); font-style: normal; font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/assets/fonts/literata-italic-20261113.woff2") format("woff2"); font-style: italic; font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/librefranklin-20261113.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
/* Every arrow on the site: Literata's own, and a north-east arrow turned from its right arrow. First in both stacks. */
@font-face { font-family: "Erratic Arrows"; src: url("/assets/fonts/erratic-arrows-20261113.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+2190-2193, U+2197; }
/* While a font loads, the device's own face stands in at the same width, so the lines don't re-break when it arrives. */
@font-face { font-family: "Literata Fallback"; src: local("Georgia"); size-adjust: 106.7%; ascent-override: 110.3%; descent-override: 28.9%; line-gap-override: 0%; }
@font-face { font-family: "Literata Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 98.5%; ascent-override: 119.5%; descent-override: 31.3%; line-gap-override: 0%; }
@font-face { font-family: "Franklin Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"); size-adjust: 103.3%; ascent-override: 93.5%; descent-override: 23.8%; line-gap-override: 0%; }
@font-face { font-family: "Franklin Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 98.3%; ascent-override: 98.3%; descent-override: 25%; line-gap-override: 0%; }

:root {
  /* Brand tokens (build brief, 25 October 2026) */
  --paper: #F5EFE4;
  --page: #FFFDF8;
  --ink: #171512;
  --vermilion: #B43A2C;
  --cloth: #26322E;
  --brass: #A17A4A;
  /* Working tones, each checked for WCAG AA on its ground */
  --night: #100F0D;
  --brass-deep: #7A5A30;      /* labels on paper, 5.5:1 */
  --brass-lit: #C9A472;       /* labels on night 8.2:1, on cloth 5.7:1 */
  --vermilion-lit: #E0735E;   /* small accents on night, 6.2:1 */
  --muted: #5B544A;           /* secondary text on paper, 6.5:1 */
  --muted-night: #B3AA9B;     /* secondary text on night, 8.3:1 */
  --cloth-soft: #D9D6CC;      /* secondary text on cloth, 9.2:1 */
  --ghost: #7C7468;           /* the predicted words; decorative */

  --serif: "Erratic Arrows", "Literata", "Literata Fallback", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Erratic Arrows", "Libre Franklin", "Franklin Fallback", "Helvetica Neue", Arial, sans-serif;

  /* One type scale. Display sizes grow with the window; reading sizes hold still. */
  --fs-xl: clamp(2.75rem, 1.4rem + 5.9vw, 7.75rem);
  --fs-l: clamp(2rem, 1.25rem + 3.9vw, 5.25rem);
  --fs-m: clamp(1.85rem, 1.3rem + 2.1vw, 3.25rem);
  --fs-lead: clamp(1.3rem, 1.05rem + .9vw, 1.75rem);
  --fs-prose: 1.1875rem;      /* 19 px: long reading */
  --fs-text: 1.0625rem;       /* 17 px: short texts beside a heading */
  --fs-note: .875rem;         /* 14 px: notes, in the sans */
  --fs-label: .7rem;          /* 11.2 px: tracked capitals; nothing on the site is smaller than 11 px */
  --track: .14em;             /* tracking of every label */
  --numerals: lining-nums tabular-nums;

  --wrap: 92rem;
  --gutter: clamp(1.25rem, 4.4vw, 5.25rem);
  --measure: 39rem;
  --section: 9.5rem;          /* the space above and below every section: 152 px, 104 px on tablets, 80 px on phones */
  --header: 4.75rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --line: 1.5px;
  --hair: 1px;
}

/* Grounds: each sets the colors its components inherit. */
.g-paper, .g-page { --bg: var(--paper); --fg: var(--ink); --soft: var(--muted); --label: var(--brass-deep); --rule: rgba(23,21,18,.14); --rule-strong: rgba(23,21,18,.42); --accent: var(--vermilion); --btn-bg: var(--ink); --btn-fg: var(--paper); --focus: var(--vermilion); background: var(--bg); color: var(--fg); }
.g-page { --bg: var(--page); }
.g-night { --bg: var(--night); --fg: var(--paper); --soft: var(--muted-night); --label: var(--brass-lit); --rule: rgba(245,239,228,.16); --rule-strong: rgba(245,239,228,.4); --accent: var(--vermilion-lit); --btn-bg: var(--paper); --btn-fg: var(--ink); --focus: var(--paper); background: var(--bg); color: var(--fg); }
.g-cloth { --bg: var(--cloth); --fg: var(--page); --soft: var(--cloth-soft); --label: var(--brass-lit); --rule: rgba(255,253,248,.17); --rule-strong: rgba(255,253,248,.45); --accent: var(--brass-lit); --btn-bg: var(--page); --btn-fg: var(--cloth); --focus: var(--page); background: var(--bg); color: var(--fg); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
/* Old-style figures in everything that is read; lining, tabular figures where numbers are labels (--numerals).
   No faux italics or faux bold anywhere: a face the fonts don't have is not drawn. */
body { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; font-weight: 400; font-optical-sizing: auto; font-kerning: normal; font-variant-numeric: oldstyle-nums proportional-nums; font-variant-ligatures: common-ligatures; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; background: var(--paper); color: var(--ink); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
em, i, cite { font-style: italic; }
strong { font-weight: 600; }
figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
/* Where a link to a part of a page lands: a small thing stops clear of the header; a whole section starts at the
   top of the window, since its own space keeps its first line clear. */
[id] { scroll-margin-top: calc(var(--header) + 1.5rem); }
.section[id], main[id] { scroll-margin-top: 0; }
::selection { background: var(--vermilion); color: var(--page); }
:focus { outline: none; }
/* One focus ring, the same on Flavio's other sites: 2 px, 3 px away, in the accent on paper and in paper on night. */
:focus-visible { outline: 2px solid var(--focus, var(--vermilion)); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose > p + p { margin-top: 1.15em; }
/* Links in text: a thin underline set slightly below the line; on hover it takes the accent and 2 px. */
.prose a, .inline-link, .faq .answer a, .sources a, .plate figcaption a { text-decoration: underline; text-decoration-thickness: max(1px, .06em); text-underline-offset: .2em; text-decoration-color: var(--rule-strong); text-decoration-skip-ink: auto; transition: color .16s, text-decoration-color .16s; }
.prose a:hover, .inline-link:hover, .faq .answer a:hover, .sources a:hover, .plate figcaption a:hover { color: var(--accent); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
/* Source references: Literata's own superior figures, not shrunken text figures. */
.prose a.ref { font-variant-numeric: normal; font-feature-settings: "sups" 1; padding: 0 .12em; text-decoration: none; color: var(--accent); }
.prose a.ref:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }

/* Type */
.label { display: block; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.display-xl { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.034em; font-weight: 330; }
.display-l { font-size: var(--fs-l); line-height: 1; letter-spacing: -.03em; font-weight: 340; }
.display-m { font-size: var(--fs-m); line-height: 1.06; letter-spacing: -.022em; font-weight: 360; }
.display-xl em, .display-l em, .display-m em { font-weight: 330; letter-spacing: -.02em; }
/* A heading of two sentences sets one to a line. A closing arrow stays with its last word. */
.ln { display: block; }
.nw { white-space: nowrap; }
.lead { font-size: var(--fs-lead); line-height: 1.42; letter-spacing: -.008em; font-weight: 380; }
.soft { color: var(--soft); }
.small { font: 400 var(--fs-note)/1.55 var(--sans); color: var(--soft); }
.note { margin-top: 1rem; font: 400 .8125rem/1.5 var(--sans); color: var(--soft); }
/* Section numerals: two digits in lining figures (each numeral rule says so after its font), a short hairline, then the label. */
.n--rule::after { content: ""; display: inline-block; width: 2rem; margin-left: .9rem; vertical-align: .3em; border-top: var(--hair) solid var(--rule-strong); }

/* Controls */
/* Three ranks, the same geometry as on Flavio's other sites: square, 56 px high (52 on phones), 20 px at the sides.
   Rank 1 is filled, rank 2 has a 1 px outline, rank 3 is a text link with an arrow. */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-top: 2.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.5rem; padding: 0 1.25rem; background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); font: 600 .75rem/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn > span { min-width: 0; overflow-wrap: anywhere; }
.btn:hover { background: var(--vermilion); border-color: var(--vermilion); color: var(--page); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
/* Arrows are glyphs of the site's own arrow font: → the same site, ↗ another site, ↓ further down the page.
   On hover and on keyboard focus an arrow moves 3 px the way it points. */
.arrow { display: inline-block; font-family: var(--sans); font-weight: 400; font-size: 1.45em; line-height: 1; transition: transform .16s ease-out; }
a:is(:hover, :focus-visible) .arrow--out { transform: translate(2px, -2px); }
a:is(:hover, :focus-visible) .arrow--in { transform: translateX(3px); }
a:is(:hover, :focus-visible) .arrow--down { transform: translateY(3px); }
.textlink { display: inline-flex; align-items: center; gap: .65rem; padding: .35rem 0; font: 600 .75rem/1.2 var(--sans); letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; color: var(--fg); border-bottom: 1px solid currentColor; transition: color .16s; }
.textlink:hover { color: var(--accent); }
.textlinks { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2rem; }

/* The line that leaves its course. It draws itself from the left as it comes into view: the picture is
   uncovered, so the whole line always arrives, at every width. (Until 13 November 2026 it was drawn as a dash,
   which browsers measure on the screen for a line of constant thickness: on wide screens it stopped three
   quarters of the way across.) */
.swerve { display: block; width: 100%; height: clamp(2.5rem, 5vw, 4.5rem); color: var(--vermilion); }
.swerve svg { display: block; width: 100%; height: 100%; overflow: visible; }
.swerve path { fill: none; stroke: currentColor; stroke-width: var(--line); vector-effect: non-scaling-stroke; }
.js.motion .swerve[data-draw] svg { clip-path: inset(-1rem 100% -1rem 0); transition: clip-path 1.9s var(--ease) .15s; }
.js.motion .swerve[data-draw].is-in svg { clip-path: inset(-1rem -1px -1rem 0); }

/* Header */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .85rem 1.1rem; background: var(--page); color: var(--ink); font: 600 .8rem/1 var(--sans); text-decoration: none; }
.skip-link:focus { top: 1rem; }
.site-header { --focus: var(--paper); position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--paper); transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header); }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.masthead { display: block; height: 2.6rem; aspect-ratio: 694.548 / 300.303; background-color: currentColor; -webkit-mask: url("/assets/brand/the-erratic-wordmark-primary.svg") center / contain no-repeat; mask: url("/assets/brand/the-erratic-wordmark-primary.svg") center / contain no-repeat; }
@media (forced-colors: active) { .masthead { forced-color-adjust: none; background-color: CanvasText; } }
.brand .brand-tag { margin-left: 1.1rem; padding-left: 1.1rem; border-left: 1px solid currentColor; font: italic 400 .95rem/1.2 var(--serif); opacity: .82; white-space: nowrap; }
/* Beside the full navigation the tagline needs about 1150 px; below that the navigation keeps the line to itself. */
@media (max-width: 71.99rem) { .brand .brand-tag { display: none; } }
.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a { position: relative; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; color: inherit; padding: .6rem 0; white-space: nowrap; }
.nav a:not(.nav-subscribe)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:not(.nav-subscribe):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { background: var(--vermilion); height: 2px; }
.nav .nav-subscribe { padding: .95rem 1.15rem; border: 1px solid currentColor; transition: background-color .25s, color .25s, border-color .25s; }
.nav .nav-subscribe:hover { background: var(--vermilion); border-color: var(--vermilion); color: var(--page); }
.nav .sep { width: 1px; height: 1.1rem; background: currentColor; opacity: .35; }
.menu-toggle { display: none; align-items: center; gap: .8rem; padding: .7rem 0; background: none; border: 0; color: inherit; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; cursor: pointer; }
.menu-toggle .bars { position: relative; width: 1.6rem; height: .7rem; }
.menu-toggle .bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle .bars i:first-child { top: 0; }
.menu-toggle .bars i:last-child { top: calc(100% - 1.5px); }
html.is-stuck .site-header { --focus: var(--vermilion); background: var(--paper); color: var(--ink); border-bottom-color: rgba(23,21,18,.12); }
html.is-stuck[data-hg="page"] .site-header { background: var(--page); }
html.is-stuck[data-hg="night"] .site-header { --focus: var(--paper); background: var(--night); color: var(--paper); border-bottom-color: rgba(245,239,228,.1); }
html.is-stuck[data-hg="cloth"] .site-header { --focus: var(--page); background: var(--cloth); color: var(--page); border-bottom-color: rgba(255,253,248,.14); }
html.is-stuck .site-header .brand .brand-tag { display: none; }
html.is-hidden:not(.menu-open) .site-header { transform: translateY(-100%); }
/* Without scripting the header cannot take the color of the section under it, so it stays at the top of the
   page and scrolls away with it. On phones the navigation shows as a row of links, in the flow of the page. */
html:not(.js) .site-header { position: absolute; }
@media (max-width: 63.99rem) {
  html:not(.js) .site-header { position: static; background: var(--night); }
  html:not(.js) .site-header .bar { height: auto; min-height: var(--header); flex-wrap: wrap; padding-block: .9rem; row-gap: .35rem; }
  html:not(.js) .menu-toggle { display: none !important; }
  html:not(.js) .nav { display: flex !important; flex-wrap: wrap; gap: .25rem 1.25rem; }
  html:not(.js) .nav .sep { display: none; }
  html:not(.js) .cover, html:not(.js) .lost { padding-top: clamp(2rem, 6vw, 4rem); }
}

/* Mobile menu */
.menu-panel { display: none; }
@media (max-width: 63.99rem) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand .masthead { height: 2.25rem; }
  .menu-panel { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header) + 2.5rem) var(--gutter) 2rem; background: var(--night); color: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s .45s; }
  html.menu-open .menu-panel { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
  html.menu-open { overflow: hidden; }
  html.menu-open .site-header { --focus: var(--paper); background: var(--night); color: var(--paper); border-bottom-color: rgba(245,239,228,.12); transform: none; }
  html.menu-open .menu-toggle .bars i:first-child { top: calc(50% - .75px); transform: rotate(18deg); }
  html.menu-open .menu-toggle .bars i:last-child { top: calc(50% - .75px); transform: rotate(-18deg); }
  .menu-panel ol { display: grid; gap: .2rem; counter-reset: m; }
  .menu-panel ol a { display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 340; text-decoration: none; border-bottom: 1px solid rgba(245,239,228,.12); }
  .menu-panel ol a::before { counter-increment: m; content: "0" counter(m); font: italic 400 1rem/1 var(--serif); font-variant-numeric: var(--numerals); color: var(--brass-lit); min-width: 1.6rem; }
  .menu-panel ol a[aria-current="page"] { color: var(--vermilion-lit); }
  .menu-panel .menu-actions { display: grid; gap: .75rem; margin-top: 2.25rem; }
  .menu-panel .btn { width: 100%; }
  .menu-panel .menu-foot { margin-top: 2.5rem; font: italic 400 1rem/1.4 var(--serif); color: var(--muted-night); }
}

/* Cover sections (every page opens on night) */
/* The space above a cover answers to the height of the window as well as its width (svh), so that on a laptop
   the opening of each page fits the first screen. */
.cover { --cover-pad: clamp(3rem, 8vw, 7rem); --cover-pad: clamp(2rem, min(8vw, 9svh), 7rem); position: relative; padding-top: calc(var(--header) + var(--cover-pad)); padding-bottom: clamp(4rem, 8vw, 7.5rem); overflow: hidden; }
.cover .label { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* Home hero */
/* The first screen holds the whole opening: headline, both buttons, and the photograph from head to foot.
   So the spaces and the headline answer to the height of the window as well as its width (svh). */
.hero { --cover-pad: clamp(2rem, 8vw, 7rem); --cover-pad: clamp(2rem, min(8vw, 7svh), 7rem); min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 0; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 4vw, 5rem); align-items: end; }
.hero-copy { container-type: inline-size; padding-bottom: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(1.5rem, min(6vw, 5svh), 5.5rem); }
/* Sized from its own column so the headline always sets in three lines. */
.hero-title { font-size: clamp(3rem, 7.6vw, 9.4rem); font-size: min(15.3cqi, 10rem); font-size: min(15.3cqi, 10rem, max(3.75rem, calc((100svh - 34rem) / 2.7))); line-height: .9; letter-spacing: -.04em; font-weight: 300; }
.pp { display: block; }
.pp-line { display: block; }
.pp-end { position: relative; display: block; }
.pp-end em { font-weight: 300; letter-spacing: -.03em; }
.pp-ghost { display: none; }
.hero-descriptor { margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 30rem; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); line-height: 1.32; font-style: italic; font-weight: 340; letter-spacing: -.01em; }
.hero-meta { margin-top: 1.1rem; font: 400 .9375rem/1.55 var(--sans); color: var(--soft); }
.hero .wrap { max-width: 112rem; }
.hero-figure { position: relative; align-self: end; justify-self: end; width: min(40vw, 38rem, calc((100svh - var(--header) - var(--cover-pad) - 4.5rem) * .6667)); }
/* On a low window the copy is taller than the photograph: the photograph then starts level with the label,
   and the headline keeps a little more of its size. */
@media (min-width: 64rem) and (max-height: 56rem) {
  .hero-figure { align-self: start; }
  .hero-title { font-size: min(15.3cqi, 10rem, max(3.75rem, calc((100svh - 30rem) / 2.7))); }
}
.hero-figure img { width: 100%; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid var(--rule); padding-block: 1.15rem; }
.topics { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--soft); }
.topics li { display: inline-flex; align-items: center; gap: 1.6rem; }
.topics li + li::before { content: ""; width: .3rem; height: .3rem; background: var(--vermilion); }
.scroll-cue { display: inline-flex; align-items: center; gap: .9rem; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--soft); }
.scroll-cue i { display: block; width: 3.5rem; height: 1px; background: var(--vermilion); }

/* The probable path: runs once per visit, only with motion allowed. */
html.pp-run .pp-ghost { display: block; position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--ghost); font-style: normal; opacity: 0; animation: pp-ghost-in .45s var(--ease) .3s forwards, pp-ghost-out .4s ease-in 1.42s forwards; }
html.pp-run .pp-ghost .txt { position: relative; display: inline-block; }
html.pp-run .pp-ghost .caret { display: inline-block; width: .045em; height: .8em; margin-left: .04em; vertical-align: -.04em; background: var(--paper); animation: pp-caret .55s steps(1) .3s 2; }
html.pp-run .pp-ghost .key { display: inline-block; margin-left: .35em; padding: .55em .65em .5em; vertical-align: .55em; border: 1px solid rgba(245,239,228,.32); font: 600 max(.085em, .6875rem)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-night); }
html.pp-run .pp-ghost .strike { position: absolute; left: -.04em; top: .52em; width: calc(100% + .08em); height: max(3px, .045em); background: var(--vermilion); transform: scaleX(0); transform-origin: left center; animation: pp-strike .38s cubic-bezier(.7, 0, .2, 1) 1.02s forwards; }
html.pp-run .pp-end .pp-line { clip-path: inset(-.2em 100% -.25em 0); animation: pp-write .72s var(--ease) 1.56s forwards; }
html.pp-run .pp-end .pp-line + .pp-line { animation-delay: 1.68s; }
@keyframes pp-ghost-in { from { opacity: 0; transform: translateX(-.06em); } to { opacity: 1; transform: none; } }
@keyframes pp-ghost-out { to { opacity: 0; transform: translateY(-.08em); } }
@keyframes pp-caret { 50% { opacity: 0; } }
@keyframes pp-strike { to { transform: scaleX(1); } }
@keyframes pp-write { to { clip-path: inset(-.2em -.2em -.25em 0); } }

/* Section rhythm: one token. Two sections on the same ground share one gap, not two. */
.section { padding-block: var(--section); }
.section.g-paper + .section.g-paper, .section.g-page + .section.g-page, .section.g-night + .section.g-night { padding-top: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.2vw, 2.25rem); }

/* Feature: the first issue (shown once its address exists) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature h2 { margin-top: 1.25rem; }
.feature p.lead { margin-top: 1.25rem; }
.feature figure img { width: 100%; }

/* Start here */
.start .label { margin-bottom: 2rem; }
.start-title { grid-column: 1 / -1; }
.start-lead { grid-column: 1 / span 8; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.start-body { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4.5rem); margin-top: clamp(2.25rem, 4vw, 3.25rem); max-width: 62rem; }
.start-body > p + p, .stone-body > p + p { margin-top: 0; }
.start-bridge { grid-column: 1 / -1; margin-top: clamp(4rem, 8vw, 7rem); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.4; font-style: italic; color: var(--soft); }
.questions { grid-column: 1 / -1; margin-top: 1.5rem; }
.questions p { font-size: clamp(2.4rem, 1rem + 5.4vw, 7rem); line-height: 1; letter-spacing: -.035em; font-weight: 320; }
.questions p + p { margin-top: .12em; padding-left: clamp(0rem, 8vw, 9rem); font-style: italic; }
.questions .swerve { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.start .textlinks { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3rem); }

/* Four doors */
.doors-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.doors-head .label { margin-bottom: 1.5rem; }
.doors-head .lead { font-style: italic; color: var(--soft); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.door { position: relative; display: flex; flex-direction: column; padding: clamp(2rem, 3.6vw, 3.5rem) clamp(1.25rem, 3vw, 3rem) clamp(2.25rem, 4vw, 3.75rem) 0; border-bottom: 1px solid var(--rule); }
.door:nth-child(odd) { border-right: 1px solid var(--rule); }
.door:nth-child(even) { padding-left: clamp(1.25rem, 3vw, 3rem); padding-right: 0; }
.door::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--vermilion); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.door:hover::before { transform: scaleX(1); }
.door-top { display: flex; align-items: baseline; gap: 1rem; }
.door-top .n { font: italic 400 1.1rem/1 var(--serif); font-variant-numeric: var(--numerals); color: var(--accent); }
.door h3 { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.door .q { margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.45rem); line-height: 1.14; font-style: italic; letter-spacing: -.018em; font-weight: 340; text-wrap: balance; }
.door .b { margin-top: 1.35rem; max-width: 33rem; color: var(--soft); font-size: var(--fs-text); }

/* Two ideas */
.ideas .label { margin-bottom: 1.5rem; }
.ideas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 7rem); margin: 0; }
.idea dt { font-size: clamp(2.2rem, 1.2rem + 3.1vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-style: italic; font-weight: 330; }
.idea dd { margin: 1.75rem 0 0; max-width: 32rem; font-size: var(--fs-prose); }
.ideas .swerve { margin-block: clamp(2.25rem, 4vw, 3.5rem); }

/* The stone (museum plate) */
.stone-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.stone-head .label { margin-bottom: 1.5rem; }
.stone-head .lead { color: var(--soft); max-width: 30rem; }
.plate { width: 100%; max-width: 960px; margin-inline: auto; }
.plate img { width: 100%; max-width: 960px; }
.plate figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1.5rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--rule); font: 400 .78rem/1.5 var(--sans); color: var(--soft); }
.plate figcaption a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .2em; }
.plate figcaption a:hover { color: var(--fg); }
.stone-question { margin: clamp(4rem, 8vw, 7rem) auto 0; max-width: 60rem; text-align: center; font-size: clamp(2.4rem, 1rem + 5vw, 6.2rem); line-height: 1; letter-spacing: -.035em; font-style: italic; font-weight: 300; }
.stone-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); max-width: 62rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.stone-body p { font-size: var(--fs-prose); }
.stone-body p:last-child { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.35; letter-spacing: -.01em; }
.stone .center { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.person figure img { width: 100%; }
.person h2 { margin-top: 1.5rem; }
.person .prose { margin-top: 2.25rem; max-width: 36rem; font-size: var(--fs-prose); }
.facts { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.facts li { padding: .85rem 0; border-bottom: 1px solid var(--rule); font: 400 .9rem/1.45 var(--sans); color: var(--soft); }
.facts li em { font-family: var(--serif); font-size: 1.05em; color: var(--fg); }

/* Praise (Errāticus Press design of 22 October 2026, carried over) */
.praise { --praise-accent: var(--accent); }
.praise-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.5vw, 1.5rem); }
.praise-panel { display: flex; flex-direction: column; margin: 0; padding: clamp(1.5rem, 2.2vw, 2.1rem); border-top: 1px solid var(--rule-strong); color: var(--fg); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease); }
.praise-panel:nth-child(2) { --fg: var(--ink); --soft: var(--muted); --label: var(--brass-deep); --praise-accent: var(--vermilion); background: var(--paper); border-top-color: var(--vermilion); color: var(--ink); }
.praise-open { display: block; height: .62em; margin-bottom: .55rem; font: 400 3.4rem/1 var(--serif); color: var(--praise-accent); }
.praise-panel blockquote p { font-size: clamp(1.125rem, .98rem + .5vw, 1.35rem); line-height: 1.52; letter-spacing: -.005em; text-wrap: pretty; }
.praise.is-short .praise-panel blockquote p { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.42; }
.praise.is-short .praise-panel:nth-child(2) blockquote p { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.05rem); line-height: 1.3; font-style: italic; }
.praise-panel figcaption { margin-top: auto; padding-top: 1.75rem; font: 400 .875rem/1.6 var(--serif); color: var(--soft); text-wrap: pretty; }
.praise-panel figcaption .name { display: block; margin-bottom: .2rem; font: 650 var(--fs-label)/1.6 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--praise-accent); }
.praise-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 4vw, 4rem); margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.praise-reviews blockquote p { font-size: var(--fs-text); line-height: 1.6; text-indent: -.4em; }
.praise-reviews figcaption { margin-top: .8rem; font: 650 var(--fs-label)/1.6 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--praise-accent); }
@media (hover: hover) and (pointer: fine) {
  .praise-panel:is(:hover, :focus-within) { background-color: rgba(255, 253, 248, .06); border-top-color: var(--praise-accent); transform: translateY(-3px); }
  .praise-panel:nth-child(2):is(:hover, :focus-within) { background-color: var(--page); }
}

/* The book band */
.book { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.cover-frame { position: relative; display: block; outline: 1px solid rgba(201, 164, 114, .55); outline-offset: -1px; transition: transform .6s var(--ease); }
a.cover-frame:hover { transform: translateY(-6px); }
.cover-frame img { width: 100%; }
/* The frame is drawn as an outline, so the focus ring is restated for the links that carry one. */
a.cover-frame:focus-visible, .film video:focus-visible { outline: 2px solid var(--focus, var(--vermilion)); outline-offset: 3px; }
.book-copy .label { margin-bottom: 1.5rem; }
.book-title { font-size: clamp(2.8rem, 1.3rem + 5vw, 6.6rem); line-height: .94; letter-spacing: -.035em; font-weight: 320; font-style: italic; }
.book-subtitle { margin-top: .8rem; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.2; letter-spacing: -.012em; font-weight: 360; }
.status { display: inline-flex; align-items: center; gap: .6rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.status::before { content: ""; flex: none; width: .45rem; height: .45rem; background: var(--vermilion); }
.book-copy .status { margin-top: 1.75rem; }
.book-copy .prose { margin-top: 1.75rem; max-width: 36rem; font-size: var(--fs-prose); color: var(--fg); }
.book .praise { grid-column: 1 / -1; margin-top: clamp(3.5rem, 7vw, 6rem); }
.series { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--rule); }
.series-copy .display-m em { font-style: italic; }
.series-copy p.soft { margin-top: 1.25rem; max-width: 26rem; font-family: var(--sans); font-size: .9375rem; }
.series-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); width: 100%; max-width: 30rem; justify-self: end; }
.series-row a { display: block; text-decoration: none; color: inherit; }
.series-row .status { margin-top: 1rem; }
.series-row .t { display: block; margin-top: .4rem; font-size: var(--fs-text); line-height: 1.3; font-style: italic; }

/* Typographic plates for the two December books, until the final covers arrive (owner, 8 November 2026). Their wrapper is
   .book-plate (9 November 2026): as .plate it also matched the 1928 photograph's figure (.plate, above) and forced the
   landscape photo into a dark 2:3 box with its caption pushed to the bottom. */
.book-plate { display: flex; flex-direction: column; justify-content: space-between; align-items: center; aspect-ratio: 2 / 3; padding: 14% 9% 11%; background: var(--night); color: var(--paper); overflow: hidden; container-type: inline-size; }
.plate-rule { display: block; width: 24%; height: 1px; background: var(--brass-lit); }
.plate-title { display: block; width: 100%; font-family: var(--serif); font-style: italic; font-weight: 330; font-size: 1.4rem; font-size: 13.5cqi; line-height: 1.02; letter-spacing: -.02em; text-align: center; }
.plate-author { display: block; font: 500 .7rem/1.3 var(--sans); font-size: max(6.2cqi, .6875rem); letter-spacing: .03em; color: var(--muted-night); text-align: center; }
.plate-cucu { background: var(--paper); color: var(--ink); }
.plate-cucu .plate-rule { background: var(--brass-deep); }
.plate-cucu .plate-author { color: var(--muted); }
.plate-call { position: relative; height: 3.2rem; height: 62cqi; font-style: normal; font-weight: 360; font-size: 2.2rem; font-size: 31cqi; line-height: 1; letter-spacing: -.03em; }
.plate-call .hi { position: absolute; left: 4%; top: 0; }
.plate-call .lo { position: absolute; right: 4%; bottom: 0; font-style: italic; color: var(--vermilion); }
.plate-frame { outline-color: var(--rule-strong); text-decoration: none; }
.editions { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.editions-head { font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.editions ul { margin: .6rem 0 0; padding: 0; list-style: none; }
.editions li { font-size: 1rem; line-height: 1.4; }
.editions li + li { margin-top: .3rem; }
.editions-note { margin-top: .6rem; font: 400 .875rem/1.5 var(--sans); color: var(--soft); }

/* Wider work tiles */
.ventures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.venture { position: relative; display: flex; flex-direction: column; gap: 1.5rem; min-height: 21rem; padding: 1.75rem clamp(1rem, 2vw, 1.75rem) 2rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; transition: background-color .4s var(--ease); }
.venture:first-child { padding-left: 0; }
.venture:last-child { border-right: 0; padding-right: 0; }
.venture:hover { background-color: var(--page); }
.venture .art { flex: 1; display: flex; align-items: center; min-height: 7rem; }
.venture .art img { width: auto; max-width: 100%; height: 3.6rem; object-fit: contain; object-position: left center; }
.venture[data-brand="research"] .art img { height: 1.9rem; }
.venture[data-brand="counsel"] .art img { height: 3.4rem; }
.venture[data-brand="institute"] .art img { height: 3.1rem; }
.venture-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.venture-top .arrow { font-size: 1rem; color: var(--accent); }
.venture p { font-size: 1rem; line-height: 1.5; color: var(--soft); }
.venture:hover .arrow--in { transform: translateX(.3em); }
.wider-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.wider-head .label { margin-bottom: 1.5rem; }

/* The word */
.word-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; padding: clamp(2.5rem, 6vw, 6rem); background: var(--page); border: 1px solid var(--rule); }
.word-card .label { margin-bottom: 2rem; }
.word-card .lemma { font-size: clamp(3.6rem, 1.2rem + 9.5vw, 12rem); line-height: .82; letter-spacing: -.045em; font-weight: 300; }
.word-card .gloss { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-top: 1.5rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.word-card .gloss em { font: italic 400 1.05rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--soft); }
.word-card p.body { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.45; }

/* Subscribe close */
#subscribe { padding-top: 0; }
.close-figure { max-width: 1680px; margin-inline: auto; }
.close-figure img { width: 100%; }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-top: clamp(3.5rem, 7vw, 6rem); }
.close-grid h2 { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 6.6rem); }
.close-grid h2 em { display: block; white-space: nowrap; }
.close-grid .prose { font-size: var(--fs-prose); max-width: 30rem; }
.signoff { display: block; margin-top: clamp(3rem, 6vw, 5rem); font-size: clamp(2.2rem, 1.2rem + 3.5vw, 4.75rem); line-height: 1; letter-spacing: -.03em; font-style: italic; font-weight: 320; color: var(--accent); }

/* Footer */
.site-footer { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 2.25rem; border-top: 1px solid rgba(245,239,228,.12); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.footer-brand a { display: inline-block; color: var(--paper); }
.footer-brand .masthead { height: 4.6rem; }
.footer-brand p { margin-top: 1.25rem; font: italic 400 1.15rem/1.4 var(--serif); color: var(--muted-night); }
.footer-col h2 { margin-bottom: 1.1rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brass-lit); }
.footer-col li + li { margin-top: .6rem; }
.footer-col a { text-decoration: none; font-size: 1rem; line-height: 1.35; transition: color .2s; }
.footer-col a:hover { color: var(--vermilion-lit); }
.footer-col small { display: block; margin-top: .1rem; font: 400 .78rem/1.4 var(--sans); color: var(--muted-night); }
.footer-col .plain { display: block; font-size: 1rem; line-height: 1.35; }
.footer-signoff { margin-top: clamp(4rem, 9vw, 8rem); font-size: clamp(3.4rem, 1rem + 10.5vw, 13.5rem); line-height: .86; letter-spacing: -.05em; font-style: italic; font-weight: 300; color: var(--paper); }
.footer-signoff .swerve { height: clamp(1.75rem, 3vw, 3rem); margin-top: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 2.5rem; padding-top: 1.35rem; border-top: 1px solid rgba(245,239,228,.12); font: 400 .78rem/1.5 var(--sans); color: var(--muted-night); }

/* Interior covers */
.page-cover .cover-split > div:first-child { container-type: inline-size; }
.page-cover h1 { max-width: 14ch; font-size: min(19cqi, 7.75rem); }
.page-cover .standfirst { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 34rem; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.85rem); line-height: 1.32; font-style: italic; font-weight: 340; color: var(--soft); }
.cover-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.cover-split figure img { width: 100%; }
/* A portrait on a cover is never taller than the window, so it shows from head to hand on the first screen. */
@media (min-width: 64rem) { .cover-split figure { justify-self: end; } .cover-split figure img { width: auto; max-width: 100%; max-height: calc(100vh - var(--header) - 9rem); max-height: calc(100svh - var(--header) - var(--cover-pad) - 2rem); } }
.cover-wide { margin-top: clamp(3rem, 6vw, 5rem); max-width: 1536px; margin-inline: auto; }
.cover-wide img { width: 100%; }
.toc { margin-top: clamp(2.5rem, 4vw, 3.5rem); columns: 2; column-gap: 2.5rem; max-width: 40rem; }
.toc li { break-inside: avoid; border-top: 1px solid var(--rule); }
.toc a { display: flex; gap: .9rem; padding: .7rem 0; font-size: 1rem; line-height: 1.35; text-decoration: none; transition: color .2s; }
.toc a .n { font: italic 400 .95rem/1.35 var(--serif); font-variant-numeric: var(--numerals); color: var(--accent); min-width: 1.75rem; }
.toc a:hover { color: var(--accent); }

/* Essay (Why erratic): one line runs beside the text and leaves its course once */
.essay { position: relative; }
.essay-grid { --shift-px: 36; --pad: clamp(1.5rem, 3vw, 3.5rem); position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 7rem); }
.thread { position: absolute; top: 0; bottom: 0; left: calc((100% - clamp(2rem, 6vw, 7rem)) * 4 / 11 + clamp(2rem, 6vw, 7rem) - 1px); width: 3rem; pointer-events: none; }
.thread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--line); background: var(--vermilion); }
.thread.is-drawn::before { display: none; }
.thread svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; color: var(--vermilion); }
.thread svg path { fill: none; stroke: currentColor; stroke-width: var(--line); vector-effect: non-scaling-stroke; }
.thread svg path.base { stroke: var(--rule); }
.part { display: contents; }
.part-head { grid-column: 1; padding-top: clamp(4rem, 7vw, 6.5rem); scroll-margin-top: 1rem; }
/* Each part opens like a magazine section: a large italic numeral, the title, and an initial in the text.
   The numeral and the title stay beside the text while their part is read. */
.part-mark { position: sticky; top: calc(var(--header) + 2rem); }
.part-head .n { display: block; margin-bottom: .9rem; font: italic 280 clamp(2.6rem, 1.7rem + 2.4vw, 4.5rem)/.85 var(--serif); font-variant-numeric: var(--numerals); letter-spacing: -.04em; color: var(--accent); }
.part-head h2 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3.1rem); line-height: 1.04; letter-spacing: -.024em; font-weight: 360; }
.essay .opens > p:first-child::first-letter { float: left; margin: .05em .09em 0 -.03em; font-size: 4.95em; line-height: .74; font-weight: 300; font-style: italic; }
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .essay .opens > p:first-child::first-letter { float: none; margin: 0 .09em 0 -.03em; font-size: inherit; line-height: inherit; -webkit-initial-letter: 3; initial-letter: 3; }
}
.part-body { grid-column: 2; padding-top: clamp(4rem, 7vw, 6.5rem); padding-left: var(--pad); }
.part-body > * { max-width: var(--measure); }
.part-body .plate { max-width: 960px; }
.part-body .prose { font-size: var(--fs-prose); }
.part-body .intro { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); line-height: 1.4; letter-spacing: -.01em; margin-bottom: 2.25rem; }
.part.is-swerve .part-body, .part.after-swerve .part-body { padding-left: calc(var(--pad) + var(--shift-px) * 1px); }
.essay .plate { margin: 0 0 2.25rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2.25rem 0; }
.pair div { padding-top: 1.1rem; border-top: 1px solid var(--rule-strong); }
.pair div:last-child { border-top-color: var(--vermilion); }
.pair h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; font-style: italic; letter-spacing: -.02em; font-weight: 340; margin-bottom: .9rem; }
.pair p { font-size: var(--fs-text); color: var(--soft); }
.bridge { margin-top: 2.25rem; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.65rem); line-height: 1.38; letter-spacing: -.01em; }
.lemma-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.75rem; margin-bottom: 2.25rem; padding: 1.75rem 0 1.5rem; border-block: 1px solid var(--rule); }
.lemma-card .lemma { font-size: clamp(3rem, 1.8rem + 4vw, 5.6rem); line-height: .9; letter-spacing: -.03em; font-style: italic; font-weight: 300; }
.lemma-card ol { display: flex; gap: 1.5rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.lemma-card ol li::before { content: counter(list-item) ". "; color: var(--accent); }
.statement { margin-top: 2.5rem; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.9rem); line-height: 1.12; letter-spacing: -.024em; font-style: italic; font-weight: 330; color: var(--accent); text-wrap: balance; }
.theses-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.theses-head .lead { color: var(--soft); }
.theses { counter-reset: t; border-top: 1px solid var(--rule); }
.theses li { counter-increment: t; display: grid; grid-template-columns: minmax(3rem, 1fr) minmax(0, 11fr); align-items: baseline; gap: 1rem; padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--rule); transition: padding-left .45s var(--ease); }
.theses li::before { content: counter(t, upper-roman) "."; font: italic 400 1.05rem/1 var(--serif); color: var(--accent); }
.theses li span { font-size: clamp(1.4rem, 1rem + 1.7vw, 2.6rem); line-height: 1.12; letter-spacing: -.022em; font-weight: 340; }
@media (hover: hover) { .theses li:hover { padding-left: .75rem; } .theses li:hover span { font-style: italic; } }
.theses-outro { margin-top: 1.75rem; font-style: italic; color: var(--soft); font-size: 1.25rem; }
.essay-close .display-xl { max-width: 12ch; }
.essay-close .prose { margin-top: clamp(2rem, 4vw, 3rem); max-width: 36rem; font-size: var(--fs-prose); }
.sign { margin-top: 2.5rem; }
.sign .signoff { margin-top: 0; }
.sign .who { display: block; margin-top: 1rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.sources { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.sources ol { margin-top: 1.25rem; display: grid; gap: .55rem; counter-reset: s; }
.sources li { counter-increment: s; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); font: 400 .875rem/1.55 var(--sans); color: var(--soft); }
.sources li::before { content: "[" counter(s) "]"; color: var(--accent); }
.sources a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .2em; }

/* About */
.question-block .q1 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); line-height: 1.3; color: var(--soft); font-style: italic; }
.question-block .q2 { margin-top: .5rem; font-size: clamp(2.5rem, 1rem + 5.2vw, 6.6rem); line-height: .98; letter-spacing: -.037em; font-weight: 310; max-width: 17ch; }
.question-block .prose { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4.5rem); max-width: 62rem; }
.question-block .prose > p + p { margin-top: 0; }
.inside-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.inside { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.inside li { padding: 1.75rem clamp(1rem, 2vw, 2rem) 2rem 0; border-right: 1px solid var(--rule); }
.inside li + li { padding-left: clamp(1rem, 2vw, 2rem); }
.inside li:last-child { border-right: 0; }
.inside .n { display: block; font: italic 400 1.1rem/1 var(--serif); font-variant-numeric: var(--numerals); color: var(--accent); }
.inside strong { display: block; margin-top: 2.25rem; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; font-weight: 360; }
.inside p { margin-top: .85rem; color: var(--soft); font-size: var(--fs-text); }
.bio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.25rem clamp(2rem, 6vw, 7rem); }
.bio h2 { margin-top: 1.5rem; font-size: clamp(1.7rem, 1.1rem + 1.7vw, 2.75rem); }
.bio .prose { max-width: var(--measure); font-size: var(--fs-prose); }
.bio .prose p:first-child { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.36; letter-spacing: -.012em; }
.bio .prose p:last-child { font-style: italic; }
.bio .small { margin-top: 2.5rem; max-width: 34rem; }
.path { padding-top: 0; }
.path figure { max-width: 1672px; margin-inline: auto; }
.path img { width: 100%; }
.path .line { padding-top: clamp(2.5rem, 5vw, 4rem); max-width: 22ch; font-size: clamp(2.3rem, 1rem + 4.6vw, 6rem); line-height: .98; letter-spacing: -.035em; font-style: italic; font-weight: 300; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.split .prose { margin-top: 2rem; font-size: var(--fs-prose); max-width: 34rem; }
.split figure img { width: 100%; }
.film-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.film-grid h2 { margin-top: 1.25rem; }
.film-grid .soft { margin-top: 1.25rem; max-width: 26rem; }
.film { position: relative; background: #000; }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.film .play { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 0; background: transparent; border: 0; color: var(--paper); cursor: pointer; }
.js .film .play { display: flex; }
.js .film.is-playing .play { display: none; }
.film .play .ring { display: grid; place-items: center; width: clamp(4.25rem, 7vw, 5.75rem); aspect-ratio: 1; background: var(--night); color: var(--paper); transition: background-color .3s, transform .5s var(--ease); }
.film .play .play-label { position: absolute; left: 1.25rem; bottom: 1.1rem; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink); background: var(--page); padding: .65rem .8rem; }
.film .play:hover .ring, .film .play:focus-visible .ring { background: var(--vermilion); transform: scale(1.04); }
.film .play svg { width: 1.3rem; height: 1.3rem; margin-left: .2rem; fill: currentColor; }
.film-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 1rem; font: 400 .8rem/1.5 var(--sans); color: var(--soft); }
.film-meta a { color: inherit; }
details.transcript { margin-top: 1.5rem; border-top: 1px solid var(--rule); }
details.transcript summary { padding: 1rem 0; cursor: pointer; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; list-style: none; }
details.transcript summary::-webkit-details-marker { display: none; }
details.transcript summary::after { content: " +"; color: var(--accent); }
details.transcript[open] summary::after { content: " \2212"; }
details.transcript .prose { padding-bottom: 1.5rem; max-width: 38rem; font-size: 1rem; color: var(--soft); }
.hope .label { margin-bottom: clamp(2rem, 4vw, 3rem); }
.hope-lines li { font-size: clamp(1.8rem, 1rem + 3vw, 4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 320; padding: clamp(1rem, 2vw, 1.6rem) 0; border-bottom: 1px solid var(--rule); }
.hope-lines li:first-child { border-top: 1px solid var(--rule); }
.hope-lines li:nth-child(2) { font-style: italic; padding-left: clamp(0rem, 6vw, 7rem); }
.hope-lines li:nth-child(3) { padding-left: clamp(0rem, 12vw, 14rem); }
.hope-body { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 40rem; margin-left: auto; font-size: var(--fs-prose); }
.links-list { margin-top: 2rem; border-top: 1px solid var(--rule); }
.links-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding-left .45s var(--ease), color .25s; }
.links-list a:hover { padding-left: .6rem; color: var(--accent); }
.links-list b { display: block; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.links-list .n { display: block; margin-top: .25rem; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.2; letter-spacing: -.012em; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.35rem 0; cursor: pointer; list-style: none; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); line-height: 1.25; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--accent); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.6rem; max-width: 40rem; color: var(--soft); font-size: var(--fs-text); }
.faq .answer a { color: var(--fg); }
.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); }
.two-col .label { margin-bottom: 1.5rem; }
.end-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.end-band > div { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 4rem) 0 0; }
.end-band > div + div { padding-left: clamp(1.25rem, 4vw, 4rem); border-left: 1px solid var(--rule); }
.end-band p { margin-top: 1.25rem; max-width: 30rem; font-size: 1.125rem; }

/* My other work */
.work-cover { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); align-items: end; }
.work-cover > div:first-child { container-type: inline-size; }
.work-cover h1 { font-size: clamp(3.4rem, 1.2rem + 8.6vw, 11rem); font-size: min(25cqi, 10.5rem); line-height: .86; letter-spacing: -.045em; font-weight: 300; }
.work-cover h1 em { display: block; color: var(--vermilion-lit); }
.work-cover .lead { font-style: italic; }
.work-cover .question { margin-top: .4rem; font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); line-height: 1.3; }
.work-cover .prose { margin-top: 1.75rem; color: var(--soft); max-width: 34rem; }
.work-index { margin-top: 2.25rem; border-top: 1px solid var(--rule); }
.work-index a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 1.125rem; transition: padding-left .45s var(--ease), color .25s; }
.work-index a:hover { padding-left: .5rem; color: var(--vermilion-lit); }
.work-index .n { font: italic 400 1rem/1 var(--serif); font-variant-numeric: var(--numerals); color: var(--brass-lit); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--rule); }
.chapter-head .num { display: block; font-size: clamp(5rem, 2rem + 10vw, 12rem); line-height: .8; letter-spacing: -.05em; font-style: italic; font-weight: 250; font-variant-numeric: var(--numerals); color: var(--accent); }
.chapter-head .label { margin-top: 1.5rem; }
.chapter-head .brand-art { display: flex; align-items: center; justify-content: flex-end; }
.chapter-head .brand-art img { width: auto; max-width: 100%; height: clamp(2.6rem, 2rem + 2.5vw, 4.6rem); }
.chapter-head .brand-art[data-brand="research"] img { height: clamp(1.6rem, 1.2rem + 1.5vw, 2.7rem); }
#books .lead, #research .lead { margin-top: 1.5rem; max-width: 52rem; }
#research .lead { max-width: 40rem; }
.research-grid .small { margin-top: 1rem; }
.books-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3.5vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.book-card .cover-frame { outline-color: var(--rule-strong); }
.book-card .status { margin-top: 1.5rem; }
.book-card h3 { margin-top: .75rem; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.04; letter-spacing: -.02em; font-style: italic; font-weight: 340; }
.book-card .sub { margin-top: .45rem; font-size: var(--fs-text); line-height: 1.35; color: var(--soft); }
.book-card p.line { margin-top: 1rem; font-size: var(--fs-text); }
.book-card .textlinks { margin-top: 1.25rem; gap: .35rem 1.5rem; }
.waitlist { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.6rem 0; border-block: 1px solid var(--rule); }
.waitlist p { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-style: italic; }
.praise-band { margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2.5rem, 5vw, 4.5rem); }
.praise-band h3 { margin-bottom: clamp(2rem, 4vw, 3rem); font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 340; }
.chapter-copy .display-m { max-width: 18ch; }
.chapter-copy .prose { margin-top: 2rem; max-width: 36rem; font-size: var(--fs-prose); }
.chapter-copy .prose p:nth-child(2) { font-style: italic; font-size: 1.35rem; line-height: 1.4; }
.counsel-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); align-items: center; }
.counsel-grid figure img { width: 100%; }
/* The speaking photograph is 1536 px wide and is never drawn larger; on wider screens the night ground frames it. */
.panorama img { width: 100%; max-width: 1536px; margin-inline: auto; }
.research-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); }
.research-grid .lead { max-width: 40rem; }
.research-grid figure { margin-top: clamp(2.5rem, 5vw, 4rem); }
.research-grid figure img { width: 100%; }
.ledger + .ledger { margin-top: 2.75rem; }
.ledger h3 { margin-bottom: .9rem; font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--label); }
.ledger li { padding: 1rem 0 1.1rem; border-top: 1px solid var(--rule); }
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger .k { display: block; font: 400 .78rem/1.45 var(--sans); color: var(--soft); }
.ledger .t { display: block; margin-top: .3rem; font-size: 1.2rem; line-height: 1.28; letter-spacing: -.008em; }
.ledger .s { display: block; margin-top: .2rem; font-size: 1rem; line-height: 1.4; color: var(--soft); font-style: italic; }
.ledger a.go { display: inline-flex; gap: .5rem; margin-top: .55rem; font: 600 var(--fs-label)/1.2 var(--sans); letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; color: var(--fg); border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.ledger a.go:hover { color: var(--accent); }
.ledger p.k { margin-bottom: .2rem; }
.institute .chapter-head .brand-art img { height: clamp(3rem, 2rem + 3vw, 5.4rem); }
.institute-statement { font-size: clamp(2.2rem, 1rem + 4.4vw, 5.8rem); line-height: 1; letter-spacing: -.035em; font-weight: 300; max-width: 20ch; }
.institute-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); margin-top: clamp(3rem, 6vw, 5rem); }
.institute-grid .prose { font-size: var(--fs-prose); }
.institute-grid .ety { margin-top: 1.5rem; font: 400 .9rem/1.5 var(--sans); color: var(--soft); }
.institute-grid .ety em { font-family: var(--serif); font-size: 1.05em; }
.announce { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); line-height: 1.3; letter-spacing: -.012em; }
.announce + p { margin-top: .4rem; font-style: italic; color: var(--soft); font-size: 1.2rem; }
.work-return { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: end; }
.work-return .label { margin-bottom: 1.5rem; }
.work-return h2 em { display: block; color: var(--accent); }

/* 404 */
.lost { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; column-gap: clamp(2rem, 5vw, 6rem); padding-block: calc(var(--header) + 3rem) 4rem; }
.lost-copy { grid-area: 1 / 1; }
/* The number itself, in the gray of the hero's predicted words: the page nobody predicted. */
.lost-code { grid-area: 1 / 2; justify-self: end; font: italic 250 clamp(9rem, 3rem + 21vw, 25rem)/.8 var(--serif); font-variant-numeric: var(--numerals); letter-spacing: -.06em; color: var(--ghost); }
.lost h1 { max-width: 14ch; }
.lost .swerve { height: clamp(4rem, 9vw, 8rem); margin-block: clamp(2rem, 5vw, 3.5rem); }
.lost-copy > p { max-width: 34rem; font-size: 1.25rem; color: var(--soft); }

/* Photographs as plates: square corners and a hairline keyline, on night and on paper alike.
   The bands that run from edge to edge (the speaking photograph, the street, the desk) have none. */
.hero-figure img, .cover-split figure img, .cover-wide img, .person figure img, .split figure img, .counsel-grid figure img, .research-grid figure img, .feature figure img, .plate img, .film video { outline: var(--hair) solid var(--rule); outline-offset: calc(var(--hair) * -1); }

/* Motion. The site's own movements are the headline that writes itself and the line that draws itself.
   Beside them there is one quiet entrance: text rises a few pixels as it comes into view. It runs only when
   scripting is on and motion is welcome, and nothing stays hidden if the script never arrives. */
.js.motion .reveal { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js.motion .reveal.is-in { opacity: 1; transform: none; }
.js.motion .reveal[data-delay="1"] { transition-delay: .08s; }
.js.motion .reveal[data-delay="2"] { transition-delay: .16s; }
.js.motion .reveal[data-delay="3"] { transition-delay: .24s; }
/* site.js marks the page (.io) when it starts watching. Until then a timer shows everything, in case it never loads. */
.js.motion:not(.io) .reveal:not(.is-in) { animation: reveal-fallback .6s linear 4s forwards; }
.js.motion:not(.io) .swerve[data-draw]:not(.is-in) svg { animation: swerve-fallback .6s linear 4s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
@keyframes swerve-fallback { to { clip-path: inset(-1rem -1px -1rem 0); } }

/* A short fade from one page to the next (browsers that support it; no script). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; animation-timing-function: ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* Large screens */
@media (min-width: 100rem) {
  :root { --header: 5.25rem; --fs-prose: 1.25rem; --fs-text: 1.125rem; }
  body { font-size: 1.1875rem; }
}

/* Small laptops and large tablets: the full praise and the four tiles need more room than a third or a quarter of 1024 px. */
@media (max-width: 74.99rem) {
  .praise:not(.is-short) .praise-trio { grid-template-columns: minmax(0, 1fr); }
  .praise:not(.is-short) .praise-panel blockquote, .praise:not(.is-short) .praise-panel figcaption { max-width: 44rem; }
  .ventures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venture:nth-child(2) { border-right: 0; padding-right: 0; }
  .venture:nth-child(3) { padding-left: 0; }
}

/* Tablet */
@media (max-width: 63.99rem) {
  :root { --header: 4.25rem; --section: 6.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { font-size: min(15.3cqi, 10rem); }
  .hero-figure { justify-self: stretch; width: auto; }
  .hero-foot { margin-top: 2.5rem; }
  .start-lead { grid-column: 1 / -1; }
  .feature, .stone-head, .person, .book, .series, .close-grid, .cover-split, .essay-grid, .theses-head, .bio, .split, .film-grid, .two-col, .work-cover, .chapter-head, .counsel-grid, .research-grid, .institute-grid, .work-return, .word-card, .wider-head { grid-template-columns: minmax(0, 1fr); }
  .praise-trio, .books-grid { grid-template-columns: minmax(0, 1fr); }
  .books-grid { gap: 3.5rem; }
  .book-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 1.75rem; align-items: start; }
  .book-card > a { grid-row: span 6; }
  .book-card .status { margin-top: 0; }
  .inside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inside li:nth-child(2) { border-right: 0; }
  .inside li:nth-child(3) { padding-left: 0; }
  .inside li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .chapter-head .brand-art { justify-content: flex-start; }
  .person figure { max-width: 34rem; }
  .book .cover-frame { max-width: 22rem; }
  .split figure { max-width: 36rem; }
  .essay-grid { --shift-px: 22; --pad: clamp(1.25rem, 4vw, 2.5rem); }
  .thread { left: 0; }
  .part-head, .part-body { grid-column: 1; }
  .part-head { padding-top: clamp(3.5rem, 8vw, 5rem); padding-left: var(--pad); scroll-margin-top: calc(var(--header) - 1rem); }
  .part-body { padding-top: 1.5rem; }
  .part.is-swerve .part-body, .part.after-swerve .part-body, .part.is-swerve .part-head, .part.after-swerve .part-head { padding-left: calc(var(--pad) + var(--shift-px) * 1px); }
  .part-mark { position: static; }
  .bio h2 { font-size: var(--fs-m); }
  .lost { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .lost-code, .lost-copy { grid-area: auto; }
  .lost-code { justify-self: start; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); font-size: clamp(6.5rem, 30vw, 12rem); }
}

/* Phone */
@media (max-width: 39.99rem) {
  :root { --section: 5rem; --fs-prose: 1.125rem; }
  body { font-size: 1.0625rem; }
  .btn { min-height: 3.25rem; }
  .hero { min-height: auto; }
  .start-body, .stone-body, .ideas-grid, .question-block .prose, .pair, .doors, .praise-reviews, .end-band { grid-template-columns: minmax(0, 1fr); }
  .start-body { row-gap: 1.15em; }
  .stone-body { gap: 1.25rem; }
  .question-block .prose { gap: 1.15em; }
  .ideas-grid { row-gap: 3rem; }
  .door { padding: 2rem 0 2.25rem; }
  .door:nth-child(odd) { border-right: 0; }
  .door:nth-child(even) { padding-left: 0; }
  .ventures { grid-template-columns: minmax(0, 1fr); }
  .venture, .venture:nth-child(n) { min-height: 0; padding-inline: 0; border-right: 0; }
  .venture .art { min-height: 5rem; }
  .inside { grid-template-columns: minmax(0, 1fr); }
  .inside li, .inside li + li, .inside li:nth-child(n) { padding-left: 0; padding-right: 0; border-right: 0; }
  .inside li + li { border-top: 1px solid var(--rule); }
  .inside strong { margin-top: 1.25rem; }
  .book-card { grid-template-columns: minmax(0, 1fr); }
  .book-card > a { grid-row: auto; }
  .book-card .cover-frame { max-width: 15rem; }
  .book-card .status { margin-top: 1.25rem; }
  .series-row { gap: .75rem; }
  .series-row .t { font-size: .9rem; }
  .series-row .status { gap: .35rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .toc { columns: 1; }
  .actions { gap: .75rem; }
  .actions .btn { flex: 1 1 100%; }
  .end-band > div, .end-band > div + div { padding-left: 0; padding-right: 0; border-left: 0; }
  .end-band > div + div { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
  .word-card { padding: 2rem 1.5rem; }
  .hope-lines li:nth-child(n) { padding-left: 0; }
  .praise-band { padding: 2rem 1.25rem; }
  .scroll-cue { display: none; }
  .topics { gap: .35rem .8rem; }
  .topics li { gap: .8rem; }
  .waitlist .btn { flex: 1 1 100%; }
  .theses li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  html.pp-run .pp-ghost .key { display: none; }
}

/* Print: the pages as reading matter. Black on white, the essay in one column, no navigation, no buttons,
   and the addresses of the sources spelled out. */
@media print {
  @page { margin: 18mm 17mm 20mm; }
  html, body { background: #fff !important; }
  body { font-size: 10.5pt; line-height: 1.5; color: #000; }
  .g-night, .g-cloth, .g-paper, .g-page { --bg: #fff; --fg: #000; --soft: #333; --label: #555; --rule: #bbb; --rule-strong: #777; --accent: #8E2B20; background: #fff !important; color: #000 !important; }
  .site-header, .menu-panel, .skip-link, .actions, .textlinks, .scroll-cue, .thread, .film, .film-meta, .toc, .work-index, .footer-col, .footer-signoff, .waitlist, .links-list .arrow, .venture-top .arrow, .lost-code { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .swerve svg { clip-path: none !important; animation: none !important; }
  .section, .cover, .sources, .essay-close { padding-block: 8mm !important; }
  .hero, .lost { min-height: 0; display: block; }
  .hero-grid, .cover-split, .person, .book, .split, .bio, .two-col, .counsel-grid, .research-grid, .institute-grid, .work-cover, .work-return, .close-grid, .stone-head, .wider-head, .essay-grid, .theses-head, .film-grid, .chapter-head, .series, .word-card, .feature { display: block; }
  .hero-figure, .cover-split figure, .person figure, .split figure, .counsel-grid figure, .book .cover-frame { max-width: 62mm; margin-block: 5mm; }
  .cover-wide, .plate, .close-figure, .path figure, .panorama, .research-grid figure { max-width: 105mm; margin: 5mm 0; }
  .hero-title, .work-cover h1, .page-cover h1, .display-xl { font-size: 30pt !important; line-height: 1.02; }
  .display-l, .questions p, .stone-question, .book-title, .institute-statement, .question-block .q2, .path .line, .word-card .lemma, .close-grid h2 { font-size: 21pt !important; line-height: 1.08; }
  .display-m, .idea dt, .door .q, .hope-lines li, .theses li span, .statement, .lemma-card .lemma, .signoff, .chapter-head .num { font-size: 15pt !important; line-height: 1.15; }
  .lead, .hero-descriptor, .page-cover .standfirst, .part-body .intro, .bridge { font-size: 12.5pt; line-height: 1.4; }
  .prose, .part-body .prose, .bio .prose, .stone-body p, .idea dd { font-size: 10.5pt !important; }
  .label, .status { font-size: 7.5pt; }
  h1, h2, h3, .part-head, .label { break-after: avoid; }
  p, li, blockquote { orphans: 3; widows: 3; }
  figure, img, .praise-panel, .door, .book-card, .pair, .lemma-card, .ledger li { break-inside: avoid; }
  img { max-width: 100% !important; }
  .part-mark { position: static; }
  .part-head { padding: 7mm 0 0 !important; }
  .part-head .n { display: inline; margin-right: .5em; font-size: 15pt; }
  .part-head h2 { display: inline; font-size: 15pt; }
  .part-body { padding: 3mm 0 0 !important; }
  .part-body > * { max-width: 135mm; }
  .essay .plate, .part-body .plate { max-width: 105mm !important; }
  .grid-12 { display: block; }
  .start-body > p + p, .stone-body > p + p, .question-block .prose > p + p { margin-top: .8em; }
  .door .b, .pair p, .inside p, .venture p, .book-card p.line, .book-card .sub, .faq .answer, .end-band p, .ledger .t, .ledger .s, .facts li, .theses-outro, .announce + p { font-size: 10.5pt !important; }
  .pair h3, .inside strong, .book-card h3, .faq summary, .announce, .work-cover .question, .praise-panel blockquote p { font-size: 12.5pt !important; }
  .sign, .lemma-card, .statement { break-inside: avoid; }
  .sources li { font-size: 8.5pt; }
  .sources a { text-decoration: none; }
  .essay .opens > p:first-child::first-letter { color: #000; }
  .doors, .ideas-grid, .praise-trio, .praise-reviews, .books-grid, .ventures, .inside, .end-band, .start-body, .stone-body, .pair, .question-block .prose { display: block; }
  .door, .idea, .praise-panel, .book-card, .venture, .inside li, .end-band > div { padding: 3mm 0 !important; border: 0 !important; min-height: 0; }
  .praise-panel:nth-child(2) { background: #fff; color: #000; }
  .book-card .cover-frame, .series-row { max-width: 40mm; }
  .venture .art { min-height: 0; margin: 2mm 0; }
  .masthead { -webkit-print-color-adjust: exact; print-color-adjust: exact; background-color: #000 !important; }
  .book-plate, .book-plate * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .book-plate.plate-the-cuckoo-in-the-loop { background: var(--night) !important; color: var(--paper) !important; }
  .site-footer { padding: 8mm 0 0 !important; border-top: .5pt solid #777; }
  .footer-top { display: block; }
  .footer-brand .masthead { height: 11mm; }
  .footer-bottom { margin-top: 4mm; border-top: 0; padding-top: 0; }
  a { color: inherit !important; }
  .prose a, .faq .answer a, .plate figcaption a { text-decoration: none; }
  .sources a::after, .prose a[href^="http"]::after, .ledger a.go::after { content: " (" attr(href) ")"; font: 400 7.5pt/1.3 var(--sans); letter-spacing: 0; text-transform: none; word-break: break-all; }
  .ledger a.go { display: block; border: 0; }
  details.transcript, .faq details { border: 0; }
  details::details-content { content-visibility: visible; display: block; }
  .faq summary::after, details.transcript summary::after { content: none; }
}

/* ABC appearance: original continuation, 31 October 2026. */
.abc-feature {padding-block: clamp(2.5rem, 5vw, 4.5rem); border-block-end: 1px solid var(--rule);}
.abc-feature-grid {display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start;}
.abc-feature h2 {font-size: clamp(2rem, 3.5vw, 3.25rem); margin-block-start: 1rem;}
.abc-feature .lead {font-size: clamp(1.05rem, 1.5vw, 1.2rem);}
.abc-feature .actions {flex-wrap: wrap; margin-block-start: 1.5rem;}
.abc-source {margin-block-start: 1.25rem;}
.abc-source a {font-size: .85rem; min-height: 44px; display: inline-flex; align-items: center;}
@media(max-width: 700px) {.abc-feature-grid {grid-template-columns: 1fr;} .abc-feature .btn {max-width: 100%;}}
