.office-scene { min-width: 0; margin: 0; }

.office-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: clamp(12px, 1.2vw, 20px);
}

.office-photo img { display: block; width: 100%; height: auto; }

@media (min-width: 1250px) {
  .home-hero:has(.office-scene) {
    position: relative;
    isolation: isolate;
    background: linear-gradient(125deg, #f7fafc, #edf5fc);
  }

  .home-hero:has(.office-scene) .hero-copy { position: relative; z-index: 1; }

  .office-scene {
    position: absolute;
    inset: 0 0 0 auto;
    width: 65%;
    overflow: hidden;
    container-type: size;
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent 0%, #0001 9%, #000 36%);
  }

  .office-photo {
    --photo-width: max(100cqw, 150cqh);
    position: absolute;
    top: 50%;
    right: calc((100cqw - var(--photo-width)) * .19);
    width: var(--photo-width);
    border-radius: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 760px) {
  .office-scene { align-self: center; width: 100%; max-width: 600px; }
  .home-hero:has(.office-scene) .hero-lead { text-wrap: balance; }
}
