/* =====================================================================
   EDITORIAL BASE — reset + typography foundation
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(2rem, 2.4vw + 1rem, 3rem); }
h3 { font-size: var(--fs-28); }
h4 { font-size: var(--fs-20); }
h5, h6 { font-size: var(--fs-16); }
p  { margin: 0 0 var(--space-4) 0; }

a {
  color: var(--navy);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration: underline; }

hr { border: 0; border-top: var(--rule-hair); margin: var(--space-6) 0; }

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; z-index: 9999; border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--slate);
}

.body-prose p, .body-prose li { color: var(--ink-soft); font-size: var(--fs-18); }
.body-prose p + p { margin-top: var(--space-4); }
.body-prose li { margin-bottom: var(--space-2); }
