/* Mobile Motion Lab 11: additive touch and scroll response for touch devices. */
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .editorial-hero{--rc-mobile-x:70%;--rc-mobile-y:25%;--rc-scroll-offset:0px;}
  /* Replace Animation 10's mobile static gradient with a gentle moving light. */
  .editorial-hero:after{
    animation:rc-mobile-ambient 13s ease-in-out infinite alternate!important;
    background:radial-gradient(ellipse 68% 62% at var(--rc-mobile-x) var(--rc-mobile-y),rgba(207,174,129,.20),transparent 76%),linear-gradient(115deg,transparent 6%,rgba(225,201,163,.09) 48%,transparent 84%);
    background-size:100% 100%,185% 100%;
    background-position:center,0 0;
    will-change:background-position;
  }
  @keyframes rc-mobile-ambient{from{background-position:center,0 0;opacity:.72}to{background-position:center,100% 0;opacity:1}}
  /* Motion reacts to scrolling while the portrait itself is never altered. */
  .editorial-hero .heroart{translate:0 var(--rc-scroll-offset);transition:translate .12s linear;}
  #services .cards .card{--rc-touch-x:50%;--rc-touch-y:35%;}
  #services .cards .card:before{
    transform:none!important;transition:opacity .45s ease!important;
    opacity:0;
    background:radial-gradient(circle 160px at var(--rc-touch-x) var(--rc-touch-y),rgba(201,171,126,.19),transparent 82%);
    z-index:0;
  }
  #services .cards .card.rc-touch-active:before{opacity:1}
  /* Do not interfere with natural vertical swipes. */
  #services .cards .card,.editorial-hero{touch-action:pan-y}
}
@media(prefers-reduced-motion:reduce){.editorial-hero .heroart{translate:none!important}#services .cards .card:before{opacity:0!important}}
