/* The menu control stays available, without pinning the large brand header. */
body>.menu,header .menu{position:fixed;top:max(18px,env(safe-area-inset-top));right:max(4%,env(safe-area-inset-right));z-index:122;display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 15px;border:1px solid #c8dce4;border-radius:4px;background:#edf5f7;color:#153e56;font:600 12px/1.5 'DM Sans',Arial,sans-serif;box-shadow:0 2px 8px #153e5614;cursor:pointer}header{padding-right:150px!important}#mobile-nav{position:fixed;top:70px!important;right:max(4%,env(safe-area-inset-right));left:auto!important;width:min(340px,92vw)!important;max-height:calc(100dvh - 90px);overflow-y:auto;z-index:121;background:#fff;box-shadow:0 12px 30px #153e5633;border:1px solid #d8e3e7;border-radius:6px;padding:10px 16px!important;display:flex;flex-direction:column;gap:0;margin:0}#mobile-nav[hidden],.menu-backdrop[hidden]{display:none!important}#mobile-nav a{display:block;padding:10px 8px;min-height:42px;border-bottom:1px solid #e4edf0;font:500 14px/1.5 'DM Sans',Arial,sans-serif;color:#253f4e;text-decoration:none}.menu-backdrop{position:fixed;inset:0;z-index:120;background:rgba(13,40,55,.15);border:0;padding:0;cursor:default}.menu:focus-visible,#mobile-nav a:focus-visible{outline:3px solid #cd8134;outline-offset:3px}@media(max-width:600px){header{padding-right:115px!important}header .menu{right:max(4%,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top));padding:10px 12px}#mobile-nav{right:4%;width:92vw!important}}
@media(max-width:600px){#amenities:target,#gallery:target,#location:target,#beyond-resort-title:target,#policies-title:target{padding-right:92px}}
body.video-home #mobile-nav,body #mobile-nav{position:fixed!important;top:70px!important;box-shadow:0 12px 30px #153e5633}

/* One booking bar remains available without duplicating the existing mobile CTA. */
body.has-persistent-booking{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
body .mobile-book.persistent-booking,body.video-home .mobile-book.persistent-booking{position:fixed!important;inset:auto 0 0;z-index:100;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:10px max(5%,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -3px 20px #153e5620}
.persistent-booking .button{display:flex;align-items:center;justify-content:center;flex:0 1 440px;min-height:48px;padding:12px 22px;background:#26799c;color:#fff;font:700 13px/1.3 'DM Sans',Arial,sans-serif;text-decoration:none;border-radius:3px}
.persistent-booking .button:hover{background:#153e56}.persistent-booking>a:not(.button){display:flex;align-items:center;justify-content:center;min-width:65px;min-height:48px;padding:10px;background:#edf5f7;color:#153e56;font:600 13px/1.3 Arial,sans-serif;text-decoration:none;border-radius:3px}.persistent-booking a:focus-visible{outline:3px solid #cd8134;outline-offset:3px}
@media(max-width:600px){.persistent-booking .button{flex:1;padding:12px;font-size:12px}}

html:has(#local-discover-title:target),html:has(#events-discover-title:target),html:has(#activity-discover-title:target){scroll-padding-top:0}#local-discover-title,#events-discover-title,#activity-discover-title{display:block;scroll-margin-top:0}html:has(#local-discover-title:target) body>header,html:has(#events-discover-title:target) body>header,html:has(#activity-discover-title:target) body>header{position:static}@media(max-width:600px){#local-discover-title:target,#events-discover-title:target,#activity-discover-title:target{padding-right:92px}}

body.video-home:not(.booking-scrolled) .mobile-book{visibility:hidden;pointer-events:none;opacity:0}

/* Retained responsive brand typography and guest-page layout. */
.desktop-flow-brand{display:none!important}
@media(min-width:851px), (min-width:601px) and (hover:hover) and (pointer:fine){
 body.has-pinned-brand>header{position:static!important}
 body.has-pinned-brand>header>.desktop-original-brand:not(.brand){display:none}
 body.has-pinned-brand>header>.desktop-original-brand.brand{visibility:visible;pointer-events:auto}
 body.has-pinned-brand>header>.desktop-original-brand.brand>svg,body.has-pinned-brand>header>.desktop-original-brand.brand>img{visibility:hidden}
 body.has-pinned-brand>header>.desktop-flow-brand{display:flex!important;align-items:center;gap:12px;color:var(--navy,#153e56);font:9.2px/1.1 Georgia,serif;letter-spacing:1px;text-decoration:none;white-space:nowrap}
 .desktop-flow-brand>img{width:51px;height:auto;visibility:hidden;flex:none}
 .desktop-flow-brand small{display:block;color:var(--navy,#153e56);font:3.6px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:1px;margin-top:3px}
}

/* Narrow or zoomed laptop typography. */
/* Owner-requested desktop wordmark: 20% smaller than the previous half-size text; the compass image is unchanged. */
@media(min-width:851px), (min-width:601px) and (hover:hover) and (pointer:fine){
 body.video-home>header>.desktop-original-brand{font-size:33.6px;color:var(--navy)}
 body.video-home>header>.desktop-original-brand small{font-size:8.8px;color:var(--navy);letter-spacing:1px;margin-top:3px}
}
@media(min-width:851px) and (max-width:1100px){
 body.video-home>header>.desktop-original-brand{font-size:clamp(19.2px,2.6vw,28.4px)}
 body.video-home>header>.desktop-original-brand small{font-size:7.2px}
}
@media(min-width:601px) and (max-width:850px) and (hover:hover) and (pointer:fine){
 body.video-home>header>.desktop-original-brand{font-size:clamp(11.2px,2.04vw,17.2px);letter-spacing:.25px}
 body.video-home>header>.desktop-original-brand small{font-size:4.8px;letter-spacing:.8px}
}

/* Bring the desktop navigation row 16px closer to the unchanged compass logo. */
@media(min-width:851px){body.video-home>header{row-gap:6px}}

/* Original brand sizing retained within the complete fixed header. */
@media(min-width:851px), (min-width:601px) and (hover:hover) and (pointer:fine){
 body.video-home>header>.desktop-original-brand{width:max-content;max-width:100%;gap:12px;line-height:1.1;letter-spacing:1px}
}
@media(min-width:601px) and (max-width:850px) and (hover:hover) and (pointer:fine){
 body.video-home>header>.desktop-original-brand .water-sunset-logo{width:70px}
 body.video-home>header>.desktop-original-brand{gap:10px;margin-left:-2vw;letter-spacing:.25px}
}

/* Owner-approved full opaque header, desktop and mobile. */
html.solid-header-page{scroll-padding-top:calc(var(--fixed-header-height,116px) + 4px)!important}
body.solid-header{padding-top:var(--fixed-header-height,116px)}
body.solid-header>header{position:fixed!important;inset:0 0 auto;z-index:119;width:100%;box-sizing:border-box;background:#fff!important;color:#153e56;border-bottom:2px solid #153e56;box-shadow:none;padding-top:max(22px,env(safe-area-inset-top));padding-left:max(4%,env(safe-area-inset-left))}
body.solid-header>header>.desktop-original-brand.brand>svg,body.solid-header>header>.desktop-original-brand.brand>img{visibility:visible!important}
body.solid-header>header>.desktop-original-brand:not(.brand){display:none!important}
body.solid-header>header>.desktop-flow-brand{display:flex!important;align-items:center;gap:12px;color:#153e56;white-space:nowrap;text-decoration:none}
body.solid-header>header>.desktop-flow-brand>img{visibility:visible;width:51px;height:auto;flex:none}
body.solid-header>header>.desktop-flow-brand small{display:block}
body.solid-header #mobile-nav{top:calc(var(--fixed-header-height,116px) + 8px)!important;max-height:calc(100dvh - var(--fixed-header-height,116px) - 24px)}
@media(max-width:600px){
 body.solid-header>header{padding-top:max(18px,env(safe-area-inset-top));padding-left:max(6%,env(safe-area-inset-left))}
 body.solid-header>header>.desktop-flow-brand{font:17px/1.1 Georgia,serif;letter-spacing:1px;gap:10px}
 body.solid-header>header>.desktop-flow-brand>img{width:38px}
 body.solid-header>header>.desktop-flow-brand small{font:7px/1.5 Arial,sans-serif;letter-spacing:1px;margin-top:6px}
 body.solid-header>header>span{display:none}
}

html.solid-header-page [id]{scroll-margin-top:0!important}

/* Two owner-selected headers: full home branding, compact destination branding. */
body.solid-header>header>.destination-brand{display:none!important}
body.solid-header.header-compact>header{display:flex!important;align-items:center;gap:12px;row-gap:0}
body.solid-header.header-compact>header>.desktop-original-brand,body.solid-header.header-compact>header>.desktop-flow-brand,body.solid-header.header-compact>header>nav,body.solid-header.header-compact>header>.header-book,body.solid-header.header-compact>header>span{display:none!important}
body.solid-header.header-compact>header>.destination-brand{display:flex!important;align-items:center;gap:12px;margin:0;color:#153e56;font:37.6px/1.1 Georgia,serif!important;letter-spacing:1px;white-space:nowrap;text-decoration:none}
body.solid-header.header-compact>header>.destination-brand>svg{display:block;flex:none;width:51px;height:auto;fill:none;stroke:#b89758;stroke-width:2}
body.solid-header.header-compact>header>.destination-brand small{display:block;margin-top:6px;color:#153e56;font:8.8px/1.5 'DM Sans',Arial,sans-serif!important;letter-spacing:2px}
@media(min-width:851px) and (max-width:1100px){body.solid-header.header-compact>header>.destination-brand{font-size:clamp(21.46px,2.906vw,31.74px)!important}}
@media(max-width:850px){body.solid-header.header-compact>header>.destination-brand{font-size:19px!important;gap:12px}body.solid-header.header-compact>header>.destination-brand>svg{width:38px}body.solid-header.header-compact>header>.destination-brand small{font-size:7px!important}}
body.solid-header.header-compact>header{padding-bottom:22px}
body.solid-header.header-compact>header>.destination-brand>span{font:inherit!important;letter-spacing:inherit}
@media(max-width:850px){body.solid-header.header-compact>header{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:18px;padding-left:max(6%,env(safe-area-inset-left))}}

@media(max-width:850px){body .mobile-book.persistent-booking{gap:6px;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.persistent-booking>a:not(.button){min-width:48px;padding:8px}.persistent-booking .button{flex:1;min-width:0;padding:10px 8px;font-size:12px}}

/* Shared wordmark alignment, including policy/gallery base-style overrides. */
body.solid-header>header .brand>span{display:block;max-width:none!important;width:auto;text-align:left!important;flex:none}
body.solid-header>header .brand small{text-align:left!important;margin-left:0;padding-left:0}
body.solid-header>header{padding-left:max(3%,env(safe-area-inset-left))}
body.video-home.solid-header:not(.header-compact)>header{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:8px}
body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand{align-items:flex-start;font:37.6px/1.1 Georgia,serif!important;letter-spacing:1px;gap:12px}
body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand>span{margin-top:14px}
body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand small{font:8.8px/1.5 'DM Sans',Arial,sans-serif!important;letter-spacing:2px;margin-top:6px}
@media(min-width:851px) and (max-width:1100px){body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand{font-size:clamp(21.46px,2.906vw,31.74px)!important}}
@media(max-width:850px){
 body.solid-header>header{padding-left:max(4%,env(safe-area-inset-left))!important}
 body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand{font-size:19px!important;margin-left:0}
 body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand>span{margin-top:10px}
 body.video-home.solid-header:not(.header-compact)>header>.desktop-original-brand small{font-size:7px!important}
}

/* Direction-aware chrome: no layout reflow and no change to anchor reservations. */
body.solid-header>header,body.solid-header>.menu,body.solid-header .persistent-booking{transition:transform 220ms ease;will-change:transform}
body.solid-header.chrome-away>header{transform:translateY(-100%);pointer-events:none}
body.solid-header.chrome-away>.menu{transform:translateY(calc(-1 * var(--fixed-header-height,116px) - 70px));pointer-events:none}
body.solid-header.chrome-away .persistent-booking{transform:translateY(110%);pointer-events:none}
@media(prefers-reduced-motion:reduce){body.solid-header>header,body.solid-header>.menu,body.solid-header .persistent-booking{transition:none}}

/* Home choices pin after their original position; destination choices share the fixed header. */
.section-nav-slot{width:100%}
body.choices-pinned .section-nav{position:fixed;top:calc(var(--fixed-header-height,116px) - 1px);left:0;right:0;z-index:118;margin:0;transition:transform 220ms ease;box-sizing:border-box}
html.solid-header-page{scroll-padding-top:calc(var(--fixed-header-height,116px) + var(--pinned-choices-height,0px) + 4px)!important}
body.solid-header.choices-pinned.chrome-away>header,body.solid-header.choices-pinned.chrome-away>.menu,body.solid-header.choices-pinned.chrome-away .section-nav{transform:translateY(calc(-1 * (var(--fixed-header-height,116px) + var(--pinned-choices-height,0px))));pointer-events:none}
body.solid-header.choices-pinned #mobile-nav{top:calc(var(--fixed-header-height,116px) + var(--pinned-choices-height,0px) + 8px)!important;max-height:calc(100dvh - var(--fixed-header-height,116px) - var(--pinned-choices-height,0px) - 24px)}
@media(prefers-reduced-motion:reduce){body.choices-pinned .section-nav{transition:none}}

/* Compact choices with touch-friendly targets and an opaque, overlapping seam. */
body.has-shared-choices .section-nav{flex-wrap:wrap;row-gap:0;column-gap:20px;background:#edf5f7;padding-top:0;padding-bottom:0;align-items:center}
body.has-shared-choices .section-nav a,body.has-shared-choices .section-nav button{display:flex;align-items:center;justify-content:center;min-height:44px;padding-top:4px;padding-bottom:4px;line-height:1.3}
@media(max-width:850px){body.has-shared-choices .section-nav{column-gap:10px}}

body.has-shared-choices .section-nav .is-current{background:#153e56;color:#fff;border-radius:3px;box-shadow:4px 0 #153e56,-4px 0 #153e56}

/* Owner-selected inline navigation: four above, three below; preserve readable labels. */
body.has-shared-choices .section-nav{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));padding-inline:max(4%,calc((100% - 900px)/2));column-gap:8px}
body.has-shared-choices .section-nav>a{grid-column:span 5;min-width:0;text-align:center}
body.has-shared-choices .section-nav>a:nth-child(2){grid-column:span 9;white-space:nowrap}
body.has-shared-choices .section-nav>a:nth-child(n+5){grid-column:span 8}
@media(max-width:360px){body.has-shared-choices .section-nav>a:nth-child(-n+4){grid-column:span 12}}

/* Close the full Menu from its bottom without hunting for its toggle. */
#mobile-nav .menu-close{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;background:#edf5f7;color:#153e56;border:1px solid #c8dce4;border-radius:4px;font:600 14px/1.5 'DM Sans',Arial,sans-serif;cursor:pointer}
#mobile-nav .menu-close>span:first-child{font-size:22px;line-height:1}
#mobile-nav .menu-close:focus-visible{outline:3px solid #cd8134;outline-offset:2px}

/* Match the existing preview-video booking CTA, only inside the dropdown. */
#mobile-nav a.menu-book-stay{background:#153e56;color:#fff;border:0;border-radius:4px;margin-top:8px;text-align:center;box-shadow:0 3px 12px #173e5014}
#mobile-nav a.menu-book-stay:hover{background:#0d3045;color:#fff}

/* Guest pages with their own base stylesheet need the complete shared choice styling. */
body.has-shared-choices .section-nav{border-block:1px solid #d8e3e7;color:#253f4e;font:600 12px/1.65 'DM Sans',Arial,sans-serif}
body.has-shared-choices .section-nav>a{color:inherit;text-decoration:none;background:none;min-height:44px;padding:4px 0}
body.has-shared-choices .section-nav>a.is-current{background:#153e56;color:#fff}
body.has-shared-choices .section-nav>a:focus-visible{outline:3px solid #cd8134;outline-offset:2px}
@media(max-width:600px){body.has-shared-choices .section-nav{font-size:10px}}

/* Preserve the play marker when the shared choice row is generated on destination pages. */
body.has-shared-choices .section-nav>a{gap:.3em}
body.has-shared-choices .section-nav .nav-play{flex:none}
