/* Banana Wharf homepage
   Brand: TT Chocolates + Tropical Country, Banana Blue, Wharf Yellow.
   Phone first; desktop composition starts at 900px. */

@font-face { font-family: "TT Chocolates"; src: url("../assets/fonts/tt-chocolates-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "TT Chocolates"; src: url("../assets/fonts/tt-chocolates-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TT Chocolates"; src: url("../assets/fonts/tt-chocolates-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "TT Chocolates"; src: url("../assets/fonts/tt-chocolates-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tropical Country"; src: url("../assets/fonts/tropical-country.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* brand */
  --blue: #004e75;          /* Banana Blue */
  --blue-light: #007da5;    /* Banana Blue Light */
  --yellow: #f5c952;        /* Wharf Yellow */
  /* shades and tints of the three */
  --blue-deep: #003a58;
  --blue-night: #022b41;
  --blue-80: #33718f;
  --blue-60: #6695ac;
  --blue-40: #99b8c8;
  --blue-20: #ccdce3;
  --mist: #edf3f6;
  --yellow-80: #f7d475;
  --yellow-40: #fbe9ba;
  --yellow-deep: #e2b233;
  --white: #ffffff;
  --ink: #0b3349;           /* body text on light */
  --ink-soft: #3d6076;      /* secondary text on light, 6.2:1 on white */
  --on-blue: #ffffff;
  --on-blue-soft: #cfe0e8;  /* secondary text on blue, 9:1 */
  --ok: #1f7a4d;
  --error: #b3261e;

  --font: "TT Chocolates", "Avenir Next", "Century Gothic", "Segoe UI", sans-serif;
  --script: "Tropical Country", "Snell Roundhand", cursive;

  --gutter: 20px;
  --wrap: 1560px;
  --radius: 6px;
  --radius-sm: 3px;
  --rule: 1px solid var(--blue-20);
  --rule-on-blue: 1px solid rgba(255, 255, 255, 0.22);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --top-h: 68px;
  --shadow-card: 0 1px 2px rgba(2, 43, 65, 0.06), 0 12px 32px -12px rgba(2, 43, 65, 0.22);
}

@media (min-width: 900px) {
  :root { --gutter: clamp(32px, 5vw, 96px); --top-h: 88px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--yellow); color: var(--blue-night); }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 2px; }
.on-blue :focus-visible, .hero :focus-visible, .top:not(.is-solid) :focus-visible, dialog.nav :focus-visible, .water :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--yellow); color: var(--blue-night); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
.display { font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; }
.h2 { font-weight: 300; font-size: clamp(38px, 10.5vw, 46px); line-height: 1.04; letter-spacing: -0.022em; color: var(--blue); text-wrap: balance; }
.h3 { font-weight: 300; font-size: clamp(30px, 8vw, 34px); line-height: 1.14; letter-spacing: -0.018em; color: var(--blue); }
.label { font-weight: 500; font-size: 12px; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; }
.lede { font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 46ch; }
.on-blue { color: var(--on-blue); }
.on-blue .h2, .on-blue .h3 { color: var(--white); }
.on-blue .lede { color: var(--on-blue-soft); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; }

@media (min-width: 900px) {
  body { font-size: 18px; }
  .h2 { font-size: clamp(54px, 4.4vw, 84px); line-height: 1; }
  .h3 { font-size: clamp(34px, 2.5vw, 46px); }
  .label { font-size: 13px; }
  .lede { font-size: 21px; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--blue-night); --btn-bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 22px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .arrow { width: 18px; height: 12px; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:hover { --btn-bg: var(--yellow-80); --btn-bd: var(--yellow-80); }
.btn:active { transform: scale(0.98); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--blue); --btn-bd: var(--blue); }
.btn--line:hover { --btn-bg: var(--blue); --btn-fg: var(--white); --btn-bd: var(--blue); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--blue-night); --btn-bd: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 12px; gap: 9px; }
.btn--block { width: 100%; }

.tlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.tlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 4px; transition: background-size 0.3s var(--ease-out); }
.tlink:hover span { background-size: 0 1.5px; background-position: 100% 100%; }
.tlink .arrow { width: 18px; height: 12px; transition: transform 0.25s var(--ease-out); }
.tlink:hover .arrow { transform: translateX(5px); }
.on-blue .tlink { color: var(--white); }

.inline { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: color 0.2s; }
.inline:hover { color: var(--blue-light); }
.on-blue .inline:hover, .foot .inline:hover { color: var(--yellow); }

/* open / closed status */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--ink-soft); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-40); flex: none; }
.status.is-open { color: var(--ok); }
.status.is-open::before { background: #2aa869; box-shadow: 0 0 0 4px rgba(42, 168, 105, 0.18); }
.on-blue .status, .status--on-blue { color: var(--on-blue-soft); }
.on-blue .status.is-open, .status--on-blue.is-open { color: #9be7bf; }

/* segmented marina switch */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; padding: 4px; background: var(--white); border: var(--rule); border-radius: 999px; isolation: isolate; }
.seg__btn { position: relative; z-index: 1; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; color: var(--ink-soft); white-space: nowrap; transition: color 0.25s var(--ease-out); }
.seg__btn[aria-pressed="true"] { color: var(--white); }
.seg::before { content: ""; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--blue); transition: transform 0.35s var(--ease-out); }
[data-marina="ph"] .seg::before { transform: translateX(100%); }
.seg--block { display: grid; width: 100%; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: var(--gutter); padding-right: var(--gutter); color: var(--white); transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.top::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; background: linear-gradient(to bottom, rgba(2, 43, 65, 0.55), rgba(2, 43, 65, 0)); transition: opacity 0.3s; pointer-events: none; }
.top.is-solid { background: var(--white); color: var(--blue); box-shadow: 0 1px 0 var(--blue-20); }
.top.is-solid::before { opacity: 0; }
.top.is-hidden { transform: translateY(-110%); }
.top__logo { display: block; width: 112px; flex: none; color: currentColor; }
.top__logo svg { width: 100%; height: auto; overflow: visible; }
.top__nav { display: none; }
.top__actions { display: flex; align-items: center; gap: 8px; }
.burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 10px; font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: currentColor; }
.burger__bars { width: 26px; height: 12px; position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.burger__bars::before { top: 0; } .burger__bars::after { bottom: 0; width: 70%; left: auto; }

@media (min-width: 900px) {
  .top__logo { width: 150px; }
  .top__nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); margin-left: auto; margin-right: clamp(12px, 2vw, 36px); }
  .top__nav a { position: relative; padding: 12px 0; font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
  .top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
  .top__nav a:hover::after, .top__nav a[aria-current="true"]::after { transform: scaleX(1); }
  .burger { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--blue); color: var(--white); isolation: isolate; }
