/* Fluid media and content widths across phones and tablets. */
@media(max-width:1100px){
 html,body{max-width:100%}
 main,section,article,.main,.wrap,.hero-inner,.grid,.split,.profile,.founder-card{min-width:0;box-sizing:border-box}
 main img,section img,article img{max-width:100%;box-sizing:border-box}
 .image-card img,.profile-photo img,.founder-card img{height:auto!important;max-height:none!important;object-fit:contain!important}
 img[src$="documents.jpg"],img[src$="statue.jpg"]{width:100%!important;height:auto!important;max-width:100%!important;margin-inline:0!important}
 .service-insight-card img,.related-card img,.related img{width:100%;height:auto!important;aspect-ratio:16/9;object-fit:cover}
 .hero{min-height:0!important;background-position:center center!important;background-attachment:scroll!important}
 .hero-inner{width:100%;max-width:100%;padding:clamp(44px,8vw,80px) clamp(18px,4vw,32px)!important}
 .hero h1{font-size:clamp(30px,5.6vw,58px)!important;line-height:1.12!important;letter-spacing:.035em!important;overflow-wrap:anywhere}
 .hero .tag,.hero .lead{font-size:clamp(15px,2.1vw,19px)!important;line-height:1.65!important}
 .hero .eyebrow{font-size:10px!important;letter-spacing:.15em!important;overflow-wrap:anywhere}
 #home-section>.merlo-home-hero{min-height:0!important;padding:48px 20px 60px!important}
 #home-section .hero-image-bg{height:var(--merlo-hero-height,620px)!important;max-width:100%;object-fit:cover;object-position:center 35%}
 #home-section>.merlo-home-hero h1{font-size:clamp(27px,5.4vw,52px)!important;line-height:1.16!important;letter-spacing:.055em!important}
 #home-section>.merlo-home-hero blockquote{font-size:clamp(14px,2.2vw,19px)!important;line-height:1.7!important;margin-bottom:28px!important}
 #home-categories-grid>div{height:auto!important;min-height:240px;aspect-ratio:4/3}
 main .btn,.cta .btn{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
 .merlo-bottom-ticker{position:static!important;width:100%;max-width:100%;overflow:hidden;margin:0;padding-block:10px;border-block:1px solid #d6b87c33;background:#101010;color:#d6b87c}
}
@media(min-width:768px) and (max-width:1100px){.profile,.split,.founder-card{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:30px!important}}
@media(max-width:767px){
 .profile,.split,.founder-card,.job-grid{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
 .service-insights-grid,.related-grid,.related{grid-template-columns:minmax(0,1fr)!important}
 .cta{padding:28px 18px!important}
 .profile-photo,.image-card{width:100%;max-width:480px;margin-inline:auto}
}
.merlo-bottom-ticker{position:static!important;width:100%;max-width:100%;overflow:hidden;border-block:1px solid #d6b87c33}
@media(prefers-reduced-motion:reduce){.merlo-bottom-ticker *{animation:none!important}}

header.functional-header+main{padding-top:var(--merlo-header-height,110px)!important}
/* Persistent country ribbon above the device safe area. */
body{padding-bottom:var(--merlo-ticker-height,44px)!important}
.merlo-bottom-ticker{position:fixed!important;inset:auto 0 0!important;z-index:60;box-sizing:border-box;margin:0!important;padding:10px 0 calc(10px + env(safe-area-inset-bottom,0px))!important;background:#101010!important;color:#d6b87c;line-height:1.4;white-space:nowrap;direction:ltr;pointer-events:none}
.merlo-bottom-ticker .ticker-track,.merlo-bottom-ticker .animate-ticker{display:flex;width:max-content;animation:merlo-country-scroll 48s linear infinite}
.merlo-bottom-ticker span{flex-shrink:0;padding-inline:18px;font:600 10px/1.4 Inter,Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase}
@keyframes merlo-country-scroll{from{transform:translateX(0)}to{transform:translateX(-25%)}}
@media(prefers-reduced-motion:reduce){.merlo-bottom-ticker *{animation:none!important}}
