/**
 * assets/css/fonts.css — self-hosted OGA fonts.
 * ============================================================================
 * Replaces the Google Fonts CDN request that used to load:
 *   https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600
 *                                &family=Work+Sans:wght@400;500;600&display=swap
 *
 * Both families are variable fonts (SIL Open Font License), pulled from the
 * canonical Google Fonts source repo (github.com/google/fonts) and subset to
 * Latin + Latin Extended + common punctuation/currency — the same script
 * coverage the CDN would have served this site, at a smaller file size.
 * One file per family covers the full weight/optical-size range; the
 * browser interpolates whichever exact values the CSS below asks for, same
 * as the CDN version did.
 *
 * font-display: swap kept intentionally, matching the CDN's &display=swap.
 *
 * @package OGACE
 */

@font-face {
	font-family: 'Fraunces';
	src: url('../fonts/fraunces-variable.woff2') format('woff2-variations'),
	     url('../fonts/fraunces-variable.woff2') format('woff2');
	font-weight: 500 600;
	font-style: normal;
	font-stretch: 100%;
	font-display: swap;
	/* opsz axis (9–144) is available within this one variable file; the
	   theme's CSS uses font-optical-sizing: auto (browser default) to pick
	   it automatically per rendered size. */
}

@font-face {
	font-family: 'Work Sans';
	src: url('../fonts/worksans-variable.woff2') format('woff2-variations'),
	     url('../fonts/worksans-variable.woff2') format('woff2');
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}
