:root {
    --header-offset: 7.5rem;
    --font-heading: "Playfair Display", Georgia, "Times New Roman", Times, serif;
    --font-body: "Lato", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --leading-body: 1.6;
    --leading-heading: 1.2;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --padding-section: clamp(1rem, 5vw, 7rem);
}

html {
    box-sizing: border-box;
    font-size: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;

}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: var(--leading-body);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-heading);
    letter-spacing: 0.01em;
    margin: 0;
}

h1 {
    font-size: clamp(2rem, 2.8vw + 0.8rem, 2.5rem);
}

h2 {
    font-size: clamp(1.7rem, 2.5vw + 0.4rem, 2rem);
}

h3 {
    font-size: clamp(1.4rem, 2vw + 0.2rem, 1.6rem);
}

p,
li {
    font-size: 1rem;
    /* max-width: 65ch; */
    margin-block: 0.75rem;
}

strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

input,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input,
textarea {
    padding: 0.5rem;
}

/* Accessibility utility class */
.visually-hidden {
    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: absolute;
    /* Remove from normal flow */
    left: -9999px;
    /* Move far off‑screen */
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.skip-link:focus {
    left: 0;
    /* Bring back on screen */
    top: 0;
    width: auto;
    height: auto;
    padding: .5rem 1rem;
    background: #000;
    color: #fff;
    font-size: 1rem;
    z-index: 1000;
}