The timeline pins its heading and frame while a tall spacer scrolls underneath. On iOS, scrolling up reveals the browser toolbar, which changes window.innerHeight and moved the pin.

svh, lvh and a stable pin

Measuring 100svh and 100lvh with a hidden probe element gives heights that stay constant while the toolbar shows and hides, so the pin layout no longer shifts.

The fix was small, but finding it took a lot of scrolling on a real phone - simulators don't reproduce toolbar behaviour well.