/* AVIX Water v74 — final visual responsive master.
   Loaded last. Desktop >=1121 uses the requested universal 32px horizontal grid.
   Tablet/mobile rules below are visual composition rules, not mere overflow patches. */

/* ----------------------------
   DESKTOP: universal 32px grid
   ---------------------------- */
@media (min-width:1121px){
  :root{--avix-desktop-gutter:32px}
  :is(.av5-container,.container,.avix-footer-shell){
    width:calc(100% - (var(--avix-desktop-gutter) * 2))!important;
    max-width:none!important;
    margin-inline:auto!important;
  }
  .avix-section-nav__inner{
    width:calc(100% - (var(--avix-desktop-gutter) * 2))!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  /* Products hero: four-bottle group is supporting art, not the dominant object. */
  .products-v3 .p3-hero-products{display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
  .products-v3 .p3-hero-products img{
    width:min(82%,760px)!important;
    max-width:760px!important;
    height:auto!important;
    object-fit:contain!important;
  }

  /* Home platform: same visual discipline. */
  .avix-home-page #product-platform .av5-products-bottles img{
    width:min(82%,760px)!important;
    max-width:760px!important;
    height:auto!important;
  }

  /* Home Commercial Opportunity — editorial, open, intentionally unboxed. */
  .avix-home-page #market-opportunity .inv7-commercial-pathway{
    background:transparent!important;
    border:0!important;
    border-top:1px solid rgba(17,43,50,.16)!important;
    border-bottom:1px solid rgba(17,43,50,.16)!important;
    border-radius:0!important;
    padding:28px 0!important;
    box-shadow:none!important;
  }
  .avix-home-page #market-opportunity .inv7-price-story{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    padding:34px 0 0!important;
    box-shadow:none!important;
  }
  .avix-home-page #market-opportunity .inv7-price-pair{
    border-top:1px solid rgba(17,43,50,.16)!important;
    border-bottom:1px solid rgba(17,43,50,.16)!important;
  }
  .avix-home-page #market-opportunity .inv7-price-pair>article,
  .avix-home-page #market-opportunity .inv7-price-standard{
    background:transparent!important;
    box-shadow:none!important;
  }
  .avix-home-page #market-opportunity .v66-premium-positioning{
    display:grid!important;
    grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr) minmax(250px,.8fr)!important;
    gap:44px!important;
    align-items:center!important;
    background:transparent!important;
    color:#10252b!important;
    border:0!important;
    border-radius:0!important;
    border-bottom:1px solid rgba(17,43,50,.16)!important;
    padding:34px 0!important;
    box-shadow:none!important;
  }
  .avix-home-page #market-opportunity .v66-premium-positioning__lead strong{color:#10252b!important}
  .avix-home-page #market-opportunity .v66-premium-positioning p{color:#4b8392!important}
  .avix-home-page #market-opportunity .v66-premium-positioning__signal{
    border:0!important;
    border-left:2px solid #2fb6d0!important;
    border-radius:0!important;
    padding:4px 0 4px 20px!important;
    color:#1f8fa8!important;
    background:transparent!important;
  }
  .avix-home-page #market-opportunity .inv7-commercial-proof{
    border-top:0!important;
    padding-top:26px!important;
  }

  /* Contact consent row matches the T-Booster interaction pattern in AVIX colours. */
  .tc-contact-page .tc-form-submit{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:28px!important;
  }
  .tc-contact-page .tc-consent a{
    color:#168fa8!important;
    text-decoration:underline!important;
    text-decoration-thickness:1.5px!important;
    text-underline-offset:3px!important;
    font-weight:800!important;
  }
  .tc-contact-page .tc-form-submit .av5-button{
    min-width:300px!important;
    min-height:68px!important;
    border-radius:999px!important;
    font-weight:850!important;
    text-transform:uppercase!important;
    letter-spacing:.01em!important;
  }
  .tc-contact-page .tc-form-submit .av5-button::after{content:"↗";font-size:1.05em;margin-left:22px}

  /* Science readiness: all four explanatory texts use the same body treatment. */
  .science-v12 .sr-verification-board article p,
  .science-v12 .sr-verification-board article p span{
    font:inherit!important;
    font-size:clamp(15px,1.15vw,18px)!important;
    line-height:1.45!important;
    text-transform:none!important;
    letter-spacing:0!important;
    color:#4b8392!important;
  }
}

/* --------------------------------
   TABLET + MOBILE: global geometry
   -------------------------------- */