.hero__media { position: relative; height: 66svh; min-height: 420px; max-height: 620px; overflow: hidden; }
.hero__media img { position: absolute; inset: -4% 0 0 0; width: 100%; height: 108%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, var(--blue) 0%, rgba(0, 78, 117, 0.86) 22%, rgba(0, 78, 117, 0.42) 55%, rgba(0, 78, 117, 0) 100%); }
.hero__body { position: relative; z-index: 2; margin-top: -148px; padding: 0 var(--gutter) 28px; }
.hero__title { font-weight: 300; font-size: clamp(42px, 12.2vw, 52px); line-height: 0.98; letter-spacing: -0.025em; }
.hero__title .script { display: block; position: relative; width: max-content; margin: 2px 0 0 4px; font-size: 1.36em; line-height: 0.92; color: var(--yellow); transform: rotate(-3deg); transform-origin: left bottom; padding-right: 0.3em; }
.hero__wave { position: absolute; left: 34%; bottom: -0.2em; width: 78%; height: auto; pointer-events: none; }
.hero__sub { margin-top: 30px; font-size: 17px; line-height: 1.5; color: var(--on-blue); max-width: 34ch; }
.dock { margin-top: 22px; display: grid; gap: 10px; }
.dock__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; background: var(--white); color: var(--ink); border-radius: var(--radius); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.dock__row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.dock__name { display: block; font-size: 21px; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--blue); }
.dock__row .status { margin-top: 5px; font-size: 13px; }
.dock__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--yellow); color: var(--blue-night); border-radius: var(--radius-sm); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color 0.2s; }
.dock__row:hover .dock__cta { background: var(--yellow-80); }
.dock__cta .arrow { width: 16px; height: 11px; transition: transform 0.25s var(--ease-out); }
.dock__row:hover .arrow { transform: translateX(4px); }
.dock__label { display: none; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; display: grid; align-items: end; }
  .hero__media { position: absolute; inset: 0; height: auto; max-height: none; min-height: 0; }
  .hero__media img { object-position: 50% 42%; }
  .hero__media::after { inset: 0; height: auto; background:
      linear-gradient(to top, rgba(2, 43, 65, 0.9) 0%, rgba(2, 43, 65, 0.62) 24%, rgba(2, 43, 65, 0) 58%),
      linear-gradient(to right, rgba(2, 43, 65, 0.34), rgba(2, 43, 65, 0) 46%); }
  .hero__body { margin: 0; width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-left: auto; margin-right: auto; padding: calc(var(--top-h) + 40px) var(--gutter) clamp(44px, 6.5vh, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: end; column-gap: 64px; }
  .hero__title { font-size: clamp(76px, 7.4vw, 148px); line-height: 0.94; }
  .hero__title .script { margin: 0 0 0 0.06em; font-size: 1.3em; }
  .hero__sub { margin-top: clamp(30px, 4.4vh, 52px); font-size: 21px; max-width: 40ch; }
  .dock { margin: 0; gap: 0; background: var(--white); border-radius: var(--radius); padding: 8px 8px 8px 28px; box-shadow: 0 30px 60px -30px rgba(2, 43, 65, 0.7); }
  .dock__label { display: block; padding: 18px 0 8px; color: var(--ink-soft); }
  .dock__row { padding: 16px 0; border-radius: 0; background: none; border-top: var(--rule); }
  .dock__row:hover { transform: none; box-shadow: none; }
  .dock__name { font-size: 26px; font-weight: 300; }
  .dock__cta { min-height: 52px; padding: 0 20px; font-size: 13px; margin-right: 8px; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--yellow); color: var(--blue-night); overflow: hidden; display: flex; user-select: none; }
