/* Shared compact rhythm for inner pages. The approved homepage does not load this file. */
:root {
  --inner-hero-pad-top: 82px;
  --inner-hero-pad-bottom: 84px;
  --inner-section-pad-y: 88px;
  --inner-section-pad-y-compact: 72px;
}

/* Content-led inner heroes: preserve their artwork while removing empty viewport fill. */
.about-hero,
.approach-hero,
.leadership-hero,
.services-hero,
.solutions-hero,
.industries-hero,
.work-hero,
.contact-hero,
.careers-hero,
.service-detail-hero,
.industry-detail-hero {
  align-items: start;
  min-height: auto;
  padding-top: var(--inner-hero-pad-top);
  padding-bottom: var(--inner-hero-pad-bottom);
}

.technology-overview-hero,
.tech-hero {
  align-items: start;
  padding-top: 96px;
  padding-bottom: var(--inner-hero-pad-bottom);
}

.legal-hero {
  padding-top: 82px;
  padding-bottom: 72px;
}

/* Standard section rhythm; compact supporting sections retain a smaller pause. */
.about-editorial,
.about-capabilities,
.about-process,
.about-experience,
.about-leadership,
.approach-why,
.approach-steps,
.approach-connected,
.approach-execution,
.leadership-profile,
.leadership-perspective,
.leadership-context,
.leadership-explore,
.services-intro,
.services-list,
.services-connected,
.services-approach,
.services-value,
.technology-position,
.technology-capabilities,
.technology-foundation,
.technology-broader,
.service-detail-overview,
.service-detail-capabilities,
.service-detail-connection,
.service-detail-themes,
.service-detail-connected,
.service-detail-value,
.tech-overview,
.tech-capabilities,
.tech-process,
.tech-principles,
.tech-scenarios,
.tech-connections,
.tech-industries,
.tech-why,
.industry-detail-context,
.industry-detail-focus,
.industry-detail-connect,
.industry-detail-themes,
.industry-detail-services,
.industry-detail-value,
.industries-intro,
.industries-list,
.industries-connected,
.industries-approach,
.industries-value,
.solutions-ecosystem,
.solution-pillars,
.solutions-approach,
.solutions-industries,
.solutions-why,
.solutions-services,
.work-showcase,
.work-connected,
.work-approach,
.work-industries,
.work-value,
.work-services,
.contact-inquiry,
.contact-help,
.contact-approach,
.contact-explore,
.careers-why,
.careers-areas,
.careers-fit,
.careers-method,
.careers-leadership,
.careers-opportunities,
.careers-explore,
.legal-content {
  padding-top: var(--inner-section-pad-y);
  padding-bottom: var(--inner-section-pad-y);
}

.approach-links,
.service-detail-approach,
.service-detail-industries,
.industry-detail-approach,
.industry-detail-other {
  padding-top: var(--inner-section-pad-y-compact);
  padding-bottom: var(--inner-section-pad-y-compact);
}

@media (max-width: 1100px) {
  .tech-hero,
  .technology-overview-hero {
    padding-top: 80px;
  }
}

@media (max-width: 820px) {
  :root {
    --inner-hero-pad-top: 64px;
    --inner-hero-pad-bottom: 72px;
    --inner-section-pad-y: 76px;
    --inner-section-pad-y-compact: 64px;
  }
}

@media (max-width: 720px) {
  .tech-hero,
  .technology-overview-hero {
    padding-top: 56px;
    padding-bottom: 68px;
  }
}

@media (max-width: 560px) {
  :root {
    --inner-hero-pad-top: 44px;
    --inner-hero-pad-bottom: 60px;
    --inner-section-pad-y: 64px;
    --inner-section-pad-y-compact: 56px;
  }

  .legal-hero {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .tech-hero,
  .technology-overview-hero {
    padding-top: 44px;
    padding-bottom: 60px;
  }
}
