/* Q · Flow — the leash and its chapters share the same scroll. */
/* Measuring the pinned sections must not shift a restored scroll position. */
html{overflow-anchor:none}
/* Ground the paws at the front of the scene, without a detached dog reflection. */
.hero.normandy-hero .portrait-scene{--dog-top:69.8%}
.hero.normandy-hero .beagle{top:var(--dog-top)}
.hero.normandy-hero .floor{top:90%;height:10%;filter:blur(5px);transform:none;background:radial-gradient(ellipse,#a977481c,transparent 68%)}
.hero.normandy-hero .subjects::before{content:"";position:absolute;left:calc(var(--dog-left,14%) + 1.5%);top:calc(var(--dog-top) + 25.8%);width:21%;height:2.8%;background:radial-gradient(ellipse,#000b 12%,#0007 38%,transparent 72%);filter:blur(1px)}
.hero.normandy-hero .reflection .beagle{display:none}
/* Apply only the retouched ankle, retaining the original portrait everywhere else. */
.hero.normandy-hero .sock-repair{clip-path:inset(74% 47% 20% 49% round 1%)}
@media(min-width:901px){
 .hero.normandy-hero .hero-stage{align-items:start}
 .hero.normandy-hero .portrait-scene{--dog-left:8.8%;width:min(100%,calc((100svh - 190px)/1.03));justify-self:center;align-self:start}
}

.chapter-light{opacity:1;clip-path:inset(100% 0 0);will-change:clip-path}
.nhead{color:#f0e8dd}
.nhead .subl,.nhead .kick{color:#bdb6aa}
.rhead{color:#1b1b1d;right:var(--m)}
.rhead .kick,.rcount{color:#625d56}

/* A clear lane on both sides keeps the descending leash out of the title. */
@media(max-width:900px){
 .rhead{left:52px;right:52px}
 .rhead h2{font-size:clamp(26px,6.7vw,38px)}
}
@media(prefers-reduced-motion:reduce){
 .rhead{left:auto;right:auto;margin-right:var(--m)}
}

/* The reference photo stays intact; a clean plate hides only unrevealed strap pixels. */
.final{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(24px,3vw,48px);padding-right:0}
.team-hand{width:min(100%,73.333svh);margin:0;align-self:end;justify-self:end;top:18vh;visibility:hidden}
.team-hand.photo-ready{visibility:visible}
.team-photo{position:relative;mask-image:linear-gradient(90deg,transparent,#000 12%),linear-gradient(180deg,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect;border-radius:24px 0 0 24px}
.team-native{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.photo-static .team-native{display:none}
@media(max-width:900px){
 .final{grid-template-columns:minmax(0,1fr);padding-right:var(--m)}
 .team-hand{width:calc(100% + 52px + var(--m));margin-left:-52px;margin-right:calc(var(--m) * -1);margin-top:110px;top:10vh}   /* room for the leash to swing from the left lane into the strap */
}
