/*!
 * Nunito, self-hosted. See ADR-0010.
 *
 * Replaces <link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700,800">,
 * which was the last third-party request the site made. Nothing here reaches an
 * origin other than this one - that is the whole point, so do not add a CDN
 * fallback to any src below.
 *
 * Provenance: @fontsource/nunito 5.3.0 (npm), which repackages the upstream
 * Google Fonts build of Nunito. The .woff2 files in ../fonts/ are byte-identical
 * to that package's; see public/lib/nunito/README.md for the version, the
 * checksums and how to refresh them.
 *
 * Licence: SIL Open Font License 1.1 - see ../LICENSE.txt, which must ship
 * alongside these files. The OFL permits redistribution; it requires the notice
 * to travel with the font.
 *
 * What is here, and why it is only this much:
 *
 * - Weights 400/600/700/800, matching the four the old Google URL requested.
 *   All four are used: public/css/core.css sets 600 once, 700 (and `bold`,
 *   which is 700) nine times, and 800 four times. 400 is the body default.
 * - `normal` style only. The Google URL requested no italics either, so <em>
 *   was already rendering as a browser-synthesised oblique of the normal face
 *   and still does. Shipping real italics would be a visual change, not a
 *   like-for-like move.
 * - woff2 only. Every browser released since 2016 supports it, and it is what
 *   Google's own modern API serves. The .woff fallback in the fontsource
 *   package is for IE11 and would double the byte count on disk for browsers
 *   that cannot render this site's layout anyway.
 *
 * The `unicode-range` descriptors are load-bearing, not decoration: they are
 * how a self-hosted copy stays as small over the wire as Google's per-request
 * subsetting. A browser downloads a file only if the page actually uses a
 * codepoint in its range. Every non-ASCII character in the en and es content
 * today (accented vowels, n-tilde, curly quotes, en dash, pound, copyright,
 * middle dot) is in `latin`, so latin-ext is shipped but never fetched. It is
 * here so that the first Polish or Turkish name someone adds renders in Nunito
 * instead of silently falling back to a system sans - the same class of quiet
 * degradation that cost us the icons in ADR-0008.
 *
 * `latin` is declared after `latin-ext` at each weight because the two ranges
 * overlap at U+0304, U+0308 and U+0329 (combining marks) and the later rule
 * wins. Google's stylesheet orders them the same way for the same reason.
 *
 * font-display: swap is deliberate and is a small change from the old
 * behaviour. The Google v1 URL set no font-display, so text was invisible for
 * up to 3s while the font loaded. `swap` paints in the fallback immediately and
 * swaps when Nunito arrives, so a slow or missing font can never leave a blank
 * page.
 */

/* --- 400 (body default) -------------------------------------------------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nunito-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/nunito-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 600 ----------------------------------------------------------------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/nunito-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/nunito-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 700 (also what `font-weight: bold` resolves to) ---------------------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/nunito-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/nunito-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- 800 ----------------------------------------------------------------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/nunito-latin-ext-800-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/nunito-latin-800-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
