/* Fantasy typography from the CalCrony Design Refresh canvas (issue #88): Marcellus for
   display text, Nunito Sans for body, a modern mono stack for meta lines. Latin subsets are
   vendored (same files Google Fonts serves) — self-hosted like Bootstrap, no third-party
   request at runtime. Non-latin text falls through unicode-range to the system stacks. */

@font-face {
    font-family: "Marcellus";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/marcellus-latin-400.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;
}

@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400 800; /* variable file — one download covers every weight the design uses */
    font-display: swap;
    src: url("../fonts/nunito-sans-latin-400-800.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;
}

/* Loaded after bootstrap.css, so these :root overrides win its defaults. */
:root {
    --bs-body-font-family: "Nunito Sans", system-ui, "Segoe UI", sans-serif;
    --bs-font-monospace: ui-monospace, "Cascadia Mono", SFMono-Regular, Consolas, monospace;
    --calcrony-display-font: "Marcellus", Georgia, "Times New Roman", serif;
}

/* The display face everywhere the canvas uses it: headings and card/event titles. Marcellus
   ships a single 400 weight — weight is pinned so nothing faux-bolds it. Card titles opt in
   with .display-title (replacing fw-bold, whose !important would force a faux bold). */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.card-title, .display-title {
    font-family: var(--calcrony-display-font);
    font-weight: 400;
}

.display-title { font-size: 1.05em; letter-spacing: .01em; }
