/* Paperback: an e-reader. Night mode by default, monochrome on black; day mode when the
   reader's browser prefers light. Set in Literata, a typeface designed for reading on screens. */
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/fonts/literata-latin-opsz-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: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/fonts/literata-latin-opsz-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: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/fonts/literata-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/fonts/literata-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
  --page: #000000;
  --ink: #ECE6DA;
  --muted: #A39D92;
  --rule: #3A3732;
  --focus: #ECE6DA;
  --text: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
/* Day mode, when the reader's browser or system asks for light: the same book, printed. */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #FFFFFF;
    --ink: #1C1A17;
    --muted: #625D55;
    --rule: #DAD5CC;
    --focus: #1C1A17;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.06rem/1.75 var(--text); }
.page { max-width: 35rem; margin: 0 auto; padding: 1.25rem max(16px, env(safe-area-inset-right, 0px)) 4rem max(16px, env(safe-area-inset-left, 0px)); }
a { color: var(--ink); text-decoration-color: var(--muted); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2 { font-weight: 600; line-height: 1.25; text-wrap: balance; }
.runhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.25rem; font-style: italic; color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid var(--rule); padding-bottom: 0.5rem; }
.runhead a { color: var(--muted); text-decoration: none; }
.runhead a:hover { color: var(--ink); }
.runhead nav { display: flex; gap: 1.25rem; }
.title-page { text-align: center; margin: 3.5rem 0 2.75rem; }
.title-page h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 400; margin: 0 0 0.6rem; }
.title-page p { margin: 0.2rem 0; font-style: italic; color: var(--muted); }
.section { font-size: 1rem; font-weight: 600; font-variant: small-caps; letter-spacing: 0.04em; margin: 0 0 0.75rem; }
.contents { list-style: none; margin: 0 0 2.75rem; padding: 0; }
.contents li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: baseline; padding: 0.3rem 0; line-height: 1.45; }
.contents span { color: var(--muted); font-variant-numeric: oldstyle-nums tabular-nums; }
.entry { padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.entry .num { color: var(--muted); font-style: italic; font-variant-numeric: oldstyle-nums; }
.entry h2 { margin: 0.1rem 0 0.5rem; font-size: 1.3rem; }
.entry h2 a { text-decoration: none; }
.entry h2 a:hover { text-decoration: underline; text-decoration-color: var(--muted); }
.entry p { margin: 0; }
.from { margin-top: 0.5rem !important; font-style: italic; color: var(--muted); font-size: 0.92rem; }
.from a { color: var(--muted); }
.noted { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.noted li + li { margin-top: 0.35rem; }
.back { font-style: italic; color: var(--muted); margin: 1.5rem 0 0; }
.back a { color: var(--muted); }
.story h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 400; margin: 2.5rem 0 0.4rem; }
.story .kicker { font-style: italic; color: var(--muted); margin: 0 0 1.6rem; }
.story h2 { font-size: 1.02rem; font-style: italic; font-weight: 400; margin: 1.75rem 0 0.35rem; }
.story p { margin: 0 0 0.9rem; }
.story ul { padding-left: 1.2rem; margin: 0; }
.story li + li { margin-top: 0.35rem; }
.note, .small { font-style: italic; color: var(--muted); font-size: 0.92rem; }
.note { margin-top: 2rem !important; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
footer { margin-top: 3rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); font-style: italic; color: var(--muted); font-size: 0.9rem; }