@media (max-width:900px){
  html,body{max-width:100%;overflow-x:hidden}
  :root{--avix-mobile-gutter:20px;--avix-mobile-section-y:54px}

  :is(.av5-container,.container,.avix-footer-shell){
    width:calc(100% - (var(--avix-mobile-gutter) * 2))!important;
    max-width:none!important;
    margin-inline:auto!important;
  }

  /* One consistent mobile rhythm. */
  :is(.av5-section,.co18-section,.tc-prefooter,.fp-cta){
    padding-top:var(--avix-mobile-section-y)!important;
    padding-bottom:var(--avix-mobile-section-y)!important;
  }
  :is(.av5-section-head,.s12-section-head,.p3-section-head,.co18-section-head){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    margin-bottom:28px!important;
    align-items:start!important;
  }
  :is(.av5-section-head,.s12-section-head,.p3-section-head,.co18-section-head) h2{
    font-size:clamp(36px,8.6vw,48px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    max-width:100%!important;
  }
  .avix-principal-hero h1,
  .avix-home-hero h1{
    font-size:clamp(42px,10.8vw,58px)!important;
    line-height:.96!important;
    letter-spacing:-.05em!important;
  }
  :is(.avix-principal-hero,.avix-home-hero) .hero-lines-3,
  :is(.avix-principal-hero,.avix-home-hero) .av5-hero-lead{
    font-size:clamp(16px,4.2vw,20px)!important;
    line-height:1.46!important;
  }

  /* CTA buttons should not become full-screen bars unless the context requires it. */
  .av5-button{min-height:52px!important;padding:0 22px!important}
  .avix-hero-actions{gap:10px!important}
  .avix-hero-actions .avix-hero-cta{min-height:52px!important}

  /* Sticky section rail: intentional horizontal navigation, never accidental clipping. */
  .avix-section-nav{height:auto!important;min-height:50px!important}
  .avix-section-nav__viewport{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    scroll-padding-inline:20px!important;
    overscroll-behavior-inline:contain!important;
  }
  .avix-section-nav__viewport::-webkit-scrollbar{display:none!important}
  .avix-section-nav__inner{
    display:flex!important;
    width:max-content!important;
    min-width:100%!important;
    padding:0 20px!important;
    gap:26px!important;
    margin:0!important;
    align-items:center!important;
  }
  .avix-section-nav__link{
    flex:0 0 auto!important;
    min-width:max-content!important;
    padding:15px 0 14px!important;
    scroll-snap-align:center!important;
  }

  /* Remove desktop geometry from stacked information systems. */
  :is(
    .sr-standard-grid article,.sr-readiness-track article,.sr-commercial-map article,
    .sr-profile-visual article,.sr-protect-grid article,.sr-verification-board article,
    .sr-rollout article,.sr-value-grid article,.sr-status-cards article,
    .sr-allocation-grid article,.sr-channel-grid article,.sr-partner-fit-grid article,
    .sr-needs-grid article,.sr-contact-choices article,.co18-proof-card,
    .co18-build-grid article,.co18-market-card,.co18-milestones article,
    .co18-partner-grid article,.p3-value-grid article,.team9-build-card,
    .fp-venture-card,.fp2-publication
  ){
    min-height:0!important;
    height:auto!important;
  }

  /* Footer: compact without forcing phone labels to break mid-word. */
  .avix-footer-offices{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .avix-footer-office{padding:22px 12px!important;min-width:0!important}
  .avix-footer-office h2{font-size:11px!important;letter-spacing:.12em!important}
  .avix-footer-office p{font-size:12px!important;line-height:1.45!important}
  .avix-footer-phones{gap:8px!important}
  .avix-footer-phones span{display:grid!important;grid-template-columns:1fr!important;gap:2px!important;min-width:0!important}
  .avix-footer-phones b{white-space:nowrap!important;word-break:normal!important;font-size:9.5px!important;letter-spacing:.08em!important}
  .avix-footer-phones a{white-space:nowrap!important;font-size:11px!important;letter-spacing:-.01em!important}
  .avix-footer-disclaimer{font-size:10px!important;line-height:1.48!important}

  /* Reveal systems must never create blank sections on touch/mobile. */
  .av5-reveal{opacity:1!important;transform:none!important;transition:none!important}
}

/* ----------------------------
   HOME — mobile composition
   ---------------------------- */
@media (max-width:900px){
  .avix-home-page .av5-hero.avix-home-hero .av5-hero-grid{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .avix-home-page .av5-hero-copy{max-width:none!important}
  .avix-home-page .av5-hero.avix-home-hero .av5-hero-bottle{
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    width:100%!important;
    padding:8px 0 4px!important;
    margin:0!important;
    display:flex!important;
    justify-content:center!important;
    align-items:flex-end!important;
  }
  .avix-home-page .av5-hero.avix-home-hero .av5-hero-bottle img{
    position:static!important;
    width:min(31vw,150px)!important;
    max-width:150px!important;
    max-height:none!important;
    transform:none!important;
    margin:0 auto!important;
  }
  .avix-home-page .av5-hero.avix-home-hero .sr-hero-proof{
    position:relative!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .avix-home-page .sr-hero-proof-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    height:auto!important;
    min-height:0!important;
  }
  .avix-home-page .sr-hero-proof-grid>div{
    min-height:64px!important;
    padding:11px 12px!important;
  }

  /* AVIX response: four compact editorial rows. */
  .avix-home-page #avix-response .sr-standard-grid{
    grid-template-columns:1fr!important;
    gap:0!important;
    border:1px solid rgba(18,50,58,.14)!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .avix-home-page #avix-response .sr-standard-grid article{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    column-gap:14px!important;
    row-gap:3px!important;
    align-items:center!important;
    padding:17px 18px!important;
    border:0!important;
    border-bottom:1px solid rgba(18,50,58,.12)!important;
    border-radius:0!important;
    background:#fff!important;
  }
  .avix-home-page #avix-response .sr-standard-grid article:last-child{border-bottom:0!important}
  .avix-home-page #avix-response .sr-icon{
    grid-column:1!important;grid-row:1/3!important;
    width:40px!important;height:40px!important;margin:0!important;
    align-self:center!important;
  }
  .avix-home-page #avix-response .sr-standard-grid h3{
    grid-column:2!important;grid-row:1!important;
    font-size:20px!important;line-height:1.15!important;margin:0!important;
  }
  .avix-home-page #avix-response .sr-standard-grid p{
    grid-column:2/4!important;grid-row:2!important;
    font-size:13.5px!important;line-height:1.42!important;margin:0!important;
  }
  .avix-home-page #avix-response .sr-standard-grid article>b{
    grid-column:3!important;grid-row:1!important;
    position:static!important;inset:auto!important;
    font-size:11px!important;opacity:.55!important;
  }

  /* Platform: use the real four-bottle artwork in natural flow. */
  .avix-home-page #product-platform .av5-products-grid{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .avix-home-page #product-platform .av5-products-bottles{
    min-height:0!important;height:auto!important;
    padding:4px 0 0!important;margin:0!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    overflow:hidden!important;
  }
  .avix-home-page #product-platform .av5-products-bottles img{
    position:static!important;inset:auto!important;transform:none!important;
    width:min(100%,430px)!important;max-width:430px!important;
    max-height:none!important;height:auto!important;margin:0 auto!important;
  }
  .avix-home-page #product-platform::after{display:none!important}

  /* Commercial story: compact, readable, not a tower of cards. */
  .avix-home-page #market-opportunity .inv7-commercial-pathway{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;
    border-radius:0!important;border:0!important;border-top:1px solid rgba(20,47,54,.14)!important;
    border-bottom:1px solid rgba(20,47,54,.14)!important;background:transparent!important;padding:0!important;
  }
  .avix-home-page #market-opportunity .inv7-commercial-pathway>i{display:none!important}
  .avix-home-page #market-opportunity .inv7-commercial-pathway article{
    display:grid!important;grid-template-columns:48px 94px minmax(0,1fr)!important;
    align-items:center!important;gap:10px!important;padding:13px 0!important;
    border-bottom:1px solid rgba(20,47,54,.11)!important;min-height:0!important;
  }
  .avix-home-page #market-opportunity .inv7-commercial-pathway article:last-of-type{border-bottom:0!important}
  .avix-home-page #market-opportunity .inv7-commercial-pathway article span{margin:0!important;width:38px!important;height:38px!important}
  .avix-home-page #market-opportunity .inv7-commercial-pathway article strong{margin:0!important;font-size:16px!important}
  .avix-home-page #market-opportunity .inv7-commercial-pathway article p{margin:0!important;font-size:13px!important}
  .avix-home-page #market-opportunity .inv7-price-story{padding:28px 0 0!important}
  .avix-home-page #market-opportunity .inv7-price-pair{
    grid-template-columns:1fr 1fr!important;gap:16px!important;border-top:1px solid rgba(20,47,54,.14)!important;border-bottom:1px solid rgba(20,47,54,.14)!important;padding:16px 0!important;
  }
  .avix-home-page #market-opportunity .inv7-price-standard{grid-column:1/-1!important;grid-row:1!important;padding:0 0 12px!important;border:0!important}
  .avix-home-page #market-opportunity .inv7-price-pair article{padding:8px 0!important;border:0!important}
  .avix-home-page #market-opportunity .v66-premium-positioning{
    margin-top:26px!important;padding:22px 20px!important;border-radius:18px!important;gap:14px!important;
  }
  .avix-home-page #market-opportunity .v66-premium-positioning__signal{padding:14px 0 0!important;border:0!important;border-top:1px solid rgba(75,200,220,.28)!important;border-radius:0!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding-top:20px!important;
  }
  .avix-home-page #market-opportunity .inv7-commercial-proof>div{padding:12px 9px!important;min-width:0!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof strong{font-size:16px!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof span{font-size:10.5px!important;line-height:1.3!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof .av5-button{grid-column:1/-1!important;margin-top:14px!important;width:100%!important}

  /* Readiness: five concise status rows. */
  .avix-home-page #proof-path .sr-readiness-track{grid-template-columns:1fr!important;gap:0!important;border-radius:18px!important;overflow:hidden!important}
  .avix-home-page #proof-path .sr-readiness-track article{
    display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
    gap:2px 12px!important;padding:15px 16px!important;border-radius:0!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;
  }
  .avix-home-page #proof-path .sr-readiness-track article:last-child{border-bottom:0!important}
  .avix-home-page #proof-path .sr-readiness-track b{grid-column:1!important;grid-row:1/3!important;margin:0!important;font-size:28px!important;align-self:center!important}
  .avix-home-page #proof-path .sr-readiness-track h3{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:17px!important}
  .avix-home-page #proof-path .sr-readiness-track p{grid-column:2/4!important;grid-row:2!important;margin:0!important;font-size:12.5px!important;line-height:1.4!important}
  .avix-home-page #proof-path .sr-readiness-track article>span{grid-column:3!important;grid-row:1!important;position:static!important;font-size:9px!important}

  /* Leadership: identify the person immediately, then proof. */
  .avix-home-page #scientific-leadership .av5-founder-shell{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  .avix-home-page #scientific-leadership .av5-founder-copy{display:contents!important}
  .avix-home-page #scientific-leadership .av5-founder-copy>.av5-eyebrow{order:1!important;margin:0!important}
  .avix-home-page #scientific-leadership .av5-founder-copy>h2{order:2!important;margin:0!important}
  .avix-home-page #scientific-leadership .av5-founder-image{
    order:3!important;width:min(72%,290px)!important;margin:0 auto!important;border-radius:18px!important;overflow:hidden!important;
  }
  .avix-home-page #scientific-leadership .av5-founder-image img{width:100%!important;height:auto!important;display:block!important}
  .avix-home-page #scientific-leadership .av5-founder-copy>p:not(.av5-eyebrow){order:4!important;margin:0!important;font-size:15px!important;line-height:1.52!important}
  .avix-home-page #scientific-leadership .av5-founder-stats{order:5!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:2px 0 0!important}
  .avix-home-page #scientific-leadership .av5-founder-stats div{padding:12px 8px!important;border-bottom:0!important;text-align:left!important}
  .avix-home-page #scientific-leadership .av5-founder-stats strong{font-size:26px!important}
  .avix-home-page #scientific-leadership .av5-founder-stats span{font-size:9.5px!important;line-height:1.3!important}
  .avix-home-page #scientific-leadership .av5-founder-actions{order:6!important;display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin:0!important}
  .avix-home-page #scientific-leadership .av5-founder-actions .av5-button{width:100%!important;min-height:50px!important}
}

