/* AVIX Water v96 — accumulated visual/mobile corrections
   Loaded LAST on every page. Brand: #4BC8EF. */

:root{
  --avix-brand:#4BC8EF;
  --avix-brand-dark:#147C9D;
  --avix-ink:#12272E;
  --avix-body:#26383E;
  --avix-muted:#4A5B60;
  --avix-warm:#F7F6F2;
  --avix-dark:#0D2026;
  --avix-dark-2:#15343D;
}

/* --------------------------------------------------------------------------
   01. GLOBAL COLOUR HIERARCHY
   Large headings are NEVER brand blue. Brand blue is reserved for accents.
   -------------------------------------------------------------------------- */
html body main h1,
html body main h2{
  color:inherit;
}
html body main h1 span,
html body main h2 span,
html body main h1 .hero-teal,
html body main h2 .hero-teal,
html body main .hero-teal{
  color:inherit!important;
}

/* Dark-surface large headings */
html body :is(.avix-home-hero,.avix-principal-hero,.av5-products,.sr-readiness,.av5-founder,.team9-avix-team,.tc-prefooter,.fp-cta,.av5-cta,.co18-section--dark) :is(h1,h2),
html body .sr-product-launch :is(h1,h2){
  color:#F8F8F5!important;
}
/* Light-surface large headings */
html body :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-platform,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.fp-career-strip,.tc-contact-path,.tc-contact-main,.avix-utility-body) :is(h1,h2){
  color:var(--avix-ink)!important;
}

/* Eyebrows on light backgrounds use the darker brand text shade. */
html body main :is(.av5-eyebrow,.eyebrow):not(.av5-eyebrow--light):not(.light){
  color:var(--avix-brand-dark)!important;
}
/* Eyebrows on dark backgrounds retain the bright brand blue. */
html body :is(.avix-home-hero,.avix-principal-hero,.av5-products,.sr-readiness,.av5-founder,.team9-avix-team,.tc-prefooter,.fp-cta,.av5-cta,.co18-section--dark,.sr-product-launch) :is(.av5-eyebrow,.eyebrow),
html body :is(.av5-eyebrow--light,.eyebrow.light){
  color:var(--avix-brand)!important;
}

/* Darker body text on light surfaces. */
html body :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-platform,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.fp-career-strip,.tc-contact-path,.tc-contact-main,.avix-utility-body) :is(p,li,dd,address){
  color:var(--avix-body)!important;
}
html body :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-platform,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.fp-career-strip,.tc-contact-path,.tc-contact-main,.avix-utility-body) :is(small,.secondary,.muted){
  color:var(--avix-muted)!important;
}

/* --------------------------------------------------------------------------
   02. STATUS STRIP + MOBILE HEADER/HERO RHYTHM
   Home is the master specification for all principal pages.
   -------------------------------------------------------------------------- */
html body .av5-topline{
  background:var(--avix-warm)!important;
  color:var(--avix-ink)!important;
  border-bottom:1px solid rgba(18,39,46,.10)!important;
  box-shadow:none!important;
}
html body .av5-topline span{color:var(--avix-ink)!important}
html body .av5-topline i{background:var(--avix-brand)!important}

