/* Base Reset & Editorial Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 1024px) {
  .container { padding-inline: var(--space-12); }
}

/* Typography */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-brass-dark);
}

.lead {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  max-width: 62ch;
}

.section {
  padding-block: var(--space-16);
  border-top: 1px solid var(--border-hairline);
}

@media (min-width: 1024px) {
  .section { padding-block: var(--space-24); }
}

.section--surface { background-color: var(--bg-surface); }
.section--forest {
  background-color: var(--bg-forest);
  color: var(--ink-inverse);
}
.section--forest .lead,
.section--forest .text-muted { color: var(--ink-inverse-muted); }
.section--forest .eyebrow { color: var(--accent-brass); }
