/* ---------------------------------------------------------------------------
   Brand faces, self-hosted. Files come from @fontsource via tools/sync-assets.ps1.

   The legacy site pulled these from Google, which put a render-blocking request
   to a third-party host at the top of every page. Serving them from our own
   origin removes that hop and the DNS/TLS setup behind it.

   font-display: swap — the page renders in the fallback immediately and
   re-flows when the face lands. The alternative, blocking on the font, leaves
   the hero blank on a slow connection.

   woff2 only, and latin only. See the note in tools/sync-assets.ps1.
   --------------------------------------------------------------------------- */

/* Poppins carries the whole site: headings, body and the uppercase button and
   nav labels, which is why five weights are needed rather than the usual two. */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}

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

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

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

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

/* The handwriting accent — section kickers and the footer sign-off only.
   One weight, because the family ships only one. */
@font-face {
    font-family: 'Vujahday Script';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/vujahday-script-400.woff2') format('woff2');
}