@media(max-width:767px){
  html body .av5-topline{
    min-height:34px!important;
  }
  html body .av5-topline .av5-topline-centre{
    width:100%!important;
    max-width:none!important;
    min-height:34px!important;
    padding:0 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  html body .av5-topline .av5-topline-centre span{
    display:inline!important;
    font-size:8.2px!important;
    line-height:1!important;
    letter-spacing:.065em!important;
    font-weight:760!important;
    text-transform:uppercase!important;
  }
  html body .av5-topline .av5-topline-centre i{
    display:block!important;
    width:3px!important;height:3px!important;flex:0 0 3px!important;
    border-radius:50%!important;
  }

  html body .av5-header{
    top:0!important;
    min-height:64px!important;
    background:#0B171B!important;
  }
  html body .av5-header .av5-header-inner{
    min-height:64px!important;
    width:calc(100% - 32px)!important;
    padding:0!important;
  }
  html body .av5-header .av5-brand img{width:164px!important;max-width:46vw!important;height:auto!important}
  html body .av5-header .av5-menu{width:48px!important;height:48px!important;min-width:48px!important}

  /* Same hero start distance on every principal page. */
  html body.avix-principal-page .avix-principal-hero,
  html body.avix-home-page .avix-home-hero{
    min-height:0!important;
    height:auto!important;
    padding-top:0!important;
  }
  html body.avix-principal-page .avix-principal-hero :is(.s12-hero-copy,.p3-hero-copy,.co18-hero-copy,.tc-hero-copy,.fp-hero-copy),
  html body.avix-home-page .avix-home-hero .av5-hero-copy{
    padding-top:24px!important;
    margin-top:0!important;
  }
  html body.avix-principal-page .avix-principal-hero .av5-eyebrow,
  html body.avix-home-page .avix-home-hero .av5-eyebrow{
    margin:0 0 13px!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    letter-spacing:.09em!important;
  }

  /* Mobile CTA standard */
  html body :is(.av5-button,.avix-hero-cta,.avix-utility-btn){
    min-height:56px!important;
    padding:13px 18px!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:680!important;
    border-radius:17px!important;
  }
}

/* --------------------------------------------------------------------------
   03. MOBILE SECTION NAV — readable and centred
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body .avix-section-nav{height:auto!important;min-height:0!important}
  html body .avix-section-nav__viewport{overflow:hidden!important;padding:0 12px!important}
  html body .avix-section-nav__inner{width:100%!important;max-width:520px!important;margin:0 auto!important;padding:8px 0!important;gap:8px!important}
  html body .avix-section-nav__link{font-size:11.5px!important;line-height:1.15!important;letter-spacing:.025em!important;min-height:42px!important;padding:8px 9px!important;justify-content:center!important;text-align:center!important}
  html body .avix-section-nav__num,
  html body .avix-section-nav__label{font-size:11.5px!important;line-height:1.15!important}

  html body.science-v12 .avix-section-nav__inner,
  html body.products-v3 .avix-section-nav__inner,
  html body.fp-page .avix-section-nav__inner{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body.tc-contact-page .avix-section-nav__inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.tc-team-page .avix-section-nav__inner{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body.avix-home-page .avix-section-nav__viewport,
  html body.co18-page .avix-section-nav__viewport{overflow-x:auto!important;scrollbar-width:none!important}
  html body.avix-home-page .avix-section-nav__inner,
  html body.co18-page .avix-section-nav__inner{display:flex!important;width:max-content!important;max-width:none!important;padding-inline:4px!important;gap:8px!important}
  html body.avix-home-page .avix-section-nav__link,
  html body.co18-page .avix-section-nav__link{flex:0 0 auto!important;min-width:104px!important}
}

/* --------------------------------------------------------------------------
   04. SCIENTIFIC REFERENCES — visible + easy to tap
   -------------------------------------------------------------------------- */
html body main sup{
  line-height:0!important;
  vertical-align:baseline!important;
}
html body main sup a{
  display:inline-grid!important;
  place-items:center!important;
  min-width:24px!important;
  height:24px!important;
  padding:0 5px!important;
  margin-left:4px!important;
  border:1px solid rgba(20,124,157,.34)!important;
  border-radius:999px!important;
  background:rgba(75,200,239,.09)!important;
  color:var(--avix-brand-dark)!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  transform:translateY(-.48em)!important;
  cursor:pointer!important;
}
html body main sup a:hover,
html body main sup a:focus-visible{
  background:var(--avix-brand)!important;
  color:var(--avix-ink)!important;
  outline:2px solid rgba(75,200,239,.22)!important;
  outline-offset:2px!important;
}

@media(max-width:767px){
  html body main sup a{
    min-width:30px!important;
    height:30px!important;
    padding:0 6px!important;
    font-size:12.5px!important;
    transform:translateY(-.42em)!important;
  }
  html body .sr-scientific-references{
    margin-top:14px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  html body .sr-scientific-references>summary{
    min-height:76px!important;
    padding:12px 14px!important;
    gap:12px!important;
    align-items:center!important;
  }
  html body .sr-scientific-references>summary>span:first-child{
    display:block!important;
    min-width:0!important;
    font-size:15.5px!important;
    line-height:1.22!important;
    font-weight:760!important;
  }
  html body .sr-scientific-references>summary small{
    display:block!important;
    margin:0 0 5px!important;
    color:var(--avix-brand-dark)!important;
    font-size:10px!important;
    line-height:1!important;
    letter-spacing:.11em!important;
  }
  html body .sr-reference-toggle{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:50%!important;
  }
  html body .sr-reference-toggle::before{font-size:26px!important;line-height:1!important}
}

/* --------------------------------------------------------------------------
   05. HOME — controlled-platform product list + pricing architecture
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body.avix-home-page #product-platform .av5-product-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:18px!important;
  }
  html body.avix-home-page #product-platform .av5-product-list>div{
    min-height:112px!important;
    display:grid!important;
    grid-template-columns:28px 1fr!important;
    align-content:center!important;
    gap:8px!important;
    padding:13px!important;
    border-radius:15px!important;
  }
  html body.avix-home-page #product-platform .av5-product-list b{
    font-size:12px!important;
    color:var(--avix-brand)!important;
  }
  html body.avix-home-page #product-platform .av5-product-list strong{
    color:#F8F8F5!important;
    font-size:14px!important;
    line-height:1.2!important;
  }
  html body.avix-home-page #product-platform .av5-product-list small{
    margin-top:5px!important;
    color:#CAD8DC!important;
    font-size:11.5px!important;
    line-height:1.3!important;
  }
  html body.avix-home-page #product-platform .av5-products-bottles img{max-width:270px!important}

  /* Same standard becomes a slim full-width strip, the two prices become equal comparison cards. */
  html body.avix-home-page #market-opportunity .v76-format-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  html body.avix-home-page #market-opportunity .v76-format-standard{
    grid-column:1/-1!important;
    grid-row:1!important;
    min-height:0!important;
    padding:14px 16px!important;
    border-radius:15px!important;
  }
  html body.avix-home-page #market-opportunity .v76-format-offer{
    min-height:0!important;
    padding:15px!important;
    border-radius:16px!important;
    text-align:left!important;
  }
  html body.avix-home-page #market-opportunity .v76-format-offer--right{text-align:left!important}
  html body.avix-home-page #market-opportunity .v76-format-label{font-size:10px!important;line-height:1.25!important;letter-spacing:.07em!important}
  html body.avix-home-page #market-opportunity .v76-format-price{font-size:33px!important;line-height:1!important;margin-top:9px!important}
  html body.avix-home-page #market-opportunity .v76-format-offer ul{margin:12px 0 0!important;padding-left:16px!important}
  html body.avix-home-page #market-opportunity .v76-format-offer li{font-size:12.5px!important;line-height:1.35!important;margin:0 0 7px!important}
}
@media(max-width:380px){
  html body.avix-home-page #product-platform .av5-product-list,
  html body.avix-home-page #market-opportunity .v76-format-grid{grid-template-columns:1fr!important}
  html body.avix-home-page #market-opportunity .v76-format-standard{grid-column:1!important}
}

