* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
a,
button,
input,
textarea,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(3.4rem, 6.8vw, 7.8rem);
}
p {
  text-wrap: pretty;
}
svg {
  display: block;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.accent {
  color: var(--accent);
}
.soft {
  color: var(--muted);
}
.section-pad {
  padding-inline: var(--gutter);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}
