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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    background: var(--color-ivory);
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.04em;
    line-height: 1.04;
    overflow-wrap: break-word;
    hyphens: auto;
}

h1 {
    max-width: 15ch;
    font-size: clamp(2.75rem, 7vw, 5rem);
}

h2 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

:focus-visible {
    outline: 0.1875rem solid var(--color-red);
    outline-offset: 0.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -6rem;
    left: var(--space-4);
    z-index: 1000;
    padding: var(--space-3) var(--space-4);
    background: var(--color-red);
    color: var(--color-ivory);
}

.skip-link:focus {
    top: var(--space-4);
}

