/* ── Box Model ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Document ───────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Media ──────────────────────────────────────────────── */
img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Typography ─────────────────────────────────────────── */
a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ── Forms ──────────────────────────────────────────────── */
button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

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

/* ── Layout Utilities ───────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

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

.section--dark {
    background-color: var(--color-dark);
    color: #fff;
}

.section--light {
    background-color: var(--color-bg-white);
}

/* ── Screen Reader Only ─────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