/* ----------------------------
   PRODUCTS — mobile composition
   ---------------------------- */
@media (max-width:900px){
  .products-v3 .p3-hero-grid{grid-template-columns:1fr!important;gap:20px!important}
  .products-v3 .p3-hero-products{min-height:0!important;height:auto!important;padding:2px 0 0!important;display:flex!important;justify-content:center!important}
  .products-v3 .p3-hero-products img{position:static!important;transform:none!important;width:min(96%,430px)!important;max-width:430px!important;height:auto!important}
  .products-v3 .p3-hero-halo{display:none!important}

  /* Platform logic becomes a legible numbered operating sequence. */
  .products-v3 #shared-platform .sr-backbone{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;
    border-top:1px solid rgba(18,50,58,.14)!important;border-bottom:1px solid rgba(18,50,58,.14)!important;
  }
  .products-v3 #shared-platform .sr-backbone-line{display:none!important}
  .products-v3 #shared-platform .sr-backbone article{
    display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
    gap:2px 14px!important;align-items:center!important;padding:15px 0!important;border-bottom:1px solid rgba(18,50,58,.11)!important;min-height:0!important;text-align:left!important;
  }
  .products-v3 #shared-platform .sr-backbone article:last-child{border-bottom:0!important}
  .products-v3 #shared-platform .sr-backbone article b{
    grid-column:1!important;grid-row:1/3!important;position:static!important;transform:none!important;
    width:38px!important;height:38px!important;margin:0!important;font-size:13px!important;
  }
  .products-v3 #shared-platform .sr-backbone article h3{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:17px!important;line-height:1.2!important}
  .products-v3 #shared-platform .sr-backbone article p{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:13px!important;line-height:1.4!important}

  .products-v3 .sr-value-grid{grid-template-columns:1fr!important;gap:0!important;border:1px solid rgba(18,50,58,.12)!important;border-radius:18px!important;overflow:hidden!important}
  .products-v3 .sr-value-grid article{padding:18px 20px!important;border:0!important;border-bottom:1px solid rgba(18,50,58,.1)!important;border-radius:0!important}
  .products-v3 .sr-value-grid article:last-child{border-bottom:0!important}
  .products-v3 .sr-value-grid strong{font-size:19px!important}
  .products-v3 .sr-value-grid p{font-size:13.5px!important;line-height:1.45!important;margin-top:7px!important}

  .products-v3 .v67-packaging-layout{grid-template-columns:1fr!important;gap:22px!important}
  .products-v3 .v67-packaging-proofs{gap:10px!important}
  .products-v3 .v67-packaging-proofs li{padding:12px 0!important}
  .products-v3 .v67-packaging-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .products-v3 .inv5-package{padding:16px 12px!important;min-height:0!important}
  .products-v3 .inv5-package-image{height:150px!important;min-height:0!important}
  .products-v3 .inv5-package-image img{height:140px!important;width:auto!important}
  .products-v3 .inv5-package h3{font-size:16px!important}
  .products-v3 .inv5-package>strong{font-size:30px!important}
  .products-v3 .inv5-package-points{font-size:11px!important;line-height:1.35!important}
}

