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

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* subtle paper grain across the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  margin: 0;
  letter-spacing: 0;
  line-height: 1.15;
}

.font-accent {
  font-family: var(--font-accent);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.page-shell__content {
  position: relative;
  background: var(--bg);
}

.footer-spacer {
  display: block;
  width: 100%;
}

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

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

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto var(--space-7);
}

.section-head h2 {
  font-size: var(--step-h2);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step-caption);
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: var(--space-3);
}

.mark {
  background-image: linear-gradient(var(--sage-30), var(--sage-30));
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 88%;
  padding-inline: 0.05em;
}

.mark--plum {
  background-image: linear-gradient(var(--plum-30), var(--plum-30));
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-small);
  letter-spacing: 0.03em;
  transition: background var(--dur-fast) var(--ease-editorial), color var(--dur-fast) var(--ease-editorial), border-color var(--dur-fast) var(--ease-editorial);
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--plum {
  border-color: var(--plum);
  background: var(--plum);
  color: var(--paper);
}

.btn--plum:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s var(--ease-editorial), transform 0.9s var(--ease-editorial);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
