/* ==========================================================================
   TIARA HOMES - TYPOGRAPHY & BRAND SCALING
   Rich Executive Typography (#0F172A Charcoal Black Headings & High Contrast)
   ========================================================================== */

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

:root {
  /* Brand Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Plus Jakarta Sans', sans-serif;

  /* Fluid Font Scale */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.25vw, 0.95rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-lg: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.6vw, 1.55rem);
  --text-2xl: clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --text-3xl: clamp(2rem, 1.65rem + 1.5vw, 2.8rem);
  --text-4xl: clamp(2.4rem, 2rem + 2.2vw, 3.6rem);
  --text-hero: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: #1E293B;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0F172A;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

.brand-accent-text {
  font-family: var(--font-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-blue-highlight {
  color: #2563EB !important;
  font-weight: 800;
}

.hero-section .text-blue-highlight {
  color: #FFFFFF !important;
  font-weight: 800;
}

.subheading-badge {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.subheading-badge::before,
.subheading-badge::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #2563EB;
  flex-shrink: 0;
}

.hero-section .subheading-badge,
.portfolio-section .subheading-badge,
.site-footer .subheading-badge {
  color: #FFFFFF !important;
}

.hero-section .subheading-badge::before,
.hero-section .subheading-badge::after,
.portfolio-section .subheading-badge::before,
.portfolio-section .subheading-badge::after {
  background: #FFFFFF !important;
}