/* ----------------------------
   SCIENCE — mobile composition
   ---------------------------- */
@media (max-width:900px){
  .science-v12 .s12-hero-grid{grid-template-columns:1fr!important;gap:18px!important}
  .science-v12 .s12-hero-visual{min-height:0!important;height:auto!important;padding:6px 0 0!important}
  .science-v12 .s12-science-system-svg{width:min(92%,430px)!important;height:auto!important;margin:0 auto!important;display:block!important}

  .science-v12 :is(.sr-profile-visual,.sr-protect-grid,.sr-verification-board){grid-template-columns:1fr!important;gap:10px!important}
  .science-v12 .sr-profile-visual article{
    padding:18px 20px!important;min-height:0!important;height:auto!important;border-radius:18px!important;
  }
  .science-v12 .sr-profile-visual article h3{font-size:21px!important;margin:10px 0 8px!important}
  .science-v12 .sr-profile-visual article p{font-size:14px!important;line-height:1.48!important}

  .science-v12 .sr-protect-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .science-v12 .sr-protect-grid article{padding:16px!important;border-radius:16px!important}
  .science-v12 .sr-protect-grid h3{font-size:16px!important;margin:10px 0 6px!important}
  .science-v12 .sr-protect-grid p{font-size:12px!important;line-height:1.42!important}

  .science-v12 .sr-verification-board{gap:0!important;border:1px solid rgba(18,50,58,.12)!important;border-radius:18px!important;overflow:hidden!important}
  .science-v12 .sr-verification-board article{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 12px!important;
    padding:17px 18px!important;border:0!important;border-bottom:1px solid rgba(18,50,58,.1)!important;border-radius:0!important;background:#fff!important;
  }
  .science-v12 .sr-verification-board article:last-child{border-bottom:0!important}
  .science-v12 .sr-verification-board article>span{grid-column:2!important;grid-row:1!important;font-size:9.5px!important;letter-spacing:.08em!important;white-space:nowrap!important}
  .science-v12 .sr-verification-board h3{grid-column:1!important;grid-row:1!important;font-size:18px!important;margin:0!important}
  .science-v12 .sr-verification-board p{grid-column:1/-1!important;grid-row:2!important;margin:0!important;font-size:13px!important;line-height:1.42!important;text-transform:none!important;letter-spacing:0!important}
  .science-v12 .sr-verification-board p span{display:inline!important;font:inherit!important;text-transform:none!important;letter-spacing:0!important;color:inherit!important}

  .science-v12 .s12-plant-diagram{min-height:0!important;height:1100px!important;border-radius:16px!important}
}

