body {
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

body.nav--open {
  overflow: hidden;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

h1 {
  font-size: clamp(var(--text-5xl), 7vw, var(--text-8xl));
}

h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 500;
}

p {
  color: var(--color-slate);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-steel);
}

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

::selection {
  background: rgba(126, 200, 227, 0.45);
}

.eyebrow {
  color: var(--color-steel);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.lead {
  color: var(--color-slate);
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  font-weight: 300;
  line-height: var(--leading-relaxed);
}

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

.dot-grid {
  background-color: var(--color-surface);
  background-image: radial-gradient(var(--color-border-light) 1px, transparent 1px);
  background-size: 40px 40px;
}