/* --------------------------------------------------------------------------
   06. HOME SCIENTIFIC LEADERSHIP — full image, no dead panel
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body.avix-home-page #scientific-leadership .av5-founder-image{
    width:min(100%,360px)!important;
    max-width:360px!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1/1!important;
    margin:6px auto 10px!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:24px!important;
    background:transparent!important;
  }
  html body.avix-home-page #scientific-leadership .av5-founder-image img{
    width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
    object-fit:cover!important;object-position:center top!important;border-radius:24px!important;
  }
}

/* --------------------------------------------------------------------------
   07. PRODUCTS — bottle fully contained in equal image portal + number lift
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body.products-v3 .sr-product-grid article{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:8px 16px!important;
    overflow:hidden!important;
  }
  html body.products-v3 .sr-product-image{
    grid-column:1!important;grid-row:1/5!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:112px!important;max-width:112px!important;height:238px!important;min-height:238px!important;
    margin:0!important;padding:10px!important;border-radius:16px!important;overflow:hidden!important;
    background:#E8EEF0!important;
  }
  html body.products-v3 .sr-product-image img{
    position:static!important;display:block!important;width:auto!important;max-width:88px!important;height:auto!important;max-height:212px!important;
    margin:auto!important;object-fit:contain!important;transform:none!important;
  }
  html body.products-v3 .sr-product-number{
    grid-column:2!important;grid-row:1!important;
    justify-self:end!important;align-self:start!important;
    margin:-1px 10px 6px 0!important;
    transform:translateY(-5px)!important;
    color:var(--avix-brand-dark)!important;
  }
  html body.products-v3 .sr-product-grid h3{grid-column:2!important;grid-row:1!important;margin:0 42px 10px 0!important}
  html body.products-v3 .sr-product-grid dl{grid-column:2!important;grid-row:2/5!important;margin-top:0!important}
}
@media(max-width:390px){
  html body.products-v3 .sr-product-grid article{grid-template-columns:96px minmax(0,1fr)!important;gap:8px 12px!important;padding:14px!important}
  html body.products-v3 .sr-product-image{width:96px!important;max-width:96px!important;height:218px!important;min-height:218px!important;padding:8px!important}
  html body.products-v3 .sr-product-image img{max-width:76px!important;max-height:195px!important}
}

/* --------------------------------------------------------------------------
   08. COMMERCIAL OPPORTUNITY — bridge, proof-case, operating leverage, stages
   -------------------------------------------------------------------------- */
/* Fix accidental uppercase body copy at every viewport. */
html body.co18-page .co18-proof-card>span{text-transform:uppercase!important}
html body.co18-page .co18-proof-card p,
html body.co18-page .co18-proof-card p span{
  text-transform:none!important;
  letter-spacing:normal!important;
}

