/* WorldStar Yachting — main styles. Above-the-fold rules live in critical.css. */

/* ---------- mobile nav ---------- */
.wsy-burger{width:44px;height:44px;background:none;border:0;padding:0;cursor:pointer;color:inherit}
.wsy-burger__box,.wsy-burger__box::before,.wsy-burger__box::after{display:block;width:26px;height:1px;background:currentColor;transition:transform .25s ease,opacity .25s ease}
.wsy-burger__box{margin:0 auto;position:relative}
.wsy-burger__box::before,.wsy-burger__box::after{content:"";position:absolute;left:0}
.wsy-burger__box::before{top:-8px}
.wsy-burger__box::after{top:8px}
.wsy-header.is-nav-open .wsy-burger__box{background:transparent}
.wsy-header.is-nav-open .wsy-burger__box::before{transform:translateY(8px) rotate(45deg)}
.wsy-header.is-nav-open .wsy-burger__box::after{transform:translateY(-8px) rotate(-45deg)}

@media (max-width:940px){
	.wsy-burger{display:block;position:relative;z-index:40}
	.wsy-nav{position:fixed;inset:0;background:var(--wsy-navy-deep);display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;z-index:30}
	.wsy-nav.is-open{opacity:1;visibility:visible}
	.wsy-nav.is-open .wsy-menu{display:grid;gap:1.75rem;text-align:center;font-size:.9rem}
}

/* ---------- header: sticky + scrolled state ---------- */
/* solid + sticky needs no JS and causes no jump */
.wsy-header--solid.wsy-header--sticky{position:sticky;top:0}
/* overlay + sticky drops back in as a fixed bar once the hero is behind you */
.wsy-header--overlay.wsy-header--sticky.is-stuck{position:fixed;inset:0 0 auto;animation:wsy-drop .35s ease}
.wsy-header--sticky.is-stuck{background:rgba(6,22,37,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--wsy-line)}
.wsy-header--sticky.is-stuck .wsy-topbar{display:none}
.wsy-header--sticky.is-stuck .wsy-header__inner{padding-block:.7rem}
.wsy-header--sticky.is-stuck .wsy-logo__img{height:calc(var(--wsy-logo-h) * .72)}
@keyframes wsy-drop{from{transform:translateY(-100%)}to{transform:translateY(0)}}
.wsy-logo__img{transition:height .25s ease}

.wsy-header__cta{border:1px solid var(--wsy-gold);color:var(--wsy-cream);text-decoration:none;padding:.6rem 1.4rem;font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;white-space:nowrap}
.wsy-header__cta:hover{background:var(--wsy-gold);color:var(--wsy-navy-deep)}

@media (max-width:1080px){
	.wsy-menu{gap:1.5rem;font-size:.68rem}
}
@media (max-width:940px){
	.wsy-header__cta{display:none}
	.wsy-header__inner,.wsy-header--logo-center .wsy-header__inner{grid-template-columns:1fr auto;grid-template-areas:"logo actions"}
	.wsy-header--logo-center .wsy-logo{justify-self:start}
	.wsy-nav{grid-area:unset}
}

/* ---------- hero controls ---------- */
.wsy-hero__mute{position:absolute;right:1.5rem;bottom:1.5rem;width:42px;height:42px;border:1px solid var(--wsy-line);background:rgba(6,22,37,.4);color:var(--wsy-cream);cursor:pointer;z-index:5}
.wsy-hero__mute-icon{display:block;width:10px;height:12px;margin:0 auto;border-left:2px solid currentColor;border-right:2px solid currentColor}
.wsy-hero.is-paused .wsy-hero__mute-icon{width:0;height:0;border:6px solid transparent;border-left:10px solid currentColor}
@media (prefers-reduced-motion:reduce){
	.wsy-hero__video,.wsy-hero__yt{display:none}
}

/* ---------- booking bar ---------- */
.wsy-booking{background:var(--wsy-navy-deep);border-block:1px solid var(--wsy-line)}
.wsy-booking__inner{width:min(100% - 2.5rem,var(--wsy-wrap));margin-inline:auto;padding:1.5rem 0}
.wsy-booking__form{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:1rem;align-items:end}
.wsy-field{display:grid;gap:.4rem}
.wsy-field__label{font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--wsy-muted)}
.wsy-field input,.wsy-field select{background:transparent;border:1px solid var(--wsy-line);color:var(--wsy-cream);padding:.7rem .9rem;font:inherit;font-size:.85rem;width:100%;color-scheme:dark}
.wsy-booking .wsy-btn{margin-top:0}
@media (max-width:860px){.wsy-booking__form{grid-template-columns:1fr}}

