/* ==========================================================================
   Base — reset, tipografie, layout primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
}
h1 { font-size: clamp(34px, 5.2vw, 62px); letter-spacing: var(--ls-tight); }
h2 { font-size: clamp(27px, 3.6vw, 44px); letter-spacing: var(--ls-tight); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

/* --- layout --- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }

.muted { color: var(--c-ink-soft); }
.eyebrow {
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-ink-soft);
}
.lead { font-size: var(--fs-md); color: var(--c-ink-soft); max-width: 62ch; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); } }

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