@media(max-width:767px){
  /* Bridge proportions */
  html body.co18-page .co18-investment-bridge{gap:10px!important;padding:15px!important}
  html body.co18-page .co18-products-ready span{min-height:42px!important;padding:8px!important}
  html body.co18-page .co18-bridge-arrow{min-height:34px!important;margin:0!important}
  html body.co18-page .co18-bridge-arrow::before{width:68%!important}
  html body.co18-page .co18-plant-core{
    width:218px!important;height:218px!important;min-height:218px!important;padding:20px!important;
  }
  html body.co18-page .co18-plant-core strong{font-size:32px!important}
  html body.co18-page .co18-plant-output{max-width:100%!important;margin:2px auto 0!important;gap:8px!important}
  html body.co18-page .co18-plant-output span{font-size:10.5px!important}

  /* Operating leverage: five clean rows, no cyan slab. */
  html body.co18-page #shared-platform .co18-backbone{
    padding:16px!important;border-radius:20px!important;background:#FFF!important;border:1px solid #D6DEE0!important;
  }
  html body.co18-page #shared-platform .co18-backbone-line{
    display:grid!important;grid-template-columns:1fr!important;gap:8px!important;
    padding:0!important;background:transparent!important;border:0!important;
  }
  html body.co18-page #shared-platform .co18-backbone-arrow{display:none!important}
  html body.co18-page #shared-platform .co18-backbone-step{
    display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;
    min-height:58px!important;padding:9px 12px!important;border:1px solid #DCE3E5!important;border-radius:14px!important;
    background:#F7F9F9!important;color:var(--avix-ink)!important;
  }
  html body.co18-page #shared-platform .co18-backbone-step b{
    width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:50%!important;
    background:rgba(75,200,239,.18)!important;color:var(--avix-brand-dark)!important;font-size:11px!important;
  }
  html body.co18-page #shared-platform .co18-backbone-step strong{
    color:var(--avix-ink)!important;font-size:14px!important;line-height:1.25!important;text-align:left!important;
  }
  html body.co18-page #shared-platform .co18-backbone-strip{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;
    margin-top:12px!important;border-radius:14px!important;overflow:hidden!important;background:#132E35!important;
  }
  html body.co18-page #shared-platform .co18-backbone-strip span{
    padding:11px 6px!important;color:#F8F8F5!important;font-size:9.5px!important;line-height:1.2!important;text-align:center!important;
  }
  html body.co18-page #shared-platform .co18-backbone-note{margin:13px 4px 0!important;color:var(--avix-body)!important;font-size:13px!important;line-height:1.45!important;text-align:center!important}

  /* Stage cards tighter + stronger white-card text contrast */
  html body.co18-page .co18-market-card{padding:16px!important}
  html body.co18-page .co18-market-card h3{margin-top:12px!important}
  html body.co18-page .co18-checkpoints{gap:6px!important;margin-top:14px!important}
  html body.co18-page .co18-checkpoints span{padding:8px 10px!important}
  html body.co18-page .co18-unit-economics{margin-top:14px!important;padding:14px!important}
  html body.co18-page .co18-unit-economics p{color:var(--avix-body)!important}
}

/* --------------------------------------------------------------------------
   09. OUR TEAM — full founder image, 2x2 expertise, animations restored
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body.tc-team-page .team9-founder-card{padding:0 16px 18px!important;overflow:hidden!important}
  html body.tc-team-page .team9-founder-identity{
    margin:0 -16px 16px!important;padding:16px!important;background:#15343D!important;color:#F8F8F5!important;
  }
  html body.tc-team-page .team9-founder-kickers{display:grid!important;grid-template-columns:repeat(2,max-content)!important;gap:6px!important}
  html body.tc-team-page .team9-founder-kickers span{font-size:9.5px!important}
  html body.tc-team-page .team9-founder-identity h3{color:#F8F8F5!important}
  html body.tc-team-page .team9-founder-identity p{color:#CBD8DB!important}
  html body.tc-team-page .team9-founder-photo-shell{width:100%!important;max-width:420px!important;margin:0 auto!important}
  html body.tc-team-page .team9-founder-photo{width:100%!important;max-width:none!important;border-radius:22px!important;overflow:hidden!important}
  html body.tc-team-page .team9-founder-photo img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center top!important}
  html body.tc-team-page .team9-founder-tags{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important;
  }
  html body.tc-team-page .team9-founder-tags span{
    min-height:38px!important;display:grid!important;place-items:center!important;text-align:center!important;
    font-size:10.5px!important;line-height:1.2!important;padding:7px 8px!important;
  }
  html body.tc-team-page .team9-founder-content,
  html body.tc-team-page .team9-founder-body{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
  html body.tc-team-page .team9-founder-summary{width:100%!important;max-width:none!important;font-size:15px!important;line-height:1.5!important;color:var(--avix-body)!important}

  /* Restore logo marquee animation on mobile. */
  html body.tc-team-page .team9-logo-marquee{overflow:hidden!important;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)!important}
  html body.tc-team-page .team9-logo-track{
    display:flex!important;flex-wrap:nowrap!important;width:max-content!important;gap:0!important;
    transform:translateX(0);animation:team9LogoLoop 28s linear infinite!important;
  }
  html body.tc-team-page .team9-logo-set{display:flex!important;flex-wrap:nowrap!important;gap:22px!important;padding-right:22px!important}
  html body.tc-team-page .team9-logo-set[aria-hidden="true"]{display:flex!important}
  html body.tc-team-page .team9-logo-set img{max-width:none!important;width:auto!important;height:34px!important;max-height:34px!important}
}

/* --------------------------------------------------------------------------
   10. FOUNDER PROFILE — full portrait, remove note, 2x2 pills, full-width copy,
       proof grid complete, logo animation restored, hero diagram cleaner.
   -------------------------------------------------------------------------- */
