/* ============================================================
   typography.css — Modern sans system (Geist + Inter)
   No serif. Restraint in weights, generosity in scale.
   ============================================================ */

/* Display — for hero, cover, closing */
.display {
  font-family: 'Geist', 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.display strong,
.display .accent {
  font-weight: 300;
  color: var(--accent);
}

.display em,
.display .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* Title — main slide headlines */
.title {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 22ch;
}

.title strong,
.title .accent {
  font-weight: 400;
  color: var(--accent);
}

.title em,
.title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Subtitle — secondary headings */
.subtitle {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

/* Lede — paragraph below title */
.lede {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  max-width: 56ch;
}

/* Body */
.body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

/* Eyebrow — section number / category */
.eyebrow {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
}

.eyebrow--plain::before { display: none; }

/* Caption — small annotation text */
.caption {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-muted);
  letter-spacing: 0;
}

/* Mono — for code-like / numerical labels */
.mono {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0;
  color: var(--ink-muted);
}

/* Number — large stat display */
.stat-number {
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.stat-number sub {
  font-size: 0.4em;
  font-weight: 400;
  color: var(--ink-muted);
  vertical-align: super;
  margin-left: 0.1em;
  letter-spacing: 0;
}

.stat-number .unit {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--accent);
  margin-left: 0.05em;
  letter-spacing: -0.04em;
}

.stat-label {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Accent rule — hairline divider with terracotta dot */
.accent-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accent-rule::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--rule-2);
}

.accent-rule::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Quote-style large pull */
.pull {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink-2);
}

/* Decorative inline mark */
.mark {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}

.mark__dot {
  color: var(--accent);
  margin: 0 0.15em;
  font-size: 1.1em;
  line-height: 0;
  vertical-align: middle;
}

/* ----- Slash-style emphasis (replaces italic for sans) ----- */
.slash {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-weight: 500;
}

.slash::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
