Measured Lighthouse lab results improved a lot: lab LCP went from about 24.1 s to 0.9 s, and the page transferred about 99.5% fewer bytes. No field data or INP was measured. The changes shipped together, so the gain can't be split between individual fixes.

**Framework:** None. Both pages are static HTML with inline CSS and one inline vanilla-JS click handler. I only looked at these two files, not any build setup.

## Measured improvement (Lighthouse 13.5.0 lab, simulated mobile throttling, median of 3 runs each)

| Metric | Before | After |
|---|---|---|
| Performance score | 0.49 | 1.00 |
| LCP | 24,144 ms | 903 ms |
| FCP | 17,694 ms | 632 ms |
| CLS | 0.149 | 0 |
| TBT | 45 ms | 0 ms |
| Bytes transferred | 5,757,104 | 27,532 |

The runs barely varied (before LCP 24,139–24,147 ms; after 902.4–902.8 ms), so the change is far bigger than run-to-run noise. Simulated throttling estimates timings from a model, so treat these as lab estimates, not real-user times.

## Priorities, with evidence

**1. Image loading (main cause of slow LCP)**
- The LCP element in the before report was `<img src="hero-original.png" loading="lazy" ...>`, a 2,329,720-byte PNG. Lighthouse flagged two problems: `loading=lazy` on the LCP image, and no `fetchpriority=high`.
- The after snippet is `<img src="hero-900.webp" width="900" height="506" fetchpriority="high" decoding="async" ...>` at 25,657 bytes. All three LCP-discovery checks pass.
- It displays at 376×212 CSS px with a device pixel ratio of 1.75 (about 658 px wide), so 900w is enough. A later step could add `srcset`/`sizes` for smaller screens. That's untested.

**2. Script loading (main cause of slow FCP)**
- In the before page, `catalog-stats.js` (3,425,605 bytes) loads in `<head>` without `defer`/`async`. Lighthouse estimated it blocked rendering for 16,952 ms, with about 17,050 ms of possible FCP savings.
- The after page removes it from the load path. `catalog.json` is now fetched only when the button is clicked, so its size and response time are not in these reports.
- This also changes behaviour: the count now comes from `catalog.json` instead of `window.catalogSummary`. These artifacts don't show whether that output is still correct, so it needs checking.

**3. Layout stability**
- CLS dropped from 0.149 ("needs improvement") to 0. The extract has no layout-shift attribution. The fix is consistent with the hero image now having `width`/`height` (the before image had no dimensions, so its box resized when it loaded). That's an inference, not a measured cause.

## What this does and doesn't show
- **Lab only:** LCP, CLS, TBT and FCP come from Lighthouse runs the editor captured separately. I didn't run a browser or record a trace.
- **Not measured:** field data (CrUX/RUM) and INP. TBT is a lab stand-in for main-thread blocking, not INP. The click path (fetch plus render) was never measured.
- **No attribution:** image format, lazy→eager loading, `fetchpriority`, dimensions and script removal all shipped together. The results show the whole set worked. They can't say how many milliseconds came from each change.

## Suggested next steps
1. Test that the click still produces the correct catalog count, including the error path.
2. Add a Lighthouse CI budget, for example LCP ≤ 2.5 s, CLS ≤ 0.1, and a per-image byte limit, using the same median-of-runs setup.
3. Add `web-vitals` RUM (LCP/INP/CLS at p75) before claiming any real-user improvement.