/* ============================================================
   TYPOGRAPHY SYSTEM v2
   typography.css
   ============================================================ */

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 { font-size: 1.0625rem; font-weight: 600; }
h6 { font-size: 0.875rem;  font-weight: 600; }

/* ── Body ── */
p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-body);
}

p + p { margin-top: var(--space-3); }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Gradient text utility ── */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section header block ── */
.section-header {
  margin-bottom: var(--space-10);
}

.section-header h2 {
  margin-bottom: var(--space-3);
  max-width: 720px;
}

.section-header p {
  max-width: 580px;
  font-size: 1.125rem;
  line-height: 1.75;
}

.section-header--center {
  text-align: center;
}

.section-header--center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ── Utility text sizes ── */
.text-sm   { font-size: 0.875rem;  line-height: 1.5; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }

/* ── Text colors ── */
.text-primary  { color: var(--color-text-primary); }
.text-body     { color: var(--color-text-body); }
.text-muted    { color: var(--color-text-muted); }
.text-on-dark  { color: var(--color-text-on-dark); }
.text-accent   { color: var(--color-accent); }
.text-success  { color: var(--color-success); }

/* ── Font weights ── */
.font-normal    { font-weight: 400; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ── Text alignment ── */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── Line clamp ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
