/* =============== SELF-HOSTED FONTS =============== *
 * All fonts are free / open-source (OFL or Apache 2.0).
 * Drop the .woff2 files into /fonts/ at the project root.
 * See /fonts/README.md for download URLs.
 *
 * Why woff2: smallest format, supported by every modern browser
 * (IE11 is the only exception — out of scope).
 * ================================================== */

/* ── Instrument Serif (display, headlines) ── */
@font-face {
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2");
}

/* ── Fraunces (variable, optional secondary display) ── */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/Fraunces[opsz,wght].woff2") format("woff2-variations");
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/Fraunces-Italic[opsz,wght].woff2") format("woff2-variations");
}

/* ── Geist (body sans, all weights via variable) ── */
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/Geist[wght].woff2") format("woff2-variations");
}

/* ── JetBrains Mono (numerals, meta, mono) ── */
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/JetBrainsMono[wght].woff2") format("woff2-variations");
}

/* ── Newsreader (long-form reading serif on post detail) ── */
@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/Newsreader[opsz,wght].woff2") format("woff2-variations");
}
@font-face {
    font-family: "Newsreader";
    font-style: italic;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/Newsreader-Italic[opsz,wght].woff2") format("woff2-variations");
}

/* ── Shippori Mincho (Japanese typewriter on travel page) ── */
@font-face {
    font-family: "Shippori Mincho";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/ShipporiMincho-Medium.woff2") format("woff2");
    /* Subset: kanji used by the typewriter only. The full Shippori Mincho
       is ~8 MB; this subset would be tiny. If you upload the full file,
       remove unicode-range. */
    unicode-range: U+65E5-9FFF, U+3000-303F, U+3040-309F, U+30A0-30FF;
}
@font-face {
    font-family: "Shippori Mincho";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/ShipporiMincho-SemiBold.woff2") format("woff2");
    unicode-range: U+65E5-9FFF, U+3000-303F, U+3040-309F, U+30A0-30FF;
}
