/* R66: bring back photo 12 as a persistent fixed background on RU pages.
   Full-page layer in the spirit of R41, without the hero face-gap
   (the sharp Varanasi portrait in the home hero stays).
   Subtle, always on while scrolling, text stays readable.
   position:fixed throughout — iOS does not support background-attachment:fixed.
   Photo files are used unchanged; only CSS filters / overlays.
   The pre-R62 .ronin-bg left-column/ghost stays hidden (R62 + R41 rules):
   two overlapping faces would clash. This layer replaces it. */

.r66-bg{
  display:block;position:fixed;left:0;right:0;top:0;
  width:100%;height:100vh;height:100lvh;
  z-index:-1;pointer-events:none;overflow:hidden;
  transform:translateZ(0);
}
.r66-bg picture,
.r66-bg img{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;object-fit:cover;object-position:50% 18%;
}
.r66-bg img{
  filter:saturate(.85) contrast(1.06) brightness(.88);
  -webkit-mask-image:radial-gradient(95% 85% at 50% 36%,#000 28%,rgba(0,0,0,.75) 62%,transparent 100%);
  mask-image:radial-gradient(95% 85% at 50% 36%,#000 28%,rgba(0,0,0,.75) 62%,transparent 100%);
}
.r66-bg i{
  position:absolute;inset:0;display:block;pointer-events:none;
  background:var(--bg);opacity:.42;
}
html[data-theme="blue"] .r66-bg i{background:#04070f;opacity:.46}
@media (max-width:1023px){
  .r66-bg img{
    object-position:50% 14%;
    filter:saturate(.85) contrast(1.06) brightness(.8);
  }
  .r66-bg i{opacity:.5}
  html[data-theme="blue"] .r66-bg i{opacity:.54}
}
body:has(.r66-bg) main,
body:has(.r66-bg) .ftr{position:relative;z-index:1}
body.modal-open .r66-bg{opacity:0!important;transition:opacity .35s ease}
@media (prefers-reduced-motion:reduce){
  .r66-bg{transform:none}
}
