/* =============================================================
   GHS Theme -- assets/css/fonts.css
   Self-hosted @font-face declarations.

   Paths are relative to this CSS file (assets/css/), so font
   files live one level up at assets/fonts/.

   Load order: this file loads BEFORE tokens.css so the fonts
   are registered before any rule references them.

   Do NOT use a Google Fonts @import here -- all fonts are
   self-hosted for privacy compliance and performance.

   @package GHS_Theme
   @since   1.0.0
   ============================================================= */


/* ----------------------------------------------------------
   NUNITO SANS  (body font)
   Weights: 400 (regular), 700 (bold), 800 (extrabold)
   Source woff2 files from the design handoff package.
   ---------------------------------------------------------- */

@font-face {
    font-family: 'Nunito Sans';
    font-weight: 400;
    font-style:  normal;
    font-display: swap;
    src: url('../fonts/nunito-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-weight: 700;
    font-style:  normal;
    font-display: swap;
    src: url('../fonts/nunito-sans-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-weight: 800;
    font-style:  normal;
    font-display: swap;
    src: url('../fonts/nunito-sans-800.woff2') format('woff2');
}


/* ----------------------------------------------------------
   MOMO TRUST DISPLAY  (display / heading font)
   Weight: 400 (the only available weight)
   woff2 files downloaded from Google Fonts CDN (gstatic) and
   self-hosted to avoid external requests.

   Two subsets are served:
     - latin-ext  (covers accented Western European characters)
     - latin      (base Latin, the primary needed subset)

   The latin-ext rule must come BEFORE latin so the browser
   matches the most specific unicode-range first.
   ---------------------------------------------------------- */

/* latin-ext */
@font-face {
    font-family: 'Momo Trust Display';
    font-weight: 400;
    font-style:  normal;
    font-display: swap;
    src: url('../fonts/momo-trust-display-400-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;
}

/* latin */
@font-face {
    font-family: 'Momo Trust Display';
    font-weight: 400;
    font-style:  normal;
    font-display: swap;
    src: url('../fonts/momo-trust-display-400-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;
}
