/* Keep all navigation, privacy choices and booking controls outside the film frame. */
body.video-home header{position:static;top:auto}
body.video-home #mobile-nav{position:static!important;top:auto!important;box-shadow:none}
body.video-home .mobile-book{position:static;bottom:auto;left:auto;z-index:auto;box-shadow:none}
body.video-home{padding-bottom:0}
.video-home-intro{padding:38px 7%;display:flex;align-items:center;justify-content:space-between;gap:30px;background:#fff}
.video-home-intro h1{font-size:clamp(32px,4vw,58px);line-height:1.05;letter-spacing:-1px;margin:8px 0 12px;color:#183e53}
.video-home-intro p{color:#4d6573;margin:0}
.video-home-intro .collection-link{display:inline-block;margin-top:15px;font-size:13px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:650px){.video-home-intro{padding:27px 6%;display:block}.video-home-intro .button{margin-top:20px}.video-home-intro h1{font-size:37px}}

body.video-home .brand .water-sunset-logo{display:block;width:114px;height:auto;aspect-ratio:1312/1199;flex-shrink:0;stroke:none;fill:none;}
@media(max-width:1100px){body.video-home header{flex-wrap:wrap}}
@media(max-width:600px){body.video-home .brand .water-sunset-logo{width:86px;}body.video-home .brand{gap:10px;font-size:17px;}body.video-home header{gap:12px;}}
/* Desktop wordmark only; preserve the approved mobile typography. */
@media(min-width:851px){
  body.video-home header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px 30px;}
  body.video-home .brand{grid-column:1 / -1;font-size:84px;}
  body.video-home .brand small{font-size:22px;}
  body.video-home header nav{margin-left:0;flex-wrap:wrap;}
  body.video-home .header-book{justify-self:end;}
}
.video-hero>.video-reserve .button{background:var(--navy);color:#fff;}
.video-hero>.video-reserve .button:hover{background:#0d3045;}

@media(max-width:850px){body.video-home .water-sunset-logo image{filter:none;}}

/* Discover lands on the welcome heading, without the section padding above it. */
html:has(#welcome-title:target){scroll-padding-top:0}#welcome-title{scroll-margin-top:0}
@media(max-width:600px){#welcome-title:target{padding-right:92px}}

/* Remove duplicate booking controls and close the requested homepage gaps. */
body.video-home .booking{padding-top:20px;padding-bottom:12px}body.video-home .booking h2{margin-bottom:0}body.video-home .intro.wrap{padding-top:24px;padding-bottom:24px;align-items:start}body.video-home .intro+.amenities>.wrap{padding-top:24px}

/* Desktop navigation deduplication only; original media layout preserved. */
@media (min-width: 851px) {
  /* These five destinations are already visible in the desktop upper header. */
  body.video-home.has-shared-choices:not(.header-compact) .section-nav > a:is(
    [href="#amenities"],
    [href="index.html#beyond-resort-title"],
    [href="local-guide.html#local-guide-sections"],
    [href="events.html"],
    [href="fishing-paddling.html"]
  ) { display: none; }
  body.video-home.has-shared-choices:not(.header-compact) .section-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 32px;
  }
  body.video-home.has-shared-choices:not(.header-compact) .section-nav > a { white-space: nowrap; }
}

/* Desktop only: 80% original frame, with the existing title over its lower edge. */
.video-hero__opening-caption { display: contents; }
@media (min-width: 851px) {
  body.video-home .video-hero { height: auto; display: block; }
  body.video-home .video-hero__surround { flex: none; min-height: 0; }
  body.video-home .video-hero__frame { height: auto; aspect-ratio: 20 / 9; }
  body.video-home .video-hero__below { padding-top: 24px; }
  body.video-home .video-hero__below > .video-reserve { padding-bottom: 28px; }
  body.video-home .video-hero__below { position: relative; }
  body.video-home .video-hero__opening-caption {
    display: block;
    position: absolute;
    bottom: calc(100% + 56px);
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 64px), calc(133.333svh - 64px));
    box-sizing: border-box;
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(10,31,41,.86), rgba(10,31,41,.70));
    border-radius: 4px;
    z-index: 3;
    pointer-events: none;
  }
  body.video-home .video-hero__intro h1 { font-size: clamp(17px, 2.5vw, 32px); white-space: nowrap; color: #fff; margin: 0; }
  body.video-home .video-hero__intro h1 br { display: none; }
  body.video-home .video-hero__intro p { margin: 12px 0 0; color: #fff; }
}

/* Desktop caption refinement: clear the left contact and centered Next control. */
@media (min-width: 851px) {
  body.video-home .video-hero__opening-caption {
    bottom: calc(100% + 8px);
    left: calc(50% - min(50vw, 66.6665svh) + 88px);
    transform: none;
    width: min(50vw, 66.6665svh);
    padding: 10px 6px;
    background: linear-gradient(90deg, rgba(10,31,41,.49) 0, rgba(10,31,41,.49) calc(100% - 112px), rgba(10,31,41,0) 100%);
    z-index: 1;
  }
  body.video-home .video-hero__opening-caption h1,
  body.video-home .video-hero__opening-caption p {
    max-width: calc(100% - 112px);
    text-shadow: -1px -1px 0 #0a1f29, 0 -1px 0 #0a1f29, 1px -1px 0 #0a1f29, -1px 0 0 #0a1f29, 1px 0 0 #0a1f29, -1px 1px 0 #0a1f29, 0 1px 0 #0a1f29, 1px 1px 0 #0a1f29;
  }
}
