/*
        This font software is the property of Commercial Type.

        You may not modify the font software, use it on another website, or install it on a computer.

        License information is available at http://commercialtype.com/eula
        For more information please visit Commercial Type at http://commercialtype.com or email us at info[at]commercialtype.com

        Copyright (C) 2026 Schwartzco Inc.
        License 2609-QALVOC
*/

/*
    Each face lists WOFF2 first and WOFF as a fallback: if the WOFF2 request fails (Amplify's SPA
    rewrite returns index.html for .woff2 until AI-809 is done), the browser loads the WOFF.

    Neue Haas Grotesk Text ships 400 (55 Roman), 500 (65 Medium) and 700 (75 Bold).
    Only the styles the app uses are included: no medium or bold italic (the browser would
    synthesize them if ever needed).
    There is no 600, so Medium also covers 600: the app's 600 labels render in Medium.
*/

@font-face {
    font-family: "Haas Grot Text Web";
    src: url("NeueHaasGroteskText-55Roman-Web.woff2") format("woff2"),
        url("HaasGrotText-55Roman-Web.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Haas Grot Text Web";
    src: url("NeueHaasGroteskText-56Italic-Web.woff2") format("woff2"),
        url("HaasGrotText-56Italic-Web.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Haas Grot Text Web";
    src: url("NeueHaasGroteskText-65Medium-Web.woff2") format("woff2"),
        url("HaasGrotText-65Medium-Web.woff") format("woff");
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Haas Grot Text Web";
    src: url("NeueHaasGroteskText-75Bold-Web.woff2") format("woff2"),
        url("HaasGrotText-75Bold-Web.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/*
    Metric-matched fallback: Arial scaled to Neue Haas Grotesk Text's width and line metrics,
    so text keeps its layout while the brand font loads (or if it fails to load).
    Measured in Chrome: Haas 400 is 4.5% wider than Arial, ascent 1.00em, descent 0.25em.
*/
@font-face {
    font-family: "Haas Grot Text Fallback";
    src: local("Arial"), local("ArialMT");
    size-adjust: 104.5%;
    ascent-override: 95.7%;
    descent-override: 23.9%;
    line-gap-override: 0%;
}