@media(max-width:767px){
  html body.fp-page .fp-science-step{
    background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.17)!important;
    display:grid!important;grid-template-columns:38px 1fr!important;gap:8px!important;align-items:center!important;
  }
  html body.fp-page .fp-science-step i{
    width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:50%!important;
    background:var(--avix-brand)!important;color:var(--avix-ink)!important;font-size:10.5px!important;font-style:normal!important;
  }
  html body.fp-page .fp-science-step span{color:#F8F8F5!important;font-size:12.5px!important;line-height:1.2!important}
  html body.fp-page .fp-proof-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;
  }
  html body.fp-page .fp-proof-grid>div{display:block!important;min-height:90px!important;padding:14px!important}
  html body.fp-page .fp-proof-grid strong{font-size:15px!important}
  html body.fp-page .fp-proof-grid span{font-size:11px!important}

  html body.fp-page .fp2-profile-card{padding:0 16px 18px!important;overflow:hidden!important}
  html body.fp-page .fp2-profile-head{
    margin:0 -16px 18px!important;padding:16px!important;background:#15343D!important;color:#F8F8F5!important;
  }
  html body.fp-page .fp2-profile-head h3{color:#F8F8F5!important}
  html body.fp-page .fp2-profile-head p{color:#CBD8DB!important}
  html body.fp-page .fp2-profile-image-shell{width:100%!important;max-width:420px!important;margin:0 auto!important}
  html body.fp-page .fp2-profile-image{width:100%!important;max-width:none!important;border-radius:22px!important;overflow:hidden!important}
  html body.fp-page .fp2-profile-image img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center top!important}
  html body.fp-page .fp2-profile-image-note{display:none!important}
  html body.fp-page .fp2-tags{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important;
  }
  html body.fp-page .fp2-tags span{
    min-height:38px!important;display:grid!important;place-items:center!important;text-align:center!important;
    padding:7px 8px!important;font-size:10.5px!important;line-height:1.2!important;
  }
  html body.fp-page .fp2-profile-content,
  html body.fp-page .fp2-profile-body{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
  html body.fp-page .fp2-profile-body>p{width:100%!important;max-width:none!important;font-size:15px!important;line-height:1.55!important;color:var(--avix-body)!important}
  html body.fp-page .fp2-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}

  html body.fp-page .fp2-logo-marquee{overflow:hidden!important;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)!important}
  html body.fp-page .fp2-logo-track{
    display:flex!important;flex-wrap:nowrap!important;width:max-content!important;gap:0!important;
    transform:translateX(0);animation:fp2LogoLoop 29s linear infinite!important;
  }
  html body.fp-page .fp2-logo-set{display:flex!important;flex-wrap:nowrap!important;gap:22px!important;padding-right:22px!important}
  html body.fp-page .fp2-logo-set[aria-hidden="true"]{display:flex!important}
  html body.fp-page .fp2-logo-set img{max-width:none!important;width:auto!important;height:34px!important;max-height:34px!important}
}

/* --------------------------------------------------------------------------
   11. CONTACT — brand-correct SVG companion styling, email white, smaller phones
   -------------------------------------------------------------------------- */
html body.tc-contact-page .tc-direct h3 a{
  color:#F8F8F5!important;
}
html body.tc-contact-page .tc-direct h3 a:hover,
html body.tc-contact-page .tc-direct h3 a:focus-visible{
  color:var(--avix-brand)!important;
}
@media(max-width:767px){
  html body.tc-contact-page .tc-phone-list a strong{
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:680!important;
  }
  html body.tc-contact-page .tc-phone-list a span{
    font-size:10.5px!important;
    line-height:1.2!important;
    letter-spacing:.07em!important;
  }
  html body.tc-contact-page .tc-phone-list a{padding:13px 0!important}
}

/* --------------------------------------------------------------------------
   12. FOOTER — T-Booster geometry/typography, tighter height, bottom-aligned LinkedIn
   -------------------------------------------------------------------------- */
