/* Sleightless — the fonts, served from this domain.
 *
 * Was ~95 KB from fonts.googleapis.com plus a second host to connect to before
 * any text could be drawn. Now local: one connection, cached for a year, and
 * Google no longer sees who reads this site.
 *
 * Only the subsets used are here. Latin covers the text; the symbols subset
 * carries the card-suit glyphs and is fetched only if something asks for one.
 *
 * font-display: swap — text shows immediately in a fallback and re-renders
 * when the real face lands. Nobody should wait on a typeface.
 */

/* Bodoni Moda — the display face, variable — one file covers 500 and 600 */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/bodoni-moda-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;
}

/* Bodoni Moda — only fetched if a heading ever contains a suit glyph */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('fonts/bodoni-moda-600-symbols.woff2') format('woff2');
  unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-245F,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2900-29FF,U+2B00-2BFF,U+2E00-2E7F,U+3000-303F,U+FFF9-FFFB;
}

/* Karla — body text, variable — one file covers 400 and 700 */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/karla-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;
}

/* IBM Plex Mono — numbers and labels — not variable, so two files */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-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;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-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;
}
