/* AVIX Water v85 — HOME PAGE mobile final pass
   Strong, isolated mobile overrides. Desktop remains untouched. */

@media (max-width: 767px){
  html body.home-v8.avix-home-page{
    overflow-x:hidden!important;
  }

  /* 01 — top status strip: one slim, branded row */
  html body.home-v8.avix-home-page .av5-topline{
    min-height:34px!important;
    background:#f7f6f2!important;
    border-bottom:1px solid rgba(18,39,46,.10)!important;
    color:#12272e!important;
  }
  html body.home-v8.avix-home-page .av5-topline .av5-topline-centre{
    width:100%!important;
    max-width:none!important;
    padding:0 12px!important;
    min-height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body.home-v8.avix-home-page .av5-topline span{
    display:inline!important;
    font-size:8.5px!important;
    line-height:1!important;
    letter-spacing:.075em!important;
    font-weight:760!important;
    color:#12272e!important;
    text-transform:uppercase!important;
  }
  html body.home-v8.avix-home-page .av5-topline i{
    display:block!important;
    width:3px!important;
    height:3px!important;
    flex:0 0 3px!important;
    border-radius:50%!important;
    background:#4bc8ef!important;
  }

  /* 02 — header */
  html body.home-v8.avix-home-page .av5-header{
    top:0!important;
    min-height:64px!important;
    background:#0b171b!important;
  }
  html body.home-v8.avix-home-page .av5-header .av5-header-inner{
    width:calc(100% - 32px)!important;
    min-height:64px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
  }
  html body.home-v8.avix-home-page .av5-brand{
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    max-width:156px!important;
    overflow:visible!important;
  }
  html body.home-v8.avix-home-page .av5-brand img{
    display:block!important;
    position:static!important;
    width:148px!important;
    max-width:148px!important;
    height:auto!important;
    transform:none!important;
    object-fit:contain!important;
  }
  html body.home-v8.avix-home-page .av5-menu{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    padding:0!important;
    border-radius:50%!important;
    margin-left:auto!important;
  }

  /* 03 — hero: remove desktop dead space, natural mobile flow */
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero{
    min-height:0!important;
    height:auto!important;
    padding:0 0 0!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero>.av5-container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    min-height:0!important;
    height:auto!important;
    gap:16px!important;
    align-items:start!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-copy{
    padding:34px 0 0!important;
    margin:0!important;
    min-height:0!important;
    max-width:none!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-eyebrow{
    width:auto!important;
    max-width:none!important;
    margin:0 0 14px!important;
    padding:0!important;
    font-size:10px!important;
    line-height:1.25!important;
    letter-spacing:.075em!important;
    font-weight:760!important;
    white-space:nowrap!important;
    color:#4bc8ef!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero h1{
    max-width:100%!important;
    margin:0!important;
    font-size:clamp(38px,11.2vw,49px)!important;
    line-height:.97!important;
    letter-spacing:-.043em!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero h1>span{
    margin:0!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-lead{
    max-width:none!important;
    margin:22px 0 0!important;
    font-size:15.5px!important;
    line-height:1.5!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-lead>span{
    display:inline!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-lead>span:not(:last-child)::after{
    content:" "!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    margin:20px 0 0!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-button{
    width:100%!important;
    min-height:54px!important;
    padding:13px 18px!important;
    border-radius:16px!important;
    font-size:16px!important;
    line-height:1.15!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-bottle{
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:center!important;
    justify-self:center!important;
    width:100%!important;
    max-width:230px!important;
    height:auto!important;
    min-height:248px!important;
    margin:6px auto 12px!important;
    padding:0!important;
    transform:none!important;
    overflow:visible!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-bottle img{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    top:auto!important;
    display:block!important;
    width:148px!important;
    max-width:148px!important;
    height:auto!important;
    max-height:none!important;
    margin:0 auto!important;
    transform:none!important;
    object-fit:contain!important;
  }
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-hero-bottle::after{
    left:20%!important;
    right:20%!important;
    bottom:0!important;
    height:24px!important;
  }

  /* 04 — proof strip */
  html body.home-v8.avix-home-page .sr-hero-proof{
    margin:0!important;
  }
  html body.home-v8.avix-home-page .sr-hero-proof-grid{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    padding:0 16px!important;
  }
  html body.home-v8.avix-home-page .sr-hero-proof-grid>div{
    min-height:84px!important;
    padding:15px 12px!important;
  }
  html body.home-v8.avix-home-page .sr-hero-proof-grid strong{
    font-size:14px!important;
    line-height:1.15!important;
  }
  html body.home-v8.avix-home-page .sr-hero-proof-grid span{
    margin-top:4px!important;
    font-size:11.5px!important;
    line-height:1.3!important;
  }

  /* 05 — section sub-nav: compact and swipeable */
  html body.home-v8.avix-home-page .avix-section-nav{
    position:sticky!important;
    top:64px!important;
    min-height:42px!important;
    height:42px!important;
    overflow:hidden!important;
  }
  html body.home-v8.avix-home-page .avix-section-nav__viewport{
    height:42px!important;
    padding:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
  }
  html body.home-v8.avix-home-page .avix-section-nav__inner{
    width:max-content!important;
    min-width:100%!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 14px!important;
    gap:18px!important;
  }
  html body.home-v8.avix-home-page .avix-section-nav__link{
    min-height:42px!important;
    padding:0!important;
    gap:4px!important;
    font-size:10px!important;
    letter-spacing:.035em!important;
    white-space:nowrap!important;
    scroll-snap-align:start!important;
  }
  html body.home-v8.avix-home-page .avix-section-nav__num,
  html body.home-v8.avix-home-page .avix-section-nav__label{
    font-size:10px!important;
    line-height:1!important;
    letter-spacing:.04em!important;
  }

  /* 06 — global home section rhythm */
  html body.home-v8.avix-home-page main#main-content>.av5-section{
    padding-top:50px!important;
    padding-bottom:50px!important;
  }
  html body.home-v8.avix-home-page .av5-section-head,
  html body.home-v8.avix-home-page .sr-need-head{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-bottom:22px!important;
  }
  html body.home-v8.avix-home-page .av5-section-head h2,
  html body.home-v8.avix-home-page .sr-need-head h2{
    font-size:clamp(30px,8.5vw,38px)!important;
    line-height:1.04!important;
    letter-spacing:-.035em!important;
  }
  html body.home-v8.avix-home-page .av5-section-head>p,
  html body.home-v8.avix-home-page .sr-need-intro{
    margin:0!important;
    padding:0!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
  html body.home-v8.avix-home-page main#main-content .av5-section .av5-eyebrow{
    font-size:10px!important;
    line-height:1.25!important;
    letter-spacing:.08em!important;
    margin-bottom:10px!important;
  }

  /* scientific need */
  html body.home-v8.avix-home-page #scientific-need .sr-need-points{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body.home-v8.avix-home-page #scientific-need .sr-need-points article{
    display:grid!important;
    grid-template-columns:34px 1fr!important;
    gap:12px!important;
    padding:16px!important;
    border-radius:16px!important;
  }
  html body.home-v8.avix-home-page #scientific-need .sr-need-number{
    width:34px!important;
    height:34px!important;
    font-size:11px!important;
  }
  html body.home-v8.avix-home-page #scientific-need .sr-need-point-copy h3{
    font-size:18px!important;
    line-height:1.18!important;
    margin:2px 0 6px!important;
  }
  html body.home-v8.avix-home-page #scientific-need .sr-need-point-copy p{
    font-size:14px!important;
    line-height:1.45!important;
  }
  html body.home-v8.avix-home-page #scientific-need .sr-avix-principle{
    margin-top:16px!important;
    padding:16px!important;
    border-radius:16px!important;
  }
  html body.home-v8.avix-home-page .sr-scientific-references summary{
    padding:15px 0!important;
  }

  /* Bangladesh evidence — mobile-readable data hierarchy */
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-evidence-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-mineral-panel{
    padding:16px!important;
    border-radius:16px!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-mineral-panel>header{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-mineral-panel>header strong{
    justify-self:start!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-bar-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:13px 0!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-bar-row>div:first-child b{
    display:block!important;
    font-size:16px!important;
    line-height:1.18!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-bar-row>div:first-child small{
    font-size:12px!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-bar-row strong{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:12px!important;
    font-size:24px!important;
    line-height:1!important;
  }
  html body.home-v8.avix-home-page #bangladesh-evidence .av5-bar-row strong small{
    max-width:13ch!important;
    font-size:11px!important;
    line-height:1.2!important;
    text-align:right!important;
  }

  /* AVIX response */
  html body.home-v8.avix-home-page #avix-response .sr-standard-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body.home-v8.avix-home-page #avix-response .sr-standard-grid article{
    min-height:0!important;
    padding:16px!important;
    border-radius:16px!important;
  }

  /* product platform */
  html body.home-v8.avix-home-page #product-platform .av5-products-grid{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  html body.home-v8.avix-home-page #product-platform .av5-products-copy{order:1!important}
  html body.home-v8.avix-home-page #product-platform .av5-products-bottles{order:2!important;min-height:0!important}
  html body.home-v8.avix-home-page #product-platform .av5-products-bottles img{
    width:min(100%,280px)!important;
    max-width:280px!important;
    height:auto!important;
    margin:0 auto!important;
  }
  html body.home-v8.avix-home-page #product-platform .av5-platform-line{
    padding:14px!important;
    border-radius:14px!important;
  }
  html body.home-v8.avix-home-page #product-platform .av5-product-list{
    gap:8px!important;
  }

  /* commercial */
  html body.home-v8.avix-home-page #market-opportunity .v76-commercial-pathway{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-commercial-pathway article,
  html body.home-v8.avix-home-page #market-opportunity .v76-format-offer,
  html body.home-v8.avix-home-page #market-opportunity .v76-format-standard{
    min-height:0!important;
    padding:16px!important;
    border-radius:16px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-format-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-positioning-band{
    grid-template-columns:1fr!important;
    gap:16px!important;
    padding:18px!important;
    border-radius:18px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-positioning-metrics{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-positioning-metrics strong{
    font-size:18px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-positioning-metrics span{
    font-size:10px!important;
    line-height:1.25!important;
  }

  /* readiness */
  html body.home-v8.avix-home-page #proof-path .sr-readiness-track{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    overflow:hidden!important;
    border-radius:16px!important;
  }
  html body.home-v8.avix-home-page #proof-path .sr-readiness-track article{
    min-height:0!important;
    padding:14px!important;
  }

  /* leadership: no dead dark box around portrait */
  html body.home-v8.avix-home-page #scientific-leadership{
    padding-top:50px!important;
    padding-bottom:50px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-shell{
    gap:16px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-image{
    width:236px!important;
    max-width:236px!important;
    height:236px!important;
    min-height:0!important;
    aspect-ratio:1/1!important;
    margin:2px auto 4px!important;
    padding:0!important;
    border-radius:22px!important;
    background:transparent!important;
    box-shadow:0 16px 40px rgba(0,0,0,.18)!important;
    overflow:hidden!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-image img{
    width:236px!important;
    height:236px!important;
    max-width:236px!important;
    max-height:236px!important;
    object-fit:cover!important;
    object-position:center top!important;
    transform:none!important;
    border-radius:22px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-copy>p:not(.av5-eyebrow){
    font-size:15px!important;
    line-height:1.5!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-stats div{
    padding:10px 4px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-stats strong{
    font-size:25px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-stats span{
    font-size:10px!important;
    line-height:1.25!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-actions{
    gap:9px!important;
  }

  /* prefooter */
  html body.home-v8.avix-home-page .av5-cta{
    padding:42px 0!important;
  }
  html body.home-v8.avix-home-page .av5-cta-grid{
    gap:14px!important;
  }
  html body.home-v8.avix-home-page .av5-cta h2{
    font-size:30px!important;
    line-height:1.05!important;
  }

  /* Footer: compact, no fake card/left-border artefacts */
  html body.home-v8.avix-home-page .avix-global-footer{
    padding:34px 0 22px!important;
  }
  html body.home-v8.avix-home-page .avix-footer-shell{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin:0 auto!important;
  }
  html body.home-v8.avix-home-page .avix-footer-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  html body.home-v8.avix-home-page .avix-footer-brand,
  html body.home-v8.avix-home-page .avix-footer-column,
  html body.home-v8.avix-home-page .avix-footer-contact,
  html body.home-v8.avix-home-page .avix-footer-office{
    border:0!important;
    border-left:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
  }
  html body.home-v8.avix-home-page .avix-footer-column h2,
  html body.home-v8.avix-home-page .avix-footer-contact h2,
  html body.home-v8.avix-home-page .avix-footer-office h2{
    margin:0 0 10px!important;
    font-size:12px!important;
    line-height:1.2!important;
    letter-spacing:.09em!important;
  }
  html body.home-v8.avix-home-page .avix-footer-column a,
  html body.home-v8.avix-home-page .avix-footer-contact a,
  html body.home-v8.avix-home-page .avix-footer-contact span,
  html body.home-v8.avix-home-page .avix-footer-office p,
  html body.home-v8.avix-home-page .avix-footer-office a,
  html body.home-v8.avix-home-page .avix-footer-office b{
    font-size:13.5px!important;
    line-height:1.45!important;
  }
  html body.home-v8.avix-home-page .avix-footer-offices{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:20px!important;
    margin-top:24px!important;
    padding-top:20px!important;
    border-top:1px solid rgba(255,255,255,.10)!important;
  }
  html body.home-v8.avix-home-page .avix-footer-office+ .avix-footer-office{
    padding-top:18px!important;
    border-top:1px solid rgba(255,255,255,.10)!important;
  }
  html body.home-v8.avix-home-page .avix-footer-contact-block{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
    padding:6px 0!important;
  }
  html body.home-v8.avix-home-page .avix-footer-phones{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body.home-v8.avix-home-page .avix-footer-disclaimer{
    margin-top:20px!important;
    padding-top:18px!important;
    font-size:11px!important;
    line-height:1.52!important;
  }
  html body.home-v8.avix-home-page .avix-footer-bottom{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:18px!important;
  }
  html body.home-v8.avix-home-page .avix-footer-bottom p,
  html body.home-v8.avix-home-page .avix-footer-bottom a{
    font-size:10.5px!important;
    line-height:1.45!important;
  }
}

@media (max-width: 380px){
  html body.home-v8.avix-home-page .av5-topline .av5-topline-centre{gap:6px!important;padding-inline:8px!important}
  html body.home-v8.avix-home-page .av5-topline span{font-size:7.8px!important;letter-spacing:.055em!important}
  html body.home-v8.avix-home-page main#main-content section.av5-hero.avix-home-hero .av5-eyebrow{font-size:9.2px!important;letter-spacing:.055em!important}
  html body.home-v8.avix-home-page .sr-hero-proof-grid{grid-template-columns:1fr!important}
  html body.home-v8.avix-home-page #market-opportunity .v76-positioning-metrics{grid-template-columns:1fr!important}
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-stats{grid-template-columns:1fr!important}
}
