/**
 * Vesper · self-hosted web fonts (hand-authored; do not run fetch-fonts, it drops latin-ext).
 *
 * Mona Sans (variable: wght 200-900, wdth 75-125; Vesper sets it at 125% width, 700 and 800)
 * and Alegreya Sans (400, 500, 700, italic 400), each split into latin and latin-ext by
 * unicode-range so a page only downloads the subsets it uses. Alegreya Sans bold italic is not
 * shipped; the browser synthesises it for the rare <strong><em>.
 * Two files are preloaded by index.php (profile partial): mona-sans-var-latin.woff2 and
 * alegreya-sans-400-latin.woff2.
 *
 * The "Fallback" faces are metric-matched to Arial (Liberation Sans on Linux shares Arial's
 * metrics): size-adjust from the measured advance ratio of Chainline sample text, ascent,
 * descent and line-gap overrides from each font's own vertical metrics divided by that ratio,
 * so the swap from the fallback to the web font does not reflow the page.
 * Licences: OFL-mona-sans.txt, OFL-alegreya-sans.txt (SIL Open Font License 1.1).
 *
 * @copyright   Copyright (C) 2026 BulaSikku Technologies Private Limited. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

/* Mona Sans 200 900, latin-ext */
@font-face {
    font-family: 'Mona Sans';
    font-style: normal;
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-display: swap;
    src: url('../fonts/mona-sans-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;
}

/* Mona Sans 200 900, latin */
@font-face {
    font-family: 'Mona Sans';
    font-style: normal;
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-display: swap;
    src: url('../fonts/mona-sans-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;
}

/* Alegreya Sans 400, latin-ext */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/alegreya-sans-400-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;
}

/* Alegreya Sans 400, latin */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/alegreya-sans-400-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;
}

/* Alegreya Sans 500, latin-ext */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Alegreya Sans 500, latin */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Alegreya Sans 700, latin-ext */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Alegreya Sans 700, latin */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Alegreya Sans 400 italic, latin-ext */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Alegreya Sans 400 italic, latin */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/alegreya-sans-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;
}

/* Mona Sans at 125% width, 700: Arial Bold advance x 1.1 */
@font-face {
    font-family: 'Mona Sans Fallback';
    font-style: normal;
    font-weight: 200 749;
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold');
    size-adjust: 109.92%;
    ascent-override: 99.16%;
    descent-override: 29.11%;
    line-gap-override: 0%;
}

/* Mona Sans at 125% width, 800: Arial Bold advance x 1.12 */
@font-face {
    font-family: 'Mona Sans Fallback';
    font-style: normal;
    font-weight: 750 900;
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold');
    size-adjust: 112.1%;
    ascent-override: 97.23%;
    descent-override: 28.55%;
    line-gap-override: 0%;
}

/* Alegreya Sans 400: Arial advance x 0.84 */
@font-face {
    font-family: 'Alegreya Sans Fallback';
    font-style: normal;
    font-weight: 400;
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans');
    size-adjust: 83.92%;
    ascent-override: 95.33%;
    descent-override: 23.83%;
    line-gap-override: 23.83%;
}

/* Alegreya Sans 500: Arial advance x 0.85 */
@font-face {
    font-family: 'Alegreya Sans Fallback';
    font-style: normal;
    font-weight: 500 600;
    src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans');
    size-adjust: 84.9%;
    ascent-override: 94.23%;
    descent-override: 23.56%;
    line-gap-override: 23.56%;
}

/* Alegreya Sans 700: Arial advance x 0.81 */
@font-face {
    font-family: 'Alegreya Sans Fallback';
    font-style: normal;
    font-weight: 700 900;
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('LiberationSans-Bold');
    size-adjust: 80.65%;
    ascent-override: 99.19%;
    descent-override: 24.8%;
    line-gap-override: 24.8%;
}

/* Alegreya Sans italic: Arial advance x 0.77 */
@font-face {
    font-family: 'Alegreya Sans Fallback';
    font-style: italic;
    font-weight: 400 900;
    src: local('Arial Italic'), local('Arial-ItalicMT'), local('Liberation Sans Italic'), local('LiberationSans-Italic');
    size-adjust: 77.32%;
    ascent-override: 103.47%;
    descent-override: 25.87%;
    line-gap-override: 25.87%;
}
