/* Mobile refinements across the public pages. Desktop compositions stay intact. */
@media(max-width:700px){
 html,body{max-width:100%;overflow-x:clip}
 .tt-home :is(.tt-hero-v2-shell,.tt-hero-v2-top,.tt-hero-v2-grid,.tt-process-inner,.tt-services-shell,.tt-solutions-shell,.tt-recent-works-shell,.tt-consult-shell){min-width:0}
 .tt-home .tt-hero.tt-hero-redesign{padding-top:42px;padding-bottom:58px}
 .tt-hero-v2-top{gap:20px}
 .tt-hero-v2-title{font-size:clamp(39px,9.5vw,58px);line-height:1.07;letter-spacing:-.06em}
 .tt-hero-v2-grid{margin-top:38px}
 .tt-hero-v2-card{max-width:100%}
 .tt-hero-v2-showcase-head{flex-wrap:wrap;row-gap:8px}
 .tt-process-heading{align-items:flex-start;flex-direction:column;gap:16px}
 .tt-process-wheel{align-self:flex-end}
 .tt-process-grid{margin-top:26px}
 .tt-solutions-heading{min-height:0;padding-bottom:0}
 .tt-solutions-heading h2{margin-bottom:18px!important;line-height:1.18}
 .tt-solutions-all{position:relative;top:auto;right:auto;bottom:auto;left:auto;display:inline-flex;flex-direction:row;gap:4px;align-self:flex-start;width:auto;height:auto;min-height:45px;padding:0 18px;border-radius:999px;font-size:14px;line-height:1.3}
 .tt-solutions-all::after{display:none}
 .tt-solutions-card-featured,.tt-solutions-secondary .tt-solutions-card{min-height:0}
 .tt-recent-works-carousel{box-sizing:border-box;width:100%;margin-right:0;border-right:1px solid #e0e4ed;border-radius:19px}
 .tt-recent-works-visual{padding-right:7%}
 .tt-consult .tt-inquiry-privacy{flex-wrap:wrap;gap:3px 6px}
 .tt-footer-nav.wp-block-navigation,.tt-footer-nav.tt-footer-nav-floating{box-sizing:border-box;width:min(100%,calc(100vw - 20px));max-width:calc(100vw - 20px)}
 .tt-footer-nav.wp-block-navigation>.wp-block-navigation__container{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;width:100%;gap:1px}
 .tt-footer-nav.wp-block-navigation>.wp-block-navigation__container>li{min-width:0}
 .tt-footer-nav.wp-block-navigation>.wp-block-navigation__container>li>a{box-sizing:border-box;width:100%;min-height:48px;padding:4px 2px!important;font-size:11px!important;line-height:1.2;white-space:normal!important}
 .tt-footer-nav.wp-block-navigation .menu-item-has-children>a::after{flex:none;margin-left:2px}
 .tt-footer-bottom>div{flex-wrap:wrap}
}
@media(max-width:440px){
 .tt-site-header.tt-mobile-menu-open>.tt-header-inner.has-global-padding{min-height:76px!important;height:76px!important}
 .tt-site-header.tt-mobile-menu-open .tt-header-inner>nav#tt-header-menu.tt-nav.is-open{top:76px!important;height:calc(100dvh - 76px);padding-top:16px!important}
 body.admin-bar .tt-site-header.tt-mobile-menu-open .tt-header-inner>nav#tt-header-menu.tt-nav.is-open{height:calc(100dvh - 122px)}
 .tt-site-header.tt-mobile-menu-open .tt-header-inner>nav#tt-header-menu.tt-nav>ul>li>a{min-height:47px;font-size:20px!important}
 .tt-hero-v2-capabilities{padding:25px 22px 31px}
 .tt-hero-v2-capabilities .tt-hero-v2-tags{margin-top:22px}
 .tt-recent-works-visual{min-height:252px;padding-right:0}
 .tt-recent-works-desktop{height:238px}
 .tt-recent-works-mobile{height:204px}
 .tt-contact-page .tt-contact-page-inquiry .tt-consult-form-card{padding:23px 18px 22px}
 .tt-company-ratings .tt-rating>strong{font-size:clamp(17px,4.7vw,20px)}
 .tt-company-ratings .tt-clutch>strong{font-size:clamp(23px,6.4vw,28px)}
 .tt-company-ratings .tt-rating .tt-trustpilot{font-size:22px!important}
 .tt-footer-offices article{min-width:0}
 .tt-footer-offices p{max-width:100%;overflow-wrap:break-word}
 .tt-footer-bottom a{font-size:14px}
 .tt-inner-page-title,.tt-blog-title,.tt-legal-title{overflow-wrap:break-word}
}
@media(max-width:782px){body.admin-bar{padding-top:46px!important}body.admin-bar .tt-site-header.alignfull{top:46px!important}}
@media(max-width:360px){
 .tt-contact-page{padding-inline:12px}
 .tt-contact-page-intro{padding:42px 0 38px}
 .tt-contact-page-grid{gap:30px}
 .tt-contact-page .tt-contact-page-inquiry .tt-consult-form-card{padding:22px 14px}
 .tt-footer-nav.wp-block-navigation{min-height:56px;padding:4px!important}
 .tt-footer-nav.wp-block-navigation>.wp-block-navigation__container>li>a{padding:4px 1px!important;font-size:10px!important}
 .tt-footer-nav.wp-block-navigation .menu-item-has-children>a::after{display:none}
 .tt-consult .tt-consult-form-card{padding-inline:15px}
 .tt-consult .tt-phone-group{grid-template-columns:94px minmax(0,1fr);gap:6px}
 .tt-consult .tt-phone-group input:not([type=radio]):not([type=hidden]){padding-inline:6px!important;font-size:13px!important}
 .tt-consult .tt-form-pair-selects select{padding-left:8px!important;padding-right:18px!important;font-size:13px!important}
}
/* Keep the hero capability card and contact cards inside narrow viewports. */
@media(max-width:700px){
 .tt-hero-v2-capabilities,
 html[data-theme=dark] .tt-hero-v2-capabilities{
  min-height:0;
  padding:26px 24px 24px;
  border:1px solid #d4e3f6;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(120deg,#f3f8ff 0%,#e5efff 54%,#d5e6ff 100%);
 }
 .tt-hero-v2-capabilities::before{display:none}
 .tt-hero-v2-capabilities::after{top:12px;right:12px;width:42px;height:42px;background-size:47px}
 .tt-hero-v2-capabilities>div:first-child{padding-right:0}
 .tt-hero-v2-capabilities h2{max-width:310px}
 .tt-hero-v2-capabilities .tt-hero-v2-tags{gap:0 14px;margin:22px 0 0}
 .tt-hero-v2-capabilities-footer{position:relative;gap:10px;margin:24px 0 0;padding:16px 0 0}
 .tt-hero-v2-capabilities .tt-hero-v2-avatar-stack{position:static;flex:none;flex-direction:row;gap:0}
 .tt-hero-v2-capabilities .tt-hero-v2-avatar-stack i{width:31px;height:31px;margin-left:-5px}
 .tt-hero-v2-capabilities .tt-hero-v2-avatar-stack i:first-child{margin-left:0}
 .tt-hero-v2-capabilities .tt-hero-v2-avatar-stack i:nth-child(3){display:grid}
 .tt-hero-v2-capabilities-footer::after{position:static;display:block;flex:none;width:38px;height:38px;margin-left:auto}
 body.home .tt-consult{padding-inline:22px}
 body.home .tt-consult::before,body.home .tt-consult::after{width:calc(100% - 12px)}
 body.home .tt-consult-shell,body.home .tt-consult-team,body.home .tt-consult-form-card{width:100%;max-width:100%;min-width:0}
}
@media(max-width:440px){
 .tt-hero-v2-capabilities .tt-hero-v2-tags{gap:0 12px;margin-left:0}
 .tt-hero-v2-capabilities .tt-hero-v2-tags span{font-size:13.5px}
}
@media(max-width:360px){
 .tt-hero-v2-capabilities,html[data-theme=dark] .tt-hero-v2-capabilities{padding-inline:18px}
 .tt-hero-v2-capabilities .tt-hero-v2-tags{gap:0 8px}
 .tt-hero-v2-capabilities .tt-hero-v2-tags span{font-size:12.5px}
 .tt-hero-v2-capabilities .tt-hero-v2-tags span::before{width:18px}
 body.home .tt-consult{padding-inline:17px}
}
@media(max-width:700px){html[data-theme=dark] .tt-hero-v2-capabilities{border-color:#365478;background:linear-gradient(120deg,#213f65,#19314e 68%,#142a45)}}
