/* ============================================================================
   Letters of Arrival — single stylesheet
   Companion to Forty-Nine Ways to Leave. Adapted from the Forty-Nine stylesheet
   (itself masters-locked from the Vera site) per the seven-round joint expert
   session, 2026-06-22.

   Discipline (inherited, re-ratified):
   - Warm literary ground, near-black ink, one accent used EXACTLY ONCE.
   - Typography does the work. Georgia for everything. No web fonts.
   - No box-shadow, no border-radius above 0, no gradients, no transforms.
   - No transitions except link opacity at 120ms.
   - scroll-behavior: auto (instant anchor jumps).

   Variation from Forty-Nine (this book ARRIVES; the first one LEFT):
   - Ground shifted from dusty sepia toward warm letter-paper IVORY.
   - Accent shifted from oxblood/wine toward TERRACOTTA — arrival's colour, the
     one warm note of the anaglyph cover (the lipstick).
   - New letter furniture: the envelope dateline (from / to / place / date), the
     "in reply to" threshold, the quiet cross-book link, and the held page of the
     absence (letter 44).
   ============================================================================ */

:root {
  /* Palette — warm letter-paper ground, warm near-black ink, one terracotta accent */
  --la-cream-cool: #EDE4D2;     /* home page ground (palest ivory) */
  --la-cream-warm: #E9DFC9;     /* reading + apparatus ground (letter-stock) */
  --la-ink:        #231A12;     /* type, links, arrows; warm near-black */
  --la-accent:     #9F3F28;     /* the once-only sentence (deep terracotta; clears WCAG AA 4.9:1 on the cream as normal text) */

  /* Link discipline — rest opacity clears WCAG AA on the warm cream */
  --la-link-opacity-rest: 0.80;
  --la-link-opacity-hover: 1.0;
  --la-transition: 120ms;

  /* Typographic discipline */
  --max-prose-width: 640px;
  --max-chart-width: 800px;
  --body-size: 19px;
  --body-line: 1.55;

  --display-font: 'Georgia', serif;
  --body-font:    'Georgia', serif;
}

/* ----------------------------------------------------------------------------
   Reset (minimal)
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--la-ink);
  color: var(--la-cream-cool);
  text-decoration: none;
  z-index: 100;
  font-family: var(--body-font);
  font-size: 16px;
  outline: 2px solid var(--la-cream-cool);
  outline-offset: 2px;
}
html { scroll-behavior: auto; }
img { max-width: 100%; height: auto; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------------------------
   Page grounds
   ---------------------------------------------------------------------------- */
body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--la-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home   { background-color: var(--la-cream-cool); }
body.doc    { background-color: var(--la-cream-warm); }
body.about  { background-color: var(--la-cream-warm); }

/* ----------------------------------------------------------------------------
   Typography
   ---------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------------------
   Links — single transition rule
   ---------------------------------------------------------------------------- */
a {
  color: var(--la-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  opacity: var(--la-link-opacity-rest);
  transition: opacity var(--la-transition) linear;
}
a:hover, a:focus { opacity: var(--la-link-opacity-hover); }
a:focus-visible { outline: 2px solid var(--la-ink); outline-offset: 4px; }

/* ----------------------------------------------------------------------------
   Home page — page zero
   Composition: cover -> one true line -> count -> disclosure -> enter -> secondary.
   ---------------------------------------------------------------------------- */
body.home .home-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem 2rem;
  text-align: center;
}
@media (max-width: 600px) {
  body.home .home-shell { padding: 1.5rem 1rem 3rem 1rem; }
}

body.home .home-cover { display: block; margin: 0 auto; max-width: 360px; width: 100%; }
body.home .home-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(35, 26, 18, 0.12);
}
@media (max-width: 600px) {
  body.home .home-cover { max-width: calc(100vw - 2rem); }
}

/* One true line from the book — quiet, italic, the book's own voice */
body.home .home-opening {
  font-family: var(--body-font);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  color: var(--la-ink);
  text-align: center;
  margin: 3.5rem auto 2.5rem auto;
  max-width: 30em;
  opacity: 0.9;
}
@media (max-width: 600px) {
  body.home .home-opening { font-size: 22px; margin: 2.5rem auto 2rem auto; }
}

