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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--teal-deep);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--teal);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding-block: var(--section-y);
}

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

.section--dark {
  background: linear-gradient(160deg, #0b0b0b 0%, var(--teal-deep) 100%);
  color: var(--ivory);
}

.kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.kicker::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 10px;
  background: var(--gold);
}

.section--dark .kicker {
  color: var(--blush);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  font-size: 17px;
  color: var(--stone);
  max-width: 42rem;
}

.muted {
  color: var(--stone);
  font-size: 14px;
}

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

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__brand,
  .hero__content {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none;
  }

  .media-zoom img {
    transition: none;
  }
}
