/*
 * SDCG V32 — cross-page presentation consistency pass.
 * Loaded on completed non-product/non-home pages ONLY.
 * Existing industry hero colors, header proportions, approved photography,
 * and all existing content remain unchanged.
 */

/* Shared typography and readable controls for completed pages. */
body.v32-reviewed {
  --v32-section-space:clamp(70px,6.3vw,88px);
  --v32-section-space-mobile:56px;
  --v32-heading-max:2.95rem;
}
body.v32-reviewed main .btn {max-width:100%;white-space:normal;text-align:center}
body.v32-reviewed main .section-title h2 {
  font-size:clamp(2rem,3.1vw,var(--v32-heading-max));
  line-height:1.19;
  letter-spacing:-.047em;
}
body.v32-reviewed main .section-title {margin-bottom:36px}
body.v32-reviewed main .section-title p {line-height:1.75}
body.v32-reviewed main a:focus-visible,body.v32-reviewed main button:focus-visible,
body.v32-reviewed main summary:focus-visible {outline:3px solid #0066B3;outline-offset:3px}
body.v32-reviewed main p,body.v32-reviewed main li {overflow-wrap:break-word}

/* The company and editorial pages use the same banner text scale and rhythm. */
body.page-about .page-hero h1,
body.page-careers .page-hero h1,
body.page-contact .page-hero h1,
body.page-resources .page-hero h1,
body.page-news .page-hero h1,
body.page-article .page-hero h1,
body.page-job .page-hero h1 {
  font-size:clamp(2.5rem,4.25vw,3.9rem);
  line-height:1.12;
  letter-spacing:-.055em;
}
body.page-about .page-hero .breadcrumbs,
body.page-careers .page-hero .breadcrumbs,
body.page-contact .page-hero .breadcrumbs,
body.page-resources .page-hero .breadcrumbs,
body.page-news .page-hero .breadcrumbs,
body.page-article .page-hero .breadcrumbs,
body.page-job .page-hero .breadcrumbs {margin-bottom:25px}
body.page-about .page-hero,
body.page-careers .page-hero,
body.page-contact .page-hero,
body.page-resources .page-hero,
body.page-news .page-hero,
body.page-article .page-hero,
body.page-job .page-hero {padding-top:36px;padding-bottom:58px}
body.page-about .page-hero p,
body.page-careers .page-hero p,
body.page-contact .page-hero p,
body.page-resources .page-hero p,
body.page-news .page-hero p,
body.page-article .page-hero p,
body.page-job .page-hero p {line-height:1.72}

/* Standard content blocks: comparable breathing room across all completed families. */
body.page-careers main > section.section,
body.page-contact main > section.section,
body.page-industry-index main > section.section,
body.page-industry-detail main > section.section,
body.page-news main > section.section,
body.page-article main > section.section,
body.page-job main > section.section,
body.page-industry-hub main > section.section {
  padding-top:var(--v32-section-space);
  padding-bottom:var(--v32-section-space);
}
/* About Us intentionally uses its already-approved 60–86px section rhythm. */
body.page-service-index main > section.section {padding-top:86px;padding-bottom:86px}
body.sdcg-service-detail main > section.sd30-section {padding-top:80px;padding-bottom:80px}
body.page-industry-hub .sector-head {margin-bottom:36px}
body.page-industry-hub .sector-head h2 {
  font-size:clamp(2rem,3.0vw,2.95rem);
  line-height:1.17;
  letter-spacing:-.047em;
}
body.page-industry-detail .detail-hero h1 {
  font-size:clamp(2.35rem,4.15vw,3.75rem);
  line-height:1.12;
  letter-spacing:-.055em;
}
body.page-industry-detail .detail-hero .breadcrumbs {margin-bottom:25px}
body.page-industry-detail .detail-hero {padding-top:36px;padding-bottom:55px}

/* Harmonize card corners, title spacing, and image presentation where families meet. */
body.page-industry-hub .sector-benefit h3,
body.page-industry-hub .sector-card h3,
body.page-careers .feature-item h3,
body.page-service-index .services-stage h3,
body.page-service-index .services-detail h3 {line-height:1.35;letter-spacing:-.027em}
body.page-industry-hub .sector-benefit p,
body.page-industry-hub .sector-card p,
body.page-careers .feature-item p {line-height:1.72}
body.page-industry-hub .sector-feature-group {border-radius:14px}
body.page-industry-hub .sector-benefit,
body.page-industry-hub .sector-card,
body.page-careers .feature-item,
body.page-contact .office,
body.page-resources .resources-grid .resource-card {border-radius:12px}
body.page-industry-hub .sector-feature-group figure img,
body.page-service-index .services-detail-image img,
body.page-about .about-approach-media img {object-fit:cover}
body.page-contact .contact-office-section .section-title {margin-bottom:34px}
body.page-careers .careers-team-areas h3 {letter-spacing:-.025em}

/* The legacy Agency Job Costing landing contains four tall inline-styled illustrations.
   Bring them into the same responsive editorial image range as the other industries. */
body.page-industry-hub.v32-reviewed .sector-agency-benefits img[style],
body.page-industry-hub.v32-reviewed .sector-agency-audience img[style],
body.page-industry-hub.v32-reviewed .sector-agency-difference img[style],
body.page-industry-hub.v32-reviewed .sector-agency-regional img[style] {
  height:clamp(255px,27vw,360px)!important;
  max-height:360px!important;
  width:100%!important;
  object-fit:cover;
}

/* An accessible, non-invasive consistent hover/focus affordance. */
body.v32-reviewed main .sector-feature:focus-visible,
body.v32-reviewed main .about-industry-link:focus-visible,
body.v32-reviewed main .resources-featured-card:focus-visible,
body.v32-reviewed main .resources-grid .resource-card:focus-visible {
  outline:3px solid #0066B3;
  outline-offset:3px;
}

@media (max-width: 1020px) {
 body.v32-reviewed main .section-title h2{font-size:clamp(1.92rem,3.8vw,2.65rem)}
 body.page-industry-hub .sector-head h2{font-size:clamp(1.9rem,3.8vw,2.65rem)}
 body.page-service-index main > section.section {padding-top:72px;padding-bottom:72px}
 body.page-industry-detail .detail-hero {padding-top:30px;padding-bottom:49px}
}
@media (max-width: 700px) {
 body.page-about .page-hero,
 body.page-careers .page-hero,
 body.page-contact .page-hero,
 body.page-resources .page-hero,
 body.page-news .page-hero,
 body.page-article .page-hero,
 body.page-job .page-hero {padding-top:26px;padding-bottom:43px}
 body.page-about .page-hero h1,
 body.page-careers .page-hero h1,
 body.page-contact .page-hero h1,
 body.page-resources .page-hero h1,
 body.page-news .page-hero h1,
 body.page-article .page-hero h1,
 body.page-job .page-hero h1 {font-size:clamp(2.2rem,8.35vw,2.85rem);line-height:1.13}
 body.page-careers main > section.section,
 body.page-contact main > section.section,
 body.page-industry-index main > section.section,
 body.page-industry-detail main > section.section,
 body.page-news main > section.section,
 body.page-article main > section.section,
 body.page-job main > section.section,
 body.page-industry-hub main > section.section,
 body.page-service-index main > section.section,
 body.sdcg-service-detail main > section.sd30-section {padding-top:var(--v32-section-space-mobile);padding-bottom:var(--v32-section-space-mobile)}
 body.v32-reviewed main .section-title {margin-bottom:27px}
 body.v32-reviewed main .section-title h2 {font-size:clamp(1.75rem,7vw,2.25rem)}
 body.page-industry-hub .sector-head {margin-bottom:28px}
 body.page-industry-hub .sector-head h2 {font-size:clamp(1.85rem,7.2vw,2.4rem)}
 body.page-industry-detail .detail-hero h1 {font-size:clamp(2.1rem,8.4vw,2.9rem)}
 body.page-industry-detail .detail-hero .breadcrumbs {margin-bottom:18px}
 body.page-industry-detail .detail-hero {padding-top:24px;padding-bottom:40px}
}
@media (max-width: 420px) {
 body.v32-reviewed main .btn {max-width:100%;line-height:1.35}
 body.page-careers .careers-team-tags span {min-height:39px}
 body.page-industry-hub .sector-head p {font-size:.91rem;line-height:1.68}
}
@media (prefers-reduced-motion: reduce) {
 body.v32-reviewed main a,body.v32-reviewed main button,
 body.v32-reviewed main .tile,body.v32-reviewed main .sector-benefit {
   transition-duration:.01ms!important;scroll-behavior:auto!important;
 }
}
