*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.44;
  color: var(--text-color-01);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-secondary); }

/* HEADINGS — uppercase like live site */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-3);
  color: var(--text-color-01);
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; letter-spacing: -0.72px; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.14; letter-spacing: -0.56px; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.4px; }
h5 { font-size: var(--fs-h5); font-weight: 700; line-height: 1.3; text-transform: none; }

p {
  margin: 0 0 var(--space-3);
  color: var(--text-color-02);
  font-size: var(--fs-body);
  line-height: 1.55;
}
p.lead { font-size: 1.25rem; color: var(--text-color-02); max-width: 60ch; line-height: 1.6; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-3); }

section { padding: var(--space-7) 0; position: relative; }
section.tight { padding: var(--space-5) 0; }

/* TAG PILL — teal, uppercase — used like live site .tag */
.tag {
  display: inline-block;
  color: #000;
  text-transform: uppercase;
  background: var(--brand-3);
  border-radius: var(--radius-pill);
  padding: 6px 20px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.text-navy, .text-primary { color: var(--primary); }
.text-gold, .text-secondary { color: var(--brand-secondary); }
.text-muted { color: var(--text-color-02); }
.white-text { color: #fff; }
.center { text-align: center; }

/* INVERTED COLOR HELPERS (sections with dark bg) */
.section--dark, .section--navy {
  color: #fff;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4, .section--navy h5 { color: #fff; }
.section--dark p, .section--navy p { color: rgba(255,255,255,0.78); }
.section--dark { background: var(--bg-color-01); }
.section--navy { background: var(--primary); }

::selection { background: var(--primary); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff;
  padding: 0.75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: var(--space-3); top: var(--space-3); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* eyebrow — kept for backward compat with existing service pages */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-secondary);
  margin-bottom: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
