/* SJWRC typefaces. Every page uses only the fonts in /font.
   Loaded by /css/style.css; stand-alone pages link this file directly. */

/* Nimbus Sans L: body and interface text */
@font-face {
    font-family: "Nimbus Sans";
    src: url(../font/NimbusSanL-Reg-webfont.ttf) format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Nimbus Sans";
    src: url(../font/NimbusSanL-RegIta-webfont.ttf) format("truetype");
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "Nimbus Sans";
    src: url(../font/NimbusSanL-Bol-webfont.ttf) format("truetype");
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Nimbus Sans";
    src: url(../font/NimbusSanL-BolIta-webfont.ttf) format("truetype");
    font-weight: 700; font-style: italic; font-display: swap;
}

/* Special Elite: code and sequences */
@font-face {
    font-family: "Special Elite";
    src: url(../font/SpecialElite-Regular.ttf) format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}

/* JetBrains Mono: monospaced text where characters must be unambiguous (passwords) */
@font-face {
    font-family: "JetBrains Mono";
    src: url(../font/JetBrainsMono-VariableFont_wght.ttf) format("truetype");
    font-weight: 100 800; font-style: normal; font-display: swap;
}

/* Tangerine: signatures */
@font-face {
    font-family: "Tangerine";
    src: url(../font/Tangerine-Regular.ttf) format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Tangerine";
    src: url(../font/Tangerine-Bold.ttf) format("truetype");
    font-weight: 700; font-style: normal; font-display: swap;
}

/* Handwriting faces, available for accents */
@font-face {
    font-family: "Caveat";
    src: url(../font/Caveat-VariableFont_wght.ttf) format("truetype");
    font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Just Me Again Down Here";
    src: url(../font/JustMeAgainDownHere-Regular.ttf) format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Mynerve";
    src: url(../font/Mynerve-Regular.ttf) format("truetype");
    font-weight: 400; font-style: normal; font-display: swap;
}

:root {
    --sans: "Nimbus Sans", sans-serif;
    --mono: "Special Elite", monospace;
    --code: "JetBrains Mono", monospace;
    --script: "Tangerine", cursive;
    --hand: "Caveat", cursive;
}

button, input, select, textarea { font-family: inherit; }
pre, code, kbd, samp { font-family: var(--mono); }
sub, sup { line-height: 0; }
