/* Boat profiles share the approved identity, photos and site navigation. */
.boat-profile-page .topbar{background:rgba(14,48,54,.92)}
.boat-profile-page main{padding-top:90px}
.profile-hero,.profile-section{width:min(1120px,88%);margin-inline:auto}
.profile-hero{width:min(1240px,92%);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:5%;row-gap:0;grid-template-rows:min-content 1fr;align-items:start;padding:30px 0 48px}
.profile-hero-heading{grid-column:1;grid-row:1;min-width:0;padding-top:18px}.profile-hero-copy{grid-column:1;grid-row:2;min-width:0;padding:0}
.profile-back{display:inline-block;font-size:13px;color:#40666a;padding:8px 0;margin-bottom:20px}
.profile-kicker{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#426b72;margin:0 0 14px}
.profile-hero h1{font:500 clamp(38px,4.3vw,60px)/1.08 var(--serif);letter-spacing:-.035em;margin:0 0 25px;text-wrap:balance}
.profile-intro{font-size:16px;line-height:1.7;color:#486267;margin:0 0 26px}
.profile-hero-photo{grid-column:2;grid-row:1/3;align-self:stretch;margin:0;width:100%;min-width:0;min-height:640px;height:100%;max-height:780px}
.profile-hero-photo img{display:block;width:100%;height:100%;min-height:640px;max-height:780px;object-fit:cover;object-position:center 75%;border-radius:14px}
.profile-landscape .profile-hero-photo{align-self:center;min-height:0;height:auto;max-height:none}.profile-landscape .profile-hero-photo img{min-height:0;max-height:none;height:auto;object-fit:contain}
.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid rgba(18,59,64,.18);padding:18px 0;gap:12px}
.profile-stats>div{display:grid;grid-template-columns:24px 1fr;gap:3px 9px;align-items:center}
.profile-stats img{width:24px;height:24px}
.profile-stats strong{font-size:25px;font-weight:500}
.profile-stats span{grid-column:1/-1;font-size:12px;color:#4f696e}
.profile-capacity-note{font-size:11px;line-height:1.6;color:#5a7376;margin:9px 0 24px}
.profile-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid rgba(38,99,110,.4);border-radius:7px;background:rgba(118,196,210,.2);font-size:14px;font-weight:600;color:#123b40;transition:background .15s}
.profile-button:hover{background:rgba(118,196,210,.36)}
.profile-crew{font-size:12px;color:#4c6b6d;margin:14px 0 0}
.profile-section{padding-block:60px;border-top:1px solid rgba(18,59,64,.14)}
.profile-section-heading h2,.profile-others h2{font:500 clamp(29px,3.2vw,42px)/1.12 var(--serif);letter-spacing:-.025em;margin:0 0 15px;text-wrap:balance}
.profile-section-heading>p:not(.profile-kicker){font-size:16px;line-height:1.7;color:#526e70;max-width:640px;margin:0}
.profile-details{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px 7%}
.profile-info-row{display:grid;grid-template-columns:32px 1fr;gap:16px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid rgba(18,59,64,.14)}
.profile-info-row:last-child{margin-bottom:0}
.profile-info-row>img{width:30px;height:30px}
.profile-info-row h3{font-size:18px;font-weight:500;margin:0 0 8px}
.profile-info-row p,.profile-stay p{font-size:15px;line-height:1.75;margin:0;color:#526e70}
.profile-stay{grid-column:1/-1;display:grid;grid-template-columns:1.1fr .9fr;gap:7%;padding:30px;border-radius:12px;background:#eaf0ed}
.profile-stay h3{font-size:21px;font-weight:500;line-height:1.35;margin:0 0 12px}
.profile-stay>div>img{float:left;margin:0 10px 8px 0}
.profile-stay strong{display:block;clear:both;font-size:14px;font-weight:600;margin-bottom:8px}
.profile-text-link{display:inline-flex;gap:18px;align-items:center;min-height:44px;font-size:14px;font-weight:500;color:#245561;border-bottom:1px solid rgba(38,99,110,.32);margin-top:12px}
.profile-gallery{margin-top:28px;min-width:0;outline-offset:5px}
.profile-carousel-stage{position:relative;min-width:0}
.profile-gallery-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory}
.profile-gallery figure{margin:0;min-width:0;flex:0 0 86%;scroll-snap-align:start}
.profile-photo{position:relative;display:block;height:420px;border-radius:10px;overflow:hidden;background:transparent}
.profile-photo img{display:block;width:100%;height:100%;object-fit:contain}
.profile-photo>span{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;color:white;background:rgba(14,48,54,.65);border-radius:50%;font-size:23px}
.profile-gallery.is-enhanced .profile-carousel-stage{height:min(460px,calc(100svh - 240px));min-height:0;touch-action:pan-y}
.profile-gallery.is-enhanced .profile-gallery-track{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;grid-template-columns:var(--profile-columns);gap:8px;overflow:visible;width:var(--profile-width);height:var(--profile-height);max-width:calc(100% - 104px)}
.profile-gallery.is-enhanced figure[hidden]{display:none}
.profile-gallery.is-enhanced .profile-photo{height:100%;width:100%}
.profile-gallery-thumbs:not([hidden]){display:flex;justify-content:flex-start;gap:9px;width:max-content;max-width:100%;margin:18px auto 0;overflow-x:auto;padding:2px 2px 7px;scrollbar-width:thin;scrollbar-color:#76c4d2 #e4ebe7;overscroll-behavior-x:contain}
.profile-gallery-thumb{flex:0 0 62px;width:62px;height:64px;padding:0 0 5px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;cursor:pointer}
.profile-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;opacity:.65;border-radius:4px}
.profile-gallery-thumb[aria-pressed=true]{border-bottom-color:#287584}
.profile-gallery-thumb[aria-pressed=true] img,.profile-gallery-thumb:hover img{opacity:1}
.profile-gallery-dots{display:none}
.profile-gallery-arrow:not([hidden]){display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;padding:0;border:1px solid rgba(38,99,110,.35);border-radius:50%;background:var(--cream);color:#245561;font-size:31px;line-height:1;cursor:pointer}
.profile-gallery-arrow[data-gallery-step="-1"]{left:0}.profile-gallery-arrow[data-gallery-step="1"]{right:0}
.profile-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.profile-trips .profile-section-heading{max-width:690px}
.profile-routes{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;margin:27px 0}
.profile-route{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;font-size:17px;line-height:1.5;border-bottom:1px solid rgba(18,59,64,.2);padding:16px 0}
.profile-route:hover,.profile-text-link:hover{color:#237589}
.profile-others{display:flex;justify-content:space-between;gap:32px;align-items:center}
.profile-others h2{font-size:29px;margin:0}
.profile-others nav{display:flex;gap:32px;flex-wrap:wrap}
.profile-others .profile-text-link{margin:0}
.profile-footer{background:#0e3036;padding:25px 6vw 35px}
.profile-footer .footer{margin:0 auto;padding-top:0;border:0}
.profile-lightbox{padding:44px 60px 20px;border:0;border-radius:12px;width:min(1100px,96vw);max-width:96vw;max-height:95vh;overflow:auto;color:white;background:#0e3036}
.profile-lightbox::backdrop{background:rgba(4,20,24,.88)}
.profile-lightbox figure{margin:0;text-align:center}
.profile-lightbox img{display:block;margin:auto;max-width:100%;max-height:calc(90vh - 100px);object-fit:contain}
.profile-lightbox figcaption{font-size:13px;line-height:1.6;padding-top:12px}
.profile-lightbox button{border:0;background:transparent;color:white;font-size:32px;width:44px;height:44px;cursor:pointer;position:absolute}
.profile-lightbox-close{top:2px;right:5px}.profile-lightbox-prev{top:calc(50% - 22px);left:5px}.profile-lightbox-next{top:calc(50% - 22px);right:5px}
.boat-profile-page :is(a,button):focus-visible{outline:3px solid #76c4d2;outline-offset:5px}
.profile-skip{position:fixed;top:-100px;left:20px;z-index:100;background:white;color:#123b40;padding:12px}
.profile-skip:focus{top:12px}
@media(min-width:651px) and (max-width:1023px){.profile-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:4%}.profile-hero h1{font-size:39px}.profile-intro{font-size:15px}.profile-hero-photo,.profile-hero-photo img{min-height:650px;max-height:900px}.profile-landscape .profile-hero-photo,.profile-landscape .profile-hero-photo img{min-height:0}.profile-details{gap:25px 5%}}
@media(max-width:650px){
 .boat-profile-page main{padding-top:68px}
 .profile-hero{width:100%;grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:12px 0 34px;gap:0}
 .profile-hero-heading{grid-column:1;grid-row:1;width:88%;margin:0 auto;padding:0}
 .profile-hero-photo{grid-column:1;grid-row:2;width:96%;margin:6px auto 25px;min-height:0;height:clamp(380px,64svh,540px);max-height:none}
 .profile-hero-photo img{min-height:0;max-height:none;height:100%;object-position:center 78%;border-radius:10px}
 .profile-landscape .profile-hero-photo{width:96%;height:auto;min-height:0}.profile-landscape .profile-hero-photo img{width:100%;height:auto;min-height:0}
 .profile-hero-copy{grid-column:1;grid-row:3;width:88%;margin:0 auto;padding:0}
 .profile-back{margin-bottom:12px;font-size:12px}
 .profile-hero .profile-kicker{margin-bottom:10px;font-size:10px}
 .profile-hero h1{font-size:clamp(32px,8.8vw,43px);margin:0 0 15px}
 .profile-intro{font-size:16px;line-height:1.75}
 .profile-stats{gap:8px}.profile-stats span{font-size:11px}
 .profile-section{width:88%;padding-block:34px}
 .profile-gallery-section{width:100%}.profile-gallery-section .profile-section-heading{width:88%;margin:auto}
 .profile-gallery{width:96%;margin:24px auto 0}
 .profile-gallery.is-enhanced .profile-carousel-stage{height:clamp(320px,61svh,500px);min-height:0}
 .profile-gallery.is-enhanced .profile-gallery-track{max-width:100%}
 .profile-gallery-arrow:not([hidden]){width:40px;height:44px;background:rgba(247,245,239,.92);border-color:rgba(38,99,110,.25);box-shadow:0 2px 10px rgba(14,48,54,.08)}
 .profile-gallery-arrow[data-gallery-step="-1"]{left:4px}.profile-gallery-arrow[data-gallery-step="1"]{right:4px}
 .profile-gallery-thumbs:not([hidden]){gap:8px;max-width:92%;margin-top:13px}.profile-gallery-thumb{flex-basis:56px;width:56px;height:59px}
 .profile-details{grid-template-columns:1fr;gap:30px}.profile-stay{grid-template-columns:1fr;gap:28px;padding:24px}
 .profile-routes{grid-template-columns:1fr;margin:20px 0}.profile-route{font-size:16px;min-height:64px}
 .profile-others{display:block}.profile-others h2{font-size:28px;margin-bottom:20px}.profile-others nav{gap:16px 26px}
 .profile-lightbox{padding:46px 40px 20px}.profile-lightbox button{width:36px}.profile-lightbox-prev{left:0}.profile-lightbox-next{right:0}.profile-footer .footer{gap:18px}
}
@media(max-height:500px) and (orientation:landscape){.profile-gallery.is-enhanced .profile-carousel-stage{height:65svh;min-height:180px}}
/* Match the approved experience carousel: full bleed, next-photo peek and dots. */
@media(max-width:1023px){
 .profile-gallery-section{width:100%}.profile-gallery-section .profile-section-heading{width:88%;margin-inline:auto}
 .profile-gallery{width:100%;margin:24px 0 0}
 .profile-gallery .profile-carousel-stage,.profile-gallery.is-enhanced .profile-carousel-stage{height:min(118.75vw,700px);min-height:0;touch-action:pan-x pan-y}
 .profile-gallery .profile-gallery-track,.profile-gallery.is-enhanced .profile-gallery-track{position:relative;top:auto;left:auto;transform:none;display:flex;gap:0;width:100%;max-width:none;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
 .profile-gallery-track::-webkit-scrollbar{display:none}
 .profile-gallery figure{flex:0 0 96%;width:96%;height:100%;scroll-snap-align:start;scroll-snap-stop:normal}
 .profile-gallery .profile-photo{width:100%;height:100%;border-radius:0}
 .profile-photo img{object-fit:cover;object-position:center 55%}
 .profile-photo>span,.profile-gallery-arrow:not([hidden]),.profile-gallery-thumbs:not([hidden]){display:none}
 .profile-gallery-dots:not([hidden]){display:flex;justify-content:center;align-items:center;gap:3px;max-width:calc(100% - 12px);margin:8px auto 0}
 .profile-gallery-dot{display:grid;place-items:center;flex:0 1 44px;min-width:0;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#2e5664;cursor:pointer}
 .profile-gallery-dot:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.28;transition:opacity .2s,transform .2s}
 .profile-gallery-dot[aria-current=true]:before{opacity:1;transform:scale(1.3)}
 .profile-gallery-dot:hover:before{opacity:.7}
}
@media(max-width:1023px) and (max-height:500px) and (orientation:landscape){.profile-gallery .profile-carousel-stage,.profile-gallery.is-enhanced .profile-carousel-stage{height:85svh}}
