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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  margin-bottom: 0;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: .96;
}

h1 { font-size: clamp(3.4rem, 9vw, 9rem); }
h2 { font-size: clamp(2.35rem, 5.4vw, 5.8rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 2.5rem); }

p { color: var(--text-muted); }

::selection {
  background: var(--text);
  color: var(--bg);
}

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

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

.eyebrow {
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.large-copy {
  max-width: 770px;
  margin-top: 28px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.mobile-only { display: none; }

@media (max-width: 760px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; }
}
