Build order step 1 (docs/01): scaffold, tokens, base layout, header, footer, SEO component, plus a temporary /type-scale/ proof sheet that step 2 deletes. THE FONTS WERE NEVER ON DISK. global.css declared six @font-face rules pointing at /fonts/*.woff2 and public/fonts/ did not exist, so every face had been silently falling back to Georgia and the system sans. Six cuts committed, 123,804 bytes, SIL OFL 1.1, provenance in docs/reference/fonts-provenance.md. ?v=1 on every URL because the deploy script serves them immutable for a year. ZERO JAVASCRIPT. The reveal was an inline IntersectionObserver in <head>; docs/05 specifies script-src 'self' with no unsafe-inline, so the only script on the site was the one thing the site's own CSP would refuse to execute. Replaced with animation-timeline: view() behind @supports. 0 script tags and 0 .js files in dist. The infinity mark is lifted verbatim from the deployed site's own smlMark loading thumbnail, not redrawn (Q32 asks whether a canonical vector exists). The proof sheet computes its contrast table from tokens.css rather than restating docs/02 — all eleven ratios reproduce the measured table exactly. Register: Canadian Tax Foundation added (§4, R10 widened); Q30 closed — SML Company Ltd is federally incorporated under the CBCA, and the footer publishes neither that nor the place of business; Q31 closed — Plausible, on EU-only data residency (D15 amended). ROLE constants added for "Director of Firm Operations" and "active litigation exposure" so step 3 does not hand-type them. Lighthouse unavailability now stated in six places rather than left as a control that had silently stopped existing (§7, R11). Both review agents ran twice. The second pass found four defects in the first pass's fixes, including the minifier bug written back into its own fix and a colour-alone repair that used the banned gold-on- cream pairing at 2.10:1. Measured in headless Chrome at thirteen widths with a seventh nav item injected: 0 overflow, 0 tap targets under 44x44, 0 focus-order inversions, state indicators at 12.29:1, 755 words of body text with no JavaScript. Opened: Q32-Q37. Closed: Q30, Q31. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012XquaEq4BgWMCwUqLEyNkF
2.6 KiB
Fonts — provenance
Self-hosted per docs/02-design-system.md. No runtime Google Fonts request:
the page collects legal inquiries, and a third-party font call costs a round trip
and adds a third party to that page.
These .woff2 files are committed rather than pulled at build time so their
paths are stable — a <link rel="preload"> needs a filename that does not change
between builds, and Astro's asset hashing would break that.
| File | Source package | Version | Licence |
|---|---|---|---|
instrument-serif-latin-400-normal.woff2 |
@fontsource/instrument-serif |
5.3.0 | SIL OFL 1.1 |
instrument-serif-latin-ext-400-normal.woff2 |
@fontsource/instrument-serif |
5.3.0 | SIL OFL 1.1 |
instrument-serif-latin-400-italic.woff2 |
@fontsource/instrument-serif |
5.3.0 | SIL OFL 1.1 |
geist-latin-wght-normal.woff2 |
@fontsource-variable/geist |
5.3.0 | SIL OFL 1.1 |
geist-latin-ext-wght-normal.woff2 |
@fontsource-variable/geist |
5.3.0 | SIL OFL 1.1 |
geist-mono-latin-wght-normal.woff2 |
@fontsource-variable/geist-mono |
5.3.0 | SIL OFL 1.1 |
The ?v=1 on every font URL is load-bearing. scripts/deploy-local.sh
serves /fonts/* with max-age=31536000, immutable, so a returning visitor
holds these bytes for a year and no CloudFront invalidation can reach their
browser cache. Replacing a file means bumping that query — in
src/styles/global.css and in the <link rel="preload"> in
BaseLayout.astro, which must match character for character or the preload
fetches a second copy instead of warming the cache.
Fetched 2026-08-26 with npm pack <pkg>@5.3.0 and extracted from package/files/.
Subsetting is Fontsource's, not ours — the latin and latin-ext cuts are
exactly the "Latin + Latin Extended-A" the design system asks for.
123,804 bytes across all six, of which only two — Instrument Serif 400 latin
(21,032) and Geist latin (29,400) — are preloaded, so first paint pulls about
50 kB. Quote the byte figure, not du -sh, which reports 136K because it counts
disk blocks rather than what crosses the wire.
Not covered by AGENTS.md R11. R11 re-checks npm pins for currency and
advisories; these are static binaries with no runtime and no dependency tree.
Refresh them deliberately — when a face gains glyphs the site needs — by
repeating the npm pack above, not on a currency schedule.
Deliberately absent: the latin-ext italic cut of Instrument Serif, and
every non-Latin cut of all three faces. .display .it is one italic phrase in a
headline (docs/02), and D4 makes the site English-only. Add a cut when a page
needs it; do not add all of them pre-emptively.