A scroll-snap layout can select the correct section and still feel broken: the section heading lands beneath a fixed header. The snap rule is not necessarily wrong. The scrolling container simply has no knowledge that part of the visible area is occupied by persistent chrome.
The implementation decision is to reserve that shared space on the scroll container with scroll-padding-top , using the fixed header’s height. This changes the container’s effective snapport: when a section snaps to start , the browser treats the area below the header as the useful top edge. The section can retain its existing scroll-snap-align: start , and the container can retain mandatory vertical snapping.
That separation matters. Child alignment describes where a target aligns; scroll padding describes the usable viewing region in which it should become visible. Adding spacing to every section may appear to work, but it changes content geometry and repeats a viewport-level concern in each target.…