/* True iPhone proportions in Business Liftoff portfolio scenes.
   The old desktop detail phones used a percentage height, creating a squat 1.2:1 silhouette.
   The new phone derives its height from a real 390x844 mobile screenshot aspect ratio. */
.m-public .bls-stage.bls-authentic .bls-phone {
  width: 23%;
  height: auto;
  aspect-ratio: 390 / 844;
  top: 29%;
  left: 2.8%;
  box-sizing: border-box;
  border: 5px solid #090f1b;
  border-radius: 23px;
  overflow: hidden;
  background: #090e17;
  box-shadow: 0 19px 32px #0008, 0 0 0 1px #8ca5bb80, inset 0 0 0 1px #556477;
}
.m-public .bls-stage.bls-authentic .bls-phone-camera {
  position: absolute;
  z-index: 3;
  /* Center against the actual phone screen; older CSS has translateX(-50%). */
  left: 50%;
  transform: translateX(-50%);
  width: clamp(28px, 27%, 42px);
  height: 10px;
  top: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #05070b 0%, #10151c 100%);
  box-shadow: inset 0 0 0 1px #53607155, 0 1px 1px #0008;
  pointer-events: none;
}
.m-public .bls-stage.bls-authentic .bls-phone-camera::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #345070, #182434 65%, #080d15);
  opacity: .9;
}
.m-public .bls-stage.bls-authentic .bls-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.m-public .bls-detail-frame .bls-stage.bls-authentic .bls-phone {
  width: 21%;
  height: auto;
  aspect-ratio: 390 / 844;
  top: 27.5%;
  left: 2.8%;
}
@media (max-width: 1200px) {
  .m-public .bls-stage.bls-authentic .bls-phone {width: 23%;top: 30%;}
  .m-public .bls-detail-frame .bls-stage.bls-authentic .bls-phone {width: 21%;top: 28%;}
}
@media (max-width: 640px) {
  .m-public .bls-stage.bls-authentic .bls-phone,
  .m-public .bls-detail-frame .bls-stage.bls-authentic .bls-phone {
    width: 26%;
    height: auto;
    aspect-ratio: 390 / 844;
    top: 32%;
    left: 2.8%;
    border-width: 4px;
    border-radius: 17px;
  }
  .m-public .bls-stage.bls-authentic .bls-phone-camera {
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    width: clamp(18px, 27%, 30px);
    height: 7px;
  }
  .m-public .bls-stage.bls-authentic .bls-phone-camera::after {
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
  }
}
/* Tablet case studies: scale the tall phone slightly so it ends before collateral panels. */
@media (min-width: 641px) and (max-width: 1200px) {
  .m-public .bls-detail-frame .bls-stage.bls-authentic .bls-phone {
    width: 19%;
    top: 26%;
  }
}
