/**
 * @font-face declarations for the families AM_Kit_Fonts puts in the picker.
 *
 * WOFF2 only: every browser Elementor supports reads it, and it is by far the
 * smallest of the web font formats - the three files below come to 398 KB,
 * against 7 MB for the TTFs they were built from.
 *
 * The family names must stay byte-identical to the ones in AM_Kit_Fonts, since
 * that is the string Elementor writes into the CSS it generates.
 */

/* Allura - one weight, the only one the family ships. */
@font-face {
    font-family: 'Allura';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/allura/allura-regular.woff2') format('woff2');
}

/*
 * Cormorant Garamond - variable, so a single file answers every weight from
 * Light to Bold and the picker's whole 300-700 range keeps working. Two files
 * instead of the ten static cuts the family also ships with.
 */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond/cormorant-garamond-variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond/cormorant-garamond-italic-variable.woff2') format('woff2');
}
