You just navigated from Page A with a full document reload. The heading
slid across because both pages share
view-transition-name: page-heading. The background colour
changed as part of the page-level cross-fade.
This is what gets served to every browser that visits a static site - no framework, no hydration, no bundle.