/* The static reading: plain, calm, readable with no script at all.
 *
 * Re-authored from lab/abundint's `src/page.css` (the lane law: production
 * never imports the lab). Two deliberate additions: the type is SELF-HOSTED
 * from this artifact, and it degrades to the system stack rather than to a
 * foundry — a page that fetches a font has handed the reader's address to
 * somebody the reader never chose. Nothing in this file is data: the
 * publication's theme tokens arrive as CSS custom properties (`--ab-ground`,
 * `--ab-ink`, `--ab-accent`), never as CSS text (design study §6.3).
 *
 * The @font-face paths are relative to THIS stylesheet, so they resolve the
 * same from the landing and from a nested essay.
 */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-400-normal.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-400-normal.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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-400-italic.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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-400-italic.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: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-latin-400-normal.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: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-latin-ext-400-normal.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;
}

:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body.ab-page {
  min-height: 100vh;
  background: var(--ab-ground, oklch(0.14 0.008 110));
  color: var(--ab-ink, oklch(0.92 0.015 90));
  font: 400 1.18rem/1.65 "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--ab-accent, oklch(0.78 0.09 85)); outline-offset: 3px; }
.ab-mast, .ab-main, .ab-foot { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
.ab-mast { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; padding-top: 2.4rem; padding-bottom: 2.4rem; }
.ab-title { font-size: 1.6rem; text-decoration: none; letter-spacing: 0.02em; }
.ab-tagline, .ab-meta, .ab-kicker, .ab-provenance, time {
  font: 400 0.74rem/1.4 "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.08em;
  color: color-mix(in oklch, currentColor 60%, transparent);
}
.ab-place { margin: 0 0 2.2rem; border-left: 2px solid var(--ab-place, color-mix(in oklch, currentColor 30%, transparent)); padding-left: 1rem; }
.ab-place h2 { font-weight: 500; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: lowercase; margin: 0 0 0.6rem; color: var(--ab-place, inherit); }
.ab-place h2 a { text-decoration: none; }
.ab-entries { list-style: none; margin: 0; padding: 0; }
.ab-entries li { margin: 0 0 0.9rem; }
.ab-entry-title { font-size: 1.25rem; }
.ab-deck { margin: 0.2rem 0 0; font-style: italic; color: color-mix(in oklch, currentColor 75%, transparent); }
.ab-article h1 { font-weight: 500; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0.2rem 0 0.6rem; }
.ab-article h2, .ab-article h3 { font-weight: 500; letter-spacing: 0.01em; margin: 2rem 0 0.4rem; }
.ab-article .ab-kicker a { color: var(--ab-place, inherit); text-decoration: none; }
.ab-article p { margin: 0 0 1.1rem; }
.ab-article blockquote { margin: 1.4rem 0; padding-left: 1rem; border-left: 2px solid color-mix(in oklch, currentColor 25%, transparent); font-style: italic; }
.ab-article pre { overflow-x: auto; padding: 0.9rem 1rem; background: color-mix(in oklch, currentColor 8%, transparent); border-radius: 2px; }
.ab-article pre, .ab-article code { font: 400 0.86rem/1.5 "DM Mono", ui-monospace, monospace; letter-spacing: 0; }
.ab-article hr { border: 0; border-top: 1px solid color-mix(in oklch, currentColor 20%, transparent); margin: 2.2rem 0; }
.ab-article figure { margin: 1.4rem 0; }
.ab-article figure img { width: 100%; height: auto; display: block; }
@media (min-width: 44rem) {
  .ab-image-left figure { float: left; width: 42%; margin: 0.4rem 1.6rem 1rem 0; }
  .ab-image-right figure { float: right; width: 42%; margin: 0.4rem 0 1rem 1.6rem; }
}
.ab-foot { padding-top: 3rem; padding-bottom: 2rem; clear: both; }
.ab-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Hydrated: the canvas covers the page; the page STAYS in the document for
   anyone who asks for it back (and for anyone reading it with a screen reader
   that was already in it). */
body.ab-page.ab-hydrated { overflow: hidden; }
body.ab-page.ab-hydrated > .ab-mast,
body.ab-page.ab-hydrated > .ab-main,
body.ab-page.ab-hydrated > .ab-foot { display: none; }
#ab-canvas { position: fixed; inset: 0; }
