/*
 * Softliro type system — self-hosted.
 *
 * Three variable fonts, one @font-face each. Generated from the upstream
 * variable TTFs in google/fonts (all three SIL OFL 1.1; the licences sit
 * alongside this file and must stay there).
 *
 * Subset to Latin and Latin Extended plus arrows and currency — the languages
 * this site is written and sold in. Re-subset from the upstream TTF if you add
 * a language outside that range; do not swap in a static instance.
 *
 * The width axis is pinned to 100 in both proportional families: nothing in the
 * design uses a condensed width, and pinning it halves the Bricolage payload.
 * The optical-size axis is deliberately left free — `font-optical-sizing: auto`
 * is on by default, and it is what makes an 88px headline set with the right
 * glyph widths rather than a scaled-up text weight.
 *
 * Two format strings per src: browsers that recognise `woff2-variations` take
 * the first, anything older falls through to plain `woff2` and still gets the
 * font. Both point at the same file.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("bricolage-grotesque.woff2") format("woff2-variations"),
		url("bricolage-grotesque.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

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

@font-face {
	font-family: "JetBrains Mono";
	src: url("jetbrains-mono.woff2") format("woff2-variations"),
		url("jetbrains-mono.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}
