/* ── Base ───────────────────────────────────────────── */
body {
    font-family: var(--ff-sans);
    font-size: var(--fs-base);
    font-weight: 300;
    color: var(--clr-text);
    background: var(--clr-bg);
}

/* ── Container ─────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}
.container--narrow {
    max-width: 800px;
}

/* ── Section ───────────────────────────────────────── */
.section {
    padding-block: var(--sp-section);
}
.section--light {
    background: var(--clr-surface);
    color: var(--clr-text-dark);
}
.section--alt {
    background: var(--clr-bg-alt);
}

/* ── Page Header (stretto) ─────────────────────────── */
.page-header {
    padding-top: calc(var(--header-h) + var(--sp-xl));
    padding-bottom: var(--sp-xl);
    text-align: center;
    background: var(--clr-bg-alt);
}
.page-header__title {
    font-family: var(--ff-serif);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--clr-text);
}
.page-header__subtitle {
    margin-top: var(--sp-xs);
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
}

/* ── Grid Utilities ────────────────────────────────── */
.grid {
    display: grid;
    gap: var(--sp-lg);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Skip Link ─────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--sp-sm);
    background: var(--clr-accent);
    color: var(--clr-bg);
    padding: var(--sp-xs) var(--sp-sm);
    border-radius: var(--radius);
    z-index: 1000;
    font-weight: 500;
}
.skip-link:focus {
    top: var(--sp-sm);
}

/* ── Visually hidden ───────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
