html{scrollbar-gutter:stable}
/* Complete portfolio photos in a rotating three-dimensional carousel. */
.hero-grid{grid-template-columns:.95fr 1.15fr;gap:40px;align-items:center}
.hero-copy{padding:10px 0}
.hero-copy h1{font-size:clamp(2.35rem,3.9vw,3.6rem);line-height:1.1}
.hero-visual.product-showcase{display:grid;grid-template-rows:auto auto auto auto;min-height:0;align-self:center;background:#062e39;border:1px solid #244d57;border-radius:14px;box-shadow:0 18px 42px #103e4612}
.showcase-top{position:static;display:flex;min-height:44px;align-items:center;justify-content:space-between;padding:10px 20px;font-size:.75rem;letter-spacing:.09em}
.showcase-counter{font-variant-numeric:tabular-nums;white-space:nowrap}
/* Perspective belongs to the stage; each complete photo rotates as one surface. */
.showcase-stage{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/10;min-height:0;overflow:hidden;isolation:isolate;perspective:1000px;perspective-origin:50% 45%;background:radial-gradient(ellipse at 50% 42%,#34616d 0%,#123e49 50%,#072d38 90%)}
.showcase-stage:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:5;box-shadow:inset 0 -20px 32px #031b2338}
.showcase-scene{position:absolute;inset:9% 9%;transform-style:preserve-3d;transform-origin:center;transition:transform .7s cubic-bezier(.22,.68,.23,1),opacity .7s ease;will-change:transform;pointer-events:none;backface-visibility:hidden}
.showcase-frame{position:absolute;inset:0;overflow:hidden;border:1px solid #d4e7ed82;border-radius:9px;background:#e8f1f4;box-shadow:0 22px 30px #00192070,0 2px 3px #00131d40;transform-origin:center;backface-visibility:hidden;animation:photo-turntable 3s ease-in-out infinite alternate;animation-play-state:paused}
.product-showcase .slide-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:0;animation:none;transform:none;will-change:auto}
.showcase-scene[data-position="active"]{z-index:3;opacity:1;transform:translate3d(0,0,28px) rotateY(0deg)}
.showcase-scene[data-position="active"] .showcase-frame{animation-play-state:running;will-change:transform}
.showcase-scene[data-position="previous"]{z-index:1;opacity:.5;transform:translate3d(-86%,3%,-190px) rotateY(58deg)}
.showcase-scene[data-position="next"]{z-index:1;opacity:.5;transform:translate3d(86%,3%,-190px) rotateY(-58deg)}
.showcase-scene[data-position="exit-left"]{z-index:0;opacity:0;transform:translate3d(-145%,7%,-300px) rotateY(75deg)}
.showcase-scene[data-position="exit-right"]{z-index:0;opacity:0;transform:translate3d(145%,7%,-300px) rotateY(-75deg)}
.showcase-caption{position:static;padding:18px 22px 8px;min-height:174px;display:flex;flex-direction:column;align-items:start}
.showcase-caption h2{font-size:clamp(1.45rem,2.2vw,1.9rem);letter-spacing:-.025em;margin:2px 0 8px;line-height:1.2}
.showcase-caption>p{font-size:.875rem;line-height:1.5;margin:0 0 4px}
.showcase-caption>p:first-child{font-size:.75rem}
.showcase-caption a{font-size:1rem;line-height:1.4;padding:8px 0 5px;margin-top:auto}
.showcase-caption small{font-size:.75rem;line-height:1.4}
.showcase-controls{position:static;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 16px 12px}
.showcase-controls>button{flex:none;min-width:44px;height:44px;transition:background .2s}
.showcase-controls>button:hover{background:#235664}
#slide-dots{display:flex;flex:1;min-width:0}
#slide-dots button{flex:1;min-width:0;max-width:28px;width:auto;height:44px}
#slide-dots button:after{width:5px;height:5px}
#slide-dots button[aria-current="true"]:after{width:14px}
.motion-idle .showcase-scene[data-position="active"] .showcase-frame{animation-play-state:paused}
@keyframes photo-turntable{
  0%{transform:rotateY(-10deg) rotateX(2deg) translateY(0)}
  50%{transform:rotateY(0deg) rotateX(0deg) translateY(-1.2%)}
  100%{transform:rotateY(10deg) rotateX(-1deg) translateY(0)}
}
@media(max-width:1000px) and (min-width:701px){.hero-grid{grid-template-columns:1fr 1fr;gap:24px}.hero-copy h1{font-size:2.4rem}.showcase-caption{min-height:220px}.showcase-top{padding-inline:14px;font-size:.75rem}.showcase-caption{padding-inline:16px}.showcase-controls{padding-inline:8px;gap:4px}#slide-dots button[aria-current="true"]:after{width:10px}}
@media(max-width:700px){
 .hero{padding:8px 0 30px}.hero-grid{grid-template-columns:1fr;gap:14px}.hero-copy{display:contents}
 .hero .eyebrow{order:0;font-size:.75rem;line-height:1.4;margin:0;letter-spacing:.1em}
 .hero-copy h1{order:1;font-size:clamp(1.75rem,7.15vw,2.7rem);line-height:1.1;letter-spacing:-.035em;margin:0}
 .hero-visual.product-showcase{order:3;grid-template-rows:auto auto auto auto;border-radius:11px;min-height:0;margin-top:2px}
 .hero-tagline{order:4;font-size:1rem;margin:7px 0 0;line-height:1.5}
 .hero .intro{order:5;margin:0;font-size:.875rem;line-height:1.65}
 .hero-actions{order:2;gap:16px}.hero-actions .button{font-size:.875rem;padding:13px 16px}.hero-actions .text-link{font-size:.875rem;min-height:44px}
 .showcase-top{min-height:32px;padding:7px 14px;font-size:.75rem;letter-spacing:.065em}
 .showcase-stage{height:auto;min-height:0;perspective:700px}.showcase-scene{inset:9% 7%}.showcase-frame{border-radius:6px}
 .showcase-caption{padding:11px 15px 3px;min-height:116px}
 .showcase-caption h2{font-size:1.35rem;line-height:1.15;margin:0 0 3px}
 .showcase-caption>p{display:none}
 .showcase-caption a{font-size:.875rem;padding:5px 0;line-height:1.4}
 .showcase-caption small{font-size:.75rem;line-height:1.35}
 .showcase-controls{padding:2px 10px 7px;gap:6px}
 .showcase-controls>button{min-width:40px;width:40px;height:40px}
 #slide-dots button{height:40px}
}
@media(prefers-reduced-motion:reduce){
 .showcase-scene,.showcase-frame{animation:none!important;transition:none!important;will-change:auto}
 .showcase-scene[data-position="active"],.showcase-frame{transform:none!important}
 .showcase-scene:not([data-position="active"]){display:none}
}
