/* AVIX Water v115 — final upload refinements
   Loaded after v114. Covers the last approved desktop/mobile corrections. */

/* --------------------------------------------------------------------------
   01. FOUNDER DESKTOP HERO — restore the left content gutter so the eyebrow,
   H1, lead and CTA do not sit against the viewport edge.
   -------------------------------------------------------------------------- */
@media (min-width:901px){
  html body.fp-page .fpj-copy{
    padding-left:clamp(20px,2.25vw,36px)!important;
  }
}
@media (min-width:1181px){
  html body.fp-page .fpj-copy{
    padding-left:clamp(24px,2.4vw,40px)!important;
  }
}

/* --------------------------------------------------------------------------
   02. MOBILE FINAL POLISH — menu close state, founder journey cleanup,
   and single divider between the contact row and office row.
   -------------------------------------------------------------------------- */
@media (max-width:767px){
  /* Burger button becomes a clear close X when the menu is open. */
  html body.home-v8:not(.page-diagram) .av5-menu{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  html body.home-v8:not(.page-diagram) .av5-menu span{
    transition:transform .22s ease, opacity .18s ease, margin .18s ease!important;
    transform-origin:center!important;
  }
  html body.home-v8:not(.page-diagram) .av5-menu[aria-expanded="true"] span{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:18px!important;
    margin:0!important;
  }
  html body.home-v8:not(.page-diagram) .av5-menu[aria-expanded="true"] span:nth-child(1){
    transform:translate(-50%,-50%) rotate(45deg)!important;
  }
  html body.home-v8:not(.page-diagram) .av5-menu[aria-expanded="true"] span:nth-child(2){
    opacity:0!important;
    transform:translate(-50%,-50%) scaleX(.2)!important;
  }
  html body.home-v8:not(.page-diagram) .av5-menu[aria-expanded="true"] span:nth-child(3){
    transform:translate(-50%,-50%) rotate(-45deg)!important;
  }

  /* Founder hero: remove the extra top horizontal rule above the journey. */
  html body.fp-page .fpj-journey{
    border-top:0!important;
    padding-top:24px!important;
  }

  /* Footer: remove the redundant line under the contact row and keep only the
     office divider line that meets the centre rule. */
  html body:not(.page-diagram) .avix-global-footer .avix-footer-top{
    border-bottom:0!important;
    padding-bottom:0!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-contact{
    margin-bottom:0!important;
  }
  html body:not(.page-diagram) .avix-global-footer .avix-footer-offices{
    margin-top:8px!important;
  }
}
