/* --------------------------------------------------------------------------
   Self-hosted web fonts
   --------------------------------------------------------------------------
   These used to be loaded from Google Fonts. That stylesheet was render-blocking
   and fonts.googleapis.com / fonts.gstatic.com are blocked on many corporate
   networks, so the page could hang blank until the request timed out.

   Files are the Latin-subset variable fonts (SIL Open Font License) served by
   Google Fonts, copied into assets/fonts/. Only the Latin subset is needed for
   Spanish/English text. `font-display: swap` guarantees text is never invisible
   while a font loads; index.html preloads the two main files.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/SourceSans3-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/SourceSerif4-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../assets/fonts/PlayfairDisplay-latin.woff2') format('woff2');
}
