/* ============================================================
   Self-hosted editorial font stack — Young Serif (headings),
   EB Garamond (body/excerpts), JetBrains Mono (labels/UI/titles).
   Replaces the Google Fonts CDN link (fonts.googleapis.com) to
   eliminate FOUT: local files can be preloaded in <head> so the
   browser fetches them in parallel with the HTML instead of
   discovering them only after Google's stylesheet round-trip.
   Variable-font weight ranges are used where the source file
   already covers the full range, instead of one @font-face per
   weight.
   ============================================================ */

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'EB Garamond';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'EB Garamond';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Young Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/young-serif-latin.woff2') format('woff2');
}
