/* Reset + Typography — Apple-esque */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 18px;
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--surface-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', 'Georgia', serif;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.subhead {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 400;
    max-width: 540px;
}

.section-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 16px;
    display: block;
}

a {
    color: var(--sage);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* Apple-style text link with arrow */
.link-arrow {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--sage);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-arrow::after {
    content: '\203A';
    font-size: 1.4em;
    transition: transform 0.2s var(--ease-apple);
}

.link-arrow:hover {
    opacity: 1;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

:focus-visible {
    outline: 3px solid var(--sage);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

::selection {
    background: rgba(122, 155, 109, 0.2);
    color: var(--text-primary);
}

.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;
}
