/*
 * Fraunces loaded as SINGLE variable-font files with NO unicode-range, so the
 * Lithuanian precomposed glyphs (ū ē ā ī ų …) render from their own correct
 * glyph instead of "u + shifted combining macron".
 *
 * Root cause: Google Fonts serves Fraunces split into `latin` and `latin-ext`
 * by unicode-range. The base "u" (U+0075) is in `latin`; the precomposed "ū"
 * (U+016B) is in `latin-ext`. The browser draws "u" from `latin`, fails to find
 * "ū" there, and falls back to "u" + a combining macron that Fraunces places to
 * the right. One un-split file removes the split, fixing all LT diacritics.
 *
 * Files: Fontsource jsDelivr CDN, latin-ext variable (covers base latin too),
 * across weight + optical size. Version pinned for stability.
 */

@font-face {
  font-family: 'Fraunces LT';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/fraunces:vf@5.2.9/latin-ext-opsz-normal.woff2) format('woff2-variations');
}

@font-face {
  font-family: 'Fraunces LT';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/fraunces:vf@5.2.9/latin-ext-opsz-italic.woff2) format('woff2-variations');
}

/*
 * Lora — used ONLY for the generated share-image text (the owner's post font).
 * Loaded as a single un-split variable file with NO unicode-range, same as
 * Fraunces LT, so Lithuanian ū ė į ų ā render correctly on the canvas.
 */
@font-face {
  font-family: 'Lora Share';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/lora:vf@5.2.9/latin-ext-wght-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Lora Share';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/lora:vf@5.2.9/latin-ext-wght-italic.woff2) format('woff2-variations');
}

/*
 * Karla (the body/UI sans) is NOT self-hosted here — it is served by Bunny
 * Fonts (enqueued in functions.php). The pinned Fontsource variable file did
 * not deliver the Lithuanian precomposed glyphs (ą č ę ė į š ų ū ž), so those
 * letters fell back to a heavier system font and looked bold. Bunny serves the
 * Google-equivalent files with correct latin-ext coverage, while staying
 * GDPR-compliant (no visitor IPs sent to Google).
 */
