/* ==========================================================================
   FONTS — self-hosted, variable
   The Framer build pulled DM Sans and Instrument Sans from fonts.gstatic.com,
   costing a third-party connection on the critical path. Both are OFL-licensed
   variable fonts, so a single file per family covers every weight in use:
     DM Sans        400 / 500 / 700 + 400 italic
     Instrument Sans 500 / 700
   3 files, ~82KB total, same-origin.
   ========================================================================== */

@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	/* Variable range — one file answers 400, 500 and 700. */
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-var.woff2') format('woff2-variations'),
	     url('../fonts/dm-sans-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 Sans';
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-var-italic.woff2') format('woff2-variations'),
	     url('../fonts/dm-sans-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: 'Instrument Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/instrument-sans-var.woff2') format('woff2-variations'),
	     url('../fonts/instrument-sans-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;
}

/* --------------------------------------------------------------------------
   FALLBACK METRIC OVERRIDES
   Matches the fallback's metrics to the webfont so the swap causes no reflow.
   This is what keeps CLS at 0 during font load — the Framer original does not
   do this and shifts slightly on first paint.
   -------------------------------------------------------------------------- */

@font-face {
	font-family: 'DM Sans Fallback';
	src: local('Helvetica Neue'), local('Arial'), local('Roboto');
	ascent-override: 96%;
	descent-override: 24%;
	line-gap-override: 0%;
	size-adjust: 100%;
}

@font-face {
	font-family: 'Instrument Sans Fallback';
	src: local('Helvetica Neue'), local('Arial'), local('Roboto');
	ascent-override: 95%;
	descent-override: 24%;
	line-gap-override: 0%;
	size-adjust: 100%;
}
