/* MAREA cinematic layer — GSAP + ScrollTrigger + Lenis */
.voyage { height: 390vh; }
.cinema-video-stage { display: none; position: absolute; inset: 0; overflow: hidden; background: #0b3a44 url('/frames/a/000.webp') center / cover no-repeat; }
.cinema-frame-canvas { display: block; width: 100%; height: 100%; }
.cinema-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cinema-film-b { opacity: 0; }
.cinema-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,28,34,.52), transparent 64%), linear-gradient(0deg, rgba(2,20,27,.28), transparent 34%); pointer-events: none; }
.video-voyage .cinema-video-stage { display: block; z-index: 3; }
.video-voyage .sea-background, .video-voyage .sea-horizon, .video-voyage .overhead-anchor, .video-voyage .sea-wake, .video-voyage .yacht-mover, .video-voyage .camera-glint, .video-voyage .deck-transition { display: none; }
.video-voyage .sea-tint { opacity: .2; }
.video-voyage .hero-content { z-index: 14; }
.video-voyage .mid-voyage-copy { z-index: 14; }
.ocean-reveal-copy {
  position: absolute;
  z-index: 14;
  left: 7.3vw;
  bottom: 17%;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  text-shadow: 0 3px 28px rgba(2, 28, 36, .52);
}
.ocean-reveal-copy span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #e2d0af;
}
.ocean-reveal-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 118px);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 22px 0 0;
}
.ocean-reveal-copy h2 em { color: #ecf0e8; font-weight: 400; }
.sea-background {
  background-image: url('/assets/emerald-overhead.webp');
  background-position: center center;
}
.sea-horizon {
  position: absolute;
  inset: -4%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
  background: url('/assets/emerald-sea.webp') center 44% / cover no-repeat;
}
.sea-tint { z-index: 4; }
.overhead-anchor {
  position: absolute;
  z-index: 11;
  top: 52%;
  left: 67%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.overhead-stage {
  position: relative;
  width: clamp(170px, 16.2vw, 275px);
  opacity: 1;
  transform-origin: center 50%;
  will-change: transform, opacity;
  filter: drop-shadow(7px 20px 14px rgba(2, 28, 36, .32));
}
.overhead-stage img { display: block; width: 100%; height: auto; }
.overhead-wake {
  position: absolute;
  z-index: -1;
  top: 88%;
  left: -6%;
  width: 112%;
  height: 72%;
  opacity: .23;
  transform-origin: 50% 0%;
  background: url('/assets/wake-overhead.webp') center top / 100% 100% no-repeat;
  filter: blur(3px);
}
.yacht-mover { opacity: 0; }
.yacht-mover .yacht-side {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 1;
}
.yacht-mover .yacht-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translate3d(1%, 0, 0) scale(.99);
}
.camera-glint {
  position: absolute;
  z-index: 12;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 75% 42%, rgba(255,244,212,.47), rgba(255,248,221,.12) 33%, transparent 70%);
  mix-blend-mode: screen;
}
.deck-zoom {
  background-image: url('/assets/cabin.webp');
}
.deck-transition:after {
  background: linear-gradient(90deg, rgba(5,28,34,.75), rgba(5,28,34,.26) 66%, transparent), linear-gradient(0deg, rgba(5,28,34,.27), transparent 50%);
}
html.has-lenis { scroll-behavior: auto; }
.gsap-ready .reveal,
.gsap-ready .reveal-image { transition: none; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 600px) {
  .voyage { height: 365vh; }
  .ocean-reveal-copy { left: 6%; right: 6%; bottom: 19%; }
  .ocean-reveal-copy h2 { font-size: clamp(47px, 12vw, 78px); }
  .cinema-film { object-position: 54% center; }
  .cinema-vignette { background: linear-gradient(90deg, rgba(3,28,34,.49), rgba(3,28,34,.08) 78%), linear-gradient(0deg, rgba(2,20,27,.25), transparent 36%); }
  .overhead-anchor { top: 62%; left: 67%; }
  .overhead-stage { width: 39vw; }
  .sea-horizon { background-position: 58% center; }
  .yacht-mover .yacht-front { transform: translate3d(-5%, 0, 0) scale(1.02); }
  .deck-zoom { background-position: 50% center; }
}
@media (prefers-reduced-motion: reduce) {
  .voyage { height: 100vh; }
  .ocean-reveal-copy { display: none; }
  .cinema-video-stage { display: none !important; }
  .sea-horizon, .yacht-mover { display: none; }
  .overhead-stage { transform: none; }
}
