diff --git a/.agent/MEMORY.md b/.agent/MEMORY.md
index 960f681..eb9ca2b 100644
--- a/.agent/MEMORY.md
+++ b/.agent/MEMORY.md
@@ -12,6 +12,7 @@ Entrypoint for project memory. Read this before working in the repo.
- [Port `site` to Astro in `site-2`](./memories/port-site-to-astro.md) — what was ported, decisions, verification, and follow-ups.
- [Redesign: homepage + project page](./memories/redesign-2026-11-01.md) — brief, design decisions, commits, verification.
+- [Hero scale, shared grid, smooth scroll](./memories/hero-grid-scroll-2026-11-01.md) — 75% hero title, one horizontal grid for all sections, smooth back-to-top.
## Current state (2026-11-01)
@@ -21,3 +22,8 @@ The Astro port is complete and builds. `cd site-2 && npm run build` emits
The homepage and project page were redesigned: solid buttons, no pill labels
or eyebrows, no gradient text, revised copy, and a parts list on `/project`.
+
+All sections now share one horizontal grid (`--pad`/`--maxw` in
+`global.css`), the index hero title is 75% of its old size, and footer
+"Back to top" scrolls smoothly (reduced-motion users still jump instantly).
+See `memories/hero-grid-scroll-2026-11-01.md`.
diff --git a/.agent/memories/hero-grid-scroll-2026-11-01.md b/.agent/memories/hero-grid-scroll-2026-11-01.md
new file mode 100644
index 0000000..cc02c30
--- /dev/null
+++ b/.agent/memories/hero-grid-scroll-2026-11-01.md
@@ -0,0 +1,50 @@
+# Hero scale, shared horizontal grid, smooth back-to-top
+
+Date: 2026-11-01
+
+## Request
+
+1. Index hero heading was too big → scale to 75% (confirmed with the user;
+ "0.75%" was shorthand for 0.75×).
+2. Every section (header, hero, modules, footer, devices) must share the same
+ left/right section padding and centering margins so content edges align on
+ the same vertical lines.
+3. Footer "Back to top" (`#top`) must scroll smoothly.
+
+## Changes
+
+- `src/styles/global.css`
+ - Added shared layout tokens: `--pad:clamp(18px,4vw,52px)` and
+ `--maxw:1100px`.
+ - `.hdr`, `.hero`, `.module`, `.ft` now all use `var(--pad)`;
+ `.hdr-in`, `.hero-wrap`, `.wrap` all use `max-width:var(--maxw)`.
+ - `.htitle` is now `clamp(40.5px,9.75vw,138px)` — exactly 75% of the old
+ `clamp(54px,13vw,184px)`.
+ - `@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}`.
+ The existing reduced-motion block still disables animation/transitions;
+ smooth scrolling is opt-in only, so reduced-motion users jump instantly.
+- `src/components/Header.astro`
+ - Header contents wrapped in `.hdr-in` so the bar background stays full-bleed
+ while the logo/nav align to the shared content column.
+- `src/pages/devices.astro`
+ - `.dv-wrap` no longer overrides to 1080px + 24px padding; it now uses the
+ shared `--maxw` with no extra padding.
+
+## Verified (headless Chromium via CDP)
+
+- At 1427, 1200, 1024, 800, 390 and 320px, on `/`, `/project/` and `/devices/`:
+ every `.hdr-in`, `.hero-wrap` and `.wrap` has an identical left and right
+ edge (e.g. 163.5/1263.5 at 1427px, 18/302 at 320px). No horizontal overflow.
+- `.htitle` computed `138px` at 1427 (was 184px) and `117px` at 1200
+ (was 156px); `40.5px` at 320/390 (was 54px).
+- smooth scroll: `scrollBehavior: smooth`; clicking the footer `#top` link at
+ the bottom (scrollY 3373) animates to 0 over ~900ms.
+- `npm run build` passes (5 routes).
+- Header still fits at 320/390 (no content overflow).
+
+## Notes / interpretation
+
+- Only section-level gutters and content columns were unified. Deliberate inner
+ indents stay: the path spine's 84px content offset and the second "door"
+ column's 44px inner padding.
+- Verification scripts are in `/tmp/opencode` and are not committed.
diff --git a/src/components/Header.astro b/src/components/Header.astro
index bc4f9c8..be6217e 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -8,12 +8,14 @@ const here = (p) => path === p || path.startsWith(p + '/');
---