@charset "UTF-8";

/*
 * The two Front-Office typefaces and their cyrillic counterparts.
 *
 * Both families are declared here, unconditionally: the switch is not made by loading another
 * stylesheet, which would mean a <link> in a template, but by redefining two custom properties on
 * the ".fo--cyrillic" wrapper (see general.css). Only the files a page actually uses end up being
 * downloaded by the browser.
 *
 * Latin faces carry no cyrillic glyph at all, hence the swap rather than a simple fallback.
 * Only woff2 and woff are declared: every browser the project targets reads one of the two.
 */

/* ----------------- L A T I N ----------------- */

@font-face {
    font-family: 'baskervville';
    src: url("../../fonts/baskerville-regular/baskervville-regular-aGejOQQ.woff2") format('woff2'),
         url("../../fonts/baskerville-regular/baskervville-regular-2z3ro4M.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'baskervville';
    src: url("../../fonts/baskerville-italic/baskervville-italic-dm3dMPD.woff2") format('woff2'),
         url("../../fonts/baskerville-italic/baskervville-italic-S9DE5-g.woff") format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'helveticaneue-thin';
    src: url("../../fonts/helvetica-neue-thin/helveticaneue-thin-webfont-yJr1GYw.woff2") format('woff2'),
         url("../../fonts/helvetica-neue-thin/helveticaneue-thin-webfont-LyYKGXM.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------- C Y R I L L I C --------------- */

@font-face {
    font-family: 'ebgaramond12';
    src: url("../../fonts/Cyrillic/ebgaramond12-regular/ebgaramond12-regular-webfont-EQqBTee.woff2") format('woff2'),
         url("../../fonts/Cyrillic/ebgaramond12-regular/ebgaramond12-regular-webfont-AobFasZ.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ebgaramond12';
    src: url("../../fonts/Cyrillic/ebgaramond12-italic/ebgaramond12-italic-webfont-vGxkGlh.woff2") format('woff2'),
         url("../../fonts/Cyrillic/ebgaramond12-italic/ebgaramond12-italic-webfont-1ZHISSO.woff") format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'helveticaneuecyr-thin';
    src: url("../../fonts/Cyrillic/helvetica-neue-thin/helveticaneuecyr-thin-webfont-IDWDwLT.woff2") format('woff2'),
         url("../../fonts/Cyrillic/helvetica-neue-thin/helveticaneuecyr-thin-webfont-RTE2CSq.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
