/*
 * Self-hosted DM Sans.
 *
 * The variable face remains the primary asset. WebKit receives official static
 * instances because its variable-font rasterizer can expose every weight as
 * Regular even when the computed `font-weight` is correct.
 *
 * Source: https://github.com/googlefonts/dm-fonts/tree/main/Sans/fonts/webfonts
 * License: SIL Open Font License 1.1 (assets/fonts/OFL.txt)
 */
@font-face {
	font-family: "TVC DM Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-variable.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/dm-sans-500.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/dm-sans-600.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/dm-sans-700.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/dm-sans-800.woff2") format("woff2");
}

@font-face {
	font-family: "TVC DM Sans Static";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("../fonts/dm-sans-900.woff2") format("woff2");
}

@supports (-webkit-hyphens: none) {
	/*
	 * `design-tokens.css` is loaded after this file and defines the default
	 * variable on `:root`. The element-qualified selector deliberately has
	 * greater specificity so the WebKit override survives that later rule.
	 */
	html:root {
		--tvc-font-sans: "TVC DM Sans Static", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
	}
}
