/* Use cases · phone layout only (≤640px). Desktop and tablet are untouched. */
@media (max-width:640px){
  /* As on desktop, the photo strip rides up over the end of the cover's curve. Wide photos, a little shorter. */
  html body #solutions-page.uc4 .uc5-reel{margin-top:-40px!important;min-height:320px;padding:30px 0!important}
  html body #solutions-page.uc4 .uc5-film{inset:30px 0}

  /* They keep sliding slowly behind the text. */
  html body #solutions-page.uc4 .uc5-track,
  html body #solutions-page.uc4 .uc5-film-group{gap:16px}
  html body #solutions-page.uc4 .uc5-track{animation-duration:44s}
  html body #solutions-page.uc4 .uc5-shot{border-radius:20px}
  html body #solutions-page.uc4 .uc5-film-group img{width:290px;height:100%}

  /* Text over the veiled photos. */
  html body #solutions-page.uc4 .uc5-reel-copy{padding:0 10px!important}
  html body #solutions-page.uc4 .uc5-reel-copy p{font-size:17px!important;line-height:1.7!important}
  html body #solutions-page.uc4 .uc5-reel-copy p+p{margin-top:12px!important}

  /* The ↗ character turns into a blue emoji on iPhone: the same arrow is drawn instead. */
  html body #solutions-page.uc4 .uc5-contact>span,
  html body #solutions-page.uc4 .uc4-closing a>span{
    font-size:0!important;line-height:0!important;display:inline-block!important;flex:none;
    width:13px!important;height:13px!important;border-radius:0!important;
    background:currentColor!important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9L9 3M4.5 3H9v4.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9L9 3M4.5 3H9v4.5'/%3E%3C/svg%3E") center/contain no-repeat}
  html body #solutions-page.uc4 .uc4-closing a{align-items:center}
  html body #solutions-page.uc4 .uc4-closing a>span{width:11px!important;height:11px!important}

  /* Industry cards in one column, built so the photo always has height on iPhone:
     a plain block summary and the image in the normal flow (not absolutely positioned
     inside an inline box, which Safari can collapse to zero height). */
  html body #solutions-page.uc4 .uc4-card>summary{display:block}
  html body #solutions-page.uc4 .uc4-card .uc4-photo{display:block;position:relative;min-height:0!important;height:auto;aspect-ratio:auto;width:100%}
  html body #solutions-page.uc4 .uc4-card .uc4-photo img{position:static;display:block;width:100%;height:auto;aspect-ratio:1.55;object-fit:cover}
  html body #solutions-page.uc4 .uc4-summary-copy{display:flex}
}

/* Reduced motion (mobile): the reel does not move, so show one photo centred under the text */
@media (prefers-reduced-motion: reduce){
  html body #solutions-page.uc4 .uc5-film{overflow:hidden!important}
  html body #solutions-page.uc4 .uc5-track{animation:none!important;transform:none!important;width:100%!important;justify-content:center}
  html body #solutions-page.uc4 .uc5-film-group[aria-hidden]{display:none!important}
  html body #solutions-page.uc4 .uc5-film-group{width:100%;justify-content:center}
  html body #solutions-page.uc4 .uc5-film-group .uc5-shot:not(:first-child){display:none!important}
  html body #solutions-page.uc4 .uc5-film-group .uc5-shot:first-child{width:calc(100% - 40px);max-width:420px}
  html body #solutions-page.uc4 .uc5-film-group .uc5-shot:first-child img{width:100%!important}
}

/* 27 Nov — cover mesh on phones (approved option B, the same dome as Why BeJarvis): the terrain is framed on .uc4-frame,
   centred and wide, drawn fine (data-phone-fine) and as dense as on desktop (data-phone-rows="3"); it starts below the
   subtitle and its dots run down to the green curve. The Overview HUD backdrop stays behind the title only. */
html body.bj-unified #solutions-page .uc4-hero{padding-bottom:280px!important}
html body.bj-unified #solutions-page .uc4-hero .uc4-frame{left:-5%;width:110%;top:auto;bottom:0;height:640px}
html body.bj-unified #solutions-page .uc4-hero>.po2-waves{opacity:1!important;-webkit-mask-image:linear-gradient(0deg,#000 0,#000 250px,transparent 350px);mask-image:linear-gradient(0deg,#000 0,#000 250px,transparent 350px)}
html body.bj-unified #solutions-page .uc4-hero::before{-webkit-mask-image:linear-gradient(180deg,#000 25%,transparent 48%);mask-image:linear-gradient(180deg,#000 25%,transparent 48%)}
