/* Plus Jakarta Sans — self-hosted, latin + latin-ext only (the cyrillic-ext
   and vietnamese subsets Google serves by default are dropped as dead weight;
   Jakarta has no basic Cyrillic at all, so Cyrillic is set in Manrope — see
   the block at the end of this file).

   Each file below is a variable font covering the whole weight axis for its
   style — that's why five discrete font-weight declarations (400/500/600/
   700/800 normal) point at the SAME normal-latin(-ext) file: per the CSS
   Fonts Module Level 4 variable-font matching rules, browsers set the wght
   axis to the used font-weight value even when the @font-face descriptor is
   a single number rather than a range. This mirrors exactly what Google
   Fonts' own css2 endpoint serves; only the vietnamese/cyrillic-ext subsets
   were removed. */

/* Metric-matched fallback. `font-display: swap` above means every text block
   is first laid out in the fallback and then re-laid-out in Jakarta, and the
   two have different metrics — Jakarta is ~5% wider per character and 1.038em
   tall against Arial's 0.905em — so the handover re-wrapped lines the whole
   way down the page. Cloudflare Web Analytics attributed CLS to `#problem`,
   `#faq` and `.footer-legal__links` on 2026-08-26, i.e. to text blocks with
   nothing in common except being text.

   The overrides below make Arial occupy the space Jakarta will occupy, so the
   swap changes the letterforms and nothing else. They are MEASURED, not
   copied: docs/tools/compute-font-fallback.py reads both font files and
   prints them, and must be re-run if this webfont is ever replaced.

   `local('Arial')` rather than a per-platform list because Arial ships on
   both Windows and macOS, and one @font-face can carry only one set of
   overrides — a second face under the same family name would replace this one
   rather than sit beside it. Android has no Arial, so the face fails to load
   there and the stack falls through to the unadjusted `system-ui` exactly as
   it did before: no regression, just no benefit. Fixing that needs a second
   family name in the stack with Roboto's own measured overrides, which is
   worth doing only once mobile CLS is measured separately. */
@font-face{ font-family:'Jakarta Fallback'; font-style:normal; font-weight:400 800;
  src:local('Arial');
  size-adjust:105.055%; ascent-override:98.8051%; descent-override:21.1317%; line-gap-override:0%; }
@font-face{ font-family:'Jakarta Fallback'; font-style:italic; font-weight:400 800;
  src:local('Arial Italic'), local('Arial');
  size-adjust:105.055%; ascent-override:98.8051%; descent-override:21.1317%; line-gap-override:0%; }

@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./PlusJakartaSans-normal-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:400; font-display:swap;
  src:url('./PlusJakartaSans-normal-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:'Plus Jakarta Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url('./PlusJakartaSans-normal-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:500; font-display:swap;
  src:url('./PlusJakartaSans-normal-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:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./PlusJakartaSans-normal-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:600; font-display:swap;
  src:url('./PlusJakartaSans-normal-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:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./PlusJakartaSans-normal-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:700; font-display:swap;
  src:url('./PlusJakartaSans-normal-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:'Plus Jakarta Sans'; font-style:normal; font-weight:800; font-display:swap;
  src:url('./PlusJakartaSans-normal-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:normal; font-weight:800; font-display:swap;
  src:url('./PlusJakartaSans-normal-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:'Plus Jakarta Sans'; font-style:italic; font-weight:600; font-display:swap;
  src:url('./PlusJakartaSans-italic-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:italic; font-weight:600; font-display:swap;
  src:url('./PlusJakartaSans-italic-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:'Plus Jakarta Sans'; font-style:italic; font-weight:700; font-display:swap;
  src:url('./PlusJakartaSans-italic-latinext.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; }
@font-face{ font-family:'Plus Jakarta Sans'; font-style:italic; font-weight:700; font-display:swap;
  src:url('./PlusJakartaSans-italic-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; }

/* ── Cyrillic: Manrope, for the glyphs Jakarta does not have ─────────────
   Plus Jakarta Sans has no basic Cyrillic in any release (v2.7.1 upstream;
   Google's "cyrillic-ext" file covers only U+0460-052F, the historic and
   non-Slavic letters, not а-я). Without this every Ukrainian and Bulgarian
   word fell through to 'Jakarta Fallback', i.e. Arial, beside a Jakarta
   "Tarvyx" in the same line (design audit 2026-11-04, X1).

   Manrope (OFL, LICENSE-manrope.txt; Google Fonts static file, v23, the
   `cyrillic` subset, variable wght 200-800) because it is the closest
   Cyrillic-complete geometric sans to Jakarta: x-height 0.540em against
   Jakarta's 0.536, so a Latin product name and the Cyrillic words around it
   sit on one x-height with no size-adjust. Its own line metrics are taller
   (1.066/0.300em), so they are overridden with JAKARTA's (1.038/0.222em):
   a line that mixes the two scripts is exactly as tall as a Latin one.

   It is a separate family in the stack (site.css --body), between Jakarta and
   the fallbacks, and it carries a Cyrillic-only unicode-range: Latin text on
   a Ukrainian page stays Jakarta, and an English page downloads this 14 kB
   file only if it shows a Cyrillic word (the language menu does). Manrope has
   no italic; `.em` on a Cyrillic heading is synthesised, which is why the
   gradient italic is kept to the hero there (site.css, "Emphasis").

   'Manrope Fallback' is Arial measured against Manrope at wght 400 over
   Ukrainian letter frequencies, with Jakarta's vertical metrics (because
   that is what the Manrope face is given above), so the swap reflows nothing
   in Cyrillic either. Re-measure if the file is replaced. */
@font-face{ font-family:'Manrope Fallback'; font-style:normal; font-weight:400 800;
  src:local('Arial');
  size-adjust:101.728%; ascent-override:102.0371%; descent-override:21.8230%; line-gap-override:0%;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face{ font-family:'Manrope Fallback'; font-style:italic; font-weight:400 800;
  src:local('Arial Italic'), local('Arial');
  size-adjust:101.728%; ascent-override:102.0371%; descent-override:21.8230%; line-gap-override:0%;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face{ font-family:'Manrope'; font-style:normal; font-weight:200 800; font-display:swap;
  src:url('./Manrope-normal-cyrillic.woff2') format('woff2');
  ascent-override:103.8%; descent-override:22.2%; line-gap-override:0%;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
