/* Sema Kilickaya — V2 immersive layer (GSAP + ScrollTrigger). Loaded after site.css; only active when html has .v2 */

html.v2{scroll-behavior:auto}
.v2 #smooth-wrapper{overflow:hidden}

/* motion now belongs to GSAP: neutralise the CSS reveal states of the base page */
.v2 [data-rv=wipe] img{clip-path:none!important;transition:none!important}
.v2 .bob{animation:none!important}

/* each colour pours over the previous one, peaking where the line crosses */
.pour{position:absolute;left:0;top:1px;width:100%;height:clamp(70px,15vh,160px);transform:translateY(-100%);z-index:3;pointer-events:none;overflow:visible}
.pour path{fill:var(--ground)}

/* line-by-line text reveals */
.v2 .ln{will-change:transform}
.v2 .ln-mask{padding-bottom:.08em;margin-bottom:-.08em}

/* gallery: pinned and driven by ScrollTrigger on wide screens */
@media (min-width:860px){
  .v2 .galerie-sticky{position:relative;top:auto}
  .v2 .track li{perspective:1100px}
  .v2 .toile{transform-style:preserve-3d;will-change:transform}
  .v2 .toile img{transition:none}
}
.v2 .ph--main,.v2 .autrice-photo{will-change:clip-path}
.v2 .autrice-photo{overflow:visible}
.v2 .hero-art figure{will-change:transform}

/* companion cursor (fine pointers only) */
.cur{position:fixed;left:0;top:0;z-index:90;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;mix-blend-mode:difference;pointer-events:none;opacity:0;display:grid;place-items:center;transition:opacity .3s}
.cur.on{opacity:1}
.cur b{font-family:var(--display);font-stretch:86%;font-weight:700;font-size:3.4px;letter-spacing:.02em;color:#000;opacity:0;transition:opacity .25s;white-space:nowrap}
.cur.label b{opacity:1}
@media (hover:none),(pointer:coarse){.cur{display:none}}

/* magnetic controls keep their fill behaviour */
.v2 .go,.v2 .nav a,.v2 .ecrire-mail a,.v2 .tome-close{will-change:transform}

/* scroll progress along the top edge, in the line's colour of the current land */
.fil-progress{position:absolute;left:0;bottom:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(0);background:var(--nav-ink,#F3F4FA);opacity:.85;pointer-events:none}
