diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro
index 3ccb592e9..d7c9927b0 100644
--- a/docs/src/pages/index.astro
+++ b/docs/src/pages/index.astro
@@ -354,22 +354,36 @@ const base = import.meta.env.BASE_URL;
diff --git a/docs/tests/hero-reveal.spec.mjs b/docs/tests/hero-reveal.spec.mjs
new file mode 100644
index 000000000..44a6e0b60
--- /dev/null
+++ b/docs/tests/hero-reveal.spec.mjs
@@ -0,0 +1,73 @@
+import { test, expect } from '@playwright/test';
+
+// Regression test for the home-page scroll-reveal sections disappearing after a
+// View Transitions navigation away from and back to the home page.
+//
+// Repro steps (matches the reported bug):
+// 1. Land on the home page.
+// 2. Open search, run a query, click a result (navigates via View Transitions).
+// 3. Click the logo to go back home (navigates via View Transitions).
+// 4. Scroll the under-hero ".reveal" section into view.
+//
+// Before the fix the IntersectionObserver that adds `.visible` lived in a module
+// `