.chapter-hero { background: #e8efdc; border-bottom: 1px solid #cddac1; }
.chapter-hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding-block: 3.8rem; }
.chapter-hero h1 { font-size: clamp(3.3rem, 6.7vw, 6rem); max-width: 11ch; letter-spacing: -.025em; }
.chapter-hero .eyebrow { color: #487a55; }
.chapter-intro { font-size: 1.15rem; max-width: 39ch; line-height: 1.6; margin-top: 1.4rem; color: #3b5d50; }
.chapter-hero figure { margin: 0; }
.chapter-hero figcaption { margin-top: .6rem; color: #48624f; font-size: .77rem; font-weight: 600; }
.chapter-hero img { border-radius: .7rem; aspect-ratio: 1.5; object-fit: cover; }
.chapter-hero .chapter-portrait img { aspect-ratio: 1.25; object-fit: contain; padding: 1rem .6rem; border-radius: 48% 48% .7rem .7rem; background: #d2e3b7; }
.chapter-arnold .chapter-portrait img { aspect-ratio: 1.15; }
.chapter-windfall-peak .chapter-hero { background: #e5e8f5; }
.chapter-enchanted-grove .chapter-hero { background: #dceadb; }
.chapter-farm .chapter-hero { background: #f6e8c4; }
.chapter-layout { display: grid; grid-template-columns: 15rem minmax(0, 43rem); justify-content: space-between; gap: 4rem; padding-block: 4rem 5rem; }
.chapter-toc { align-self: start; position: sticky; top: 1.5rem; font-size: .9rem; }
.chapter-toc nav { display: grid; gap: .2rem; }
.chapter-toc h2 { font: 800 .8rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; color: #71816c; }
.chapter-toc nav a { display: block; padding: .6rem .7rem; border-left: 2px solid #c9d2b7; text-decoration: none; font-weight: 600; }
.chapter-toc a:hover { background: #e6edda; border-color: #62966c; }
.chapter-book { display: block; margin-top: 1.5rem; font-weight: 800; padding: .9rem; background: #ffedb1; border-radius: .4rem; }
.chapter-body { min-width: 0; font-size: 1.075rem; line-height: 1.8; }
.chapter-body > p { margin-bottom: 1.3rem; color: #3e594d; }
.chapter-body section { margin-top: 3.1rem; }
.chapter-body section:first-child { margin-top: 0; }
.chapter-body h2 { font-size: clamp(2.1rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.chapter-body section > p + p { margin-top: 1rem; }
.chapter-body p { color: #365346; }
.character-story { border-left: 4px solid #b9c99a; padding: .7rem 1.2rem 1rem; background: #f1f0df; border-radius: 0 .6rem .6rem 0; }
.character-story .story-speaker { margin-bottom: .7rem; color: #55764e; font-size: .8rem; font-weight: 800; letter-spacing: .05em; }
.character-story blockquote { margin: 0; font-size: 1rem; }
.character-story blockquote p + p { margin-top: 1rem; }
.story-illustration { margin: 1.5rem 0; }
.story-illustration img { height: 17rem; object-fit: contain; object-position: left; }
.story-illustration figcaption { margin-top: .6rem; font-size: .8rem; color: #6e7862; }
.chapter-body .chapter-tips { margin-top: 3rem; padding: 1.6rem 1.8rem; border-radius: .6rem; background: #e8eed9; border: 1px solid #d1daba; }
.chapter-tips h2 { font-size: 2rem; }
.chapter-tips ul { margin: 0; padding-left: 1.2rem; color: #365346; }
.chapter-tips li + li { margin-top: .7rem; }
.chapter-related { background: #ece8d5; }
.chapter-related h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.chapter-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.chapter-related-grid a { text-decoration: none; padding: 1.4rem; background: #fff8e8; border: 1px solid #d4cfb8; border-radius: .5rem; }
.chapter-related-grid h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.chapter-related-grid p { font-size: .92rem; color: var(--muted); }
.chapter-related-grid a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 60rem) {
  .chapter-hero-layout { gap: 2rem; }
  .chapter-layout { grid-template-columns: 12rem minmax(0, 1fr); gap: 2.5rem; }
}
@media (max-width: 46rem) {
  .chapter-hero-layout { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .chapter-hero h1 { max-width: none; font-size: clamp(3rem, 12vw, 4.5rem); }
  .chapter-hero img { aspect-ratio: 1.7; }
  .chapter-layout { display: flex; flex-direction: column; gap: 2.5rem; padding-block: 2.5rem 3.5rem; }
  .chapter-toc { position: static; width: 100%; padding-bottom: 1.5rem; border-bottom: 1px solid #d7d3b7; }
  .chapter-toc nav { grid-template-columns: 1fr 1fr; font-size: .84rem; }
  .chapter-toc h2 { grid-column: 1 / -1; }
  .chapter-book { margin-top: 1rem; }
  .chapter-body { font-size: 1rem; }
  .chapter-related-grid { grid-template-columns: 1fr; }
}