.ticker__track { display: flex; flex: none; align-items: center; min-width: 100%; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding: 15px 14px; font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.ticker__item::after { content: ""; width: 34px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22108.9 143.7 625.0 307.1%22%3E%3Cpath fill=%22%23f5c952%22 d=%22M 646.69 342.07 C 602.27 383.82 547.67 419.64 484.67 445.61 C 483.83 444.83 483.00 444.06 482.17 443.28 C 544.82 417.66 599.16 382.27 643.41 340.98 C 644.50 341.34 645.59 341.71 646.69 342.07 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 731.76 164.55 C 731.76 164.55 720.63 187.09 704.59 214.41 C 695.50 229.89 682.25 249.77 674.96 260.82 C 637.48 318.13 580.33 369.21 507.22 405.37 C 492.63 412.58 478.04 419.71 462.67 426.03 C 463.32 426.54 463.98 427.05 464.63 427.56 C 504.03 414.28 540.55 397.02 573.65 376.68 C 574.23 377.14 574.80 377.58 575.37 378.04 C 553.48 394.24 529.71 409.11 504.21 422.30 C 504.98 422.57 505.76 422.84 506.53 423.10 C 573.37 391.42 629.64 348.39 673.78 297.33 C 654.02 303.22 664.67 288.81 674.17 275.87 C 691.52 252.30 707.21 227.84 719.40 202.73 C 724.59 192.05 727.78 183.32 731.82 172.49Z M 731.76 164.55 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 633.39 246.73 C 651.28 225.55 664.69 206.81 676.98 183.62 L 675.85 177.69 C 675.85 177.69 658.44 212.32 627.92 247.67Z M 633.39 246.73 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 724.85 147.96 C 694.53 196.90 657.93 266.18 598.99 302.21 C 619.23 281.66 634.23 262.86 647.45 243.62 L 647.45 238.58 C 647.45 238.58 619.01 274.98 566.64 309.57 C 585.30 291.39 602.69 273.65 617.35 254.95 C 618.44 253.57 619.44 252.09 620.36 250.59 L 621.15 244.45 C 621.15 244.45 549.59 338.97 399.01 380.89 C 252.42 422.00 110.86 379.56 110.86 379.56 L 112.58 385.70 C 180.60 405.22 242.37 410.74 300.48 408.12 C 301.21 409.27 301.94 410.42 302.68 411.58 C 266.66 416.13 228.85 417.25 189.78 414.34 L 190.34 416.32 C 263.62 429.24 334.34 427.74 398.98 415.21 C 407.73 413.52 416.32 411.40 424.80 409.19 C 425.17 410.28 425.02 409.85 425.39 410.94 C 388.18 426 347.72 437.40 304.64 444.18 C 306.25 445.73 307.87 447.27 309.5 448.80 C 417.00 439.26 511.78 401.33 582.63 346.87 C 651.5 294.11 702.98 214.99 728.23 145.74Z M 724.85 147.96 %22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22108.9 143.7 625.0 307.1%22%3E%3Cpath fill=%22%23f5c952%22 d=%22M 646.69 342.07 C 602.27 383.82 547.67 419.64 484.67 445.61 C 483.83 444.83 483.00 444.06 482.17 443.28 C 544.82 417.66 599.16 382.27 643.41 340.98 C 644.50 341.34 645.59 341.71 646.69 342.07 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 731.76 164.55 C 731.76 164.55 720.63 187.09 704.59 214.41 C 695.50 229.89 682.25 249.77 674.96 260.82 C 637.48 318.13 580.33 369.21 507.22 405.37 C 492.63 412.58 478.04 419.71 462.67 426.03 C 463.32 426.54 463.98 427.05 464.63 427.56 C 504.03 414.28 540.55 397.02 573.65 376.68 C 574.23 377.14 574.80 377.58 575.37 378.04 C 553.48 394.24 529.71 409.11 504.21 422.30 C 504.98 422.57 505.76 422.84 506.53 423.10 C 573.37 391.42 629.64 348.39 673.78 297.33 C 654.02 303.22 664.67 288.81 674.17 275.87 C 691.52 252.30 707.21 227.84 719.40 202.73 C 724.59 192.05 727.78 183.32 731.82 172.49Z M 731.76 164.55 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 633.39 246.73 C 651.28 225.55 664.69 206.81 676.98 183.62 L 675.85 177.69 C 675.85 177.69 658.44 212.32 627.92 247.67Z M 633.39 246.73 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 724.85 147.96 C 694.53 196.90 657.93 266.18 598.99 302.21 C 619.23 281.66 634.23 262.86 647.45 243.62 L 647.45 238.58 C 647.45 238.58 619.01 274.98 566.64 309.57 C 585.30 291.39 602.69 273.65 617.35 254.95 C 618.44 253.57 619.44 252.09 620.36 250.59 L 621.15 244.45 C 621.15 244.45 549.59 338.97 399.01 380.89 C 252.42 422.00 110.86 379.56 110.86 379.56 L 112.58 385.70 C 180.60 405.22 242.37 410.74 300.48 408.12 C 301.21 409.27 301.94 410.42 302.68 411.58 C 266.66 416.13 228.85 417.25 189.78 414.34 L 190.34 416.32 C 263.62 429.24 334.34 427.74 398.98 415.21 C 407.73 413.52 416.32 411.40 424.80 409.19 C 425.17 410.28 425.02 409.85 425.39 410.94 C 388.18 426 347.72 437.40 304.64 444.18 C 306.25 445.73 307.87 447.27 309.5 448.80 C 417.00 439.26 511.78 401.33 582.63 346.87 C 651.5 294.11 702.98 214.99 728.23 145.74Z M 724.85 147.96 %22/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.75; }
.ticker__item a:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (min-width: 900px) { .ticker__item { font-size: 13px; padding-top: 18px; padding-bottom: 18px; gap: 40px; } }

/* ---------- sections ---------- */
.sec { padding-top: 72px; padding-bottom: 72px; }
.sec--blue { background: var(--blue); }
.sec--mist { background: var(--mist); }
.sec__head { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 900px) {
  .sec { padding-top: clamp(110px, 12vh, 168px); padding-bottom: clamp(110px, 12vh, 168px); }
  .sec__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; margin-bottom: clamp(48px, 6vh, 72px); }
}

/* ---------- welcome ---------- */
.welcome__text { font-weight: 300; font-size: clamp(27px, 7.3vw, 32px); line-height: 1.18; letter-spacing: -0.016em; color: var(--blue); text-wrap: pretty; }
.welcome__text em { font-style: normal; font-family: var(--script); font-size: 1.32em; line-height: 0.6; color: var(--yellow-deep); padding-inline: 0.06em 0.1em; white-space: nowrap; }
.welcome__facts { margin-top: 36px; display: grid; border-top: var(--rule); }
.welcome__facts li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: var(--rule); }
.welcome__facts .label { color: var(--ink-soft); }
.welcome__pics { margin-top: 40px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; align-items: end; }
.welcome__pics img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.welcome__pics figure:first-child { aspect-ratio: 4 / 5; }
.welcome__pics figure:last-child { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .welcome__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 140px); align-items: center; }
  .welcome__text { font-size: clamp(38px, 3.15vw, 62px); line-height: 1.12; }
  .welcome__facts { margin-top: 56px; max-width: 640px; }
  .welcome__facts li { grid-template-columns: 150px 1fr; padding: 18px 0; }
  .welcome__pics { margin-top: 0; gap: 16px; }
}

