/* ============================================================
   Fonts: all self-hosted, no third-party requests.
   Four families: EB Garamond (text and headings), DM Mono (code), Shippori Mincho (Japanese), Noto Serif SC (Chinese place names).
   Each font has its own OFL text beside it: fonts/OFL-*.txt.
   The Latin faces carry the latin block plus a small file with only the extra letters the pages use (such as the ō in Gensō);
   the two CJK families are subsets cut from the published pages' display text (scripts/fonts.py), and missing glyphs fall back along each stack.
   ============================================================ */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/eb-garamond-500.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: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/eb-garamond-500-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;
}
/* Accented Latin letters outside the latin block (ō, ū …): only the ones these pages use. */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/eb-garamond-500-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2011;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/eb-garamond-500-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2011;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/dm-mono-400.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: 'Shippori Mincho';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/shippori-mincho-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/shippori-mincho-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/noto-serif-sc-700.woff2') format('woff2');
}