/* The honest count — whispered coordinate-line register */
body.home .home-count {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.74;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto 2.5rem auto;
}
@media (max-width: 600px) {
  body.home .home-count { font-size: 15px; margin-bottom: 2rem; }
}

body.home .home-disclosure {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: var(--body-line);
  text-align: center;
  margin: 2rem auto 0 auto;
  max-width: 520px;
  opacity: 0.85;
}
@media (max-width: 600px) { body.home .home-disclosure { font-size: 16px; } }

body.home .home-arrow-wrap { margin: 3rem auto 0 auto; text-align: center; }
body.home .home-arrow {
  font-family: var(--body-font);
  font-size: 22px;
  line-height: 1.4;
  color: var(--la-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  opacity: 0.85;
  display: inline-block;
}
body.home .home-arrow:hover, body.home .home-arrow:focus { opacity: 1; }
body.home .home-arrow:focus-visible { outline: 2px solid var(--la-ink); outline-offset: 4px; }
@media (max-width: 600px) { body.home .home-arrow { font-size: 20px; } }

body.home .home-secondary {
  margin: 3.5rem auto 0 auto;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}
/* No container opacity: the links carry their own rest opacity (clears AA) and
   keep their hover-brighten — stacking would double-mute them. */
body.home .home-secondary a { color: var(--la-ink); }
body.home .home-secondary .sep { margin: 0 0.5em; opacity: 0.6; }
@media (max-width: 600px) {
  body.home .home-secondary { font-size: 15px; }
  body.home .home-secondary .sep { display: none; }
  body.home .home-secondary a { display: block; margin: 0.4em 0; }
}

body.home .home-storefront {
  margin: 1.25rem auto 0 auto;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
body.home .home-storefront a { color: var(--la-ink); }
@media (max-width: 600px) { body.home .home-storefront { font-size: 13px; } }

/* ----------------------------------------------------------------------------
   Cover thumbnails on index pages
   ---------------------------------------------------------------------------- */
.read-cover-thumb {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 2rem auto;
  border: 1px solid rgba(35, 26, 18, 0.12);
}
@media (max-width: 600px) { .read-cover-thumb { width: 120px; } }

/* ----------------------------------------------------------------------------
   The once-only accent sentence (terracotta — appears EXACTLY ONCE on the site)
   ---------------------------------------------------------------------------- */
.accent-sentence {
  color: var(--la-accent);
  font-family: var(--body-font);
  font-size: 24px;
  line-height: 1.6;
  text-align: center;
  margin: 3.5rem auto;
  max-width: var(--max-prose-width);
}
/* The accent lives on the method page (body.doc), where `body.doc p` would
   otherwise win on specificity and shrink it to body size. Restore its display. */
body.doc p.accent-sentence { font-size: 24px; line-height: 1.6; margin: 3.5rem auto; }
@media (max-width: 600px) {
  .accent-sentence { font-size: 22px; margin: 3rem auto; }
  body.doc p.accent-sentence { font-size: 22px; margin: 3rem auto; }
}

/* ----------------------------------------------------------------------------
   Primary documents layout (rendered .md -> method)
   ---------------------------------------------------------------------------- */
body.doc .doc-shell { max-width: var(--max-prose-width); margin: 0 auto; padding: 3rem 2rem 5rem 2rem; }
body.doc .doc-back-link { margin: 0 0 3rem 0; }

body.doc h1 { font-family: var(--display-font); font-weight: bold; font-size: 36px; line-height: 1.2; margin: 0 0 0.5em 0; }
body.doc h2 { font-family: var(--body-font); font-style: italic; font-size: 24px; line-height: 1.3; margin: 2em 0 0.8em 0; }
body.doc h3 { font-family: var(--body-font); font-style: italic; font-size: 21px; line-height: 1.3; margin: 1.6em 0 0.6em 0; }
body.doc h4 { font-family: var(--body-font); font-weight: bold; font-size: var(--body-size); line-height: 1.3; margin: 1.4em 0 0.4em 0; }
body.doc p { font-size: var(--body-size); line-height: var(--body-line); margin: 0 0 1em 0; }
body.doc ul, body.doc ol { font-size: var(--body-size); line-height: var(--body-line); margin: 0 0 1em 0; padding-left: 1.5em; }
body.doc li { margin: 0 0 0.4em 0; }
body.doc blockquote { margin: 1em 0; padding-left: 1.2em; border-left: 2px solid rgba(35, 26, 18, 0.3); font-style: italic; }
body.doc hr { border: 0; border-top: 1px solid rgba(35, 26, 18, 0.3); margin: 2em 0; }
body.doc strong { font-weight: bold; }
body.doc em { font-style: italic; }

/* ----------------------------------------------------------------------------
   Editorial reset
   ---------------------------------------------------------------------------- */
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--la-ink); color: var(--la-cream-warm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* ----------------------------------------------------------------------------
   Site top-nav — sticky CSS-only wayfinding (apparatus pages)
   ---------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--la-cream-warm);
  border-bottom: 1px solid rgba(35, 26, 18, 0.15);
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  padding: 0.7rem 1.5rem;
  margin: 0;
}
.site-nav a { color: var(--la-ink); text-decoration: none; opacity: var(--la-link-opacity-rest); }
.site-nav a:hover, .site-nav a:focus { opacity: var(--la-link-opacity-hover); }
.site-nav [aria-current="page"] { opacity: 1; }
.site-nav .sep { margin: 0 0.5em; opacity: 0.4; }
body.doc .doc-shell, body.about .about-shell { scroll-margin-top: 3.5rem; }
@media (max-width: 600px) {
  .site-nav { font-size: 15px; padding: 0.6rem 1.25rem; }
  .site-nav .sep { display: none; }
}

