/* Touch targets and narrow layouts, without changing the desktop design. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,a,input,textarea{touch-action:manipulation}
input,textarea,select{font-size:16px;min-width:0;max-width:100%}
#menu-toggle{min-width:48px;min-height:48px;border-radius:8px}
#menu-toggle:focus-visible{outline:3px solid #cc0000;outline-offset:3px}
#mobile-menu{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
#mobile-menu a{display:flex;align-items:center;min-height:48px}
.slide-nav{min-width:48px!important;min-height:48px!important}
.gallery-image{display:block;user-select:none;-webkit-user-drag:none}
.filter-btn{min-height:44px;flex-shrink:0}
footer a{overflow-wrap:anywhere}
@media(max-width:639px){
 .container{padding-left:16px;padding-right:16px}
 #filter-container{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;padding:4px 2px 12px;margin-bottom:24px;overscroll-behavior-x:contain;scrollbar-width:thin}
 #filter-container .filter-btn{white-space:nowrap;padding-left:18px;padding-right:18px}
 #gallery-container{gap:20px}
 #contact input,#contact textarea{font-size:16px}
 #contact .bg-primary{padding:24px 18px}
 #contact a>div:last-child{min-width:0;overflow-wrap:anywhere}
 #engagements .grid>div{padding:20px;gap:12px}
 #engagements .grid>div>div+div{margin-left:0;min-width:0}
 #engagements .grid>div>div:first-child{max-width:56px}
 footer .border-t>div{flex-wrap:wrap;justify-content:center;gap:8px 16px}
 footer .border-t>div>a{margin-left:0!important;display:inline-flex;align-items:center;min-height:44px}
 footer{padding-bottom:80px}
 .floating-phone{width:52px;height:52px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
