/* Original photograph remains unaltered. Veil and edge fades are reusable CSS. */
.hero-treatment{--hero-paper:#faf8f3}
.hero.hero-treatment{padding-top:0}
.hero-treatment .hero-media{height:620px;border-radius:0;background:var(--hero-paper)}
.hero-treatment .hero-frame{left:auto;right:0;width:58%;height:100%;object-fit:contain;object-position:center;transform:none;mask-image:linear-gradient(to right,transparent,black 14%,black 87%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,black 14%,black 87%,transparent)}
.hero-treatment .hero-overlay{background:linear-gradient(to bottom,#faf8f3 0%,rgba(250,248,243,.78) 8%,rgba(250,248,243,0) 30%,rgba(250,248,243,0) 69%,rgba(250,248,243,.8) 93%,#faf8f3 100%),linear-gradient(to right,rgba(250,248,243,.32),rgba(250,248,243,.22));}
.hero-treatment .hero-message{justify-content:center;padding:40px 3% 50px}
.hero-treatment .hero-message h1{max-width:12em;font-size:clamp(30px,3.5vw,44px);line-height:1.85;text-shadow:0 1px 12px #faf8f3}
.hero-treatment .hero-caption{padding-top:10px}
@media(max-width:760px){
 .hero.hero-treatment{width:94%;padding-top:0}
 .hero-treatment .hero-media{height:auto;aspect-ratio:2/3;min-height:0;max-height:none}
 .hero-treatment .hero-frame{width:100%;height:100%;object-fit:contain;object-position:center;mask-image:none;-webkit-mask-image:none}
 .hero-treatment .hero-overlay{background:linear-gradient(to bottom,#faf8f3 0%,rgba(250,248,243,.85) 9%,rgba(250,248,243,.55) 28%,rgba(250,248,243,0) 46%,rgba(250,248,243,0) 68%,rgba(250,248,243,.7) 88%,#faf8f3 100%),linear-gradient(rgba(250,248,243,.24),rgba(250,248,243,.24))}
 .hero-treatment .hero-message{justify-content:flex-start;padding:10% 5% 0}
 .hero-treatment .hero-message .hero-lead{font-size:13px;margin-bottom:12px}
 .hero-treatment .hero-message h1{font-size:clamp(22px,6.25vw,32px);line-height:1.8;max-width:12em;letter-spacing:.025em}
 .hero-treatment .hero-caption{padding-top:6px}
}

/* Fade only the photograph layer. Copy and veil retain all existing styling. */
.hero-treatment #hero-frames{position:absolute;inset:0;z-index:0}
.hero-treatment .hero-frame{object-fit:cover;transition:none;transform:none;z-index:0}
.hero-treatment .hero-frame.active{opacity:1;z-index:1}
.hero-treatment .hero-frame.leaving{opacity:1;z-index:0}
.hero-treatment .hero-frame:nth-child(1){object-position:50% 45%}
.hero-treatment .hero-frame:nth-child(2){object-position:50% 55%}
.hero-treatment .hero-frame:nth-child(3){object-position:50% 54%}
@media(prefers-reduced-motion:reduce){.hero-treatment .hero-frame{transition:none!important;transform:none!important}}

/* White-out / white-in (700ms each), confined to the existing photograph footprint. */
.hero-treatment #hero-frames .hero-white-light{content:"";position:absolute;inset:0 0 0 auto;width:58%;background:#fff;opacity:0;z-index:2;pointer-events:none;mask-image:linear-gradient(to right,transparent,black 14%,black 87%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,black 14%,black 87%,transparent)}
.hero-treatment .slide-controls{display:none!important}
@media(max-width:760px){.hero-treatment #hero-frames .hero-white-light{width:100%;mask-image:none;-webkit-mask-image:none}}
@media(prefers-reduced-motion:reduce){.hero-treatment #hero-frames .hero-white-light{animation:none!important}}
