/* Homepage presentation layer. Loaded after earlier homepage sheets; no CMS data changes. */
body:has(.home-premium-v3){--mmh-ink:#0b2839;--mmh-accent:#db7338;--mmh-muted:#627586;--mmh-border:#e2e9ed;background:#f7f9f9}
body:has(.home-premium-v3) .section{padding-block:clamp(68px,7vw,112px)}
body:has(.home-premium-v3) .section-heading h2{font-size:clamp(34px,4vw,58px);letter-spacing:-.05em;line-height:1.1}
body:has(.home-premium-v3) .eyebrow{font-size:11px;letter-spacing:.19em}
/* First impression: concise editorial overlay and visible calls to action. */
.home-premium-v3.mav-slider,.home-premium-v3 .mav-slide-inner{min-height:clamp(610px,80svh,820px)}
.home-premium-v3 .mav-slide-inner{display:flex;align-items:center;padding-top:90px!important;padding-bottom:110px!important}
.home-premium-v3 .mav-slide-copy{max-width:760px}
.home-premium-v3 .mav-slide h1{font-size:clamp(44px,5.5vw,80px);line-height:1.065;letter-spacing:-.055em;text-wrap:balance}
.home-premium-v3 .mav-slide-copy>p{max-width:580px;line-height:1.65}
.home-premium-v3 .mav-slide-photo{background-image:linear-gradient(90deg,rgba(2,19,32,.95),rgba(2,19,32,.73) 42%,rgba(2,19,32,.12)),linear-gradient(0deg,#071c2a87,transparent 54%),var(--slide-image)}
.home-premium-v3 .mav-slide-primary,.home-premium-v3 .mav-slide-secondary{border-radius:9px;font-weight:800;text-decoration:none}
.home-premium-v3 .mav-slide-primary{background:#df7840}
.home-premium-v3 .mav-slide-primary:hover{background:#f08c4e}
/* Services: restrained cards and predictable hierarchy */
body:has(.home-premium-v3) .mm-service-grid{gap:22px}
body:has(.home-premium-v3) .mm-service-grid .service-item{border-radius:16px;padding:27px;min-height:340px;box-shadow:0 8px 24px rgba(7,31,45,.035)}
body:has(.home-premium-v3) .mm-service-grid .service-item:hover{box-shadow:0 20px 45px rgba(7,31,45,.11)}
body:has(.home-premium-v3) .mm-service-grid .service-item h3{font-size:clamp(19px,1.8vw,25px);line-height:1.3;letter-spacing:-.03em}
body:has(.home-premium-v3) .mm-service-grid .service-item p{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body:has(.home-premium-v3) .mm-service-grid .pdf-service-thumb{border-radius:9px}
/* Featured project cards: title isn't a second description. */
body:has(.home-premium-v3) .mm-home-projects{background:#f3f6f7}
body:has(.home-premium-v3) .mm-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:28px}
.mm-heading-period{color:var(--mmh-accent)}
.mm-section-action{display:inline-flex;gap:22px;align-items:center;justify-content:space-between;white-space:nowrap;padding:15px 20px;border:1px solid #cfdadd;border-radius:10px;color:var(--mmh-ink);text-decoration:none;font-size:14px;font-weight:750;transition:.2s}
.mm-section-action:hover{background:#0b2839;color:white;border-color:#0b2839}
.mm-feature-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2.2vw,30px);align-items:stretch}
.mm-feature-project{background:#fff;border:1px solid var(--mmh-border);border-radius:17px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 12px 34px rgba(12,40,54,.045);transition:transform .25s,box-shadow .25s}
.mm-feature-project:hover{transform:translateY(-5px);box-shadow:0 24px 58px rgba(12,40,54,.12)}
.mm-feature-project-media{display:block;aspect-ratio:16/9;background:#e6eef0;overflow:hidden}
.mm-feature-project-media img{height:100%;width:100%;display:block;object-fit:cover;transition:transform .6s}
.mm-feature-project:hover .mm-feature-project-media img{transform:scale(1.045)}
.mm-feature-project-body{flex:1;display:flex;flex-direction:column;padding:clamp(22px,2.35vw,34px);gap:15px}
.mm-feature-project-overline{display:flex;align-items:center;gap:18px;color:#c15e2c;font-size:11px;letter-spacing:.19em;font-weight:800}
.mm-project-line{height:1px;flex:1;background:#e9edef}
.mm-feature-project h3{font-size:clamp(21px,2vw,29px);letter-spacing:-.038em;line-height:1.24;margin:0;font-weight:750;min-height:2.48em}
.mm-feature-project h3 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--mmh-ink);text-decoration:none;overflow-wrap:anywhere}
.mm-feature-project h3 a:hover{color:#bd592b}
.mm-feature-project-body>p{color:var(--mmh-muted);font-size:14px;line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mm-feature-project-bottom{border-top:1px solid var(--mmh-border);margin-top:auto;padding-top:19px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.mm-feature-project-bottom>span{font-size:11px;color:#81929c;letter-spacing:.02em}
.mm-feature-project-bottom a{display:inline-flex;align-items:center;gap:12px;color:#0b2839;text-decoration:none;font-weight:800;font-size:13px;white-space:nowrap}
.mm-feature-project-bottom a span{color:#cf6834;font-size:19px;transition:transform .2s}
.mm-feature-project-bottom a:hover span{transform:translate(3px,-3px)}
body:has(.home-premium-v3) .home-process-grid>div{border-radius:14px}
body:has(.home-premium-v3) .home-final-cta{background:#0a293a}
body:has(.home-premium-v3) :is(.mm-feature-project,.mm-service-grid .service-item,.mm-section-action) :focus-visible{outline:3px solid #d87543;outline-offset:4px}
@media(max-width:920px){.mm-feature-project-grid{gap:18px}.mm-feature-project-body{padding:23px}.mm-feature-project h3{font-size:21px}}
@media(max-width:680px){.mm-feature-project-grid{grid-template-columns:1fr}.mm-home-section-head{align-items:start!important;flex-direction:column}.mm-feature-project h3{min-height:0}.mm-feature-project-media{aspect-ratio:16/10}.home-premium-v3 .mav-slide-inner{min-height:620px;padding-top:95px!important}.home-premium-v3 .mav-slide h1{font-size:clamp(38px,10vw,56px)}.mm-feature-project-bottom>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mm-feature-project,.mm-feature-project-media img,.mm-section-action{transition:none!important}}
