/* AVIX Water v112 — authoritative mobile correction layer
   Loaded LAST. Uses deliberately higher specificity than v104/v90/v91 so
   older !important mobile rules cannot override the approved mobile system. */

@media (max-width:767px){
  :root{
    --avix-m-top:34px;
    --avix-m-header:64px;
    --avix-m-chrome:98px;
    --avix-m-subnav:46px;
    --avix-main-chrome:98px;
    --avix-section-stick-top:98px;
    --avix-section-nav-h:46px;
  }

  /* 1 — MOBILE CHROME: announcement + header always visible. */
  html body.home-v8:not(.page-diagram){overflow-x:clip!important;overflow-y:visible!important}
  html body.home-v8:not(.page-diagram)>main{overflow:visible!important;padding-top:0!important}

  html body.home-v8:not(.page-diagram) .av5-topline{
    display:block!important;position:fixed!important;inset:0 0 auto 0!important;
    top:0!important;left:0!important;right:0!important;z-index:160!important;
    width:100%!important;height:var(--avix-m-top)!important;min-height:var(--avix-m-top)!important;
    margin:0!important;transform:none!important;opacity:1!important;
  }
  html body.home-v8:not(.page-diagram) .av5-topline .av5-topline-centre{
    height:var(--avix-m-top)!important;min-height:var(--avix-m-top)!important;
  }
  html body.home-v8:not(.page-diagram) .av5-header{
    display:block!important;position:fixed!important;top:var(--avix-m-top)!important;
    left:0!important;right:0!important;z-index:155!important;width:100%!important;
    height:var(--avix-m-header)!important;min-height:var(--avix-m-header)!important;
    margin:0!important;transform:none!important;opacity:1!important;
  }
  html body.home-v8:not(.page-diagram) .av5-header .av5-header-inner{
    height:var(--avix-m-header)!important;min-height:var(--avix-m-header)!important;
  }
  html body.home-v8.av5-chrome-hidden:not(.page-diagram) :is(.av5-topline,.av5-header){
    transform:none!important;opacity:1!important;
  }

  /* Keep hero background behind the fixed chrome, but move hero CONTENT below it. */
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-home-hero,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-principal-hero{
    padding-top:var(--avix-m-chrome)!important;
  }
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-home-hero .av5-hero-copy,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-principal-hero :is(.s12-hero-copy,.p3-hero-copy,.co18-hero-copy,.tc-hero-copy,.fp-hero-copy){
    padding-top:24px!important;margin-top:0!important;
  }

  /* 2 — ONE SUBMENU SYSTEM ON HOME + EVERY PRINCIPAL PAGE. */
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-section-nav,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-section-nav{
    display:block!important;position:sticky!important;top:var(--avix-m-chrome)!important;
    z-index:145!important;width:100%!important;height:var(--avix-m-subnav)!important;
    min-height:var(--avix-m-subnav)!important;margin:0!important;overflow:hidden!important;
    background:rgba(247,246,242,.985)!important;border-top:1px solid rgba(18,39,46,.08)!important;
    border-bottom:1px solid rgba(18,39,46,.10)!important;
    -webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;
  }
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-section-nav__viewport,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-section-nav__viewport{
    display:block!important;width:100%!important;height:var(--avix-m-subnav)!important;
    min-height:var(--avix-m-subnav)!important;padding:0 16px!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior-inline:contain!important;
    scroll-snap-type:x proximity!important;
  }
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-section-nav__viewport::-webkit-scrollbar,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-section-nav__viewport::-webkit-scrollbar{display:none!important}
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-section-nav__inner,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-section-nav__inner{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    justify-content:flex-start!important;width:max-content!important;min-width:100%!important;
    max-width:none!important;height:var(--avix-m-subnav)!important;min-height:var(--avix-m-subnav)!important;
    margin:0!important;padding:0!important;gap:18px!important;
    grid-template-columns:none!important;grid-auto-flow:unset!important;grid-auto-columns:unset!important;
  }
  html body.home-v8.avix-home-page:not(.page-diagram) .avix-section-nav__link,
  html body.home-v8.avix-principal-page:not(.page-diagram) .avix-section-nav__link{
    position:relative!important;display:inline-flex!important;flex:0 0 auto!important;
    align-items:center!important;justify-content:flex-start!important;width:auto!important;
    min-width:max-content!important;height:var(--avix-m-subnav)!important;min-height:var(--avix-m-subnav)!important;
    padding:0!important;gap:5px!important;font-size:11px!important;font-weight:800!important;
    line-height:1!important;letter-spacing:.045em!important;white-space:nowrap!important;
    text-align:left!important;scroll-snap-align:start!important;overflow:visible!important;
  }
  html body.home-v8:not(.page-diagram) .avix-section-nav__num,
  html body.home-v8:not(.page-diagram) .avix-section-nav__label{
    flex:0 0 auto!important;min-width:0!important;font-size:11px!important;line-height:1!important;
    letter-spacing:.045em!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;
  }
  html body.home-v8:not(.page-diagram) .avix-section-nav__num{color:#147c9d!important;font-weight:850!important}
  html body.home-v8:not(.page-diagram) .avix-section-nav__label{color:#52676d!important;font-weight:800!important}
  html body.home-v8:not(.page-diagram) .avix-section-nav__link:is(.is-active,[aria-current="location"]) .avix-section-nav__label{color:#147c9d!important}
  html body.home-v8:not(.page-diagram) .avix-section-nav::after{display:none!important}
  html body.home-v8:has(.avix-section-nav) main [id]{scroll-margin-top:162px!important}

  /* 3 — SCIENCE SECTION 04: subtle darker chapter background. */
  html body.home-v8.science-v12.avix-principal-page #avix-science,
  html body.home-v8.science-v12.avix-principal-page .s12-sources{background:#F2F5F6!important}
  html body.home-v8.science-v12.avix-principal-page #avix-science .sr-verification-board article{background:#fff!important}

  /* 4 — PRODUCTS HERO: four bottles smaller and better balanced on phones. */
  html body.home-v8.products-v3.avix-principal-page .p3-hero-products{
    width:min(78%,290px)!important;max-width:290px!important;min-height:0!important;
    margin:8px auto 28px!important;padding:0!important;
  }
  html body.home-v8.products-v3.avix-principal-page .p3-hero-products img{
    display:block!important;width:100%!important;max-width:290px!important;height:auto!important;
    max-height:none!important;margin:0 auto!important;object-fit:contain!important;
  }
  html body.home-v8.products-v3.avix-principal-page .p3-hero-halo{width:300px!important;height:300px!important;transform:scale(.92)!important}

  /* 5 — COMMERCIAL FIRST PLANT: slightly smaller circle + equal milestones. */
  html body.home-v8.co18-page.avix-principal-page .co18-investment-bridge{
    width:min(100%,350px)!important;max-width:350px!important;margin:0 auto!important;padding:4px 0!important;
  }
  html body.home-v8.co18-page.avix-principal-page .co18-plant-core{
    width:168px!important;height:168px!important;min-height:168px!important;padding:15px!important;
  }
  html body.home-v8.co18-page.avix-principal-page .co18-plant-core b{font-size:9.5px!important}
  html body.home-v8.co18-page.avix-principal-page .co18-plant-core strong{font-size:25px!important}
  html body.home-v8.co18-page.avix-principal-page .co18-plant-core small{font-size:9.5px!important;max-width:132px!important}
  html body.home-v8.co18-page.avix-principal-page .co18-plant-output{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;max-width:350px!important;gap:8px!important;margin:18px auto 0!important;
  }
  html body.home-v8.co18-page.avix-principal-page .co18-plant-output span{
    min-width:0!important;padding:9px 3px 0!important;font-size:10.5px!important;line-height:1.22!important;
    text-align:center!important;white-space:normal!important;
  }

  /* 6 — COMMERCIAL 3-COLUMN STRIP: exact thirds, centred text, centred dividers. */
  html body.home-v8.co18-page.avix-principal-page #shared-platform .co18-backbone-strip{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;gap:0!important;overflow:hidden!important;
  }
  html body.home-v8.co18-page.avix-principal-page #shared-platform .co18-backbone-strip span{
    display:flex!important;align-items:center!important;justify-content:center!important;
    min-width:0!important;min-height:58px!important;margin:0!important;padding:8px 6px!important;
    border-right:1px solid rgba(255,255,255,.18)!important;border-bottom:0!important;
    font-size:10.5px!important;line-height:1.18!important;text-align:center!important;white-space:normal!important;
  }
  html body.home-v8.co18-page.avix-principal-page #shared-platform .co18-backbone-strip span:last-child{border-right:0!important}

  /* 7 — TEAM: remove only the unnecessary horizontal framing around build section. */
  html body.home-v8.tc-team-page.avix-principal-page .team9-build{
    border-top:0!important;border-bottom:0!important;box-shadow:none!important;
  }
  html body.home-v8.tc-team-page.avix-principal-page .team9-build::before,
  html body.home-v8.tc-team-page.avix-principal-page .team9-build::after{display:none!important}
  html body.home-v8.tc-team-page.avix-principal-page .tc-prefooter.story-prefooter{
    border-top:0!important;box-shadow:none!important;
  }

  /* 8 — FOUNDER + TEAM LOGO RAILS: continuous mobile animation. */
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-marquee,
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-marquee{
    display:block!important;width:100%!important;overflow:hidden!important;
    mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)!important;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)!important;
  }
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-track,
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-track{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    width:max-content!important;max-width:none!important;gap:0!important;
    animation:avixLogoRailV112 24s linear infinite!important;will-change:translate!important;
  }
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-set,
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-set[aria-hidden="true"],
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-set,
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-set[aria-hidden="true"]{
    display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;
    gap:24px!important;padding-right:24px!important;
  }
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-set img,
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-set img{
    display:block!important;flex:0 0 auto!important;width:auto!important;height:48px!important;
    max-width:118px!important;max-height:48px!important;object-fit:contain!important;
  }

  /* 9 — ENTREPRENEURIAL JOURNEY: tighter branch and exact 2x2 proof rules. */
  html body.home-v8.fp-page.avix-principal-page .fpj-branch{margin-top:8px!important}
  html body.home-v8.fp-page.avix-principal-page .fpj-branch-svg{height:48px!important}
  html body.home-v8.fp-page.avix-principal-page .fpj-venture{padding-top:4px!important;padding-bottom:6px!important}
  html body.home-v8.fp-page.avix-principal-page .fpj-proof-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border:0!important;
  }
  html body.home-v8.fp-page.avix-principal-page .fpj-proof-grid>div{
    min-height:90px!important;padding:15px!important;border:0!important;
  }
  html body.home-v8.fp-page.avix-principal-page .fpj-proof-grid>div:nth-child(odd){border-right:1px solid rgba(255,255,255,.16)!important}
  html body.home-v8.fp-page.avix-principal-page .fpj-proof-grid>div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.16)!important}

  /* 10 — FOUNDER SCIENTIFIC JOURNEY: keep 2x3 grid, lighter framing and 2x2 pills. */
  html body.home-v8.fp-page.avix-principal-page #journey .av5-section-head h2{
    font-size:clamp(38px,9.4vw,50px)!important;line-height:.99!important;
  }
  html body.home-v8.fp-page.avix-principal-page #journey .av5-section-head{gap:18px!important;margin-bottom:24px!important}
  html body.home-v8.fp-page.avix-principal-page #journey .fp-career-track{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;
    overflow:hidden!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;
  }
  html body.home-v8.fp-page.avix-principal-page #journey .fp-career-track article{
    min-height:126px!important;padding:17px!important;border:0!important;border-radius:0!important;
    background:rgba(255,255,255,.025)!important;
  }
  html body.home-v8.fp-page.avix-principal-page #journey .fp-career-track article:nth-child(odd){border-right:1px solid rgba(255,255,255,.10)!important}
  html body.home-v8.fp-page.avix-principal-page #journey .fp-career-track article:nth-child(-n+4){border-bottom:1px solid rgba(255,255,255,.10)!important}
  html body.home-v8.fp-page.avix-principal-page #journey .fp-career-track article:last-child{background:rgba(75,200,239,.08)!important}
  html body.home-v8.fp-page.avix-principal-page #journey .fp-capability-row{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:16px!important;
  }
  html body.home-v8.fp-page.avix-principal-page #journey .fp-capability-row span{
    display:grid!important;place-items:center!important;min-height:38px!important;padding:7px 8px!important;text-align:center!important;
  }

  /* 11 — CONTACT PAGE: substantially more compact without removing information. */
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;overflow:hidden!important;
    border-radius:18px!important;background:#10252b!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside>article{
    min-height:0!important;height:auto!important;margin:0!important;padding:16px 18px!important;
    border:0!important;border-radius:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important;
    background:transparent!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside>article:last-child{border-bottom:0!important}
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-kicker{
    margin:0 0 7px!important;font-size:9.5px!important;line-height:1.1!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-direct h3{
    margin:0 0 8px!important;font-size:clamp(19px,5.8vw,22px)!important;line-height:1.08!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-office-card h3{
    margin:0 0 8px!important;font-size:21px!important;line-height:1.08!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-direct>p:not(.tc-kicker){
    margin:0!important;font-size:12.5px!important;line-height:1.42!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-office-card address{
    margin:0 0 9px!important;font-size:12.5px!important;line-height:1.38!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-phone-list{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin-top:6px!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-phone-list a{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
    min-height:36px!important;padding:7px 0!important;border-top:1px solid rgba(255,255,255,.12)!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-phone-list span{
    flex:0 0 auto!important;font-size:9px!important;line-height:1!important;
  }
  html body.home-v8.tc-contact-page.avix-principal-page .tc-contact-aside .tc-phone-list strong{
    min-width:0!important;font-size:12.5px!important;line-height:1.2!important;text-align:right!important;white-space:nowrap!important;
  }

  /* 12 — GLOBAL FOOTER MOBILE: compact Contact, no divider above offices. */
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact{
    margin-top:16px!important;gap:7px 18px!important;padding-bottom:0!important;border-bottom:0!important;align-items:end!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact>h2{margin:0 0 1px!important}
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact-block{
    min-height:0!important;margin:0!important;gap:0!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact-block span{
    margin:0 0 3px!important;font-size:9.5px!important;line-height:1!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact-block a{
    margin:0!important;font-size:12px!important;line-height:1.2!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-linkedin{
    align-self:end!important;justify-self:end!important;min-height:0!important;margin:0!important;padding:0!important;
    font-size:12.5px!important;line-height:1.2!important;white-space:nowrap!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-offices{
    margin-top:15px!important;border-top:0!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-office,
  html body:not(.page-diagram) .avix-global-footer .avix-footer-office + .avix-footer-office{padding-top:14px!important}
}

@keyframes avixLogoRailV112{
  from{translate:0 0}
  to{translate:-50% 0}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  html body.home-v8.fp-page.avix-principal-page .fp2-logo-track,
  html body.home-v8.tc-team-page.avix-principal-page .team9-logo-track{
    animation:none!important;translate:0 0!important;
  }
}
