/* Rotating-background hero (HUB-US-071; upgrade v2 §5, option E). Builds on the photo hero of
   visual.css (.hero.photo-hero: navy gradient, left-to-right scrim, photograph on the right).
   The page h1 sits above in small type; each slide's own heading (large), line and buttons fill the
   main text area; small dots and the pause/play control sit below. No caption card. */
.rotating-hero .hero-slides{position:absolute;inset:0 0 0 40%;z-index:-1;overflow:hidden}
.rotating-hero .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity .9s ease;filter:saturate(.95)}
.rotating-hero .hero-slide.is-active{opacity:1}
/* Scrim: the photo hero's left-to-right gradient, held opaque across the whole text column so the
   text keeps at least 4.5:1 over any photograph (HUB-NFR-064). */
.rotating-hero.photo-hero::before{background:linear-gradient(90deg,#06182c 0%,#071a31 50%,#071a31eb 60%,#071a3166 76%,transparent 90%)}
.rotating-hero .hero-inner{display:block}
.rotating-hero .hero-content{max-width:700px;padding:58px 0 50px}
/* Page h1 (Home: the company line) in small type above the slide text. */
.rotating-hero .hero-intro .eyebrow{margin:0 0 6px}
.rotating-hero .hero-intro h1{margin:0;font-size:.95rem;line-height:1.5;letter-spacing:0;font-weight:700;color:#d5ebfa;max-width:none}
.rotating-hero .hero-intro h1 .hero-title-name{font-size:.78rem;letter-spacing:.12em;font-weight:850;text-transform:uppercase;color:#85cfff}
.rotating-hero .hero-intro-lead{margin:8px 0 0;max-width:620px;font-size:.92rem;line-height:1.55;color:#d5ebfa}
/* Slide panels share one grid cell, so the hero keeps the height of its longest slide. */
.hero-panels{display:grid;margin-top:22px}
.hero-panel{grid-area:1/1;align-self:start}
.hero-panel[hidden]{display:block;visibility:hidden;opacity:0}
.hero-panel.is-active{opacity:1;transition:opacity .5s ease}
.rotating-hero .hero-slide-title{margin:0;color:#fff;font-size:clamp(2.1rem,4.4vw,4.2rem);line-height:1.06;letter-spacing:-.045em;max-width:700px;overflow-wrap:break-word;hyphens:manual}
.rotating-hero .hero-panel .hero-lead{margin:20px 0 0;color:#d5ebfa;max-width:620px}
.rotating-hero .hero-panel .button-row{margin-top:28px}
/* Enquiry buttons are <button> elements: keep the outline style of the link buttons. */
.rotating-hero button.button-outline{background:transparent;cursor:pointer}
.rotating-hero button.button-outline:hover{background:#ffffff17}
/* Controls below the text: small dots, then pause/play. */
.hero-controls{display:flex;align-items:center;gap:8px;margin-top:30px}
.hero-dots{display:flex;gap:2px}
.hero-dot{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.hero-dot span{display:block;width:8px;height:8px;border-radius:50%;background:#8fa9c4;transition:width .2s,background .2s}
.hero-dot[aria-current="true"] span{width:20px;border-radius:5px;background:#fff}
.hero-dot:hover span{background:#cfe4f7}
.hero-toggle{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid #8fa9c4;background:transparent;color:#fff;cursor:pointer;flex:none}
.hero-toggle:hover{border-color:#fff;background:#ffffff17}
.hero-toggle-icon::before{content:"\275A\275A";font-size:.58rem;letter-spacing:-.05em}
.hero-toggle[data-state="paused"] .hero-toggle-icon::before{content:"\25B6";font-size:.68rem;letter-spacing:0;margin-left:2px}
.hero-toggle:focus-visible,.hero-dot:focus-visible{outline:3px solid #087fe9;outline-offset:2px}
@media(max-width:980px){
  .rotating-hero .hero-slides{inset:0 0 0 20%;opacity:.66}
  .rotating-hero.photo-hero::before{background:linear-gradient(90deg,#08182ff5,#091a30e6 60%,#091a30d6)}
  .rotating-hero .hero-content{padding:56px 0 40px}
}
@media(max-width:680px){
  .rotating-hero .hero-panel .button-row .button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .rotating-hero .hero-slide,.hero-dot span,.hero-panel.is-active{transition:none}
}
