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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-900);
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure,
blockquote,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin: 0 0 .65em;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

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

button,
a,
input,
select {
  border-radius: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

::selection {
  color: var(--white);
  background: var(--navy-900);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(100%, calc(var(--content-width) + 2rem));
  margin-inline: auto;
  padding-inline: 1rem;
}

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

.eyebrow {
  margin-bottom: .9rem;
  color: var(--gold-500);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  color: var(--navy-900);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  video {
    display: none !important;
  }
}
