/* =========================================================================
   321Klik web fonts, SELF-HOSTED (site audit 17 Oct 2026, owner decision i).
   No page asks fonts.googleapis.com or fonts.gstatic.com any more: the same Google builds live here, so
   the visitor's IP never goes to Google before consent (the German warning-letter risk) and a font is one
   request on our own origin instead of a DNS + TLS round trip to two others.

   Exactly the faces the type system uses (packages/ui/tokens.css):
     Poppins 700 + 800        the heading face (--disp). 600 is NOT loaded: its one use, the footer's
                              "Nu beschikbaar in:", is Plus Jakarta Sans 600 now (owner decision h).
     Plus Jakarta Sans        the text face (--font), ONE variable file per subset for 400-800.
     Caveat 700               the handwritten accent (--hand).
   Subsets latin + latin-ext only (nl/en/fr/de, the city names with ü/ö/ß/é).

   Linked by: the marketing pages (design/homepage-mockups/*.src.html heads, built into public/site),
   app/layout.tsx (every Next page of the portal), the legal route, and the Stripe payment element
   (cssSrc). apps/gallery/public/fonts is a byte-for-byte copy (guarded by invariants.test.ts).
   Licence: LICENSE.txt beside this file (SIL OFL 1.1).

   THE FALLBACK FACES. While a woff2 is on its way the browser paints the fallback, and when the real face
   arrives every line re-flows if the two differ in width: the heading jumped a line on a slow phone (the
   CLS the audit measured on the German wedding page). "Poppins Fallback" and "Plus Jakarta Sans Fallback"
   are the local Arial scaled to the real face's average glyph width (size-adjust) with its ascent and
   descent, the method next/font uses, so the swap changes the letters but not the line breaks.
   Numbers: capsize metrics (xWidthAvg / unitsPerEm) of each face against Arial and Arial Bold.
   ========================================================================= */

/* ---- Poppins (headings) -------------------------------------------------------------------------- */
@font-face{font-family:"Poppins";font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/poppins-700-latin-ext.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:"Poppins";font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/poppins-700-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:"Poppins";font-style:normal;font-weight:800;font-display:swap;
  src:url(/fonts/poppins-800-latin-ext.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:"Poppins";font-style:normal;font-weight:800;font-display:swap;
  src:url(/fonts/poppins-800-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}

/* ---- Plus Jakarta Sans (text), variable 200-800 ----------------------------------------------------- */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url(/fonts/jakarta-latin-ext.woff2) format("woff2-variations"),url(/fonts/jakarta-latin-ext.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:200 800;font-display:swap;
  src:url(/fonts/jakarta-latin.woff2) format("woff2-variations"),url(/fonts/jakarta-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}

/* ---- Caveat (the handwritten accent) ---------------------------------------------------------------- */
@font-face{font-family:"Caveat";font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/caveat-700-latin-ext.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:"Caveat";font-style:normal;font-weight:700;font-display:swap;
  src:url(/fonts/caveat-700-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}

/* ---- Size-adjusted fallbacks (see the header) ------------------------------------------------------- */
/* Poppins 800 / 700 against Arial Bold: size-adjust .519 / (983/2048) = 108.13%; ascent 1050, descent 350, gap 100. */
@font-face{font-family:"Poppins Fallback";font-style:normal;font-weight:600 900;
  src:local("Arial Bold"),local("Arial-BoldMT"),local("Arial");
  size-adjust:108.13%;ascent-override:97.11%;descent-override:32.37%;line-gap-override:9.25%}
/* Plus Jakarta Sans 400 against Arial: .468 / (913/2048) = 104.98%; ascent 1038, descent 222, gap 0. */
@font-face{font-family:"Plus Jakarta Sans Fallback";font-style:normal;font-weight:100 600;
  src:local("Arial"),local("ArialMT");
  size-adjust:104.98%;ascent-override:98.88%;descent-override:21.15%;line-gap-override:0%}
/* Plus Jakarta Sans 700-800 against Arial Bold: .484 / (983/2048) = 100.84%. */
@font-face{font-family:"Plus Jakarta Sans Fallback";font-style:normal;font-weight:700 900;
  src:local("Arial Bold"),local("Arial-BoldMT");
  size-adjust:100.84%;ascent-override:102.94%;descent-override:22.02%;line-gap-override:0%}