/* ---------- menus ---------- */
.menus__tabs { display: flex; gap: 26px; margin: 26px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.menus__tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; scroll-snap-align: start; scroll-margin-left: var(--gutter); padding: 6px 0 12px; font-weight: 300; font-size: 30px; line-height: 1.1; letter-spacing: -0.018em; color: var(--blue-60); white-space: nowrap; transition: color 0.25s var(--ease-out); }
.tab:hover { color: var(--blue-80); }
.tab[aria-selected="true"] { color: var(--blue); }
.tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 12px; background: var(--yellow-deep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22108.9 143.7 625.0 307.1%22%3E%3Cpath fill=%22%23f5c952%22 d=%22M 646.69 342.07 C 602.27 383.82 547.67 419.64 484.67 445.61 C 483.83 444.83 483.00 444.06 482.17 443.28 C 544.82 417.66 599.16 382.27 643.41 340.98 C 644.50 341.34 645.59 341.71 646.69 342.07 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 731.76 164.55 C 731.76 164.55 720.63 187.09 704.59 214.41 C 695.50 229.89 682.25 249.77 674.96 260.82 C 637.48 318.13 580.33 369.21 507.22 405.37 C 492.63 412.58 478.04 419.71 462.67 426.03 C 463.32 426.54 463.98 427.05 464.63 427.56 C 504.03 414.28 540.55 397.02 573.65 376.68 C 574.23 377.14 574.80 377.58 575.37 378.04 C 553.48 394.24 529.71 409.11 504.21 422.30 C 504.98 422.57 505.76 422.84 506.53 423.10 C 573.37 391.42 629.64 348.39 673.78 297.33 C 654.02 303.22 664.67 288.81 674.17 275.87 C 691.52 252.30 707.21 227.84 719.40 202.73 C 724.59 192.05 727.78 183.32 731.82 172.49Z M 731.76 164.55 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 633.39 246.73 C 651.28 225.55 664.69 206.81 676.98 183.62 L 675.85 177.69 C 675.85 177.69 658.44 212.32 627.92 247.67Z M 633.39 246.73 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 724.85 147.96 C 694.53 196.90 657.93 266.18 598.99 302.21 C 619.23 281.66 634.23 262.86 647.45 243.62 L 647.45 238.58 C 647.45 238.58 619.01 274.98 566.64 309.57 C 585.30 291.39 602.69 273.65 617.35 254.95 C 618.44 253.57 619.44 252.09 620.36 250.59 L 621.15 244.45 C 621.15 244.45 549.59 338.97 399.01 380.89 C 252.42 422.00 110.86 379.56 110.86 379.56 L 112.58 385.70 C 180.60 405.22 242.37 410.74 300.48 408.12 C 301.21 409.27 301.94 410.42 302.68 411.58 C 266.66 416.13 228.85 417.25 189.78 414.34 L 190.34 416.32 C 263.62 429.24 334.34 427.74 398.98 415.21 C 407.73 413.52 416.32 411.40 424.80 409.19 C 425.17 410.28 425.02 409.85 425.39 410.94 C 388.18 426 347.72 437.40 304.64 444.18 C 306.25 445.73 307.87 447.27 309.5 448.80 C 417.00 439.26 511.78 401.33 582.63 346.87 C 651.5 294.11 702.98 214.99 728.23 145.74Z M 724.85 147.96 %22/%3E%3C/svg%3E") left center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22108.9 143.7 625.0 307.1%22%3E%3Cpath fill=%22%23f5c952%22 d=%22M 646.69 342.07 C 602.27 383.82 547.67 419.64 484.67 445.61 C 483.83 444.83 483.00 444.06 482.17 443.28 C 544.82 417.66 599.16 382.27 643.41 340.98 C 644.50 341.34 645.59 341.71 646.69 342.07 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 731.76 164.55 C 731.76 164.55 720.63 187.09 704.59 214.41 C 695.50 229.89 682.25 249.77 674.96 260.82 C 637.48 318.13 580.33 369.21 507.22 405.37 C 492.63 412.58 478.04 419.71 462.67 426.03 C 463.32 426.54 463.98 427.05 464.63 427.56 C 504.03 414.28 540.55 397.02 573.65 376.68 C 574.23 377.14 574.80 377.58 575.37 378.04 C 553.48 394.24 529.71 409.11 504.21 422.30 C 504.98 422.57 505.76 422.84 506.53 423.10 C 573.37 391.42 629.64 348.39 673.78 297.33 C 654.02 303.22 664.67 288.81 674.17 275.87 C 691.52 252.30 707.21 227.84 719.40 202.73 C 724.59 192.05 727.78 183.32 731.82 172.49Z M 731.76 164.55 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 633.39 246.73 C 651.28 225.55 664.69 206.81 676.98 183.62 L 675.85 177.69 C 675.85 177.69 658.44 212.32 627.92 247.67Z M 633.39 246.73 %22/%3E%3Cpath fill=%22%23f5c952%22 d=%22M 724.85 147.96 C 694.53 196.90 657.93 266.18 598.99 302.21 C 619.23 281.66 634.23 262.86 647.45 243.62 L 647.45 238.58 C 647.45 238.58 619.01 274.98 566.64 309.57 C 585.30 291.39 602.69 273.65 617.35 254.95 C 618.44 253.57 619.44 252.09 620.36 250.59 L 621.15 244.45 C 621.15 244.45 549.59 338.97 399.01 380.89 C 252.42 422.00 110.86 379.56 110.86 379.56 L 112.58 385.70 C 180.60 405.22 242.37 410.74 300.48 408.12 C 301.21 409.27 301.94 410.42 302.68 411.58 C 266.66 416.13 228.85 417.25 189.78 414.34 L 190.34 416.32 C 263.62 429.24 334.34 427.74 398.98 415.21 C 407.73 413.52 416.32 411.40 424.80 409.19 C 425.17 410.28 425.02 409.85 425.39 410.94 C 388.18 426 347.72 437.40 304.64 444.18 C 306.25 445.73 307.87 447.27 309.5 448.80 C 417.00 439.26 511.78 401.33 582.63 346.87 C 651.5 294.11 702.98 214.99 728.23 145.74Z M 724.85 147.96 %22/%3E%3C/svg%3E") left center / contain no-repeat; opacity: 0; transform: translateX(-8px); transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out); }
.tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.menus__stage { margin-top: 18px; display: grid; gap: 26px; }
.menus__photo { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--blue-20); }
.menus__photo img, .menus__photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.menus__photo .was-on { display: block; z-index: 1; }
.menus__photo .is-on { display: block; z-index: 2; animation: photo-in 0.7s var(--ease-out) both; }
@keyframes photo-in { from { opacity: 0.001; transform: scale(1.05); } }
.panel[hidden] { display: none; }
.panel { animation: panel-in 0.45s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.panel__when { color: var(--ink-soft); }
.panel__title { margin-top: 10px; }
.panel__text { margin-top: 14px; max-width: 48ch; color: var(--ink); }
.dishes { margin-top: 22px; border-top: var(--rule); }
.dish { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 2px; padding: 14px 0; border-bottom: var(--rule); }
.dish__name { font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--blue); }
.dish__price { font-weight: 500; font-size: 17px; color: var(--blue); font-variant-numeric: tabular-nums; }
.dish__desc { grid-column: 1 / -1; font-size: 15px; line-height: 1.45; color: var(--ink-soft); max-width: 52ch; }
.panel__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.panel__note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .menus__grid { display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(0, 2.2fr); gap: clamp(48px, 6vw, 120px); align-items: start; }
  .menus__side { position: sticky; top: calc(var(--top-h) + 40px); }
  .menus__tabs { flex-direction: column; gap: 2px; margin: 44px 0 0; padding: 0; overflow: visible; }
  .tab { font-size: clamp(34px, 2.7vw, 50px); padding: 7px 0 7px; text-align: left; width: max-content; }
  .tab::after { left: auto; right: -84px; top: 50%; bottom: auto; width: 68px; height: 16px; margin-top: -6px; }
  .menus__stage { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 72px); align-items: start; }
  .menus__photo { aspect-ratio: 4 / 5; }
  .dish { padding: 17px 0; }
  .dish__name, .dish__price { font-size: 19px; }
  .dish__desc { font-size: 16px; }
}

