/* Mobile MV: compact copy and the diagonal blue overlay from SP_TOP 10/30. */
@keyframes hero-mobile-shade-in{from{opacity:0}to{opacity:var(--shade-opacity,1)}}
@media(max-width:800px){
 .page-home .hero{height:auto;min-height:560px}
 .page-home .hero-copy{padding-top:236px;padding-bottom:33px}
 .page-home .hero-eyebrow{margin-bottom:10px}
 .page-home .hero-description{font-size:clamp(11px,3.333333vw,13px);margin-top:14px}
 .page-home .hero-photo,.page-home .hero-photo.is-ready{height:380px;background-image:url('../images/common/mv-bg-mobile-4.webp');background-size:cover;background-position:center top}
 .page-home .hero-shade::after{
  top:156px;
  clip-path:polygon(0 0,100% 93px,100% 100%,0 100%);
  background:linear-gradient(to bottom,rgba(0,85,170,.5),rgba(0,85,170,.88) 47%,#0055aa 78%);
 }
 .page-home .hero-shade::before{
  top:156px;
  clip-path:polygon(0 0,100% 93px,100% 100%,0 100%);
 }
 .page-home .hero.is-photo-ready .hero-shade::after,
 .page-home .hero.is-photo-ready .hero-shade::before{animation-name:hero-mobile-shade-in,hero-shade-drift}
 .page-home .hero.is-photo-ready .hero-shade::before{animation-name:hero-mobile-shade-in,hero-shade-color}
}

/* Use the desktop's upright shade between phone and tablet widths. */
@media(min-width:425px) and (max-width:800px){
 .page-home .hero-photo,.page-home .hero-photo.is-ready{
  --mobile-photo-height:max(380px,89.94vw);
  height:var(--mobile-photo-height);
  -webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent 95%);
  mask-image:linear-gradient(to bottom,#000 60%,transparent 95%);
 }
 .page-home .hero-shade::after{
  top:0;left:0;width:55%;clip-path:none;
  background:url('../images/common/010f2.svg') left top/100% 100% no-repeat;
  --shade-scale-x:1.02;--shade-scale-y:1;transform-origin:left center;
 }
 .page-home .hero-shade::before{
  top:0;width:55%;clip-path:none;
  -webkit-mask:url('../images/common/010f2.svg') center/100% 100% no-repeat;
  mask:url('../images/common/010f2.svg') center/100% 100% no-repeat;
 }
}

/* Keep the previous mobile photo from 425px through tablet width. */
@media(min-width:425px) and (max-width:800px){
 .page-home .hero-photo,.page-home .hero-photo.is-ready{background-image:url('../images/common/mv-bg-mobile.webp')}
}
