/* Default: every chapter and its image can be read without JavaScript or motion. */
.story-visual { display:none; margin:0; }
.story-chapters { list-style:none; margin:0; padding:0; }
.story-chapter { margin:0; padding-block:32px; }
.chapter-copy { max-width:34ch; }
.chapter-number { display:block; color:var(--sky); font-size:.7rem; letter-spacing:.12em; margin-bottom:18px; }
.chapter-copy h3 { margin:0; color:#fff; font-size:clamp(1.5rem,2.15vw,2rem); font-weight:600; line-height:1.22; letter-spacing:-.035em; }
.chapter-copy p { color:var(--muted); font-size:.9rem; line-height:1.8; margin-top:20px; }
.chapter-fallback { width:100%; margin-top:28px; }

/* The sticky figure belongs to this section, so normal scrolling continues past it. */
.chapters-enhanced { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.65fr); column-gap:clamp(36px,5vw,80px); align-items:start; }
.chapters-enhanced .story-visual { display:grid; grid-column:2; grid-row:1; position:sticky; top:max(24px,calc(50svh - 245px)); min-width:0; background:var(--navy-light); }
.chapters-enhanced .story-chapters { grid-column:1; grid-row:1; }
.chapters-enhanced .story-chapter { display:flex; align-items:center; min-height:65vh; min-height:65svh; padding-block:64px; }
.chapters-enhanced .chapter-copy { border-left:2px solid #ffffff29; padding-left:25px; transition:border-color .35s; }
.chapters-enhanced .chapter-copy h3 { color:var(--muted); transition:color .35s; }
.chapters-enhanced .is-current .chapter-copy { border-color:var(--blue); }
.chapters-enhanced .is-current h3 { color:#fff; }
.chapters-enhanced .chapter-fallback { display:none; }
.story-images { max-height:calc(100svh - 220px); }
.story-images img { transition:opacity 550ms ease; }
.story-caption { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-block:17px 14px; }
.story-count { color:var(--muted); font-size:.65rem; font-variant-numeric:tabular-nums; letter-spacing:.05em; }
.story-count [data-story-count] { color:#fff; }
.story-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.story-progress a { display:flex; flex-wrap:wrap; align-content:flex-start; gap:5px 9px; min-height:48px; padding-top:12px; border-top:2px solid #ffffff29; color:var(--muted); font-size:.68rem; font-weight:600; line-height:1.5; text-decoration:none; transition:border-color .35s,color .35s; }
.story-tab-number { color:var(--sky); font-size:.6rem; font-weight:400; padding-top:1px; }
.story-progress .is-current { border-color:var(--blue); color:#fff; }
.story-progress a:hover { border-color:var(--sky); color:#fff; }

@media(max-width:959px) {
  .chapters-enhanced { display:block; }
  .chapters-enhanced .story-visual { top:16px; z-index:2; padding-top:8px; padding-bottom:20px; }
  .chapters-enhanced .story-visual::before { content:''; position:absolute; top:-16px; left:0; right:0; height:16px; background:var(--navy-light); }
  .story-images { max-height:42svh; }
  .chapters-enhanced .story-chapter { min-height:48vh; min-height:48svh; padding-block:52px; }
  .chapter-copy { max-width:42ch; }
  .chapter-copy h3 { font-size:clamp(1.5rem,4vw,2rem); }
  .chapter-copy p { font-size:.88rem; }
}
@media(max-width:600px) {
  .story-progress a { display:block; font-size:.61rem; padding-top:10px; }
  .story-tab-number { display:block; margin-bottom:4px; }
}
@media(prefers-reduced-motion:reduce),print {
  .experience-story { display:block; }
  .experience-story .story-visual { display:none; }
  .experience-story .story-chapter { display:block; min-height:0; padding-block:32px; }
  .experience-story .chapter-fallback { display:block; }
  .experience-story .chapter-copy { border:0; padding:0; }
  .experience-story .chapter-copy h3 { color:inherit; }
  .experience-story * { transition:none!important; }
}
@media print {
  .story-chapter { break-inside:avoid; }
  .chapter-copy p,.chapter-number { color:var(--ink-muted); }
}
