/*
 * Self-hosted design fonts.
 *
 *   Slight-Regular.woff2 / .otf  Up Up Creative, webfont licence (the .woff2
 *                                is converted from the .otf; browsers take it
 *                                first, the .otf is a fallback)
 *   Gotham-*.woff2               optional, not installed: Montserrat renders
 *                                in its place
 */

/* block, not swap: the script titles are written in by an animation that
   waits for this font, so a fallback-face flash would only show as a glitch. */
@font-face {
    font-family: 'Slight';
    src: url('/fonts/Slight-Regular.woff2') format('woff2'),
         url('/fonts/Slight-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

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

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

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

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