html,body{max-width:100%;overflow-x:clip}
img,svg,video{max-width:100%}
@media (max-width:1100px){
  .header-shell{width:100%;padding-inline:24px}
  .menu-row{grid-template-columns:auto 1fr auto;gap:18px}
  .header-social{display:flex!important;grid-column:1;gap:7px;z-index:3}
  .header-social a{width:34px;height:34px;color:var(--ink)!important;border-color:rgba(40,35,31,.22)!important;background:rgba(255,255,255,.76);text-shadow:none!important}
  .main-nav{top:var(--header-compact,72px);max-height:calc(100dvh - var(--header-compact,72px));overflow-y:auto;overscroll-behavior:contain;padding:28px 24px 36px;box-shadow:0 28px 55px rgba(34,27,22,.14)}
  .main-nav .mobile-social{display:none!important}
  .nav-toggle{grid-column:3;margin-left:0;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.78);color:var(--ink)!important;box-shadow:0 6px 18px rgba(30,24,20,.08)}
  .site-header:not(.is-compact) .header-social a,.site-header:not(.is-compact) .nav-toggle{background:rgba(23,19,17,.32);color:#fff!important;border-color:rgba(255,255,255,.45)!important;backdrop-filter:blur(8px)}
  .inner-page .site-header:not(.is-compact) .header-social a,.inner-page .site-header:not(.is-compact) .nav-toggle{background:rgba(255,255,255,.88);color:var(--ink)!important;border-color:rgba(40,35,31,.18)!important}
  .service-cards,.testimonials{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-card,.quote{min-width:0}
  .section-head{grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
  .section-head>*{min-width:0;max-width:760px}
  .section-head h2{overflow-wrap:anywhere}
  .editorial-split{gap:54px}
}
@media (max-width:820px){
  :root{--mobile-gutter:20px}
  .container{width:calc(100% - (var(--mobile-gutter) * 2));max-width:none}
  .header-shell{padding-inline:var(--mobile-gutter)}
  .brand-row{min-height:78px}
  .brand-logo img{width:74px;height:auto}
  .menu-row{min-height:68px;grid-template-columns:auto 1fr auto}
  .site-header.is-compact .header-shell{grid-template-rows:0 68px}
  .site-header.is-compact .menu-row{min-height:68px}
  .hero,.hero .container{min-height:760px}
  .hero .container{align-items:flex-end;padding-bottom:96px}
  .hero-content{width:min(100%,580px);max-width:100%;padding-top:155px}
  .hero h1{font-size:clamp(48px,10vw,72px);line-height:.94}
  .hero-copy{font-size:16px;max-width:480px}
  .hero-media img{object-position:70% center!important}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .hero-actions .btn:last-child{grid-column:1/-1}
  .hero-actions .btn{min-width:0;padding-inline:14px;text-align:center}
  .section{padding:78px 0}
  .section-head{display:block!important;overflow:visible!important;margin-bottom:34px}
  .section-head>div,.section-head>p{display:block!important;max-width:100%!important;width:auto!important;overflow:visible!important}
  .section-head>p{margin-top:16px}
  .section h2{font-size:clamp(39px,8vw,58px);line-height:.98}
  .horizontal-mobile{margin-inline:calc(var(--mobile-gutter) * -1)!important;padding:4px var(--mobile-gutter) 24px!important;gap:14px!important;overflow-x:auto!important;overflow-y:visible!important;scroll-padding-inline:var(--mobile-gutter)}
  .horizontal-mobile>*{flex:0 0 min(82vw,390px)!important;max-width:min(82vw,390px)!important}
  .service-card-media{min-height:360px}
  .testimonials.horizontal-mobile>*{flex-basis:min(78vw,360px)!important}
  .quote{padding:28px 25px}
  .quote blockquote{font-size:clamp(23px,5.8vw,30px)}
  .editorial-photo img{max-height:680px;object-position:center 25%}
  .footer-grid{grid-template-columns:1fr 1fr;gap:34px 24px}
  .floating-actions{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;display:grid!important;grid-template-columns:42px 42px 42px 48px minmax(128px,1fr)!important;gap:7px!important;align-items:center!important;padding:7px!important;border-radius:18px!important;background:rgba(255,255,255,.93)!important;box-shadow:0 14px 42px rgba(30,24,20,.2)!important;backdrop-filter:blur(16px)!important;z-index:1700!important}
  .floating-actions .float-social,.floating-actions .floating-phone{width:42px!important;height:42px!important;min-width:42px!important;border-radius:13px!important;display:grid!important;place-items:center!important;background:#f4eee8!important;color:var(--ink)!important;border:1px solid rgba(50,41,34,.1)!important;box-shadow:none!important}
  .floating-actions .float-social svg{width:18px;height:18px;fill:currentColor}
  .floating-actions .float-facebook{color:#1877f2!important}
  .floating-actions .float-instagram{color:#c13584!important}
  .floating-actions .float-tiktok{color:#111!important}
  .floating-actions .floating-phone span{font-size:19px}
  .floating-actions .floating-book{height:42px!important;min-width:0!important;padding:0 12px!important;border-radius:13px!important;font-size:10px!important;white-space:nowrap!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body{padding-bottom:84px}
}
@media (max-width:560px){
  :root{--mobile-gutter:16px}
  .header-shell{padding-inline:16px}
  .brand-row{min-height:70px}
  .brand-logo img{width:64px}
  .menu-row{min-height:62px;gap:10px}
  .site-header.is-compact .header-shell{grid-template-rows:0 62px}
  .header-social{gap:5px}
  .header-social a{width:31px;height:31px}
  .header-social svg{width:14px;height:14px}
  .nav-toggle{width:40px;height:40px}
  .hero,.hero .container{min-height:720px}
  .hero .container{padding-bottom:88px}
  .hero-content{padding-top:132px}
  .hero-media img{object-position:72% center!important}
  .hero h1{font-size:clamp(47px,14vw,62px)}
  .hero-copy{font-size:15px;line-height:1.55}
  .hero-actions{grid-template-columns:1fr}
  .hero-actions .btn:last-child{grid-column:auto}
  .hero-actions .btn{min-height:50px}
  .section{padding:66px 0}
  .section-head{margin-bottom:28px}
  .section h2{font-size:clamp(38px,12vw,52px)}
  .horizontal-mobile>*{flex-basis:86vw!important;max-width:86vw!important}
  .service-card-media{min-height:330px}
  .service-card-body{padding:24px 20px}
  .service-actions.compact{grid-template-columns:1fr 1fr!important}
  .service-actions.compact .contact-action{min-height:42px;padding:8px 7px}
  .service-actions.compact .contact-action span{font-size:9.5px}
  .contact-actions:not(.service-actions){grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer{padding-bottom:94px}
  .floating-actions{grid-template-columns:38px 38px 38px 42px minmax(110px,1fr)!important;gap:5px!important;padding:6px!important;left:8px!important;right:8px!important;bottom:8px!important}
  .floating-actions .float-social,.floating-actions .floating-phone{width:38px!important;height:38px!important;min-width:38px!important;border-radius:11px!important}
  .floating-actions .floating-book{height:38px!important;padding-inline:8px!important;font-size:9px!important}
}
@media (max-width:390px){
  .header-social a{width:29px;height:29px}
  .header-social{gap:4px}
  .floating-actions{grid-template-columns:35px 35px 35px 39px minmax(96px,1fr)!important}
  .floating-actions .float-social,.floating-actions .floating-phone{width:35px!important;height:35px!important;min-width:35px!important}
  .floating-actions .floating-book{height:35px!important;font-size:8.5px!important}
  .contact-actions:not(.service-actions){grid-template-columns:1fr}
}
@media (hover:hover){.float-social:hover{transform:translateY(-2px)}}

/* Mobile and tablet hero composition fix */
@media (max-width:820px){
  .home-page .hero{
    min-height:760px;
    background:#8e8882;
  }
  .home-page .hero .container{
    min-height:760px;
    align-items:flex-end;
    padding-bottom:92px;
  }
  .home-page .hero-media img{
    object-position:54% center!important;
    transform-origin:54% 45%;
  }
  .home-page .hero:after{
    background:linear-gradient(90deg,rgba(18,15,13,.72) 0%,rgba(18,15,13,.5) 38%,rgba(18,15,13,.12) 67%,rgba(18,15,13,.03) 100%);
  }
  .home-page .hero-depth-front{
    background:linear-gradient(90deg,rgba(22,18,16,.34) 0%,rgba(22,18,16,.14) 48%,transparent 76%),linear-gradient(0deg,rgba(12,10,9,.34) 0%,transparent 52%);
  }
  .home-page .hero-content{
    width:min(62%,430px);
    max-width:430px;
    padding-top:140px;
    margin-right:auto;
    text-align:left;
  }
  .home-page .hero h1{
    font-size:clamp(46px,9.5vw,66px);
    line-height:.94;
    max-width:7.4em;
  }
  .home-page .hero-copy{
    max-width:360px;
  }
  .home-page .hero-actions{
    width:min(100%,280px);
  }
}

@media (max-width:560px){
  .home-page .hero,
  .home-page .hero .container{
    min-height:720px;
  }
  .home-page .hero .container{
    padding-bottom:88px;
  }
  .home-page .hero-media img{
    object-position:42% center!important;
    transform-origin:42% 45%;
  }
  .home-page .hero:after{
    background:linear-gradient(90deg,rgba(15,12,11,.78) 0%,rgba(15,12,11,.57) 43%,rgba(15,12,11,.17) 70%,rgba(15,12,11,.04) 100%),linear-gradient(0deg,rgba(10,8,7,.43) 0%,transparent 48%);
  }
  .home-page .hero-content{
    width:min(68%,300px);
    max-width:300px;
    padding-top:122px;
  }
  .home-page .hero .eyebrow{
    font-size:10px;
    letter-spacing:.22em;
    white-space:nowrap;
  }
  .home-page .hero h1{
    font-size:clamp(43px,12.4vw,58px);
    line-height:.93;
    max-width:6.7em;
  }
  .home-page .hero-line{
    margin:22px 0;
  }
  .home-page .hero-copy{
    max-width:260px;
    font-size:14px;
    line-height:1.5;
  }
  .home-page .hero-actions{
    width:min(100%,270px);
    max-width:270px;
    gap:9px;
    margin-top:26px;
  }
  .home-page .hero-actions .btn{
    min-height:48px;
    padding-inline:12px;
    font-size:9px;
  }
}

@media (max-width:390px){
  .home-page .hero-content{
    width:min(72%,270px);
  }
  .home-page .hero h1{
    font-size:clamp(40px,12.7vw,50px);
  }
  .home-page .hero-copy{
    max-width:235px;
    font-size:13.5px;
  }
}
