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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(212, 160, 84, 0.12), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(196, 113, 59, 0.08), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(92, 64, 51, 0.04), transparent 60%),
    var(--cream);
  overflow-x: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--soil);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.section {
  padding-block: var(--section-pad);
  background: var(--cream);
}

.section--sand {
  background: linear-gradient(180deg, var(--sand) 0%, var(--surface-warm) 100%);
}

.section--stone {
  background: linear-gradient(180deg, var(--stone) 0%, var(--sand) 100%);
}

.section--warm {
  background: var(--surface-warm);
}

.section--sand-flat {
  background: var(--sand);
}

.section--stone-flat {
  background: var(--stone);
}

.section--sage {
  background: linear-gradient(180deg, var(--bg-sage-light) 0%, var(--bg-sage) 100%);
}

.section--terracotta {
  background: linear-gradient(180deg, var(--bg-terracotta-light) 0%, var(--bg-terracotta) 100%);
}

.section--mustard {
  background: linear-gradient(180deg, var(--bg-mustard-light) 0%, var(--bg-mustard) 100%);
}

.section--olive-mist {
  background: linear-gradient(180deg, var(--bg-olive-mist-light) 0%, var(--bg-olive-mist) 100%);
}

.section--wheat {
  background: var(--bg-wheat);
}

.section--brown {
  background: linear-gradient(180deg, var(--bg-brown-light) 0%, var(--bg-brown) 100%);
}

.section--oat {
  background: var(--bg-oat);
}

.section--olive {
  background: var(--gradient-brand);
  color: var(--on-dark);
}

.section--olive h2,
.section--olive h3,
.section--olive p {
  color: var(--on-dark);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-spice);
  margin-bottom: 0.5rem;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section__head p {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--olive);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
