/* Final brand polish: existing layouts, palette, image choices and centered treatments remain. */
:root{--brand-ink:#262626;--brand-olive:#686f54;--brand-gold:#887044;--brand-paper:#f8f6f1}
body{text-align:start}
main :is(h1,h2) em{font-style:normal}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #887044;outline-offset:4px}
button,a,summary{touch-action:manipulation}
input[type=tel],input[type=email],input[type=url]{direction:ltr;text-align:start}
:where(.article-body,.faq,.application-fields,.project-overview-story,.sc123-card) :is(p,li,dd){overflow-wrap:break-word}
img{max-width:100%}
/* Wrap long English status names rather than widening the mobile document. */
@media(max-width:760px){
 body .collection-filter-bar{min-width:0;max-width:100%;box-sizing:border-box}
 body .collection-filter-bar .tabs{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start;max-width:100%;min-width:0;gap:8px 12px!important}
 body .collection-filter-tools{min-width:0;max-width:100%;flex-wrap:wrap}
 body .collection-filter-tools label{min-width:0;max-width:100%}
 body .p115-viewer-bar{gap:8px;flex-wrap:wrap}
 body .p115-viewer-bar>p{min-width:0;overflow-wrap:anywhere}
 body .p115-viewer-bottom{flex-wrap:wrap;gap:10px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
 body .contact-glass-dialog{max-height:calc(100svh - 24px);overscroll-behavior:contain}
 body .contact-modal-fields textarea{min-height:96px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.final135-reveal{animation:none!important;transition:none!important}}
/* Longer English labels keep a clear edge beside the logo at small desktop widths. */
@media(min-width:1025px) and (max-width:1160px){html[lang=en] body #header.cover-header #nav{gap:clamp(18px,2vw,24px)!important}}
@media(max-width:760px){
 body .projects-section .collection-filter-bar .project-filter-dock{flex-wrap:wrap!important;overflow:visible!important;align-items:flex-start}
 body .projects-section .collection-filter-bar .tabs{flex:1 1 180px!important;width:auto!important}
 body .projects-section .collection-filter-bar .project-active-choice{flex:0 0 auto}
}
.footer-top a[href^="tel:"]{display:inline-block;direction:ltr;white-space:nowrap}
@media(max-width:760px){
 body .projects-section .collection-filter-bar [data-filter]{font-size:12px!important;min-height:44px!important;padding:10px 12px!important;line-height:1.5!important}
 body .projects-section .collection-filter-bar .collection-filter-tools select{width:165px!important;max-width:100%}
}
