/* PHI CODE V3.15 — cinematic edge feathering and approved light texture. */
/* Mask the entire image container, including the initial poster and each scroll frame.
   The existing stage geometry and scroll controller are intentionally unchanged. */
.inner-hero .inner-hero-image[data-sequence],
.phi-enhanced .inner-hero .inner-hero-image[data-sequence] {
  -webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
}
@media(max-width:799px){
 .phi-enhanced .inner-hero .inner-hero-image[data-sequence],.inner-hero .inner-hero-image[data-sequence]{
  -webkit-mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 10%,#000 90%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
 }
}
/* Preserve the original black frame, while making the new light texture full bleed. */
.inner-section.inner-light,.inner-section.inner-paper,.inner-paper.phi-ui-section,
.pc-contact .pc-light,.services-heading,.process,.process-backdrop{
 background-image:url('../assets/brand-light.png');
 background-size:100% auto;
 background-position:center top;
 background-repeat:repeat-y;
}
.inner-section.inner-paper:not(.phi-ui-section){background-image:url('../assets/brand-light.png');background-size:100% auto;background-repeat:repeat-y}
.brand-transition::before,.brand-transition::after{background-size:100% auto;background-repeat:repeat-y}
.process::after{background-size:100% auto;background-repeat:repeat-y}

/* V3.17 — static interior art on mobile; no scroll runway. */
@media(max-width:799px){
 .phi-film-track.phi-film-pinned::after{height:0!important}
 .phi-film-track.phi-film-pinned>.phi-film-stage{position:relative;top:auto;min-height:0}
 .phi-film-stage .phi-film-frame{display:none!important}
 .phi-film-stage>.inner-hero{flex:none}
}
