/* A compact single-line heading and a centered, complete carousel composition. */
body.refined-v27:has(.ap-home) .hero .hero-content{width:min(1480px,calc(100% - 64px))!important;padding:42px 0 0!important}
body.refined-v27:has(.ap-home) .hero h1{font-size:clamp(30px,3.6vw,52px)!important;line-height:1.2!important;white-space:nowrap!important;letter-spacing:-.025em!important;margin:0!important}
body.refined-v27:has(.ap-home) .hero .hero-copy{font-size:clamp(15px,1.22vw,19px)!important;line-height:1.55!important;min-height:30px!important;max-width:1460px!important;margin:18px auto 0!important;white-space:nowrap}
body.refined-v27:has(.ap-home) .hero .actions{margin-top:20px!important}
body.refined-v27:has(.ap-home) .hero .hero-image,body.refined-v27:has(.ap-home) .hero[data-slide="4"] .hero-image{width:100%!important;height:auto!important;max-width:1800px!important;object-fit:contain!important;object-position:center!important;margin:24px auto 0!important;background:#f5f5f7!important}
body.refined-v27:has(.ap-home) .hero .hero-controls{width:min(1480px,calc(100% - 64px))!important}
body.refined-v27:has(.ap-home) .hero{padding-bottom:50px!important}
.ap-introduction{padding:76px 0 70px}.ap-introduction h2{font-size:clamp(42px,4.8vw,66px);line-height:1.12!important}.ap-intro-copy{margin-top:22px}
@media(max-width:1000px){body.refined-v27:has(.ap-home) .hero .hero-copy{white-space:normal;max-width:900px!important;font-size:16px!important;min-height:50px!important}}
@media(max-width:700px){body.refined-v27:has(.ap-home) .hero .hero-content{width:calc(100% - 32px)!important;padding:30px 0 0!important}body.refined-v27:has(.ap-home) .hero h1{font-size:clamp(17px,4.8vw,30px)!important;line-height:1.3!important;letter-spacing:-.03em!important}body.refined-v27:has(.ap-home) .hero .hero-copy{font-size:15px!important;line-height:1.6!important;margin-top:15px!important;min-height:72px!important;white-space:normal}body.refined-v27:has(.ap-home) .hero .hero-image,body.refined-v27:has(.ap-home) .hero[data-slide="4"] .hero-image{height:auto!important;width:100%!important;margin-top:20px!important;object-position:center!important;object-fit:contain!important}body.refined-v27:has(.ap-home) .hero .hero-controls{width:calc(100% - 32px)!important}.ap-introduction{padding:55px 0 50px}.ap-introduction h2{font-size:43px}}

/* Carousel reading order: statement, illustration, links, controls. */
body.refined-v27:has(.ap-home) .hero{padding-bottom:24px!important}
body.refined-v27:has(.ap-home) .hero .hero-actions{order:2!important;display:flex;flex-wrap:wrap;width:calc(100% - 40px);margin:24px auto 0!important;justify-content:center!important;align-items:center;gap:16px!important}
body.refined-v27:has(.ap-home) .hero .hero-actions .btn{min-height:44px;padding:10px 24px!important;font-size:15px!important}
body.refined-v27:has(.ap-home) .hero .hero-controls{order:3!important;position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;transform:none!important;margin:20px auto 0!important;width:min(1200px,calc(100% - 64px))!important;min-height:32px}
@media(max-width:700px){
body.refined-v27:has(.ap-home) .hero .hero-content{padding-top:28px!important}
body.refined-v27:has(.ap-home) .hero .hero-copy{min-height:72px!important}
body.refined-v27:has(.ap-home) .hero .hero-actions{margin-top:20px!important;gap:12px!important;width:calc(100% - 32px)}
body.refined-v27:has(.ap-home) .hero .hero-actions .btn{font-size:14px!important;padding:10px 20px!important}
body.refined-v27:has(.ap-home) .hero .hero-controls{margin-top:18px!important;width:calc(100% - 32px)!important}
body.refined-v27:has(.ap-home) .hero{padding-bottom:20px!important}
}

/* Subject-led service illustrations and square omics portraits. */
.ap-product:nth-child(n+4) .ap-product-art{height:auto;aspect-ratio:5/2;background:#f5f5f7}
.ap-product:nth-child(n+4) .ap-product-art img{height:100%;object-fit:contain;object-position:center}
.ap-journey figure{border-radius:24px;background:#f5f5f7}
.ap-journey figure img{width:100%;height:auto;object-fit:contain;object-position:center}
.ap-omic figure{height:auto;aspect-ratio:1;background:#f5f5f7}
.ap-omic img{width:100%;height:100%;object-fit:contain;object-position:center}
@media(max-width:700px){
.ap-product:nth-child(n+4) .ap-product-art{height:auto;aspect-ratio:5/2}
.ap-journey figure img{height:auto;object-fit:contain}
.ap-omic figure{height:auto;aspect-ratio:1}
}

/* Match the two second-row cards; keep the complete Fluent 780 visible. */
.ap-home .ap-product:nth-child(3) .ap-product-art,
.ap-home .ap-product:nth-child(4) .ap-product-art{height:auto;aspect-ratio:21/10;background:#f8fbfe}
.ap-home .ap-product:nth-child(3) .ap-product-art img,
.ap-home .ap-product:nth-child(4) .ap-product-art img{width:100%;height:100%;object-fit:contain;object-position:center;padding:0;transform:none!important}
