/* Self-hosted Google Fonts */
/* Fonts: Baloo Chettan 2, Baloo 2, Quicksand, Caveat */
/* Using font-display: swap for good UX + preload in HTML for speed */

/* Baloo Chettan 2 - weight 700 */
@font-face {
    font-family: 'Baloo Chettan 2';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./baloo-chettan-2/baloo-chettan-2-v700.woff2') format('woff2');
    /* Fallback metrics adjustment to reduce layout shift */
    ascent-override: 100%;
    descent-override: 30%;
    line-gap-override: 0%;
}

/* Baloo 2 - weights 400, 500, 600, 700, 800 */
@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./baloo-2/baloo-2-v400.woff2') format('woff2');
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./baloo-2/baloo-2-v500.woff2') format('woff2');
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./baloo-2/baloo-2-v600.woff2') format('woff2');
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./baloo-2/baloo-2-v700.woff2') format('woff2');
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./baloo-2/baloo-2-v800.woff2') format('woff2');
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 0%;
}

/* Quicksand - weights 300, 400, 500, 600, 700 */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('./quicksand/quicksand-v300.woff2') format('woff2');
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./quicksand/quicksand-v400.woff2') format('woff2');
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('./quicksand/quicksand-v500.woff2') format('woff2');
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./quicksand/quicksand-v600.woff2') format('woff2');
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./quicksand/quicksand-v700.woff2') format('woff2');
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

/* Caveat - weight 400 */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./caveat/caveat-v400.woff2') format('woff2');
    ascent-override: 110%;
    descent-override: 40%;
    line-gap-override: 0%;
}
