/* TitleShield Typography System */

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-charcoal);
  background-color: var(--color-warm-white);
  line-height: 1.65;
}

/* ── Display / Headings ── */
h1, .h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-navy);
}

h3, .h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-navy);
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
}

/* ── Hero typography ── */
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  max-width: 680px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-top: var(--space-4);
}

/* ── Body variants ── */
.text-lg {
  font-size: var(--text-body-lg);
  line-height: 1.75;
}

.text-sm { font-size: 14px; }
.text-mono { font-family: var(--font-mono); font-size: var(--text-mono); }
.text-micro { font-size: var(--text-micro); }

/* ── Labels / captions ── */
.label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* ── Colour utilities ── */
.text-navy { color: var(--color-navy); }
.text-gold { color: var(--color-gold); }
.text-white { color: #fff; }
.text-muted { color: var(--color-grey-mid); }
.text-charcoal { color: var(--color-charcoal); }
.text-white-dim { color: rgba(255,255,255,0.75); }

/* ── Alignment ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ── Font weights ── */
.font-light { font-weight: 300; }
.font-regular { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ── Display italic ── */
.display-italic {
  font-family: var(--font-display);
  font-style: italic;
}

/* ── Section headings ── */
.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.25;
}

.section-heading--white {
  color: #fff;
}

.section-sub {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-grey-mid);
  margin-top: var(--space-3);
}

.section-sub--white {
  color: rgba(255,255,255,0.7);
}

/* ── Pull quote ── */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-navy);
  border-left: 4px solid var(--color-gold);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
}

/* ── Data numbers ── */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-navy);
}

.stat-number--white { color: #fff; }
.stat-number--gold { color: var(--color-gold); }

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-grey-mid);
  margin-top: var(--space-1);
}

.stat-label--white { color: rgba(255,255,255,0.7); }

/* ── Data reference codes ── */
.doc-reference {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  color: var(--color-grey-mid);
  letter-spacing: 0.03em;
}

/* ── Links ── */
.link {
  color: var(--color-navy);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-mid);
}
.link:hover { border-bottom-color: var(--color-gold); }

.link--gold {
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-mid);
}
.link--gold:hover { border-bottom-color: var(--color-gold); }
