/* Sora from Google Fonts, hosted locally. See ../fonts/OFL-Sora.txt.
 * Font URL versions are the first 12 SHA-256 characters of each WOFF2.
 * Update these versions when replacing a font (immutable browser cache).
 * optional avoids a late swap on slow first visits; never hides the page.
 */
@font-face {
    font-family: "Sora CC";
    font-style: normal;
    font-weight: 100 800;
    font-display: optional;
    src: url("../fonts/sora-latin-ext-variable.woff2?v=df4fca18912e") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Sora CC";
    font-style: normal;
    font-weight: 100 800;
    font-display: optional;
    src: url("../fonts/sora-latin-variable.woff2?v=d2909123a6a8") 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;
}
/* Arial fallback, measured against Sora using the site's French copy.
 * Sora metrics: 970 ascent / 290 descent / 1000 units per em, zero line gap.
 * Separate local faces preserve regular/bold rendering without any download.
 */
@font-face {
    font-family: "Sora Fallback";
    src: local("Arial"), local("ArialMT");
    font-style: normal;
    font-weight: 100 500;
    size-adjust: 113.69%;
    ascent-override: 85.32%;
    descent-override: 25.51%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Sora Fallback";
    src: local("Arial Bold"), local("Arial-BoldMT");
    font-style: normal;
    font-weight: 600 800;
    size-adjust: 113.69%;
    ascent-override: 85.32%;
    descent-override: 25.51%;
    line-gap-override: 0%;
}
:root {
    /* A distinct CSS family avoids collisions with locally installed Sora. */
    --cc-font-family: "Sora CC", "Sora Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
    --cassiopeia-font-family-body: var(--cc-font-family);
    --cassiopeia-font-family-headings: var(--cc-font-family);
    --cassiopeia-font-weight-normal: 400;
    --cassiopeia-font-weight-headings: 700;
    --body-font-family: var(--cc-font-family);
    --font-family-sans-serif: var(--cc-font-family);
    --bs-body-font-family: var(--cc-font-family);
}
body,
h1, h2, h3, h4, h5, h6,
input, select, textarea, button {
    font-family: var(--cc-font-family);
}
