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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

body {
    margin: 0;
    min-width: 20rem;
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
}

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

button {
    cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
    line-height: var(--line-height-heading);
}

h1 {
    font-size: var(--font-size-3xl);
    letter-spacing: -0.055em;
}

h2 {
    font-size: var(--font-size-2xl);
    letter-spacing: -0.04em;
}

h3 {
    font-size: var(--font-size-xl);
}

p:last-child {
    margin-bottom: 0;
}

address {
    font-style: normal;
}

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

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

.container,
.section-shell {
    width: min(calc(100% - (var(--space-5) * 2)), var(--content-width));
    margin-inline: auto;
}

.container--narrow {
    max-width: var(--content-narrow);
}

.section {
    padding-block: var(--space-9);
}

.section--surface {
    background: var(--color-surface);
}

.section--dark {
    background: var(--color-black);
    color: var(--color-white);
}

.eyebrow {
    margin-bottom: var(--space-3);
    color: var(--color-gold);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lede {
    max-width: 46rem;
    color: var(--color-muted);
    font-size: var(--font-size-lg);
}

.section--dark .lede {
    color: #c8c6c0;
}

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

.skip-link {
    position: fixed;
    top: var(--space-3);
    left: var(--space-3);
    z-index: var(--z-overlay);
    transform: translateY(-200%);
    padding: var(--space-3) var(--space-4);
    background: var(--color-gold);
    color: var(--color-black);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

@media (max-width: 40rem) {
    .container,
    .section-shell {
        width: min(calc(100% - (var(--space-4) * 2)), var(--content-width));
    }

    .section {
        padding-block: var(--space-8);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
