* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.display,
h1, h2, h3 {
  overflow-wrap: break-word;
  word-break: break-word;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

@media (max-width: 640px) {
  body::before {
    background-size: 40px 40px;
  }
}

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.label {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section { border-bottom: var(--border-thick); }

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 20px;
  padding: var(--pad-y) var(--pad-x) 0;
  max-width: 1400px;
  margin: 0 auto;
}
.sec-head__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.sec-head__title {
  font-size: clamp(2rem, 7vw, 5rem);
  border-bottom: var(--border-thick);
  padding-bottom: 12px;
}
.sec-head__meta {
  display: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
  padding-bottom: 12px;
}

.sec-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}