/*
 * Local @font-face declarations.
 *
 * The vendored legacy stylesheets used to pull Montserrat and Nunito Sans from
 * fonts.googleapis.com; fix-vendored-css.php strips those @import lines and the
 * same families are declared here instead, so the page renders identically
 * while contacting no third-party host.
 *
 * The four text families ship as variable fonts, one file covering the whole
 * weight range, which is why each is a single @font-face with a weight range
 * rather than one face per weight.
 *
 * Flaticon is the legacy icon set. It keeps the full eot/woff/ttf/svg fallback
 * chain the previous site shipped, and font-display: block rather than swap -
 * an icon glyph rendered in a fallback font is a wrong glyph, not merely an
 * unstyled one.
 */

/* Body text. */
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/inter-variable.woff2") format("woff2-variations"),
		url("../fonts/inter/inter-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter/inter-variable-italic.woff2") format("woff2-variations"),
		url("../fonts/inter/inter-variable-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Nunito Sans";
	src: url("../fonts/nunito-sans/nunito-sans-variable.woff2") format("woff2-variations"),
		url("../fonts/nunito-sans/nunito-sans-variable.woff2") format("woff2");
	font-weight: 200 1000;
	font-style: normal;
	font-display: swap;
}

/* Headings. */
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora/sora-variable.woff2") format("woff2-variations"),
		url("../fonts/sora/sora-variable.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat/montserrat-variable.woff2") format("woff2-variations"),
		url("../fonts/montserrat/montserrat-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* Legacy icon set. */
@font-face {
	font-family: "Flaticon";
	src: url("../fonts/Flaticon.eot");
	src: url("../fonts/Flaticon.eot#iefix") format("embedded-opentype"),
		url("../fonts/Flaticon.woff2") format("woff2"),
		url("../fonts/Flaticon.woff") format("woff"),
		url("../fonts/Flaticon.ttf") format("truetype"),
		url("../fonts/Flaticon.svg#Flaticon") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
