/**
 * Self-hosted theme fonts (TMS-646).
 *
 * Libre Franklin (body / UI) + Newsreader (headline), both under the SIL Open Font
 * License — see assets/fonts/OFL.txt. Each family ships as a single VARIABLE woff2 per
 * subset (latin, latin-ext), which covers the full weight range the theme uses (400–800,
 * including the 650 on the section masthead) with no per-weight request and no third-party
 * Google Fonts dependency. `font-display: swap` keeps text visible while the face loads.
 *
 * These families are referenced by --tms-font-body / --tms-font-headline (base.css); this
 * sheet is enqueued first (inc/assets.php) so the faces are declared before any rule uses
 * them. Newsreader carries an optical-size axis; `font-optical-sizing: auto` (the CSS
 * default) picks the display cut for large headlines automatically.
 */

/* Libre Franklin — body / UI (variable, wght 100–900). */
@font-face {
	font-family: 'Libre Franklin';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/libre-franklin-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;
}

@font-face {
	font-family: 'Libre Franklin';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/libre-franklin-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;
}

/* Newsreader — headline (variable, opsz 6–72 + wght 200–800). */
@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-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;
}

@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-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;
}

/* Italic. The theme uses real italics — article body <em>/<i> and an explicit
   newsroom.css rule — so these keep emphasis on the true italic design instead of a
   browser-synthesized faux slant (especially visible on the Newsreader serif). Loaded
   only on pages that actually render italic text. */

/* Libre Franklin — italic (variable, wght 100–900). */
@font-face {
	font-family: 'Libre Franklin';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/libre-franklin-italic-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;
}

@font-face {
	font-family: 'Libre Franklin';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/libre-franklin-italic-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;
}

/* Newsreader — italic (variable, opsz 6–72 + wght 200–800). */
@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-italic-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;
}

@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-italic-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;
}
