/* ==========================================================================
   Self-hosted webfonts — latin subset only.

   Fraunces and DM Sans are VARIABLE fonts: one file covers the whole weight
   range, so each is declared once with a `font-weight` range rather than once
   per weight. Google's CSS2 endpoint serves the same file for every weight you
   request, which is why the generated version of this file previously had nine
   @font-face rules pointing at nine filenames for four actual files — and,
   after those files were deduplicated and renamed, every one of those nine URLs
   404'd.

   Two things that hides:
     1. A 404ing @font-face fails *silently*. The browser just uses the next
        font in the stack, so the site rendered in Palatino/Georgia and looked
        plausible enough that nothing seemed wrong.
     2. Anything that walks the stylesheet to embed fonts — html-to-image, which
        is what @ybouane/liquidglass uses to rasterise the DOM — waits on those
        failing fetches. That is what made LiquidGlass.init() never resolve.

   So: keep the filenames here in sync with assets/fonts/, and verify each URL
   returns 200 after any change.
   ========================================================================== */

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/fraunces-var.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
	               U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/fraunces-var-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
	               U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/dmsans-var.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
	               U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'DM Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/dmmono.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
	               U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
