/* ---------------------------------------------------------------------------
   Self-hosted webfonts — SecureProspective, 2026-08-11

   Replaces eight render-blocking @import calls to fonts.googleapis.com. Each
   one cost a DNS lookup, a TLS handshake and a round trip to fetch a
   stylesheet, which only THEN revealed the real font URLs on
   fonts.gstatic.com — a second connection and a second round trip before a
   single glyph could paint. CSS @import is also serialised: the browser
   cannot discover an import until it has parsed the file containing it.

   Served from this origin instead, so the fonts arrive over the connection
   the browser has already opened, and Cloudflare caches them at the edge.

   Only the two families the site actually styles with are here, latin subset
   only. The other families those imports pulled in were never referenced by
   any style rule.

   Montserrat is a VARIABLE font: Google returns the same file for every
   weight you ask for, so one file covers the whole 100-900 range. Declaring
   it once with a weight range is what makes that work — six separate
   declarations would have been six names for one identical file, and the
   preload hints would have fetched it twice.

   Licences: Montserrat and Bai Jamjuree are both SIL Open Font License 1.1,
   which permits self-hosting. See self-hosted/LICENSE.txt.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/self-hosted/Montserrat-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/self-hosted/BaiJamjuree-700.woff2') format('woff2');
}
