@font-face {
    font-family: 'Archivo Black';
    src: url('fonts/archivo-black-latin-400-normal.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: Barlow;
    src: url('fonts/barlow-latin-400-normal.woff2') format('woff2');
    font-display: swap;
}

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

:root {
    color-scheme: light;
    --paper: #f3f0df;
    --paper-light: #fffcef;
    --ink: #162e27;
    --field: #254b39;
    --muted: #4d6055;
    --line: #babca6;
    --red: #dd4a2c;
    --red-dark: #a6331f;
    --font-sans: Barlow, Arial, Helvetica, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
}

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--paper) radial-gradient(#162e2712 .65px, transparent .65px) 0 0 / 6px 6px;
    color: var(--ink);
    font-family: var(--font-sans);
    line-height: 1.5;
}

a {
    color: inherit;
    text-underline-offset: .2em;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

:focus-visible {
    outline: 3px solid var(--red-dark);
    outline-offset: 3px;
}

.site-shell {
    width: min(75rem, 100% - 3.5rem);
    margin-inline: auto;
}

.site-main {
    flex: 1;
}

.site-main:focus {
    outline: none;
}

.site-header {
    border-bottom: 4px solid var(--red);
    background: var(--ink);
    color: var(--paper);
}

.site-header__inner,
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header__inner {
    min-height: 3.5rem;
}

.site-header :focus-visible {
    outline-color: var(--paper);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.035em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-brand__pitch {
    display: grid;
    flex: none;
    width: 1.8rem;
    height: 1.22rem;
    place-items: center;
    border: 1px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}

.site-brand__pitch::after {
    width: .55rem;
    height: .55rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: '';
}

.site-brand__year {
    color: #ffa389;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(.65rem, 2.4vw, 1.5rem);
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover {
    text-decoration: underline;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #e9e7d4;
    font-family: var(--font-mono);
    font-size: .78rem;
}

.site-footer__inner {
    min-height: 3.5rem;
    padding-block: .75rem;
}

.site-footer__inner span:first-child {
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer__inner span:last-child {
    text-align: right;
}

.site-notices {
    padding-top: 1.25rem;
}

.notice {
    margin: 0;
    padding: .75rem 1rem;
    border: 1px solid currentColor;
    border-left-width: 5px;
    background: var(--paper-light);
}

.notice--error {
    color: var(--red-dark);
}

.notice p,
.notice ul {
    margin: 0;
}

.notice ul {
    padding-left: 1.25rem;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: .5rem;
    left: .5rem;
    padding: .65rem 1rem;
    background: var(--paper-light);
    transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
    transform: none;
}

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

@media (max-width: 42rem) {
    .site-shell {
        width: calc(100% - 2rem);
    }
}
