/* Independent layers keep the artwork alive without moving the surrounding layout. */
.hero-art{position:relative;isolation:isolate;--mx:0;--my:0}
.collage-stage{width:78%;max-width:430px;aspect-ratio:1;position:relative;perspective:1000px;flex-shrink:0}
.collage-depth{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(calc(var(--my) * -3deg)) rotateY(calc(var(--mx) * 5deg));transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.collage-layer{position:absolute;pointer-events:none;transition:translate .6s cubic-bezier(.2,.8,.2,1)}
.layer-orbit{inset:1% 18% 12% 18%;z-index:0;translate:calc(var(--mx) * -13px) calc(var(--my) * -10px)}
.collage-orbit{position:absolute;inset:0;border:1.5px solid #e89a83;border-radius:50%;transform:rotate(-22deg);animation:orbit-drift 12s ease-in-out infinite alternate}
.layer-halo{left:-3%;top:42%;width:108%;height:32%;z-index:1;translate:calc(var(--mx) * -20px) calc(var(--my) * -9px)}
.collage-halo{width:100%;height:100%;border-radius:48% 40% 42% 50%;background:radial-gradient(ellipse at 12% 45%,#d6ecbddd,transparent 38%),radial-gradient(ellipse at 85% 35%,#cbc3f3bb,transparent 43%),radial-gradient(ellipse at 32% 50%,#ffc1d0a8,transparent 50%);filter:blur(12px);animation:halo-drift 9s ease-in-out infinite alternate}
.layer-ribbon{left:5%;top:43%;width:27%;height:33%;z-index:3;translate:calc(var(--mx) * -10px) calc(var(--my) * -16px)}
.collage-ribbon{width:100%;height:100%;background:linear-gradient(130deg,#f3c7b7,#f8dbd0 43%,#edb9c8);clip-path:polygon(0 12%,90% 0,98% 32%,85% 63%,100% 90%,10% 100%,18% 67%,3% 43%);animation:ribbon-drift 8s ease-in-out infinite alternate}
.layer-disc{left:13%;top:17%;width:76%;height:76%;z-index:2;translate:calc(var(--mx) * -9px) calc(var(--my) * -7px)}
.collage-disc{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,#c5fa3b 0%,#d8ff7d 56%,#eefdcf 100%);animation:disc-drift 11s ease-in-out infinite alternate}
.layer-checker{right:0;top:42%;width:31%;height:42%;z-index:4;translate:calc(var(--mx) * 12px) calc(var(--my) * -13px)}
.collage-checker{height:100%;width:100%;background:repeating-conic-gradient(#252620 0 25%,#fffef8 0 50%) 0 0/30px 30px;clip-path:polygon(13% 8%,88% 0,99% 14%,88% 30%,100% 48%,88% 65%,95% 93%,10% 100%,0 65%,10% 40%);transform:rotate(13deg);animation:checker-drift 10s ease-in-out infinite alternate}
.layer-building{inset:0 4% 1%;z-index:5;translate:calc(var(--mx) * 14px) calc(var(--my) * 9px)}
.hero-art .collage-buildings{width:100%;height:100%;max-width:none;object-fit:contain;filter:drop-shadow(0 9px 6px #44572b12);transform-origin:50% 75%;animation:building-drift 7s ease-in-out infinite alternate}
.layer-glint{right:2%;top:20%;z-index:6;translate:calc(var(--mx) * 20px) calc(var(--my) * 16px)}
.collage-glint{font-family:Georgia,serif;font-size:40px;color:#617e36;display:block;animation:glint-drift 8s ease-in-out infinite alternate}
.art-footer{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:25px}.art-footer .art-caption{margin:0;font-size:8px;letter-spacing:1.5px}.motion-toggle{border:1px solid #dbe0ce;background:#faf9f6b3;color:#6f7b60;min-width:32px;height:32px;border-radius:50%;font-size:12px;display:grid;place-items:center;padding:0}.motion-toggle:hover{background:#e8f1d9}.motion-toggle[aria-pressed=true]{background:#e2edcc;border-color:#9aaf79}
.hero-art.motion-paused .collage-layer>*,.hero-art.is-offscreen .collage-layer>*,.hero-art.is-hidden .collage-layer>*{animation-play-state:paused}
.hero-art.motion-paused .collage-depth{transform:none}.hero-art.motion-paused .collage-layer{translate:0 0}
@keyframes building-drift{0%{transform:translateY(5px) rotate(-1.2deg)}100%{transform:translateY(-9px) rotate(1.1deg)}}
@keyframes checker-drift{0%{transform:translate(0,7px) rotate(9deg)}100%{transform:translate(9px,-9px) rotate(23deg)}}
@keyframes disc-drift{0%{transform:translate(-5px,3px) scale(.98)}100%{transform:translate(5px,-5px) scale(1.03)}}
@keyframes orbit-drift{0%{transform:translate(-9px,3px) rotate(-24deg) scale(.98)}100%{transform:translate(9px,-11px) rotate(2deg) scale(1.04)}}
@keyframes ribbon-drift{0%{transform:translate(-3px,4px) rotate(-11deg)}100%{transform:translate(-7px,-9px) rotate(3deg)}}
@keyframes halo-drift{0%{transform:translate(-9px,6px) rotate(8deg) scale(.95)}100%{transform:translate(8px,-4px) rotate(-9deg) scale(1.1)}}
@keyframes glint-drift{0%{transform:translate(0,0) rotate(-8deg) scale(.85)}100%{transform:translate(-5px,-12px) rotate(16deg) scale(1)}}
#yandex-map{display:block;width:100%;height:100%;min-height:410px;border:0;border-radius:10px;background:#edf0e5}.map-area{min-height:410px}.map-address{font-size:11px;line-height:1.5;color:#6d7763;margin:0 0 12px}.map-detail>img{height:148px}.map-detail .map-detail-body{padding-top:12px}
@media(max-width:1050px){.collage-stage{width:85%}}
@media(max-width:800px){.collage-stage{width:93%}.art-footer .art-caption{display:none}}
@media(max-width:580px){.hero-art .collage-stage{width:70%;max-width:245px}.hero-art .collage-buildings{width:100%;max-width:none}.art-footer{margin-top:8px}.art-footer .art-caption{display:block;font-size:7px;letter-spacing:1px}.motion-toggle{min-width:36px;height:36px}.collage-checker{background-size:20px 20px}.collage-glint{font-size:26px}#yandex-map,.map-area{height:310px;min-height:310px}.map-detail>img{height:100%}.map-address{font-size:10px;margin:0 0 8px}}
@media(prefers-reduced-motion:reduce){.hero-art .collage-layer>*,.hero-art .collage-depth{animation:none!important;transform:none!important}.hero-art .collage-layer{translate:0 0!important}.motion-toggle{display:none}}
