/* ============================================================================
   CSC 1599 Șelimbăr — typography.css
   Clase de heading dedicate (.h1–.h6) + utilitare text. Funcţioneaza pe ambele
   teme (culorile vin din variabile). Titluri: Archivo lat, greu, cu litere mici
   (ton instituţional); etichete: Archivo ingust, majuscule; corp: Inter.
   ========================================================================== */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Heading-uri: clase dedicate, NU se stilizeaza <h1>..<h6> global ──────── */
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-display);
  font-stretch: 112%;
  color: var(--text);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0;
}
.h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.015em; }
.h5 { font-size: 1.08rem; letter-spacing: -.01em; font-weight: 700; }
.h6 { font-size: .9rem; letter-spacing: 0; font-weight: 700; }

/* Fragment accentuat dintr-un titlu */
.accent-text { color: var(--accent); }

/* Eyebrow — eticheta de deasupra titlurilor: ingusta, majuscule, cu bara rosie */
.eyebrow {
  font-family: var(--font-label);
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .84rem;
  font-weight: 700;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--accent);
  display: inline-block;
  transform: skewX(-18deg);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-2);
  line-height: 1.7;
}

p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

.muted { color: var(--text-3); }
.text-center { text-align: center; }
.balance { text-wrap: balance; }
