/* R68: shift the R66 standing photo left, like the old .ronin-bg ghost.
   Desktop geometry matches styles.css (>=1024, the later override):
   left: calc(var(--pv) * -0.38); width: calc(var(--pv) * 3)
   (~39% of a 1440 viewport). Face sits at 50% of that box;
   section text (padding-left: var(--pv)) overlaps the right half.
   Mobile: the face is shifted left so half of it sits at the left edge
   and the text column covers the other half.
   position:fixed, not background-attachment. Photo files unchanged.
   Position the <picture> box only; the <img> fills it (do not offset both). */

@media (min-width:1024px){
  .r66-bg picture{
    inset:auto;
    left:calc(var(--pv) * -0.38);
    top:0;
    width:calc(var(--pv) * 3);
    height:100%;
  }
  .r66-bg img{
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 18%;
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 52%,transparent 97%),linear-gradient(180deg,transparent 0%,#000 10%,#000 82%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,#000 0%,#000 52%,transparent 97%),linear-gradient(180deg,transparent 0%,#000 10%,#000 82%,transparent 100%);
    mask-composite:intersect;
  }
}

@media (max-width:1023px){
  .r66-bg picture{
    inset:auto;
    left:-48%;
    top:0;
    width:145%;
    height:100%;
  }
  .r66-bg img{
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 14%;
    -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 50%,rgba(0,0,0,.65) 72%,transparent 100%),radial-gradient(90% 80% at 28% 36%,#000 32%,rgba(0,0,0,.8) 60%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,#000 0%,#000 50%,rgba(0,0,0,.65) 72%,transparent 100%),radial-gradient(90% 80% at 28% 36%,#000 32%,rgba(0,0,0,.8) 60%,transparent 100%);
    mask-composite:intersect;
  }
}
