/*
 * ALKYON Yachts: exact copy of video 22's design (SPEC-video-22-exact.md).
 * Desktop sizes are the video's pixels on a 1440-wide canvas: 1 design px = var(--u) = 100vw / 1440.
 */
:root {
  --u: calc(100vw / 1440);
  --ice: #eaf4f6;
  --white-82: rgb(255 255 255 / 0.82);
  --deep: #06131d;
  --deep-2: #0b1e2b;
  --line: rgb(255 255 255 / 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --sans: "Inter", ui-sans-serif, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { background: var(--deep); color: var(--ice); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
:where(a, button, input, select, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 1px solid var(--ice); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0.28em; }

/* ---------- top bar: fixed, transparent over the film ---------- */
.bar { position: fixed; z-index: 30; inset: 0 0 auto; height: calc(62 * var(--u)); transition: background 400ms ease, backdrop-filter 400ms ease; }
/* a soft shade behind the bar so the menu stays readable over bright pictures (owner, 13/11/2026) */
.bar::before { content: ""; position: absolute; inset: 0 0 calc(-40 * var(--u)); background: linear-gradient(180deg, rgb(4 14 22 / 0.62), rgb(4 14 22 / 0)); pointer-events: none; z-index: -1; transition: opacity 400ms; }
.bar.is-solid::before { opacity: 0; }
.bar.is-solid { background: rgb(6 19 29 / 0.72); backdrop-filter: blur(10px); }
.logo { position: absolute; left: calc(37 * var(--u)); top: 50%; transform: translateY(-50%); display: flex; align-items: baseline; gap: calc(10 * var(--u)); white-space: nowrap; }
.logo b { font-family: var(--sans); font-weight: 600; font-size: calc(14 * var(--u)); letter-spacing: 0.42em; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.45); }
.logo span { font-family: var(--sans); font-size: calc(8 * var(--u)); letter-spacing: 0.3em; color: rgb(255 255 255 / 0.8); }
.menu { position: absolute; left: calc(500 * var(--u)); top: 50%; transform: translateY(-50%); display: flex; gap: calc(22 * var(--u)); margin: 0; padding: 0; list-style: none; }
.menu a { font-size: calc(10.5 * var(--u)); font-weight: 500; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.55); transition: color 200ms, opacity 200ms; }
.menu a:hover { opacity: 0.75; }
.enquire { position: absolute; left: calc(1320 * var(--u)); top: calc(16 * var(--u)); width: calc(86 * var(--u)); height: calc(30 * var(--u)); border-radius: 99px; display: grid; place-items: center; border: 0; background: #fff; font-size: calc(9.5 * var(--u)); font-weight: 500; color: #06131d; box-shadow: 0 4px 18px rgb(0 0 0 / 0.25); transition: background 200ms, transform 150ms; }
.enquire:hover { background: #e8eef2; }
.enquire:active { transform: scale(0.97); }
.menu-btn { display: none; }

/* ---------- the scroll film ---------- */
.film { position: relative; height: 760vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--deep); }
.shot { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
/* the real footage, drawn frame by frame by scrollfilm.js; the stills above stay only until it is ready */
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 400ms; }
.film.has-footage .film-canvas { opacity: 1; }
.film.has-footage #shots { visibility: hidden; }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(4 16 26 / 0.45) 0%, rgb(4 16 26 / 0.12) 38%, rgb(4 16 26 / 0) 55%), linear-gradient(0deg, rgb(4 16 26 / 0.35), rgb(4 16 26 / 0) 30%); }
/* hero copy: a 1440 x 410 layer pinned to the bottom of the screen (canvas y 400 to 810) */
.hero { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(410 * var(--u)); will-change: opacity; }
.kicker { position: absolute; left: calc(68 * var(--u)); top: calc(13 * var(--u)); display: flex; gap: calc(30 * var(--u)); font-size: calc(8.5 * var(--u)); color: var(--white-82); margin: 0; white-space: nowrap; }
.title { position: absolute; left: calc(40 * var(--u)); top: calc(38 * var(--u)); margin: 0; font-family: var(--serif); font-weight: 400; font-size: calc(71 * var(--u)); line-height: calc(68 * var(--u)); letter-spacing: -0.005em; color: var(--ice); white-space: nowrap; }
.title em { font-style: italic; display: block; }
.body { position: absolute; left: calc(37 * var(--u)); top: calc(202 * var(--u)); width: calc(330 * var(--u)); margin: 0; font-size: calc(11 * var(--u)); line-height: calc(20 * var(--u)); color: var(--white-82); }
.pill { position: absolute; left: calc(37 * var(--u)); top: calc(288 * var(--u)); width: calc(166 * var(--u)); height: calc(34 * var(--u)); border-radius: 99px; display: grid; place-items: center; background: #f6f7f6; color: #1d2124; font-size: calc(8 * var(--u)); transition: background 200ms, transform 150ms var(--ease); }
.pill:hover { background: #fff; }
.pill:active { transform: scale(0.98); }
.textlink { position: absolute; left: calc(223 * var(--u)); top: calc(305 * var(--u)); transform: translateY(-50%); font-size: calc(8 * var(--u)); color: #fff; white-space: nowrap; }
.textlink:hover { opacity: 0.75; }
.scroll { position: absolute; left: calc(1333 * var(--u)); top: calc(381 * var(--u)); transform: translateY(-50%); display: flex; align-items: center; gap: calc(14 * var(--u)); font-size: calc(7 * var(--u)); color: var(--white-82); }
.scroll i { display: block; width: calc(25 * var(--u)); height: 1px; background: rgb(255 255 255 / 0.6); }

/* ---------- sections after the film, same design language ---------- */
.section { padding: calc(140 * var(--u)) calc(37 * var(--u)); border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1fr calc(420 * var(--u)); gap: calc(60 * var(--u)); align-items: end; margin-bottom: calc(64 * var(--u)); }
.label { display: block; font-size: calc(8.5 * var(--u)); color: var(--white-82); margin-bottom: calc(22 * var(--u)); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: calc(71 * var(--u)); line-height: calc(68 * var(--u)); color: var(--ice); }
.h2 em { font-style: italic; display: block; }
.text { margin: 0; font-size: calc(13 * var(--u)); line-height: calc(22 * var(--u)); color: var(--white-82); }
.outline { display: inline-grid; place-items: center; height: calc(34 * var(--u)); padding: 0 calc(22 * var(--u)); border-radius: 99px; border: 1px solid rgb(255 255 255 / 0.35); font-size: calc(8 * var(--u)); color: #fff; background: transparent; cursor: pointer; transition: background 200ms; }
.outline:hover { background: rgb(255 255 255 / 0.1); }
.btn-white { display: inline-grid; place-items: center; height: calc(34 * var(--u)); padding: 0 calc(26 * var(--u)); border-radius: 99px; border: 0; background: #f6f7f6; color: #1d2124; font-size: calc(8 * var(--u)); cursor: pointer; }

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)); list-style: none; margin: 0; padding: 0; }
.yacht .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(4 * var(--u)); margin-bottom: calc(22 * var(--u)); }
.yacht .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.yacht:hover .ph img { transform: scale(1.04); }
.yacht h3 { margin: 0 0 calc(6 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(40 * var(--u)); line-height: 1; }
.yacht .type { font-size: calc(8 * var(--u)); color: rgb(255 255 255 / 0.6); }
.yacht dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: calc(18 * var(--u)) 0; padding: calc(14 * var(--u)) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.yacht dt { font-size: calc(7.5 * var(--u)); color: rgb(255 255 255 / 0.55); }
.yacht dd { margin: calc(4 * var(--u)) 0 0; font-size: calc(13 * var(--u)); }
.yacht .rate { display: flex; justify-content: space-between; align-items: center; font-size: calc(13 * var(--u)); color: var(--white-82); }
.yacht .rate b { font-family: var(--serif); font-weight: 400; font-size: calc(26 * var(--u)); color: var(--ice); }

.places { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: calc(300 * var(--u)); gap: calc(12 * var(--u)); }
.place { position: relative; overflow: hidden; border-radius: calc(4 * var(--u)); }
.place:first-child { grid-row: span 2; }
.place:last-child { grid-column: span 2; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.place:hover img { transform: scale(1.04); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(4 16 26 / 0.9) 0%, rgb(4 16 26 / 0.5) 40%, rgb(4 16 26 / 0) 72%); }
.place .copy { position: absolute; z-index: 1; left: calc(26 * var(--u)); right: calc(26 * var(--u)); bottom: calc(24 * var(--u)); }
.place .copy .mono { display: block; font-size: calc(7.5 * var(--u)); color: rgb(255 255 255 / 0.7); margin-bottom: calc(10 * var(--u)); }
.place .h3 { display: block; margin: 0 0 calc(6 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(36 * var(--u)); line-height: 1; }
.place .p { display: block; margin: 0; font-size: calc(12 * var(--u)); color: var(--white-82); }

.plan { display: grid; grid-template-columns: 1.3fr 1fr; gap: calc(48 * var(--u)); align-items: start; }
.plan-form { display: grid; gap: calc(26 * var(--u)); }
.group > .mono { display: block; font-size: calc(8 * var(--u)); color: rgb(255 255 255 / 0.65); margin-bottom: calc(12 * var(--u)); }
.choices { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-grid; place-items: center; height: calc(34 * var(--u)); padding: 0 calc(18 * var(--u)); border-radius: 99px; border: 1px solid rgb(255 255 255 / 0.3); font-size: calc(12 * var(--u)); cursor: pointer; transition: background 200ms, color 200ms; }
.choice input:checked + span { background: #f6f7f6; color: #1d2124; border-color: #f6f7f6; }
.choice input:focus-visible + span { outline: 1px solid var(--ice); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: calc(14 * var(--u)); }
.field { display: grid; gap: calc(8 * var(--u)); }
.field > .mono { font-size: calc(7.5 * var(--u)); color: rgb(255 255 255 / 0.65); }
.field input { height: calc(44 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(4 * var(--u)); border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.04); font-size: calc(13 * var(--u)); color-scheme: dark; }
.field .error { font-size: calc(11 * var(--u)); color: #ffb4a3; }
.quote { position: sticky; top: calc(90 * var(--u)); padding: calc(30 * var(--u)); border-radius: calc(6 * var(--u)); border: 1px solid var(--line); background: rgb(255 255 255 / 0.04); backdrop-filter: blur(8px); }
.quote h3 { margin: 0 0 calc(4 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(36 * var(--u)); }
.quote .sub { margin: 0; font-size: calc(12 * var(--u)); color: rgb(255 255 255 / 0.65); }
.quote table { width: 100%; border-collapse: collapse; margin: calc(18 * var(--u)) 0; font-size: calc(13 * var(--u)); }
.quote td { padding: calc(10 * var(--u)) 0; border-bottom: 1px solid var(--line); }
.quote td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.quote .total td { border-bottom: 0; font-size: calc(18 * var(--u)); padding-top: calc(16 * var(--u)); }
.quote .note { font-size: calc(11 * var(--u)); color: rgb(255 255 255 / 0.55); margin: 0 0 calc(18 * var(--u)); }
.quote .btn-white { width: 100%; }
.done { margin-top: calc(14 * var(--u)); padding: calc(14 * var(--u)); border-radius: calc(4 * var(--u)); border: 1px solid var(--line); font-size: calc(12 * var(--u)); color: var(--white-82); }

.exp { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(32 * var(--u)); }
.exp .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(4 * var(--u)); margin-bottom: calc(20 * var(--u)); }
.exp .ph img { width: 100%; height: 100%; object-fit: cover; }
.exp h3, .exp .exp-h { display: block; margin: 0 0 calc(8 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(32 * var(--u)); }

.footer { padding: calc(60 * var(--u)) calc(37 * var(--u)) calc(40 * var(--u)); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: calc(32 * var(--u)); font-size: calc(12 * var(--u)); color: rgb(255 255 255 / 0.65); }
.footer .logo { position: static; transform: none; margin-bottom: calc(14 * var(--u)); }
.footer .mono { display: block; font-size: calc(7.5 * var(--u)); color: #fff; margin-bottom: calc(10 * var(--u)); }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: calc(18 * var(--u)); font-size: calc(11 * var(--u)); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 1100ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- phones: same parts, sized for a narrow screen ---------- */
@media (max-width: 1024px) {
  :root { --u: 1px; }
  .bar { height: 60px; }
  .logo { left: 20px; } .logo b { font-size: 15px; } .logo span { font-size: 8px; }
  .menu { display: none; }
  .bar.is-open .menu { display: grid; position: fixed; top: 60px; left: 0; right: 0; transform: none; gap: 0; padding: 12px 20px 24px; background: rgb(6 19 29 / 0.96); }
  .bar.is-open .menu a { display: block; padding: 14px 0; font-size: 12px; }
  .enquire { left: auto; right: 64px; top: 15px; width: 86px; }
  .menu-btn { display: grid; place-items: center; position: absolute; right: 12px; top: 8px; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; }
  .hero { height: 440px; }
  .kicker { left: 20px; top: 0; gap: 18px; font-size: 9px; }
  .title { left: 20px; top: 30px; font-size: 52px; line-height: 50px; white-space: normal; }
  .body { left: 20px; top: 150px; width: calc(100% - 40px); font-size: 14px; line-height: 22px; }
  .pill { left: 20px; top: 260px; width: 180px; height: 44px; font-size: 9px; }
  .textlink { left: 220px; top: 282px; font-size: 9px; }
  .scroll { display: none; }
  .shade { background: linear-gradient(0deg, rgb(4 16 26 / 0.85) 0%, rgb(4 16 26 / 0.35) 45%, rgb(4 16 26 / 0) 70%); }
  .section { padding: 80px 20px; }
  .head, .plan { grid-template-columns: 1fr; gap: 20px; }
  .label { font-size: 9px; }
  .h2 { font-size: 44px; line-height: 44px; }
  .text { font-size: 15px; line-height: 24px; }
  .fleet, .exp, .fields { grid-template-columns: 1fr; gap: 36px; }
  .fields { gap: 14px; }
  .yacht h3 { font-size: 34px; } .yacht .type, .yacht dt { font-size: 9px; } .yacht dd, .yacht .rate { font-size: 14px; }
  .places { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .place:first-child { grid-row: auto; } .place:last-child { grid-column: auto; }
  .place .h3 { font-size: 30px; } .place .p { font-size: 13px; } .place .copy .mono { font-size: 9px; }
  .choice span { height: 44px; font-size: 14px; padding: 0 16px; }
  .group > .mono, .field > .mono { font-size: 9px; }
  .field input { height: 48px; font-size: 16px; }
  .quote { position: static; } .quote h3 { font-size: 30px; } .quote table { font-size: 14px; } .quote .note, .quote .sub { font-size: 12px; }
  .btn-white, .outline { height: 44px; font-size: 9px; }
  .exp h3, .exp .exp-h { font-size: 28px; }
  .footer { grid-template-columns: 1fr; font-size: 13px; padding: 48px 20px 32px; }
  .footer .mono { font-size: 9px; } .footer .legal { font-size: 12px; }
  .done { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- clickable cards, 3D tilt and the picture gallery (added 13/11/2026) ---------- */
.yacht-link { display: block; color: inherit; perspective: 900px; }
.yacht-link.tilt { transform-style: preserve-3d; }
.yacht-link.tilt .ph { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.yacht-link.is-tilting .ph { transition: transform 80ms linear, box-shadow 300ms; box-shadow: 0 24px 50px rgb(0 0 0 / 0.45); }
.yacht .ph { position: relative; }
.yacht .ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 55%); }
.yacht-link.is-tilting .ph::after { opacity: 1; }
.ph-cta { position: absolute; left: calc(18 * var(--u)); bottom: calc(16 * var(--u)); z-index: 1; padding: calc(8 * var(--u)) calc(14 * var(--u)); border-radius: 99px; background: rgb(6 19 29 / 0.72); backdrop-filter: blur(6px); font-size: calc(8 * var(--u)); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity 300ms, transform 300ms var(--ease); }
.yacht-link:hover .ph-cta, .yacht-link:focus-visible .ph-cta { opacity: 1; transform: none; }
.yacht-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.place { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.place .more { display: block; margin-top: calc(12 * var(--u)); font-size: calc(7.5 * var(--u)); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 300ms, transform 300ms var(--ease); }
.place:hover .more, .place:focus-visible .more { opacity: 1; transform: none; }
.exp-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.exp-card .ph { position: relative; display: block; }
.exp-card .text { display: block; }
.exp-card .ph img { transition: transform 900ms var(--ease); }
.exp-card:hover .ph img { transform: scale(1.04); }
.exp-card .count { position: absolute; right: calc(12 * var(--u)); bottom: calc(12 * var(--u)); padding: calc(6 * var(--u)) calc(10 * var(--u)); border-radius: 99px; background: rgb(6 19 29 / 0.72); font-size: calc(7.5 * var(--u)); color: #fff; }

html.no-scroll { overflow: hidden; }
.gallery { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(3 10 16 / 0.96); color: var(--ice); }
.gallery::backdrop { background: rgb(3 10 16 / 0.7); }
.gallery[open] { display: grid; grid-template-rows: auto 1fr auto; }
.g-top { display: flex; align-items: center; gap: 24px; padding: 18px 28px; }
.g-title { font-size: 11px; } .g-count { font-size: 10px; color: rgb(255 255 255 / 0.6); margin-right: auto; }
.g-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.3); background: none; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.g-close:hover { background: rgb(255 255 255 / 0.1); }
.g-fig { margin: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; min-height: 0; padding: 0 90px; }
.g-fig img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; border-radius: 4px; opacity: 0; transform: scale(0.985); transition: opacity 350ms, transform 450ms var(--ease); align-self: center; }
.g-fig img.in { opacity: 1; transform: none; }
.g-fig figcaption { padding: 14px 0 0; font-family: var(--serif); font-size: 22px; }
.g-nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.3); background: rgb(6 19 29 / 0.6); color: #fff; font-size: 20px; cursor: pointer; }
.g-nav:hover { background: rgb(255 255 255 / 0.12); }
.g-prev { left: 22px; } .g-next { right: 22px; }
.g-act { display: flex; justify-content: center; padding: 16px 0 26px; min-height: 30px; }
.g-act .btn-white { height: 44px; font-size: 10px; padding: 0 28px; }
@media (max-width: 1024px) {
  .ph-cta, .place .more { opacity: 1; transform: none; font-size: 9px; }
  .g-fig { padding: 0 12px; } .g-nav { top: auto; bottom: 86px; width: 48px; height: 48px; } .g-prev { left: 12px; } .g-next { right: 12px; }
  .g-fig figcaption { font-size: 18px; text-align: center; }
}

/* ---------- smoother motion and livelier headings (14/11/2026) ---------- */
.wsplit .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(0.5em) rotate(2deg); transition: opacity 800ms var(--ease), filter 900ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--i) * 70ms); }
.wsplit.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.wsplit em { display: block; }
/* cards: the picture unveils from the bottom, then the words follow; one card after another */
.js .fleet .yacht.reveal, .js .places .place.reveal, .js .exp .exp-card.reveal { opacity: 1; transform: none; }
.js .fleet .yacht .ph, .js .exp-card .ph { clip-path: inset(100% 0 0 0 round calc(4 * var(--u))); transition: clip-path 1300ms var(--ease) var(--d, 0ms), transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.js .fleet .yacht.is-in .ph, .js .exp-card.is-in .ph { clip-path: inset(0 0 0 0 round calc(4 * var(--u))); }
.js .places .place { clip-path: inset(100% 0 0 0 round calc(4 * var(--u))); transition: clip-path 1300ms var(--ease) var(--d, 0ms); }
.js .places .place.is-in { clip-path: inset(0 0 0 0 round calc(4 * var(--u))); }
.js .fleet .yacht .type, .js .fleet .yacht h3, .js .fleet .yacht dl, .js .fleet .yacht .rate, .js .exp-card .exp-h, .js .exp-card .text, .js .places .place .copy { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 1000ms var(--ease); transition-delay: calc(var(--d, 0ms) + 450ms); }
.js .fleet .yacht.is-in .type, .js .fleet .yacht.is-in h3, .js .fleet .yacht.is-in dl, .js .fleet .yacht.is-in .rate, .js .exp-card.is-in .exp-h, .js .exp-card.is-in .text, .js .places .place.is-in .copy { opacity: 1; transform: none; }
.js .fleet .yacht.is-in h3 { transition-delay: calc(var(--d, 0ms) + 540ms); }
.js .fleet .yacht.is-in dl { transition-delay: calc(var(--d, 0ms) + 630ms); }
.js .fleet .yacht.is-in .rate { transition-delay: calc(var(--d, 0ms) + 720ms); }
/* pictures sit a little larger and drift with the scroll (depth) */
.fleet .ph img, .places .place img, .exp-card .ph img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transition: transform 900ms var(--ease); will-change: transform; }
.yacht:hover .ph img, .place:hover img, .exp-card:hover .ph img { transform: translate3d(0, var(--py, 0px), 0) scale(1.17); }
@media (prefers-reduced-motion: reduce) {
  .wsplit .w, .js .fleet .yacht .ph, .js .exp-card .ph, .js .places .place, .js .fleet .yacht *, .js .exp-card *, .js .places .place .copy { opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important; transition: none !important; }
}

/* fleet cards: on hover the yacht starts moving (14/11/2026) */
.ph-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); transition: opacity 450ms ease; pointer-events: none; }
.yacht-link.is-moving .ph-video { opacity: 1; }

/* ---------- drop-down menus (megamenu.js, owner 14/11/2026): a picture panel under the bar for each part of the site ---------- */
.menu { top: 0; height: 100%; transform: none; align-items: center; }
.mm-top { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.28em; font-size: calc(10.5 * var(--u)); font-weight: 500; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.55); transition: opacity 200ms; }
.mm-top:hover { opacity: 0.75; }
.mm-chev { transition: transform 300ms var(--ease); }
.mm-item.is-open .mm-chev { transform: rotate(180deg); }
.menu > li { height: 100%; display: flex; align-items: center; }
.mm-panel { text-transform: none; letter-spacing: normal; }
.bar.mm-on { background: rgb(6 19 29 / 0.92); backdrop-filter: blur(14px); }
.bar.mm-on::before { opacity: 0; }
.mm-panel { position: absolute; top: 100%; left: calc(-500 * var(--u)); width: 100vw; display: grid; grid-template-columns: calc(300 * var(--u)) 1fr; gap: calc(48 * var(--u)); padding: calc(30 * var(--u)) calc(37 * var(--u)) calc(36 * var(--u)); background: rgb(6 19 29 / 0.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 260ms ease, transform 420ms var(--ease), visibility 0s linear 420ms; }
.mm-item.is-open .mm-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 260ms ease, transform 420ms var(--ease); }
.mm-kick { margin: 0 0 calc(14 * var(--u)); font-size: calc(9 * var(--u)); color: var(--white-82); }
.mm-text { margin: 0 0 calc(22 * var(--u)); font-family: var(--serif); font-size: calc(27 * var(--u)); line-height: 1.15; color: #fff; text-wrap: balance; }
.mm-all { font-size: calc(9 * var(--u)); color: #fff; border-bottom: 1px solid rgb(255 255 255 / 0.4); padding-bottom: 4px; transition: border-color 200ms; }
.mm-all:hover { border-color: #fff; }
.mm-cards { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: calc(18 * var(--u)); margin: 0; padding: 0; list-style: none; perspective: 900px; }
.mm-card { opacity: 0; transform: translateY(14px); transition: opacity 400ms ease, transform 600ms var(--ease); }
.mm-item.is-open .mm-card { opacity: 1; transform: none; }
.mm-item.is-open .mm-card:nth-child(2) { transition-delay: 60ms; }
.mm-item.is-open .mm-card:nth-child(3) { transition-delay: 120ms; }
.mm-item.is-open .mm-card:nth-child(4) { transition-delay: 180ms; }
.mm-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(4 * var(--u)); transform-style: preserve-3d; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
.mm-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), filter 500ms; filter: brightness(0.82); }
.mm-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(4 14 22 / 0.85), rgb(4 14 22 / 0) 60%); }
.mm-pic:hover { transform: translateY(-4px) rotateX(4deg); box-shadow: 0 18px 36px rgb(0 0 0 / 0.4); }
.mm-pic:hover img { transform: scale(1.07); filter: brightness(1); }
.mm-name { text-transform: none; letter-spacing: 0.01em; position: absolute; z-index: 1; left: calc(14 * var(--u)); bottom: calc(26 * var(--u)); font-family: var(--serif); font-size: calc(22 * var(--u)); color: #fff; }
.mm-line { position: absolute; z-index: 1; left: calc(14 * var(--u)); bottom: calc(12 * var(--u)); right: calc(10 * var(--u)); font-size: calc(7.5 * var(--u)); color: var(--white-82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-acts { display: flex; gap: calc(16 * var(--u)); margin-top: calc(10 * var(--u)); }
.mm-acts a { font-size: calc(8 * var(--u)); color: var(--white-82); transition: color 200ms; }
.mm-acts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1024px) {
  .menu { height: auto; }
  .bar.is-open .menu { max-height: calc(100dvh - 60px); overflow-y: auto; }
  .menu > li { height: auto; display: block; }
  .mm-item { display: block; height: auto; border-bottom: 1px solid var(--line); }
  .mm-top { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 12px; text-shadow: none; }
  .mm-panel { position: static; width: auto; display: none; grid-template-columns: 1fr; gap: 14px; padding: 0 0 18px; background: none; backdrop-filter: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .mm-item.is-open .mm-panel { display: grid; }
  .mm-kick { display: none; }
  .mm-text { font-size: 18px; margin: 0 0 10px; }
  .mm-all { font-size: 10px; }
  .mm-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mm-name { font-size: 17px; left: 10px; bottom: 22px; } .mm-line { font-size: 7px; left: 10px; bottom: 9px; }
  .mm-acts { flex-direction: column; gap: 0; margin-top: 6px; }
  .bar.is-open .menu { background: var(--deep); }
  .bar.is-open .menu .mm-panel a { padding: 0; }
  .bar.is-open .menu .mm-acts a { padding: 7px 0; font-size: 9px; }
  .bar.is-open .menu .mm-all { display: inline-block; padding-bottom: 4px; font-size: 10px; }
}

/* ---------- your occasion: five tall cards; the one under the pointer opens wide (owner, 14/11/2026) ---------- */
.occ { display: flex; gap: calc(12 * var(--u)); height: calc(520 * var(--u)); }
.occ-card { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: calc(6 * var(--u)); color: #fff; transition: flex 800ms var(--ease); isolation: isolate; }
.occ:hover .occ-card { flex: 0.75; }
.occ .occ-card:hover, .occ .occ-card:focus-visible { flex: 2.6; }
.occ-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); filter: brightness(0.7) saturate(0.9); transition: transform 1200ms var(--ease), filter 600ms; }
.occ-card:hover img { transform: scale(1); filter: brightness(0.9) saturate(1.05); }
.occ-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(4 14 22 / 0.9) 0%, rgb(4 14 22 / 0.2) 50%, rgb(4 14 22 / 0) 70%); }
.occ-n { position: absolute; left: calc(20 * var(--u)); top: calc(18 * var(--u)); font-size: calc(9 * var(--u)); color: var(--white-82); }
.occ-copy { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); bottom: calc(22 * var(--u)); display: grid; gap: calc(8 * var(--u)); }
.occ-h { font-family: var(--serif); font-size: calc(30 * var(--u)); line-height: 1.02; }
.occ-t, .occ-go { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 600ms var(--ease), opacity 500ms; white-space: nowrap; }
.occ-t { font-size: calc(13 * var(--u)); color: var(--white-82); }
.occ-go { font-size: calc(9 * var(--u)); }
.occ-card:hover .occ-t, .occ-card:hover .occ-go, .occ-card:focus-visible .occ-t, .occ-card:focus-visible .occ-go { max-height: 40px; opacity: 1; transition-delay: 200ms; }

/* ---------- captions over the film ---------- */
.caps { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.cap { position: absolute; margin: 0; display: grid; gap: calc(10 * var(--u)); opacity: 0; max-width: calc(560 * var(--u)); text-shadow: 0 2px 24px rgb(0 0 0 / 0.55); }
.cap-l { left: calc(60 * var(--u)); bottom: calc(110 * var(--u)); }
.cap-r { right: calc(60 * var(--u)); top: calc(150 * var(--u)); text-align: right; justify-items: end; }
.cap-c { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; justify-items: center; max-width: calc(900 * var(--u)); }
.cap-k { font-size: calc(9.5 * var(--u)); color: var(--ice); }
.cap-k::before { content: ""; display: inline-block; vertical-align: middle; width: calc(28 * var(--u)); height: 1px; margin-right: calc(12 * var(--u)); background: currentColor; }
.cap-r .cap-k::before { display: none; }
.cap-r .cap-k::after { content: ""; display: inline-block; vertical-align: middle; width: calc(28 * var(--u)); height: 1px; margin-left: calc(12 * var(--u)); background: currentColor; }
.cap-c .cap-k::before { display: none; }
.cap-h { font-family: var(--serif); font-size: calc(54 * var(--u)); line-height: 1.02; color: #fff; }
.cap-c .cap-h { font-size: calc(96 * var(--u)); font-style: italic; }
.cw { display: inline-block; opacity: 0; will-change: transform, opacity, filter; }
.cap-t { font-size: calc(14 * var(--u)); color: var(--white-82); }
.cap-go { margin-top: calc(10 * var(--u)); padding: calc(14 * var(--u)) calc(26 * var(--u)); border-radius: 99px; background: #fff; color: var(--deep); font-size: calc(9.5 * var(--u)); text-shadow: none; }
.cap.is-on .cap-go { pointer-events: auto; }
.cap-go:hover { background: var(--ice); }

/* ---------- the footer: compass, position and time, every link, the wordmark in outline ---------- */
.footer { position: relative; display: block; padding: calc(70 * var(--u)) calc(37 * var(--u)) calc(28 * var(--u)); border-top: 0; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #0b2333 0%, var(--deep) 60%); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(127 227 214 / 0.7), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: ft-sweep 7s linear infinite; }
@keyframes ft-sweep { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.ft-top { display: grid; grid-template-columns: 1.1fr auto 2.2fr; gap: calc(56 * var(--u)); align-items: start; }
.ft-brand p { margin: calc(14 * var(--u)) 0 0; max-width: calc(280 * var(--u)); line-height: 1.6; }
.footer .ft-pos { display: grid; gap: calc(8 * var(--u)); margin-top: calc(26 * var(--u)); font-size: calc(8.5 * var(--u)); color: var(--white-82); }
.ft-pos b { font-weight: 500; color: #7fe3d6; }
.ft-compass { display: grid; justify-items: center; gap: calc(12 * var(--u)); color: var(--ice); }
.ft-rose { width: calc(200 * var(--u)); height: calc(200 * var(--u)); overflow: visible; filter: drop-shadow(0 0 18px rgb(127 227 214 / 0.18)); }
.ft-head { margin: 0; font-size: calc(8.5 * var(--u)); color: var(--white-82); font-variant-numeric: tabular-nums; }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(24 * var(--u)); }
.ft-cols div { display: grid; gap: calc(10 * var(--u)); align-content: start; }
.ft-cols a, .ft-plain { width: fit-content; font-size: calc(12.5 * var(--u)); color: var(--white-82); }
.ft-cols a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color 200ms, background-size 400ms var(--ease); }
.ft-cols a:hover { color: #fff; background-size: 100% 1px; }
.footer .ft-cols .mono { margin-bottom: calc(6 * var(--u)); }
.ft-word { margin: calc(60 * var(--u)) 0 0; font-family: var(--sans); font-weight: 600; font-size: calc(250 * var(--u)); line-height: 0.8; letter-spacing: 0.12em; text-align: center; color: rgb(234 244 246 / 0.11); user-select: none; }
.footer .legal { margin-top: calc(28 * var(--u)); }
.js .footer .ft-top, .js .footer .ft-word { opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 1100ms var(--ease); }
.js .footer.is-in .ft-top, .js .footer.is-in .ft-word { opacity: 1; transform: none; }
.js .footer.is-in .ft-word { transition-delay: 200ms; }

@media (max-width: 1024px) {
  .occ { flex-direction: column; height: auto; gap: 10px; }
  .occ-card, .occ:hover .occ-card, .occ .occ-card:hover { flex: none; height: 200px; }
  .occ-n { left: 16px; top: 14px; font-size: 9px; }
  .occ-copy { left: 16px; right: 16px; bottom: 16px; gap: 6px; }
  .occ-h { font-size: 26px; }
  .occ-t, .occ-go { max-height: 40px; opacity: 1; }
  .occ-t { font-size: 13px; }
  .occ-go { font-size: 9px; }
  .cap { max-width: calc(100% - 40px); gap: 8px; }
  .cap-l { left: 20px; bottom: 120px; }
  .cap-r { right: 20px; top: 110px; }
  .cap-c { max-width: calc(100% - 40px); }
  .cap-k { font-size: 9px; }
  .cap-h { font-size: 34px; }
  .cap-c .cap-h { font-size: 52px; }
  .cap-t { font-size: 13px; }
  .cap-go { padding: 14px 24px; font-size: 10px; }
  .footer { padding: 56px 20px 28px; }
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
  .ft-brand p { max-width: none; }
  .footer .ft-pos { font-size: 9px; }
  .ft-rose { width: 180px; height: 180px; }
  .ft-head { font-size: 9px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-cols a, .ft-plain { font-size: 14px; }
  .ft-word { font-size: 64px; margin-top: 44px; }
}


/* ---------- the closing band: a small drawn yacht crosses a thin waterline as you scroll, then the button and three reasons ---------- */
.end { position: relative; padding: calc(64 * var(--u)) calc(37 * var(--u)) calc(40 * var(--u)); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--deep), #081a27); overflow: hidden; }
.end-in { display: flex; justify-content: center; align-items: center; gap: calc(28 * var(--u)); flex-wrap: wrap; }
.end-btn { padding: calc(16 * var(--u)) calc(34 * var(--u)); border-radius: 99px; background: #fff; color: var(--deep); font-size: calc(10 * var(--u)); transition: transform 300ms var(--ease), background 200ms; }
.end-btn:hover { transform: translateY(-2px); background: var(--ice); }
.end-link { display: inline-flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(9.5 * var(--u)); color: var(--white-82); }
.end-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.end-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fe3d6; box-shadow: 0 0 0 0 rgb(127 227 214 / 0.6); animation: end-ping 2.2s ease-out infinite; }
@keyframes end-ping { to { box-shadow: 0 0 0 12px rgb(127 227 214 / 0); } }
.end-lane { position: relative; height: calc(96 * var(--u)); min-height: 64px; margin: calc(40 * var(--u)) calc(-37 * var(--u)) 0; }
.end-water { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 12px; overflow: visible; }
.end-water path { fill: none; stroke: rgb(127 227 214 / 0.35); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.end-ship { position: absolute; left: 0; bottom: 4px; width: calc(190 * var(--u)); min-width: 120px; transform-origin: 50% 90%; will-change: transform; }
.end-boat { display: block; width: 100%; height: auto; overflow: visible; }
.b-hull { fill: var(--ice); }
.b-boot { fill: #0e3550; }
.b-line { stroke: #7fe3d6; stroke-width: 1.4; fill: none; }
.b-deck { fill: #f7fbfc; }
.b-glass, .b-port rect { fill: #0b1e2b; }
.b-mast { fill: #0b1e2b; }
.b-dome { fill: #f7fbfc; stroke: rgb(11 30 43 / 0.25); stroke-width: 0.6; }
/* the wake: two soft white lines trailing behind the stern */
.end-wake { position: absolute; right: 94%; bottom: 5%; width: calc(320 * var(--u)); min-width: 180px; height: 10px; background: linear-gradient(90deg, transparent, rgb(234 244 246 / 0.25) 60%, rgb(234 244 246 / 0.75)); border-radius: 50%; filter: blur(1.5px); }
.end-wake::after { content: ""; position: absolute; right: 0; top: -6px; width: 70%; height: 4px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgb(127 227 214 / 0.45)); }
.end-why { display: grid; grid-template-columns: repeat(3, 1fr); margin: calc(26 * var(--u)) 0 0; padding: calc(18 * var(--u)) 0 0; list-style: none; border-top: 1px solid var(--line); font-size: calc(8.5 * var(--u)); color: var(--white-82); }
.end-why b { display: block; margin-bottom: calc(6 * var(--u)); font-family: var(--serif); font-weight: 400; font-size: calc(28 * var(--u)); letter-spacing: 0; text-transform: none; color: #fff; }
@media (max-width: 1024px) {
  .end { padding: 44px 20px 32px; }
  .end-in { flex-direction: column; gap: 16px; }
  .end-btn { padding: 16px 34px; font-size: 11px; }
  .end-link { font-size: 10px; }
  .end-lane { margin: 28px -20px 0; height: 70px; }
  .end-why { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; font-size: 10px; }
  .end-why b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .end-dot { animation: none; } }
.occ-other { margin-top: calc(12 * var(--u)); max-width: calc(440 * var(--u)); }
.occ-other[hidden] { display: none; }
@media (max-width: 1024px) { .occ-other { max-width: none; margin-top: 12px; } }

/* ---------- tablets (761–1024px): the touch layout, given room (owner, 14/11/2026: "tablet and mobile optimize") ---------- */
@media (min-width: 761px) and (max-width: 1024px) {
  .logo { left: 32px; }
  .enquire { right: 76px; }
  .kicker, .title, .body, .pill { left: 40px; }
  .kicker { font-size: 10px; top: -10px; }
  .title { font-size: 76px; line-height: 74px; top: 20px; }
  .body { width: 560px; font-size: 16px; line-height: 26px; top: 190px; }
  .hero { height: 480px; }
  .pill { top: 300px; width: 200px; height: 48px; font-size: 10px; }
  .textlink { left: 262px; top: 322px; font-size: 10px; }
  .section { padding: 96px 40px; }
  .label, .group > .mono, .field > .mono, .footer .mono { font-size: 10px; }
  .h2 { font-size: 60px; line-height: 60px; }
  .text { font-size: 16px; line-height: 26px; }
  .fleet, .exp { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .places { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .place:last-child { grid-column: 1 / -1; }
  .occ { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .occ-card, .occ:hover .occ-card, .occ .occ-card:hover { height: 260px; }
  .occ-card:last-child { grid-column: 1 / -1; }
  .choice span { height: 40px; padding: 0 18px; font-size: 13px; }
  .cap-h { font-size: 46px; } .cap-c .cap-h { font-size: 76px; } .cap-k { font-size: 10px; } .cap-t { font-size: 15px; }
  .cap-l { left: 40px; } .cap-r { right: 40px; }
  .end { padding: 56px 40px 36px; }
  .end-in { flex-direction: row; }
  .end-lane { margin: 32px -40px 0; height: 84px; }
  .end-why { grid-template-columns: repeat(3, 1fr); font-size: 10px; }
  .footer { padding: 64px 40px 28px; }
  .ft-top { grid-template-columns: 1fr auto; }
  .ft-cols { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .ft-word { font-size: 120px; }
}
/* tablets on their side: the planner sits beside its price, the menu panels show two cards a row */
@media (min-width: 900px) and (max-width: 1024px) {
  .plan { grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
  .quote { position: sticky; top: 90px; }
}
