/*
 * Get MEP Plans theme — self-hosted fonts.
 * Replaces the Google Fonts external request with locally-hosted WOFF2 files.
 * Files licensed under SIL Open Font License (Fraunces, JetBrains Mono) and
 * MIT License (Geist) — both compatible with proprietary site use.
 *
 * font-display: swap means the page renders with fallback fonts immediately
 * and swaps in the custom font as soon as it loads. No render-blocking.
 */

/* ============ Fraunces — variable display font (wght 100–900 axis) ============ */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-variable.woff2') format('woff2-variations');
}

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-variable-italic.woff2') format('woff2-variations');
}

/* ============ Geist — body font (5 static weights) ============ */
@font-face {
	font-family: 'Geist';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/geist-300.woff2') format('woff2');
}

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

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

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

/* ============ JetBrains Mono — monospace (3 weights) ============ */
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}

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

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