/* Base — reset, typo, utilitaires */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
}

h2 {
    font-family: var(--font-h2);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.12;
}

h3 {
    font-family: var(--font-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section {
    padding: var(--section-y) 0;
}

.section-header {
    max-width: 640px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header.centered {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    color: var(--text);
}

.section-title span {
    color: var(--text-muted);
}

.section-lead {
    margin-top: 16px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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