/* Graphik — the Advocates for Self-Government brand typeface.
   Mirrors the @font-face block in the main site's resources/css/shared.css so the
   admin panel renders in the same type as theadvocates.org.

   'Graphik Fallback' matches Arial's metrics to the real font's OS/2 tables, which
   keeps the swap from shifting layout. Values copied from the main site. */

@font-face {
    font-family: 'Graphik Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
    size-adjust: 95.7%;
    ascent-override: 85.8%;
    descent-override: 18.7%;
    line-gap-override: 10.5%;
}

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

@font-face {
    font-family: 'Graphik';
    src: url('/fonts/Graphik-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Graphik';
    src: url('/fonts/Graphik-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
