.reader {
  max-width: 68rem;
  padding-block: clamp(1.05rem, 3vw, 2.25rem) 3rem;
}

.reader-heading {
  margin-bottom: .5rem;
  text-align: center;
}

.reader-heading h1 {
  margin: .25rem auto 0;
  max-width: 32ch;
  font: bold clamp(1.15rem, 2.9vw, 1.95rem)/1.13 var(--serif);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.reader-controls {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  width: min(100%, 46rem);
  margin: 0 auto .5rem;
  padding-block: .6rem;
  background: var(--paper);
}

.reader-turn {
  gap: .35rem;
  justify-self: end;
  min-height: 2.75rem;
  padding: .52rem clamp(.58rem, 2vw, .95rem);
  font-size: .94rem;
  white-space: nowrap;
}

.reader-turn:first-child {
  justify-self: start;
}

.reader-count {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}

.reader-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.reader-actions > a {
  min-height: 2.65rem;
}

.reader-pages {
  scroll-margin-top: 4.5rem;
}

.book-page {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  padding: clamp(.65rem, 2vw, 1.45rem);
}

.reader:not(.flipbook-ready) .book-page {
  width: min(100%, 34rem);
  margin: 0 auto 1.15rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--white);
}

.reader-pages .book-cover {
  justify-content: space-evenly;
  gap: .45rem;
  background: #f4e9d2;
}

.book-cover-heading {
  text-align: center;
  color: var(--green-dark);
}

.book-brand {
  margin-bottom: .35rem;
  color: var(--clay);
  font: 750 clamp(.64rem, 3.1cqw, .85rem)/1.2 var(--sans);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.book-cover h2 {
  font: bold clamp(1.45rem, 9.7cqw, 3rem)/1.02 var(--serif);
  letter-spacing: -.06em;
  text-wrap: balance;
}

.book-cover h2 em {
  display: block;
  margin-top: .12em;
  font-size: .73em;
  font-weight: 400;
}

.book-art {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  border-radius: .24rem;
  object-fit: cover;
  background: var(--mint);
}

.book-source .book-art {
  object-fit: contain;
  background: #f5eee2;
}

.book-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  padding-top: clamp(.36rem, 3.2cqw, .95rem);
  color: #342d22;
  font: clamp(.85rem, 4.35cqw, 1.15rem)/1.36 var(--serif);
}

.book-copy h2 {
  color: var(--green-dark);
  font: bold clamp(1.1rem, 6.2cqw, 1.78rem)/1.05 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.book-cta {
  align-self: center;
  min-height: 2.65rem;
  gap: .45rem;
  padding: .48rem .85rem;
  font: 700 .89rem/1.2 var(--sans);
}

.book-copy .book-cta {
  align-self: flex-start;
  margin-top: .2rem;
}

@media (max-width: 23rem) {
  .reader-site-header .header-content {
    gap: .4rem;
  }

  .reader-site-header .brand {
    gap: .4rem;
    font-size: 1rem;
  }

  .reader-site-header .brand-mark {
    width: 1.6rem;
    height: 1.6rem;
  }

  .reader-site-header .navigation .button {
    padding-inline: .45rem;
    font-size: .82rem;
  }
}

@page {
  size: A5 portrait;
  margin: 0;
}

@media print {
  body {
    background: white;
    print-color-adjust: exact;
  }

  .site-header, .skip-link, .reader-heading, .reader-controls, [data-flip-live],
  .book-cta, .flip-leaf, .flip-stationary {
    display: none !important;
  }

  .reader {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .reader .reader-pages {
    display: block;
    width: auto;
    perspective: none;
  }

  .reader .reader-pages > .book-page {
    display: flex !important;
    break-after: page;
    break-inside: avoid;
    width: 148mm;
    height: 209mm;
    margin: 0;
    padding: 12mm 13mm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .reader .reader-pages > .book-page:last-child {
    break-after: auto;
  }

  .reader .reader-pages::after {
    display: none;
  }

  .book-cover h2 {
    font-size: 29pt;
  }

  .book-brand {
    font-size: 10pt;
  }

  .book-art {
    border-radius: 3mm;
  }

  .book-copy {
    gap: 2.5mm;
    padding-top: 5mm;
    font: 14pt/1.39 var(--serif);
  }

  .book-copy h2 {
    font-size: 19pt;
  }
}
