/* sambr.com — "Light Table"
 * A dark, photo-first site: one photograph carries each page, navigation is
 * four words, everything measurable is small mono set as part of the image,
 * and one quiet serif does all the reading. Colour comes from the frames and
 * from the light they were shot in. The system is recorded in DESIGN-SPEC.md;
 * this file is the whole of it.
 *
 * Why a plain stylesheet in public/ rather than a Vite import: the six essay
 * pages under public/writing are static HTML outside the bundle, and every
 * page (including 404) must share one unhashed sheet. */

/* Fonts are self-hosted so text paints after two hops (HTML, site.css)
 * instead of four. EB Garamond for everything readable, IBM Plex Mono for
 * everything measurable. Google's latin and latin-ext woff2 builds (OFL);
 * the unicode-range keeps the -ext files unfetched until a page needs them.
 * Garamond's weight range is a variable axis; only 400 and 500 are used. */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-normal-400-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-normal-400-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-italic-400-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(/fonts/eb-garamond-italic-400-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-normal-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-normal-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-normal-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-normal-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink-0: #0e0f12; --ink-1: #16171b; --ink-2: #2c2d33; --ink-3: #45464d; --ink-img: #1e1f24;
  --mute: #8e8f97; --paper-2: #a7a5a0; --paper-3: #dcd9d2; --paper: #ebe8e1; --paper-cap: #c9c6bf;
  --accent: #8fa3d1; --faint: #3a3b42;
  --morning: #c3c9d6; --midday: #e8e4da; --golden: #d6b27a; --blue: #8fa3d1; --dusk: #8a97bd; --night: #9a9dbd;
  --band-night: #3a3d57; --band-dusk: #4d5a80;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--ink-0); color-scheme: dark; }
body { margin: 0; background: var(--ink-0); color: var(--paper); font-family: var(--serif); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: filter 900ms ease; }
/* The B key: the whole site drops into the blue hour. Oversold, still. */
body.blue { filter: sepia(.25) hue-rotate(190deg) saturate(1.1) brightness(.92); }
a { color: var(--paper); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.label.accent { color: var(--accent); }
.caption { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); }
.tiny { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--mute); }
.link { color: var(--paper); border-bottom: 1px solid var(--ink-3); }
button.link { all: unset; cursor: pointer; color: var(--paper); border-bottom: 1px solid var(--ink-3); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hue-morning { color: var(--morning); } .hue-midday { color: var(--midday); } .hue-golden { color: var(--golden); } .hue-blue-hour { color: var(--blue); } .hue-night { color: var(--night); }
.star { color: var(--golden); }

/* ── The column ─────────────────────────────────────────────────────── */
.page { max-width: 1280px; margin: 0 auto; background: var(--ink-1); min-height: 100vh; display: flex; flex-direction: column; }
.page > main { flex: 1 0 auto; }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 22px var(--gutter); }
.nav .brand { font-size: 22px; font-style: italic; letter-spacing: .01em; }
.nav ul { display: flex; gap: clamp(16px, 3vw, 28px); margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.nav ul a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav ul a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .clock { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); cursor: help; min-height: 1em; }
@media (max-width: 560px) { .nav .clock { flex-basis: 100%; } }

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px var(--gutter); border-top: 1px solid var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); }
.foot .coords { cursor: help; border-bottom: 1px dotted var(--ink-3); }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.foot a.faint { color: var(--faint); }
.foot a.faint:hover { color: var(--accent); }
.legal { padding: 0 var(--gutter) 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); max-width: 96ch; }

/* ── Page header ────────────────────────────────────────────────────── */
.page-head { padding: 56px var(--gutter) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 48px; align-items: end; }
.page-head h1 { font-size: clamp(44px, 6vw, 64px); line-height: 1; letter-spacing: -.01em; }
.page-head p { font-size: 20px; line-height: 1.45; color: var(--paper-2); text-wrap: pretty; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 22px; border-radius: 2px; border: 1px solid var(--ink-3); color: var(--paper); }
.btn:hover { color: var(--accent); border-color: var(--accent); }
.btn.filled { background: var(--paper); color: var(--ink-0); border-color: var(--paper); }
.btn.filled:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-0); }

/* ── Home: hero, ruler, two-up ──────────────────────────────────────── */
.hero { display: block; position: relative; height: min(720px, 80vh); min-height: 420px; overflow: hidden; background: var(--ink-img); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms ease; }
/* The stage opens dark; .ready is set once the hour's plate has decoded. */
.hero.ready img { opacity: 1; }
/* A portrait plate is never cropped to the stage: it stands at full height,
   centred, over a blurred and dimmed copy of itself that fills the width. */
