/* ============================================================================
   Self-hosted Roboto — replaces the render-blocking Google Fonts <link>.
   Loading the font from the local server means a misconfigured router / bad DNS
   can no longer stall page rendering (the browser used to hang until the request
   to fonts.googleapis.com timed out). See header.php where this file is included.

   Files live in ./fonts/ (pms/css/fonts/). Weights match what header.php uses:
   300, 400, 500, 700. font-display: swap => text paints immediately in the
   fallback font, then swaps to Roboto once loaded (instant, since it's local).
   local('Roboto') lets clients that already have Roboto installed skip the
   file fetch entirely.
   ============================================================================ */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Roboto Light'), local('Roboto-Light'), url('fonts/roboto-300.woff2') format('woff2');
}

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

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

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Roboto SemiBold'), local('Roboto-SemiBold'), url('fonts/roboto-600.woff2') format('woff2');
}

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