/* Shared site typography. Font sources and licences live beside the binaries. */
@font-face {
    font-family: "IBM Plex Sans";
    src: url("fonts/ibm-plex-sans-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 700;
    font-stretch: 75% 100%;
    font-display: swap;
}
@font-face {
    font-family: "Cabinet Grotesk";
    src: url("fonts/cabinet-grotesk-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    --font-ui: var(--font-body);
    --font-data: var(--font-body);
    --font-display: "Cabinet Grotesk", "Segoe UI", Arial, sans-serif;
    --font-heading-weight: 800;
    /* Shared roles, not a blanket minimum: dense pitch cards have their own scale. */
    --text-caption: .75rem;
    --text-meta: .8125rem;
    --text-control: .875rem;
    --text-body: 1rem;
    --text-heading-sm: 1.125rem;
    --text-heading-md: 1.375rem;
    --text-page: clamp(1.75rem, 2.4vw, 2.25rem);
}
