*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain on paper background */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  color: var(--ink-900);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.028em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; }
h4 { font-size: 18px; font-family: var(--font-body); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-500); }
p { margin: 0 0 1em; }
em { font-style: normal; font-family: var(--font-display); font-weight: inherit; color: var(--primary); }

::selection { background: var(--primary); color: var(--white); }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, var(--container-narrow)); margin-inline: auto; }

.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary-700);
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--primary);
}

.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-700); max-width: 60ch; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: var(--white);
  padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
  html { scroll-behavior: auto; }
}
