/*
 * Self-hosted fonts (no requests to Google). Files are copied from npm packages
 * into dist/assets/fonts/ by scripts/build-site.js:
 *   - DM Sans: @fontsource-variable/dm-sans 5.3.0 (variable, opsz + wght axes)
 *   - DM Serif Display: @fontsource/dm-serif-display 5.3.0
 * License: SIL Open Font License 1.1 (https://openfontlicense.org)
 *   Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
 *   Copyright 2014 - 2017 Adobe Systems Incorporated (http://www.adobe.com/),
 *   with Reserved Font Name 'Source'. Copyright 2019 Google LLC. (DM Serif Display)
 *
 * Weight ranges mirror the former Google Fonts request
 * (DM Sans ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300):
 * normal 300-500 and italic 300 only, so heavier text is clamped and
 * synthesised the same way as before. unicode-range values come from the
 * packages' own CSS (latin, latin-ext).
 */

/* dm-sans-latin-ext-opsz-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 500;
  src: url('/assets/fonts/dm-sans-latin-ext-opsz-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;
}

/* dm-sans-latin-opsz-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300 500;
  src: url('/assets/fonts/dm-sans-latin-opsz-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;
}

/* dm-sans-latin-ext-opsz-italic */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 300;
  src: url('/assets/fonts/dm-sans-latin-ext-opsz-italic.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;
}

/* dm-sans-latin-opsz-italic */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-display: swap;
  font-weight: 300;
  src: url('/assets/fonts/dm-sans-latin-opsz-italic.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;
}

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

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

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

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