/* A one-time silhouette reveal; the original portrait remains the fallback. */
.portrait-stage{position:relative;isolation:isolate;aspect-ratio:1;width:100%}
.portrait-stage>img{position:relative;z-index:1;opacity:1}
.portrait-stage::before{content:"";position:absolute;inset:4% -2% 0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 38%,#e9ddc540 0%,#d7b77318 38%,transparent 70%);opacity:0}
.portrait-stage .portrait-outline{position:absolute;inset:0;z-index:2;width:100%;height:100%;overflow:visible;fill:none;stroke:#ffe9b8;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;opacity:0;pointer-events:none;filter:drop-shadow(0 0 4px #f4dca4) drop-shadow(0 0 13px #c8a15e)}
.portrait-stage .portrait-outline path{fill:none;stroke-dasharray:100;stroke-dashoffset:0}
@media(prefers-reduced-motion:no-preference){
 .portrait-animating::before{animation:fs-portrait-halo 3.2s ease-out both}
 .portrait-animating .portrait-outline{animation:fs-outline-fade 3.2s ease-in-out both}
 .portrait-animating .portrait-outline path{animation:fs-outline-draw 1.6s cubic-bezier(.55,0,.3,1) .1s both}
 .portrait-animating>img{animation:fs-photo-reveal 1.35s ease-out 1.5s both}
}
@keyframes fs-outline-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes fs-outline-fade{0%{opacity:0}7%,58%{opacity:1}100%{opacity:0}}
@keyframes fs-photo-reveal{from{opacity:0;filter:brightness(.7) blur(3px)}to{opacity:1;filter:none}}
@keyframes fs-portrait-halo{0%{opacity:0}35%{opacity:.9}65%{opacity:.65}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.portrait-stage>img{animation:none;opacity:1;filter:none}.portrait-stage .portrait-outline,.portrait-stage::before{animation:none;opacity:0}}
