/*
 * Greek support for the site's display faces.
 *
 * Cinzel ships latin + latin-ext only. Playfair Display ships cyrillic,
 * latin, latin-ext and vietnamese. Neither covers Greek, so every Greek
 * visitor was seeing a browser fallback serif instead of the site's
 * typography.
 *
 * EB Garamond covers greek and greek-ext and sits close to Cinzel in feel.
 * It is listed after the Latin faces in every font stack, so browsers use it
 * only for characters the Latin faces lack — which, thanks to unicode-range
 * below, also means these files are only ever downloaded for Greek text.
 *
 * Self-hosted on purpose: no third-party request, no render-blocking on
 * fonts.googleapis.com, and the same files are available to the talisman
 * canvas later. Licence: SIL Open Font Licence 1.1, see OFL.txt.
 */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/ebgaramond-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/ebgaramond-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
    U+03A3-03FF;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/ebgaramond-greek-ext-italic.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/ebgaramond-greek-italic.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
    U+03A3-03FF;
}
