/* Motion direction: Olga's editorial masks + CompactStroy's shared objects/layers. */
.stay { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 38px; }
.stay-aside { padding-left: 0; }
.corridor-photo { height: 410px; }
.corridor-photo img { object-position: center 39%; }
.entrance-photo { width: 28%; height: 300px; top: -140px; }
.entrance-photo img { object-position: center 88%; }

.motion-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.motion-word > span { display: inline-block; }
.motion-shutters { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; border-radius: inherit; }
.motion-shutters > i { display: block; width: 100%; background: var(--paper); transform-origin: right center; margin-bottom: -1px; }
.dark .motion-shutters > i { background: #20211f; }
/* Every transform belongs to one layer: carousel planes, parallax wrappers,
   animated photos and pointer effects do not write the same transform. */
.enhanced .reveal[data-motion] { opacity: 1; transform: none; transition: none; }
.motion-enabled [data-motion]:not([data-motion-played]) { opacity: 0; }
.spa-photo.is-visible img { animation: none; }
[data-motion] { backface-visibility: hidden; }

@media (min-width: 761px) and (max-width: 1000px) {
 .about-aside .small-arrows { display: none; }
 .about-aside .action { width: 100%; gap: 8px; }
 .about-aside .action-label { flex: 1; white-space: normal; line-height: 1.2; padding-inline: 10px; }
 .stay { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
 .corridor-photo { height: 350px; }
 .entrance-photo { width: 32%; height: 245px; top: -128px; }
}
@media (max-width: 760px) {
 .stay { display: block; }
 .stay-aside { margin-top: 24px; }
 .corridor-photo { height: clamp(230px, 68vw, 300px); }
 .corridor-photo img { object-position: center 40%; }
 .help-card { position: relative; margin: -38px 12px 0; padding: 21px; background: #fcfcfa; border-radius: 24px; box-shadow: 0 14px 30px #24301b10; }
 .help-card h3 { font-size: 25px; }
 .help-card .action-label { font-size: 16px; padding-inline: 18px; }
 .help-card .action-circle { width: 48px; height: 48px; }
 .entrance-photo { width: 100%; height: clamp(245px, 70vw, 310px); top: auto; }
 .entrance-photo img { object-position: center 88%; }
 .photo-bridge.is-active { display: block !important; }
 .bridge-facade { left: -4%; width: 108%; height: 118%; bottom: -25px; }
 .bridge-sky { border-radius: 30px; }
}
@media (max-width: 360px) {
 .help-card { margin-inline: 8px; padding: 18px; }
 .help-card .action { gap: 8px; }
 .help-card .action-label { padding-inline: 12px; font-size: 14px; }
 .help-card .action-circle { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
 .photo-bridge.is-active { display: none !important; }
 .motion-shutters { display: none !important; }
}
.motion-off .photo-bridge.is-active, .motion-off .motion-shutters { display: none !important; }
