/*
 * Plus Jakarta Sans — self-hosted. Replaces the fonts.googleapis.com request that
 * loaded this family until 2026-08-14.
 *
 * ⚠️ ONE VARIABLE FONT, NOT FOUR STATIC WEIGHTS, and the numbers are why: the
 * variable `latin` file is 27 KB and covers the whole 400–700 range, where the four
 * static instances Google served came to 236 KB across 16 files. The theme uses
 * 400, 500, 600 and 700 (400 body, 500 once, 600 h2/h6, 700 h1/h3–h5) and every one
 * of them sits inside `font-weight: 400 700` below.
 *
 * ⚠️ `unicode-range` IS LOAD-BEARING, NOT DECORATION. The browser downloads a file
 * only when the page actually needs a glyph from its range — so `latin-ext` costs
 * nothing on an all-English page and is there for the day a name or address needs
 * it. Deleting the ranges would make BOTH files download on every page.
 *
 * The two Google subsets NOT taken are `vietnamese` and `cyrillic-ext`. Adding one
 * back is a download plus a block copied from Google's css2 output — keep the
 * `unicode-range` line exactly as Google emits it.
 *
 * ⚠️ THESE @font-face RULES ARE DELIBERATELY NOT IN src/scss. They are enqueued as a
 * plain stylesheet by functions/fonts.php, which already owns font loading for both
 * the front end and the editor canvas. Moving them into the Vite bundle would make
 * the font URLs a build concern and fingerprint the files into dist/ alongside the
 * copies here, for no gain.
 *
 * Licence: SIL Open Font License 1.1 — see OFL.txt beside this file. It is shipped
 * because the OFL requires the licence to travel with the font, not as a courtesy.
 * Version: Google Fonts v12 of the family.
 */

/* latin-ext */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('plus-jakarta-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('plus-jakarta-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
