/*
 * Self-hosted webfont layer for the Manoir theme — "Heritage" type system.
 *
 * Three real, open-license (SIL OFL) variable fonts, self-hosted rather than
 * loaded from fonts.googleapis.com: one request per family/style instead of
 * a third-party CDN round trip, and no Google Fonts request logged against
 * a visitor's IP (the concept this theme's look is adapted from used the
 * Google-hosted CDN; self-hosting is the faster and more privacy-respecting
 * choice for a French site under GDPR).
 *
 * Enqueued by functions.php ONLY when at least one .woff2 exists in
 * assets/fonts/ — a fontless deployment stays on the system stacks declared
 * in style.css with zero extra requests.
 *
 *   CormorantGaramond-Variable.woff2         wght 400–600, normal   (display/heading serif)
 *   CormorantGaramond-Italic-Variable.woff2  wght 400–600, italic   (hero + quotes)
 *   EBGaramond-Variable.woff2                wght 400–600, normal   (body serif)
 *   EBGaramond-Italic-Variable.woff2         wght 400,      italic  (quotes/footer line)
 *   Jost-Variable.woff2                      wght 300–500, normal   (tracked uppercase labels/nav/buttons)
 *
 * All faces use font-display: swap — text renders immediately in the system
 * stack and upgrades when the webfont arrives.
 */

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/CormorantGaramond-Variable.woff2") format("woff2-variations"),
         url("../fonts/CormorantGaramond-Variable.woff2") format("woff2");
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("../fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2-variations"),
         url("../fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2");
    font-weight: 400 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Variable.woff2") format("woff2-variations"),
         url("../fonts/EBGaramond-Variable.woff2") format("woff2");
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Italic-Variable.woff2") format("woff2-variations"),
         url("../fonts/EBGaramond-Italic-Variable.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Jost";
    src: url("../fonts/Jost-Variable.woff2") format("woff2-variations"),
         url("../fonts/Jost-Variable.woff2") format("woff2");
    font-weight: 300 500;
    font-style: normal;
    font-display: swap;
}
