When the page first loaded, section links won’t lead directly to the section but stops somewhere above the section (i.e. “Reference”).
I’ve searched the forum for two days now and found threads with similar problems, but nothing seems to work for me…
Most likely you have large images above the section that are set to lazy-load.
If you do not have a specific image height set, the browser cannot calculate where your section will be. When you navigate to it, the image load is triggered, which pushes that section further down the page.
The browser takes you to where the section was before those images loaded.