/* Font URLs are relative to this stylesheet so the faces resolve under any
   deploy base (see src/lib/assetUrl.ts and the build:web:uat script). */
@font-face {
    font-family: 'NN Nouvelle Grotesk STD';
    src: url('NNNouvelleGroteskSTD-Bold.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk STD';
    src: url('NNNouvelleGroteskSTD-Normal.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Normal.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk STD';
    src: url('NNNouvelleGroteskSTD-Medium.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk STD';
    src: url('NNNouvelleGroteskSTD-Light.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk STD';
    src: url('NNNouvelleGroteskSTD-Black.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Black.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NN Nouvelle Grotesk STD Fat';
    src: url('NNNouvelleGroteskSTD-Fat.woff2') format('woff2'),
        url('NNNouvelleGroteskSTD-Fat.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* STHeiti (SinoType Heiti) — the CJK fallback behind the Latin brand face.
   Covers Han (full Unified block + Extension A) and kana but contains no
   Hangul, so Korean falls through to system fonts instead. The unicode-range
   keeps digits and Latin runs in NN Nouvelle Grotesk and stops sessions that
   never render CJK text from downloading these ~7 MB files. Each face spans a
   weight range because only two real weights exist: mapping every bold onto
   the Regular face avoids the browser synthesising bold Han glyphs, which
   fills in their counters at display sizes. */
@font-face {
    font-family: 'STHeiti';
    src: url('STHeiti-Light.woff2') format('woff2');
    font-weight: 100 399;
    font-style: normal;
    font-display: swap;
    unicode-range: U+2E80-303F, U+3040-30FF, U+3400-4DBF, U+4E00-9FFF,
        U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}

@font-face {
    font-family: 'STHeiti';
    src: url('STHeiti-Regular.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+2E80-303F, U+3040-30FF, U+3400-4DBF, U+4E00-9FFF,
        U+F900-FAFF, U+FE30-FE4F, U+FF00-FFEF;
}