/* ---------------------------------------
   COMMERCIAL OPPORTUNITY — mobile layout
   --------------------------------------- */
@media (max-width:900px){
  .co18-page .co18-hero .co18-hero-grid{grid-template-columns:1fr!important;gap:18px!important}

  /* Why now — three concise evidence rows instead of oversized cards. */
  .co18-page #investment-case .co18-proof-grid{grid-template-columns:1fr!important;gap:10px!important}
  .co18-page #investment-case .co18-proof-card{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 16px!important;align-items:center!important;
    padding:17px 18px!important;border-radius:16px!important;
  }
  .co18-page #investment-case .co18-proof-card>*{margin:0!important}
  .co18-page #investment-case .co18-proof-card strong{font-size:28px!important;grid-column:2!important;grid-row:1/3!important}
  .co18-page #investment-case .co18-proof-card span{font-size:11px!important}
  .co18-page #investment-case .co18-proof-card p{font-size:13px!important;line-height:1.42!important}

  /* What capital builds — real rows, preserve spaces and stop collisions. */
  .co18-page #plant-opportunity .co18-build-grid{grid-template-columns:1fr!important;gap:0!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:18px!important;overflow:hidden!important}
  .co18-page #plant-opportunity .co18-build-grid article{
    display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
    gap:3px 14px!important;padding:15px 16px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.14)!important;border-radius:0!important;min-height:0!important;
  }
  .co18-page #plant-opportunity .co18-build-grid article:last-child{border-bottom:0!important}
  .co18-page #plant-opportunity .co18-build-grid article>b{grid-column:1!important;grid-row:1/3!important;position:static!important;width:40px!important;height:40px!important;margin:0!important;align-self:center!important}
  .co18-page #plant-opportunity .co18-build-grid h3{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:18px!important}
  .co18-page #plant-opportunity .co18-build-grid p{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:13px!important;line-height:1.4!important}
  .co18-page #plant-opportunity .co18-build-grid p span{display:inline!important}
  .co18-page #plant-opportunity .co18-build-grid p span+span::before{content:" ";}
  .co18-page #plant-opportunity .co18-capital-note{padding:16px 18px!important;margin-top:16px!important;font-size:13px!important;line-height:1.48!important}

  /* Shared platform: compact sequence. */
  .co18-page #shared-platform .co18-backbone-line{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border-top:1px solid rgba(18,50,58,.13)!important;border-bottom:1px solid rgba(18,50,58,.13)!important}
  .co18-page #shared-platform .co18-backbone-step{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 0!important;border-bottom:1px solid rgba(18,50,58,.1)!important}
  .co18-page #shared-platform .co18-backbone-step:last-of-type{border-bottom:0!important}
  .co18-page #shared-platform .co18-backbone-arrow{display:none!important}
  .co18-page #shared-platform .co18-backbone-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding-top:14px!important}
  .co18-page #shared-platform .co18-backbone-strip span{font-size:9.5px!important;line-height:1.25!important;text-align:center!important}

  .co18-page .co18-market-grid{grid-template-columns:1fr!important;gap:12px!important}
  .co18-page .co18-market-card{padding:20px!important;border-radius:18px!important}
  .co18-page .co18-market-card h3{margin:16px 0 8px!important;font-size:26px!important}
  .co18-page .co18-market-card>p{font-size:13.5px!important;line-height:1.48!important}
  .co18-page .co18-checkpoints{gap:6px!important}
  .co18-page .co18-checkpoints span{padding:7px 9px!important;font-size:10px!important}
  .co18-page .co18-unit-economics{padding:14px!important;margin-top:14px!important}

  /* Upside: eliminate giant blank route cards. */
  .co18-page #commercial-upside .co18-upside-stats{grid-template-columns:1fr!important;gap:9px!important}
  .co18-page #commercial-upside .co18-upside-stats article{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 14px!important;align-items:center!important;padding:16px 18px!important;border-radius:16px!important;min-height:0!important;
  }
  .co18-page #commercial-upside .co18-upside-stats strong{grid-column:2!important;grid-row:1/3!important;font-size:25px!important;white-space:nowrap!important}
  .co18-page #commercial-upside .co18-upside-stats p{grid-column:1!important;margin:0!important;font-size:12px!important}
  .co18-page #commercial-upside .co18-upside-engine{padding:12px!important;border-radius:18px!important}
  .co18-page #commercial-upside .co18-upside-core{padding:18px!important;border-radius:14px!important}
  .co18-page #commercial-upside .co18-upside-core strong{font-size:34px!important}
  .co18-page #commercial-upside .co18-upside-route{padding:16px 10px!important;min-height:0!important;height:auto!important}
  .co18-page #commercial-upside .co18-upside-route-steps{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px 9px!important;min-height:0!important;height:auto!important;margin-top:12px!important;
  }
  .co18-page #commercial-upside .co18-upside-route-steps span{padding:8px 10px!important;border:1px solid rgba(18,50,58,.12)!important;border-radius:999px!important;font-size:11px!important;background:#fff!important}
  .co18-page #commercial-upside .co18-upside-route-steps i{transform:none!important;font-style:normal!important;font-size:16px!important;line-height:1!important}

  /* Milestones: readable numbered rows, no long cards. */
  .co18-page #investment-milestones .co18-milestones{grid-template-columns:1fr!important;gap:0!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;overflow:hidden!important}
  .co18-page #investment-milestones .co18-milestones article{
    display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:3px 13px!important;padding:14px 16px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;border-radius:0!important;
  }
  .co18-page #investment-milestones .co18-milestones article:last-child{border-bottom:0!important}
  .co18-page #investment-milestones .co18-milestones b{grid-column:1!important;grid-row:1/3!important;font-size:25px!important;align-self:center!important}
  .co18-page #investment-milestones .co18-milestones strong{grid-column:2!important;grid-row:1!important;font-size:16px!important}
  .co18-page #investment-milestones .co18-milestones p{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:12.5px!important;line-height:1.4!important}

  .co18-page #partner-fit .co18-partner-grid{grid-template-columns:1fr!important;gap:10px!important}
  .co18-page #partner-fit .co18-partner-grid article{padding:18px!important;border-radius:16px!important}
}

