/*
 * Global typography foundation.
 *
 * Local font files are loaded here. The active font stack itself is defined in
 * css/theme.css through --font-family.
 */

@font-face {
    font-family: "Cimatics";
    src:
        url("../assets/fonts/Cimatics-Base.woff2") format("woff2"),
        url("../assets/fonts/Cimatics-Base.woff") format("woff");
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Uncut Sans";
    src:
        url("../assets/fonts/UncutSans-Book.woff2") format("woff2"),
        url("../assets/fonts/UncutSans-Book.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Uncut Sans";
    src:
        url("../assets/fonts/UncutSans-Bold.woff2") format("woff2"),
        url("../assets/fonts/UncutSans-Bold.woff") format("woff");
    font-weight: var(--font-weight-bold);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Uncut Sans";
    src:
        url("../assets/fonts/UncutSans-BoldItalic.woff2") format("woff2"),
        url("../assets/fonts/UncutSans-BoldItalic.woff") format("woff");
    font-weight: var(--font-weight-bold);
    font-style: italic;
    font-display: swap;
}

html,
body,
button,
input,
textarea,
select,
strong,
b,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal) !important;
    letter-spacing: -0.03em;
    font-feature-settings:
        "ss01" 1,
        "ss02" 1,
        "ss03" 1,
        "ss04" 1,
        "ss05" 1,
        "ss06" 1,
        "ss07" 1,
        "ss08" 1;
    font-kerning: normal;
    font-variant-ligatures: normal;
}

/* Current system uses Medium for every rendered UI/text element. */
html,
body,
body * {
    font-weight: 500 !important;
}
