/**
 * Mimeo · self-hosted fonts (design spec §3; contract §2.7). Hand-authored: do not regenerate with
 * a font-fetch script, it keeps only the latin subset. Latin and latin-ext subsets of three OFL
 * families (licences in ../fonts/OFL-*.txt):
 *   Zilla Slab 500, 700, 700 italic: headings, numerals, stamps; the italic is the wordmark only
 *   Atkinson Hyperlegible Next: variable wght 200-800 (one face per subset) plus a static italic 400
 *   Courier Prime 700: typewriter meta (400 is never used and is not shipped)
 * index.php preloads zilla-slab-700-latin.woff2 and atkinson-next-var-latin.woff2 (profile partial).
 *
 * Metric-matched fallbacks keep the layout still while the web fonts load (font-display: swap).
 * size-adjust is the measured width ratio of a 136-character English sample (Chromium, 100px):
 * web font / fallback. Ascent and descent overrides are the web font's hhea metrics divided by
 * size-adjust. Arial = Liberation Sans, Times New Roman = Liberation Serif and Courier New =
 * Liberation Mono share their advance widths, so each fallback face lists both.
 *
 * @copyright   Copyright (C) 2026 BulaSikku Technologies Private Limited. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

/* Zilla Slab 700, latin-ext */
@font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/zilla-slab-700-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Zilla Slab 700, latin */
@font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/zilla-slab-700-latin.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;
}

/* Zilla Slab 500 (the family names it "Zilla Slab Medium"), latin-ext */
@font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/zilla-slab-500-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Zilla Slab 500 (the family names it "Zilla Slab Medium"), latin */
@font-face {
    font-family: 'Zilla Slab';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/zilla-slab-500-latin.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;
}

/* Zilla Slab 700 italic, latin-ext */
@font-face {
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/zilla-slab-700i-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Zilla Slab 700 italic, latin */
@font-face {
    font-family: 'Zilla Slab';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/zilla-slab-700i-latin.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;
}

/* Atkinson Hyperlegible Next, variable wght 200-800, latin-ext */
@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/atkinson-next-var-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Atkinson Hyperlegible Next, variable wght 200-800, latin */
@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/atkinson-next-var-latin.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;
}

/* Atkinson Hyperlegible Next italic 400, latin-ext */
@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/atkinson-next-400i-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Atkinson Hyperlegible Next italic 400, latin */
@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/atkinson-next-400i-latin.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;
}

/* Courier Prime 700, latin-ext */
@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/courier-prime-700-latin-ext.woff2") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Courier Prime 700, latin */
@font-face {
    font-family: 'Courier Prime';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/courier-prime-700-latin.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;
}


/* ---- Metric-matched fallbacks ------------------------------------------------------------ */

/* Zilla Slab 700 on Times New Roman Bold */
@font-face {
    font-family: 'Zilla Slab Fallback';
    font-style: normal;
    font-weight: 700;
    src: local('Times New Roman Bold'), local('TimesNewRomanPS-BoldMT'), local('Liberation Serif Bold'), local('LiberationSerif-Bold');
    size-adjust: 102.13%;
    ascent-override: 92.44%;
    descent-override: 25.07%;
    line-gap-override: 0%;
}

/* Zilla Slab 500 on Times New Roman */
@font-face {
    font-family: 'Zilla Slab Fallback';
    font-style: normal;
    font-weight: 500;
    src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Liberation Serif'), local('LiberationSerif');
    size-adjust: 106.74%;
    ascent-override: 88.44%;
    descent-override: 23.98%;
    line-gap-override: 0%;
}

/* Zilla Slab 700 italic on Times New Roman Bold Italic */
@font-face {
    font-family: 'Zilla Slab Fallback';
    font-style: italic;
    font-weight: 700;
    src: local('Times New Roman Bold Italic'), local('TimesNewRomanPS-BoldItalicMT'), local('Liberation Serif Bold Italic'), local('LiberationSerif-BoldItalic');
    size-adjust: 98.15%;
    ascent-override: 96.18%;
    descent-override: 26.08%;
    line-gap-override: 0%;
}

/* Atkinson Hyperlegible Next 200-500 on Arial */
@font-face {
    font-family: 'Atkinson Fallback';
    font-style: normal;
    font-weight: 200 500;
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans');
    size-adjust: 99.11%;
    ascent-override: 99.29%;
    descent-override: 31.88%;
    line-gap-override: 0%;
}

/* Atkinson Hyperlegible Next 600-800 on Arial Bold */
@font-face {
    font-family: 'Atkinson Fallback';
    font-style: normal;
    font-weight: 600 800;
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold');
    size-adjust: 98.01%;
    ascent-override: 100.40%;
    descent-override: 32.24%;
    line-gap-override: 0%;
}

/* Courier Prime 700 on Courier New Bold */
@font-face {
    font-family: 'Courier Prime Fallback';
    font-style: normal;
    font-weight: 700;
    src: local('Courier New Bold'), local('CourierNewPS-BoldMT'), local('Liberation Mono Bold'), local('LiberationMono-Bold');
    size-adjust: 99.92%;
    ascent-override: 78.19%;
    descent-override: 34.21%;
    line-gap-override: 0%;
}
