/**
 * Brand typefaces, self-hosted. THE ONLY PLACE THEY ARE DECLARED.
 *
 * Every stylesheet that sets type does it through the --pv-font-* tokens in
 * main.css, and every stylesheet that uses those tokens declares
 * 'purovitalis-main' as a dependency, which chains back to this file. Nothing
 * else in the theme may declare an @font-face for Funnel Sans or Public Sans:
 * a second declaration under the same family name competes with this one and
 * the browser's choice between them depends on load order.
 *
 * Self-hosted rather than loaded from Google's CDN: the store sells into the
 * EU, where handing visitors' IP addresses to Google Fonts has been ruled a
 * GDPR breach, and it removes a third-party request from every page view.
 * There is no Google Fonts request anywhere on the front end — verified across
 * the home, quiz, shop, cart, blog and account pages.
 *
 * Both are variable fonts with the wght axis intact, so one file per subset
 * covers every weight the design uses — Public Sans 400-800, Funnel Sans
 * 300-800. A visitor loads the two latin subsets (43 KB); latin-ext is a
 * separate 27 KB fetched only for Romanian and Danish.
 *
 * Funnel Sans was previously subset to a static instance at 700, so the 400
 * the header's nav is set in did not exist and the browser fell back to the
 * bold cut. Re-subset from the kit's variable source; if these ever need
 * regenerating, the sources are in the brand kit's Fonts folder and the
 * command is fontTools.subset with --flavor=woff2 and the unicode ranges below.
 *
 * Both families are licensed under the SIL Open Font License 1.1; the licence
 * text sits alongside the files in assets/fonts/OFL.txt.
 *
 * @package Purovitalis
 */

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

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

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

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