/* ==========================================================
   Jost — Variable Font
   Replaces Adobe Typekit FuturaPT (futura-pt)
   License: OFL 1.1 (see OFL.txt)
   ========================================================== */

@font-face {
    font-family: 'Jost';
    src: url('Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('Jost-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Override futura-pt wherever it was set by Canvas theme CSS */
body,
[style*="futura-pt"] {
    font-family: 'Jost', sans-serif !important;
}

/* ---- Optical size compensation ----
   FuturaPT Book (400) has thicker strokes than Jost 400.
   Bump body weight slightly so Jost feels equally dense.
   Variable font allows fractional weights — 420 is subtle
   but noticeably more solid than 400 without looking bold. */
body {
    font-weight: 420;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
