/* Live Demo — premium four-stage product animation */

.live-demo {
  --demo-bg: rgba(18, 8, 32, 0.92);
  position: relative;
  isolation: isolate;
  border-radius: clamp(18px, 3vw, 26px);
  padding: clamp(0.9rem, 2vw, 1.35rem);
  background: var(--demo-bg);
  overflow: hidden;
  min-height: clamp(440px, 70vw, 520px);
  box-shadow:
    0 0 0 1px rgba(38, 242, 216, 0.18),
    0 0 48px rgba(46, 122, 255, 0.12),
    0 0 80px rgba(242, 51, 217, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.5);
}

.live-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(38, 242, 216, 0.55),
    rgba(46, 122, 255, 0.25),
    rgba(242, 51, 217, 0.55),
    rgba(38, 242, 216, 0.35)
  );
  background-size: 220% 220%;
  animation: demoBorder 8s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

@keyframes demoBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.live-demo__ambient {
  position: absolute;
  width: 70%;
  height: 55%;
  left: 15%;
  top: 22%;
  background: radial-gradient(circle, rgba(38, 242, 216, 0.16), transparent 68%);
  filter: blur(18px);
  animation: ambientDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes ambientDrift {
  from { transform: translate(-6%, -4%) scale(1); }
  to { transform: translate(8%, 6%) scale(1.08); }
}

.live-demo__chrome {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.live-demo__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.live-demo__stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.live-demo__stages li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 30px;
  border-radius: 999px;
  font-size: clamp(0.62rem, 1.6vw, 0.74rem);
  font-weight: 700;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.live-demo__tick {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.25s ease;
}

.live-demo__stages li.is-active {
  color: #0a0610;
  background: linear-gradient(135deg, var(--cyan), #1ad1c0);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(38, 242, 216, 0.35);
}

.live-demo__stages li.is-done {
  color: var(--cyan);
  border-color: rgba(38, 242, 216, 0.35);
  background: rgba(38, 242, 216, 0.08);
}

.live-demo__stages li.is-done .live-demo__tick {
  width: 10px;
  height: 10px;
  opacity: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 2px rgba(10, 6, 16, 0.35);
  position: relative;
}

.live-demo__stages li.is-done .live-demo__tick::after {
  content: "";
  position: absolute;
  left: 2.5px;
  top: 1px;
  width: 3px;
  height: 5px;
  border: solid #0a0610;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(40deg);
}

.live-demo__device {
  position: relative;
  z-index: 3;
  width: min(230px, 72vw);
  aspect-ratio: 9 / 17.5;
  max-height: min(400px, 54vh);
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a1a22, #050508 45%, #0c0c12);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.55);
  padding: 10px 8px 12px;
  overflow: hidden;
}

.live-demo__notch {
  width: 38%;
  height: 5px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.live-demo__screen {
  position: relative;
  height: calc(100% - 13px);
  border-radius: 20px;
  background: #0a0612;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-stage {
  position: absolute;
  inset: 0;
  padding: 12px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-stage.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Upload */
.demo-dropzone {
  flex: 1;
  border-radius: 14px;
  border: 1.5px dashed rgba(38, 242, 216, 0.28);
  background: rgba(38, 242, 216, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.demo-dropzone__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(38, 242, 216, 0.1);
  border: 1px solid rgba(38, 242, 216, 0.22);
}

.demo-dropzone__hint {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.demo-file {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  margin-top: -8px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(16, 8, 28, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(-50% - 28px)) scale(0.94);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.35s ease;
  z-index: 2;
}

.demo-file.is-in {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.demo-stage--upload:has(.demo-file.is-in) .demo-dropzone {
  opacity: 0;
  border-color: transparent;
  pointer-events: none;
}

.demo-file.is-done {
  border-color: rgba(38, 242, 216, 0.4);
  box-shadow: 0 0 0 1px rgba(38, 242, 216, 0.2), 0 0 28px rgba(38, 242, 216, 0.18);
}

.demo-file__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 9px;
  background: #12081f;
}

.demo-file__thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-file__badge {
  position: absolute;
  left: 6px;
  top: 6px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.35rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.demo-file__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 9px;
  padding-right: 28px;
}

.demo-file__meta strong {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.demo-file__meta span {
  font-size: 0.62rem;
  color: var(--faint);
}

.demo-file__meta em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 700;
}

.demo-file__progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.demo-file__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.demo-file__bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.demo-file__progress span {
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 2.2em;
  text-align: right;
}

.demo-file__done {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #0a0610;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 3;
}

.demo-file__done.is-show {
  opacity: 1;
  transform: scale(1);
}

/* Analyse */
.demo-analyse__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.62rem;
  color: var(--muted);
}

.demo-analyse__head strong {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.demo-waveform {
  position: relative;
  height: 78px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.demo-waveform__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.demo-waveform__mask {
  transform-origin: right center;
  transition: none;
}

.demo-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 10px rgba(38, 242, 216, 0.8);
  opacity: 0;
}

.demo-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(242, 51, 217, 0.85);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.demo-marker.is-on { transform: scaleY(1); }

.demo-detects {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 22px;
}

.demo-chip {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(46, 122, 255, 0.18);
  border: 1px solid rgba(46, 122, 255, 0.35);
  color: #cfe0ff;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.3s ease;
}

.demo-chip.is-on {
  opacity: 1;
  transform: none;
}

.demo-chip--mix { border-color: rgba(38, 242, 216, 0.4); background: rgba(38, 242, 216, 0.12); color: var(--cyan); }
.demo-chip--drop { border-color: rgba(242, 51, 217, 0.4); background: rgba(242, 51, 217, 0.12); color: #ffb3f3; }

.demo-mix-count {
  margin: auto 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-align: center;
}

/* Split */
.demo-split__banner,
.demo-split__result {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.demo-split__result {
  color: var(--cyan);
  min-height: 1.1em;
}

.demo-split__timeline {
  position: relative;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-split__bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #26f2d8, #2e7aff 35%, #7b3cff 70%, #f233d9);
  opacity: 0.85;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s ease;
}

.demo-split__cuts {
  position: absolute;
  inset: 0;
}

.demo-cut {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: scaleY(0.2);
  transition: 0.3s ease;
}

.demo-cut.is-on {
  opacity: 1;
  transform: scaleY(1);
}

.demo-clip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  flex: 1;
  align-content: start;
}

.demo-clip-card {
  aspect-ratio: 9 / 14;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(46, 122, 255, 0.55), rgba(123, 60, 255, 0.45) 55%, rgba(242, 51, 217, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-clip-card:nth-child(2) { background: linear-gradient(160deg, rgba(38, 242, 216, 0.4), rgba(46, 122, 255, 0.5)); }
.demo-clip-card:nth-child(3) { background: linear-gradient(160deg, rgba(123, 60, 255, 0.5), rgba(242, 51, 217, 0.45)); }
.demo-clip-card:nth-child(4) { background: linear-gradient(160deg, rgba(46, 122, 255, 0.45), rgba(38, 242, 216, 0.35)); }
.demo-clip-card:nth-child(5) { background: linear-gradient(160deg, rgba(242, 51, 217, 0.4), rgba(123, 60, 255, 0.45)); }
.demo-clip-card:nth-child(6) { background: linear-gradient(160deg, rgba(38, 242, 216, 0.35), rgba(242, 51, 217, 0.4)); }

.demo-clip-card.is-on {
  opacity: 1;
  transform: none;
}

.demo-clip-card__label {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 2;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0.18rem 0.32rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: calc(100% - 8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-clip-card__dur {
  position: absolute;
  right: 4px;
  bottom: 20px;
  z-index: 2;
  font-size: 0.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.16rem 0.3rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
}

.demo-clip-card__wave {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 12px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.55) 0 1px,
      transparent 1px 3px
    );
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.demo-clip-card__play {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.demo-clip-card__play::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
}

/* Export */
.demo-stage--export {
  gap: 6px;
  overflow: hidden;
}

.demo-stage--export.is-complete {
  justify-content: flex-start;
}

.demo-export__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--muted);
  padding-right: 30px;
}

.demo-badge {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 242, 216, 0.3);
  color: var(--cyan);
  font-size: 0.55rem;
}

.demo-export__bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.demo-export__bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.demo-export__queue {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

.demo-export__queue.is-hidden,
.demo-export__fan.is-hidden,
.demo-export__platforms.is-hidden {
  display: none !important;
}

.demo-export-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.35s ease;
}

.demo-export-item.is-on {
  opacity: 1;
  transform: none;
}

.demo-export-item.is-done {
  border-color: rgba(38, 242, 216, 0.35);
  color: var(--cyan);
}

.demo-export__fan {
  position: relative;
  height: 110px;
  margin: 4px 0 2px;
  flex-shrink: 0;
}

.demo-fan-card {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 58px;
  height: 88px;
  margin-left: -29px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, rgba(46, 122, 255, 0.7), rgba(123, 60, 255, 0.5) 55%, rgba(242, 51, 217, 0.45));
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.demo-fan-card:nth-child(1) { --r: -12deg; --x: -34px; z-index: 1; }
.demo-fan-card:nth-child(2) {
  --r: 0deg;
  --x: 0;
  z-index: 3;
  background: linear-gradient(160deg, rgba(38, 242, 216, 0.55), rgba(46, 122, 255, 0.55) 60%, rgba(123, 60, 255, 0.45));
}
.demo-fan-card:nth-child(3) {
  --r: 12deg;
  --x: 34px;
  z-index: 2;
  background: linear-gradient(160deg, rgba(123, 60, 255, 0.55), rgba(242, 51, 217, 0.5));
}

.demo-fan-card.is-on {
  opacity: 1;
  transform: translate(var(--x), 0) rotate(var(--r));
}

.demo-fan-card__label {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 2;
  font-size: 0.48rem;
  font-weight: 800;
  padding: 0.14rem 0.28rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-fan-card__dur {
  position: absolute;
  right: 4px;
  bottom: 18px;
  z-index: 2;
  font-size: 0.48rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.14rem 0.28rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-fan-card__play {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.demo-fan-card__play::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
}

.demo-fan-card__wave {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 12px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.55) 0 1px,
    transparent 1px 3px
  );
  opacity: 0.55;
}

.demo-export__platforms {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
  flex-shrink: 0;
}

.demo-export__platforms span {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 0.35rem 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--faint);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-export__platforms span.is-on {
  opacity: 1;
  transform: none;
  color: #0a0610;
  background: linear-gradient(135deg, var(--cyan), #8ef7ea);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(38, 242, 216, 0.3);
}

.demo-export__success {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #0a0610;
  opacity: 0;
  transform: scale(0.5);
  transition: 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 0 18px rgba(38, 242, 216, 0.4);
  z-index: 4;
}

.demo-export__success.is-on {
  opacity: 1;
  transform: scale(1);
}

.demo-export__success svg {
  width: 14px;
  height: 14px;
}

.live-demo__status {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-top: 1.15rem;
  min-height: 2.8em;
  padding: 0.15rem 0.35rem 0;
  /* Keep caption clearly below the phone — never layered with in-device UI */
  isolation: isolate;
}

.live-demo__status-main {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.live-demo__status-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.live-demo.is-paused .live-demo__ambient,
.live-demo.is-paused::before {
  animation-play-state: paused;
}

@media (max-width: 520px) {
  .live-demo__stages li { font-size: 0.58rem; padding-inline: 0.15rem; }
  .live-demo__device { width: min(200px, 78vw); }
  .demo-clip-card:nth-child(n+4) { display: none; }
}

@media (min-width: 521px) {
  .demo-clip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-demo::before,
  .live-demo__ambient {
    animation: none !important;
  }
  .demo-stage {
    transition: opacity 0.25s ease;
    transform: none;
  }
}
