/* ──────────────────────────────────────────────────────────────────────────
   base.css — element resets, body, focus, typographic defaults.
   ────────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--navy);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.2;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--navy);
  text-transform: lowercase;
}
h1 { font-size: clamp(22px, 4vw, 30px); }
h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
h3 { font-size: 12px; letter-spacing: .5px; }
h4 { font-size: 11px; letter-spacing: 1px; }

p { line-height: 1.15; }
small { font-size: 18px; }
code, kbd, samp { font-family: var(--font-code); font-size: 16px; }

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--blue);
}
a:hover, a:focus-visible {
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

:where(button, [role="button"], input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

ul, ol { padding-left: 1.5em; }

img { display: block; max-width: 100%; }
img.brand-mark { image-rendering: pixelated; image-rendering: crisp-edges; }

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