/**
 * Villa Store: self-hosted webfonts
 *
 * Open Sans, served from this theme. Nothing here touches Google Fonts: no
 * third-party connection, no privacy footprint, no extra DNS round trip.
 *
 * woff2 only. Every browser that runs this store supports it, and adding woff
 * fallbacks would only add bytes to the folder.
 *
 * font-display: swap renders the fallback stack immediately and swaps Open Sans
 * in when it lands, so text is never invisible. The system fallbacks live in
 * --font-family-base in tokens.css.
 *
 * URLs are relative to this stylesheet, which resolves to assets/fonts/.
 * Expected filenames are listed in assets/fonts/README.md; the 400 and 600
 * weights are additionally preloaded by villa_preload_fonts() in functions.php.
 */

/* Light 300. Reserved for large display type only, never body copy. */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/open-sans-300.woff2") format("woff2");
}

/* Regular 400. Body copy. */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/open-sans-400.woff2") format("woff2");
}

/* SemiBold 600. UI labels, buttons, sub-headings. */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/open-sans-600.woff2") format("woff2");
}

/* Bold 700. Headings. */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/open-sans-700.woff2") format("woff2");
}
