/* The reading page. Built on style.css tokens; only what a chapter needs. */

.reading {
  max-width: 40rem;
  margin: 0 auto;
  padding-inline: 20px;
  padding-block: 44px 20px;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.kicker a { color: var(--gold); }

.reading h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.12;
  color: var(--oxblood);
  margin: 0 0 32px;
}

/* the chapter itself — set to be read, not skimmed */
.chapter p {
  font-size: 1.12rem;
  line-height: 1.66;
  margin: 0 0 1.15rem;
  text-align: justify;
  hyphens: auto;
}
.chapter p:first-of-type::first-letter {
  float: left;
  font-size: 3.1em;
  line-height: 0.84;
  padding: 0.06em 0.1em 0 0;
  color: var(--oxblood);
}
@media (max-width: 480px) {
  .chapter p { text-align: left; hyphens: manual; }
}

/* the apparatus, after the chapter — as in the book */
.apparatus {
  margin-block: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--edge-firm);
}
.apparatus-head {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
/* the epigraph opens the chapter, as it does in the book -- centred under the
   title, with no rule, so it reads as part of the opening rather than as a
   note attached to it */
.epigraph {
  margin: 0 auto 14px;
  max-width: 30rem;
  text-align: center;
}
.note-pointer {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--ink-faint);
  margin: 0 0 40px;
}
.note-pointer a { color: inherit; text-decoration-color: var(--edge-firm); }
.note-pointer a:hover { color: var(--gold); }
.epigraph p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  margin: 0 0 7px;
  color: var(--ink);
}
.epigraph cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.apparatus .note {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.apparatus-why {
  font-family: var(--sans);
  font-size: 0.83rem;
  line-height: 1.58;
  color: var(--ink-faint);
  background: var(--sunk);
  border-left: 2px solid var(--edge-firm);
  padding: 13px 16px;
  margin: 0;
}

.tail {
  border-top: 1px solid var(--edge-firm);
  padding-top: 26px;
  padding-bottom: 18px;
}
.tail h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 0.7rem;
}
.tail p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.tail .btn { display: inline-block; width: auto; padding-inline: 26px; }
