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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a {
  color: var(--aqua);
  text-decoration: none;
}

a:hover {
  color: var(--brand-blue-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
  font-weight: 600;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

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

.hero :focus-visible,
.page-hero :focus-visible,
.section--navy :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
