/*
 * fonts.css — self-hosted web fonts for ajcs-theme
 *
 * Replaces Google Fonts CDN dependency. All files live in assets/fonts/.
 *
 * Families:
 *   Anton           400        (serif / display headline)
 *   IBM Plex Sans   300–700    (sans / body — variable font, one file)
 *   IBM Plex Mono   400 500    (mono / code labels)
 *
 * unicode-range is scoped to the latin block to stay tight (U+0000–00FF).
 * font-display: swap — body text renders immediately with fallback; swaps
 * when the font file is ready.
 */

/* ── Anton 400 ──────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Anton';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-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;
}

/* ── IBM Plex Sans (variable — covers 300 light through 700 bold) ───── */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style:  normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-variable.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 400 ──────────────────────────────────────────────── */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-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;
}

/* ── IBM Plex Mono 500 ──────────────────────────────────────────────── */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-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;
}
