/* Homepage-only carousel: the approved site frame, copy and colours stay in place. */
.hero.hf-carousel{isolation:isolate;overflow:hidden;touch-action:pan-y pinch-zoom}
.hero.hf-carousel::before{display:none}
.hf-carousel-track{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.hf-carousel-track::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,38,58,.88) 0%,rgba(6,38,58,.68) 30%,rgba(6,38,58,.24) 60%,rgba(6,38,58,.03) 100%);z-index:1}
.hf-carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.hf-carousel-slide:first-child{opacity:1}
.hf-carousel[data-hf-ready="true"] .hf-carousel-slide{opacity:0}
.hf-carousel[data-hf-ready="true"] .hf-carousel-slide.is-active{opacity:1}
.hf-carousel-slide>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:70% center}
.hero.hf-carousel>.container{position:relative;z-index:2}
.hero.hf-carousel>.hf-carousel-control-frame{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:3;display:flex;justify-content:flex-end;pointer-events:none}
.hero.hf-carousel>[data-hf-controls][hidden]{display:none}
.hf-carousel-controls{display:flex;align-items:center;gap:6px;pointer-events:auto}
.hf-carousel-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0;border:0;border-radius:3px;background:rgba(5,34,53,.76);color:#fff;font:inherit;line-height:1;cursor:pointer;transition:background-color .15s}
.hf-carousel-button>span{font-size:32px;line-height:1;transform:translateY(-1px)}
.hf-carousel-button:hover{background:var(--teal)}
.hf-carousel-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hf-carousel-pause{min-width:72px;padding:0 14px;font-size:13px;font-weight:700}
.hf-carousel-dots{display:flex;gap:0}
.hf-carousel-dot{background:transparent}
.hf-carousel-dot::before{content:"";display:block;width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.5)}
.hf-carousel-dot[aria-pressed="true"]::before{background:#fff;width:12px;height:12px}
.hf-carousel-dot:hover{background:rgba(5,34,53,.65)}
.hf-carousel-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){
 .hero.hf-carousel{min-height:0;display:block;padding-top:220px;background-image:none!important;background-color:var(--navy)}
 .hf-carousel-track{bottom:auto;height:220px}
 .hf-carousel-track::after{background:linear-gradient(180deg,rgba(6,38,58,0) 73%,var(--navy) 100%)}
 .hf-carousel-slide>img{object-position:68% center}
 .hero.hf-carousel .hero-copy{padding:22px 0 30px}
 .hero.hf-carousel.hf-carousel--multiple .hero-copy{padding-bottom:84px}
 .hero.hf-carousel .eyebrow{font-size:11px;margin-bottom:18px;max-width:250px}
 .hero.hf-carousel .eyebrow::after{margin-top:10px}
 .hero.hf-carousel h1{font-size:clamp(30px,8.5vw,38px);line-height:1.09;letter-spacing:-.03em;margin-bottom:16px}
 .hero.hf-carousel .hero-description{font-size:16px;line-height:1.6;max-width:none;margin-bottom:22px}
 .hero.hf-carousel .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:none}
 .hero.hf-carousel .hero-actions .btn{font-size:13px;min-height:48px;padding:12px 10px;gap:8px}
 .hero.hf-carousel>.hf-carousel-control-frame{bottom:18px;justify-content:center}
 .hf-carousel-controls{gap:5px}
}
@media(prefers-reduced-motion:reduce){.hf-carousel-slide,.hf-carousel-button{transition:none}}
@media print{.hf-carousel-control-frame{display:none!important}.hf-carousel-track{display:none}.hero.hf-carousel{padding-top:0;min-height:0;background:#fff!important;color:#12334a}}
