.stylez-window,
.stylez-window-trigger {
  position: absolute;
  left: 46.7448%;
  top: 0;
  width: 8.9844%;
  height: 11.3281%;
}
.stylez-window-trigger {
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stylez-window-trigger:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -3px;
}
.stylez-window {
  z-index: 2;
  isolation: isolate;
  container-type: size;
  pointer-events: none;
}
.stylez-room,
.stylez-person-layer,
.stylez-sash-track,
.stylez-sash,
.stylez-original {
  position: absolute;
  inset: 0;
}
.stylez-room {
  background:
    linear-gradient(90deg, #231b18a1, transparent 22% 77%, #221a1785),
    linear-gradient(167deg, #605449, #575046 46%, #443e37 80%, #4b423b);
  box-shadow: inset 0 0 7px #121010c4;
}
.stylez-sash,
.stylez-original {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.stylez-sash-track {
  z-index: 2;
  clip-path: inset(-28% 0 0);
}
.stylez-sash {
  background-image: url("assets/stylez-window-glass.webp");
  transform: translateY(0);
}
.stylez-original {
  z-index: 4;
  background-image: url("assets/stylez-window-original.webp");
}
.stylez-person-layer {
  z-index: 1;
  clip-path: inset(0);
}
.stylez-person {
  position: absolute;
  left: 50%;
  width: min(116%, 119cqh);
  bottom: -3.5%;
  aspect-ratio: 320 / 340;
  transform-origin: center 97.5%;
  isolation: isolate;
  opacity: 0;
}
.stylez-person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  mix-blend-mode: plus-lighter;
}
.scene {
  --window-headroom: 11%;
  transform: translate(-50%, calc(-50% + var(--window-reveal-y, 0px)));
  transition: transform .68s cubic-bezier(.35,.05,.26,1);
}
.scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 100%;
  height: max(var(--window-headroom), calc((var(--viewport-height) - 100%) / 2));
  background: url("assets/upper-brick.webp") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
[data-window-scene] .scene {
  --window-reveal-y: max(0px, calc(50% + var(--window-headroom) - var(--viewport-height) / 2));
}
@media (max-aspect-ratio: 19/20) {
  .stylez-window-trigger {
    top: min(0px, calc((100% - var(--viewport-height)) / 2));
    bottom: 88.6719%;
    height: auto;
  }
}
@media (min-aspect-ratio: 3/2) {
  .scene { transform: translate(-50%, var(--window-reveal-y, 0px)); }
  [data-window-scene] .scene {
    --window-reveal-y: max(0px, calc(100% + var(--window-headroom) - var(--viewport-height)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .stylez-window, .stylez-window-trigger { display: none; }
  .scene { transition: none; }
}
