@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
/* ── WOFF2 FIRST, TTF AS A REAL FALLBACK (Step 194.3) ─────────────────────────────────────────
   MEASURED, not modelled. The nine faces shipped as gzipped TTF; each also carried a legacy `kern`
   table beside a GPOS that already contains a kern feature, and Verveine additionally carried
   DSIG/hdmx/VDMX/LTSH (a signature and three device-metric tables no browser uses). Dropping those
   and re-emitting as WOFF2, for the FOUR faces the app actually loads on a page:

       Nexa 83,828 -> 41,520 · Nexa-XBold 85,889 -> 39,292 · Nexa-Light 83,673 -> 38,596
       Verveine 116,335 -> 75,708      (bytes are gzip-today vs woff2)
       => 369,725 B -> 195,168 B, a 174,557 B / 47% cut.

   Cross-check: the DevTools trace measured 374,574 B on the wire for those four; the gzip-on-disk
   figure of 369,725 B agrees within 4,849 B, so the baseline is real and not a disk artefact.

   ⛔ HINTING IS DELIBERATELY KEPT. `fpgm`/`prep`/`cvt`/`gasp` survive in every face. Dropping them
   is worth a few more KB and changes rasterisation on Windows at small sizes — not a trade a
   parity-critical port takes for bytes.

   ⛔ THE TTF STAYS AS THE SECOND `src` ENTRY, AND IT IS NOT DEAD WEIGHT. A browser picks the FIRST
   format it supports and downloads only that one, so the TTF costs nothing on any browser made this
   decade — but `components/tinymce/TinyEditor.tsx:94` fetches this exact stylesheet into TinyMCE's
   own iframe, and leaving a working fallback there is free.

   ⛔ LINE 1 IS UNTOUCHED. `src/app/[locale]/layout.tsx` hoists the Lato `<link>` with a URL that must
   stay BYTE-IDENTICAL to the `@import` below, and `e2e/templates.spec.ts` asserts the served file
   still contains `@font-face`, `nexa` AND `@import`. All three survive this change.

   Regenerate with fontTools: drop ['kern','DSIG','hdmx','VDMX','LTSH'], then `flavor='woff2'`. */
@font-face {
  font-family: 'Verveine';
  font-display: swap;
  font-weight: normal;
  font-style: normal;
  src:
    url('./verveine/VerveineRegular.woff2') format('woff2'),
    url('./verveine/VerveineRegular.ttf') format('truetype');
}

@font-face {
  font-family: 'nexa';
  font-display: swap;
  font-weight: normal;
  font-style: normal;
  src:
    url('./nexa/Nexa.woff2') format('woff2'),
    url('./nexa/Nexa.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-bold';
  font-display: swap;
  font-weight: bold;
  font-style: normal;
  src:
    url('./nexa/Nexa-Bold.woff2') format('woff2'),
    url('./nexa/Nexa-Bold.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-thin';
  font-display: swap;
  font-weight: thin;
  font-style: thin;
  src:
    url('./nexa/Nexa-Thin.woff2') format('woff2'),
    url('./nexa/Nexa-Thin.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-light';
  font-display: swap;
  font-weight: light;
  font-style: light;
  src:
    url('./nexa/Nexa-Light.woff2') format('woff2'),
    url('./nexa/Nexa-Light.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-xbold';
  font-display: swap;
  font-weight: light;
  font-style: light;
  src:
    url('./nexa/Nexa-XBold.woff2') format('woff2'),
    url('./nexa/Nexa-XBold.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-black';
  font-display: swap;
  font-weight: light;
  font-style: light;
  src:
    url('./nexa/Nexa-Black.woff2') format('woff2'),
    url('./nexa/Nexa-Black.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-book';
  font-display: swap;
  font-weight: light;
  font-style: light;
  src:
    url('./nexa/Nexa-Book.woff2') format('woff2'),
    url('./nexa/Nexa-Book.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'nexa-heavy';
  font-display: swap;
  font-weight: light;
  font-style: light;
  src:
    url('./nexa/Nexa-Heavy.woff2') format('woff2'),
    url('./nexa/Nexa-Heavy.ttf') format('truetype');
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
