/* ═══════════════════════════════════════════════════════════════
   T27 — Home hero montage (HOME-SPEC "Home hero")
   Six Omni video scenes, 1.2 s crossfades, slow 3% push-in, looping.
   Scene 1 eager (poster + first), scenes 2–6 lazy. 720p on mobile.
   Pause/play bottom-left, scroll cue bottom-center, data-on-media for QA.
   Respect prefers-reduced-motion: one still frame, no montage.
   ═══════════════════════════════════════════════════════════════ */

.hero-montage { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: var(--obx-ink); }

/* scene layer */
.hero-montage .scene {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--obx-ease);
  will-change: opacity, transform;
}
.hero-montage .scene.active { opacity: 1; }
.hero-montage .scene video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.0); will-change: transform;
}
.hero-montage .scene.active video { animation: hero-pushin 7.2s var(--obx-ease) forwards; }
@keyframes hero-pushin { from { transform: scale(1.0); } to { transform: scale(1.03); } }

/* dark gradient top & bottom only (no full wash) */
.hero-montage .scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,20,32,.6) 0%, transparent 30%, transparent 66%, rgba(7,20,32,.66) 100%);
}

/* centered text — must win over the legacy .hero-inner (position:relative; width:100%; max-width) */
.hero-montage .hero-inner { position: absolute !important; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 232px var(--obx-pad) 48px; width: auto !important; max-width: none !important; margin: 0 !important; height: 100% !important; }
@media (min-width: 961px) { .hero-montage .hero-inner { padding: 264px 48px 56px; } }
.hero-montage .hero-inner h1 {
  color: #fff; margin: 0 auto 18px; max-width: 18ch;
  font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; letter-spacing: .02em;
  /* light, far-soft shadow — enough for legibility over bright water, but no thick
     dark halo that muddies the crisp Bodoni strokes. */
  text-shadow: 0 1px 22px rgba(4,12,22,.42), 0 0 2px rgba(4,12,22,.18);
}
.hero-montage .hero-inner .lead {
  color: rgba(255,255,255,.92); max-width: 52ch; margin: 0 auto;
  font-size: 18px; text-shadow: 0 1px 14px rgba(4,12,22,.45);
}
.hero-montage .hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-montage .hero-cta .btn { min-width: 220px; justify-content: center; }
.hero-montage .hero-cta .btn-request { background: #fff !important; color: var(--obx-ink) !important; border-color: #fff !important; }
/* logo statement needs clear room above the headline */
@media (max-width: 900px) { .hero-montage .hero-inner { padding-top: 210px; } }
/* T31i — mobile: keep the headline to ≤4 lines and give it clear space below the
   OCEAN BREEZE / “Marine Air” logo statement (no overlap). */
@media (max-width: 900px) {
  .hero-montage .hero-inner h1 {
    font-size: clamp(2rem, 7.2vw, 2.7rem);
    line-height: 1.1;
    max-width: 16ch;
  }
  .hero-montage .hero-inner .lead { font-size: 15px; margin-top: 4px; }
  .hero-montage .hero-cta { margin-top: 22px; }
  .hero-montage .hero-cta .btn { min-width: 180px; padding: 14px 22px; }
}
.hero-montage .hero-cta .btn-request:hover { background: rgba(255,255,255,.88) !important; }
.hero-montage .hero-cta .btn-explore { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.85) !important; }
.hero-montage .hero-cta .btn-explore:hover { background: rgba(255,255,255,.1) !important; border-color: #fff !important; }

/* pause/play bottom-left */
.hero-montage .hero-pause {
  position: absolute; left: 24px; bottom: 24px; z-index: 4;
  width: 44px; height: 44px; border-radius: 2px; cursor: pointer;
  background: rgba(7,20,32,.4); border: 1px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center; color: #fff;
  backdrop-filter: blur(4px);
}
.hero-montage .hero-pause:hover { background: rgba(7,20,32,.6); border-color: #fff; }
.hero-montage .hero-pause svg { width: 18px; height: 18px; }
.hero-montage .hero-pause .icon-pause, .hero-montage .hero-pause .icon-play { display: none; }
.hero-montage .hero-pause[data-state="playing"] .icon-pause { display: block; }
.hero-montage .hero-pause[data-state="paused"] .icon-play { display: block; }

/* scroll cue bottom-center */
.hero-montage .hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4;
  width: 22px; height: 34px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero-montage .hero-scroll span { width: 2px; height: 8px; background: #fff; border-radius: 2px; animation: scrollcue 1.8s var(--obx-ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-montage .scene.active video { animation: none; transform: none; }
  .hero-montage .scene { transition: none; }
  .hero-montage .hero-scroll span { animation: none; }
}
