/* Shared Book One visual language: Home, Chapter Index, Read It, and See It.
   See It retains its own warm palette and viewer layout. */
:root {
  --book-banner-height: 200px;
  --book-heading-size: clamp(1.85rem, 4vw, 2.6rem);
  --book-heading-tracking: .09em;
  --book-heading-gap: 8px;
}
/* Consistent width, framing, and vertical rhythm for all four page types. */
.banner-wrap { max-width: 1180px; margin: 18px auto 0; padding: 0 22px; }
.banner-wrap .banner, .book-home .hero {
  display: block; width: 100%; max-width: 1136px;
  height: var(--book-banner-height); max-height: none;
  margin-left: auto; margin-right: auto;
  object-fit: contain; object-position: center center;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 0 35px rgba(0,0,0,.32);
}

/* Book One landing image is a 2048 x 768 ensemble, not a shallow chapter strip.
   Let its native aspect ratio fill the available width without cropping. */
.book-home .hero {
  width: 100%;
  max-width: 1136px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Book Home's heading comes before its banner, so keep it distinctive in order. */
.book-home .book-heading h1,
.chapter-index .chapter-head h1,
.read-it .chapter-head h1 {
  font-size: var(--book-heading-size);
  letter-spacing: var(--book-heading-tracking);
  font-weight: normal; text-transform: uppercase;
}
.chapter-index .chapter-head, .read-it .chapter-head { margin-bottom: 18px; }
.chapter-index .chapter-head h1, .read-it .chapter-head h1 { margin: var(--book-heading-gap) 0; }
@media (max-width:720px) {
  :root { --book-banner-height: 145px; }
  .banner-wrap { margin-top: 14px; padding: 0 12px; }
  .banner-wrap .banner, .book-home .hero { border-radius: 12px; }
}
