.cr-home-page .office-information { position: relative; isolation: isolate; }
.home-office-scene {
  position: absolute;
  top: clamp(12px, 3vw, 30px);
  inset-inline-end: clamp(14px, 3.5vw, 38px);
  width: 31%;
  max-width: 118px;
  height: clamp(76px, 11vw, 120px);
  display: flex;
  align-items: end;
  justify-content: center;
  direction: ltr;
  isolation: isolate;
  pointer-events: none;
}
html[dir="rtl"] .home-office-scene {
  right: auto;
  left: clamp(14px, 3.5vw, 38px);
}
.cr-home-page .office-information :is(.office-city, h3) { max-inline-size: 66%; }

.home-office-scene img {
  width: auto;
  max-width: 66%;
  height: 94%;
  object-fit: contain;
  object-position: bottom;
  transform-origin: 50% 90%;
  transition: transform .55s cubic-bezier(.22,.7,.31,1);
}
.home-office-path {
  position: absolute;
  z-index: -1;
  inset: 20% 3% 3%;
  border: 2px dashed #2c77667d;
  border-radius: 50%;
  background: #a7dec768;
  transform: rotate(-13deg);
  transition: transform .6s cubic-bezier(.22,.7,.31,1);
}

.home-office-marker {
  position: absolute;
  top: 9%;
  right: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  border: 1px solid #173665;
  background: #f7d76a;
  color: #173665;
  font: 700 15px / 1 system-ui, sans-serif;
  transition: transform .55s cubic-bezier(.22,.7,.31,1);
}

.office-information:has(.office-directions:is(:hover,:focus-visible)) .home-office-scene img { transform: rotate(6deg) translateX(2px); }
.office-information:has(.office-directions:is(:hover,:focus-visible)) .home-office-marker { transform: translate(7px, -5px); }
.office-information:has(.office-directions:is(:hover,:focus-visible)) .home-office-path { transform: rotate(-23deg); }

.home-office-scene.home-scene-entered :is(img, .home-office-marker) {
  animation: home-scene-enter .7s cubic-bezier(.22,.7,.31,1);
}
@keyframes home-scene-enter {
  from { translate: 0 10px; opacity: .45; }
  to { translate: 0 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-home-scene], [data-home-scene] * {
    animation: none !important;
    transition: none !important;
  }
}