/* ---------- marinas ---------- */
.marinas__switch { margin-bottom: 22px; }
.marina { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; }
.marina__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-20); }
.marina__pic img { width: 100%; height: 100%; object-fit: cover; }
.marina__body { padding: 24px 20px 24px; }
.marina__town { color: var(--ink-soft); }
.marina__name { margin-top: 8px; }
.marina__text { margin-top: 12px; color: var(--ink); max-width: 46ch; }
.facts { margin-top: 22px; border-top: var(--rule); }
.facts__row { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: var(--rule); align-items: baseline; }
.facts__row dt { color: var(--ink-soft); padding-top: 3px; }
.facts__row dd { font-size: 16px; line-height: 1.45; }
.facts__row dd a { font-weight: 500; color: var(--blue); }
.hours { display: grid; gap: 3px; margin-top: 8px; font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.hours li.is-today { color: var(--blue); font-weight: 500; }
.hours__more { margin-top: 8px; }
.hours__more summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 14px; font-weight: 500; color: var(--blue); cursor: pointer; list-style: none; }
.hours__more summary::-webkit-details-marker { display: none; }
.hours__more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s var(--ease-out); }
.hours__more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.marina__actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.marina__actions .btn:first-child { grid-column: 1 / -1; }
@media (max-width: 899px) {
  [data-marina="ov"] .marina[data-venue="ph"], [data-marina="ph"] .marina[data-venue="ov"] { display: none; }
  .marina { animation: panel-in 0.45s var(--ease-out) both; }
}
@media (min-width: 900px) {
  .marinas__switch { display: none; }
  .marinas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 36px); }
  .marina { grid-template-rows: auto 1fr; }
  .marina__pic { aspect-ratio: 16 / 10; }
  .marina__body { padding: clamp(28px, 2.6vw, 48px); display: flex; flex-direction: column; }
  .facts__row { grid-template-columns: 120px 1fr; padding: 16px 0; }
  .facts__row dd { font-size: 17px; }
  .marina__actions { margin-top: auto; padding-top: 28px; grid-template-columns: 1.3fr 1fr 1fr; }
  .marina__actions .btn:first-child { grid-column: auto; }
}

/* ---------- what's on ---------- */
.on__rail { display: flex; gap: 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.on__rail::-webkit-scrollbar { display: none; }
.event { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; scroll-margin-left: var(--gutter); display: flex; flex-direction: column; background: var(--white); border: var(--rule); border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
.event:hover { border-color: var(--blue-40); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.event__pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue); }
.event__pic img { width: 100%; height: 100%; object-fit: cover; }
.event__pic--art img { object-fit: contain; padding: 9%; }
.event__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 18px; }
.event__when { color: var(--blue-light); }
.event__title { margin-top: 10px; font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -0.012em; color: var(--blue); }
.event__text { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.event__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.event__where { font-size: 14px; color: var(--ink-soft); }
.on__hint { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.on__btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: var(--rule); border-radius: 50%; color: var(--blue); transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s; }
.on__btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.on__btn[disabled] { opacity: 0.35; pointer-events: none; }
.on__btn svg { width: 16px; height: 11px; }
.on__btn--prev svg { transform: scaleX(-1); }
@media (min-width: 900px) {
  .on__rail { gap: clamp(16px, 1.6vw, 28px); padding-bottom: 12px; }
  .event { flex: 0 0 calc((100% - 3 * clamp(16px, 1.6vw, 28px)) / 4); max-width: none; }
  .event__title { font-size: 26px; }
  .event__body { padding: 26px 26px 22px; }
}
@media (min-width: 900px) and (max-width: 1399px) { .event { flex-basis: calc((100% - 2 * clamp(16px, 1.6vw, 28px)) / 3); } }

/* ---------- story ---------- */
.story__pics { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; align-items: start; margin-bottom: 36px; }
.story__pics figure { position: relative; }
.story__pics figure:last-child { margin-top: 44px; }
.story__pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.story__pics figcaption { margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--on-blue-soft); }
.story__text p { color: var(--on-blue-soft); max-width: 50ch; }
.story__text p + p { margin-top: 1em; }
.story__text .h2 { margin-bottom: 22px; }
.story__text .tlink { margin-top: 22px; }
@media (min-width: 900px) {
  .story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(56px, 7vw, 150px); align-items: center; }
  .story__pics { order: 2; margin: 0; gap: 20px; }
  .story__pics figure:last-child { margin-top: 96px; }
  .story__text .h2 { margin-bottom: 32px; }
  .story__text p { font-size: 19px; }
}

/* ---------- water interlude ---------- */
.water { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: hidden; background: var(--blue-deep); color: var(--white); isolation: isolate; text-align: center; }
.water video, .water__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.water::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 58, 88, 0.5); }
.water__inner { padding: 72px var(--gutter); display: grid; justify-items: center; gap: 30px; }
.water__mark { width: min(78vw, 720px); height: auto; color: var(--white); filter: drop-shadow(0 2px 18px rgba(2, 43, 65, 0.45)); }
.water__mark--wide { display: none; }
.water__cta { display: grid; gap: 10px; width: 100%; max-width: 360px; }
@media (min-width: 900px) {
  .water { min-height: 84svh; }
  .water__mark--stack { display: none; }
  .water__mark--wide { display: block; }
  .water__cta { grid-template-columns: 1fr 1fr; max-width: 560px; gap: 14px; }
}

