/*
	Self-hosted Open Sans
	---------------------
	Replaces the render-blocking request to fonts.googleapis.com and the
	cross-origin font downloads from fonts.gstatic.com (~156 KiB, 800 ms
	render-blocking on throttled mobile).

	Serving these from sopov.com reuses the connection already opened for the
	HTML, so there is no extra DNS lookup, TCP handshake or TLS negotiation.

	Files live in: /assets/webfonts/  (alongside the Font Awesome faces)
	Filenames follow the google-webfonts-helper naming convention.

	font-display: swap  -> text paints immediately in the fallback face and
	                       swaps to Open Sans when it arrives; never invisible.
*/

/* ---------- Regular 400 ---------- */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

/* ---------- Regular 400 italic ---------- */
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-italic.woff2') format('woff2');
}

/* ---------- Semibold 600 ---------- (strong, b, labels) */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-600.woff2') format('woff2');
}

/* ---------- Semibold 600 italic ---------- (<strong><em> in the hero) */
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-600italic.woff2') format('woff2');
}

/* ---------- Extrabold 800 ---------- (h1-h6) */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-800.woff2') format('woff2');
}

/* ---------- Extrabold 800 italic ---------- (<h2>...<em>) */
@font-face {
	font-family: 'Open Sans';
	font-style: italic;
	font-weight: 800;
	font-display: swap;
	src: url('../webfonts/open-sans-v44-latin-800italic.woff2') format('woff2');
}
