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

html {
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
header,
footer,
nav,
figure,
article {
  display: block;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

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

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  z-index: 10001;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  transform: translateY(-150%);
  border-radius: var(--radius-button);
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: 600;
  transition: transform 160ms ease;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.eyebrow,
.hero__lead,
.services__item-copy > span,
.offer-feature li,
.about__content,
.contact-item p,
.footer__copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-variation-settings: "opsz" 20;
}

.eyebrow {
  color: var(--color-muted);
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.005em;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-heading h2 {
  max-width: 100%;
  font-size: 56px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.03em;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

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

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