/* ============================================================
   Self-hosted faces for the Bright Missal design.

   Loaded only alongside missal.css — the current design still uses
   Cormorant Garamond + DM Sans from the Google Fonts CDN, and both
   sets coexist during the preview period. Delete the Google Fonts
   <link> tags from the layouts at cutover.

   Two faces only, no weights above 500 (per the style guide).
   EB Garamond ships as a variable font, so one file serves both
   400 and 500 in each style; the weight axis is pinned to 400-500
   and the character set subset to Latin + Latin Extended, taking
   the four files from 2.0 MB of TTF down to 432 KB.

   font-display: swap — text paints immediately in the fallback and
   reflows when the webfont lands, rather than blocking on 432 KB.
   Georgia is the fallback for both, being metrically closest.
   ============================================================ */

@font-face {
  font-family: 'EB Garamond';
  src: url('/fonts/ebgaramond-var.woff2') format('woff2-variations');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('/fonts/ebgaramond-italic-var.woff2') format('woff2-variations');
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Spectral';
  src: url('/fonts/spectral-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Spectral';
  src: url('/fonts/spectral-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
