/* Studio reel — scroll-driven full-screen video stack */
.studio-reel {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(var(--reel-steps, 5) * 100vh);
  background: #000;
  color: #fff;
}

.studio-reel__stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  will-change: transform;
}

.studio-reel__stage.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
}

.studio-reel__stage.is-ended {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
}

.studio-reel__layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.studio-reel__layer.is-base {
  clip-path: inset(0 0 0 0);
  z-index: 1;
}

.studio-reel__layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  transform: scale(1.06);
  transform-origin: center center;
  will-change: transform;
}

.studio-reel__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 32%, transparent 55%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, transparent 42%);
}

.studio-reel__ui {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 48px);
}

.studio-reel__brand {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.studio-reel__tag {
  margin: 4px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, #fca311);
  font-weight: 600;
}

.studio-reel__copy {
  max-width: 36rem;
  display: grid;
  gap: 10px;
}

.studio-reel__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
}

.studio-reel__caption {
  margin: 0;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 30rem;
}

@media (max-width: 720px) {
  .studio-reel__caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
