/* ============================================
   SELF-HOSTED FONTS
   ============================================
   EB Garamond and Merriweather Sans, served locally instead of via the
   Google Fonts CDN. Eliminates the third-party data flow on every page
   load. Source files in /assets/fonts/, downloaded from Google Fonts and
   licensed under SIL OFL 1.1 (see /assets/fonts/OFL.txt).

   Both families ship as variable-weight woff2 — one file covers the full
   weight axis, with the browser interpolating per @font-face declaration.
   Latin subset only; covers English plus general punctuation (smart
   quotes, em-dashes, currency, arrows). Add latin-ext if European user
   names appear in copy.
*/

/* EB Garamond — roman, weights 400/500/600/700 */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond/EBGaramond-Roman-Latin.woff2') format('woff2');
}

/* EB Garamond — italic, weight 400 */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond/EBGaramond-Italic-Latin.woff2') format('woff2');
}

/* Merriweather Sans — roman, weights 300/400/500/600/700 */
@font-face {
  font-family: 'Merriweather Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/merriweather-sans/MerriweatherSans-Roman-Latin.woff2') format('woff2');
}

/* Merriweather Sans — italic, weight 400 */
@font-face {
  font-family: 'Merriweather Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/merriweather-sans/MerriweatherSans-Italic-Latin.woff2') format('woff2');
}
