/* ===================================================================
   HERO REEL
   - Video hero keeps every clip's native 16:9 ratio (no stretching).
   - Desktop / tablet: copy sits over the video.
   - Phones: video stays full-width 16:9, copy flows beneath it so
     nothing is covered or cramped.
   =================================================================== */

/* ---------- Brand lockup in header ---------- */
.brand-link { gap: 12px; }
.brand-icon { height: 40px; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-text .bt-main {
  font-family: 'Poppins', var(--font-heading);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text .bt-main .p1 { color: #F2DDC0; }
.brand-text .bt-main .p2 { color: #5CD6CC; }
.brand-text .bt-main .p3 { color: #F0997B; }
.brand-text .bt-sub {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins', var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .12em; text-transform: lowercase; color: var(--text-secondary); letter-spacing: .02em;
}
.brand-text .bt-sub::before, .brand-text .bt-sub::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45)); }
.brand-text .bt-sub::after { background: linear-gradient(270deg, transparent, rgba(255,255,255,.45)); }

.footer-logo { width: min(280px, 80%); height: auto; margin-bottom: 14px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }
.drawer-logo { height: 40px; width: auto; }

/* ---------- Hero ---------- */
.hero-reel { position: relative; background: var(--bg-base); isolation: isolate; }
.hero-stage { position: relative; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--bg-base); }
.hero-media video, .hero-media .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media .hero-poster { z-index: 0; }
.hero-media video { z-index: 1; opacity: 0; }
.hero-media video.is-on { opacity: 1; }
.hero-media video.is-in { z-index: 2; opacity: 1; transition: opacity 600ms linear; }
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,12,21,.9) 0%, rgba(8,12,21,.62) 45%, rgba(8,12,21,.15) 82%, rgba(8,12,21,0) 100%),
    linear-gradient(0deg, var(--bg-base) 0%, rgba(8,12,21,.4) 18%, rgba(8,12,21,0) 45%); }

.hero-copy { position: relative; z-index: 5; display: flex; align-items: center; min-height: min(calc(100vh - 80px), 56.25vw); padding: var(--space-2xl) 0; }
.hero-copy > .container { width: 100%; }
.hero-copy-inner { max-width: 800px; }
.hero-title { font-size: clamp(2.7rem, 5.6vw, 5.2rem); line-height: 1; margin: 12px 0 0; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.hero-title .script { display: inline-block; padding: 0 .14em .1em 0;
  background: linear-gradient(100deg, var(--coral-accent) 10%, #ffd9c5 45%, var(--cyan-accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.hero-lead { margin-top: 16px; max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: #D7D6E3; text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.hero-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.hero-route { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: rgba(16,20,33,.78);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-route h2 { font-size: 1.15rem; margin: 0; }
.hero-route p { font-size: .88rem; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.hero-route .btn { margin-top: auto; min-height: 48px; text-align: center; }
.hero-secondary { display: inline-block; margin-top: 16px; color: var(--cyan-accent); font-weight: 600; padding: 6px 0; }
.hero-toggle { position: absolute; z-index: 6; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(8,12,21,.55); border: 1px solid rgba(255,255,255,.22); }
.hero-toggle[hidden] { display: none; }
.hero-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero-toggle .i-play, .hero-reel.is-paused .hero-toggle .i-pause { display: none; }
.hero-reel.is-paused .hero-toggle .i-play { display: block; }

/* Tablet / phone: video on top, copy underneath */
@media (max-width: 860px) {
  .hero-media { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .hero-shade { background: linear-gradient(0deg, var(--bg-base) 0%, rgba(8,12,21,0) 35%); }
  .hero-copy { display: block; min-height: 0; padding: 4px 0 var(--space-xl); }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4.4rem); }
}
@media (max-width: 620px) { .hero-routes { grid-template-columns: minmax(0, 1fr); } }

/* Section reveal: one soft fade and rise per block. No blur, no per-word animation. */
.reveal { opacity: 0; transform: translate3d(0, 18px, 0); }
.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media video { transition: none; }
}

.cta-mark { height: 62px; width: auto; margin: 0 auto var(--space-md); filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
