/* Mobile rhythm: photography, compact stories and native swipe rails. */
@media (max-width:760px) {
  body .hb-footer-links{gap:0}
  body .hb-footer-links>a,body .footer-top>div>a{min-height:36px;margin:0;padding:4px 0;display:flex;align-items:center;line-height:1.4}
  body .hb-footer-links>.hb-kicker{margin-bottom:8px}
  body .footer .micro{margin-bottom:8px}
}
@media (max-width:680px) {
  .motion-collage-hero .hero-contact-sheet{grid-template-rows:clamp(270px,74vw,380px) clamp(140px,38vw,190px);gap:8px}
  .motion-collage-hero [data-hero-motion-tile]{border-radius:9px}
  .visual-hero-action p{line-height:1.65}

  .visual-services .service-stories{display:flex;flex-direction:row;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#e8d4d1 #ffffff18;padding:0 0 18px;touch-action:pan-x pan-y pinch-zoom}
  .visual-services .service-story{flex:0 0 86%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
  .visual-services .story-photo,.visual-services .service-story:nth-child(2) .story-photo{height:clamp(280px,82vw,390px);border-radius:10px}
  .visual-services .story-caption{padding-top:18px;padding-bottom:20px;gap:10px}
  .visual-services .story-caption h3{font-size:31px}
  .visual-services .story-caption p{font-size:12px;line-height:1.55}
  .visual-services .service-stories:focus-visible{outline:2px solid #fff;outline-offset:6px;border-radius:4px}
  .selected-work .work-1 .work-image{aspect-ratio:1.35;border-radius:9px}
  .selected-work .work-4 .work-image{aspect-ratio:1.5;border-radius:9px}
  .selected-work .work-2 .work-image,.selected-work .work-3 .work-image{border-radius:9px}
  .about-image-note figure{aspect-ratio:1.1;border-radius:10px}
  .people-person>div{border-radius:9px}

  .photo-carousel-slide{flex-basis:88%}
  .photo-carousel-media{height:clamp(270px,77vw,370px)}
  .photo-carousel-meta{flex:1;min-width:0}
  .photo-carousel-title{font-size:13px;line-height:1.45}
  .photo-carousel-navigation{gap:6px}
  .photo-carousel-count{min-width:43px;margin-right:0;font-size:11px}
  .photo-carousel-navigation button{width:44px;height:44px;flex:none}

  .vi-services-page .vi-service>summary{padding:26px 0}
  .vi-services-page .vi-service:nth-child(odd) .vi-service-thumb{height:clamp(210px,60vw,310px)}
  .vi-services-page .vi-service:nth-child(even)>summary{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) 24px;grid-template-areas:"photo icon toggle" "photo title title";gap:12px 14px;align-items:start}
  .vi-services-page .vi-service:nth-child(even) .vi-service-thumb{height:100%;min-height:185px;aspect-ratio:auto}
  .vi-services-page .vi-service:nth-child(even) .vi-service-title h3{font-size:22px;line-height:1.18}
  .vi-services-page .vi-service:nth-child(even) .vi-service-title p{font-size:13px;line-height:1.5}
  .vi-services-page .vi-service:nth-child(even) .vi-service-icon{justify-content:start;padding:0}
  .vi-services-page .vi-service:nth-child(even) .vi-plus{padding:0}
  .vi-service-body p,.vi-service-body li,.vi-sector-body p,.vi-sector-body li,.vi-clients .vi-extra li{font-size:14px;line-height:1.7}
  .vi-service-group h4{font-size:17px;line-height:1.35}

  .vi-sector{margin-bottom:42px}
  .vi-sector-photo{height:clamp(280px,80vw,380px);border-radius:10px}
  .vi-sector:nth-child(even){margin-left:22px}
  .vi-sector:nth-child(even) .vi-sector-photo{height:clamp(220px,62vw,300px)}
  .vi-sector:nth-child(even) .vi-sector-title h2{font-size:27px}
  .vi-sector-title{padding-top:18px;padding-bottom:20px}
  .vi-sector:last-child .vi-sector-photo{height:clamp(240px,68vw,330px)}

  .vi-delivery-grid{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#731720 #73172015;padding:0 0 16px;touch-action:pan-x pan-y pinch-zoom}
  .vi-delivery-grid>article{flex:0 0 86%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;background:#e2e1de;border:0;border-radius:10px;padding:25px 23px}
  .vi-delivery-grid>article:nth-child(even){background:#ded9d5}
  .vi-delivery-grid h3{font-size:25px;line-height:1.15;max-width:250px}
  .vi-delivery-grid p{font-size:14px;line-height:1.7}
  .vi-delivery-grid .service-chapter-icon{margin-bottom:24px}
  .vi-delivery-grid:focus-visible{outline:2px solid #731720;outline-offset:6px;border-radius:4px}
  .ops-chapter{gap:27px;padding-top:34px;padding-bottom:38px}
  .ops-chapter-data .ops-chapter-photo{height:230px;aspect-ratio:auto}
  .ops-chapter-results{flex-direction:column-reverse}
  .ops-chapter-results .ops-chapter-photo{height:200px;aspect-ratio:auto}
  .ops-chapter-people .ops-chapter-photo{height:310px;aspect-ratio:auto}
  .ops-chapter-results .ops-indicators{grid-template-columns:1fr 1fr;gap:0 16px}
  .ops-chapter-results .ops-indicators li{flex-direction:column;align-items:flex-start;gap:13px;font-size:15px;padding:19px 0}
  .ops-chapter-results .ops-indicators li:last-child{grid-column:1/-1;flex-direction:row;align-items:center}
}

@media (max-width:360px) {
  .photo-carousel-bar{flex-wrap:wrap;gap:8px}
  .photo-carousel-navigation{margin-left:auto}
  .vi-services-page .vi-service:nth-child(even)>summary{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr) 22px;column-gap:10px}
  .vi-services-page .vi-service:nth-child(even) .vi-service-title h3{font-size:20px}
}

/* Preserve the full reading size instead of squeezing long titles into half a phone. */
@media (max-width:380px) {
  .vi-services-page .vi-service:nth-child(even)>summary{grid-template-columns:30px minmax(0,1fr) 26px;grid-template-areas:"photo photo photo" "icon title toggle";gap:16px 12px}
  .vi-services-page .vi-service:nth-child(even) .vi-service-thumb{height:clamp(180px,58vw,220px);min-height:0}
  .partner-discipline-list li{flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;min-height:110px}
}

@media (max-width:760px) and (pointer:coarse) {
  /* Larger link hit areas and touch feedback do not compete with image transforms. */
  body :is(.footer,.hb-footer) .footer-social a{min-height:44px}
  body .hb-footer-links>a{min-height:36px;display:flex;align-items:center}
  :is(.nr-team-card,.hb-card-link,.hb-service,.vi-service>summary,.vi-sector>summary){-webkit-tap-highlight-color:#a61d2126}
  .nr-team-card .nr-team-image,.hb-card-link .hb-image-frame,.hb-service .hb-image-frame{transition:filter .16s ease-out}
  .nr-team-card:active .nr-team-image,.hb-card-link:active .hb-image-frame,.hb-service:active .hb-image-frame{filter:brightness(.9)}
  .nr-team-card:active .nr-team-name{color:#a61d21}
  .vi-service>summary:active .vi-service-title,.vi-sector>summary:active .vi-sector-title{color:#a61d21}
}

@media (max-width:760px) and (hover:none) {
  .vi-services-page .vi-service summary:hover .vi-service-thumb img{transform:none}
}

@media (prefers-reduced-motion:reduce) {
  .service-stories,.vi-delivery-grid{scroll-behavior:auto!important}
  .nr-team-card .nr-team-image,.hb-card-link .hb-image-frame,.hb-service .hb-image-frame{transition:none}
}
