/* Based on HyperUI Marketing Buttons: CTA with icon bubble and Icon only. */
:root {
  --cta-yellow: #ffd12e;
  --cta-hover: #f4c124;
  --action-size: 50px;
  --action-disc: 32px;
  --control-size: 44px;
  --action-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5M6 5h13v13'/%3E%3C/svg%3E");
  --action-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6l6 6-6 6M20 12H4'/%3E%3C/svg%3E");
}
.primary.action, .show-fleet.action, .top .nav-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: var(--action-size);
  padding: 6px 8px 6px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cta-yellow);
  color: var(--ink);
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  box-shadow: none;
  transition: background-color .16s ease, box-shadow .16s ease;
}
.action .action-icon {
  position: relative; display: grid; place-items: center; flex: none;
  width: var(--action-disc); height: var(--action-disc);
  margin: 0; border-radius: 50%; background: var(--ink); color: var(--cta-yellow);
  font-size: 0; line-height: 1;
}
.action-icon::after, .top .nav-enquire::after,
.related-controls button::after, .boat-arrow::after {
  content: ""; display: block; flex: none;
  width: 18px; height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--action-arrow) center / contain no-repeat;
  mask: var(--action-arrow) center / contain no-repeat;
}
.action-icon::after { position: absolute; inset: 0; margin: auto; }
.action[target="_blank"] .action-icon::after {
  -webkit-mask-image: var(--action-out); mask-image: var(--action-out);
}
.top .nav-enquire::after { transition: transform .16s ease; transform: rotate(-45deg); }
.top .nav-enquire {
  min-height: var(--control-size); gap: 8px; padding: 8px 15px;
  font-size: 15px;
}
.top .nav-enquire::after { width: 16px; height: 16px; }
.show-fleet.action {
  display: flex; justify-content: center; gap: 11px; width: min(100%,13em);
  padding: 8px 20px;
}
.show-fleet::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(currentColor,currentColor) center / 12px 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 12px no-repeat;
}
.show-fleet[aria-expanded="true"]::after { background-size: 12px 2px, 0 0; }
.featured-caption .primary.action {
  padding-inline: 20px;
}
.primary.fleet-action { padding-inline: 20px; }
.featured-caption .action .action-icon, .fleet-action .action-icon {
  width: 18px; height: 18px; background: transparent; color: inherit;
}
@media (hover:hover) {
  .action:hover, .primary.action:hover, .top .nav-enquire:hover {
    background: var(--cta-hover); color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink); text-decoration: none;
  }
  .top .nav-enquire:hover::after {
    transform: translate(1px,-1px) rotate(-45deg);
  }
}
.action:active, .primary.action:active, .featured-caption .primary.action:active, .top .nav-enquire:active {
  background: #eeb71c; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
}
.featured-caption, .top, .enquiry-strip { --action-focus: #fff; }
.action:focus-visible, .primary.action:focus-visible, .top .nav-enquire:focus-visible,
.related-controls button:focus-visible {
  outline: 2px solid var(--action-focus,var(--ink)); outline-offset: 3px; box-shadow: none;
}
.boat-gallery button:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px #fff;
}
@media (max-width:500px) {
  .top .nav-enquire { padding-inline: 12px; gap: 6px; font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  .primary.action, .show-fleet.action, .action .action-icon::after, .top .nav-enquire, .top .nav-enquire::after { transition: none; }
}
.site-footer .footer-wa {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  width:fit-content; min-height:var(--control-size); padding:7px 16px;
  margin-top:10px; border-radius:999px; background:#25d366; color:var(--ink);
  font-weight:600; text-decoration:none;
}
.footer-wa span {
  width:16px; height:16px; font-size:0; background:currentColor;
  -webkit-mask:var(--action-out) center / contain no-repeat;
  mask:var(--action-out) center / contain no-repeat;
}
.site-footer .footer-wa:hover { background:#55df88; color:var(--ink); text-decoration:none; }
.site-footer .footer-wa:active { background:#20ba5a; }
.site-footer .footer-wa:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.fleet-listing h1 { margin-bottom: 12px; }
.fleet-listing .fleet-subhead { margin: 0 0 clamp(23px,2.5vw,38px); color: var(--soft); font-size: clamp(16px,1.3vw,20px); line-height: 1.45; }
.fleet-listing .fleet-faq { padding: clamp(36px,4.8vw,76px) 0 0; margin-top: clamp(42px,5vw,82px); }
/* Use the deck as the focal point while the surrounding water dissolves into the copy. */
.editorial.occasions {
  /* Match the quiet open water in the photograph (RGB 23, 35, 44). */
  --sea: #17232c;
  --line: rgb(239 244 244 / 18%);
  background-color: var(--sea);
  color: #f3f5f4;
  --photo-width: 79%;
  --frame-width: clamp(1716px,198vw,3575px);
  --deck-axis: 24vw;
  position: relative; isolation: isolate; display: grid; grid-template-columns: 54% minmax(0,1fr);
  gap: 0; max-width: none; margin: 0; padding: 0;
}
.occasions .occasion-picture {
  position: absolute; inset: 0 auto 0 0; width: var(--photo-width); z-index: -1; overflow: hidden;
}
.occasion-picture figure, .occasion-picture picture {
  display: block; position: relative; width: 100%; height: 100%; max-width: none; margin: 0;
}
.occasion-picture img {
  display: block; position: absolute; left: var(--deck-axis); top: 0; transform: translateX(-40.2%);
  width: var(--frame-width); max-width: none; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: 50% 54%;
}
/* Feather only the water texture. The solid colour beneath it comes from the same water. */
.occasion-picture picture {
  mask-image: linear-gradient(to right, #000 42%, rgb(0 0 0 / .98) 48%,
    rgb(0 0 0 / .86) 58%, rgb(0 0 0 / .64) 68%, rgb(0 0 0 / .36) 78%,
    rgb(0 0 0 / .14) 87%, rgb(0 0 0 / .025) 95%, transparent 100%);
}
.occasions .occasion-copy li p { color: #c6d0d4; }
.occasions .occasion-copy a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.occasions .occasion-copy {
  display: block; grid-column: 2; padding: clamp(38px,3.8vw,70px) var(--edge) clamp(38px,3.8vw,70px) 0;
}
@media(min-width:1820px) {
  .occasions .occasion-copy { padding-right: max(var(--edge),calc((100vw - 1628px)/2)); }
}
@media(min-width:701px) and (max-width:980px) {
  .editorial.occasions { --photo-width: 76%; --deck-axis: 23.5vw; grid-template-columns: 54% minmax(0,1fr); }
}
@media(max-width:700px) {
  .editorial.occasions {
    --frame-width: min(236vw,1260px); --bow: calc(var(--frame-width) * .465); display: block;
  }
  .occasions .occasion-picture { width: 100%; }
  .occasion-picture img {
    left: 50%; height: auto; transform: translateX(-49%); object-fit: fill;
  }
  .occasion-picture picture {
    mask-image: linear-gradient(to bottom, #000 calc(var(--bow) - 14px),
      rgb(0 0 0 / .98) calc(var(--bow) + 24px), rgb(0 0 0 / .87) calc(var(--bow) + 84px),
      rgb(0 0 0 / .65) calc(var(--bow) + 158px), rgb(0 0 0 / .35) calc(var(--bow) + 235px),
      rgb(0 0 0 / .13) calc(var(--bow) + 309px), rgb(0 0 0 / .02) calc(var(--bow) + 369px),
      transparent calc(var(--bow) + 407px));
  }
  .occasions .occasion-copy { padding: calc(var(--bow) + 138px) var(--edge) 36px; }
  .occasion-copy ul { margin-top: 18px; }
}
.passport .boat-summary { max-width: 43ch; line-height:1.5; color:var(--soft); margin: 0 0 18px; }
.related-boats .detail-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:22px; }
.related-controls { display:flex; gap:7px; flex:none; }
.related-controls button {
  display: grid; place-items: center;
  width: var(--control-size); height: var(--control-size); padding: 0; flex: none;
  border: 1px solid #485058; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 0;
}
.related-controls button > span { display: none; }
.related-controls button:disabled { border-color: #d5d8d9; color: #8b9298; background: #f7f8f8; cursor: default; }
.related-controls button:not(:disabled):hover, .related-controls button:not(:disabled):active {
  background: var(--ink); color: #fff;
}
.related-controls [data-related-step="-1"]::after, .boat-arrow.is-prev::after { transform: rotate(180deg); }
.boat-arrow, .boat-close, .boat-expand {
  border: 1px solid rgb(255 255 255 / .65); background: rgb(23 35 44 / .90);
}
.boat-arrow:hover, .boat-close:hover { background: var(--ink); border-color: white; }
.boat-close span { font-size: 0; width: 16px; height: 16px; position: relative; }
.boat-close span::before, .boat-close span::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px;
  border-radius: 1px; background: currentColor; transform: rotate(45deg);
}
.boat-close span::after { transform: rotate(-45deg); }
.alternatives { --gap: clamp(18px,2vw,34px); display:flex; gap:var(--gap); overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; }
.alternatives::-webkit-scrollbar {display:none;}
.alternatives .alternative { flex:0 0 calc((100% - var(--gap)) / 2); min-width:0; scroll-snap-align:start; }
.alternatives .alternative:focus-visible { outline-offset:-3px; }
.fleet-action { margin-top:24px; }
.fleet-listing h1 { font-size:clamp(46px,5.5vw,84px); }
@media(max-width:710px) {
  .related-boats .detail-intro { align-items:flex-end; gap:10px; }
  .related-boats .detail-intro h2 { font-size:clamp(29px,7.8vw,38px); }
  .related-controls { gap:4px; }
  .alternatives { --gap:12px; }
  .alternatives .alternative { flex-basis:88%; }
  .alternatives .alternative:only-child { flex-basis:100%; }
  .fleet-action { margin-top:18px; }
}
.alternatives.is-ready { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; touch-action:pan-y pinch-zoom; }
.alternatives.is-ready img { user-select:none; -webkit-user-drag:none; }
@media(max-width:710px){ .alternatives.is-ready { grid-template-columns:minmax(0,1fr); } }