/* ----------------------------------------------------------------------------
   About page
   ---------------------------------------------------------------------------- */
.about-shell { max-width: 640px; margin: 0 auto; padding: 3.5rem 2rem 6rem 2rem; }
.about-kicker { font-family: var(--body-font); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; text-align: center; margin: 0 0 0.6rem 0; }
.about-name { font-family: var(--body-font); font-style: italic; font-weight: normal; font-size: 32px; text-align: center; color: var(--la-ink); margin: 0 0 2.6rem 0; }
.about-bio p { font-family: var(--body-font); font-size: 19px; line-height: 1.7; color: var(--la-ink); margin: 0 0 1.4rem 0; }
.about-links { margin-top: 2.8rem; }
.about-links h2 { font-family: var(--body-font); font-style: italic; font-weight: normal; font-size: 20px; opacity: 0.85; margin: 0 0 0.9rem 0; }
.about-links .link-list { list-style: none; padding: 0; margin: 0; }
.about-links .link-list li { font-family: var(--body-font); font-size: 17px; line-height: 1.95; }
.about-links .link-list a { color: var(--la-ink); text-decoration: none; opacity: var(--la-link-opacity-rest); }
.about-links .link-list a:hover, .about-links .link-list a:focus { opacity: var(--la-link-opacity-hover); }
.about-links .link-note { opacity: 0.55; font-style: italic; }

/* ----------------------------------------------------------------------------
   Read-aloud floor — optional machine narration; secondary to the text.
   ---------------------------------------------------------------------------- */
body.read .listen { margin: 0 0 2.5rem 0; font-family: var(--body-font); }
body.read .listen > summary { font-style: italic; font-size: 16px; opacity: var(--la-link-opacity-rest); cursor: pointer; }
body.read .listen > summary:hover { opacity: 1; }
body.read .listen > summary:focus-visible { outline: 2px solid var(--la-ink); outline-offset: 3px; }
body.read .listen .listen-note { font-size: 14px; font-style: italic; opacity: 0.74; margin: 0.6rem 0 0.5rem 0; line-height: 1.5; }
body.read .listen audio { width: 100%; max-width: 420px; margin: 0.2rem 0 0.4rem 0; }

/* ----------------------------------------------------------------------------
   Print
   ---------------------------------------------------------------------------- */
@media print {
  body { background: white; color: black; }
  a { color: black; opacity: 1; text-decoration: underline; }
  .back-link, .doc-back-link, .read-nav, .read-breadcrumb, .skip-link, .site-nav, .listen { display: none; }
}