/* ---------- charter ---------- */
.charter { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.charter__pic { aspect-ratio: 16 / 10; overflow: hidden; }
.charter__pic img { width: 100%; height: 100%; object-fit: cover; }
.charter__body { padding: 28px 20px 30px; }
.charter__body p { margin-top: 14px; max-width: 46ch; }
.charter__body .tlink { margin-top: 16px; }
@media (min-width: 900px) {
  .charter { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .charter__pic { aspect-ratio: auto; min-height: 460px; }
  .charter__body { padding: clamp(40px, 5vw, 88px); align-self: center; }
}

/* ---------- enquiry ---------- */
.enq__grid { display: grid; gap: 36px; }
.enq__intro p { margin-top: 16px; max-width: 44ch; }
.enq__lines { margin-top: 26px; border-top: var(--rule); }
.enq__lines li { padding: 16px 0; border-bottom: var(--rule); display: grid; gap: 4px; }
.enq__lines .label { color: var(--ink-soft); }
.enq__lines a { font-weight: 500; color: var(--blue); }
.form { background: var(--white); border: var(--rule); border-radius: var(--radius); padding: 22px 18px 24px; }
.form__grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 500; font-size: 14px; color: var(--blue); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 14px; background: var(--white); border: 1.5px solid var(--blue-40); border-radius: var(--radius-sm); font-size: 16px; line-height: 1.3; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23004e75' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6f8a99; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-80); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 125, 165, 0.28); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--error); }
.field__err { display: none; font-size: 14px; color: var(--error); }
.field.is-bad .field__err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px; border: 1.5px solid var(--blue-40); border-radius: var(--radius-sm); font-weight: 500; font-size: 15px; color: var(--blue); text-align: center; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; cursor: pointer; }
.choice label:has(input:checked) { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice label:has(input:focus-visible) { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.form__foot { margin-top: 20px; display: grid; gap: 12px; }
.form__small { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.form__done { display: none; text-align: left; padding: 10px 4px; }
.form__done svg { width: 110px; height: auto; color: var(--yellow-deep); }
.form__done h3 { margin-top: 18px; }
.form__done p { margin-top: 12px; max-width: 42ch; }
.form__done .tlink { margin-top: 12px; }
.form.is-done .form__fields { display: none; }
.form.is-done .form__done { display: block; animation: panel-in 0.5s var(--ease-out) both; }
@media (min-width: 900px) {
  .enq__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(56px, 7vw, 140px); align-items: start; }
  .enq__intro { position: sticky; top: calc(var(--top-h) + 40px); }
  .form { padding: clamp(28px, 3vw, 52px); }
  .form__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .field--wide { grid-column: 1 / -1; }
  .form__foot { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
}

/* ---------- footer ---------- */
.foot { background: var(--blue-night); color: var(--on-blue-soft); padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); font-size: 16px; }
.foot a { color: var(--white); }
.foot__logo { width: 190px; color: var(--white); }
.foot__logo svg { width: 100%; height: auto; overflow: visible; }
.foot__line { margin-top: 18px; max-width: 30ch; color: var(--on-blue-soft); }
.foot__cols { margin-top: 40px; display: grid; gap: 34px; }
.foot__col h3 { color: var(--yellow); margin-bottom: 14px; }
.foot__col p + p, .foot__col address + p { margin-top: 10px; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 40px; }
.foot__links a:hover, .foot__social a:hover { color: var(--yellow); }
.foot__social { display: flex; gap: 10px; margin-top: 18px; }
.foot__social a { width: 44px; height: 44px; display: grid; place-items: center; border: var(--rule-on-blue); border-radius: 50%; transition: border-color 0.2s, color 0.2s; }
.foot__social a:hover { border-color: var(--yellow); }
.foot__social svg { width: 18px; height: 18px; }
.foot__base { margin-top: 44px; padding-top: 22px; border-top: var(--rule-on-blue); display: grid; gap: 14px; font-size: 14px; }
.foot__base ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__group { display: inline-flex; align-items: center; gap: 12px; }
.foot__group img { height: 26px; width: auto; }
@media (min-width: 900px) {
  .foot { padding: 96px 0 44px; }
  .foot__top { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2.6fr); gap: clamp(48px, 6vw, 120px); }
  .foot__logo { width: 230px; }
  .foot__cols { margin-top: 0; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(32px, 4vw, 72px); }
  .foot__base { margin-top: 80px; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
}

/* ---------- sticky book bar (phone) ---------- */
.bar { position: fixed; inset: auto 0 0 0; z-index: 35; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -1px 0 var(--blue-20), 0 -14px 30px -18px rgba(2, 43, 65, 0.35); transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
.bar.is-on { transform: none; }
.bar__call { width: 52px; min-height: 52px; display: grid; place-items: center; border: 1.5px solid var(--blue); border-radius: var(--radius-sm); color: var(--blue); }
.bar__call svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .bar { display: none; } }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(2, 43, 65, 0.62); opacity: 0; transition: opacity 0.3s var(--ease-out); }
dialog.is-in::backdrop { opacity: 1; }
.x { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: currentColor; transition: background-color 0.2s; }
.x:hover { background: rgba(0, 78, 117, 0.1); }
.x svg { width: 16px; height: 16px; }

.sheet { position: fixed; inset: auto 0 0 0; width: 100%; margin: 0; background: var(--white); border-radius: 14px 14px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.42s var(--ease-out); max-height: 92svh; overflow: auto; }
.sheet.is-in { transform: none; }
.sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: var(--blue-20); margin: 0 auto 10px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__title { font-weight: 300; font-size: 30px; letter-spacing: -0.018em; color: var(--blue); }
.sheet__list { margin-top: 12px; border-top: var(--rule); }
.sheet__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 16px 0; border-bottom: var(--rule); }
.sheet__name { font-size: 22px; line-height: 1.15; color: var(--blue); }
.sheet__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.sheet__row .btn { grid-column: 2; grid-row: 1 / span 2; }
.sheet__call { grid-column: 1 / -1; font-size: 15px; color: var(--ink-soft); }
.sheet__call a { font-weight: 500; color: var(--blue); }
.sheet__note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .sheet { inset: 0; margin: auto; width: min(600px, 92vw); height: max-content; border-radius: var(--radius); padding: 26px 34px 34px; transform: translateY(16px) scale(0.98); opacity: 0; transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out); }
  .sheet.is-in { opacity: 1; }
  .sheet__grab { display: none; }
  .sheet__title { font-size: 40px; }
  .sheet__name { font-size: 26px; font-weight: 300; }
}

