/* The original illustrated pages remain intact; the accompanying text reflows for reading. */
.reader-page .story-film-background::after,
html.js:not(.is-scrolled) .reader-page .story-film-background::after {
  background: rgba(248, 246, 237, .91);
  opacity: 1;
}

.reader-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 106px;
}
.reader-header .brand-name { font-size: clamp(32px, 4vw, 46px); }
.reader-back { color: var(--gold-dark); font-size: 21px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; }
.reader-main { width: min(1060px, calc(100% - var(--gutter) - var(--gutter))); }
.reader-intro { max-width: 760px; margin: 38px auto 48px; text-align: center; }
.reader-intro h1 { color: var(--gold); font-size: clamp(52px, 6vw, 80px); }
.reader-intro > p:not(.section-label) { margin-top: 20px; color: var(--muted); font-size: 25px; }
.chapter-nav { position: sticky; z-index: 8; top: 0; display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 56px); padding: 13px 6px; background: rgba(248, 246, 237, .96); border-bottom: 1px solid var(--line); }
.chapter-nav a { color: var(--gold-dark); font-size: 21px; font-weight: 600; line-height: 1.25; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.chapter-nav a[aria-current="location"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; }
.reader-chapter { padding: 75px 0 95px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.chapter-spread { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(38px, 7vw, 95px); align-items: start; }
.reflection-page { margin: 0; }
.reflection-page img { width: 100%; height: auto; box-shadow: 0 10px 26px rgba(68, 66, 48, .08); }
.chapter-copy { padding: clamp(8px, 2vw, 24px) 0; }
.chapter-number { color: #79591d; font-size: 21px; }
.chapter-copy h2 { margin-top: 4px; color: var(--gold); font-size: clamp(49px, 5vw, 67px); }
.chapter-setting { margin-top: 14px; color: #657062; font-size: 21px; }
.chapter-prose { margin-top: 32px; color: #293b30; font-size: 25px; line-height: 1.43; }
.chapter-prose p + p { margin-top: .75em; }
.animal-message { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.animal-message h3 { color: #79591d; font-size: 23px; font-weight: 600; }
.animal-message p { margin-top: 9px; }
.printed-page { margin-top: 26px; color: var(--gold-dark); font-size: 20px; }
.printed-page summary { text-underline-offset: 5px; }
.printed-page img { width: min(100%, 580px); height: auto; margin-top: 18px; box-shadow: 0 10px 26px rgba(68, 66, 48, .08); }
.reader-end { padding: 20px 0 100px; text-align: center; color: var(--muted); font-size: 24px; }
.reader-end a { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-weight: 600; text-underline-offset: 5px; }
.reader-footer { padding: 26px 0 90px; border-top: 1px solid var(--line); color: #536252; font-size: 18px; }
.reader-footer p + p { max-width: 720px; margin-top: .6em; }

@media (max-width: 760px) {
  .reader-header { align-items: flex-start; flex-direction: column; gap: 0; min-height: 0; padding: 8px 0 10px; }
  .reader-header .brand-mark { width: 52px; height: 52px; }
  .reader-header .brand-name { font-size: clamp(31px, 8.9vw, 39px); }
  .reader-back { font-size: 19px; }
  .reader-intro { margin: 58px auto 38px; }
  .reader-intro h1 { font-size: clamp(47px, 10vw, 65px); }
  .reader-intro > p:not(.section-label) { font-size: 23px; }
  .chapter-nav { justify-content: space-between; gap: 8px; padding: 13px 2px; }
  .chapter-nav a { font-size: 19px; }
  .reader-chapter { padding: 58px 0 75px; }
  .chapter-spread { grid-template-columns: 1fr; gap: 28px; }
  .reflection-page { max-width: 520px; margin-inline: auto; }
  .chapter-copy { padding: 0; }
  .chapter-copy h2 { font-size: clamp(46px, 10vw, 60px); }
  .chapter-prose { margin-top: 25px; font-size: 24px; }
}
@media (max-width: 370px) {
  .reader-header .brand-mark { width: 46px; height: 46px; }
  .reader-header .brand-name { font-size: clamp(27px, 9.7vw, 31px); }
  .chapter-nav a { font-size: 18px; }
}
