/* Arris Hero 2.0 — the "open" layout: big two-weight headline left, one real part large in the middle, thin spec column
   right, product strip below. Muller (site webfont), Arris Blue #387AFF, section grey rgb(239,241,242).
   All classes prefixed ah-. The section lives inside the theme's fullPage.js, so on desktop it must fit in 100vh.
   RULE: every responsive override lives in the media blocks at the END of this file; never append rules after them. */

/* --- neutralise the theme's video-hero rules on the first section --- */
.arris-hero-on .hp2-hero.ah-section,
.arris-hero-on .hp2-hero.ah-section.fp-auto-height{
  position:relative!important;width:100%!important;height:100vh!important;min-height:0!important;
  margin:0!important;padding:0!important;background:#fff!important;overflow:hidden;display:block!important;z-index:10!important;
}
.arris-hero-on .hp2-hero.ah-section::before,
.arris-hero-on .hp2-hero.ah-section::after{content:none!important;animation:none!important;display:none!important}
.arris-hero-on .hp2-hero.ah-section .fp-tableCell{height:auto!important;display:block}
/* the fixed side menu must not swallow clicks on the strip */
.arris-hero-on .homepage-nav{pointer-events:none}
.arris-hero-on .homepage-nav a{pointer-events:auto}

/* --- home nav: white bar with black type while the hero is the active section --- */
.arris-hero-on .main-nav-home .ah-logo-black{display:none}
.arris-hero-on.fp-viewing-1 .main-nav-home,
.arris-hero-on.fp-responsive .main-nav-home{background-color:#fff!important;color:#000}
.arris-hero-on.fp-viewing-1 .main-nav-home .arris-nav-link,
.arris-hero-on.fp-responsive .main-nav-home .arris-nav-link{color:#000}
.arris-hero-on.fp-viewing-1 .main-nav-home .arris-nav-link:hover,
.arris-hero-on.fp-responsive .main-nav-home .arris-nav-link:hover{color:#387aff}
.arris-hero-on.fp-viewing-1 .main-nav-home .ah-logo-white,
.arris-hero-on.fp-responsive .main-nav-home .ah-logo-white{display:none}
.arris-hero-on.fp-viewing-1 .main-nav-home .ah-logo-black,
.arris-hero-on.fp-responsive .main-nav-home .ah-logo-black{display:block}
.arris-hero-on.fp-viewing-1 .main-nav-home .main-nav-join .wpml-ls a,
.arris-hero-on.fp-responsive .main-nav-home .main-nav-join .wpml-ls a{color:#000;border-color:#000}

/* --- frame --- */
.ah-wrap{box-sizing:border-box;height:100vh;padding-top:100px;padding-bottom:34px;display:flex;flex-direction:column;
  font-family:"Muller",Helvetica,Arial,sans-serif;font-weight:300;color:#000;line-height:1.45;-webkit-font-smoothing:antialiased}
.ah-wrap *,.ah-wrap *::before,.ah-wrap *::after{box-sizing:border-box}
.ah-wrap a{text-decoration:none;color:inherit}
.ah-wrap button{font:inherit}
.ah-wrap h1,.ah-wrap h3,.ah-wrap p,.ah-wrap ul{margin:0;padding:0}

.ah-btn{display:inline-flex;align-items:center;justify-content:center;background:#387aff;color:#fff;font-size:12px;font-weight:300;letter-spacing:3px;text-transform:uppercase;line-height:1;padding:16px 28px;border:0;border-radius:0;cursor:pointer;white-space:nowrap;transition:background .2s}
.ah-btn:hover{background:#2a63d9;color:#fff}
.ah-arrow{color:#387aff;font-weight:400;font-size:17px;display:inline-flex;align-items:center;gap:8px}
.ah-arrow:hover{color:#2a63d9}
.ah-btn:focus-visible,.ah-arrow:focus-visible,.ah-tile:focus-visible,.ah-dot:focus-visible{outline:2px solid #387aff;outline-offset:3px}

/* --- hero --- */
.ah-hero{position:relative;flex:1 1 auto;min-height:0;background:#eff1f2;overflow:hidden;display:flex;flex-direction:column}
.ah-col{flex:1 1 auto;min-height:0;width:100%;max-width:1560px;margin:0 auto;padding:28px clamp(16px,3vw,40px) 44px;
  display:grid;grid-template-columns:minmax(280px,430px) minmax(0,1fr) minmax(220px,280px);gap:clamp(16px,2vw,32px);align-items:center}
.ah-h1{margin:0 0 18px;font-size:clamp(36px,4.6vw,72px);line-height:1.02;letter-spacing:-.02em;font-weight:700;font-family:inherit;color:#000}
.ah-h1 span{display:block;font-weight:300}
.ah-wrap p.ah-lead{margin:0 0 12px;font-size:clamp(16px,1.25vw,19px);line-height:1.45;font-weight:400;color:#000;max-width:34ch}
.ah-wrap p.ah-sub{margin:0 0 26px;font-size:clamp(14px,1.05vw,16px);line-height:1.45;color:#7a7f85;max-width:36ch}
.ah-cta{display:flex;align-items:center;gap:24px;flex-wrap:wrap}

.ah-stage{position:relative;min-height:0;height:100%}
.ah-part{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);justify-items:center;align-items:center;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.ah-part.on{opacity:1;visibility:visible;transition:opacity .6s ease}
.ah-part img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 330px);object-fit:contain;filter:drop-shadow(0 30px 34px rgba(20,24,30,.22)) drop-shadow(0 4px 6px rgba(20,24,30,.12));transform:translateY(8px);transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.ah-part.on img{transform:translateY(0)}
.ah-part img.tall{height:calc(100vh - 330px);width:auto}
.ah-part img.wide{width:100%}
.ah-part img.big{width:100%;max-width:760px}

.ah-spec{position:relative;min-height:300px;height:100%}
.ah-specs{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.ah-specs.on{opacity:1;visibility:visible;transition:opacity .6s ease}
.ah-wrap p.ah-eyebrow{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#7a7f85;margin:0 0 4px;padding-bottom:10px;position:relative}
.ah-wrap p.ah-eyebrow::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:1px;background:#387aff}
.ah-specs ul{list-style:none}
.ah-specs li{font-size:clamp(17px,1.4vw,22px);line-height:1.25;font-weight:400;padding:14px 0;border-bottom:1px solid #d9dde1;color:#000}
.ah-specs li:last-child{border-bottom:0}
.ah-stat{padding:11px 0;border-bottom:1px solid #d9dde1}
.ah-stat:last-of-type{border-bottom:0}
.ah-stat b{display:block;font-size:clamp(32px,3.2vw,52px);line-height:1;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#000}
.ah-stat b .ar{font-weight:300;font-size:.7em;vertical-align:middle;margin:0 .12em}
.ah-stat small{display:block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#7a7f85;margin-top:7px;line-height:1.4}
.ah-flags{display:grid;gap:10px;padding-top:14px}
.ah-flag{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:400;line-height:1.3;color:#000}
.ah-flag svg{width:22px;height:22px;flex:none;fill:#387aff}

.ah-rail{position:absolute;left:0;right:0;bottom:16px;display:flex;gap:8px;max-width:1560px;margin:0 auto;padding:0 clamp(16px,3vw,40px);z-index:2}
.ah-dot{width:34px;height:4px;border:0;border-radius:0;background:rgba(0,0,0,.14);cursor:pointer;padding:0;position:relative;overflow:hidden}
.ah-dot span{position:absolute;inset:0;background:#387aff;transform:scaleX(0);transform-origin:left}
.ah-dot.on span{transform:scaleX(1);transition:transform var(--ah-dur,6s) linear}
.ah-paused .ah-dot.on span{transition:none;transform:scaleX(1)}

/* --- product strip --- */
.ah-strip{flex:0 0 auto;background:#fff;border-bottom:1px solid #e1e4e7}
.ah-stripcol{max-width:1300px;width:100%;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr)}
.ah-tile{display:flex;gap:18px;align-items:center;padding:18px 28px;border:0;border-right:1px solid #e1e4e7;min-width:0;background:none;text-align:left;cursor:pointer;color:inherit;transition:background .3s;border-radius:0;font-family:inherit}
.ah-tile:last-child{border-right:0}
.ah-tile.on{background:#e8effd}
.ah-thumb{flex:0 0 60px;width:60px;height:60px;display:flex;align-items:center;justify-content:center}
.ah-thumb img{max-width:56px;max-height:56px;width:auto;height:auto;filter:drop-shadow(0 3px 4px rgba(20,24,30,.18))}
.ah-tile h3{margin:0 0 3px;font-size:16px;line-height:1.3;font-weight:400;color:#000;font-family:inherit}
.ah-tile p{font-size:13px;line-height:1.4;font-weight:300;color:#4d4d4d}

/* ======================= responsive (keep at the end) ======================= */
@media (max-height:760px){
  .ah-wrap p.ah-sub{display:none}
  .ah-h1{font-size:clamp(34px,4vw,56px)}
  .ah-specs li{padding:10px 0;font-size:17px}
  .ah-stat b{font-size:36px}.ah-stat{padding:8px 0}
}
@media (max-width:1200px){
  .ah-tile p{display:none}
  .ah-col{grid-template-columns:minmax(260px,1fr) minmax(0,1.1fr);grid-template-rows:auto auto;align-items:center}
  .ah-spec{grid-column:1/-1;height:auto;min-height:0}
  .ah-specs{position:static;display:none;opacity:1;visibility:visible}
  .ah-specs.on{display:block}
  .ah-specs ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 24px}
  .ah-specs li{font-size:16px;padding:9px 0}
  .ah-stats{display:grid;grid-template-columns:repeat(3,auto) 1fr;gap:0 28px;align-items:end}
  .ah-stat{border:0;padding:6px 0}
  .ah-flags{padding-top:0}
  .ah-part img,.ah-part img.tall,.ah-part img.big{max-height:calc(100vh - 480px);height:auto;width:auto}
  .ah-part img.wide{width:100%;max-height:calc(100vh - 480px)}
}
/* phones and the fullPage responsive mode (<768px): normal scrolling, so let the section grow */
@media (max-width:767px){
  .arris-hero-on .hp2-hero.ah-section,.arris-hero-on .hp2-hero.ah-section.fp-auto-height{height:auto!important;min-height:0!important}
  .ah-wrap{height:auto;padding-top:80px;padding-bottom:0}
  .ah-col{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;padding:24px 16px 16px;gap:20px}
  .ah-h1{font-size:40px}
  .ah-wrap p.ah-sub{display:block}
  .ah-stage{min-height:300px;height:300px}
  .ah-part img,.ah-part img.tall,.ah-part img.wide,.ah-part img.big{max-height:280px;height:auto;width:auto;max-width:100%}
  .ah-stats{grid-template-columns:1fr 1fr}
  .ah-specs ul{grid-template-columns:1fr}
  .ah-rail{position:static;padding:16px 16px 20px}
  .ah-stripcol{grid-template-columns:1fr 1fr}
  .ah-tile{padding:14px 16px}
  .ah-tile p{display:block}
  .ah-tile:nth-child(2){border-right:0}
  .ah-tile:nth-child(-n+2){border-bottom:1px solid #e1e4e7}
}
@media (max-width:480px){.ah-stripcol{grid-template-columns:1fr}.ah-tile{border-right:0;border-bottom:1px solid #e1e4e7}.ah-tile:last-child{border-bottom:0}}
@media (prefers-reduced-motion:reduce){.ah-part,.ah-part.on,.ah-part img,.ah-specs,.ah-specs.on,.ah-dot.on span{transition:none}}

/* 2.0.3: thin wire parts (prop guard) get a tighter shadow so it does not read as a ghost image */
.ah-part img.wire{filter:drop-shadow(0 12px 14px rgba(20,24,30,.16)) drop-shadow(0 2px 3px rgba(20,24,30,.10))}

/* 2.0.5: copy block breathing room (theme reset on .ah-wrap h1/p was beating the base rules) */
.ah-wrap h1.ah-h1{margin:0 0 24px}
.ah-wrap p.ah-lead{margin:0 0 16px}
.ah-wrap p.ah-sub{margin:0 0 30px}
@media (max-height:760px){.ah-wrap h1.ah-h1{margin:0 0 16px}.ah-wrap p.ah-lead{margin:0 0 12px}.ah-wrap p.ah-sub{margin:0 0 20px}}
@media (max-width:767px){.ah-wrap h1.ah-h1{margin:0 0 18px}}

/* 2.0.6: five stops */
.ah-stripcol{grid-template-columns:repeat(5,1fr)}
.ah-tile{padding:18px 20px}
@media (max-width:1200px){.ah-stripcol{grid-template-columns:repeat(5,1fr)}}
@media (max-width:767px){.ah-stripcol{grid-template-columns:1fr 1fr}.ah-tile{padding:14px 16px}}
@media (max-width:480px){.ah-stripcol{grid-template-columns:1fr}}

/* 2.0.7: parts never exceed the stage (the vh formula overflowed the nav on tall windows) and are capped on big screens; 5-col strip restated */
.ah-part img,.ah-part img.tall,.ah-part img.big,.ah-part img.wide{max-height:min(100%,520px)}
.ah-part img.tall{height:min(100%,520px)}
.ah-part img.big{max-width:640px}
.ah-stripcol{grid-template-columns:repeat(5,1fr)}
@media (max-width:1200px){.ah-part img,.ah-part img.tall,.ah-part img.big{max-height:min(100%,calc(100vh - 480px));height:auto;width:auto}.ah-part img.wide{width:100%;max-height:min(100%,calc(100vh - 480px))}.ah-stripcol{grid-template-columns:repeat(5,1fr)}}
@media (max-width:767px){.ah-part img,.ah-part img.tall,.ah-part img.wide,.ah-part img.big{max-height:280px;height:auto;width:auto;max-width:100%}.ah-stripcol{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.ah-stripcol{grid-template-columns:1fr}}

/* 2.0.9: spokes stop anchored to the bottom of the stage so the photo crop runs under the strip edge instead of ending mid-air */
.ah-part[data-i="4"]{top:0;bottom:-34px;align-items:end}
.ah-part[data-i="4"] img.tall{height:100%;max-height:none;width:auto;max-width:100%}
@media (max-width:1200px){.ah-part[data-i="4"] img.tall{max-height:none}}
@media (max-width:767px){.ah-part[data-i="4"]{bottom:0;align-items:center}.ah-part[data-i="4"] img.tall{max-height:280px}}
