/* Photo-first hero. Scoped to the homepage and loaded after legacy styles. */
.hero-slider{height:var(--editorial-height,780px);min-height:0;max-height:none;background:#f5f8fa;color:#102735;cursor:default}
.hero-slider .slide-content>*{flex-shrink:0}
.hero-slider .hero-slide{background:#f5f8fa;transform:none;transition:opacity .55s ease,visibility .55s ease}
.hero-slider .hero-shade,.hero-slider .hero-orbit,.hero-slider .hero-slide:after,.hero-slider .hero-slide:before{display:none}
.hero-slider .slide-copy h1,.hero-slider .slide-copy p{text-shadow:none}
.hero-slider .hero-photo{position:absolute;left:47%;right:24px;top:24px;bottom:142px;display:flex;align-items:center;justify-content:center;border-radius:24px;overflow:hidden;background:#e7eef2;border:1px solid #dce6eb}
.hero-slider .hero-photo img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none;transform:none}
.hero-slider .hero-photo-empty{background:linear-gradient(135deg,#eaf4fb,#bcd9ea);border-bottom:6px solid #d5232a}
.hero-slider .slide-content{width:min(1440px,92%);height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px;padding:30px 0 150px;position:relative;pointer-events:none}
.hero-slider .slide-copy{width:43%;max-width:580px;padding:0;position:static}
.hero-slider .slide-copy:before{display:none}
.hero-slider .slide-kicker{color:#096dac;font-size:10px;letter-spacing:.12em;gap:12px;line-height:1.6}
.hero-slider .slide-kicker span{flex-shrink:0;width:32px;height:32px;border-color:#bad8e9;color:#096dac}
.hero-slider .slide-copy h1{font-size:clamp(32px,3.35vw,54px);line-height:1.08;letter-spacing:-.045em;color:#102735;margin:20px 0;overflow-wrap:anywhere}
.hero-slider .slide-copy p{font-size:16px;line-height:1.7;color:#526775;margin:0 0 24px;max-width:500px}
.hero-slider .actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.hero-slider a,.hero-slider button{pointer-events:auto}
.hero-slider .hero-button{padding:16px 22px;border-radius:10px;color:#fff;font-size:13px}
.hero-slider .text-link{color:#064978;font-size:12px}
.hero-slider .hero-identity{position:static;align-self:flex-start;justify-self:start;width:43%;max-width:520px;min-width:0;margin:0;display:flex;align-items:center;gap:16px;filter:none;border:0;padding-top:18px;transform:none}
.hero-slider .identity-label{display:none}
.hero-slider .identity-logo{flex:0 0 100px;height:72px;min-height:0;border-radius:10px;padding:10px;background:#fff;border:1px solid #dce6eb}
.hero-slider .identity-logo:after{display:none}
.hero-slider .identity-logo img{max-width:80px;max-height:52px;filter:none}
.hero-slider .identity-logo.logo--light{background:#064978}
.hero-slider .identity-logo.logo--light img{filter:brightness(0) invert(1)}
.hero-slider .identity-logo.logo--dark img{filter:brightness(0)}
.hero-slider .identity-name{display:none}
.hero-slider .identity-facts{height:auto;flex:1;min-width:0;border:0;border-radius:0;background:none;backdrop-filter:none;gap:12px}
.hero-slider .identity-facts>div{padding:0;border:0}
.hero-slider .identity-facts small{color:#657c8a;font-size:8px;line-height:1.5}
.hero-slider .identity-facts strong{color:#173a50;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.hero-slider .hero-controls{bottom:78px;gap:20px;color:#173a50}
.hero-slider .hero-arrows button{border:1px solid #c9d9e3;background:#fff;color:#096dac;border-radius:50%;backdrop-filter:none}
.hero-slider .hero-arrows button:hover{background:#096dac;color:#fff}
.hero-slider .hero-progress{background:#d4e2eb;height:3px}
.hero-slider .hero-progress span{background:#096dac}
.hero-slider .hero-count span{color:#637987}
.hero-slider .hero-tabs{background:#fff;border-top:1px solid #dae5eb;backdrop-filter:none;height:56px}
.hero-slider .hero-tab{border-right:1px solid #e2eaf0;color:#627786}
.hero-slider .hero-tab:hover,.hero-slider .hero-tab.is-active{color:#064978;background:#eaf4fb}
.hero-slider .hero-tab.is-active{box-shadow:inset 0 3px #d5232a}
.hero-slider button:focus-visible,.hero-slider a:focus-visible{outline:3px solid #d5232a;outline-offset:3px}
@media(max-width:900px){
 .hero-slider{height:var(--editorial-height,1060px)}
 .hero-slider .hero-photo{left:4%;right:4%;top:24px;bottom:auto;height:350px;border-radius:18px}
 .hero-slider .slide-content{display:flex;padding:400px 0 145px;justify-content:flex-start;gap:20px}
 .hero-slider .slide-copy,.hero-slider .hero-identity{width:100%;max-width:none;padding-top:0}
 .hero-slider .hero-identity{padding-top:18px}
 .hero-slider .slide-copy h1{font-size:38px;max-width:700px}
 .hero-slider .slide-copy p{max-width:700px}
 .hero-slider .identity-facts{flex:0 1 340px}
}
@media(max-width:600px){
 .hero-slider{height:var(--editorial-height,1130px)}
 .hero-slider .hero-photo{height:245px;top:18px}
 .hero-slider .slide-content{padding-top:288px;gap:20px}
 .hero-slider .slide-copy h1{font-size:32px;line-height:1.13;margin:16px 0}
 .hero-slider .slide-copy p{font-size:15px;line-height:1.65}
 .hero-slider .actions{flex-direction:row;align-items:center;gap:16px}
 .hero-slider .hero-identity{gap:12px}
 .hero-slider .identity-logo{flex-basis:86px;height:68px}
 .hero-slider .identity-logo img{max-width:66px;max-height:48px}
 .hero-slider .identity-facts{grid-template-columns:1fr 1fr;flex:1;gap:8px}
 .hero-slider .hero-progress{display:block}
 .hero-slider .hero-controls{grid-template-columns:auto 1fr auto;gap:12px}
}
@media(prefers-reduced-motion:reduce){.hero-slider .hero-slide{transition:none}}

/* Intrinsic photo layout: all slides share one grid cell, so the tallest
   content sets the slider height without resizing the page on autoplay. */
.hero-slider{height:auto;min-height:0}
.hero-slider .hero-slides{position:relative;inset:auto;display:grid;align-items:stretch}
.hero-slider .hero-slide{position:relative;inset:auto;grid-area:1/1;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px;align-items:center;padding:36px max(4%,calc((100% - 1440px)/2)) 150px;min-height:580px}
.hero-slider .hero-photo{position:static;inset:auto;grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-width:0;margin:0;background:transparent;border:0;border-radius:0;overflow:visible}
.hero-slider .hero-photo img{display:block;width:auto;height:auto;max-width:100%;max-height:620px;object-fit:contain;object-position:center;border-radius:20px}
.hero-slider .hero-photo-empty{min-height:300px;border-radius:20px;background:linear-gradient(135deg,#eaf4fb,#bcd9ea)}
.hero-slider .slide-content{grid-column:1;grid-row:1;width:100%;height:auto;margin:0;padding:0;min-width:0;gap:24px;justify-content:center}
.hero-slider .slide-copy,.hero-slider .hero-identity{width:100%;max-width:none}
@media(max-width:900px){
 .hero-slider .hero-slide{grid-template-columns:minmax(0,1fr);gap:28px;padding:24px 4% 150px;min-height:0;align-content:start}
 .hero-slider .hero-photo{grid-column:1;grid-row:1;height:auto}
 .hero-slider .hero-photo img{max-height:440px}
 .hero-slider .slide-content{grid-column:1;grid-row:2;padding:0;height:auto}
}
@media(max-width:600px){.hero-slider .hero-slide{padding-top:18px;gap:22px}.hero-slider .hero-photo img{max-height:360px;border-radius:14px}}

/* Full-bleed homepage hero: image fills the banner with a half-dark overlay for readable copy. */
.hero-slider{background:#06131d;color:#fff}
.hero-slider .hero-slide{position:relative;display:block;min-height:700px;padding:0;background:#06131d;overflow:hidden}
.hero-slider .hero-photo{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;margin:0;border:0;border-radius:0;overflow:hidden;background:#0b2638}
.hero-slider .hero-photo img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;transform:scale(1.01);border-radius:0;filter:none}
.hero-slider .hero-photo-empty{min-height:0;background:linear-gradient(135deg,#0a2b42,#06131d)}
.hero-slider .hero-shade{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.74) 26%,rgba(0,0,0,.58) 43%,rgba(0,0,0,.28) 58%,rgba(0,0,0,.08) 72%,rgba(0,0,0,0) 100%),linear-gradient(0deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.06) 48%,rgba(0,0,0,.16) 100%)}
.hero-slider .slide-content{position:relative;z-index:3;width:min(1440px,92%);height:700px;margin:0 auto;padding:58px 0 150px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px;pointer-events:none}
.hero-slider .slide-copy{width:min(620px,52%);max-width:620px;color:#fff}
.hero-slider .slide-kicker{color:#cfefff}.hero-slider .slide-kicker span{border-color:rgba(126,216,255,.55);color:#dff5ff;background:rgba(7,92,133,.2)}
.hero-slider .slide-copy h1{color:#fff;font-size:clamp(46px,5.2vw,76px);max-width:760px;text-shadow:0 10px 32px rgba(0,0,0,.38)}
.hero-slider .slide-copy p,.hero-slider .hero-slide-rich{color:rgba(240,248,252,.88);max-width:600px;text-shadow:0 4px 20px rgba(0,0,0,.28)}
.hero-slider .text-link{color:#fff}.hero-slider .text-link:hover{color:#8edcff}
.hero-slider .hero-identity{width:min(620px,52%);max-width:620px;color:#fff}
.hero-slider .identity-facts small{color:#9cc8dc}.hero-slider .identity-facts strong{color:#fff}
.hero-slider .identity-logo{background:rgba(255,255,255,.95);border-color:rgba(255,255,255,.65);box-shadow:0 14px 32px rgba(0,0,0,.2)}
.hero-slider .identity-logo.logo--light{background:rgba(4,46,70,.9)}
.hero-slider .hero-controls{z-index:4;color:#fff}.hero-slider .hero-arrows button{background:rgba(2,17,28,.46);border-color:rgba(255,255,255,.28);color:#fff;backdrop-filter:blur(10px)}.hero-slider .hero-arrows button:hover{background:rgba(255,255,255,.14);color:#fff}.hero-slider .hero-progress{background:rgba(255,255,255,.24)}.hero-slider .hero-progress span{background:#74d3ff}.hero-slider .hero-count span{color:rgba(255,255,255,.62)}
@media(max-width:900px){
 .hero-slider .hero-slide{min-height:760px}
 .hero-slider .hero-photo{inset:0;width:100%;height:100%}
 .hero-slider .hero-photo img{max-height:none}
 .hero-slider .hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.62) 48%,rgba(0,0,0,.18) 100%),linear-gradient(0deg,rgba(0,0,0,.5),rgba(0,0,0,.08) 56%)}
 .hero-slider .slide-content{height:760px;padding:54px 0 150px;justify-content:center}
 .hero-slider .slide-copy,.hero-slider .hero-identity{width:min(700px,88%);max-width:700px}
 .hero-slider .slide-copy h1{font-size:clamp(42px,7vw,64px);max-width:680px}
}
@media(max-width:600px){
 .hero-slider .hero-slide{min-height:720px}
 .hero-slider .hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.54)),linear-gradient(0deg,rgba(0,0,0,.58),rgba(0,0,0,.08) 58%)}
 .hero-slider .slide-content{height:720px;padding:46px 0 135px;justify-content:center}
 .hero-slider .slide-copy,.hero-slider .hero-identity{width:100%;max-width:none}
 .hero-slider .slide-copy h1{font-size:clamp(38px,11vw,52px);line-height:1.04}
 .hero-slider .slide-copy p,.hero-slider .hero-slide-rich{font-size:15px;line-height:1.65}
}


/* Premium floating company dock */
.hero-slider .hero-tabs{
 left:50%;right:auto;bottom:22px;transform:translateX(-50%);
 width:min(1640px,calc(100% - 64px));height:74px;
 padding:7px;gap:6px;
 display:flex;align-items:center;
 border:1px solid rgba(255,255,255,.17);border-radius:22px;
 background:linear-gradient(180deg,rgba(8,31,45,.74),rgba(4,20,31,.68));
 box-shadow:0 22px 55px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.08);
 backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);
 overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:8px;
}
.hero-slider .hero-tabs::-webkit-scrollbar{display:none}
.hero-slider .hero-tab{
 position:relative;flex:1 0 155px;min-width:0;height:60px;
 display:flex;align-items:center;gap:11px;
 padding:0 14px;border:1px solid transparent;border-radius:15px;
 background:transparent;color:rgba(225,239,247,.72);
 text-align:left;cursor:pointer;scroll-snap-align:center;
 transition:transform .24s ease,background .24s ease,border-color .24s ease,color .24s ease,box-shadow .24s ease;
}
.hero-slider .hero-tab span{
 flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;
 border:1px solid rgba(142,218,249,.26);border-radius:999px;
 background:rgba(255,255,255,.055);color:#9fdcf5;
 font:700 9px/1 var(--display);letter-spacing:0;
 transition:background .24s ease,color .24s ease,border-color .24s ease,transform .24s ease;
}
.hero-slider .hero-tab b{
 min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 color:inherit;font:700 10px/1.28 var(--display);letter-spacing:-.01em;
}
.hero-slider .hero-tab:hover:not(.is-active){
 transform:translateY(-1px);color:#fff;
 background:rgba(255,255,255,.085);border-color:rgba(255,255,255,.10);
}
.hero-slider .hero-tab:hover:not(.is-active) span{background:rgba(103,205,245,.14);border-color:rgba(126,216,255,.44);color:#dff6ff}
.hero-slider .hero-tab.is-active{
 transform:translateY(-2px);color:#0b4969;
 background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(235,247,252,.96));
 border-color:rgba(255,255,255,.88);
 box-shadow:0 12px 26px rgba(0,0,0,.22),inset 0 -3px #0b86be;
}
.hero-slider .hero-tab.is-active:after{
 content:"";position:absolute;right:11px;top:10px;width:6px;height:6px;border-radius:999px;
 background:#d5232a;box-shadow:0 0 0 4px rgba(213,35,42,.09);
}
.hero-slider .hero-tab.is-active span{
 color:#fff;background:linear-gradient(135deg,#096dac,#0aa0ca);border-color:transparent;
 box-shadow:0 6px 14px rgba(9,109,172,.25);transform:scale(1.03);
}
.hero-slider .hero-controls{bottom:118px}
@media(max-width:1100px){
 .hero-slider .hero-tabs{width:calc(100% - 36px);bottom:18px}
 .hero-slider .hero-tab{flex-basis:175px}
 .hero-slider .hero-controls{bottom:112px;width:calc(100% - 56px)}
}
@media(max-width:700px){
 .hero-slider .hero-tabs{width:calc(100% - 24px);height:66px;bottom:12px;padding:6px;border-radius:18px;gap:5px}
 .hero-slider .hero-tab{flex:0 0 178px;height:54px;padding:0 12px;border-radius:13px}
 .hero-slider .hero-tab span{flex-basis:26px;width:26px;height:26px}
 .hero-slider .hero-tab b{font-size:9.5px}
 .hero-slider .hero-controls{bottom:94px;width:calc(100% - 30px)}
}
@media(max-width:430px){
 .hero-slider .hero-tabs{width:calc(100% - 18px);bottom:9px}
 .hero-slider .hero-tab{flex-basis:164px}
 .hero-slider .hero-controls{bottom:91px}
}
@media(prefers-reduced-motion:reduce){.hero-slider .hero-tab,.hero-slider .hero-tab span{transition:none}}


/* Hero bottom safe-zone: prevents identity, slider controls and company dock from overlapping. */
.hero-slider{
 --hero-dock-bottom:22px;
 --hero-dock-height:74px;
 --hero-utility-gap:18px;
 --hero-utility-bottom:calc(var(--hero-dock-bottom) + var(--hero-dock-height) + var(--hero-utility-gap));
}
.hero-slider .slide-content{
 padding-bottom:205px;
}
.hero-slider .hero-identity{
 width:min(500px,44%);
 max-width:500px;
 margin-top:4px;
 padding:9px 11px;
 gap:12px;
 border:1px solid rgba(255,255,255,.13);
 border-radius:18px;
 background:linear-gradient(135deg,rgba(5,27,40,.48),rgba(5,37,55,.28));
 box-shadow:0 18px 42px rgba(0,0,0,.16);
 backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.hero-slider .hero-identity .identity-logo{
 flex:0 0 88px;height:64px;padding:8px;border-radius:12px;
 box-shadow:none;
}
.hero-slider .hero-identity .identity-logo img{max-width:72px;max-height:48px}
.hero-slider .hero-identity .identity-facts{gap:18px}
.hero-slider .hero-identity .identity-facts>div{min-width:0}
.hero-slider .hero-identity .identity-facts small{font-size:8px;margin-bottom:5px}
.hero-slider .hero-identity .identity-facts strong{font-size:11px;white-space:normal}
.hero-slider .hero-controls{
 left:auto;right:max(4%,calc((100% - 1440px)/2));
 bottom:var(--hero-utility-bottom);transform:none;
 width:min(860px,calc(50% - 34px));
 min-width:0;
 padding:8px 12px;
 gap:14px;
 border:1px solid rgba(255,255,255,.12);
 border-radius:18px;
 background:linear-gradient(180deg,rgba(6,29,43,.42),rgba(3,18,28,.32));
 box-shadow:0 16px 38px rgba(0,0,0,.14);
 backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.hero-slider .hero-arrows button{width:40px;height:40px;border-radius:12px}
.hero-slider .hero-progress{min-width:80px;height:3px;border-radius:999px}
.hero-slider .hero-count{justify-content:flex-end;min-width:68px;white-space:nowrap}

@media(max-width:1150px){
 .hero-slider{--hero-dock-bottom:18px;--hero-dock-height:74px;--hero-utility-gap:16px}
 .hero-slider .slide-content{padding-bottom:230px}
 .hero-slider .hero-identity{width:min(520px,72%);max-width:520px}
 .hero-slider .hero-controls{
  left:50%;right:auto;transform:translateX(-50%);
  width:calc(100% - 56px);bottom:var(--hero-utility-bottom);
 }
}
@media(max-width:700px){
 .hero-slider{--hero-dock-bottom:12px;--hero-dock-height:66px;--hero-utility-gap:12px}
 .hero-slider .hero-slide{min-height:790px}
 .hero-slider .slide-content{height:790px;padding-bottom:220px}
 .hero-slider .hero-identity{
  width:100%;max-width:100%;padding:7px 9px;border-radius:15px;gap:9px;
 }
 .hero-slider .hero-identity .identity-logo{flex-basis:70px;height:54px;padding:6px}
 .hero-slider .hero-identity .identity-logo img{max-width:58px;max-height:42px}
 .hero-slider .hero-identity .identity-facts{gap:9px}
 .hero-slider .hero-controls{
  width:calc(100% - 24px);padding:6px 8px;border-radius:15px;gap:9px;
  bottom:var(--hero-utility-bottom);
 }
 .hero-slider .hero-arrows button{width:36px;height:36px;border-radius:10px}
 .hero-slider .hero-count{min-width:55px}
}
@media(max-width:430px){
 .hero-slider{--hero-dock-bottom:9px;--hero-dock-height:66px;--hero-utility-gap:10px}
 .hero-slider .hero-slide{min-height:820px}
 .hero-slider .slide-content{height:820px;padding-bottom:215px}
 .hero-slider .hero-identity .identity-facts strong{font-size:10px}
 .hero-slider .hero-controls{width:calc(100% - 18px)}
}


/* Simplified homepage hero navigation: remove lower control shelf, keep drag/swipe, move arrows to top-right, and reposition company dock. */
.hero-slider,
.hero-slider .hero-slide{cursor:grab}
.hero-slider.is-dragging,
.hero-slider.is-dragging .hero-slide{cursor:grabbing}
.hero-slider .slide-content{padding-bottom:170px}
.hero-slider .hero-controls{
 top:112px;bottom:auto;left:auto;right:max(3.6%,calc((100% - 1440px)/2));
 transform:none;width:auto;min-width:0;display:flex;align-items:center;justify-content:flex-end;
 padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.hero-slider .hero-progress,
.hero-slider .hero-count{display:none !important}
.hero-slider .hero-arrows{display:flex;gap:10px}
.hero-slider .hero-arrows button{width:48px;height:48px;border-radius:16px;background:rgba(4,23,35,.48);border:1px solid rgba(255,255,255,.22);box-shadow:0 16px 34px rgba(0,0,0,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.hero-slider .hero-arrows button:hover{background:rgba(9,109,172,.72);border-color:rgba(255,255,255,.34)}
.hero-slider .hero-tabs{
 left:50%;right:auto;bottom:28px;transform:translateX(-50%);
 width:min(1360px,calc(100% - 88px));height:72px;padding:7px;
 background:linear-gradient(180deg,rgba(3,18,29,.84),rgba(5,26,39,.76));
 border:1px solid rgba(255,255,255,.14);border-radius:24px;
 box-shadow:0 26px 56px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);
 backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);
}
.hero-slider .hero-tab{flex:1 0 148px;height:58px}
.hero-slider .hero-tab.is-active{transform:translateY(-1px)}
@media(max-width:1150px){
 .hero-slider .slide-content{padding-bottom:182px}
 .hero-slider .hero-controls{top:104px;right:28px}
 .hero-slider .hero-tabs{width:calc(100% - 52px);bottom:22px}
}
@media(max-width:700px){
 .hero-slider .hero-slide{min-height:780px}
 .hero-slider .slide-content{height:780px;padding-bottom:162px}
 .hero-slider .hero-controls{top:92px;right:14px}
 .hero-slider .hero-arrows button{width:42px;height:42px;border-radius:14px}
 .hero-slider .hero-tabs{width:calc(100% - 22px);height:66px;bottom:12px;padding:6px;border-radius:18px}
 .hero-slider .hero-tab{flex:0 0 176px;height:54px}
}
@media(max-width:430px){
 .hero-slider .hero-slide{min-height:805px}
 .hero-slider .slide-content{height:805px;padding-bottom:156px}
 .hero-slider .hero-controls{top:84px;right:9px}
 .hero-slider .hero-tabs{width:calc(100% - 16px);bottom:9px}
}


/* Position hero arrows beside the company dock on desktop. */
.hero-slider .hero-tabs{
 left:max(18px,calc((100% - 1440px)/2));
 right:max(126px,calc((100% - 1440px)/2));
 width:auto;
 transform:none;
 bottom:28px;
}
.hero-slider .hero-controls{
 top:auto;
 bottom:40px;
 right:max(24px,calc((100% - 1440px)/2));
 left:auto;
 transform:none;
}
@media(max-width:1150px){
 .hero-slider .hero-tabs{left:26px;right:126px;width:auto;bottom:22px}
 .hero-slider .hero-controls{top:auto;bottom:34px;right:28px}
}
@media(max-width:900px){
 .hero-slider .hero-tabs{left:18px;right:18px;width:auto;bottom:14px}
 .hero-slider .hero-controls{right:16px;bottom:88px}
}
@media(max-width:700px){
 .hero-slider .hero-tabs{left:11px;right:11px;bottom:12px}
 .hero-slider .hero-controls{right:14px;bottom:86px}
}
@media(max-width:430px){
 .hero-slider .hero-tabs{left:8px;right:8px;bottom:9px}
 .hero-slider .hero-controls{right:9px;bottom:84px}
}


/* Shared navigation row: the deck and arrows reserve separate grid columns. */
.hero-slider{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.hero-slider .hero-photo img{user-select:none;-webkit-user-drag:none}
.hero-slider.is-dragging .hero-stage,
.hero-slider.is-dragging .slide-content{pointer-events:none}
.hero-slider .hero-navigation{
  position:absolute;z-index:8;left:50%;right:auto;bottom:28px;
  transform:translateX(-50%);width:min(1440px,calc(100% - 48px));
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;
}
.hero-slider .hero-navigation .hero-tabs{
  position:relative;inset:auto;transform:none;
  width:100%;max-width:100%;min-width:0;height:auto;min-height:74px;
  margin:0;padding:7px;overflow-x:auto;overflow-y:hidden;
}
.hero-slider .hero-navigation .hero-controls{
  position:static;inset:auto;transform:none;
  width:auto;min-width:0;margin:0;padding:0;justify-self:end;
  display:flex;align-items:center;
}
.hero-slider .hero-navigation .hero-arrows{display:flex;flex-wrap:nowrap;gap:12px}
.hero-slider .hero-navigation .hero-arrows button{
  flex:0 0 54px;width:54px;height:54px;margin:0;padding:0;
  display:grid;place-items:center;line-height:1;border-radius:18px;
}
.hero-slider .hero-navigation .hero-tab{height:58px}
@media(max-width:1150px){.hero-slider .hero-navigation{bottom:22px}}
@media(max-width:900px){
  .hero-slider .hero-navigation{width:calc(100% - 32px);bottom:14px;gap:12px}
  .hero-slider .hero-navigation .hero-tabs{min-height:68px;padding:6px}
  .hero-slider .hero-navigation .hero-tab{height:54px}
  .hero-slider .hero-navigation .hero-arrows{gap:8px}
  .hero-slider .hero-navigation .hero-arrows button{flex-basis:44px;width:44px;height:44px;border-radius:14px}
}
@media(max-width:600px){
  .hero-slider .hero-navigation{width:calc(100% - 20px);bottom:12px;gap:10px}
}
@media(max-width:430px){.hero-slider .hero-navigation{width:calc(100% - 16px);bottom:9px;gap:8px}}


/* Compact short company names in the desktop company deck.
   Keeps Silk Spoon and Alamsons close together without changing the rest of the dock. */
@media (min-width: 901px) {
  .hero-slider .hero-navigation .hero-tab.hero-tab--compact {
    flex: 0 0 112px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
