/* Outfit, self-hosted (no Google Fonts request, so no third-party connection and no privacy notice needed).
   Three weights, Latin only (the shop is English / Malay): 400 headings and body, 500 nav / buttons / prices, 600 small headings.
   The files were cut from the variable Outfit font by fontTools (see mockup-src/fonts/Outfit.ttf), about 12 KB each.
   font-display: swap shows text at once in the fallback font, then swaps when Outfit has loaded. */

@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/outfit-400-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/outfit-500-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/outfit-600-latin.woff2") format("woff2");
}

/* A local Arial resized to Outfit's proportions, so the swap does not make the page jump (layout shift).
   The percentages come from Outfit's own glyph widths and vertical metrics measured against Arial (average English letter width
   0.488 em vs 0.475 em, so Arial is scaled up 102.8%; ascent 1.00 and descent 0.26 em are divided by that scale). */
@font-face {
	font-family: "Outfit Fallback";
	src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
	size-adjust: 102.8%;
	ascent-override: 97.3%;
	descent-override: 25.3%;
	line-gap-override: 0%;
}
