*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  background:
    radial-gradient(52vw 46vh at 4% -6%, var(--pool-1), transparent 72%),
    radial-gradient(46vw 52vh at 102% 26%, var(--pool-2), transparent 70%),
    radial-gradient(60vw 50vh at 34% 108%, var(--pool-3), transparent 72%),
    var(--paper);
  background-attachment: fixed;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
/* Faded pattern layer: 45° hatch pinstripes, visible only toward the top-right and bottom-left corners. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--hatch) 0 1.5px, transparent 1.5px 12px);
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 100% 0%, #000 10%, transparent 72%), radial-gradient(ellipse 55% 60% at 0% 100%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 70% at 100% 0%, #000 10%, transparent 72%), radial-gradient(ellipse 55% 60% at 0% 100%, #000 5%, transparent 70%);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
