/**
 * natural — fonts.css
 *
 * Self-hosted Oswald (headings/display, 500/600/700) + Roboto (body,
 * 400/500/700). Fetched from Google Fonts (SIL Open Font License — see
 * OFL-Roboto.txt / OFL-Oswald.txt in this folder) as a local build step; no
 * third-party font-hosting origin is referenced anywhere in the shipped
 * template — every face loads from this template's own media/ folder.
 *
 * Both Oswald and Roboto ship as variable fonts on Google's CDN — the SAME
 * woff2 file is served for every weight request in range, so one @font-face
 * per subset with a weight range is correct (the browser instances the
 * requested weight from the one file); a separate @font-face per weight
 * would be needed only for a family that ships distinct static files per
 * weight (verified: the 500/600/700 Oswald downloads are byte-identical).
 *
 * latin loads eagerly (preloaded by includes/head.php for the LCP weights);
 * latin-ext is fetched by the browser only when a page actually needs those
 * glyphs.
 */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/roboto-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;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/roboto-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;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/oswald-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;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/oswald-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;
}

/* Fontin Sans — carried over from the J3 site (templates/newline/css/natural.css) for .font-natural.
 * Family names match J3 so copied J3 markup/CSS keeps working. WOFF2 converted from the J3 TTFs. */
@font-face {
    font-family: 'FontinSansRgBold';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('../fonts/fontin-sans-bold.woff2') format('woff2'), url('../fonts/fontin-sans-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'FontinSansRgRegular';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('../fonts/fontin-sans-regular.woff2') format('woff2'), url('../fonts/fontin-sans-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'FontinSansSCSmallCaps';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('../fonts/fontin-sans-smallcaps.woff2') format('woff2'), url('../fonts/fontin-sans-smallcaps.ttf') format('truetype');
}

/* J3 utility classes */
.font-natural { font-family: 'FontinSansRgBold', Helvetica, Arial, sans-serif; }
.font-natural-regular { font-weight: 400; }
.font-natural-bold { font-weight: 700; }
.font-natural-medium { font-weight: 500; }
.font-natural-light { font-weight: 300; }
.font-natural-rg { font-family: 'FontinSansRgRegular', Helvetica, Arial, sans-serif; }
.font-natural-sc { font-family: 'FontinSansSCSmallCaps', Helvetica, Arial, sans-serif; }
