/*
 * 404Ville's faces, self-hosted (SIL OFL 1.1, licences beside the files):
 * Archivo (variable, 400-700) for the UI, Archivo Black for the wordmark and
 * titles, JetBrains Mono for identifiers. Subsets and unicode-ranges are
 * Google Fonts' latin and latin-ext; latin-ext is only fetched when a page
 * shows one of its characters.
 *
 * Each "<face> Fallback" is a local face scaled to the web face's metrics so
 * the swap does not reflow. Values come from the font files: size-adjust is
 * the ratio of the total advance width (web / local) of the app's 1,890 short
 * en-US labels (at most 3 words, 24 characters: buttons, tabs, menus, where a
 * shift moves boxes); prose letter frequencies under-size Archivo's capitals by
 * about 1%. The overrides are the web face's hhea ascent/descent divided by
 * size-adjust. Archivo is measured at each weight the UI uses: 400 and 500
 * against Arial, 600 and 700 against Arial Bold (a variable face widens with
 * weight); Archivo Black against Arial Black. JetBrains Mono and Courier New share a
 * 0.6 em advance.
 */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "Archivo Black";
  src: url("/fonts/archivo-black-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Black";
  src: url("/fonts/archivo-black-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-variable-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-variable-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  font-weight: 400;
  font-style: normal;
  size-adjust: 99.94%;
  ascent-override: 87.85%;
  descent-override: 21.01%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  font-weight: 500;
  font-style: normal;
  size-adjust: 101.66%;
  ascent-override: 86.37%;
  descent-override: 20.66%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 600;
  font-style: normal;
  size-adjust: 96.61%;
  ascent-override: 90.88%;
  descent-override: 21.74%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 700;
  font-style: normal;
  size-adjust: 100.00%;
  ascent-override: 87.80%;
  descent-override: 21.00%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Black Fallback";
  src: local("Arial Black"), local("Arial-Black");
  font-weight: 400;
  font-style: normal;
  size-adjust: 99.98%;
  ascent-override: 87.82%;
  descent-override: 21.00%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono");
  font-weight: 400 600;
  font-style: normal;
  size-adjust: 100%;
  ascent-override: 102.02%;
  descent-override: 30.00%;
  line-gap-override: 0%;
}
