/* Shared by every page on the site: fonts and a few resets. Fonts are OFL; see fonts/*-OFL.txt. */

@font-face {
    font-family: "Source Serif 4";
    src: url("fonts/SourceSerif4.woff") format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Archivo";
    src: url("fonts/Archivo.woff") format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("fonts/IBMPlexSans.woff") format("woff");
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("fonts/IBMPlexMono.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("fonts/Figtree.ttf") format("truetype");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
}

[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

.vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 20;
    padding: 12px 16px;
    background: var(--skip-bg, #fff);
    color: var(--skip-fg, #000);
    text-decoration: none;
}
.skip:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--focus, currentColor);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
