/* Drennan Hero Banners – front end (v1.0.5) */
.dh-hero{--dh-accent:#2fe0dc;--dh-accent-rgb:47,224,220;--dh-on-accent:#05201f;position:relative;overflow:hidden;background:#06090a;color:#fff;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;isolation:isolate}
.dh-hero *,.dh-hero *::before,.dh-hero *::after{box-sizing:border-box}
.dh-bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
.dh-glow{position:absolute;left:52%;top:-10%;width:60%;height:120%;background:radial-gradient(closest-side,rgba(var(--dh-accent-rgb),.3),rgba(var(--dh-accent-rgb),.08) 55%,transparent)}
.dh-glow2{position:absolute;left:-14%;top:50%;width:36%;aspect-ratio:1;background:radial-gradient(closest-side,rgba(214,92,32,.2),transparent)}
.dh-hero--specialist .dh-glow2,.dh-hero--esox .dh-glow2{background:radial-gradient(closest-side,rgba(var(--dh-accent-rgb),.1),transparent)}

.dh-inner{max-width:1200px;margin:0 auto;padding:clamp(32px,6vw,64px) 20px clamp(28px,4vw,48px);display:flex;flex-direction:column;gap:24px}
.dh-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.dh-brand{display:flex;align-items:center;flex-wrap:wrap;gap:20px;position:relative;z-index:2}
.dh-logo{display:block;height:70px;width:auto;max-width:260px;object-fit:contain}
.dh-divider{width:1px;height:44px;background:rgba(255,255,255,.18)}
.dh-tagline{font-size:20px;font-weight:800;letter-spacing:-.3px}

.dh-slides{display:grid}
.dh-slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:clamp(24px,5vw,80px);align-items:center;animation:dh-in .45s ease both}
.dh-slide[hidden]{display:none}
@keyframes dh-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

