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

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    margin: 0;
    min-width: 20rem;
    overflow-x: hidden;
    color: var(--color-espresso);
    background: var(--color-ivory);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

button,
a {
    color: inherit;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

button {
    font: inherit;
}

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

h1,
h2,
h3 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 0.98;
    text-wrap: balance;
}

h2 {
    font-size: var(--text-h2);
    letter-spacing: -0.035em;
}

h3 {
    font-size: var(--text-h3);
    letter-spacing: -0.02em;
}

h1 em,
h2 em {
    color: var(--color-champagne);
    font-weight: 400;
}

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

:focus-visible {
    outline: 2px solid var(--color-sage-charcoal);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.65rem 1rem;
    transform: translateY(-180%);
    border-radius: var(--radius-pill);
    color: var(--color-chalk);
    background: var(--color-espresso);
    font-size: var(--text-sm);
    transition: transform 180ms ease;
}

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

.eyebrow {
    margin-bottom: var(--space-4);
    color: var(--color-muted-ink);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.lead {
    color: var(--color-espresso);
    font-family: var(--font-display);
    font-size: var(--text-lead);
    line-height: 1.55;
}
