/* Full-width homepage photographs with the existing headline overlaid. */
.home-carousel:after{display:none}
.home-carousel{min-height:0}
.home-hero-layout{position:relative;isolation:isolate;min-height:620px}
.home-carousel .hero-content{position:relative;z-index:3;width:min(670px,calc(100% - 72px));max-width:none;margin-left:max(36px,calc((100vw - 1320px)/2));padding:66px 0 120px}
.home-carousel h1{font-size:clamp(52px,5.25vw,80px);line-height:1.04}
.home-carousel .hero-content p{max-width:560px;font-size:17px}
.home-carousel .eyebrow{font-size:13px;letter-spacing:.1em}
.home-carousel .actions{gap:12px}
.home-carousel .actions .button{padding:13px 20px}
.hero-carousel{position:absolute;inset:0;width:100%;background:#111e2b}
.hero-carousel:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(0deg,rgba(6,16,26,.82),transparent 30%),linear-gradient(90deg,rgba(6,16,26,.9) 0%,rgba(6,16,26,.75) 30%,rgba(6,16,26,.25) 65%,rgba(6,16,26,.06))}
.hero-carousel-photos{position:absolute;inset:0;z-index:0;width:100%;overflow:hidden;touch-action:pan-y}
.hero-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility 0s .65s}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1;transition:opacity .65s ease,visibility 0s}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover}
/* Keep the phone screenshot's bottom navigation strip outside the photo frame. */
.hero-slide[data-photo="perkins-generator-engineering"] img{height:calc(100% + 24px)}
.hero-carousel-toolbar{position:absolute;z-index:4;bottom:24px;left:max(36px,calc((100vw - 1320px)/2));right:max(36px,calc((100vw - 1320px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;padding-top:14px;border-top:1px solid #ffffff45}
.hero-carousel-description{display:flex;align-items:center;gap:18px;min-width:0}
.hero-carousel-count{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#acbbc8;letter-spacing:.06em}
.hero-carousel-count [data-carousel-count]{color:#fff;font-weight:700}
.hero-carousel-caption{font-size:14px;line-height:1.4;color:#e4ebf1}
.hero-carousel-buttons{display:flex;gap:6px;flex-shrink:0}
.hero-carousel-buttons button{display:grid;place-items:center;width:44px;height:44px;padding:10px;color:#fff;background:transparent;border:1px solid #ffffff45;border-radius:0;cursor:pointer;transition:background .2s,border-color .2s}
.hero-carousel-buttons button:hover{background:#ffffff15;border-color:#fff}
.hero-carousel-buttons button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero-carousel-buttons svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero-carousel-buttons .carousel-play-icon{display:none}
.hero-carousel [data-carousel-rotation].is-paused .carousel-pause-icon{display:none}
.hero-carousel [data-carousel-rotation].is-paused .carousel-play-icon{display:block}
.home-carousel .hero-bottom{justify-content:space-between;gap:24px;padding:23px 0}
.carousel-screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1800px){.home-hero-layout{min-height:740px}.home-carousel .hero-content{padding-top:88px}}
@media(max-width:1000px){
 .home-carousel .hero-content{width:min(620px,calc(100% - 72px));padding:62px 0 124px}
 .home-carousel h1{font-size:clamp(50px,6.5vw,70px)}
 .home-carousel .hero-content p{font-size:16px}
 .hero-carousel:after{background:linear-gradient(0deg,rgba(6,16,26,.9),transparent 35%),linear-gradient(90deg,rgba(6,16,26,.85),rgba(6,16,26,.65) 55%,rgba(6,16,26,.2))}
 .home-carousel .hero-bottom{font-size:13px;flex-wrap:wrap;justify-content:flex-start;gap:12px 30px}
}
@media(max-width:600px){
 .home-hero-layout{min-height:620px}
 .home-carousel .hero-content{width:calc(100% - 36px);margin-left:18px;padding:58px 0 132px}
 .home-carousel h1{font-size:clamp(46px,10vw,58px)}
 .home-carousel .eyebrow{font-size:12px;letter-spacing:.08em}
 .hero-carousel:after{background:linear-gradient(0deg,rgba(6,16,26,.94),rgba(6,16,26,.65) 48%,rgba(6,16,26,.48)),linear-gradient(90deg,rgba(6,16,26,.35),transparent)}
 .hero-carousel-toolbar{left:18px;right:18px;bottom:22px;gap:12px}
 .hero-carousel-description{align-items:flex-start;flex-direction:column;gap:4px}
 .hero-carousel-caption{font-size:13px}
 .hero-carousel-buttons{gap:4px}
 .hero-carousel-buttons button{width:40px;height:44px;padding:9px}
 .home-carousel .actions{gap:10px}
 .home-carousel .hero-bottom{gap:8px;padding:19px 0}
 .home-carousel .hero-bottom span{width:100%}
}
@media(prefers-reduced-motion:reduce){.hero-slide,.hero-slide.is-active,.hero-carousel-buttons button{transition:none}}
