/* Detail pages reuse the shared scenes, native media viewer and contact dialog. */
.yacht-detail .yacht-masthead h1{font-size:clamp(48px,7vw,100px);line-height:1.05;overflow-wrap:anywhere;margin-top:26px}.yacht-back{margin-bottom:48px}.yacht-masthead .eyebrow{margin-top:38px}.yacht-cover{margin:44px 0 0;overflow:hidden;border-radius:var(--scene-photo-radius)}.yacht-cover img{width:100%;aspect-ratio:1.95;object-fit:cover}.yacht-quick{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:28px}.yacht-quick ul{display:flex;flex-wrap:wrap;gap:12px 30px;list-style:none;padding:0;font-size:13px}.yacht-quick>a{white-space:nowrap;font-size:13px}.yacht-story{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:100px;align-items:start}.yacht-story .page-copy p{font-size:16px;line-height:1.9;white-space:pre-line}.yacht-facts{position:sticky;top:130px;min-width:0}.yacht-facts .page-photo{margin-bottom:30px}.yacht-facts img{aspect-ratio:1.3;object-fit:cover}.yacht-facts h3{font-size:28px;margin:20px 0}.yacht-facts .eyebrow{font-size:11px}.yacht-price{font-size:21px;line-height:1.6;margin-bottom:18px}.yacht-facts .source-note{font-size:12px;line-height:1.8;margin-bottom:26px}.yacht-features{display:grid;grid-template-columns:1fr 1fr;gap:0 60px;list-style:none;padding:0;margin-top:48px}.yacht-features li{display:flex;gap:24px;border-top:1px solid var(--line);padding:28px 0}.yacht-features span{color:var(--gold);font-size:11px;padding-top:5px}.yacht-features p{font-size:16px;line-height:1.8;white-space:pre-line}.yacht-gallery-heading{display:flex;justify-content:space-between;gap:60px;align-items:end;margin-bottom:44px}.yacht-gallery-heading>p{max-width:370px;font-size:14px;line-height:1.8}.yacht-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.yacht-gallery .album-photo{aspect-ratio:1.4;cursor:zoom-in}.yacht-gallery .album-photo img{transition:transform .35s}.yacht-gallery .album-photo:hover img{transform:scale(1.035)}#yacht-gallery{scroll-margin-top:140px}.yacht-ending{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.yacht-ending h2{overflow-wrap:anywhere}.yacht-ending .source-note{margin:24px 0}.yacht-ending>div>p:not(.source-note){margin-top:24px}.yacht-detail .page-related{padding-top:80px}
@media(max-width:1000px){.yacht-story{gap:50px}.yacht-quick{align-items:start;flex-direction:column;gap:18px}.yacht-features{gap:0 36px}}
@media(max-width:760px){.yacht-detail .yacht-masthead h1{font-size:48px}.yacht-back{margin-bottom:20px}.yacht-cover{margin-top:30px}.yacht-cover img{aspect-ratio:1.3}.yacht-story,.yacht-ending{grid-template-columns:1fr;gap:40px}.yacht-facts{position:static}.yacht-quick ul{gap:12px 22px}.yacht-quick>a{white-space:normal}.yacht-features{grid-template-columns:1fr;margin-top:30px}.yacht-features li{padding:24px 0}.yacht-gallery-heading{display:block}.yacht-gallery-heading>p{margin-top:24px}.yacht-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.yacht-gallery .album-photo{aspect-ratio:1.1}.yacht-facts .button,.yacht-ending .button{width:100%}.yacht-story h2,.yacht-detail .page-scene h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){.yacht-gallery .album-photo img{transition:none}}

/* Compact the shared detail rhythm without changing source facts or galleries. */
.yacht-detail .page-main{--scene-transition:160px}
.yacht-detail .page-scene{padding:80px 40px}
.yacht-detail .page-masthead{padding-bottom:80px}
.yacht-detail .page-related{padding-top:24px;padding-bottom:48px}
@media(max-width:760px){.yacht-detail .page-main{--scene-transition:112px}.yacht-detail .page-scene{padding:56px 24px}.yacht-detail .page-masthead{padding-bottom:56px}.yacht-detail .page-related{padding-top:16px;padding-bottom:32px}}

.yacht-gallery-heading>p{max-width:470px}

/* Match the accepted invitation card and keep browsing within the fleet. */
.yacht-detail .yacht-ending-section{padding-bottom:48px}
.yacht-ending .contact-preview{min-width:0}
.yacht-ending .contact-preview h3{font-size:28px}
.yacht-ending .contact-preview .button{margin-top:28px}
.yacht-detail .yacht-related nav{border-top:1px solid var(--line);padding-top:36px}
.yacht-detail .yacht-related .yacht-related-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.yacht-related-heading h2{margin:0}
.yacht-related-heading>a{flex-shrink:0}
.yacht-detail .yacht-related .yacht-related-links{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 24px}
.yacht-related-links a{overflow-wrap:anywhere}
@media(max-width:1000px){.yacht-detail .yacht-related .yacht-related-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.yacht-detail .yacht-ending-section{padding-bottom:32px}.yacht-detail .yacht-related .yacht-related-heading{align-items:start;flex-direction:column;gap:8px}.yacht-detail .yacht-related .yacht-related-links{grid-template-columns:repeat(2,minmax(0,1fr))}.yacht-ending .contact-preview h3{font-size:25px}}