.hero .bg { display: none; inset: -6%; width: 112%; height: 112%; filter: blur(28px) brightness(.45) saturate(.9); }
.hero.portrait .bg { display: block; }
.hero.portrait .main { object-fit: contain; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,15,18,.82) 0%, rgba(14,15,18,0) 50%); }
.hero .over { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; }
.hero .now { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-2); }
.hero h1 { margin-top: 10px; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.01em; max-width: 18ch; text-wrap: pretty; }
.hero .cap { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--paper-cap); }
.hero.ready:hover .main { opacity: .9; }
.ruler { padding: 32px var(--gutter) 8px; }
.ruler .bar { height: 6px; border-radius: 3px; overflow: hidden; display: grid; grid-template-columns: 5fr 2fr 10fr 2fr 1.5fr 1.5fr 2fr; }
.ruler .bar i { display: block; }
.ruler .tickrow { position: relative; height: 22px; }
.ruler .tick { position: absolute; top: -10px; width: 1px; height: 14px; background: var(--paper); }
.ruler .ticklabel { position: absolute; top: 6px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: var(--paper); }
.ruler .labels { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.ruler .labels .end { margin-left: auto; }
.ruler p { margin-top: 20px; font-size: 18px; line-height: 1.5; color: var(--mute); max-width: 64ch; text-wrap: pretty; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; padding: 56px var(--gutter) 64px; border-top: 1px solid var(--ink-2); margin-top: 40px; }
.two-up .t { display: block; margin-top: 12px; font-size: 34px; line-height: 1.12; text-wrap: pretty; }
.two-up .deck { margin-top: 10px; font-size: 18px; line-height: 1.45; color: var(--paper-2); text-wrap: pretty; }
.two-up .read { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); }
.two-up .now { margin-top: 12px; font-size: 24px; line-height: 1.3; text-wrap: pretty; }

/* ── Frames: filter, columns, cards ─────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0 var(--gutter) 24px; border-bottom: 1px solid var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.filters button { all: unset; cursor: pointer; color: var(--mute); }
.filters button:hover, .filters button:focus-visible { color: var(--accent); outline: none; }
.filters button[aria-pressed="true"] { color: var(--paper); }
.filters.picked button:not([aria-pressed="true"]) { opacity: .55; }
.filters.picked button[data-shelf="all"] { opacity: 1; }
.filters .end { margin-left: auto; }
.columns { padding: 32px var(--gutter) 40px; column-width: 300px; column-gap: 20px; }
.card { display: block; break-inside: avoid; margin-bottom: 28px; }
.card img { width: 100%; height: auto; background: var(--ink-img); transition: opacity .5s; }
.card img[data-lazy] { opacity: 0; }
.card:hover img { opacity: .9; }
.card .cap { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); display: flex; justify-content: space-between; gap: 12px; }
.card:hover .cap { color: var(--mute); }
.count { text-align: center; padding: 0 var(--gutter) 56px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ── Plate ──────────────────────────────────────────────────────────── */
.stage { padding: 24px var(--gutter) 0; display: flex; justify-content: center; background: var(--ink-0); }
.stage img { max-width: 100%; max-height: min(760px, 78vh); width: auto; height: auto; background: var(--ink-img); }
.plate-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px var(--gutter) 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.plate-nav a { color: var(--mute); }
.plate-nav a:hover { color: var(--accent); }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: 56px var(--gutter) 72px; }
.split > .main { flex: 7 1 380px; min-width: 0; }
.split > .aside { flex: 5 1 280px; min-width: 0; border-left: 1px solid var(--ink-2); padding-left: 32px; }
.split.work > .main { flex-basis: 420px; } .split.work > .aside { flex-basis: 300px; }
.split.about > .main { flex: 5 1 300px; max-width: 520px; } .split.about > .aside { flex: 7 1 400px; border: 0; padding: 0; }
@media (max-width: 760px) { .split > .aside { border-left: 0; padding-left: 0; } }
.plate-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.01em; text-wrap: pretty; }
.blurb { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--paper-2); text-wrap: pretty; }
.perfume { margin-top: 16px; font-size: 15px; color: var(--mute); font-style: italic; }
.dl { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .04em; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-content: start; }
.dl dt { color: var(--mute); white-space: nowrap; }
.dl dd { margin: 0; text-wrap: pretty; }
.dl a { border-bottom: 1px solid var(--ink-3); }

