/* ===========================================================================
 * Site font (2026-11-11). Loads on every page right after main.css and
 * replaces its Avenir @font-face rules (the later rule for the same family +
 * weight wins), so main.css itself is untouched.
 *
 *  - TrueType-outline WOFF2 files (fonts/Avenir/woff2/), converted from the
 *    theme's PostScript-outline .ttf files. Windows rasterises those badly at
 *    small sizes (tops of letters sheared off, counters filling in); these
 *    render smoothly and are half the download. The old .ttf files stay as a
 *    fallback.
 *  - Weights keep the site's look (400 = Light, 500 = Regular) except bold:
 *    600-800 now use Avenir Heavy instead of Black, which was too dense at
 *    14-16px. 900 stays Black.
 *
 * Roll back: delete this file (theme-enqueue.php only loads it if present).
 * ======================================================================== */
@font-face { font-family: "avenir"; font-weight: 400; font-style: normal; font-display: swap;
	src: url("fonts/Avenir/woff2/Avenir-Light.woff2") format("woff2"), url("fonts/Avenir/Avenir-Light.ttf") format("truetype"); }
@font-face { font-family: "avenir"; font-weight: 500; font-style: normal; font-display: swap;
	src: url("fonts/Avenir/woff2/Avenir-Regular.woff2") format("woff2"), url("fonts/Avenir/Avenir-Regular.ttf") format("truetype"); }
@font-face { font-family: "avenir"; font-weight: 600 800; font-style: normal; font-display: swap;
	src: url("fonts/Avenir/woff2/Avenir-Heavy.woff2") format("woff2"), url("fonts/Avenir/Avenir-Heavy.ttf") format("truetype"); }
@font-face { font-family: "avenir"; font-weight: 900; font-style: normal; font-display: swap;
	src: url("fonts/Avenir/woff2/Avenir-Black.woff2") format("woff2"), url("fonts/Avenir/Avenir-Black.ttf") format("truetype"); }

/* Grayscale smoothing on Macs keeps the heavier weights from looking bloated. */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
