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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--cream);
  -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: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  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% - 3rem, var(--container));
  margin-inline: auto;
}

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

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.lead {
  font-size: 1rem;
  max-width: 28rem;
  color: var(--muted);
  font-weight: 300;
}

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

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

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

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

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

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s 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; }
}
