html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.cm-frame {
  position: relative;
  width: min(260px, 78vw);
  aspect-ratio: 8/5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: #17141a;
}

.cm-photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(100px circle at 60% 35%, rgba(255, 255, 255, 0.55), transparent 58%), linear-gradient(150deg, #2f6df6, #fff7e6 140%);
  clip-path: circle(0% at 50% 50%);
}

.cm-photo {
  transition: clip-path 600ms ease-out;
}

.cm-focal:hover .cm-photo {
  clip-path: circle(75% at 50% 50%);
}

@keyframes cm-grow {
  0%, 8% {
    clip-path: circle(0% at 50% 50%);
  }
  45%, 60% {
    clip-path: circle(75% at 50% 50%);
  }
  95%, 100% {
    clip-path: circle(0% at 50% 50%);
  }
}
.cm-frame.is-demo .cm-photo {
  animation: cm-grow 2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cm-focal:hover .cm-photo,
  .cm-frame.is-demo .cm-photo {
    animation: none !important;
    transition: none !important;
    clip-path: circle(75% at 50% 50%) !important;
  }
}
