*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100vh;
}
img, canvas, svg { max-width: 100%; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 0.9rem; }
a { color: var(--coral-deep); }
button, input, textarea { font: inherit; color: inherit; }
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }
.visually-hidden,
.file-input,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.quiet { color: var(--ink-soft); font-size: 0.95rem; }
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
@media (max-width: 360px) {
  .wrap { width: min(1120px, calc(100% - 20px)); }
  h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