html body .avix-global-footer{
  padding:50px 0 30px!important;
}
html body .avix-global-footer .avix-footer-shell{
  width:calc(100% - 112px)!important;
  max-width:1880px!important;
}
html body .avix-global-footer .avix-footer-top{
  grid-template-columns:minmax(0,1.52fr) minmax(150px,.78fr) minmax(220px,1fr) minmax(205px,.82fr)!important;
  gap:52px!important;
  align-items:stretch!important;
  padding-bottom:26px!important;
}
html body .avix-global-footer .avix-footer-brand{
  display:flex!important;
  flex-direction:column!important;
  min-height:238px!important;
}
html body .avix-global-footer .avix-footer-logo-link{margin-bottom:18px!important}
html body .avix-global-footer .avix-footer-logo{width:255px!important}
html body .avix-global-footer .avix-footer-tagline{
  margin-bottom:17px!important;
  max-width:440px!important;
  font-size:14.5px!important;
  line-height:1.5!important;
}
html body .avix-global-footer .avix-footer-proof{
  column-gap:28px!important;
  row-gap:6px!important;
  list-style:none!important;
}
html body .avix-global-footer .avix-footer-proof li{
  list-style:none!important;
  padding-left:15px!important;
  font-size:13.5px!important;
  line-height:1.35!important;
}
html body .avix-global-footer .avix-footer-proof li::marker{content:""!important;font-size:0!important}
html body .avix-global-footer .avix-footer-proof li::before{
  content:"•"!important;
  font-size:15px!important;
  line-height:1.1!important;
}
html body .avix-global-footer .avix-footer-linkedin{
  margin-top:auto!important;
  min-height:0!important;
  padding-top:18px!important;
  color:var(--avix-brand)!important;
  font-size:13px!important;
  font-weight:700!important;
}
html body .avix-global-footer .avix-footer-linkedin:hover,
html body .avix-global-footer .avix-footer-linkedin:focus-visible{color:#F8F8F5!important}

html body .avix-global-footer :is(.avix-footer-column,.avix-footer-contact,.avix-footer-office) h2{
  font-size:12px!important;
  line-height:1.2!important;
  letter-spacing:.11em!important;
  margin-bottom:15px!important;
}
html body .avix-global-footer .avix-footer-column{gap:12px!important}
html body .avix-global-footer .avix-footer-column h2{margin-bottom:5px!important}
html body .avix-global-footer .avix-footer-column a,
html body .avix-global-footer .avix-footer-contact-block a{
  font-size:14px!important;
  line-height:1.35!important;
}
html body .avix-global-footer .avix-footer-contact-block{margin-bottom:22px!important}
html body .avix-global-footer .avix-footer-contact-block span,
html body .avix-global-footer .avix-footer-phones b{
  margin-bottom:6px!important;
  font-size:10px!important;
}
html body .avix-global-footer .avix-footer-office,
html body .avix-global-footer .avix-footer-office + .avix-footer-office{
  padding-top:18px!important;
  padding-bottom:20px!important;
}
html body .avix-global-footer .avix-footer-office h2{margin-bottom:10px!important}
html body .avix-global-footer .avix-footer-office p{
  margin-bottom:14px!important;
  font-size:13.5px!important;
  line-height:1.45!important;
}
html body .avix-global-footer .avix-footer-phones{gap:12px 28px!important}
html body .avix-global-footer .avix-footer-phones a{font-size:13.5px!important}
html body .avix-global-footer .avix-footer-disclaimer{
  padding:18px 0 14px!important;
  font-size:11px!important;
  line-height:1.45!important;
}
html body .avix-global-footer .avix-footer-bottom>p,
html body .avix-global-footer .avix-footer-bottom a{
  font-size:11px!important;
  line-height:1.4!important;
}
html body .avix-global-footer .avix-footer-bottom nav{gap:20px!important}

@media(max-width:1200px){
  html body .avix-global-footer{padding:42px 0 28px!important}
}
@media(max-width:767px){
  html body .avix-global-footer{padding:32px 0 22px!important}
  html body .avix-global-footer .avix-footer-shell{width:calc(100% - 32px)!important}
  html body .avix-global-footer .avix-footer-top{gap:24px!important;padding-bottom:22px!important}
  html body .avix-global-footer .avix-footer-brand{min-height:0!important}
  html body .avix-global-footer .avix-footer-logo{width:188px!important}
  html body .avix-global-footer .avix-footer-logo-link{margin-bottom:14px!important}
  html body .avix-global-footer .avix-footer-tagline{margin-bottom:14px!important;font-size:13.5px!important}
  html body .avix-global-footer .avix-footer-proof{row-gap:5px!important;column-gap:14px!important}
  html body .avix-global-footer .avix-footer-proof li{font-size:12px!important;padding-left:13px!important}
  html body .avix-global-footer .avix-footer-linkedin{margin-top:14px!important;padding-top:0!important;font-size:12.5px!important}
  html body .avix-global-footer .avix-footer-column{gap:8px!important}
  html body .avix-global-footer .avix-footer-column a,
  html body .avix-global-footer .avix-footer-contact-block a{font-size:13.5px!important}
  html body .avix-global-footer .avix-footer-contact{gap:14px!important}
  html body .avix-global-footer .avix-footer-office,
  html body .avix-global-footer .avix-footer-office + .avix-footer-office{padding:16px 0 18px!important}
  html body .avix-global-footer .avix-footer-office p{font-size:13px!important;margin-bottom:12px!important}
  html body .avix-global-footer .avix-footer-phones a{font-size:13px!important}
  html body .avix-global-footer .avix-footer-disclaimer{padding:16px 0 12px!important;font-size:10.5px!important}
  html body .avix-global-footer .avix-footer-bottom>p,
  html body .avix-global-footer .avix-footer-bottom a{font-size:10.5px!important}
}

/* Keep accessibility motion preference respected even while restoring mobile marquees. */
@media(prefers-reduced-motion:reduce){
  html body.tc-team-page .team9-logo-track,
  html body.fp-page .fp2-logo-track{animation:none!important;transform:none!important}
}

/* --------------------------------------------------------------------------
   13. FINAL CASCADE SAFETY — neutralise old authored-line blue overrides
   -------------------------------------------------------------------------- */
html body.avix-home-page .avix-home-hero h1,
html body.avix-home-page .avix-home-hero h1 > span,
html body.science-v12 .s12-hero h1,
html body.science-v12 .s12-hero h1 > span,
html body.products-v3 .p3-hero h1,
html body.products-v3 .p3-hero h1 > span,
html body.co18-page .co18-hero h1,
html body.co18-page .co18-hero h1 > span,
html body.tc-team-page .team9-hero h1,
html body.tc-team-page .team9-hero h1 > span,
html body.fp-page .fp-hero h1,
html body.fp-page .fp-hero h1 > span,
html body.tc-contact-page .tc-hero h1,
html body.tc-contact-page .tc-hero h1 > span,
html body.tc-contact-page .tc-hero h1 .hero-teal{
  color:#F8F8F5!important;
  -webkit-text-fill-color:#F8F8F5!important;
}
html body :is(.av5-products,.sr-readiness,.av5-founder,.team9-avix-team,.tc-prefooter,.fp-cta,.av5-cta,.co18-section--dark,.sr-product-launch) h2,
html body :is(.av5-products,.sr-readiness,.av5-founder,.team9-avix-team,.tc-prefooter,.fp-cta,.av5-cta,.co18-section--dark,.sr-product-launch) h2 > span{
  color:#F8F8F5!important;
  -webkit-text-fill-color:#F8F8F5!important;
}
html body :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-platform,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.fp-career-strip,.tc-contact-path,.tc-contact-main,.avix-utility-body) h2,
html body :is(.sr-home-scientific-need,.sr-standard,.sr-market,.sr-science-profile,.s12-manufacturing,.sr-avix-science,.sr-product-platform,.sr-portfolio,.co18-section--soft,.co18-section--upside,.team9-founder-section,.team9-build,.fp2-profile,.fp2-water,.fp-ventures,.fp-career-strip,.tc-contact-path,.tc-contact-main,.avix-utility-body) h2 > span{
  color:var(--avix-ink)!important;
  -webkit-text-fill-color:var(--avix-ink)!important;
}

