.chapters{--wide:clamp(22px,5.6vw,100px);--space:clamp(60px,7.4vw,126px)}
.chapters h2{margin:0;text-wrap:balance}
.chapters section{position:relative}
.chapters .inside{padding:var(--space) var(--wide)}
.chapters .leadline{max-width:44ch}
.chapters .rail{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;position:relative;scroll-snap-type:x proximity}
.rail>*{scroll-snap-align:start;flex:none}
.gallery-arrows{display:flex;align-items:center;gap:8px}
.gallery-arrows button{width:46px;height:46px;color:inherit;border:1px solid currentColor;border-radius:50%;font-size:21px}
.gallery-arrows button:disabled{opacity:.35}
.gallery-arrows button:not(:disabled):hover{background:var(--ink);color:var(--paper)}
.route-map{width:100%;display:block}
.map-pin{cursor:pointer}
.map-pin circle{fill:var(--map-base);stroke:var(--map-stroke);stroke-width:2.5}
.map-pin text{fill:var(--map-stroke);font-size:15px;font-weight:700}
.map-pin.lit circle{fill:var(--map-stroke);stroke-width:5}
.map-pin.lit text{fill:var(--map-base)}
.draw-route{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--draw,1))}
.chapters .cover{width:100%;height:100%;object-fit:cover;display:block}
.chapters input,.chapters select{min-width:0}
@media(prefers-reduced-motion:reduce){.chapters *{scroll-behavior:auto!important}.draw-route{stroke-dashoffset:0}}
