/* ========================================================
   HUB INTERFACE - PROJECTS PAGE FLUID RESPONSIVE STYLES
   Figma Source: Frame 5:1319 (Main Content / All Projects)
   Extends styles-home.css with full-width 16-24px margins
   ======================================================== */

.projects-hero-section {
  padding: clamp(104px, 10.42vw, 150px) var(--section-pad-x) clamp(48px, 5.56vw, 80px);
  gap: clamp(48px, 5.56vw, 80px);
  border-radius: 0;
}

/* Hero Intro + Stats Block (Figma Node 5:1337) */
.projects-hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(16px, 2.78vw, 40px);
  gap: clamp(32px, 3.33vw, 48px);
}

.projects-hero-intro {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects-hero-title {
  width: 100%;
  max-width: 840px;
  font-family: var(--font-general);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(40px, 4.44vw, 72px);
  line-height: 105%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--text-black);
  margin: 0;
}

/* 5-Column Stats Strip (Figma Node 5:1340) */
.projects-stats-row {
  width: 100%;
  padding: 0 clamp(0px, 0.56vw, 8px);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 36px);
  box-sizing: border-box;
}

.project-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
}

.project-stat-number {
  font-family: var(--font-general);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: clamp(22px, 1.75vw, 28px);
  color: var(--accent-orange);
}

.project-stat-label {
  font-family: var(--font-general);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(12px, 0.972vw, 15px);
  line-height: 22px;
  letter-spacing: 0.231px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Selected Work Refinements for Full-Width Projects Portfolio */
.projects-work-section {
  gap: clamp(24px, 2.78vw, 40px);
}

.projects-work-section .section-heading-40 {
  font-family: var(--font-general);
  font-weight: 500;
  font-size: clamp(28px, 2.78vw, 44px);
  line-height: 120%;
  letter-spacing: 0;
  color: var(--text-black);
}

.projects-work-section .work-cards-container {
  gap: clamp(36px, 3.89vw, 56px);
}

.projects-work-section .work-card-wide-1123 {
  width: 100%;
  max-width: clamp(920px, 82.5%, 1520px);
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 1024px) {
  .projects-hero-section {
    padding-top: 108px;
    gap: 56px;
  }

  .projects-hero-content {
    padding-top: 16px;
    gap: 36px;
  }

  .projects-stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 0;
  }

  .projects-work-section .work-card-wide-1123 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .projects-hero-section {
    padding: 88px 16px 48px;
    gap: 44px;
  }

  .projects-hero-content {
    padding-top: 8px;
    gap: 28px;
  }

  .projects-hero-title {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .projects-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .project-stat-label {
    font-size: 12px;
    line-height: 18px;
  }

  .projects-work-section .work-cards-container {
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .projects-hero-section {
    padding-top: 118px;
  }
}

@media (max-width: 480px) {
  .projects-hero-section {
    padding: 114px 16px 40px;
    gap: 36px;
  }

  .projects-stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-stat-label br {
    display: none;
  }
}

