.project-media:has(> .snack-split) {
  position: relative;
  aspect-ratio: 1.9;
  padding: 0;
  display: block;
  isolation: isolate;
}
.snack-split {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: inline-size;
  background: #0a2a3c;
}
.snack-split-title {
  position: absolute;
  inset: 0 auto 0 0;
  width: 54%;
  transform-origin: left top;
  /* Match both ends of the divider while preserving the entire frame. */
  transform: perspective(calc(100cqw / 1.9)) rotateX(-9.462322deg) scaleY(1.2165525);
}
.project-media .snack-split-title > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.project-media .snack-split > .snack-split-cabinet {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
  clip-path: polygon(16.4% 0,100% 0,100% 100%,0 100%);
}
.snack-split-divider {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,#73d6f0,#286d89);
  clip-path: polygon(53.65% 0,54.35% 0,45.35% 100%,44.65% 100%);
}
