/* Seedling webfonts, self-hosted (SIL OFL 1.1, see ../fonts/OFL-*.txt). latin + latin-ext.
   Load AFTER Ember's css/fonts.css, which still provides IBM Plex Mono (--font-mono).
   Ember's Pixelify face stays declared but is never downloaded: @font-face
   only fetches a file when a rendered glyph uses that family. */

/* Young Serif 400 - latin-ext */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/young-serif-400-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;
}

/* Young Serif 400 - latin */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/young-serif-400-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;
}

/* Nunito Sans 400 600 - latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/nunito-sans-400-600-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;
}

/* Nunito Sans 400 600 - latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/nunito-sans-400-600-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;
}

/* Nunito Sans Fallback: Arial (Liberation Sans on Linux, same metrics) scaled to Nunito Sans, so
   text doesn't move when the webfont swaps in (CLS 0). Listed second in --font-body.
   Measured with fontTools on Nunito's instances vs Arial over UI strings: 400 runs ~0.5 % wider
   than Arial, 560/600 ~3.5 % narrower than Arial Bold. Ascent/descent = Nunito's typo metrics
   (1011 / 353 per 1000) divided by size-adjust. */
@font-face {
  font-family: 'Nunito Sans Fallback';
  font-display: swap;
  font-weight: 400;
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Helvetica');
  size-adjust: 100.5%;
  ascent-override: 100.6%;
  descent-override: 35.12%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Nunito Sans Fallback';
  font-display: swap;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold'), local('Helvetica Bold');
  size-adjust: 96.5%;
  ascent-override: 104.77%;
  descent-override: 36.58%;
  line-gap-override: 0%;
}
