*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--type-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body,
.site-header,
.site-footer {
  transition:
    background-color 0.3s,
    color 0.3s;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(52px, 6.45vw, 92px);
}
h2 {
  font-size: clamp(38px, 4.4vw, 64px);
}
h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
strong {
  color: var(--ink);
  font-weight: 650;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button,
input,
select {
  border-radius: 0;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  display: block;
  max-width: 100%;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::marker {
  content: "";
}
.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-width));
  margin-inline: auto;
}
.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;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
}
.skip-link:focus {
  transform: none;
}
.muted {
  color: var(--muted);
}
section[id],
footer[id] {
  scroll-margin-top: 0;
}
.sr-only {
  left: 0;
  top: 0;
  clip-path: inset(50%);
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
