/*
 * tH-necco self-hosted fonts.
 *
 * The four families here match the four --typography-font-family-* tokens in
 * assets/css/tokens.css. Drop the variable .woff2 files into this folder and
 * they are picked up automatically; inc/performance.php preloads each one
 * ONLY if the file exists, so nothing 404s while a family is missing.
 *
 * Token                                 Family              Expected file
 * ------------------------------------  ------------------  ---------------------------------
 * --typography-font-family-primary      Instrument Sans     instrument-sans-var.woff2
 * --typography-font-family-2            Intel One Mono      intel-one-mono-var.woff2
 * --typography-font-family-3            Archivo             archivo-var.woff2
 * --typography-font-family-4            Inter               inter-var.woff2
 *
 * Sources:
 *   Instrument Sans  https://fonts.google.com/specimen/Instrument+Sans
 *   Archivo          https://fonts.google.com/specimen/Archivo
 *   Intel One Mono   https://github.com/intel/intel-one-mono
 *   Inter            https://github.com/rsms/inter/releases
 *
 * Until a file is present that family falls back to the generic stack declared
 * in the token (sans-serif / monospace), which still looks correct.
 */

@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('./instrument-sans-var.woff2') format('woff2-variations'),
	     url('./instrument-sans-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('./archivo-var.woff2') format('woff2-variations'),
	     url('./archivo-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Intel One Mono';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('./intel-one-mono-var.woff2') format('woff2-variations'),
	     url('./intel-one-mono-var.woff2') format('woff2');
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('./inter-var.woff2') format('woff2-variations'),
	     url('./inter-var.woff2') format('woff2');
}
