/* ==========================================================================
   BASE — Reset, typography, global utilities
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 }
a { color: inherit }

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

/* Band modifiers */
.dark { background: var(--ink); color: #fff; --focus: var(--lime) }
.mist { background: var(--mist) }
.limeband { background: var(--lime); color: var(--ink) }

/* Layout */
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px }
section { padding-block: clamp(56px, 9vw, 104px) }

/* Section typography */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 3px;
  box-shadow: 0 0 0 1.5px var(--ink);
}
.dark .eyebrow::before { box-shadow: none }

.sec-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; max-width: 18ch }
.sec-sub { margin-top: 18px; max-width: 52ch; color: var(--muted-l); font-size: 1.0625rem }
.dark .sec-sub { color: var(--muted-d) }

/* Screen-reader only */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
