/* Photo-led demo heroes. The images are part of the composition, not moving scenes. */
.demo-photo {
  position: relative;
  min-width: 0;
  height: 560px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 160px 16px 100px 16px;
  background-color: #3d5531;
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 55px #183b251c;
}
.demo-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #111b180d 48%, #111b18b8 100%);
}
.demo-photo-lawn {
  background-image: url('/demos/assets/greencut-hero.png');
  background-position: 50% center;
}
.demo-photo-salon {
  height: 620px;
  border-radius: 260px 260px 18px 18px;
  background-color: #25242a;
  background-image: url('/demos/assets/lush-portrait.jpg');
  background-position: center 34%;
  box-shadow: 0 24px 55px #34273224;
}
.photo-label,
.photo-caption {
  position: absolute;
  left: 30px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 8px #0008;
}
.photo-label {
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 44px);
  padding: 8px 12px;
  border-radius: 999px;
  background: #163a25b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
}
.lush .photo-label { background: #442236bd; }
.photo-caption {
  right: 30px;
  bottom: 31px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}
.lush .photo-caption { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(28px, 3vw, 43px); font-weight: 400; }
@media (max-width: 800px) {
  .demo-photo { width: 100%; max-width: 600px; height: 470px; margin-inline: auto; }
  .demo-photo-salon { height: 550px; }
}
@media (max-width: 480px) {
  .demo-photo { height: 360px; border-radius: 110px 12px 70px 12px; }
  .demo-photo-salon { height: 440px; border-radius: 180px 180px 16px 16px; }
  .photo-label { top: 25px; font-size: 10px; }
  .photo-caption { left: 22px; right: 22px; bottom: 24px; }
}
