/* Cormorant Garamond — вариативный, самохостинг, прямое и курсивное начертания.
   Источник: https://github.com/google/fonts/tree/main/ofl/cormorantgaramond
   (SIL OFL 1.1, см. OFL.txt). Подмножества: latin, latin-ext, cyrillic.
   Диапазон веса 300–700 у обоих начертаний.

   Файлы собраны pyftsubset, имя содержит хеш содержимого: при обновлении
   шрифта меняется имя, поэтому кеш можно держать год (immutable).

   Хеши продублированы в templates/components/layout/_font_preload.html.twig —
   при обновлении файлов обновите и там. */

/* ---------- прямое ---------- */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-normal-latin-1fd585.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-normal-latin-ext-d06009.woff2') format('woff2');
    unicode-range: U+0100-017F;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-normal-cyrillic-bb2c49.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- курсив ---------- */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-italic-latin-bc3178.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+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-italic-latin-ext-01bdec.woff2') format('woff2');
    unicode-range: U+0100-017F;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('cormorant-italic-cyrillic-1ee0dd.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Запасной шрифт: метрики Georgia, подогнанные под Cormorant Garamond
   инструментом @capsizecss/core. У Cormorant заметно меньше высота строчных,
   без size-adjust подмена при swap бросалась бы в глаза. */
@font-face {
    font-family: 'Cormorant Fallback';
    src: local('Georgia');
    ascent-override: 104.5482%;
    descent-override: 32.4733%;
    line-gap-override: 0%;
    size-adjust: 88.3803%;
}