/* ----------------------------
   TEAM — mobile composition
   ---------------------------- */
@media (max-width:900px){
  .tc-team-page .team9-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .tc-team-page .team9-person-copy{padding:10px!important;min-height:78px!important}
  .tc-team-page .team9-person-copy span{font-size:9px!important;line-height:1.2!important}
  .tc-team-page .team9-person-copy h3{font-size:13px!important;line-height:1.18!important;margin-top:5px!important}
  .tc-team-page .team9-build-grid{grid-template-columns:1fr!important;gap:0!important;border:1px solid rgba(18,50,58,.12)!important;border-radius:18px!important;overflow:hidden!important}
  .tc-team-page .team9-build-card{padding:18px 20px!important;border-radius:0!important;border:0!important;border-bottom:1px solid rgba(18,50,58,.1)!important}
  .tc-team-page .team9-build-card:last-child{border-bottom:0!important}
  .tc-team-page .team9-build-card h3{font-size:19px!important;margin:16px 0 8px!important}
  .tc-team-page .team9-build-card p{font-size:13px!important;line-height:1.45!important}
}

/* --------------------------------
   FOUNDER PROFILE — mobile layout
   -------------------------------- */
@media (max-width:900px){
  .fp-page .fp-hero-grid{grid-template-columns:1fr!important;gap:20px!important}
  .fp-page .fp-hero-visual--map{padding:0!important;min-height:0!important;height:auto!important}
  .fp-page .fp-science-map{padding:18px!important;border-radius:18px!important}
  .fp-page .fp-science-map-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .fp-page .fp-science-step{padding:11px 12px!important;min-height:0!important}
  .fp-page .fp-science-destination{padding:16px 10px!important}
  .fp-page .fp-science-destination strong{font-size:38px!important}
  .fp-page .fp-proof{position:relative!important;inset:auto!important;margin:0!important}
  .fp-page .fp-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}
  .fp-page .fp-proof-grid>div{padding:13px 10px!important;min-height:0!important}
  .fp-page .fp-proof-grid strong{font-size:18px!important}
  .fp-page .fp-proof-grid span{font-size:10px!important;line-height:1.3!important}

  .fp-page .fp2-profile-card{border-radius:18px!important;overflow:hidden!important}
  .fp-page .fp2-profile-head{padding:18px 20px!important;gap:10px!important}
  .fp-page .fp2-profile-head h3{font-size:28px!important}
  .fp-page .fp2-profile-main{grid-template-columns:1fr!important}
  .fp-page .fp2-profile-side{padding:18px 20px 0!important}
  .fp-page .fp2-profile-image-shell{max-width:300px!important;margin:0 auto!important}
  .fp-page .fp2-profile-image{aspect-ratio:1/1!important;border-radius:18px!important;overflow:hidden!important}
  .fp-page .fp2-profile-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 22%!important}
  .fp-page .fp2-profile-image-note{padding:14px 16px!important}
  .fp-page .fp2-tags--side{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:12px!important}
  .fp-page .fp2-tags--side span{padding:8px 6px!important;font-size:10px!important}
  .fp-page .fp2-profile-content{padding:22px 20px!important}
  .fp-page .fp2-profile-body p{font-size:14px!important;line-height:1.58!important;margin-bottom:18px!important}
  .fp-page .fp2-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin-top:22px!important}
  .fp-page .fp2-profile-metrics>div{padding:12px 8px!important}
  .fp-page .fp2-profile-metrics strong{font-size:22px!important}
  .fp-page .fp2-profile-metrics span{font-size:9px!important;line-height:1.3!important}

  .fp-page .fp2-water-grid{grid-template-columns:1fr!important;gap:24px!important}
  .fp-page .fp2-publications{gap:10px!important}
  .fp-page .fp2-publication{padding:18px!important;border-radius:16px!important}
  .fp-page .fp-venture-grid{grid-template-columns:1fr!important;gap:10px!important}
  .fp-page .fp-venture-card{padding:18px!important;border-radius:16px!important}
  .fp-page .fp-career-track{grid-template-columns:1fr!important;gap:0!important;border-radius:18px!important;overflow:hidden!important}
  .fp-page .fp-career-track article{padding:15px 18px!important;border-radius:0!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
  .fp-page .fp-career-track article:last-child{border-bottom:0!important}
  .fp-page .fp-capability-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
}

