/* ========================================
   TIBA MANZALAWI GROUP - GLOBAL DESIGN SYSTEM
   ======================================== */

/* ── TIBA Brand Fonts ──────────────────────────────────────────────────────
   Neue Montreal is self-hosted. Place the woff2/woff files in /fonts/ and
   they will load automatically. Until then, Plus Jakarta Sans (Google Fonts)
   is used as the visual stand-in — it is the closest open-source match.
   ──────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Light.woff2') format('woff2'),
       url('fonts/NeueMontreal-Light.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Regular.woff2') format('woff2'),
       url('fonts/NeueMontreal-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Medium.woff2') format('woff2'),
       url('fonts/NeueMontreal-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Montreal';
  src: url('fonts/NeueMontreal-Bold.woff2') format('woff2'),
       url('fonts/NeueMontreal-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Typography — base */
*:not(i):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-brands):not([class^="fa-"]):not([class*=" fa-"]) {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Color Palette */
:root {
  /* ── Brand font stacks ── */
  /* Bebas Neue  → large display titles, stats, hero numbers          */
  --font-display:   'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  /* Neue Montreal → section headings, nav, cards, buttons, eyebrows  */
  --font-heading:   'Neue Montreal', 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  /* Spectral      → body paragraphs, descriptions, editorial copy    */
  --font-editorial: 'Spectral', Georgia, 'Times New Roman', serif;
  /* Inter         → small UI labels, captions, forms, meta           */
  --font-ui:        'Inter', system-ui, -apple-system, sans-serif;

  /* Primary Colors */
  --primary-dark: #0F172A;
  --primary-medium: #3B82F6;
  --primary-light: #DBEAFE;
  
  /* Text Colors */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-light: #94A3B8;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light-gray: #F8F9FA;
  --bg-medium-gray: #F1F3F4;
  --bg-dark: #2D3748;
  
  /* Accent Colors */
  --accent-success: #10B981;
  --accent-warning: #F59E0B;
  --accent-error: #EF4444;
}

/* Global Background Classes */
.bg-pattern-1 { background: var(--bg-light-gray); }
.bg-pattern-2 { background: var(--bg-medium-gray); }
.bg-pattern-3 { background: #E8EAED; }
.bg-pattern-4 { background: var(--bg-dark); }

/* Remove all blue hues and gradients */
.hero-section {
  /* Allow dynamic backgrounds to work */
}

.section-alt {
  background: var(--bg-light-gray) !important;
}

/* Breadcrumb Navigation - Minimalist Style */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb-separator {
  color: var(--text-light);
  user-select: none;
}

.breadcrumb-current {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Page Transition Effect - Removed from body to avoid logo animation */

/* Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  z-index: 9999;
  transition: width 0.1s ease-out;
  width: 0%;
}

/* Enhanced Back-to-Top Button with Progress Ring */
.back-to-top-enhanced {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.back-to-top-enhanced.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.back-to-top-enhanced svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
}

/* Progress Ring */
.progress-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 62px;
  height: 62px;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  fill: none;
  stroke: var(--primary-medium);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s ease-out;
}

/* Quick Contact Widget - Floating */
.quick-contact-widget {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.quick-contact-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.quick-contact-toggle svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.quick-contact-toggle.active svg {
  transform: rotate(45deg);
}

.quick-contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.quick-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border: 2px solid var(--primary-dark);
  border-radius: 50px;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-contact-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.quick-contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .quick-contact-widget {
    bottom: 5rem;
    right: 1rem;
  }

  .quick-contact-btn {
    font-size: 0.8rem;
    padding: 0.625rem 1rem;
  }
}

/* Lazy Loading - Image Placeholder */
img[loading="lazy"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

img[loading="lazy"].loaded {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Override for featured projects section */
#featured-projects.section-alt {
  background: var(--bg-light-gray) !important;
}

/* Remove parallax layers with blue hues */
.parallax-layer {
  display: none !important;
}

/* Button System */
.btn {
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Primary Buttons - Dark Blue */
.btn-primary {
  background: transparent !important;
  color: var(--primary-dark) !important;
  border: 1.5px solid var(--primary-dark) !important;
  border-radius: 6px !important;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  color: var(--text-white) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

/* Secondary Buttons - Outline */
.btn-secondary {
  background: #ffffff !important;
  color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn-secondary:hover {
  background: #ffffff !important;
  color: var(--primary-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Secondary buttons on dark backgrounds */
.btn-secondary-dark {
  background: transparent !important;
  color: var(--text-white) !important;
}

/* Centered Navigation Layout - Applied to All Pages */
.unified-navbar {
  justify-content: center !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
}

.unified-navbar .nav-logo {
  position: absolute !important;
  left: 2rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.unified-navbar .nav-logo a {
  display: inline-flex !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.unified-navbar .nav-logo img {
  height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
}

/* On mobile (≤1024px), styles.css hamburger block controls nav-center display.
   This rule only applies on desktop so it does not override display:none on mobile. */
@media (min-width: 1025px) {
  .unified-navbar .nav-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
}

.unified-navbar .nav-toggle {
  position: absolute !important;
  right: clamp(1rem, 3vw, 1.5rem) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.unified-navbar .nav-logo {
  left: clamp(1rem, 3vw, 2rem) !important;
}

.btn-secondary-dark:hover {
  background: var(--text-white) !important;
  color: var(--primary-dark) !important;
  border-color: var(--text-white) !important;
}

/* Navigation Styles */
.contact-btn {
  background: var(--primary-dark) !important;
  color: var(--text-white) !important;
  border: 2px solid var(--primary-dark) !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.contact-btn:hover {
  background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark)) !important;
  color: var(--text-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3) !important;
}

/* Typography Styles - Landing Pages (permanent dark blue, color mix on hover) */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  background: linear-gradient(135deg, #60A5FA, var(--primary-medium), var(--primary-dark)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-title {
  color: var(--primary-dark) !important;
  font-size: 2.75rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  transition: all 0.3s ease !important;
}

.section-title:hover {
  background: linear-gradient(135deg, #60A5FA, var(--primary-medium), var(--primary-dark)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.section-subtitle {
  color: var(--text-secondary) !important;
  font-size: 1.1rem !important;
}

.hero-title {
  color: var(--primary-dark) !important;
  font-weight: 800 !important;
  transition: all 0.3s ease !important;
}

.hero-title:hover {
  background: linear-gradient(135deg, #60A5FA, var(--primary-medium), var(--primary-dark)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.hero-subtitle {
  color: var(--text-secondary) !important;
}

/* Index.html specific styles - White titles with color mix on hover */
.homepage .hero-title {
  color: var(--text-white) !important;
}

.homepage .hero-title:hover {
  background: linear-gradient(135deg, #60A5FA, #3B82F6, #1E40AF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.homepage .section-title {
  color: var(--text-primary) !important;
}

.homepage .section-title:hover {
  background: linear-gradient(135deg, #60A5FA, var(--primary-medium), var(--primary-dark)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Dark sections text colors */
.bg-pattern-4 .section-title,
.bg-pattern-4 h1,
.bg-pattern-4 h2,
.bg-pattern-4 h3 {
  background: linear-gradient(90deg, 
    #4facfe 0%, 
    #00f2fe 20%, 
    #667eea 40%, 
    #764ba2 60%, 
    #f093fb 80%, 
    rgba(240, 147, 251, 0.8) 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% 200% !important;
  animation: gradientFlow 6s ease infinite !important;
}

.bg-pattern-4 .section-title:hover,
.bg-pattern-4 h1:hover,
.bg-pattern-4 h2:hover,
.bg-pattern-4 h3:hover {
  background: linear-gradient(90deg, 
    #4facfe 0%, 
    #00f2fe 20%, 
    #667eea 40%, 
    #764ba2 60%, 
    #f093fb 80%, 
    rgba(240, 147, 251, 0.8) 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  background-size: 200% 200% !important;
  animation: gradientFlow 6s ease infinite !important;
}

/* Dark section text colors */
.text-white {
  color: var(--text-white) !important;
}

.text-light {
  color: #CBD5E1 !important;
}

/* Cards and Components */
.card, .category-card, .partner-card, .project-card, .news-card, .job-card {
  background: var(--bg-white) !important;
  border: 1px solid rgba(30, 64, 175, 0.1) !important;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.08) !important;
  transition: all 0.3s ease !important;
}

/* Keep global hover for most cards, but exclude project cards for a calmer projects grid */
.card:hover, .category-card:hover, .partner-card:hover, .news-card:hover, .job-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15) !important;
  border-color: rgba(30, 64, 175, 0.2) !important;
}

/* Icon Colors */
.icon-circle {
  background: rgba(30, 64, 175, 0.1) !important;
}

.icon-circle svg {
  color: var(--primary-dark) !important;
}

/* Form Elements */
input, textarea, select {
  border: 2px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s ease !important;
}

input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
}

/* Links */
a {
  color: var(--primary-dark) !important;
  transition: all 0.3s ease !important;
}

a:hover {
  color: var(--primary-medium) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
  }
  
  .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.5rem, 7vw, 1.9rem) !important;
  }
}

/* Remove any existing blue gradients and overlays */
.preview-content, .showcase-header, .section-header {
  background: none !important;
}

/* Stats section - Override title styling only, keep original background */
.diag-band h1, .diag-band h2, .diag-band h3, .diag-band h4, .diag-band h5, .diag-band h6,
.diag-band .section-title, .diag-band .hero-title,
.diag-band .num, .diag-band div, .diag-band a {
  color: #fff !important;
}

.diag-band h1:hover, .diag-band h2:hover, .diag-band h3:hover, .diag-band h4:hover, .diag-band h5:hover, .diag-band h6:hover,
.diag-band .section-title:hover, .diag-band .hero-title:hover {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

/* Footer styling */
.footer-divider {
  width: 100%;
  height: 4px;
  background: #004883;
}

.footer-section {
  background: #ffffff !important;
  border-top: 1px solid #E5E7EB;
}

/* Success messages and alerts */
.alert-success {
  background: var(--accent-success) !important;
  color: var(--text-white) !important;
}

.alert-warning {
  background: var(--accent-warning) !important;
  color: var(--text-white) !important;
}

.alert-error {
  background: var(--accent-error) !important;
  color: var(--text-white) !important;
}

/* Mobile support foundations */
:root {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
}

.back-to-top-enhanced {
  right: max(1rem, calc(1rem + var(--safe-area-right)));
  bottom: calc(1rem + var(--safe-area-bottom));
}

.quick-contact-widget {
  right: max(1rem, calc(1rem + var(--safe-area-right)));
  bottom: calc(5rem + var(--safe-area-bottom));
}

.quick-contact-options {
  align-items: flex-end;
}

#toast-container {
  top: calc(1rem + var(--safe-area-top)) !important;
  right: max(1rem, calc(1rem + var(--safe-area-right))) !important;
}

@media (max-width: 1024px) {
  .dashboard-content,
  .applications-content {
    padding: 1.5rem !important;
  }

  .applications-grid,
  .edit-sections,
  .page-selection-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .back-to-top-enhanced {
    width: 52px;
    height: 52px;
  }

  .quick-contact-widget {
    right: max(0.875rem, calc(0.875rem + var(--safe-area-right)));
    bottom: calc(4.5rem + var(--safe-area-bottom));
  }

  .quick-contact-options {
    width: min(280px, calc(100vw - 2rem));
  }

  .quick-contact-btn {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
  }

  #toast-container {
    left: max(1rem, calc(1rem + var(--safe-area-left))) !important;
    right: max(1rem, calc(1rem + var(--safe-area-right))) !important;
  }

  #toast-container > * {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .dashboard-header {
    padding: 1rem 1rem 0.75rem !important;
  }

  .header-content,
  .applications-header,
  .filter-section,
  .messages-actions,
  .edit-controls {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.875rem !important;
  }

  .header-content,
  .header-left,
  .admin-info,
  .applications-header,
  .filter-section {
    width: 100%;
  }

  .header-left,
  .admin-info,
  .messages-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-info {
    justify-content: space-between;
  }

  .dashboard-title,
  .page-title {
    font-size: 1.4rem !important;
  }

  .dashboard-subtitle,
  .position-subtitle {
    font-size: 0.9rem !important;
  }

  .dashboard-content,
  .applications-content,
  .page-info,
  .dashboard-section,
  .edit-section {
    padding: 1rem !important;
  }

  .applications-grid,
  .edit-sections,
  .page-selection-grid,
  .stats-grid-preview,
  .stats-grid,
  .current-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .search-input,
  .sort-select {
    width: 100% !important;
    min-width: 0 !important;
  }

  .modal-card,
  .modal,
  .modal-card,
  .success-message {
    width: min(100%, 100vw - 1.5rem) !important;
  }

  .modal-card {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1rem !important;
  }

  .modal-grid,
  .applicant-info,
  .featured-projects-editor {
    grid-template-columns: 1fr !important;
  }

  .modal-actions {
    flex-direction: column-reverse;
    align-items: stretch !important;
  }

  .cv-download,
  .current-project-item,
  .selected-project-item {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .detail-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem;
  }

  .detail-label {
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.25rem) !important;
  }

  .dashboard-header {
    padding-inline: 0.875rem !important;
  }

  .dashboard-content,
  .applications-content {
    padding: 0.875rem !important;
  }

  .page-info h2 {
    font-size: 1.4rem !important;
  }

  .modal-card h3,
  .dashboard-section h2 {
    font-size: 1.1rem !important;
  }
}

/* ============================================================
   TIBA BRAND TYPE SCALE
   Applied after all other rules so these win the cascade.
   All four brand fonts are assigned by semantic role.
   ============================================================ */

/* ── Bebas Neue — display / hero / large numerics ── */
h1,
.hero-title,
.display-title,
.counter-number,
.stat-number,
.page-hero-title,
.timeline-year,
.section-number,
[class*="counter-num"] {
  font-family: var(--font-display) !important;
  letter-spacing: 0.04em;
}

/* ── Neue Montreal — headings, nav, cards, buttons, eyebrows ── */
h2, h3, h4, h5, h6,
.section-title,
.section-heading,
.card-title,
.product-name,
.project-name,
.news-title,
.career-title,
.intro-heading,
.partners-section-title,
.page-subtitle,
.modal-card h3,
.nav-links a,
.unified-navbar .nav-links a,
.contact-btn,
button,
.btn,
[class*="btn-"],
.eyebrow,
[class*="eyebrow"],
.tag,
.badge,
.category-label,
.products-section-eyebrow span,
.footer-heading,
.footer-col h3,
.footer-col h4 {
  font-family: var(--font-heading) !important;
}

/* ── Spectral — body copy, descriptions, editorial ── */
p,
li,
blockquote,
.body-text,
.intro-text,
.description,
.card-description,
.product-description,
.news-excerpt,
.career-description,
.about-text,
.section-text,
.project-description,
.contact-info,
.footer-text,
.counter-label,
.partner-description {
  font-family: var(--font-editorial) !important;
}

/* ── Inter — small UI: labels, inputs, captions, meta ── */
input,
textarea,
select,
label,
caption,
figcaption,
small,
.meta,
.date,
.tag-text,
.form-label,
.input-field,
.nav-cta,
.breadcrumb,
.pagination,
.table th,
.table td,
thead,
tbody,
tfoot,
.admin-label,
.status-badge {
  font-family: var(--font-ui) !important;
}

/* Hero video captions — Spectral (replaces Cormorant Garamond) */
.hero-caption-title {
  font-family: var(--font-display) !important;
  letter-spacing: 0.06em;
}
.hero-caption-sub {
  font-family: var(--font-editorial) !important;
}
.hero-caption-spacer {
  font-family: var(--font-display) !important;
}

/* Nav contact button — Neue Montreal */
.unified-navbar .nav-contact .contact-btn {
  font-family: var(--font-heading) !important;
}

/* Footer nav links — Neue Montreal */
.footer-links a,
.footer-nav a {
  font-family: var(--font-heading) !important;
}

/* Eyebrow accent lines text */
.products-section-eyebrow,
.section-eyebrow {
  font-family: var(--font-ui) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
