/* ============================================
   Base Element Styles
   ============================================ */

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-light);
    line-height: var(--lh-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: var(--fw-light);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

@media (max-width: 768px) {
    h1 { font-size: var(--fs-3xl); }
    h2 { font-size: var(--fs-2xl); }
    h3 { font-size: var(--fs-xl); }
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    height: auto;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

::selection {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

/* Eyebrow text */
.section__eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--space-sm);
}

.section__eyebrow--light {
    color: var(--color-terracotta);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__title--light {
    color: var(--color-text-light);
}

.section__body {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-primary);
    max-width: 600px;
}

.section__body--light {
    color: var(--color-stone);
}

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