/*
 * Neubau International Pro Web + Reckless.
 *
 * Three deliberate differences from the ginger-admin source:
 *
 * 1. woff2 only. Admin also ships .eot, .eot.1, .ttf, .woff and .otf, which is 1.7 MB
 *    to deliver 288 KB of actually-used font. Every browser the portal supports takes
 *    woff2 and the src: stack lists it first, so the other formats were never fetched.
 *
 * 2. Absolute /fonts/ paths. Admin's are bare filenames that only resolve because its
 *    CSS sits in the same directory as the binaries. nginx serves ours from
 *    `location /fonts/`.
 *
 * 3. The bold face is declared under `nb_international_pro` with `font-weight: bold`,
 *    NOT as a separate `nb_international_probold` family. Admin declares bold as its
 *    own family, which renders every <b>, <strong> and `font-weight: 600` as
 *    synthesised faux-bold. `nb_international_probold` is also declared, for markup
 *    ported from Admin that names it explicitly.
 *
 * Note the weight/style axis is encoded in the family NAME rather than in
 * font-weight/font-style - the italic faces all declare `font-style: normal`. That is
 * wrong but load-bearing: _components.css selects faces by switching font-family.
 * Untangling it means touching every face and every call site.
 */

@font-face {
    font-family: 'nb_international_pro';
    src: url('/fonts/nb_international_pro_regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_pro';
    src: url('/fonts/nb_international_pro_bold-webfont.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Admin-compatible alias for the same bold face. */
@font-face {
    font-family: 'nb_international_probold';
    src: url('/fonts/nb_international_pro_bold-webfont.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_prolight';
    src: url('/fonts/nb_international_pro_light-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_promedium';
    src: url('/fonts/nb_international_pro_medium-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_promono';
    src: url('/fonts/nb_international_pro_mono-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_proitalic';
    src: url('/fonts/nb_international_pro_italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_proLtIt';
    src: url('/fonts/nb_international_pro_light_italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_proMdIt';
    src: url('/fonts/nb_international_pro_medium_italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'nb_international_proBdIt';
    src: url('/fonts/nb_international_pro_bold_italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'reckless';
    src: url('/fonts/Reckless-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
