/* =========================================================
   03-BASE.CSS
   Global typography and body defaults.
   ========================================================= */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
  color: var(--color-secondary);
}

h1 {
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-2xl);
  line-height: var(--lh-tight);
  font-weight: 800;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 700;
}

p {
  line-height: var(--lh-relaxed);
  color: var(--color-text);
}

a {
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--color-primary);
}

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

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Utility eyebrow / label style — used across pages */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-primary);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-primary);
}

.eyebrow.eyebrow--dark {
  color: var(--color-secondary);
}

.eyebrow.eyebrow--dark::before {
  background: var(--color-secondary);
}

.eyebrow.eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow.eyebrow--light::before {
  background: rgba(255, 255, 255, 0.5);
}

/* Lead paragraph */
.lead {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* Text alignment helpers */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
