/* Self-hosted variable fonts + cross-document View Transitions.
   Owned by pc2 — task 001. @font-face and @view-transition ONLY; all visual
   styling lives in css/styles.css (pc5).

   One variable font per script: Inter (Latin), Heebo (Hebrew). JetBrains Mono
   is the terminal-aesthetic display face — a style, not a third script.
   Every face carries a live wght axis, so weight is interpolated, not faked.

   unicode-range is what makes the RTL locale work without a Hebrew-Latin
   superset: Heebo covers U+0590-05FF, Inter covers Latin, and the browser
   picks per character. Hebrew pages that mix Latin digits ("96,000") get
   Inter for the digits and Heebo for the Hebrew, in one run of text. */

/* Inter — Latin. wght 100-900. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-var.woff2') 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;
}

/* Heebo — Hebrew. wght 100-900. */
@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/heebo-hebrew-var.woff2') format('woff2');
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC,
                   U+FB1D-FB4F;
}

/* JetBrains Mono — Latin. wght 100-800 (note: 800, not 900). */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../fonts/jetbrains-mono-latin-var.woff2') 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;
}

/* Cross-document view transitions: card -> case study morphs instead of
   jumping. Same-origin navigations only; browsers without support simply
   navigate as before. Individual view-transition-name pairs are declared by
   pc5 in css/styles.css / css/case-study.css per the Markup API. */
@view-transition {
    navigation: auto;
}
