/* Self-hosted webfonts — replaces the Google Fonts stylesheet link.
 *
 * WHY. The old markup was two <link rel=preconnect> hints plus a render-blocking
 * stylesheet on fonts.googleapis.com, which then pointed at woff2 files on a
 * SECOND origin, fonts.gstatic.com. That is two extra DNS lookups, two TCP
 * handshakes and two TLS negotiations before the first glyph can even be
 * requested — on the high-latency mobile links our customers in Hargeisa,
 * Bosaso and Mogadishu are actually on, that is most of a second of blank page,
 * every cold visit. Serving the fonts from our own origin puts them on the
 * connection the browser has already opened for the HTML.
 *
 * It also lets the pages <link rel=preload> the two faces above the fold.
 * Google's font URLs carry a rotating hash, so preloading them by URL breaks
 * silently whenever Google reissues a file; a self-hosted path cannot.
 *
 * And it removes fonts.googleapis.com / fonts.gstatic.com from the Content-
 * Security-Policy: a bank's public site no longer needs to trust a third-party
 * origin for executable stylesheet content, and visitors are no longer
 * announced to Google on every page view.
 *
 * WHAT. Google Fonts' own woff2 builds, taken unmodified, VARIABLE-weight (one
 * file spans 400-900 rather than one file per weight). Only the latin and
 * latin-ext subsets are bundled: every surface here is English and Somali, both
 * written in Latin script, so the cyrillic and vietnamese subsets could never
 * be requested. unicode-range is preserved from Google's own CSS, so latin-ext
 * is fetched only by a page that actually contains a character needing it.
 *
 * font-display: swap is kept: text paints immediately in the fallback and
 * reflows when the webfont lands, rather than sitting invisible.
 *
 * Both families are SIL OFL 1.1. See assets/fonts/LICENSE.txt.
 */

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-normal-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;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('assets/fonts/montserrat-normal-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;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/playfair-display-normal-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;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/playfair-display-normal-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;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/playfair-display-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;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/playfair-display-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;
}
