/* Modest phone density pass. Editorial type and spacing only; diagram labels keep their own scale. */
@media(max-width:700px){
 body{font-size:16px}
 /* Primary page titles, including the two explicitly sized homepage/Cx mastheads. */
 body main h1,.buyer-home #top .hero-text h1,.cx-story .cx-masthead h1{font-size:clamp(34px,8.4vw,38px)!important;line-height:1.1!important;letter-spacing:-.035em}
 body main .section-head h2,body main .detail-cta h2,body main .owner-head h2,body main .owner-reading>h2,body main .owner-end h2,body main .editorial-top h2,body main .discipline-work h2,body main .msi-deliverables h2,body main .example-layout h2,body main .portfolio-sector-records h2,body main .portfolio-resource-group h2,body main .cx-purpose h2,body main .cx-chapter h2,body main .cx-critical h2,body main .cx-levels-section h2,body main .cx-contact h2,body main .contact-heading h2,body main .contact-next h2,body main .twin-flow-heading h2,body main .lab-heading h2,.buyer-home #sla360-approach h2,.buyer-home #why-sla .home-partnership h2,#reach.reach-section h2{font-size:clamp(27px,7vw,32px)!important;line-height:1.15;letter-spacing:-.025em}
 body main .section-head{gap:18px;margin-bottom:24px}
 body main .section,body main .detail-hero,body main .detail-cta,body main .owner-head,body main .owner-reading,body main .owner-end,body main .editorial-top,body main .twin-flow,body main .owner-background,body main .leadership-contributions,body main .cx-critical,body main .cx-levels-section,body main .cx-contact,#reach.reach-section{padding-top:38px;padding-bottom:38px}
 .buyer-home #top{padding-top:34px;padding-bottom:36px}
 .cx-story .cx-chapter,.cx-story .cx-purpose{padding-top:38px;padding-bottom:40px}
 .cx-story .cx-masthead-copy{padding-top:30px;padding-bottom:32px}
 .cx-story .cx-masthead .breadcrumbs{margin-bottom:22px}
 .cx-story .cx-masthead .cx-hero-lead{font-size:18px!important;line-height:1.55;margin-top:22px}
 .cx-story .cx-masthead-foot{padding-top:16px;padding-bottom:16px;gap:18px}
 body main .detail-hero,body main .discipline-work,body main .detail-intro,body main .example-layout,body main .owner-proof-grid,body main .twin-flow-heading,body main .twin-flow-detail,body main .discipline-steps{gap:22px}
 body main .section-head>p,body main .detail-hero .lead,body main .owner-head .lead,body main .intro-copy>p,body main .example-layout>div>p:not(.eyebrow),body main .owner-reading>p,body main .discipline-work>div>p:not(.eyebrow),body main .service-scope>div>p:not(.eyebrow){font-size:16px!important;line-height:1.65}
 .buyer-home #top .hero-text .lead{font-size:20px!important;line-height:1.5!important;margin-top:23px}
 body main .detail-hero h1,body main .owner-head h1{margin-top:16px;margin-bottom:20px}
 body main .detail-hero .lead,body main .owner-head .lead{margin-top:18px}
 body main .section-head .eyebrow,body main .detail-hero .eyebrow,body main .owner-head .eyebrow{margin-bottom:14px}
 /* Fit complete photographic/illustrative images within a shorter window. SVG diagrams and portraits are excluded. */
 body main .detail-hero .sector-hero-photo>img,body main .detail-hero .discipline-hero-figure img,body main .detail-hero .detail-visual>img,body main .onsite-visual img,body main .travel-team-photo img,body main .home-partnership>img,body main .home-partnership figure img{width:100%;height:auto;max-height:250px;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
 body main .detail-hero .sector-hero-photo,body main .detail-hero .discipline-hero-figure{max-width:100%;margin-top:0;margin-bottom:0}
 body main .travel-delivery{gap:22px;padding-top:28px;margin-top:12px}
 body main .owner-proof-grid{margin-top:28px;margin-bottom:28px}
 body main .owner-proof-grid article,body main .deliverables article{padding-top:18px}
 body main .owner-links{margin-top:24px;margin-bottom:24px;gap:10px}
 /* Comfortable touch targets are retained while surrounding whitespace shrinks. */
 body main button,body main summary,body main input,body main select{min-height:44px}
 body main .btn{min-height:44px;padding-top:12px;padding-bottom:12px}
 body main .text-link{min-height:44px;padding-top:10px;padding-bottom:10px}
 body main .actions{gap:16px;margin-top:22px}
 .site-footer{padding-top:32px;padding-bottom:26px;gap:26px}
}

@media (max-width: 700px) {
 .buyer-home #top .hero-text .lead {font-size:17px!important;line-height:1.45!important;margin-top:16px}
 .buyer-home #top .eyebrow {font-size:14px!important}
 .buyer-home #top .opening-kicker {font-size:36px!important;margin-bottom:8px}
 .buyer-home #why-sla .home-partnership figcaption {padding:18px}
 .buyer-home #why-sla .home-partnership p {font-size:16px!important;line-height:1.5}
 .buyer-home #why-sla .home-partnership h2 {font-size:24px!important}
 .buyer-home #why-sla .partner-lead-quote {font-size:22px}
}

/* Narrow foldables can have 265px of content width inside a 280px viewport. */
@media (max-width: 319px) {
  body.portfolio-federal main .detail-hero h1,
  body.portfolio-water main .detail-hero h1,
  body.portfolio-leadership-experience main .owner-head h1,
  body.portfolio-resources main .portfolio-resource-intro h1 {
    font-size: clamp(1.8125rem, 11vw, 2rem) !important;
    overflow-wrap: anywhere;
  }

  body.guide-editorial main .scope-compare h2,
  body.services-editorial .service-catalog-entry .service-story-copy h2,
  body.team-directory-page main .detail-cta h2,
  body.portfolio-why-streamline main .growth-intro h2 {
    font-size: clamp(1.5rem, 9vw, 1.625rem) !important;
    overflow-wrap: anywhere;
  }

  body.portfolio-resources main .qualifications-pack,
  body.portfolio-resources main .portfolio-resource-group,
  body.portfolio-resources main .client-resource-grid,
  body.portfolio-why-streamline main .quality-growth,
  body.guide-editorial main .scope-compare article,
  body.depth-page.guide-editorial main .guide-routes,
  body.depth-page.guide-editorial main .trend-method > div {
    grid-template-columns: minmax(0, 1fr);
  }

  body.portfolio-resources main :is(.qualifications-pack, .portfolio-resource-group, .client-resource-grid) > *,
  body.portfolio-resources main :is(.portfolio-resource-intro, .qualifications-pack, .portfolio-resource-group) :is(p, li),
  body.portfolio-why-streamline main .growth-intro,
  body.guide-editorial main .scope-compare article > *,
  body.depth-page.guide-editorial main .guide-routes > a,
  body.depth-page.guide-editorial main .trend-method > div > * {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }

  body.depth-page.guide-editorial main .guide-routes > a {
    padding-inline: 1rem;
  }

  /* Let dashboard card tracks, controls and graphics fit their actual panels. */
  #dashboard-lab .lab-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #dashboard-lab :is(.executive-cards, .executive-story, .owner-action-list, .action-filters, .finding-counts) {
    grid-template-columns: minmax(0, 1fr);
  }
  #dashboard-lab :is(.executive-cards, .executive-story, .owner-action-list, .action-filters, .finding-counts, .lab-tabs) > *,
  #dashboard-lab :is(select, input, svg, figure),
  #dashboard-bottom .bottom-counts > * {
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  #dashboard-lab :is(.executive-cards, .owner-action-list, .action-filters, .lab-tabs) button {
    padding-inline: .65rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body:has(#dashboard-lab) main .owner-links a {
    box-sizing: border-box;
    flex-basis: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    gap: .5rem;
    padding-inline: .75rem;
    overflow-wrap: anywhere;
  }
}
