/* Manrope variable font, self-hosted from @fontsource-variable/manrope. */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./files/manrope-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./files/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./files/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./files/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

/* ---------------------------------------------------------------------------
   Metric-compatible fallback. NOT from @fontsource - hand-added; re-apply if
   this file is ever regenerated.

   Manrope is swap-loaded, so until the woff2 lands the page is laid out in a
   system font. Anything that measures text before that (the rotating hero word
   sizes its own box in px) got a width from the wrong metrics and re-laid out a
   second later. These faces pin the fallback to Arial, present on every target
   platform and metric-compatible with Liberation Sans / Arimo elsewhere, and
   scale it to Manrope's advance widths so the pre-swap measurement matches.

   size-adjust = avg advance width of Manrope / of Arial, over the site's own
   copy; ascent/descent = Manrope's typo metrics (2132/-600 per 2000 upem)
   divided by size-adjust. Two bands because Arial has no 600: text weights map
   to Arial Regular, headings (600) to Arial Bold.

   If no local() name resolves, the face is skipped and the stack falls through
   to system-ui exactly as before.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Manrope Fallback';
  font-style: normal;
  font-weight: 200 500;
  src: local('Arial'), local('Liberation Sans'), local('Arimo');
  size-adjust: 103.87%;
  ascent-override: 102.63%;
  descent-override: 28.88%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Manrope Fallback';
  font-style: normal;
  font-weight: 600 800;
  /* Lead with plain local('Arial'): on iOS Safari the bold-specific names
     ('Arial Bold' / 'Arial-BoldMT') often fail to resolve, the face is skipped,
     and weight-600 text (the hero switch word) falls through to system-ui (SF)
     with no overrides - so it sits at SF's baseline until Manrope swaps in, then
     drops. Plain 'Arial' always resolves; the browser faux-bolds it, and the
     ascent/descent/line-gap overrides still pin the vertical metrics to Manrope. */
  src: local('Arial'), local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Arimo Bold');
  size-adjust: 99.23%;
  ascent-override: 107.43%;
  descent-override: 30.23%;
  line-gap-override: 0%;
}