/* ----------------------------------------------------------------------------
   Language toggle — quiet, in the breadcrumb / nav register (EN ↔ Türkçe)
   ---------------------------------------------------------------------------- */
.lang-toggle { font-style: italic; }
body.read .read-langbar {
  text-align: right;
  font-family: var(--body-font);
  font-style: italic;
  font-size: 15px;
  margin: 0 0 1.5rem 0;
}
body.read .read-langbar .lang-toggle { color: var(--la-ink); opacity: var(--la-link-opacity-rest); }
body.read .read-langbar .lang-toggle:hover, body.read .read-langbar .lang-toggle:focus { opacity: 1; }
.site-nav .lang-toggle { font-style: italic; }
body.home .home-langbar {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 15px;
  text-align: center;
  margin: 0 0 2rem 0;
}
body.home .home-langbar .lang-toggle { color: var(--la-ink); opacity: var(--la-link-opacity-rest); }
body.home .home-langbar .lang-toggle:hover, body.home .home-langbar .lang-toggle:focus { opacity: 1; }

/* ============================================================================
   READING INTERFACE
   ============================================================================ */
body.read { background-color: var(--la-cream-warm); }

body.read .read-shell { max-width: var(--max-prose-width); margin: 0 auto; padding: 2.5rem 1.5rem 5rem 1.5rem; }

body.read .read-breadcrumb {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.7;
  margin: 0 0 3rem 0;
}
/* Links inside the 0.7-opacity breadcrumb render at the container opacity (not
   stacked) so they clear WCAG AA. */
body.read .read-breadcrumb a { font-style: italic; opacity: 1; }

body.read .read-section-mark {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.72;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.read h1.chapter-title {
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 1.6rem 0;
}
@media (max-width: 600px) {
  body.read h1.chapter-title { font-size: 26px; margin-bottom: 1.4rem; }
  body.read .read-shell { padding: 2rem 1.25rem 4rem 1.25rem; }
}

/* ----------------------------------------------------------------------------
   The envelope dateline — from / to / place / date above each letter.
   ---------------------------------------------------------------------------- */
body.read .letter-meta {
  margin: 0 0 2.6rem 0;
  padding: 0 0 1.4rem 0;
  border-bottom: 1px solid rgba(35, 26, 18, 0.18);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.45;
}
body.read .letter-meta > div { display: contents; }
body.read .letter-meta dt {
  font-style: italic;
  opacity: 0.7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  padding-top: 0.15em;
}
body.read .letter-meta dd { margin: 0; opacity: 0.92; }
body.read .letter-meta dd.dl-from { font-weight: bold; }
@media (max-width: 600px) {
  body.read .letter-meta { font-size: 15px; gap: 0.3rem 0.7rem; }
}

/* "In reply to" — a quiet threshold to the answered letter(s). */
body.read .letter-reply {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.78;
  margin: -1.4rem 0 2.4rem 0;
}
body.read .letter-reply a { font-style: italic; opacity: 1; }

body.read article p {
  font-family: var(--body-font);
  font-size: 19px;
  line-height: 1.72;
  margin: 0 0 1.2em 0;
}
body.read article em { font-style: italic; }
body.read article strong { font-weight: bold; }

/* Scene breaks: --- render as a · · · rule — a touch of air; the letter breathes. */
body.read article hr {
  border: 0;
  margin: 2.4em auto;
  width: 4em;
  text-align: center;
}
body.read article hr::before {
  content: '· · ·';
  font-family: var(--body-font);
  font-size: 19px;
  opacity: 0.5;
  letter-spacing: 0.5em;
}

body.read article blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid rgba(35, 26, 18, 0.25); font-style: italic; }

/* The quiet cross-book link — arrival pointing back at the leaving. */
body.read .cross-book {
  margin: 3rem 0 0 0;
  padding: 1.4rem 0 0 0;
  border-top: 1px solid rgba(35, 26, 18, 0.14);
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
}
body.read .cross-book a { font-style: italic; opacity: 1; }

/* The whole-book seam back to Forty-Nine Ways to Leave (the leaving these answer).
   Quiet by size/italic/placement, not by low contrast; no accent colour. */
