/* ============================================
   TYPOGRAPHY.CSS — Type System
   Ps. Giovanni Chicago
   ============================================ */

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: var(--text-5xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h3 {
  font-size: var(--text-3xl);
  line-height: 1.25;
}

h4 {
  font-size: var(--text-2xl);
  line-height: 1.3;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.35;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Body Text ── */
p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* ── Strong / Bold ── */
strong,
b {
  font-weight: 500;
  color: var(--white);
}

/* ── Emphasis ── */
em {
  font-style: italic;
}

/* ── Small ── */
small {
  font-size: var(--text-sm);
}

/* ── Subtitle ── */
.subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--warm-gray);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ── Accent Text ── */
.accent-text {
  color: var(--gold);
}

/* ── Section Label ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem; /* Increased size for better legibility on the page */
  font-weight: 600; /* Bolder weight to make it stand out elegantly */
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

/* ── Lead Paragraph ── */
.lead {
  font-size: var(--text-xl);
  color: var(--cream);
  line-height: 1.8;
  font-weight: 300;
}

/* ── Blockquote ── */
blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  padding-left: var(--space-xl);
  border-left: 2px solid var(--gold);
  margin: var(--space-2xl) 0;
}

blockquote cite {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Links in Text ── */
.text-link {
  color: var(--gold);
  position: relative;
  transition: color var(--transition-fast);
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.text-link:hover {
  color: var(--gold-light);
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
