/* Self-hosted Barlow and Barlow Condensed. Latin subset.
   Fallbacks use size-adjust and metric overrides so the first paint
   stays close to the final type and layout shift stays small. */

@font-face {
    font-family: "Barlow Fallback";
    src: local("Arial"), local("Arimo"), local("Liberation Sans");
    size-adjust: 108%;
    ascent-override: 87%;
    descent-override: 17.4%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "Barlow Condensed Fallback";
    src: local("Arial Narrow"), local("Arimo"), local("Liberation Sans");
    size-adjust: 93%;
    ascent-override: 100%;
    descent-override: 20%;
    line-gap-override: 0%;
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400italic.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}
