/* ============================================
   SAM & SONS V3 — Base Typography — Asphalt Tech
   ============================================ */

/* Google Fonts — Rajdhani + Montserrat
   NOTE: Fonts are loaded via <link> tags in HTML <head> for better performance.
   The @import below is kept as a fallback only. */
/* @import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap'); */

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--lh-normal);
}

/* ─── Headings — Rajdhani Uppercase Bold ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--color-text);
  letter-spacing: -0.02em;
  /* text-transform removed — V4 uses natural case for elegance */
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

/* ─── Paragraphs ─── */
p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ─── Links — Cyan accent ─── */
a {
  color: var(--color-cyan);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-cyan-light);
}

/* ─── Strong ─── */
strong, b {
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

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

/* ═══════════════════════════════════════════
   MEGA HEADING — Oversized edge-to-edge text
   Used as background watermark or section divider
   ═══════════════════════════════════════════ */
.heading-mega {
  font-family: var(--font-heading);
  font-size: var(--fs-mega);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  /* Ghost/watermark style by default — cyan tinted */
  color: rgba(226, 5, 18, 0.04);
}

/* Visible outline variant — cyan stroke, transparent fill */
.heading-mega--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-cyan);
  -webkit-text-fill-color: transparent;
}

/* Visible solid variant */
.heading-mega--solid {
  color: var(--color-text);
}

/* ═══════════════════════════════════════════
   TEXT UTILITIES
   ═══════════════════════════════════════════ */
.text-cyan {
  color: var(--color-cyan);
}

.text-red {
  color: var(--color-primary);
}

.text-green {
  color: var(--color-green);
}

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy alias */
.text-gold {
  color: var(--color-cyan);
}

/* ═══════════════════════════════════════════
   SECTION TAG — Small label above titles
   ═══════════════════════════════════════════ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-xxs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-mega);
  color: var(--color-cyan);
  margin-bottom: var(--space-lg);
  padding: 0.35rem 1rem;
  border: 1px solid var(--color-border-cyan);
  background: var(--color-cyan-glass);
  border-radius: 100px;
}

/* ═══════════════════════════════════════════
   FOCUS VISIBLE — Cyan outline
   ═══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

/* ─── Responsive Typography ─── */
@media (max-width: 767px) {
  body {
    font-size: var(--fs-sm);
  }
}