dialog.nav { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: var(--blue); color: var(--white); padding: 0; opacity: 0; transition: opacity 0.3s var(--ease-out); overflow: auto; }
dialog.nav.is-in { opacity: 1; }
.nav__in { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.nav__top { height: var(--top-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.nav__top .top__logo { color: var(--white); }
.nav__top .x:hover { background: rgba(255, 255, 255, 0.14); }
.nav__links { margin-top: 18px; display: grid; }
.nav__links a { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; font-weight: 300; font-size: clamp(34px, 10vw, 42px); line-height: 1.1; letter-spacing: -0.02em; border-bottom: var(--rule-on-blue); opacity: 0; transform: translateY(14px); transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out), color 0.2s; }
.nav__links a:hover { color: var(--yellow); }
.nav.is-in .nav__links a { opacity: 1; transform: none; }
.nav.is-in .nav__links a:nth-child(2) { transition-delay: 0.04s; } .nav.is-in .nav__links a:nth-child(3) { transition-delay: 0.08s; } .nav.is-in .nav__links a:nth-child(4) { transition-delay: 0.12s; } .nav.is-in .nav__links a:nth-child(5) { transition-delay: 0.16s; } .nav.is-in .nav__links a:nth-child(6) { transition-delay: 0.2s; }
.nav__links .arrow { width: 22px; height: 14px; color: var(--yellow); flex: none; }
.nav__venues { margin-top: auto; padding-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 15px; color: var(--on-blue-soft); position: relative; z-index: 1; }
.nav__venues h3 { color: var(--yellow); margin-bottom: 8px; }
.nav__venues a { display: block; padding: 3px 0; color: var(--white); font-weight: 500; }
.nav__book { margin-top: 22px; position: relative; z-index: 1; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .hero__title .line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.js .is-ready .hero__title .line > span { transform: none; }
.js .hero__title .script { opacity: 0; transform: rotate(-3deg) translateY(16px); transition: opacity 0.7s var(--ease-out) 0.35s, transform 0.9s var(--ease-out) 0.35s; }
.js .is-ready .hero__title .script { opacity: 1; transform: rotate(-3deg); }
.js .hero__wave { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease-in-out) 0.85s; }
.js .is-ready .hero__wave { clip-path: inset(0 0 0 0); }
.js .hero__sub, .js .hero .dock { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out) 0.55s, transform 0.9s var(--ease-out) 0.55s; }
.js .hero .dock { transition-delay: 0.7s; }
.js .is-ready .hero__sub, .js .is-ready .dock { opacity: 1; transform: none; }
.js .hero__media img { transform: scale(1.08); transition: transform 2.2s var(--ease-out); }
.js .is-ready .hero__media img { transform: scale(1) translateY(var(--py, 0)); }
.js .is-settled .hero__media img { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none; }
  .ticker__track[aria-hidden="true"] { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- marina-specific content ---------- */
[data-marina="ov"] [data-only="ph"], [data-marina="ph"] [data-only="ov"] { display: none; }
.panel__v { animation: panel-in 0.45s var(--ease-out) both; }
.menus__seg { margin-top: 20px; }
.menus__allergy { margin-top: 22px; padding-top: 16px; border-top: var(--rule); max-width: 60ch; }
@media (min-width: 900px) { .menus__seg { margin-top: 30px; } }

/* ---------- reviews ---------- */
.reviews { padding-top: 64px; padding-bottom: 64px; }
.reviews__title { color: var(--ink-soft); margin-bottom: 8px; }
.reviews__list { display: grid; }
.quote { padding: 22px 0; border-bottom: var(--rule); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-weight: 300; font-size: 24px; line-height: 1.22; letter-spacing: -0.012em; color: var(--blue); text-wrap: pretty; }
.quote blockquote p::before { content: "\201C"; } .quote blockquote p::after { content: "\201D"; }
.quote__by { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .reviews { padding-top: clamp(88px, 10vh, 128px); padding-bottom: clamp(88px, 10vh, 128px); }
  .reviews__title { margin-bottom: 28px; }
  .reviews__list { grid-template-columns: repeat(4, 1fr); border-top: var(--rule); }
  .quote { padding: 32px clamp(20px, 2vw, 36px) 8px; border-bottom: 0; border-left: var(--rule); display: flex; flex-direction: column; }
  .quote:first-child { border-left: 0; padding-left: 0; }
  .quote blockquote p { font-size: clamp(24px, 1.75vw, 32px); }
  .quote__by { margin-top: auto; padding-top: 24px; }
}

/* ---------- enquiry extras ---------- */
.enq__small { margin-top: 18px; max-width: 46ch; }
.enq__lines li span:last-child { font-size: 17px; color: var(--ink); }
.form__title { margin-bottom: 20px; }
.form__error { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid var(--error); background: #fbeceb; color: #7c1a14; font-size: 15px; border-radius: 2px; }
.choice label > span { display: grid; gap: 1px; line-height: 1.2; }
.choice label small { font-weight: 400; font-size: 13px; opacity: 0.8; }
.form__done .done__wave { width: 120px; height: auto; }
button.tlink { cursor: pointer; }

/* ---------- instagram ---------- */
.insta { padding-bottom: 0; }
.insta__head { display: grid; gap: 8px; padding-bottom: 28px; }
.insta__head p { max-width: 40ch; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.insta__grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--blue-20); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .insta__head { grid-template-columns: auto 1fr auto; align-items: baseline; gap: 32px; padding-bottom: 40px; }
  .insta__grid { grid-template-columns: repeat(6, 1fr); gap: 4px; }
}

/* ---------- booking sheet rows ---------- */
.sheet__row .btn { grid-column: 2; grid-row: 1; }
.sheet__row > div { grid-column: 1; grid-row: 1; }
.sheet__meta { margin-top: 4px; }
.sheet__call { grid-row: 2; }
[data-marina="ph"] .sheet__list { display: flex; flex-direction: column; }
[data-marina="ph"] .sheet__row[data-venue="ph"] { order: -1; }

/* dock rows */
.dock__row > span:first-child { display: grid; }

/* ---------- round 2 ---------- */
/* marina cards sit on blue but are white surfaces */
.marina { color: var(--ink); }
.on-blue .marina .h3 { color: var(--blue); }
.on-blue .marina .status { color: var(--ink-soft); }
.on-blue .marina .status.is-open { color: var(--ok); }
.on-blue .marina .inline:hover { color: var(--blue-light); }
.hours small { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-soft); }
.hours li { grid-template-columns: 78px 1fr; padding: 2px 0; }
@media (max-width: 899px) {
  .facts__row { grid-template-columns: 1fr; gap: 6px; }
  .facts__row dt { padding-top: 0; }
  .top .btn--sm { padding-left: 14px; padding-right: 14px; letter-spacing: 0.12em; }
}
@media (min-width: 900px) {
  .hours li { grid-template-columns: 96px 1fr; }
  .hours small { display: inline; font-size: inherit; }
  .hours small::before { content: " · "; }
}

/* hero, desktop: headline on one line, script beneath, everything on the water */
.hero__wave { left: 36%; top: 52%; bottom: auto; width: 74%; }
@media (min-width: 900px) {
  .hero__media::after { background:
      linear-gradient(to top, rgba(2, 43, 65, 0.94) 0%, rgba(2, 43, 65, 0.74) 26%, rgba(2, 43, 65, 0.28) 52%, rgba(2, 43, 65, 0) 70%),
      linear-gradient(to right, rgba(2, 43, 65, 0.42), rgba(2, 43, 65, 0) 52%); }
  .hero__title { font-size: clamp(62px, 5.9vw, 118px); line-height: 0.96; }
  .hero__title .line { display: inline-block; vertical-align: top; }
  .hero__title .script { font-size: 1.22em; margin-top: 0.02em; }
  .hero__sub { margin-top: clamp(34px, 5vh, 56px); }
}

/* welcome, desktop: one large photograph with a second set into its corner */
@media (min-width: 900px) {
  .welcome__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .welcome__pics { display: block; position: relative; padding-bottom: 9%; }
  .welcome__pics figure:first-child { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; }
  .welcome__pics figure:last-child { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 8px solid var(--white); border-radius: calc(var(--radius) + 8px); overflow: hidden; }
  .welcome__pics figure:last-child img { border-radius: 0; }
}

/* ---------- round 3: hero wave clear of the paragraph ---------- */
.hero__wave { left: 56%; top: 58%; width: 50%; }
.hero__media { height: 62svh; }
.hero__sub { margin-top: 42px; }
@media (min-width: 900px) {
  .js .hero__title .line { display: inline-block; }
  .hero__media { height: auto; }
  .hero__wave { left: 60%; top: 60%; width: 46%; }
  .hero__sub { margin-top: clamp(48px, 6.5vh, 72px); }
}

/* ---------- round 4 ---------- */
.foot__group img { filter: brightness(0) invert(1); opacity: 0.9; }
.enq__pic { margin-top: 24px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--blue-20); }
.enq__pic img { width: 100%; height: 100%; object-fit: cover; }
.menus__photo video { background: var(--blue-night); }