/* ---------- sections ---------- */
.wsy-section{padding:6rem 0}
.wsy-wrap--narrow{max-width:720px}
.wsy-section__head{text-align:center;margin-bottom:3.5rem}
.wsy-section__title{font-family:var(--wsy-serif);font-weight:300;font-size:clamp(2rem,4.5vw,3.2rem);text-transform:uppercase;letter-spacing:.04em;margin:0}
.wsy-section__text{color:var(--wsy-muted);margin:1rem 0 0;font-size:.95rem}
.wsy-grid{display:grid;gap:1.5rem}
.wsy-grid--2{grid-template-columns:repeat(2,1fr)}
.wsy-grid--3{grid-template-columns:repeat(3,1fr)}
@media (max-width:860px){.wsy-grid--2,.wsy-grid--3{grid-template-columns:1fr}}

/* ---------- yacht cards ---------- */
.wsy-card{border:1px solid var(--wsy-line)}
.wsy-card__link{display:block;text-decoration:none}
.wsy-card__media{overflow:hidden;aspect-ratio:3/2}
.wsy-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.wsy-card:hover .wsy-card__media img{transform:scale(1.05)}
.wsy-card__body{padding:1.5rem;text-align:center}
.wsy-card__price{margin:0;color:var(--wsy-muted);font-size:.8rem}
.wsy-card__title{font-family:var(--wsy-serif);font-weight:300;font-size:1.5rem;text-transform:uppercase;letter-spacing:.08em;margin:.4rem 0 0}

/* ---------- stats ---------- */
.wsy-stats{padding:4rem 0 6rem}
.wsy-stats__row{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.wsy-stat__num{font-family:var(--wsy-serif);font-size:clamp(2.5rem,5vw,3.8rem);color:var(--wsy-gold);opacity:.75;margin:0;line-height:1}
.wsy-stat__label{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--wsy-muted);margin:.6rem 0 0}
@media (max-width:700px){.wsy-stats__row{grid-template-columns:repeat(2,1fr)}}

/* ---------- banner ---------- */
.wsy-banner{position:relative;min-height:60vh;display:grid;place-items:center;text-align:center;overflow:hidden}
.wsy-banner__media{position:absolute;inset:0}
.wsy-banner__media img{width:100%;height:100%;object-fit:cover}
.wsy-banner__inner{position:relative;padding:4rem 1.5rem}
.wsy-banner__title{font-family:var(--wsy-serif);font-weight:300;font-size:clamp(2rem,5.5vw,4rem);text-transform:uppercase;letter-spacing:.06em;margin:0 0 1.5rem}

/* ---------- pricing ---------- */
.wsy-plan{border:1px solid var(--wsy-line);padding:3rem 2rem;text-align:center}
.wsy-plan.is-highlight{border-color:var(--wsy-gold);background:rgba(194,161,123,.05)}
.wsy-plan__name{font-size:.72rem;letter-spacing:.26em;text-transform:uppercase;margin:0 0 1.5rem;font-weight:400}
.wsy-plan__price{font-family:var(--wsy-serif);font-size:3rem;line-height:1;margin:0}
.wsy-plan__cur{font-size:1.2rem;vertical-align:super}
.wsy-plan__period{display:block;font-family:var(--wsy-sans);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--wsy-muted);margin-top:.6rem}
.wsy-plan__list{list-style:none;padding:0;margin:2rem 0;color:var(--wsy-muted);font-size:.88rem;display:grid;gap:.85rem}
.wsy-plan__cta{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;text-decoration:none;color:var(--wsy-gold)}

/* ---------- footer ---------- */
.wsy-footer{background:var(--wsy-navy-deep);padding:5rem 0 2rem;border-top:1px solid var(--wsy-line)}
.wsy-footer__grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:2.5rem}
.wsy-footer__about{color:var(--wsy-muted);font-size:.85rem;max-width:34ch}
.wsy-footer .widget-title,.wsy-footer h2{font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;font-weight:400;margin:0 0 1.2rem}
.wsy-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.6rem;font-size:.85rem;color:var(--wsy-muted)}
.wsy-footer a{text-decoration:none}
.wsy-footer__bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:4rem;padding-top:1.5rem;border-top:1px solid var(--wsy-line);font-size:.75rem;color:var(--wsy-muted)}
@media (max-width:860px){.wsy-footer__grid{grid-template-columns:1fr 1fr}}

