*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
}

p {
  margin: 0 0 var(--space-4);
  color: var(--ink-soft);
}

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: var(--space-3);
}

.lead {
  font-size: 1.05rem;
  max-width: 34rem;
  color: var(--muted);
}

.section { padding: var(--space-8) 0; }

.section-head {
  max-width: 34rem;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.text-center { text-align: center; }
.text-center .lead,
.text-center .section-head { margin-inline: auto; text-align: center; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none !important; }
}