/* banana-leaf wallpaper from the brand guidelines: behind the archive photographs only, never behind text */
.story { position: relative; overflow: hidden; isolation: isolate; }
.story::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 370px; opacity: 0.2;
  background: linear-gradient(to bottom, rgba(0, 78, 117, 0) 35%, #004e75 100%), url("../assets/brand/leaf.webp") center top / 620px auto repeat; }
@media (min-width: 900px) {
  .story::before { inset: 0 0 0 auto; width: 54%; height: auto;
    background: linear-gradient(to left, rgba(0, 78, 117, 0) 50%, #004e75 100%), url("../assets/brand/leaf.webp") right center / 900px auto repeat; }
}
}
.nav__venues a[href^="mailto"] { font-size: 13.5px; font-weight: 400; overflow-wrap: anywhere; }

/* ---------- round 5 ---------- */
.h3 { line-height: 1.14; }
.tab { color: var(--blue-80); }
.tab:hover { color: var(--blue); }
.tab[aria-selected="true"] { color: var(--blue-night); }
.tab::after { width: 76px; height: 14px; }
@media (min-width: 900px) {
  .tab { transition: color 0.25s var(--ease-out), transform 0.35s var(--ease-out); }
  .tab[aria-selected="true"] { transform: translateX(8px); }
  .tab::after { width: 84px; height: 18px; right: -100px; }
}

/* ---------- round 6: reviews on Wharf Yellow; phone swipe rail ---------- */
.reviews { background: var(--yellow); color: var(--blue-night); }
.reviews__title { color: var(--blue-night); }
.quote blockquote p { color: var(--blue-night); }
.quote__by { color: var(--blue-night); opacity: 0.86; }
.quote { border-color: rgba(2, 43, 65, 0.28); }
@media (max-width: 899px) {
  .reviews__list { display: flex; gap: 0; margin: 10px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .reviews__list::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: var(--gutter); padding: 18px 22px 6px 0; margin-right: 22px; border-bottom: 0; border-top: 1.5px solid rgba(2, 43, 65, 0.4); display: flex; flex-direction: column; min-height: 190px; }
  .quote__by { margin-top: auto; padding-top: 16px; }
}
@media (min-width: 900px) {
  .reviews__list { border-top-color: rgba(2, 43, 65, 0.28); }
}
/* the Book bar is not painted at all while it is tucked away */
.bar { visibility: hidden; transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s; }
.bar.is-on { visibility: visible; transition: transform 0.4s var(--ease-out), visibility 0s; }
/* tall desktop windows (half of a 4K monitor): the hero stops at a sensible height */
@media (min-width: 900px) { .hero { min-height: min(100svh, 1160px); } }

/* ---------- round 7: no stock hover-zoom; hovers that belong to this page ---------- */
.event__pic { position: relative; }
.event__pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.event:hover .event__pic::after, .event:focus-within .event__pic::after { transform: scaleX(1); }
.insta__grid a { position: relative; }
.insta__grid a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow 0.3s var(--ease-out); }
.insta__grid a:hover::after, .insta__grid a:focus-visible::after { box-shadow: inset 0 0 0 7px var(--yellow); }
