/* Self-hosted faces. No Google Fonts CDN, no third-party connection, no npm
 * font dependency — the .woff2 files live in src/fonts/ and are emitted with
 * hashed, base-prefixed URLs by Vite. For the WordPress port they are copied
 * into the theme's /fonts folder and these rules rewritten to point at it.
 *
 * Two families, which is the canonical count:
 *
 *   Old Standard TT — the letter. Display AND body, because a letter is typed
 *     on one machine. 400 for the prose, 700 for the few things that must
 *     stand out, italic 400 for emphasis inside running text (headings never
 *     go italic — that is a global rule, not a preference).
 *   Archivo — the record mark. Navigation, labels, dates, credits, colophon
 *     metadata. Shipped as one variable file per subset covering 400–600,
 *     which is smaller than two static weights would be.
 *
 * Subsets: latin + latin-ext, split by unicode-range. latin-ext is NOT optional
 * here — š đ ć č ž (Serbian) and ő ű (Hungarian) all live in it, so the four
 * above-the-fold files are preloaded together in the layout head. Without it
 * every accented character in a Serbian or Hungarian sentence would flash in a
 * fallback face while its plain neighbours were already set.
 *
 * 224 KB on disk across ten files; 118 KB of that is preloaded (the two
 * Old Standard TT 400 subsets and the two Archivo subsets). The 700 and italic
 * subsets load only on the pages that actually use them.
 */

/* ── Old Standard TT · 400 normal ─────────────────────────────────────────
 * The only face in the critical path for body text. */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/old-standard-tt-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;
}
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/old-standard-tt-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;
}

/* ── Old Standard TT · 700 normal ─────────────────────────────────────── */
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('../fonts/old-standard-tt-latin-700-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;
}
@font-face {
  font-family: 'Old Standard TT';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('../fonts/old-standard-tt-latin-ext-700-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;
}

/* ── Old Standard TT · 400 italic · body emphasis only ────────────────── */
@font-face {
  font-family: 'Old Standard TT';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/old-standard-tt-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;
}
@font-face {
  font-family: 'Old Standard TT';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/old-standard-tt-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;
}

/* ── Archivo · variable 400–600 · the record mark ─────────────────────── */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url('../fonts/archivo-latin-400-600-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;
}
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url('../fonts/archivo-latin-ext-400-600-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;
}