/* ---------- misc ---------- */
body.wsy-locked{overflow:hidden}
.wsy-prose{margin-inline:auto}
.wsy-prose h2,.wsy-prose h3{font-family:var(--wsy-serif);font-weight:400;letter-spacing:.03em}
.wsy-prose a{color:var(--wsy-gold)}
.wsy-specs{display:grid;grid-template-columns:repeat(6,1fr);gap:1.5rem;text-align:center;padding-bottom:4rem;border-bottom:1px solid var(--wsy-line);margin-bottom:4rem}
.wsy-specs .wsy-stat__num{font-size:2rem}
@media (max-width:860px){.wsy-specs{grid-template-columns:repeat(3,1fr)}}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- destinations map ---------- */
.wsy-destinations{position:relative;overflow:hidden}
.wsy-destinations__head{position:relative;max-width:520px;margin-bottom:2rem}
.wsy-ghost{position:absolute;left:-.06em;top:-.55em;font-family:var(--wsy-serif);font-size:clamp(4rem,11vw,8rem);line-height:1;text-transform:uppercase;color:var(--wsy-cream);opacity:.05;pointer-events:none;white-space:nowrap}
.wsy-section__title--left{text-align:left}
.wsy-map__canvas{position:relative;margin-top:2rem}
.wsy-map__img{width:100%;height:auto;opacity:.5}
.wsy-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);text-decoration:none;display:grid;justify-items:center;gap:.4rem}
.wsy-pin__dot{width:7px;height:7px;border-radius:50%;background:var(--wsy-gold);box-shadow:0 0 0 6px rgba(194,161,123,.18)}
.wsy-pin__label{font-size:.6rem;letter-spacing:.24em;text-transform:uppercase;color:var(--wsy-muted);white-space:nowrap}
.wsy-pin:hover .wsy-pin__label{color:var(--wsy-cream)}
.wsy-pin.has-bubble .wsy-pin__bubble{position:absolute;bottom:calc(100% + .75rem);width:clamp(88px,11vw,150px);aspect-ratio:1;border-radius:50%;overflow:hidden;border:1px solid var(--wsy-line)}
.wsy-pin--left .wsy-pin__bubble{right:50%;margin-right:.5rem}
.wsy-pin--right .wsy-pin__bubble{left:50%;margin-left:.5rem}
.wsy-pin__bubble img{width:100%;height:100%;object-fit:cover}
.wsy-map__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:2.5rem;list-style:none;margin:3rem 0 0;padding:2rem 0 0;border-top:1px solid var(--wsy-line);font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--wsy-muted)}
.wsy-map__legend a{text-decoration:none}
@media (max-width:780px){
	.wsy-map__canvas{display:none}
	.wsy-map__legend{justify-content:flex-start;gap:1.25rem 2rem;border-top:0;margin-top:1.5rem}
}

/* ---------- gallery ---------- */
.wsy-gallery{margin-top:4rem}
.wsy-gallery__title{font-family:var(--wsy-serif);font-weight:300;font-size:1.6rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 1.75rem}
.wsy-gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.wsy-gallery__item{padding:0;border:0;background:none;cursor:zoom-in;overflow:hidden;aspect-ratio:3/2;display:block}
.wsy-gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease,opacity .3s ease}
.wsy-gallery__item:hover img{transform:scale(1.05);opacity:.85}
.wsy-gallery__item:focus-visible{outline:2px solid var(--wsy-gold);outline-offset:3px}
@media (max-width:860px){.wsy-gallery__grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- lightbox ---------- */
.wsy-lb{position:fixed;inset:0;z-index:200;display:none;place-items:center;background:rgba(4,14,24,.94);padding:clamp(1rem,4vw,3rem)}
.wsy-lb.is-open{display:grid}
.wsy-lb__img{max-width:100%;max-height:82vh;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.wsy-lb__cap{margin:1rem 0 0;text-align:center;font-size:.8rem;color:var(--wsy-muted);min-height:1.2em}
.wsy-lb__btn{position:absolute;background:none;border:1px solid var(--wsy-line);color:var(--wsy-cream);width:48px;height:48px;cursor:pointer;font-size:1.2rem;line-height:1;display:grid;place-items:center}
.wsy-lb__btn:hover{border-color:var(--wsy-gold);color:var(--wsy-gold)}
.wsy-lb__close{top:1.25rem;right:1.25rem}
.wsy-lb__prev{left:1.25rem;top:50%;transform:translateY(-50%)}
.wsy-lb__next{right:1.25rem;top:50%;transform:translateY(-50%)}
.wsy-lb__count{position:absolute;bottom:1.25rem;left:50%;transform:translateX(-50%);font-size:.65rem;letter-spacing:.24em;color:var(--wsy-muted)}
@media (max-width:700px){.wsy-lb__prev{left:.5rem}.wsy-lb__next{right:.5rem}}
.wsy-stat--text .wsy-stat__num{font-family:var(--wsy-sans);font-size:.9rem;line-height:1.4;letter-spacing:.02em;color:var(--wsy-cream);padding-top:.5rem}
