/* ============================================
   TYPOGRAPHY.CSS
   Rebel Co. Group — 2026 Redesign
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

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

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

/* ── Body ── */
p {
  font-family: var(--font-body);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 64ch;
}

/* ── Utility classes ── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--gray-500); }
.text-black  { color: var(--gray-900); }
.text-white  { color: var(--white); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }

.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold    { font-weight: 700; }

.tracking-wide   { letter-spacing: 0.06em; }
.tracking-wider  { letter-spacing: 0.1em; }
.uppercase       { text-transform: uppercase; }

/* ── Label / Tag ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── Section header ── */
.section-header {
  margin-bottom: var(--sp-16);
}

.section-header .label {
  margin-bottom: var(--sp-4);
}

.section-header h2 {
  margin-bottom: var(--sp-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--gray-500);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}
