/* Brand webfonts (spec.md §16.3).

   Every family the appearance page offers, self-hosted under `static/fonts/` so
   the report downloads nothing from a third party. Production's `font-src`
   already allows `'self'`, so these need no CSP change — and they are the path
   that eventually lets the `fonts.gstatic.com` entry go, since that is
   allowlisted only for the Material Symbols icon font (todo.md §8).

   Linked from `base.html` rather than from `renderer.css` because two
   stylesheets need it and neither owns it: `renderer.css` (the report) and
   `branding.css` (the appearance page's live preview, which renders a sample of
   the report but does not load the report stylesheet). Repeating these blocks in
   both would let the two definitions drift, and a drifted `@font-face` is
   invisible — the type just silently renders as the fallback.

   **Five static weights (400/500/600/700/800), roman only.** Italic faces are
   deliberately absent: the report renders no italics — `renderer/item.html`
   autoescapes every payload string, so an `<i>` in template text shows up as
   literal characters rather than as emphasis — and nothing in the live CSS sets
   `font-style: italic`. Dropping them took the set from 381 files to 126. A
   family's italic would only matter to the Flutter app, which bundles its own
   copy in its own repo.

   Those five weights are the full set the report asks for; nothing here needs
   Light or Thin. Add a weight here and in `FONT_CHOICES` if that changes.

   **Where a family ships several opticals or widths, the roman set kept is the
   one that is the family's own default**, so one token names one predictable
   face:

     Inter 18pt · Merriweather 24pt · Noto Sans (normal width) · Roboto (normal)
     Open Sans (normal) · Nunito Sans (variable)

   The Condensed/SemiCondensed and larger-optical cuts are intentionally not
   wired up. `@font-face` cannot separate them anyway — they all report the same
   `font-family`, so the browser would pick the first weight match regardless of
   what the token names. Surfacing a width or an optical size as a real choice
   needs the family name in `FontDescriptor` to differ per variant.

   `font-display: swap` paints the fallback immediately so a slow font never
   delays the report. Paths are absolute because a stylesheet cannot use
   `{% static %}` and a relative path would resolve against `/static/css/`
   rather than the static root — the font would simply 404 and fall back.

   Every family covers the Māori macrons (ā ē ī ō ū), which matters for the
   NZ inspections; that was checked against each font's cmap rather than assumed.
*/

@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans/DMSans-Regular.74f9bb7405ca.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans/DMSans-Medium.7da0c1626a36.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans/DMSans-SemiBold.b68921520b1d.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans/DMSans-Bold.7a6c1a2c6196.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/static/fonts/dm-sans/DMSans-ExtraBold.74a7c51e71e5.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/Inter_18pt-Regular.37dcabff629c.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/Inter_18pt-Medium.8540f35bf8ac.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/Inter_18pt-SemiBold.e5532d993e2d.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/Inter_18pt-Bold.f77ce9588dcc.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter/Inter_18pt-ExtraBold.a6ed481bff60.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/Manrope-Regular.8ca1a84037fd.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/Manrope-Medium.de7b3026c153.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/Manrope-SemiBold.80cb1b1a8ba2.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/Manrope-Bold.8e8fe178c0f1.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/manrope/Manrope-ExtraBold.f8f555c6d9ef.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/merriweather/Merriweather_24pt-Regular.a0d6426c8b8e.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/merriweather/Merriweather_24pt-Medium.e0aa05f26f36.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/merriweather/Merriweather_24pt-SemiBold.254042609bd3.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/merriweather/Merriweather_24pt-Bold.bdcb622f11b9.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("/static/fonts/merriweather/Merriweather_24pt-ExtraBold.17b42df816d0.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-sans/NotoSans-Regular.f46b08cc90d9.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-sans/NotoSans-Medium.a1311858ffd8.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-sans/NotoSans-SemiBold.f5a1e1476234.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-sans/NotoSans-Bold.28c191ce33ca.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/noto-sans/NotoSans-ExtraBold.6d20a0d666df.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito/Nunito-Regular.f04f0e9ff969.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito/Nunito-Medium.04058d9f3583.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito/Nunito-SemiBold.b1364260246b.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito/Nunito-Bold.c133c0b8cd16.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/static/fonts/nunito/Nunito-ExtraBold.2b1bb8275027.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/static/fonts/nunito-sans/NunitoSans-Variable.692b96cbcc43.ttf") format("truetype-variations");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/static/fonts/open-sans/OpenSans-Regular.94d168f74b7d.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/static/fonts/open-sans/OpenSans-Medium.899f008e0670.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/static/fonts/open-sans/OpenSans-SemiBold.ebebb4b54355.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/static/fonts/open-sans/OpenSans-Bold.6bbd5cf43b71.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("/static/fonts/open-sans/OpenSans-ExtraBold.73e878b76363.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/static/fonts/outfit/Outfit-Regular.5fc3fef1a1a5.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/static/fonts/outfit/Outfit-Medium.3af2e072a31b.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/static/fonts/outfit/Outfit-SemiBold.fff3440ed391.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/static/fonts/outfit/Outfit-Bold.91486df4e527.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/static/fonts/outfit/Outfit-ExtraBold.4cd115d5b3ed.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans/PlusJakartaSans-Regular.dd3a1370a03d.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans/PlusJakartaSans-Medium.0a825b3e08f6.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans/PlusJakartaSans-SemiBold.73de6fb49299.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans/PlusJakartaSans-Bold.bac8ecad2d6d.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans/PlusJakartaSans-ExtraBold.f90855567d2c.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/static/fonts/roboto/Roboto-Regular.678ba85b4704.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/static/fonts/roboto/Roboto-Medium.21030564b3bb.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/static/fonts/roboto/Roboto-SemiBold.6f0903b5854d.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/static/fonts/roboto/Roboto-Bold.2dd437af13b1.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/static/fonts/roboto/Roboto-ExtraBold.188393ba08e4.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Regular.be9b1406290e.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Medium.b0761aad2259.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-SemiBold.76eefb061fe2.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-Bold.34b8494f9b55.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/static/fonts/source-sans-3/SourceSans3-ExtraBold.5849bca3ec1e.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
