/* ==========================================================================
   PeakPropHits Typography System
   ========================================================================== */

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-canvas);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Display & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-headings);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.heading-display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw + 0.5rem, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw + 0.3rem, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2vw + 0.2rem, 1.85rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h4, .h4 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.5vw + 0.1rem, 1.35rem);
  line-height: 1.4;
  font-weight: 600;
}

/* Eyebrows / Overline */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "—";
  color: var(--color-gold);
  font-weight: 800;
}

.eyebrow-light {
  color: #8C6226;
}

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

.text-accent-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-gold);
}

/* Body & Editorial Paragraphs */
p {
  margin-top: 0;
  margin-bottom: var(--space-md);
  max-width: 68ch;
}

.lead {
  font-size: clamp(1.1rem, 1.2vw + 0.5rem, 1.35rem);
  line-height: 1.55;
  color: var(--color-text-muted);
  font-weight: 400;
  max-width: 62ch;
}

.lead-dark {
  color: var(--color-text-muted);
}

.text-muted {
  color: var(--color-text-muted) !important;
}

.text-subtle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.text-balance {
  text-wrap: balance;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
