/* ==========================================================================
   Site overrides
   Loaded after the compiled Tailwind CSS. Rules here aren't in a cascade
   layer, so they win over Tailwind's @layer rules without !important.
   ========================================================================== */

/* Fonts
   ========================================================================== */

/* Fallback for the NUZWORTHY headline when Helvetica Neue isn't installed
   (most Windows machines). Latin subset only, from Google Fonts. */
@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/barlow-semi-condensed-700.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;
}

:root {
	--font-condensed: 'Helvetica Neue', 'Barlow Semi Condensed', sans-serif;
}

/* Only when Barlow is in use. site.js adds .no-helvetica to <html> when
   Helvetica Neue isn't installed. A touch looser than the design's -3.12px
   at 156px (-0.02em), which looked too tight. In em so it scales with the
   headline, which is sized in cqw. */
.no-helvetica .font-condensed {
	letter-spacing: -0.015em;
}
