/* Owner's real night photograph. Keep its grain and motion blur intact. */
#work .case-study__bg-anim--kyoka {
  background: #030606;
}

#work .case-study__bg-anim--kyoka picture {
  position: absolute;
  inset: 0;
  display: block;
}

#work .case-study__bg-anim--kyoka .case-study__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  object-position: 50% 50%;
}

#work .case-study__bg-anim--kyoka::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(1 4 4 / .55), rgb(1 4 4 / .25) 27%, transparent 55%);
}

#work .cases-study__text--kyoka .study__descr-text {
  opacity: .94;
}

@media (max-aspect-ratio: 1/1) {
  #work .case-study__bg-anim--kyoka .case-study__img {
    object-position: 48% 50%;
  }
  #work .case-study__bg-anim--kyoka::after {
    background: linear-gradient(180deg, transparent 43%, rgb(1 4 4 / .2) 58%, rgb(1 4 4 / .65) 76%, rgb(1 4 4 / .8));
  }
}

@media (max-aspect-ratio: 1/1) and (max-width: 600px) {
  /* Owner-approved generated street extension fills the complete phone scene. */
  #work .case-study__bg-anim--kyoka .case-study__img {
    height: 100svh;
    object-position: 50% 0%;
    mask-image: none;
  }
  #work .case-study__bg-anim--kyoka::after {
    background: linear-gradient(180deg, transparent 43%, rgb(1 4 4 / .1) 57%, rgb(1 4 4 / .4) 75%, rgb(1 4 4 / .65));
  }
  #work[data-project-previews="ready"] .cases-study__text--kyoka::before {
    display: none;
  }
}
