/* Mobile accessibility, safe flow and text containment for ALL Complete H2O theme variants. */
html{max-width:100%;scroll-padding-top:82px}
body{max-width:100%;overflow-x:clip}
main,section,header,footer{min-width:0}
.hero-copy,.section-head,.intro-grid,.service-card,.contact-left,.contact-form-box{min-width:0}
/* The old giant decorative circle overlapped real text at narrow widths. */
.statement-orbit{pointer-events:none;z-index:0;opacity:.12}
.statement .section-meta,.statement h2,.statement>.btn{position:relative;z-index:2}
.hero h1,.statement h2{overflow-wrap:break-word;text-wrap:balance}
.service-card{min-width:0}
.theme-preview-bar{max-width:calc(100% - 20px);box-sizing:border-box}
body.preview-mode{padding-bottom:0}
@media(max-width:900px){
 .statement-orbit{display:none!important}
 .hero-copy>p{max-width:560px}
 body[data-theme='ocean'] header,body[data-theme='ripple'] header{height:75px;padding:0 6%}
 body[data-theme='ocean'] nav,body[data-theme='ripple'] nav{top:75px;background:#f8fffd}
 body[data-theme='ocean'] .hero,body[data-theme='ripple'] .hero{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding:55px 6% 66px}
 body[data-theme='ocean'] .hero-copy,body[data-theme='ripple'] .hero-copy{position:relative;left:auto;right:auto;top:auto;width:100%;max-width:710px;margin:0;order:0;animation:rise .65s ease both}
 body[data-theme='ocean'] .hero h1,body[data-theme='ripple'] .hero h1{font-size:clamp(49px,8vw,83px);margin:24px 0 22px}
 body[data-theme='ocean'] .hero-photo,body[data-theme='ripple'] .hero-photo{position:relative;inset:auto;order:1;display:block;width:100%;max-width:680px;height:clamp(290px,68vw,510px);margin:33px auto 0;border-radius:40px 40px 160px 160px;background-position:center 47%}
 body[data-theme='ripple'] .hero-photo{border-radius:180px 180px 38px 38px}
 body[data-theme='ocean'] .hero-index,body[data-theme='ripple'] .hero-index,body[data-theme='ocean'] .hero-overlay-label,body[data-theme='ripple'] .hero-overlay-label{display:none}
 body[data-theme='ocean'] .water-wave,body[data-theme='ripple'] .water-wave{height:105px;bottom:-60px}
 body[data-theme='ocean'] .services-grid,body[data-theme='ripple'] .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-theme='ocean'] .service-card,body[data-theme='ripple'] .service-card{min-height:285px}
 body[data-theme='ocean'] .editorial,body[data-theme='ripple'] .editorial{min-height:0}
 body[data-theme='ocean'] .statement,body[data-theme='ripple'] .statement{border-radius:40px 40px 0 0}
 body[data-theme='atelier'] .hero{height:auto;min-height:0;display:flex;flex-direction:column;padding:50px 7% 60px}
 body[data-theme='atelier'] .hero-copy{position:relative;inset:auto;width:100%;max-width:650px;margin:0;order:0}
 body[data-theme='atelier'] .hero h1{font-size:clamp(49px,8vw,80px)}
 body[data-theme='atelier'] .hero-photo{position:relative;inset:auto;order:1;height:clamp(310px,59vw,550px);width:min(100%,600px);margin:38px auto 0;border-radius:180px 180px 26px 26px}
 body[data-theme='atelier'] .hero-index,body[data-theme='atelier'] .hero-overlay-label{display:none}
}
@media(max-width:600px){
 header .brand img{max-width:145px}
 .hero h1{hyphens:auto}
 .statement{padding:74px 6%!important;min-height:0!important}
 .statement h2{font-size:clamp(33px,9.4vw,47px)!important;line-height:1.13!important;letter-spacing:-.052em!important;max-width:100%;margin:0 auto 28px}
 .statement .section-meta{font-size:9px;letter-spacing:.12em;justify-content:center;margin:0 0 30px}
 .statement:before,.statement:after{pointer-events:none}
 .statement .btn{max-width:100%}
 .section h2{overflow-wrap:anywhere}
 .trustline{padding:18px 6%;gap:17px}
 .trustline>div:not(.trust-divider){width:45%;min-width:0}
 .trustline b{font-size:9px}.trustline span{font-size:10px}
 .section{padding:72px 6%}
 .steps{grid-template-columns:1fr;gap:10px}
 .step{min-height:0;padding:18px 0 22px}.step h3{margin-top:16px}
 .services-grid,.article-grid{grid-template-columns:1fr}
 .hero-buttons{gap:16px}
 .hero-buttons .btn{max-width:100%;gap:18px;white-space:normal;text-align:left;line-height:1.45}
 .btn{min-height:50px}
 .contact-left,.contact-form-box{padding:65px 6%}
 .form-top{flex-wrap:wrap}
 .form-top span{font-size:9px}
 .footer-bottom{line-height:1.6}
 body[data-theme='ocean'] header,body[data-theme='ripple'] header{height:71px}
 body[data-theme='ocean'] nav,body[data-theme='ripple'] nav{top:71px}
 body[data-theme='ocean'] .hero,body[data-theme='ripple'] .hero{padding:47px 6% 53px}
 body[data-theme='ocean'] .hero .eyebrow,body[data-theme='ripple'] .hero .eyebrow{font-size:9px;letter-spacing:.13em}
 body[data-theme='ocean'] .hero h1,body[data-theme='ripple'] .hero h1{font-size:clamp(40px,10.8vw,61px);letter-spacing:-.063em;line-height:1.08;margin:22px 0 16px}
 body[data-theme='ocean'] .hero-copy>p,body[data-theme='ripple'] .hero-copy>p{font-size:14px;line-height:1.7}
 body[data-theme='ocean'] .hero-photo,body[data-theme='ripple'] .hero-photo{height:clamp(285px,73vw,380px);margin-top:29px;border-radius:30px 30px 100px 100px;background-position:center 45%}
 body[data-theme='ripple'] .hero-photo{border-radius:150px 150px 27px 27px}
 body[data-theme='ocean'] .water-wave,body[data-theme='ripple'] .water-wave{height:90px;bottom:-57px}
 body[data-theme='ocean'] .hero:before,body[data-theme='ripple'] .hero:before{width:420px;height:420px;left:-260px;bottom:-180px;right:auto;top:auto}
 body[data-theme='ocean'] .section,body[data-theme='ripple'] .section{padding:75px 6%}
 body[data-theme='ocean'] h2,body[data-theme='ripple'] h2{font-size:clamp(36px,9vw,51px)}
 body[data-theme='ocean'] .services-grid,body[data-theme='ripple'] .services-grid{grid-template-columns:1fr;gap:14px}
 body[data-theme='ocean'] .service-card,body[data-theme='ripple'] .service-card{min-height:270px;padding:27px;border-radius:24px}
 body[data-theme='ocean'] .service-card h3,body[data-theme='ripple'] .service-card h3{font-size:24px;margin:20px 0 12px}
 body[data-theme='ocean'] .editorial-content,body[data-theme='ripple'] .editorial-content{padding:67px 7%}
 body[data-theme='ocean'] .statement:before,body[data-theme='ripple'] .statement:before{width:280px;height:280px;top:20%;right:-18%;box-shadow:0 0 0 38px #b7edee16,0 0 0 78px #b7edee0e}
 body[data-theme='atelier'] .hero{padding:44px 6% 60px;min-height:0;height:auto}
 body[data-theme='atelier'] .hero-copy{width:100%;top:auto;left:auto;right:auto}
 body[data-theme='atelier'] .hero h1{font-size:clamp(40px,10.6vw,60px);line-height:1.06;margin:24px 0 17px}
 body[data-theme='atelier'] .hero .eyebrow{font-size:9px;letter-spacing:.13em}
 body[data-theme='atelier'] .hero-photo{height:clamp(295px,79vw,450px);margin-top:31px;width:100%;border-radius:140px 140px 24px 24px}
 body[data-theme='atelier'] .hero:after{font-size:160px;right:-9%;bottom:-3%;color:#e8f0ea}
 .theme-preview-bar{position:fixed!important;bottom:max(11px,env(safe-area-inset-bottom));left:12px!important;right:12px!important;transform:none!important;width:auto;min-width:0;max-width:calc(100% - 24px);border-radius:18px;gap:12px;padding:13px 15px;display:flex;justify-content:space-between;align-items:center;font-size:11px;line-height:1.4}
 .theme-preview-bar span{min-width:0;overflow-wrap:anywhere}.theme-preview-bar a{flex-shrink:0}
 body.preview-mode{padding-bottom:62px}
}
@media(max-width:360px){body[data-theme='atelier'] .hero h1,body[data-theme='ocean'] .hero h1,body[data-theme='ripple'] .hero h1{font-size:39px}.theme-preview-bar{font-size:10px}}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1!important;transform:none!important}}
