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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

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

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

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

#contact {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section--alt {
  background: var(--color-off-white);
}

.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section--dark .eyebrow {
  color: var(--color-gold-light);
}

.section-header {
  max-width: 42rem;
  margin-bottom: var(--space-block);
}

.section-header .eyebrow {
  margin-bottom: var(--space-tight);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--font-weight-heading);
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: var(--space-tight);
}

.section--dark .section-header h2 {
  color: var(--color-white);
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-heading);
  line-height: 1.2;
  font-synthesis: weight;
}
