/* Milestone 2: approved v1.3 book layout only.
   Header, footer, palette, navigation and correspondence come from site.css.
   Scope all editorial rules to the book frame; never restyle shared components. */
.book-page-frame {
  --book-reading-font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  width: min(1280px, calc(100% - 2 * clamp(1.25rem, 4vw, 4rem)));
  margin-inline: auto;
  font-size: 1.075rem;
  line-height: 1.7;
}
.book-page-frame .eyebrow {
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .14em;
  margin: 0 0 1rem;
}
.book-page-frame .book-hero {
  display: grid;
  grid-template-columns: minmax(330px, 42%) 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: 610px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  position: relative;
}
.book-page-frame .book-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 25%, var(--rule) 75%, transparent);
}
.book-page-frame .hero-image {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 490px;
}
.book-page-frame .quiet-halo {
  position: absolute;
  z-index: -1;
  inset: 14% 10% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse closest-side, #ab8b552b, transparent 70%);
  filter: blur(18px);
}
.book-page-frame .hero-image img {
  display: block;
  width: clamp(230px, 25vw, 315px);
  height: auto;
  max-width: 80%;
  filter: drop-shadow(2px 18px 13px #0005);
}
.book-page-frame .hero-content { max-width: 600px; }
.book-page-frame .status {
  margin: 0 0 1.5rem;
  color: var(--gold);
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.book-page-frame .hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 1.09;
  letter-spacing: -.025em;
}
.book-page-frame .subtitle {
  font-style: italic;
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  line-height: 1.3;
  margin: .4rem 0 0;
}
.book-page-frame .rule-short { width: 64px; height: 1px; background: var(--gold); margin: 2rem 0; }
.book-page-frame .hero-blurb {
  max-width: 48ch;
  color: #e4e0db;
  font-size: var(--book-reading-font-size);
  line-height: 1.65;
  margin: 0 0 2rem;
}
.book-page-frame .explore {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: .2rem;
}
.book-page-frame .breathing-space { height: clamp(3rem, 6vw, 6rem); }
.book-page-frame .reading-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 700px);
  gap: clamp(2rem, 5vw, 7rem);
  justify-content: center;
  padding: 5.75rem 0 4rem;
}
.book-page-frame .reading-navigation { align-self: start; position: sticky; top: 3rem; padding-top: 1rem; }
.book-page-frame .reading-navigation .eyebrow { margin-bottom: 1.7rem; }
.book-page-frame .reading-navigation a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  text-decoration: none;
  color: #d9d4c9;
}
.book-page-frame .reading-navigation a span { color: var(--gold); font-size: .8rem; }
.book-page-frame .reading-navigation a:hover { color: var(--gold); }
.book-page-frame .literary-section { scroll-margin-top: 2rem; padding-bottom: 3rem; }
.book-page-frame .literary-section + .literary-section { margin-top: 5rem; padding-top: 4.6rem; border-top: 1px solid #9f865258; }
.book-page-frame .section-kicker { display: flex; gap: 1rem; color: var(--gold); font-size: .75rem; letter-spacing: .14em; margin-bottom: 1.3rem; }
.book-page-frame .literary-section h2 { font-size: clamp(2.1rem, 3vw, 3.2rem); line-height: 1.25; margin: 0 0 2.6rem; }
.book-page-frame .prose { max-width: 67ch; }
.book-page-frame .prose p { font-size: var(--book-reading-font-size); line-height: 1.85; margin: 0 0 1.65em; color: #e1dbd1; }
.book-page-frame .prose p:first-child { font-size: clamp(1.22rem, 1.65vw, 1.46rem); line-height: 1.62; color: var(--ivory); }
.book-page-frame .prose p:last-child { margin-bottom: 0; }
.book-page-frame .literary-section:last-child { padding-bottom: 4rem; }
@media (max-width: 900px) {
  .book-page-frame .book-hero { grid-template-columns: minmax(230px, 38%) 1fr; padding-inline: 0; gap: 2rem; }
  .book-page-frame .hero-image { min-height: 380px; }
  .book-page-frame .hero-image img { max-width: 85%; }
  .book-page-frame .reading-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 680px) {
  .book-page-frame { --book-reading-font-size: 1.16rem; }
  .book-page-frame .book-hero { grid-template-columns: 1fr; gap: 1rem; min-height: 0; text-align: center; padding: 2.5rem 0 4rem; }
  .book-page-frame .hero-image { min-height: 330px; }
  .book-page-frame .hero-image img { width: 220px; max-width: 80%; }
  .book-page-frame .hero-content { margin: 0 auto; }
  .book-page-frame .hero-content h1 { font-size: 2.65rem; }
  .book-page-frame .subtitle { font-size: 1.55rem; }
  .book-page-frame .rule-short { margin: 1.4rem auto; }
  .book-page-frame .breathing-space { height: 2.5rem; }
  .book-page-frame .reading-layout { display: block; padding: 3rem 0 0; }
  .book-page-frame .reading-navigation { position: static; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #a98d564c; padding: 0 0 1rem; margin-bottom: 3rem; }
  .book-page-frame .reading-navigation .eyebrow { display: none; }
  .book-page-frame .reading-navigation a { font-size: .82rem; margin: 0; }
  .book-page-frame .literary-section h2 { font-size: 2.2rem; }
  .book-page-frame .prose p { line-height: 1.8; }
  .book-page-frame .literary-section + .literary-section { margin-top: 2rem; padding-top: 3.5rem; }
}
@media (max-width: 370px) {
  .book-page-frame .hero-content h1 { font-size: 2.3rem; }
}
