/**
 * Inner-page heroes — top-aligned with Services-style clearance below the nav.
 */
.services-hero,
.about-hero,
.contact-hero,
.cs-hero {
  min-height: calc(100vh - 82px);
  min-height: calc(100dvh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: 6.2rem;
  padding-bottom: 5rem;
  box-sizing: border-box;
}

.services-hero .container,
.about-hero .container,
.contact-hero .container,
.cs-hero .container {
  width: 100%;
}

.about-hero .about-hero-grid {
  width: 100%;
}

/* Case studies listing — same centered hero layout as Services */
.cs-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cs-hero .cs-hero-kicker {
  width: 100%;
  text-align: center;
}

.cs-hero .cs-title {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
  max-width: 100%;
}

.cs-hero .cs-subtitle {
  display: block;
  text-align: center !important;
  max-width: min(52rem, 94vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.75 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-weight: 400 !important;
}

/* Hero kickers — same label style on every inner hero */
.services-hero .services-eyebrow,
.about-hero .services-eyebrow,
.contact-hero .contact-eyebrow,
.cs-hero .cs-hero-kicker {
  margin: 0 0 0.9rem !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #454bdd !important;
}

.case-study-fold .hero .tag-row {
  margin: 0 0 0.9rem !important;
}

.about-hero .services-title,
.contact-hero .contact-title,
.cs-hero .cs-title,
.case-study-fold .hero h1,
.page--case-study .hero h1 {
  margin: 0 0 1.25rem !important;
}

.contact-hero .contact-subtitle,
.cs-hero .cs-subtitle,
.case-study-fold .hero .hero-sub,
.page--case-study .hero .hero-sub {
  margin: 0 0 2rem !important;
}

.about-hero .services-text {
  margin-bottom: 0 !important;
}

/* Services: pills sit between title and subline — keep title→pills gap in page CSS */
.services-hero .services-text {
  margin-bottom: 2rem !important;
}
