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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  border: clamp(8px, 1.3vw, 22px) solid var(--c-frame);
}

figure, blockquote, dl, dd { margin: 0; }

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(201, 168, 130, .2);
}

button {
  font: inherit;
  -webkit-tap-highlight-color: rgba(201, 168, 130, .2);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

p {
  margin: 0 0 1.35em;
}

main p {
  max-width: var(--measure);
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--c-text);
  font-family: var(--ff-serif);
  font-weight: 300;
}

h2 {
  margin-bottom: var(--s3);
  font-size: var(--fs-section);
  line-height: var(--lh-title);
  letter-spacing: .04em;
}

h3 {
  font-size: var(--fs-card);
  line-height: 1.5;
  letter-spacing: .035em;
}

.kicker {
  margin: 0 0 var(--s2);
  color: var(--c-muted);
  font-size: var(--fs-kicker);
  line-height: 1.5;
  letter-spacing: .24em;
  text-transform: uppercase;
}
