/* Full photographs: equal height, natural width, no cropped hairstyles. */
.hero-photo img{height:auto;aspect-ratio:3/4;object-fit:contain}
.work-gallery{--gallery-photo-height:clamp(360px,40vw,534px);padding:56px 0 32px;border-bottom:1px solid var(--line)}
.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.gallery-heading h2{margin:12px 0 0;font-size:clamp(30px,3.2vw,42px)}
.gallery-controls{display:flex;align-items:center;gap:8px;flex-shrink:0}
.gallery-controls button{min-width:44px;height:44px;border:1px solid var(--line);background:none;color:var(--cream);font-size:20px}
.gallery-controls button:hover{background:var(--cream);color:var(--bg)}
.gallery-controls .gallery-pause{width:auto;padding:0 12px;font-size:11px}
.gallery-track{display:flex;gap:20px;overflow-x:auto;padding:12px 0;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#76695e transparent}
.gallery-track:focus-visible{outline:2px solid var(--cream);outline-offset:5px}
.work-gallery .work-card{flex:0 0 auto;width:calc(var(--gallery-photo-height) * var(--photo-ratio,0.5625));height:var(--gallery-photo-height);margin:0}
.work-gallery .work-card img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;background:transparent;animation:color-gallery-float 6s ease-in-out infinite}
.work-gallery .work-card:nth-child(even) img{animation-delay:-3s}
.work-gallery .work-card:nth-child(3) img{animation-delay:-1.5s}
.gallery-paused .work-card img{animation-play-state:paused}
@keyframes color-gallery-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:650px){.work-gallery{--gallery-photo-height:clamp(300px,110vw,430px);padding-top:36px}.gallery-heading{flex-wrap:wrap;gap:16px}.gallery-controls{margin-left:auto}.gallery-track{gap:12px}}
@media(prefers-reduced-motion:reduce){.work-gallery .work-card img{animation:none}}
