/* Antonio Santoro 4.0 Final: responsive and accessibility corrections */
.hero{display:grid;min-height:440px;height:auto;aspect-ratio:1260/580;position:relative;width:100%;min-width:0;overflow:hidden;isolation:isolate;touch-action:pan-y}
.hero-slide{position:relative;inset:auto;grid-area:1/1;display:grid;min-width:0;min-height:100%;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s ease}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;z-index:0}
.hero-slide::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(3,15,29,.9) 0%,rgba(3,15,29,.72) 40%,rgba(3,15,29,.25) 76%,rgba(3,15,29,.08) 100%)}
.hero .hero-stage{position:relative;inset:auto;top:auto;left:auto;transform:none;align-self:center;z-index:2;width:100%;max-width:none;margin:0;padding:54px 8% 86px;background:transparent;border:0;border-radius:0;box-shadow:none;color:#fff;min-width:0}
.hero .hero-heading{position:static;max-width:850px;margin:0!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:clamp(30px,4.45cqw,56px);font-weight:680;line-height:1.08;letter-spacing:-.037em;text-shadow:0 2px 18px rgba(0,0,0,.28);white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.hero .hero-heading::before{content:"";display:block;width:54px;height:3px;margin-bottom:23px;background:#7db9f0}
.hero .hero-description{position:static;max-width:660px;margin:20px 0 0!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:clamp(16px,1.65cqw,21px);font-style:normal;font-weight:400;line-height:1.55;letter-spacing:0;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.35);opacity:1!important;animation:none!important}
.hero .hero-link{position:static;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:25px;padding:13px 24px;background:#0b559e;color:#fff;border:1px solid rgba(255,255,255,.45);font-size:12px;font-weight:700;letter-spacing:.05em;opacity:1!important;animation:none!important}
.hero .hero-link:hover{background:#176ab8}.hero .hero-controls{bottom:11px;max-width:100%;white-space:nowrap}.hero .hero-controls button{min-width:44px;min-height:44px}.hero .hero-pause{min-width:54px}
/* Intrinsic sizing corrections: prevent narrow-grid overflow without hiding content. */
.project-detail,.company-split,.contact-modern{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.contact-modern{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.project-detail>*,.company-split>*,.contact-modern>*,.contact-modern-details>*,.service-pair>*,.call-strip>*,.home-mosaic>*,.home-intro>*{min-width:0;max-width:100%}
.project-detail>div,.service-copy,.legal,.contact-modern-copy{overflow-wrap:anywhere;hyphens:auto}
.project-detail h2,.project-detail h3,.page-title h1,.service-copy h2,.split-heading,.image-banner h2,.project-summary h2,.contact-modern-caption{overflow-wrap:anywhere;hyphens:auto}
.call-number>a{white-space:normal;overflow-wrap:anywhere}.contact-modern-details h3,.contact-modern-details address,.contact-modern-details p{overflow-wrap:anywhere;hyphens:auto}
.project-photo .button{max-width:calc(100% - 32px);white-space:normal;text-align:center;overflow-wrap:anywhere}
.company-copy .company-lead{font-weight:400;font-size:18px;line-height:1.5;margin:0 0 28px}
.testimonial-controls button,.project-controls button{min-width:44px;min-height:44px}.service-nav a{min-height:44px}
.hero a:focus-visible,.hero button:focus-visible,.service-nav a:focus-visible,.site-footer a:focus-visible{outline:3px solid #fff;outline-offset:3px}.service-nav a:focus-visible{outline-offset:-5px}
@media(max-width:800px){.hero{min-height:410px;aspect-ratio:auto}.hero .hero-stage{padding:44px 7% 82px}.hero .hero-heading{font-size:clamp(28px,5cqw,40px)}.hero .hero-description{font-size:17px}.company-copy .company-lead{font-size:15px}}
@media(max-width:600px){.hero{min-height:440px}.hero .hero-stage{padding:40px 7% 86px}.hero .hero-heading{font-size:clamp(26px,7.4cqw,38px);line-height:1.12}.hero .hero-heading::before{margin-bottom:20px}.hero .hero-description{font-size:16px;line-height:1.55}.hero .hero-description br{display:none}.hero-slide::after{background:linear-gradient(90deg,rgba(3,15,29,.9),rgba(3,15,29,.57))}.hero .hero-controls{bottom:9px}.hero .hero-link{font-size:12px}}
@media(max-width:520px){.project-detail,.company-split,.contact-modern{grid-template-columns:minmax(0,1fr)}.project-detail>div{padding:28px 24px}.project-detail h2{font-size:28px}.project-detail>img{height:auto;max-height:460px;aspect-ratio:1.1;object-fit:cover}.contact-modern-details{grid-template-columns:1fr 1fr}}
@media(max-width:360px){.hero{min-height:460px}.hero .hero-stage{padding:38px 22px 83px}.hero .hero-heading{font-size:26px}.hero .hero-description{font-size:15px}.contact-modern-details{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-slide{transition:none}}