@media(max-width:767px){
  /* Force full founder portraits inside their card width. */
  html body.tc-team-page .team9-founder-side,
  html body.tc-team-page .team9-founder-photo-shell,
  html body.tc-team-page .team9-founder-photo,
  html body.fp-page .fp2-profile-side,
  html body.fp-page .fp2-profile-image-shell,
  html body.fp-page .fp2-profile-image{
    width:100%!important;
    max-width:none!important;
  }

  /* The founder proof strip must show all four items; old hero CSS fixed it to 90px. */
  html body.fp-page .fp-proof,
  html body.fp-page .fp-proof-grid{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  html body.fp-page .fp-proof-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body.fp-page .fp-proof-grid>div{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-height:82px!important;
    padding:13px 12px!important;
  }

  /* Footer must collapse to one column on every page, not only Home. */
  html body .avix-global-footer .avix-footer-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
  }
  html body .avix-global-footer :is(.avix-footer-brand,.avix-footer-column,.avix-footer-contact,.avix-footer-office,.avix-footer-tagline,.avix-footer-proof){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}
@media(max-width:767px){
  html body.home-v8.fp-page .fp-hero.avix-principal-hero .fp-proof,
  html body.home-v8.fp-page .fp-hero.avix-principal-hero .fp-proof-grid{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  html body.home-v8.fp-page .fp-hero.avix-principal-hero .fp-proof-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
    align-items:stretch!important;
  }
}

/* Mobile hero chrome parity with Home — exact page-specific selectors outrank legacy hero files. */
@media(max-width:767px){
  html body.science-v12 .s12-hero.avix-principal-hero,
  html body.products-v3 .p3-hero.avix-principal-hero,
  html body.co18-page .co18-hero.avix-principal-hero,
  html body.tc-team-page .team9-hero.avix-principal-hero,
  html body.fp-page .fp-hero.avix-principal-hero,
  html body.tc-contact-page .tc-hero.avix-principal-hero{
    padding-top:0!important;
    margin-top:0!important;
    min-height:0!important;
    height:auto!important;
  }
  html body.science-v12 .s12-hero.avix-principal-hero .s12-hero-copy,
  html body.products-v3 .p3-hero.avix-principal-hero .p3-hero-copy,
  html body.co18-page .co18-hero.avix-principal-hero .co18-hero-copy,
  html body.tc-team-page .team9-hero.avix-principal-hero .tc-hero-copy,
  html body.fp-page .fp-hero.avix-principal-hero .fp-hero-copy,
  html body.tc-contact-page .tc-hero.avix-principal-hero .tc-hero-copy{
    padding-top:34px!important;
    margin-top:0!important;
  }

  /* Four-item subnavs: true centred 2x2 grid with enough height to show all four. */
  html body.science-v12 .avix-section-nav,
  html body.products-v3 .avix-section-nav,
  html body.fp-page .avix-section-nav,
  html body.science-v12 .avix-section-nav__viewport,
  html body.products-v3 .avix-section-nav__viewport,
  html body.fp-page .avix-section-nav__viewport{
    height:108px!important;
    min-height:108px!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  html body.science-v12 .avix-section-nav__inner,
  html body.products-v3 .avix-section-nav__inner,
  html body.fp-page .avix-section-nav__inner{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    grid-template-rows:repeat(2,42px)!important;
    align-content:center!important;
  }
}
@media(max-width:767px){
  html body.home-v8.science-v12 .s12-hero.avix-principal-hero,
  html body.home-v8.products-v3 .p3-hero.avix-principal-hero,
  html body.home-v8.co18-page .co18-hero.avix-principal-hero,
  html body.home-v8.tc-team-page .team9-hero.avix-principal-hero,
  html body.home-v8.fp-page .fp-hero.avix-principal-hero,
  html body.home-v8.tc-contact-page .tc-hero.avix-principal-hero{
    padding-top:0!important;
    margin-top:0!important;
    min-height:0!important;
    height:auto!important;
  }
  html body.home-v8.science-v12 .s12-hero.avix-principal-hero .s12-hero-copy,
  html body.home-v8.products-v3 .p3-hero.avix-principal-hero .p3-hero-copy,
  html body.home-v8.co18-page .co18-hero.avix-principal-hero .co18-hero-copy,
  html body.home-v8.tc-team-page .team9-hero.avix-principal-hero .tc-hero-copy,
  html body.home-v8.fp-page .fp-hero.avix-principal-hero .fp-hero-copy,
  html body.home-v8.tc-contact-page .tc-hero.avix-principal-hero .tc-hero-copy{
    padding:34px 0 0!important;
    margin:0!important;
  }
}
@media(min-width:381px) and (max-width:767px){
  html body.home-v8.avix-home-page #market-opportunity .v76-format-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html body.home-v8.avix-home-page #market-opportunity .v76-format-standard{
    grid-column:1/-1!important;
    grid-row:1!important;
  }
}
@media(max-width:767px){
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-image{
    width:min(100%,360px)!important;
    max-width:360px!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1/1!important;
    margin:6px auto 10px!important;
  }
  html body.home-v8.avix-home-page #scientific-leadership .av5-founder-image img{
    width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
    object-fit:cover!important;object-position:center top!important;
  }
}