.dh-copy{display:flex;flex-direction:column;gap:20px;min-width:0;position:relative;z-index:2}
.dh-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.dh-badge{background:var(--dh-accent);color:var(--dh-on-accent);font-size:12px;font-weight:800;letter-spacing:1px;padding:5px 10px;border-radius:12px;text-transform:uppercase}
.dh-hero--home .dh-badge{background:#f26a1b;color:#fff}
.dh-cat{font-size:14px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--dh-accent)}
.dh-hero .dh-title{margin:0;font-size:clamp(34px,5vw,64px);line-height:1.02;font-weight:900;letter-spacing:-.03em;color:#fff;text-wrap:balance}
.dh-blurb{margin:0;font-size:18px;line-height:1.5;color:#a9b6b7;max-width:34em}
.dh-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.dh-hero .dh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 24px;border-radius:25px;font-weight:700;font-size:15px;text-decoration:none;transition:filter .15s,background .15s}
.dh-hero .dh-btn--primary{background:var(--dh-btn,var(--dh-accent));color:var(--dh-on-btn,var(--dh-on-accent))}
.dh-hero .dh-btn--primary:hover{filter:brightness(1.1);color:var(--dh-on-btn,var(--dh-on-accent))}
.dh-hero .dh-btn--ghost{border:1px solid rgba(255,255,255,.16);background:rgba(20,26,28,.8);color:#fff}
.dh-hero .dh-btn--ghost:hover{background:rgba(40,48,50,.9);color:#fff}

/* Product panel with water rings centred on it; ripples spread out behind the panel */
.dh-stage{--dh-u:1;position:relative;justify-self:end;width:100%;max-width:420px;aspect-ratio:1}
.dh-ripples{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:0}
.dh-ripples i{position:absolute;left:0;top:0;border-radius:50%;transform:translate(-50%,-50%);border:1px solid rgba(var(--dh-accent-rgb),.4)}
.dh-r1{width:calc(520px*var(--dh-u));height:calc(176px*var(--dh-u))}
.dh-r2{width:calc(740px*var(--dh-u));height:calc(256px*var(--dh-u));border-color:rgba(var(--dh-accent-rgb),.3)!important}
.dh-r3{width:calc(1000px*var(--dh-u));height:calc(350px*var(--dh-u));border-color:rgba(var(--dh-accent-rgb),.22)!important}
.dh-r4{width:calc(1320px*var(--dh-u));height:calc(464px*var(--dh-u));border-color:rgba(var(--dh-accent-rgb),.15)!important}
.dh-r5{width:calc(1720px*var(--dh-u));height:calc(600px*var(--dh-u));border-color:rgba(var(--dh-accent-rgb),.1)!important}
.dh-r6{width:calc(2200px*var(--dh-u));height:calc(770px*var(--dh-u));border-color:rgba(var(--dh-accent-rgb),.06)!important}
.dh-wave{width:calc(440px*var(--dh-u));height:calc(150px*var(--dh-u));border-width:1.5px!important;border-color:rgba(var(--dh-accent-rgb),.65)!important;opacity:0;animation:dh-ripple 9s linear infinite}
.dh-w2{animation-delay:-2.25s}.dh-w3{animation-delay:-4.5s}.dh-w4{animation-delay:-6.75s}
@keyframes dh-ripple{0%{transform:translate(-50%,-50%) scale(1);opacity:0}8%{opacity:.8}100%{transform:translate(-50%,-50%) scale(5);opacity:0}}

.dh-media{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:28px;background:rgba(12,20,21,.78);border:1px solid rgba(var(--dh-accent-rgb),.3);overflow:hidden}
.dh-media img{width:100%;height:100%;object-fit:contain;padding:24px}
.dh-count{position:absolute;right:16px;top:16px;z-index:2;font-size:13px;font-weight:700;background:rgba(6,9,10,.8);padding:6px 12px;border-radius:14px;color:#e8f6f6}

/* Controls. .dh-hero in front so the theme's default (pink) button style can't override them */
.dh-controls{display:flex;align-items:center;gap:12px;position:relative;z-index:2}
.dh-hero .dh-arrow,.dh-hero .dh-pause,.dh-hero .dh-tab{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);background:rgba(20,26,28,.8);color:#fff;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s,color .15s}
.dh-hero .dh-arrow,.dh-hero .dh-pause{flex-shrink:0;width:50px;height:50px;border-radius:50%}
.dh-hero .dh-controls .dh-pause:focus,.dh-hero .dh-controls .dh-pause:active,.dh-hero .dh-controls .dh-tab:focus,.dh-hero .dh-controls .dh-tab:active,.dh-hero .dh-controls .dh-prev:focus,.dh-hero .dh-controls .dh-prev:active{background:rgba(20,26,28,.8)}
.dh-hero .dh-controls .dh-pause:hover,.dh-hero .dh-controls .dh-tab:hover,.dh-hero .dh-controls .dh-prev:hover{background:rgba(40,48,50,.9);color:#fff}
.dh-hero .dh-controls .dh-tab:focus,.dh-hero .dh-controls .dh-tab:active,.dh-hero .dh-controls .dh-tab:hover,.dh-hero .dh-controls .dh-pause:focus,.dh-hero .dh-controls .dh-pause:active,.dh-hero .dh-controls .dh-pause:hover{border-color:rgba(255,255,255,.16)}
.dh-hero .dh-controls .dh-prev,.dh-hero .dh-controls .dh-prev:focus,.dh-hero .dh-controls .dh-prev:active,.dh-hero .dh-controls .dh-prev:hover{border-color:var(--dh-arrow,rgba(255,255,255,.16));color:var(--dh-arrow,#fff)}
.dh-hero .dh-controls .dh-next,.dh-hero .dh-controls .dh-next:focus,.dh-hero .dh-controls .dh-next:active,.dh-hero .dh-controls .dh-next:hover{background:var(--dh-arrow,var(--dh-accent));border-color:var(--dh-arrow,var(--dh-accent));color:var(--dh-on-arrow,var(--dh-on-accent))}
.dh-hero .dh-controls .dh-next:hover{filter:brightness(1.1)}
.dh-hero .dh-arrow svg,.dh-hero .dh-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4}
.dh-hero .dh-pause .i-play{display:none;fill:currentColor;stroke:none}
.dh-hero .dh-pause.is-paused .i-play{display:block}.dh-hero .dh-pause.is-paused .i-pause{display:none}
.dh-tabs{flex:1;min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px}
.dh-hero .dh-tab{position:relative;min-width:0;height:50px;padding:0 20px;border-radius:25px;overflow:hidden;color:#a9b6b7}
.dh-hero .dh-tab.is-active,.dh-hero .dh-controls .dh-tab.is-active:focus,.dh-hero .dh-controls .dh-tab.is-active:active,.dh-hero .dh-controls .dh-tab.is-active:hover{color:#fff;border-color:rgba(var(--dh-accent-rgb),.6)}
.dh-hero .dh-tab:focus-visible,.dh-hero .dh-arrow:focus-visible,.dh-hero .dh-pause:focus-visible,.dh-hero .dh-btn:focus-visible{outline:2px solid var(--dh-accent);outline-offset:3px}
.dh-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:transparent}
.dh-bar span{display:block;height:100%;width:0;background:var(--dh-accent)}
.dh-tab.is-active .dh-bar span{width:100%}
.dh-hero.is-playing .dh-tab.is-active .dh-bar span{width:0;animation:dh-fill var(--dh-interval,6s) linear forwards}
@keyframes dh-fill{to{width:100%}}
.dh-tab-name{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dh-tab.is-active .dh-tab-name{font-weight:700}

/* Tablet: smaller panel and rings */
@media (max-width:1100px){
	.dh-slide{grid-template-columns:minmax(0,1fr) 360px}
	.dh-stage{--dh-u:.85}
}

/* Phone: everything centred, product on top, dots instead of name buttons */
@media (max-width:900px){
	.dh-inner{gap:16px;padding-top:20px}
	.dh-glow{left:-20%;top:0;width:140%;height:60%}
	.dh-brand{justify-content:center;text-align:center}
	.dh-logo{height:54px}
	.dh-tagline{font-size:17px}
	.dh-slide{grid-template-columns:1fr;gap:12px;justify-items:center;text-align:center}
	.dh-stage{--dh-u:.6;justify-self:center;max-width:260px;margin:8px 0 12px}
	.dh-media{border-radius:22px}
	.dh-media img{padding:16px}
	.dh-count{right:10px;top:10px;font-size:12px;padding:4px 10px}
	.dh-copy{align-items:center;gap:16px;width:100%}
	.dh-kicker{justify-content:center}
	.dh-hero .dh-title{font-size:clamp(30px,9vw,40px)}
	.dh-blurb{font-size:16px}
	.dh-ctas{flex-direction:column;width:100%;max-width:400px}
	.dh-hero .dh-btn{width:100%}
	.dh-controls{justify-content:center;gap:14px;margin-top:8px}
	.dh-tabs{flex:0 0 auto;display:flex;gap:2px}
	.dh-hero .dh-controls .dh-tab,.dh-hero .dh-controls .dh-tab:hover,.dh-hero .dh-controls .dh-tab:focus,.dh-hero .dh-controls .dh-tab:active{width:22px;height:44px;padding:0;border:0;background:transparent;overflow:visible;transition:width .2s}
	.dh-hero .dh-controls .dh-tab.is-active{width:38px}
	.dh-tab-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
	.dh-bar{position:static;width:8px;height:8px;border-radius:4px;background:rgba(255,255,255,.3)}
	.dh-tab.is-active .dh-bar{width:28px;background:rgba(var(--dh-accent-rgb),.35)}
	.dh-bar span{border-radius:4px}
	.dh-hero .dh-arrow,.dh-hero .dh-pause{width:48px;height:48px}
}
@media (prefers-reduced-motion:reduce){
	.dh-wave{display:none}
	.dh-slide{animation:none}
	.dh-hero.is-playing .dh-tab.is-active .dh-bar span{animation:none;width:100%}
}


/* Social icons (Instagram / Facebook / YouTube) beside the buttons */
.dh-socials{display:inline-flex;align-items:center;gap:10px}
.dh-hero .dh-soc{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);color:#fff;transition:color .2s,border-color .2s,background .2s}
.dh-soc svg{width:20px;height:20px;display:block}
.dh-hero .dh-soc:hover,.dh-hero .dh-soc:focus-visible{color:var(--dh-accent);border-color:var(--dh-accent);background:rgba(var(--dh-accent-rgb),.08)}

/* Range logo sits in the space to the left of the product image, lower down (Specialist / E-Sox) */
.dh-slide:has(> .dh-brand){position:relative}
.dh-slide > .dh-brand{position:absolute;right:calc(420px + clamp(24px,4vw,56px));bottom:16%;z-index:2;margin:0;justify-content:center;pointer-events:none}
@media (max-width:1100px){
  .dh-slide > .dh-brand{right:calc(360px + 28px)}
  .dh-slide > .dh-brand .dh-logo{height:56px}
}
@media (max-width:900px){
  .dh-socials{justify-content:center;width:100%}
  .dh-slide:has(> .dh-brand) > .dh-copy,.dh-slide:has(> .dh-brand) > .dh-stage{grid-column:auto;grid-row:auto}
  .dh-slide > .dh-brand{position:static;grid-column:auto;grid-row:auto;justify-self:center;max-width:260px;margin:0}
  .dh-slide > .dh-brand .dh-logo{height:54px}
}


/* Phone: logo, then product image, then title and buttons */
@media (max-width:900px){
  .dh-slide > .dh-brand{order:-2}
  .dh-slide > .dh-stage{order:-1;margin:0 0 4px}
}
