/* Carlito — self-hosted, metric-compatible replacement for Calibri.
   Ships only weights 400 and 700 (plus italics). Tailwind's heavier weight
   utilities (semibold/extrabold/black) are remapped to 700 in base.html to
   stop Safari from synthesizing fake weights on iOS. */

@font-face {
    font-family: 'Carlito';
    src: url('../fonts/carlito/carlito-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carlito';
    src: url('../fonts/carlito/carlito-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Carlito';
    src: url('../fonts/carlito/carlito-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Carlito';
    src: url('../fonts/carlito/carlito-bold-italic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --font-sans: 'Carlito', 'Calibri', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body,
input,
select,
textarea,
button {
    font-family: var(--font-sans);
    font-synthesis: none;
}
