/* ==========================================================================
   7TH & 8TH FINALE: REAL-TIME SKY & WIDE FACADE CRANE TRACKING ENGINE
   Cabaret mirrored showcase, 3D crane tracking, Day/Sunset/Night sky modes,
   and Grand Building Facade Finale
   ========================================================================== */

.crane-tracking-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #060709;
  overflow: hidden;
  z-index: 10;
}

/* 1. CONTINUOUS BACKGROUND CANVAS (SKY -> CRANING DOWN TO WIDE FACADE) */
.crane-background-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.crane-scene-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%; /* Extended vertical crane runway */
  will-change: transform;
  transform: translateY(0%);
}

/* The Continuous Panoramic Image Canvas (4 Modes) */
.crane-panoramic-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.crane-panoramic-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sky-mode-day .crane-panoramic-day,
.sky-mode-sunset .crane-panoramic-sunset,
.sky-mode-night .crane-panoramic-night,
.sky-mode-sunrise .crane-panoramic-sunrise {
  opacity: 1;
}

.crane-panoramic-picture .crane-panoramic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  user-select: none;
}

/* Top ~85-90% solid black scrim during Stories 1-4. Only bottom ~10-15% shows sky peek. Fades out during grand crane reveal. */
.crane-sky-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    #060709 0%, 
    #060709 72%, 
    rgba(6, 7, 9, 0.96) 82%, 
    rgba(6, 7, 9, 0.65) 89%, 
    rgba(6, 7, 9, 0.15) 95%, 
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  opacity: 1;
  will-change: opacity;
}

/* Bottom scrim disabled to prevent darkening building facade; footer section manages its own targeted baseline gradient */
.crane-bottom-scrim {
  display: none !important;
}

/* Ready-to-use video element for Kling AI drop */
.crane-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

/* 2. FOREGROUND CARD SLIDE CONTAINER (SECTION 7) */
.mirrored-editorial-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  z-index: 5;
  overflow: hidden;
}

.mirrored-editorial-container {
  width: 100%;
  max-width: 500px;
  height: 100%;
  height: 100dvh;
  margin: 0 auto;
  padding: 108px 10px 14px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  will-change: transform, opacity;
  z-index: 5;
}

@media (min-width: 769px) {
  .mirrored-editorial-container {
    max-width: 720px;
    padding: 118px 16px 20px 16px;
  }
  .mirrored-headline-line1,
  .mirrored-headline-line2 {
    font-size: clamp(68px, 6.6vw, 96px);
  }
}

.mirrored-headline-line1 {
  font-family: 'Anton', 'Bebas Neue', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 13.6vw, 92px);
  line-height: 0.84;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 4px 0;
  padding: 0 0 0 8px;
  user-select: none;
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
  top: -10px;
  left: 0;
}

.mirrored-media-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mirrored-notched-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #121418;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  user-select: none;
  clip-path: url(#mirroredNotchedVideoShape);
  -webkit-clip-path: url(#mirroredNotchedVideoShape);
  border-radius: 20px 20px 24px 24px;
  overflow: hidden;
}

/* CRISP LUXURY WHITE OUTLINE BORDER (MATCHES QUICK MENU CARDS) */
.mirrored-notched-stroke-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08)) drop-shadow(0 10px 32px rgba(0, 0, 0, 0.45));
}

.notch-headline-box-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 14%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 4px 0 4px;
  box-sizing: border-box;
  z-index: 5;
  pointer-events: none;
}

.mirrored-headline-line2 {
  font-family: 'Anton', 'Bebas Neue', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(52px, 13.6vw, 92px);
  line-height: 0.84;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  text-align: left;
  display: block;
  white-space: nowrap;
  user-select: none;
  transform: translateX(8px);
}
