/* Self-hosted Inter + Roboto (latin, latin-ext subsets only - the site is
   English-language B2B content for EU/UK/UAE/US/Australia/Southeast Asia
   buyers; cyrillic/greek/vietnamese subsets are not needed).
   Replaces the Google Fonts CDN link: removes a third-party request (a
   flagged EU IP-disclosure concern under GDPR/Schrems II) and the render-
   blocking cross-origin DNS+TLS round trip.
   Inter and Roboto are variable fonts upstream, so - exactly like Google's
   own CSS2 API response - every weight below shares ONE physical file per
   subset; the browser downloads it once and instantiates each weight from
   it. Source: fonts.googleapis.com CSS2 API (Inter v20, Roboto v51). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.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: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/roboto-latin.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: 'Roboto';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallbacks. These are not extra downloads - each aliases a font
   already on the machine and rescales it so it occupies the same width as the
   webfont it stands in for.

   Without them the swap from the system font to Inter widened text by 13.6%
   (measured: 3567px vs 3139px for the same string at 100px), which re-wrapped a
   line and moved everything below it. On pages/services.html at 390px that was
   a 26px jump in .svc-grid at ~1450ms and 0.108 of CLS - over the 0.1 budget -
   and smaller shifts on contact and thank-you.

   size-adjust is measured against Arial, not the system font: Arial is what
   local() resolves to here, and Inter is 106.48% of its width, Roboto 99.42%.
   Machines without Arial fall through to the next family in the stack exactly
   as before, so this can only help.

   font-display:swap stays. The point is not to avoid the swap but to make it
   cost nothing in layout. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 106.48%;
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Roboto Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 99.42%;
  ascent-override: 92.77%;
  descent-override: 24.41%;
  line-gap-override: 0%;
}
