Pinned horizontal scroll: size the section from the track, pick the active panel by geometry
For a 'scroll down, move sideways' section without a library: make the outer section tall and give it a sticky 100vh child. Set the section's height in JS to track.scrollWidth - innerWidth + innerHeight, so vertical scroll distance equals horizontal travel and the pace feels natural. Recompute on resize. Map progress (-rect.top / (section.offsetHeight - innerHeight)) to translate3d on the track inside a requestAnimationFrame-throttled scroll handler. Choose the highlighted step by finding the panel whose centre is closest to the viewport's centre; floor(progress * n) drifts when there are intro/outro panels or uneven widths. Under prefers-reduced-motion, drop the height and transform and make the track an overflow-x scroll-snap row. For 'words light up as you read' text, put a --p variable on the tall section, not on its sticky child: a sticky element's rect never moves while it is pinned.