/* ============================================================
   BASE STYLES — Typography & Global
   ============================================================ */

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-6xl)); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, var(--text-5xl)); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-4xl)); font-weight: 600; }
h4 { font-size: clamp(1.25rem, 2.5vw, var(--text-3xl)); font-weight: 600; }
h5 { font-size: var(--text-xl); font-weight: 600; }
h6 { font-size: var(--text-lg); font-weight: 600; }

/* ── Body text ── */
p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--charcoal-mid);
  max-width: 68ch;
}

p.lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--charcoal);
}

/* ── Emphasis & Highlights ── */
strong { font-weight: 700; color: var(--navy); }
em { font-style: italic; }

.text-serif { font-family: var(--font-serif); }
.text-sans  { font-family: var(--font-sans); }

/* ── Pull quotes ── */
blockquote {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
  position: relative;
  padding-left: var(--sp-4);
  border-left: 3px solid var(--sage);
}

blockquote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--sage-light);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-family: var(--font-serif);
  line-height: 1;
}

/* ── Links ── */
a.link {
  color: var(--sage);
  position: relative;
  transition: color var(--t-base);
}

a.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--sage);
  transition: width var(--t-base);
}

a.link:hover::after { width: 100%; }
a.link:hover { color: var(--navy); }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: var(--sp-2);
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  display: block;
  margin: var(--sp-3) 0;
}

.divider--center { margin: var(--sp-3) auto; }
.divider--gold   { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* ── Text alignment utilities ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ── Color utilities ── */
.text-navy   { color: var(--navy); }
.text-sage   { color: var(--sage); }
.text-cream  { color: var(--cream); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--charcoal-light); }
.text-white  { color: var(--white); }

/* ── Selection ── */
::selection {
  background: var(--sage-pale);
  color: var(--navy);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-mid); }
