.gallery-hero-art{position:absolute;inset:0 0 0 auto;width:57%;height:100%;overflow:hidden;pointer-events:none;z-index:0;opacity:.72;mask-image:linear-gradient(90deg,transparent,#000 38%)}
.gallery-hero-orbit{position:absolute;inset:13% 4% 8% 20%;border:1px solid #9edac319;border-radius:50%;transform:rotate(-18deg)}
.gallery-hero-frame{position:absolute;width:40%;aspect-ratio:4/3;background:#184047;border:6px solid #bfd7ce66;box-shadow:0 14px 40px #051b2666;overflow:hidden;animation:gallery-frame-drift 12s ease-in-out infinite;--frame-angle:0deg;--frame-rise:-9px;transform:rotate(var(--frame-angle))}
.gallery-hero-frame img{display:block;width:100%;height:100%;object-fit:cover;opacity:.78;filter:saturate(.65)}
.gallery-hero-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#c5f2dc22 50%,transparent 75%);transform:translateX(-140%);animation:gallery-frame-light 14s ease-in-out infinite}
.gallery-hero-frame-back{left:24%;top:11%;--frame-angle:-12deg;--frame-rise:7px;animation-delay:-3s;opacity:.55}.gallery-hero-frame-middle{right:3%;top:20%;--frame-angle:10deg;animation-delay:-7s}.gallery-hero-frame-middle:after{animation-delay:-4s}.gallery-hero-frame-front{left:31%;top:39%;width:43%;--frame-angle:-4deg;animation-delay:-1s;border-color:#d0e5d38c}.gallery-hero-frame-front:after{animation-delay:-8s}
.gallery-hero-caption{position:absolute;right:10%;bottom:8%;display:flex;align-items:center;gap:12px;color:#b4d6c9;font-size:8px;letter-spacing:.18em;opacity:.65}.gallery-hero-caption>span{height:1px;width:28px;background:#8fc8b5}
@keyframes gallery-frame-drift{0%,100%{transform:translateY(0) rotate(var(--frame-angle))}50%{transform:translateY(var(--frame-rise)) rotate(var(--frame-angle))}}@keyframes gallery-frame-light{0%,55%{transform:translateX(-140%)}85%,100%{transform:translateX(140%)}}
.motion-paused .gallery-hero-art *,.inner-document-hidden .gallery-hero-art *{animation-play-state:paused!important}
@media(max-width:760px){.gallery-hero-art{width:90%;right:-18%;opacity:.27;mask-image:linear-gradient(90deg,transparent,#000 70%)}.gallery-hero-caption{display:none}.gallery-hero-frame{border-width:4px}}
@media(prefers-reduced-motion:reduce){.gallery-hero-art *{animation:none!important}.gallery-hero-frame:after{display:none}}

/* Pause the decorative light sweep when its hero leaves the viewport. */
.inner-motion-hidden .gallery-hero-frame::after{animation-play-state:paused!important}
