/* Native scrolling; every chapter remains readable without JavaScript. */
.hike-story { padding: 72px 0 32px; background: #111e16; }
.hike-story-intro { max-width: 800px; margin-bottom: 48px; }
.hike-story-intro h2 { font-family: var(--font-heading); font-size: clamp(2rem,4vw,3.5rem); line-height: 1.15; margin-bottom: 20px; }
.hike-story-intro > p:not(.eyebrow) { color: #c3cfc5; font-size: 1.1rem; }
.story-chapter { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(32px,6vw,90px); align-items: start; padding: 24px 0 64px; min-height: 80vh; }
.story-chapter figure { position: sticky; top: 110px; margin: 0; }
.story-chapter img { width: 100%; height: min(58vh,560px); object-fit: cover; border-radius: 8px; }
.story-chapter .story-group-photo { object-position: center 65%; }
.story-chapter figcaption { font-size: .82rem; color: #b8c6bb; margin-top: 12px; }
.story-copy { align-self: center; padding: 40px 0; }
.story-number { color: #e9c46a; font-size: .75rem; letter-spacing: .14em; font-weight: 600; }
.story-copy h3 { font-family: var(--font-heading); font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1.2; margin: 18px 0 24px; }
.story-copy p { color: #d0dad2; margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.story-copy .story-source { font-size: .85rem; }
.story-source a { text-decoration: underline; text-underline-offset: 4px; }
.story-copy .btn { margin: 8px 0; }
@keyframes story-arrive { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media(min-width: 769px) and (prefers-reduced-motion: no-preference) {
 .story-chapter.is-arriving .story-copy { animation: story-arrive 600ms ease-out both; }
}
@media(max-width: 768px), (prefers-reduced-motion: reduce) {
 .story-chapter { min-height: 0; }
 .story-chapter figure { position: static; }
 .story-copy { animation: none; }
}
@media(max-width: 768px) {
 .hike-story { padding-top: 48px; }
 .hike-story-intro { margin-bottom: 24px; }
 .story-chapter { grid-template-columns: 1fr; gap: 0; padding: 16px 0 32px; }
 .story-chapter img { height: auto; max-height: 440px; aspect-ratio: 4/3; }
 .story-copy { padding: 24px 0 12px; }
}
@media print {
 .story-chapter { min-height: 0; break-inside: avoid; }
 .story-chapter figure { position: static; }
}
/* One pinned visual stage, advanced by the narrative's scroll position. */
.story-view-toggle { display: inline-block; margin: 8px 0; padding: 10px 16px; border: 1px solid #78927f; border-radius: 8px; background: transparent; color: #e8ede9; font: inherit; cursor: pointer; min-height: 44px; }
.story-stage { display: none; }
.story-enhanced .story-track { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px,5vw,72px); position: relative; }
.story-enhanced .story-stage { display: block; position: sticky; top: 130px; height: calc(100svh - 154px); max-height: 850px; align-self: start; }
.story-visual { position: absolute; inset: 0 0 58px; overflow: hidden; border-radius: 10px; background: #203b2b; }
.story-frame { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 650ms ease, visibility 650ms; }
.story-frame.is-active { opacity: 1; visibility: visible; }
.story-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--scene-scale,1)); }
.story-frame .story-group-photo { object-position: center 65%; }
.story-frame figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 24px 20px; background: linear-gradient(transparent,#07110beF); color: #fff; font-size: .9rem; }
.story-progress { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #e9c46a; letter-spacing: .12em; font-size: .7rem; }
.story-progress-track { width: 100%; height: 2px; background: #405c47; overflow: hidden; }
.story-progress-track i { display: block; width: 100%; height: 100%; background: #e9c46a; transform-origin: left; }
.story-enhanced .story-chapter { display: flex; flex-direction: column; justify-content: center; min-height: 85svh; padding: 32px 0; gap: 0; }
.story-enhanced .story-chapter > figure { display: none; }
.story-enhanced .story-copy { padding: 24px 0; border-top: 1px solid #38533f; width: 100%; }
.story-enhanced .story-number { opacity: .7; }
.story-enhanced .is-current .story-number { opacity: 1; }
@media (max-width: 768px) {
 .story-enhanced .story-track { display: block; }
 .story-enhanced .story-stage { top: 100px; height: 34svh; min-height: 200px; z-index: 2; background: #111e16; }
 .story-enhanced .story-visual { bottom: 40px; }
 .story-frame figcaption { font-size: .72rem; padding: 28px 12px 10px; }
 .story-progress { font-size: .6rem; gap: 6px; padding-bottom: 6px; }
 .story-enhanced .story-chapter { min-height: 65svh; justify-content: flex-start; padding-top: 24px; }
 .story-enhanced .story-copy h3 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
 .story-frame { transition: none; }
 .story-frame img { transform: none; }
}
@media print {
 .story-enhanced .story-track { display: block; }
 .story-enhanced .story-stage,.story-view-toggle { display: none; }
 .story-enhanced .story-chapter { min-height: 0; display: block; }
 .story-enhanced .story-chapter > figure { display: block; }
}
/* Keep the original photo descriptions available to assistive technology. */
.story-enhanced .story-chapter > figure { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media print { .story-enhanced .story-chapter > figure { position: static; width: auto; height: auto; margin: 0; clip-path: none; white-space: normal; } }
