* {
    user-select: none;
    box-sizing: border-box;
}

a,
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

/* The logo's intrinsic ratio is known, so reserving it prevents header/footer
   movement while the image is decoding. */
.brand-mark img {
    aspect-ratio: 2399 / 788;
}

a {
    color: inherit;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 4px;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.55rem, 7vw, 4.7rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.35rem);
}

h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

p {
    max-width: 68ch;
}

::selection {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.skip-link:focus {
    top: 1rem;
}

.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;
}

#site-header {
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 1100;
    height: var(--header-h);
}

main {
    padding-top: var(--header-h);
}

.primary-btn {
    display: inline-block;
    padding: 12px 19px;
    border-radius: 10px;
    color: #050505;
    background: linear-gradient(135deg, #ffe95a, #ffbd0b);
    font-weight: 800;
    text-decoration: none;
}
