/* A single room supplies the visual relationship between garden and object. */
.window-journey {
  position: relative;
  background: #29382e;
  color: #f4f0e6;
}
.window-stage {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  display: grid;
  align-items: center;
}
.window-picture {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.window-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 72% 25%;
}
.window-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #20291fe8 0%,
    #20291fc9 25%,
    #20291f66 42%,
    transparent 62%
  );
}
.window-copy {
  position: relative;
  z-index: 1;
  width: min(43%, 640px);
  padding-block: 130px 76px;
  margin-left: var(--content-edge, 8%);
}
.window-copy h2 {
  margin: 0 0 28px;
  font-size: clamp(38px, 4.3vw, 64px);
  text-wrap: balance;
}
.window-copy p {
  max-width: 32ch;
  font-size: 20px;
  line-height: 1.6;
}
.window-copy .bridge-paths {
  justify-content: flex-start;
  gap: 38px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.window-copy .bridge-paths a:hover {
  color: #e4d9b9;
}
.window-copy a:focus-visible {
  outline-color: #f4f0e6;
}
@media (min-width: 901px) and (min-height: 650px) and (prefers-reduced-motion: no-preference) {
  .window-journey.has-motion-space {
    height: 180svh;
  }
  .has-motion-space .window-stage {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}
@media (max-width: 900px) {
  .window-stage {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }
  .window-picture {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .window-image {
    object-fit: contain;
  }
  .window-stage::after {
    display: none;
  }
  .window-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 38px 8% 56px;
  }
  .window-copy h2 {
    font-size: clamp(34px, 6vw, 48px);
  }
  .window-copy p {
    font-size: 18px;
    max-width: 40ch;
  }
  .window-copy .bridge-paths {
    gap: 32px;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .is-pulling-back .window-image {
    transform: scale(var(--window-mobile-scale, 1));
  }
}
@media (min-width: 901px) and (max-height: 649px) {
  .window-copy {
    padding-block: 100px 36px;
  }
  .window-copy h2 {
    font-size: 44px;
  }
  .window-copy p {
    font-size: 18px;
    max-width: 36ch;
  }
  .window-copy .bridge-paths {
    margin-top: 20px;
  }
}