/* ----------------------------
   CONTACT — mobile composition
   ---------------------------- */
@media (max-width:900px){
  .tc-contact-page .tc-hero-grid{grid-template-columns:1fr!important;gap:18px!important}
  .tc-contact-page .avix-utility-visual{min-height:0!important;height:auto!important;padding:4px 0!important}
  .tc-contact-page .avix-utility-visual img{width:min(90%,430px)!important;height:auto!important;margin:0 auto!important;display:block!important}
  .tc-contact-page .sr-contact-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .tc-contact-page .sr-contact-choices article{padding:15px!important;border-radius:15px!important}
  .tc-contact-page .sr-contact-choices h3{font-size:16px!important;margin:9px 0 5px!important}
  .tc-contact-page .sr-contact-choices p{font-size:11.5px!important;line-height:1.4!important}

  .tc-contact-page .tc-contact-shell{grid-template-columns:1fr!important;border-radius:18px!important;overflow:hidden!important}
  .tc-contact-page .tc-form{padding:20px!important}
  .tc-contact-page .tc-form-grid{grid-template-columns:1fr!important;gap:13px!important}
  .tc-contact-page .tc-field--wide{grid-column:auto!important}
  .tc-contact-page .tc-field input,.tc-contact-page .tc-field select,.tc-contact-page .tc-field textarea{min-height:48px!important;padding:11px 12px!important;font-size:16px!important}
  .tc-contact-page .tc-field textarea{min-height:130px!important}
  .tc-contact-page .tc-form-submit{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;padding-top:4px!important}
  .tc-contact-page .tc-consent{align-items:flex-start!important;font-size:12px!important;line-height:1.45!important}
  .tc-contact-page .tc-consent a{color:#168fa8!important;text-decoration:underline!important;text-underline-offset:3px!important;font-weight:800!important}
  .tc-contact-page .tc-form-submit .av5-button{width:100%!important;min-height:54px!important;border-radius:999px!important;text-transform:uppercase!important}
  .tc-contact-page .tc-contact-aside{display:grid!important;grid-template-columns:1fr!important}
  .tc-contact-page .tc-contact-aside article{padding:20px!important}
  .tc-contact-page .tc-direct h3{font-size:24px!important;overflow-wrap:anywhere!important}
  .tc-contact-page .tc-phone-list a{grid-template-columns:auto 1fr!important;gap:12px!important}
}

/* ----------------------------
   PHONE refinements <=620px
   ---------------------------- */
@media (max-width:620px){
  :root{--avix-mobile-gutter:16px;--avix-mobile-section-y:48px}
  :is(.av5-section-head,.s12-section-head,.p3-section-head,.co18-section-head) h2{font-size:clamp(34px,10.2vw,43px)!important}
  .avix-principal-hero h1,.avix-home-hero h1{font-size:clamp(40px,12vw,50px)!important}

  .avix-home-page .av5-hero.avix-home-hero .av5-hero-bottle img{width:min(34vw,132px)!important;max-width:132px!important}
  .avix-home-page .sr-hero-proof-grid>div{min-height:58px!important;padding:9px 8px!important}
  .avix-home-page .sr-hero-proof-grid strong{font-size:13px!important}
  .avix-home-page .sr-hero-proof-grid span{font-size:9.5px!important}

  .avix-home-page #market-opportunity .inv7-commercial-pathway article{grid-template-columns:42px 78px minmax(0,1fr)!important;gap:8px!important}
  .avix-home-page #market-opportunity .inv7-price-pair{gap:10px!important}
  .avix-home-page #market-opportunity .inv7-price-pair article strong{font-size:30px!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof strong{font-size:14px!important}

  .products-v3 .v67-packaging-grid{grid-template-columns:1fr 1fr!important}
  .products-v3 .inv5-package-image{height:125px!important}
  .products-v3 .inv5-package-image img{height:118px!important}
  .products-v3 .inv5-package h3{font-size:14px!important}
  .products-v3 .inv5-package>strong{font-size:27px!important}
  .products-v3 .inv5-package-points{font-size:9.5px!important}

  .science-v12 .sr-protect-grid{grid-template-columns:1fr 1fr!important}

  .tc-team-page .team9-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fp-page .fp-science-map-grid{grid-template-columns:1fr 1fr!important}
  .fp-page .fp2-profile-image-shell{max-width:270px!important}

  .avix-footer-office{padding-inline:8px!important}
  .avix-footer-office p{font-size:10.5px!important}
  .avix-footer-phones a{font-size:10px!important}
}

/* Tiny phones: preserve readability over density. */
@media (max-width:330px){
  :root{--avix-mobile-gutter:14px}
  .avix-section-nav__inner{padding-inline:14px!important;gap:20px!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof{grid-template-columns:1fr!important}
  .avix-home-page #market-opportunity .inv7-commercial-proof>div{border-bottom:1px solid rgba(18,50,58,.1)!important}
  .products-v3 .v67-packaging-grid{grid-template-columns:1fr!important}
  .science-v12 .sr-protect-grid{grid-template-columns:1fr!important}
  .tc-contact-page .sr-contact-choices{grid-template-columns:1fr!important}
  .tc-team-page .team9-team-grid{grid-template-columns:1fr!important}
  .fp-page .fp-proof-grid,.fp-page .fp2-profile-metrics{grid-template-columns:1fr!important}
  .avix-footer-offices{grid-template-columns:1fr!important}
  .avix-footer-office+.avix-footer-office{border-left:0!important;border-top:1px solid rgba(255,255,255,.12)!important}
}

/* Tablet team density: three portraits across, while phones keep two. */
@media (min-width:621px) and (max-width:900px){
  .tc-team-page .team9-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
}

/* Final desktop master grid: specific legacy hero/header selectors are reset to the same 32px rails. */
@media (min-width:1121px){
  .home-v8 .av5-container.av5-header-inner,
  .home-v8.avix-home-page .avix-home-hero > .av5-container:first-child,
  .home-v8.avix-home-page .avix-home-hero > .sr-hero-proof > .sr-hero-proof-grid.av5-container,
  .home-v8.science-v12 .s12-hero.avix-principal-hero .s12-hero-grid,
  .home-v8.products-v3 .p3-hero.avix-principal-hero .p3-hero-grid,
  .home-v8.co18-page .co18-hero.avix-principal-hero .co18-hero-grid,
  .home-v8.tc-team-page .tc-hero.avix-principal-hero .tc-hero-grid,
  .home-v8.tc-contact-page .tc-hero.avix-principal-hero .tc-hero-grid,
  .home-v8.fp-page .fp-hero.avix-principal-hero .fp-hero-grid,
  .home-v8.tc-contact-page .tc-hero.avix-utility-hero .tc-hero-grid,
  .avix-utility-hero-grid,
  .page-legal .avix-utility-hero .container,
  .page-references .avix-utility-hero .container{
    width:calc(100% - 64px)!important;
    max-width:none!important;
    margin-inline:auto!important;
  }
}
