/* ============================================================
   Local fonts — replaces Google Fonts CDN
   Eliminates 4 render-blocking external connections
   ============================================================ */

/* Jost — replaces Google Fonts CDN */
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('jost-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('jost-300i.woff2') format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('jost-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('jost-400i.woff2') format('woff2');
}
@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('jost-700.woff2') format('woff2');
}

/* Cormorant Infant — replaces Google Fonts CDN */
@font-face {
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('cormorant-infant-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Infant';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('cormorant-infant-400i.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Infant';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('cormorant-infant-700.woff2') format('woff2');
}

/* Urbanist — used by secondary elements */
@font-face {
    font-family: 'Urbanist';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('urbanist-500.woff2') format('woff2');
}

/* Ephesis — decorative/script font */
@font-face {
    font-family: 'Ephesis';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('ephesis-400.woff2') format('woff2');
}
