/* ABQ Asphalt — Base
   Reset + global typography + links + media defaults. */

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

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, var(--fs-5xl)); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.4vw + 0.8rem, var(--fs-3xl)); }
h3 { font-size: var(--fs-xl); font-family: var(--font-body); font-weight: 600; letter-spacing: var(--tracking-snug); }
h4 { font-size: var(--fs-lg); font-family: var(--font-body); font-weight: 600; }
h5 { font-size: var(--fs-md); font-family: var(--font-body); font-weight: 600; }
h6 { font-size: var(--fs-sm); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-muted); }

p { margin: 0 0 var(--sp-5); max-width: 68ch; color: var(--color-text-soft); }

a {
  color: var(--color-primary);
  text-decoration-color: rgba(15, 42, 68, 0.25);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

a:hover { color: var(--color-accent-600); text-decoration-color: currentColor; }

ul, ol { margin: 0 0 var(--sp-5); padding-left: var(--sp-5); }
li { margin-bottom: var(--sp-2); }

strong, b { font-weight: 600; color: var(--color-text); }

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: var(--sp-7) 0;
}

::selection {
  background: var(--color-accent);
  color: var(--color-primary-900);
}

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

button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent-600);
  margin-bottom: var(--sp-3);
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--color-text-soft);
  max-width: 60ch;
}