body.read .bridge {
  margin: 3.5rem auto 0 auto;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(35, 26, 18, 0.2);
  max-width: var(--max-prose-width);
  text-align: center;
  font-family: var(--body-font);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--la-ink);
}
body.read .bridge p { margin: 0; }
body.read .bridge a { font-style: normal; }

/* Bottom navigation: prev | index | next */
body.read .read-nav {
  margin-top: 3.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(35, 26, 18, 0.25);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  font-size: 18px;
}
body.read .read-nav .nav-prev { text-align: left; }
body.read .read-nav .nav-up { text-align: center; }
body.read .read-nav .nav-next { text-align: right; }
body.read .read-nav .nav-empty { visibility: hidden; }
@media (max-width: 600px) {
  body.read .read-nav { grid-template-columns: 1fr; gap: 0.8rem; text-align: center; }
  body.read .read-nav .nav-prev, body.read .read-nav .nav-up, body.read .read-nav .nav-next { text-align: center; }
}

/* ----------------------------------------------------------------------------
   The absence — letter 44. A held, almost-empty page.
   ---------------------------------------------------------------------------- */
body.read .letter-absence {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.read .letter-absence .absence-dash {
  font-family: var(--display-font);
  font-size: 40px;
  opacity: 0.45;
  margin: 0 0 2.5rem 0;
}
body.read .letter-absence .absence-note {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.72;
  max-width: 24em;
}

/* ----------------------------------------------------------------------------
   Reading index — the table of forty-five (with datelines)
   ---------------------------------------------------------------------------- */
body.read.index .read-shell { max-width: 760px; }

body.read.index h1.read-title {
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 52px;
  line-height: 1.1;
  text-align: center;
  margin: 1rem 0 0.5rem 0;
}
@media (max-width: 600px) { body.read.index h1.read-title { font-size: 36px; } }

body.read.index .read-subtitle {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 19px;
  text-align: center;
  opacity: 0.75;
  margin: 0 0 2rem 0;
}

body.read.index .read-offering {
  font-size: 1.02em;
  text-align: center;
  max-width: 34em;
  margin: 0 auto 1.5em auto;
  opacity: 0.92;
}

body.read.index .read-listen-note {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.74;
  text-align: center;
  max-width: 34em;
  margin: 0 auto 3.5rem auto;
}

/* Ranked doors at the top of the index */
body.read.index .index-doors {
  text-align: center;
  margin: 0 auto 3.5rem auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(35, 26, 18, 0.18);
  font-size: 18px;
}
body.read.index .index-doors a { margin: 0 0.9em; display: inline-block; }
@media (max-width: 600px) { body.read.index .index-doors a { display: block; margin: 0.5em 0; } }

/* The numbered list of forty-five */
body.read.index ol.toc-letters { list-style: none; padding: 0; margin: 0; }
body.read.index .toc-letter {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 0 0.9em;
  border-bottom: 1px solid rgba(35, 26, 18, 0.10);
}
body.read.index .toc-letter:last-child { border-bottom: 0; }
body.read.index .toc-num {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 18px;
  opacity: 0.7;
  text-align: right;
  padding-top: 0.95em;
}
/* The whole row is one large clickable target (tap-target floor). */
body.read.index .toc-letter-link { display: block; min-width: 0; padding: 0.9em 0; text-decoration: none; opacity: 1; }
body.read.index .toc-letter-title {
  display: block;
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 21px;
  line-height: 1.3;
  text-decoration: none;
}
body.read.index .toc-letter-link:hover .toc-letter-title,
body.read.index .toc-letter-link:focus-visible .toc-letter-title { text-decoration: underline; }
/* The dateline on each row — from -> to · place · date */
body.read.index .toc-dateline {
  display: block;
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.82;
  margin: 0.3em 0 0 0;
}
body.read.index .toc-dateline .dl-from { font-style: italic; }
body.read.index .toc-dateline .dl-arrow { opacity: 0.55; margin: 0 0.15em; }
body.read.index .toc-dateline .dl-sep { opacity: 0.45; margin: 0 0.45em; }
body.read.index .toc-dateline .dl-to { font-style: italic; }
body.read.index .toc-incipit {
  display: block;
  font-family: var(--body-font);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.72;
  margin: 0.3em 0 0 0;
  text-decoration: none;
}
body.read.index .toc-letter.is-absence .toc-letter-title { opacity: 0.5; }
@media (max-width: 600px) {
  body.read.index .toc-letter { grid-template-columns: 1.8em 1fr; gap: 0 0.6em; }
  body.read.index .toc-letter-title { font-size: 19px; }
  body.read.index .toc-dateline { font-size: 14px; }
}

body.read.index .toc-actions {
  margin: 3.5rem 0 0 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(35, 26, 18, 0.25);
  text-align: center;
  font-size: 18px;
}
body.read.index .toc-actions a { margin: 0 1.2em; }

/* ----------------------------------------------------------------------------
   Correspondents page (who writes to whom; who answers whom; who recurs)
   ---------------------------------------------------------------------------- */
body.read.correspondents .read-shell { max-width: 720px; }
body.read.correspondents .corr-intro {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 auto 3rem auto;
  max-width: 34em;
  text-align: center;
}
body.read.correspondents h2.corr-section {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 24px;
  text-align: center;
  opacity: 0.9;
  margin: 3.5rem 0 2rem 0;
}
body.read.correspondents .corr {
  margin: 0 0 2.2rem 0;
  padding: 0 0 1.6rem 0;
  border-bottom: 1px solid rgba(35, 26, 18, 0.12);
}
body.read.correspondents .corr:last-of-type { border-bottom: 0; }
body.read.correspondents .corr-name {
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 0.2rem 0;
}
body.read.correspondents .corr-name .corr-num { font-family: var(--body-font); font-weight: normal; font-style: italic; font-size: 16px; opacity: 0.65; margin-right: 0.5em; }
body.read.correspondents .corr-line {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.9;
  margin: 0.25rem 0 0 0;
}
body.read.correspondents .corr-line .corr-label { font-style: italic; opacity: 0.82; margin-right: 0.4em; }
body.read.correspondents .corr-line a { opacity: 1; }

/* Where they write from — the place grouping */
body.read.correspondents .places { list-style: none; padding: 0; margin: 0; }
body.read.correspondents .places li {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.6;
  padding: 0.35em 0;
  border-bottom: 1px solid rgba(35, 26, 18, 0.08);
}
body.read.correspondents .places li:last-child { border-bottom: 0; }
body.read.correspondents .places .place-name { font-weight: bold; }
body.read.correspondents .places .place-letters { font-style: italic; opacity: 0.8; }
/* The letter-number links sit inside the 0.8 place-letters; reset so they don't
   stack-mute below AA (renders at the container's 0.8 = ~7.5:1). */
body.read.correspondents .places a { opacity: 1; }

/* ----------------------------------------------------------------------------
   Complete / single-page mode
   ---------------------------------------------------------------------------- */
body.read.complete .read-shell { max-width: var(--max-prose-width); }
body.read.complete h2.letter-divider {
  font-family: var(--display-font);
  font-weight: bold;
  font-size: 30px;
  line-height: 1.25;
  text-align: center;
  margin: 5rem 0 0.4rem 0;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(35, 26, 18, 0.2);
}
body.read.complete .letter-divider-num {
  display: block;
  font-family: var(--body-font);
  font-style: italic;
  font-weight: normal;
  font-size: 17px;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
body.read.complete .letter-divider-meta {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 15px;
  text-align: center;
  opacity: 0.7;
  margin: 0 0 2rem 0;
}
body.read.complete h2.letter-divider:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }
body.read.complete .scroll-warning { font-family: var(--body-font); font-style: italic; font-size: 16px; opacity: 0.72; text-align: center; margin: 1rem 0 3rem 0; }
body.read.complete .colophon-block {
  margin: 5rem auto 0 auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(35, 26, 18, 0.2);
  text-align: center;
  font-style: italic;
  opacity: 0.8;
  line-height: 1.8;
}
body.read.complete .complete-absence {
  text-align: center;
  font-family: var(--body-font);
  font-style: italic;
  opacity: 0.55;
  margin: 2.5rem 0;
}
