/* ---------------------------------------------------------------------------
 * Self-hosted web fonts — replaces the Google Fonts <link> tags in PageHead.
 *
 * GDPR note: loading fonts from fonts.googleapis.com / fonts.gstatic.com sends
 * the visitor's IP to Google. Serving them from our own domain avoids that
 * transfer entirely (no cookies, no third-party request).
 *
 * SETUP (one-off):
 *   1. Go to https://gwfh.mranftl.com  (google-webfonts-helper)
 *   2. "Fjalla One"  → charset: latin → weight: 400 (regular) → copy the woff2
 *   3. "Open Sans"   → charset: latin → weights: 300, 400, 600, 700 → copy woff2
 *   4. Drop the .woff2 files into /public/assets/fonts/ and RENAME them to the
 *      exact names referenced below (so this file needs no editing).
 *   5. In app/UI/PageHead.php, swap the 3 Google font <link> tags for one line:
 *        <link rel="stylesheet" href="/assets/css/fonts.css?v=<?= $ccAppNo ?>">
 * ------------------------------------------------------------------------- */

@font-face {
    font-family: 'Fjalla One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/fjalla-one-400.woff2') format('woff2');
}

/* Only the four weights the site actually uses are loaded (matches the old
   Google request: wght@300;400;600;700, no italics). Other Open Sans weights
   present in /assets/fonts/ are intentionally NOT referenced here to keep the
   page light — add an @font-face block below if one is ever needed. */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/assets/fonts/open-sans-v44-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/open-sans-v44-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/open-sans-v44-latin-700.woff2') format('woff2');
}
