/* ==========================================================================
   Self-hosted webfonts (2026-09-14)

   The template loaded Open Sans and Open Sans Condensed with an @import of
   fonts.googleapis.com at the top of main.css. That is the slowest way to load
   a font: the browser only discovers the Google stylesheet after main.css has
   downloaded and parsed, then fetches that stylesheet from a second origin,
   and only then the font files from a third (fonts.gstatic.com) -- three
   round trips in sequence before text renders in its real face. It was also a
   request to Google on every page view that the privacy policy did not
   mention.

   These are the same files Google Fonts served on 2026-09-14, copied into
   assets/webfonts/open-sans/: Latin and Latin Extended subsets only (Spanish
   needs nothing beyond Latin; the other subsets on Google's list are Cyrillic,
   Greek, Hebrew, Vietnamese, maths and symbols). The browser downloads a subset
   only when a page uses a character in its unicode-range, so Latin Extended is
   normally never fetched.

   Open Sans is a variable font: one file covers every weight, which is why the
   400 and 700 faces share a src. The two most-used files are preloaded from
   src/layouts/base.html.

   Licences, shipped alongside the files as they require:
     Open Sans (v3.003)            SIL Open Font License 1.1   OFL.txt
     Open Sans Condensed (v1.11)   Apache License 2.0          LICENSE-2.0.txt

   font-display: swap shows text in the fallback face at once instead of
   hiding it while the font loads.
   ========================================================================== */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-latin.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;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-latin-ext.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: 'Open Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-italic-latin.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;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-italic-latin-ext.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: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-condensed-700-latin.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;
}

@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/open-sans/open-sans-condensed-700-latin-ext.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;
}
