/**
 * 00-fonts-kurdis.css — Kurdis Wide webfont declarations
 *
 * `00-` prefix forces this to load FIRST among override sheets, so the
 * `@font-face` rules are registered before any task-specific sheet tries
 * to use the family.
 *
 * Source: That That Type / Kurdis Family commercial license
 *   (license HTML shipped alongside the font files at
 *    `theme/jtl/overrides/fonts/kurdis/LICENSE.html`).
 *
 * Existing rules in `custom-clone.css` (e.g. line ~1577 hero headline,
 * line ~4138 body:not(.home) hero) already specify
 *   font-family: "Kurdis", "Kurdis Wide", Inter, sans-serif;
 * with a comment explicitly noting *"Kurdis is not loaded in this env so
 * Inter is the fallback (listed first so it auto-upgrades when the webfont
 * ships)."* — this file is what makes it ship.
 *
 * Loaded weights:
 *   - Regular (400) — `KurdisFamily-Wide.{woff2,woff}`
 *   - Bold    (700) — `KurdisFamily-WideBold.{woff2,woff}`
 *
 * `font-display: swap` so we show Inter while Kurdis downloads, then
 * upgrade — avoids a blank flash on the hero.
 */

@font-face {
    font-family: "Kurdis";
    src: url("fonts/kurdis/KurdisFamily-Wide.woff2") format("woff2"),
         url("fonts/kurdis/KurdisFamily-Wide.woff")  format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kurdis";
    src: url("fonts/kurdis/KurdisFamily-WideBold.woff2") format("woff2"),
         url("fonts/kurdis/KurdisFamily-WideBold.woff")  format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Alias the "Kurdis Wide" name some existing rules also reference, so the
   same .woff2 file serves both family names without duplicate fetches. */
@font-face {
    font-family: "Kurdis Wide";
    src: url("fonts/kurdis/KurdisFamily-Wide.woff2") format("woff2"),
         url("fonts/kurdis/KurdisFamily-Wide.woff")  format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kurdis Wide";
    src: url("fonts/kurdis/KurdisFamily-WideBold.woff2") format("woff2"),
         url("fonts/kurdis/KurdisFamily-WideBold.woff")  format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Alias the "Kurdis Wide Bold" name a few existing rules use as a single
   token family (e.g. custom-clone.css:~4140 `body:not(.home) ... hero`,
   :~4485 JP-438 sweep, :~11015 page-id-3546). Register both weights so the
   token resolves whether the rule asked for 400 or 700. */
@font-face {
    font-family: "Kurdis Wide Bold";
    src: url("fonts/kurdis/KurdisFamily-WideBold.woff2") format("woff2"),
         url("fonts/kurdis/KurdisFamily-WideBold.woff")  format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
