/* ===========================================================
   base.css — Reset, typography defaults, body
   =========================================================== */

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

html {
  scroll-behavior: smooth;
}

html, body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* NOTE: overflow-x: hidden was previously set on body but had to be removed —
   it breaks position: sticky on all descendants. Horizontal overflow is now
   prevented per-section: hero and services already have overflow: hidden,
   and we use clip-path/contain on any element that might overflow horizontally
   (decorative pixel marks, etc.). */

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

/* Heading defaults — overridden per-section */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-deep);
}

/* Utility class for content that should be screen-reader-only */
.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;
}
