/* AICREA V15.2 — text-flow / overlap stabilization for Hostinger + all viewports */
:root{--aicrea-black:#000;--aicrea-deep:#00474d;--aicrea-aqua:#009b91;--aicrea-paper:#fbfbf7;--aicrea-cream:#f6f5ef}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{line-height:1.45}
*,*::before,*::after{box-sizing:border-box}
main,section,.wrap,.navin,.footergrid,.section-head,.split,.process,.services-editorial,.service-rows,.home-contact-card,.contact-float-card{min-width:0}
h1,h2,h3,h4,p,b,strong,span,a,label,li{max-width:100%;overflow-wrap:break-word;word-break:normal;hyphens:none}
h1,h2,h3,h4{margin-top:0;text-wrap:balance}
p{margin-top:0}

/* NAV — prevent collision before mobile breakpoint */
.nav.nav-premium{background:#000!important}
.nav.nav-premium .navin{min-width:0}
.nav.nav-premium .brand-link{flex:0 1 230px;min-width:150px;overflow:hidden}
.nav.nav-premium .brand-full{max-width:100%;height:auto}
.nav.nav-premium .links{min-width:0;white-space:nowrap}
@media(max-width:1180px){
  .nav.nav-premium .menu{display:block!important}
  .nav.nav-premium .links{display:none!important}
  .nav.nav-premium .links.open{display:flex!important;position:absolute;top:74px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0!important;background:#000!important;border:1px solid #009b91!important;border-radius:16px;padding:12px!important;max-height:calc(100dvh - 92px);overflow-y:auto;white-space:normal;z-index:80}
  .nav.nav-premium .links.open a{padding:13px 12px;width:100%;line-height:1.25}
  .nav.nav-premium .links.open .pill{text-align:center;margin-top:6px}
}

/* HERO */
.hero-watch{height:auto!important;min-height:min(900px,100svh)!important}
.hero-copy-v13{max-width:min(720px,94vw)!important;width:100%!important}
.hero-copy-v13 h1{font-size:clamp(54px,7.2vw,116px)!important;line-height:.9!important;letter-spacing:-.055em!important;margin-bottom:18px!important}
.hero-copy-v13 .hero-secondary{line-height:1.12!important;letter-spacing:-.025em!important}
.hero-copy-v13 .hero-support{line-height:1.55!important}

/* Generic content cards: never clip copy */
.service,.service-row,.service-pillar,.service-editorial,.step,.arce article,.quote,.blog-card,.home-insight-card{height:auto!important;min-height:0!important}
.service h3,.service-row strong,.service-pillar h2,.service-editorial h3,.step h3,.blog-card h3,.home-insight-card h3{line-height:1.08!important}
.service p,.service-row i,.service-pillar p,.service-editorial p,.step p,.blog-card p,.home-insight-card p{line-height:1.55!important}
.service-row{grid-template-columns:52px minmax(180px,.8fr) minmax(250px,1.3fr) 30px!important;align-items:center!important;gap:18px!important;padding-block:22px!important}
.service-row i{white-space:normal!important}

/* Editorial image block */
.image-wash-intro .section-head{min-height:0!important}
.image-wash-intro .section-head>div:nth-child(2){min-width:0!important}
.image-wash-intro .bigcopy{line-height:.98!important;letter-spacing:-.045em!important}
.image-wash-intro .lead{line-height:1.55!important}

/* Team band: content determines height */
.team-card{height:auto!important;min-height:220px!important;grid-template-columns:38% minmax(0,62%)!important}
.team-card-photo{width:auto!important;min-height:220px!important;height:100%!important}
.team-card-copy{min-height:0!important;height:auto!important;justify-content:center!important;overflow:visible!important}
.team-card-copy h3{font-size:clamp(22px,2.2vw,30px)!important;line-height:1!important;letter-spacing:-.035em!important}
.team-card-copy b{font-size:10px!important;line-height:1.4!important;white-space:normal!important}
.team-card-copy p{font-size:12px!important;line-height:1.48!important;white-space:normal!important;display:block!important;overflow:visible!important}

/* Projects: captions can grow */
.project-auto-card,.showcase-project,.project-logo{min-width:0}
.project-auto-card figcaption,.showcase-project figcaption{height:auto!important;min-height:0!important}
.project-auto-card figcaption strong,.showcase-project figcaption strong{line-height:1.15!important;white-space:normal!important}

/* Blog */
.page-blog-v14 .blog-card{height:auto!important;min-height:330px!important;overflow:visible!important}
.page-blog-v14 .blog-card h3{font-size:clamp(22px,2vw,27px)!important;line-height:1.12!important}
.blog-card b{line-height:1.25!important}
.article-shell h1,.article-end h2{line-height:.98!important}
.article-content{min-width:0}

/* Contact + forms */
.home-contact-card,.contact-float-card{align-items:stretch!important}
.home-contact-copy,.home-contact-form,.contact-form-pane,.contact-mau-pane,.home-contact-mau{min-width:0!important}
.home-contact-copy h2,.contact-form-intro h2{line-height:1.05!important}
.form{min-width:0!important}
.form input,.form textarea,.form select,.form button{min-width:0!important;max-width:100%!important;width:100%!important;font:inherit!important}
.form input,.form select{min-height:48px!important}
.form textarea{min-height:132px!important;resize:vertical!important;line-height:1.45!important}
.home-contact-mau,.contact-mau-pane{height:auto!important;min-height:420px!important}
.home-contact-mau img,.contact-mau-pane img{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;min-height:420px!important;object-fit:cover!important}
.home-contact-mau figcaption,.contact-mau-copy{max-width:calc(100% - 32px)!important}

/* Footer */
.footergrid{grid-template-columns:minmax(240px,1.15fr) minmax(150px,.65fr) minmax(240px,1fr)!important;gap:clamp(28px,5vw,72px)!important}
.footergrid p,.footergrid a{line-height:1.7!important;white-space:normal!important}
.footer-statement{max-width:44ch!important}

/* PAGE HEROES */
.pagehero h1,.services-hero h1,.projects-hero h1,.contact-hero-v13 h1,.start-hero-v14 h1{line-height:.94!important;letter-spacing:-.05em!important;overflow:visible!important}

@media(max-width:900px){
  .service-row{grid-template-columns:42px 1fr 28px!important;gap:12px!important}
  .service-row i{grid-column:2!important;margin-top:5px!important}
  .service-row b{grid-column:3!important;grid-row:1 / span 2!important}
  .footergrid{grid-template-columns:1fr 1fr!important}
}

@media(max-width:650px){
  .wrap{width:calc(100% - 28px)!important}
  .hero-watch{min-height:700px!important}
  .hero-copy-v13{margin-top:250px!important}
  .hero-copy-v13 h1{font-size:clamp(48px,14vw,68px)!important;line-height:.94!important}
  .hero-copy-v13 .hero-secondary{font-size:clamp(21px,6.3vw,30px)!important;line-height:1.12!important}
  .hero-copy-v13 .hero-support{font-size:15px!important;line-height:1.5!important}
  .service-row{grid-template-columns:34px 1fr 24px!important;padding:18px 0!important}
  .service-row strong{font-size:16px!important;line-height:1.15!important}
  .service-row i{font-size:12px!important;line-height:1.45!important}
  .team-card{width:min(88vw,360px)!important;min-width:min(88vw,360px)!important;grid-template-columns:36% minmax(0,64%)!important;min-height:210px!important}
  .team-card-photo{min-height:210px!important}
  .team-card-copy{padding:13px!important}
  .team-card-copy h3{font-size:21px!important;margin-bottom:6px!important}
  .team-card-copy b{font-size:9px!important}
  .team-card-copy p{font-size:10.5px!important;line-height:1.4!important;margin-top:7px!important}
  .home-contact-card,.contact-float-card{grid-template-columns:1fr!important}
  .home-contact-copy,.home-contact-form,.contact-form-pane{padding-inline:22px!important}
  .home-contact-mau,.contact-mau-pane{min-height:360px!important}
  .home-contact-mau img,.contact-mau-pane img{min-height:360px!important}
  .page-blog-v14 .blog-card{min-height:0!important}
  .footergrid{grid-template-columns:1fr!important;gap:28px!important}
  .pagehero h1,.services-hero h1,.projects-hero h1,.contact-hero-v13 h1,.start-hero-v14 h1{font-size:clamp(48px,14vw,72px)!important;line-height:.96!important}
}

@media(max-width:390px){
  .hero-copy-v13{margin-top:220px!important}
  .hero-copy-v13 h1{font-size:46px!important}
  .team-card{width:92vw!important;min-width:92vw!important;grid-template-columns:34% 66%!important}
}
