/* Group 3: uploaded headshot + hero carousel. Only applies once images.js adds the classes. */
.photo.has-img{overflow:hidden;font-size:0}
.photo.has-img img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.hero.has-carousel{overflow:hidden}
.hero-carousel{position:absolute;inset:0;z-index:0}
.hero-carousel .slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .9s ease;visibility:hidden}
.hero-carousel .slide.is-active{opacity:1;visibility:visible}
.hero-carousel .slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-carousel::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,16,10,.45),rgba(26,16,10,.78) 55%,rgba(26,16,10,.85));pointer-events:none}
.hero.has-carousel .hero-copy{z-index:2}
.hero.has-carousel::before{z-index:1}
.hc-controls{position:absolute;z-index:3;left:clamp(16px,4vw,48px);bottom:clamp(96px,14vh,140px);display:flex;align-items:center;gap:10px}
.hc-btn{width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.6);background:rgba(26,16,10,.55);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.hc-dots{display:flex;gap:4px}
.hc-dot{width:28px;height:44px;border:0;background:none;cursor:pointer;padding:0;display:grid;place-items:center}
.hc-dot::before{content:"";width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);border:1px solid #fff}
.hc-dot[aria-current="true"]::before{background:#c99a3e;border-color:#c99a3e}
.hc-btn:focus-visible,.hc-dot:focus-visible{outline:3px solid #c99a3e;outline-offset:2px}
.hc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.hero-carousel .slide{transition:none}}
/* Controls: bottom-right on desktop (clear of the headline and byline), top-right under the header on phones */
.hc-controls{left:auto;right:max(6%,72px);bottom:96px}
@media(max-width:760px){.hc-controls{position:relative;left:auto;right:auto;top:auto;bottom:auto;justify-self:start;margin-top:20px}}
.photo.has-img img{object-position:50% 30%}
.avatar.has-img{overflow:hidden;padding:0;background:none;box-shadow:0 0 0 2px var(--accent)}
.avatar.has-img img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
.avatar.has-img{border-radius:50%}