/* ── Lists: notes rows, work themes ─────────────────────────────────── */
.list { list-style: none; margin: 0; padding: 0 var(--gutter) 64px; border-bottom: 1px solid var(--ink-2); }
.list li { border-top: 1px solid var(--ink-2); }
.list li a { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 32px 0; align-items: baseline; }
.list .d { flex: 0 0 110px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute); }
.list .body { flex: 1 1 400px; min-width: 0; }
.list .t { display: block; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; text-wrap: pretty; }
.list .deck { display: block; margin-top: 8px; font-size: 18px; line-height: 1.45; color: var(--paper-2); max-width: 60ch; text-wrap: pretty; }
.list .r { flex: 0 0 90px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute); text-align: right; }
.list li a:hover .t { color: var(--accent); }
.list li a:hover { color: var(--paper); }
.note { padding: 24px var(--gutter); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); }
.themes { list-style: none; margin: 0; padding: 0; }
.themes li { padding: 28px 0; border-top: 1px solid var(--ink-2); }
.themes li:last-child { border-bottom: 1px solid var(--ink-2); }
.themes .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); display: flex; justify-content: space-between; }
.themes h2 { margin-top: 10px; font-size: 30px; line-height: 1.15; text-wrap: pretty; }
.themes p { margin-top: 10px; font-size: 18px; line-height: 1.5; color: var(--paper-2); text-wrap: pretty; }
.aside .thumb { display: block; }
.aside .thumb .img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-img); }
.aside .thumb img { width: 100%; height: 100%; object-fit: cover; }
.aside .thumb:hover img { opacity: .9; }
.aside .thumb .cap { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--mute); }
.aside .label { display: block; margin-top: 36px; }
.aside .label:first-child { margin-top: 0; }
.timeline { margin-top: 14px; gap: 10px 20px; }
.timeline dt { color: var(--accent); }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 14px; }
.figs b { display: block; font-weight: 400; font-size: 36px; line-height: 1; }
.figs span { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); margin-top: 6px; }
.aside .prose { margin-top: 12px; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.aside .prose a, .bio a, .dir dd a, .page-head p a, .ruler p a, .two-up .now a { border-bottom: 1px solid var(--ink-3); }
.aside .small { margin-top: 12px; font-size: 15px; color: var(--mute); }

/* ── About ──────────────────────────────────────────────────────────── */
.portrait .img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-img); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .cap { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--mute); }
.about-h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.05; letter-spacing: -.01em; }
.bio { margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--paper-3); text-wrap: pretty; }
.bio + .bio { margin-top: 18px; }
.dir { margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; }
.dir dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.dir dd { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: var(--paper-2); }
.dir dd .mono { font-size: 13px; color: var(--paper); border: 0; }
.doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.quote { margin-top: 40px; font-size: 15px; font-style: italic; color: var(--mute); text-wrap: pretty; }
.quote .who { font-style: normal; font-family: var(--mono); font-size: 11px; }

/* ── Essay ──────────────────────────────────────────────────────────── */
.article { width: 100%; max-width: 680px; margin: 0 auto; padding: 64px var(--gutter) 80px; }
.article .back { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ess-title { margin-top: 24px; font-size: clamp(38px, 6vw, 56px); line-height: 1.05; letter-spacing: -.01em; text-wrap: pretty; }
.ess-deck { margin-top: 20px; font-size: 24px; line-height: 1.4; color: var(--paper-2); text-wrap: pretty; }
.ess-meta { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--mute); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.essay-body { font-size: 21px; line-height: 1.6; color: var(--paper-3); }
.essay-body p { margin-top: 24px; }
.essay-body .keep > p:first-of-type, .essay-body .sec + p { margin-top: 0; }
.essay-body .sec { margin: 48px 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 400; line-height: 1.5; }
.essay-body .sec small { font-size: inherit; }
.essay-body .sec small::after { content: " · "; }
.essay-body .q { margin: 36px 0; padding-left: 28px; border-left: 1px solid var(--accent); font-size: 28px; line-height: 1.25; color: var(--paper); font-style: italic; text-wrap: pretty; }
.essay-body .no { margin: 36px 0; font-size: 34px; line-height: 1.2; color: var(--paper); font-style: italic; }
.essay-body a { border-bottom: 1px solid var(--ink-3); }
.essay-body strong, .essay-body b { font-weight: 500; color: var(--paper); }
.essay-body code { font-family: var(--mono); font-size: .78em; color: var(--paper); background: var(--ink-0); padding: 1px 5px; border-radius: 2px; }
.essay-body pre { margin-top: 24px; font-family: var(--mono); font-size: 14px; line-height: 1.5; color: var(--paper-3); background: var(--ink-0); padding: 16px 18px; overflow: auto; }
.essay-body pre code { background: none; padding: 0; font-size: inherit; }
.essay-body ul, .essay-body ol { margin: 24px 0 0; padding-left: 1.2em; }
.essay-body sup { font-size: .65em; line-height: 0; }
.essay-body .refs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-2); font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: var(--paper-2); }
.essay-body .refs h6 { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 400; }
.essay-body .refs table { width: 100%; border-collapse: collapse; }
.essay-body .refs td { padding: 6px 12px 6px 0; vertical-align: top; word-break: break-word; border-top: 1px solid var(--ink-2); }
.essay-body .refs td:first-child { width: 24px; color: var(--mute); }
.essay-body .refs a { border-bottom: 1px solid var(--ink-3); }
.tl { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink-2); display: flex; justify-content: space-between; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute); }
.tl .next { text-align: right; }
.tl a, .tl span.t { font-family: var(--serif); font-size: 20px; letter-spacing: 0; display: block; margin-top: 6px; text-wrap: pretty; }

/* ── Motion, print ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { html, body { background: #fff; color: #000; } .page { background: #fff; } .nav ul, .foot, .filters, .plate-nav { display: none !important; } a { color: inherit; } }
