.hero-stage .hero-slide { transition:opacity 1.2s linear; }
.hero-slide[data-theme="nano"] .hero-nano-art { background:#2e1d3b; }
.hero-slide:is([data-theme="salon"],[data-theme="wig"],[data-theme="waves"],[data-theme="styling"]):is(.active,.leaving) > img { animation:home-photo-drift var(--home-slide-duration,10.2s) linear both; }
.hero-slide:is([data-theme="wig"],[data-theme="styling"]):is(.active,.leaving) > img { animation-name:home-photo-pan; }
.hero-stage.motion-paused .hero-slide:is(.active,.leaving) > img { animation-play-state:paused; }
@keyframes home-photo-drift { from{transform:scale(1.01)} to{transform:scale(1.055) translateY(-.5%)} }
@keyframes home-photo-pan { from{transform:scale(1.04) translateX(-.7%)} to{transform:scale(1.055) translateX(.7%)} }
.hero-slide[data-theme="nazly"] { background:linear-gradient(120deg,#33203e,#674977); }
.hero-slide[data-theme="nazly"] video { position:absolute; right:7%; top:0; width:48%; height:100%; object-fit:contain; }
.hero-stage[data-slide-theme="nazly"] .hero-wash { background:none; }
.hero-stage[data-slide-theme="nazly"] .hero-caption { max-width:42%; bottom:50%; transform:translateY(50%); }
.hero-stage[data-slide-theme="nazly"] .hero-caption-title { font-size:clamp(28px,3.2vw,46px); }
.hero-slide[data-theme="nazly"] video { right:23%; width:37%; }
.hero-stage[data-slide-theme="nazly"] .hero-caption { top:50%; bottom:auto; left:4%; right:auto; max-width:33%; transform:translateY(-50%); }
.nazly-before-spotlight { position:absolute; right:3%; top:7%; bottom:70px; width:17%; display:flex; flex-direction:column; align-items:center; color:#fff; text-align:center; }
.nazly-before-spotlight figure { position:relative; height:58%; width:100%; max-width:210px; min-height:0; margin:0 0 14px; }
.nazly-before-spotlight figure img { display:block; width:100%; height:100%; object-fit:contain; }
.nazly-before-spotlight figcaption { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); padding:4px 12px; background:#2e1d3be6; color:#fff; font:500 12px/1.4 var(--sans); letter-spacing:.13em; }
.nazly-before-spotlight .nazly-credit-label { margin:0; font:500 12px/1.4 var(--sans); letter-spacing:.12em; }
.nazly-before-spotlight .nazly-credit-name { margin:6px 0 0; font:400 clamp(40px,4vw,62px)/1.1 var(--script); }
.nazly-before-spotlight .nazly-credit-service { margin:4px 0 0; font:400 14px/1.4 var(--sans); color:#f1e4f7; }
@media(max-width:700px){
 .hero-slide[data-theme="nazly"] video { left:3%; right:auto; width:60%; height:65%; object-fit:contain; }
 .hero-stage[data-slide-theme="nazly"] .hero-wash { background:none; }
 .hero-stage[data-slide-theme="nazly"] .hero-caption { top:68%; left:18px; right:18px; max-width:none; bottom:auto; transform:none; }
 .hero-stage[data-slide-theme="nazly"] .hero-caption-body { display:none; }
 .hero-stage[data-slide-theme="nazly"] .hero-caption-title { font-size:26px; }
 .hero-stage[data-slide-theme="nazly"] .hero-caption > span { font-size:11px; margin-bottom:4px; }
 .hero-stage[data-slide-theme="nazly"] .hero-caption-link { margin-top:8px; min-height:38px; padding:7px 10px; font-size:11px; }
 .nazly-before-spotlight { right:4%; top:5%; bottom:auto; width:29%; height:58%; }
 .nazly-before-spotlight figure { height:53%; flex-shrink:0; margin-bottom:8px; }
 .nazly-before-spotlight .nazly-credit-label { font-size:10px; letter-spacing:.04em; }
 .nazly-before-spotlight .nazly-credit-name { font-size:38px; }
 .nazly-before-spotlight .nazly-credit-service { font-size:12px; }
}
@media(prefers-reduced-motion:reduce){.hero-slide:is(.active,.leaving) > img{animation:none!important}.hero-stage .hero-slide{transition:none}}

/* A visual invitation to experiment, using the studio's actual demo portraits. */
.hero-slide[data-theme="studio"] { background:radial-gradient(ellipse at 25% 35%,#654274,#28182f 75%); }
.studio-look-pair { position:absolute; inset:20px 4% 42px 46%; display:grid; grid-template-columns:1fr 1.15fr; gap:16px; }
.studio-look-pair figure { position:relative; min-width:0; min-height:0; margin:0; overflow:hidden; border-radius:12px; box-shadow:0 12px 35px #100a1640; }
.studio-look-pair .studio-look-original { margin-block:25px 12px; }
.studio-look-pair img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 36%; }
.studio-look-pair figcaption { position:absolute; inset:auto 0 0; padding:28px 14px 14px; background:linear-gradient(transparent,#201326e8); color:#fff; font-size:clamp(14px,1.4vw,20px); text-align:center; }
.studio-look-note { position:absolute; bottom:-26px; right:0; color:#eedff4; font-size:12px; line-height:1.4; }
.hero-stage[data-slide-theme="studio"] .hero-wash { background:none; }
.hero-stage[data-slide-theme="studio"] .hero-caption { top:50%; bottom:auto; left:4%; right:auto; max-width:37%; transform:translateY(-50%); }
.hero-stage[data-slide-theme="studio"] .hero-caption-title { font-size:clamp(34px,4.2vw,62px); line-height:1.05; font-weight:400; max-width:12ch; }
.hero-stage[data-slide-theme="studio"] .hero-caption-body { font-size:clamp(16px,1.35vw,20px); line-height:1.5; max-width:30ch; margin-top:16px; }
.hero-stage[data-slide-theme="studio"] .hero-caption-link { margin-top:18px; padding:12px 20px; font-size:14px; }
.hero-stage[data-slide-theme="studio"] .slideshow-controls { bottom:10px; }
@media(max-width:760px){
 .studio-look-pair { inset:14px 18px 43% 18px; gap:10px; }
 .studio-look-pair .studio-look-original { margin-block:8px 0; }
 .studio-look-pair img { object-position:50% 32%; }
 .studio-look-pair figcaption { padding:22px 8px 8px; font-size:14px; }
 .studio-look-note { bottom:-19px; font-size:12px; }
 .hero-stage[data-slide-theme="studio"] .hero-caption { top:calc(57% + 28px); left:22px; right:22px; max-width:none; transform:none; }
 .hero-stage[data-slide-theme="studio"] .hero-caption > span { font-size:12px; margin-bottom:5px; }
 .hero-stage[data-slide-theme="studio"] .hero-caption-title { font-size:30px; max-width:none; }
 .hero-stage[data-slide-theme="studio"] .hero-caption-body { display:none; }
 .hero-stage[data-slide-theme="studio"] .hero-caption-link { margin-top:10px; padding:9px 14px; min-height:40px; font-size:13px; }
}

/* Leave breathing room for the script headline’s left-hand flourishes. */
body[data-page="home"] .hero-stage .hero-caption { padding-inline: 12px; }
body[data-page="home"] .hero-stage .hero-caption-title { overflow: visible; }
@media (max-width: 700px) {
 body[data-page="home"] .hero-stage .hero-caption { padding-inline: 8px; }
}