/* --------------------------------------------------------------------------
   14. FINAL MOBILE FOUNDER CARD WIDTH + MOTION RESTORATION
   Make the portraits and copy use the card width rather than sitting in a
   narrow desktop-derived inner column. Restore reveal motion unless the user
   explicitly requests reduced motion.
   -------------------------------------------------------------------------- */
@media (max-width:767px){
  html body.tc-team-page .team9-founder-card,
  html body.fp-page .fp2-profile-card{
    padding-left:0!important;
    padding-right:0!important;
  }

  html body.tc-team-page .team9-founder-identity,
  html body.fp-page .fp2-profile-head{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  html body.tc-team-page .team9-founder-main,
  html body.fp-page .fp2-profile-main{
    width:100%!important;
    max-width:none!important;
    padding:18px 16px 20px!important;
    margin:0!important;
  }

  html body.tc-team-page .team9-founder-side,
  html body.tc-team-page .team9-founder-photo-shell,
  html body.tc-team-page .team9-founder-photo,
  html body.fp-page .fp2-profile-side,
  html body.fp-page .fp2-profile-image-shell,
  html body.fp-page .fp2-profile-image,
  html body.fp-page .fp2-profile-content,
  html body.fp-page .fp2-profile-body{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  html body.fp-page .fp2-profile-side{padding:0!important}

  html body.tc-team-page .team9-founder-photo,
  html body.fp-page .fp2-profile-image{
    aspect-ratio:1 / 1!important;
    min-height:0!important;
  }
  html body.tc-team-page .team9-founder-photo img,
  html body.fp-page .fp2-profile-image img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center top!important;
  }

  html body.tc-team-page .team9-founder-summary,
  html body.fp-page .fp2-profile-body>p{
    width:100%!important;
    max-width:none!important;
  }
}

@media (max-width:767px) and (prefers-reduced-motion:no-preference){
  html body .av5-reveal{
    opacity:0!important;
    transform:translateY(18px)!important;
    transition:opacity .58s ease, transform .58s ease!important;
    animation:initial!important;
  }
  html body .av5-reveal.is-visible{
    opacity:1!important;
    transform:none!important;
  }
  html body.tc-team-page .team9-logo-track{
    animation:team9LogoLoop 28s linear infinite!important;
  }
  html body.fp-page .fp2-logo-track{
    animation:fp2LogoLoop 29s linear infinite!important;
  }
}
@media(max-width:767px){
  html body.home-v8.fp-page .fp2-profile-card .fp2-profile-image{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
  }
  html body.home-v8.fp-page .fp2-profile-card .fp2-profile-image img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    object-position:center top!important;
  }
}
