/*
 * Self hosted fonts: Montserrat and Inter, latin subset, variable woff2.
 * Written by tools/build_fonts.py. This stylesheet makes no request to any
 * other origin: the files sit beside it in /assets/fonts.
 *
 * Montserrat carries weights 500 and 600 only, Inter 400 and 600 only. The
 * binaries have their wght axis narrowed to exactly those ranges.
 *
 * The Fallback faces stand in for the web font until it arrives. Each one
 * is a local Arial scaled so the same words take the same width, with the
 * web font's own ascent, descent and line gap put back, so the swap moves
 * no line break and no baseline. Every number below was computed from glyph
 * advances and metrics, none is typed.
 */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/montserrat-500-600.646d151b.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 600;
  font-display: swap;
  src: url('../fonts/inter-400-600.5f49f464.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;
}

/* Montserrat 500: Arial regular, width matched */
@font-face {
  font-family: 'Montserrat Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Arial'), local('ArialMT');
  size-adjust: 103.49%;
  ascent-override: 93.54%;
  descent-override: 24.25%;
  line-gap-override: 0.0%;
}

/* Montserrat 500: figures only, tabular digit width matched */
@font-face {
  font-family: 'Montserrat Fallback';
  font-style: normal;
  font-weight: 500;
  src: local('Arial'), local('ArialMT');
  unicode-range: U+0030-0039;
  size-adjust: 125.86%;
  ascent-override: 76.91%;
  descent-override: 19.94%;
  line-gap-override: 0.0%;
}

/* Montserrat 600: Arial bold, width matched */
@font-face {
  font-family: 'Montserrat Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 109.06%;
  ascent-override: 88.75%;
  descent-override: 23.01%;
  line-gap-override: 0.0%;
}

/* Montserrat 600: figures only, tabular digit width matched */
@font-face {
  font-family: 'Montserrat Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT');
  unicode-range: U+0030-0039;
  size-adjust: 125.86%;
  ascent-override: 76.91%;
  descent-override: 19.94%;
  line-gap-override: 0.0%;
}

/* Inter 400: Arial regular, width matched */
@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('ArialMT');
  size-adjust: 106.38%;
  ascent-override: 91.06%;
  descent-override: 22.67%;
  line-gap-override: 0.0%;
}

/* Inter 400: figures only, tabular digit width matched */
@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('ArialMT');
  unicode-range: U+0030-0039;
  size-adjust: 116.59%;
  ascent-override: 83.09%;
  descent-override: 20.69%;
  line-gap-override: 0.0%;
}

/* Inter 600: Arial bold, width matched */
@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 102.96%;
  ascent-override: 94.09%;
  descent-override: 23.43%;
  line-gap-override: 0.0%;
}

/* Inter 600: figures only, tabular digit width matched */
@font-face {
  font-family: 'Inter Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT');
  unicode-range: U+0030-0039;
  size-adjust: 116.33%;
  ascent-override: 83.28%;
  descent-override: 20.74%;
  line-gap-override: 0.0%;
}
