/* Valletta Boat Charters preview.
   Sailcloth canvas, harbour-navy ink, one gold accent from their flyer. The logo's Maltese-cross
   red appears only in the logo and the hero's masthead. Navy blocks (.on-navy) for the price
   panel and footer. Every colour is a token below. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f6f4ef;
  --bg-raise: #ffffff;
  --bg-sunk: #ece7dd;
  --ink: #0f2340;
  --ink-2: #44526a;
  --ink-3: #66718a;
  --line: rgba(15, 35, 64, 0.11);
  --line-strong: rgba(15, 35, 64, 0.22);
  --tint: rgba(15, 35, 64, 0.035);
  --tint-2: rgba(15, 35, 64, 0.07);
  --glass: rgba(246, 244, 239, 0.74);
  --glass-strong: rgba(246, 244, 239, 0.92);
  --highlight: rgba(255, 255, 255, 0.85);
  --shadow: rgba(15, 35, 64, 0.2);

  --accent: #c9a055;
  --accent-hover: #d6b06a;
  --accent-ink: #0f2340;
  --accent-fg: #8a6526;
  --accent-soft: rgba(201, 160, 85, 0.16);

  --navy: #0f2340;
  --navy-raise: #172f52;
  --red: #d3313a;
  --danger: #b42318;

  --f-serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --f-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;

  --r-shell: 28px;
  --r-core: 22px;
  --r-input: 14px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: 16px;
  --section: clamp(96px, 11vw, 168px);

  --z-badge: 30;
  --z-menu: 35;
  --z-nav: 40;
  --z-pre: 70;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

.on-navy {
  --ink: #f4f1ea;
  --ink-2: rgba(244, 241, 234, 0.76);
  --ink-3: rgba(244, 241, 234, 0.58);
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.26);
  --tint: rgba(244, 241, 234, 0.05);
  --tint-2: rgba(244, 241, 234, 0.1);
  --highlight: rgba(255, 255, 255, 0.08);
  --bg-raise: var(--navy-raise);
  --accent-fg: #dcbc78;
  --accent-soft: rgba(220, 188, 120, 0.14);
  background: var(--navy);
  color: var(--ink);
}

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scrollbar-color: #c9c2b4 var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, iframe, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 3px; }
strong { font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
  transition: transform 0.4s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; }
.h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.h3 { font-family: var(--f-serif); font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent-fg);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { margin-top: 22px; max-width: 54ch; color: var(--ink-2); font-size: 18px; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.line { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.08em; }
.line__in { display: block; }
.muted { color: var(--ink-3); }

/* ---------- double-bezel containers ---------- */
.shell {
  padding: 6px;
  border-radius: var(--r-shell);
  background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line);
}
.core {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-core);
  background: var(--bg-raise);
  box-shadow: inset 0 1px 0 var(--highlight);
}
.core > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:has(.btn__icon:last-child) { padding-right: 6px; }
.btn:has(.btn__icon:first-child) { padding-left: 6px; padding-right: 22px; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:not(:disabled):hover { background: var(--accent-hover); }
.btn--navy { background: var(--navy); color: #f4f1ea; }
.btn--navy:not(:disabled):hover { background: #1b3560; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:not(:disabled):hover { background: var(--tint); box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(15, 35, 64, 0.1);
  transition: transform 0.6s var(--ease);
}
.btn--navy .btn__icon { background: rgba(255, 255, 255, 0.12); }
.btn--ghost .btn__icon { background: var(--tint-2); }
.btn__icon svg { width: 18px; height: 18px; }
.btn:not(:disabled):hover .btn__icon:last-child { transform: translate(2px, -2px) scale(1.05); }
.btn--sm { min-height: 44px; padding-left: 18px; font-size: 14px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--sm .btn__icon svg { width: 16px; height: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.go {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--ink);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.6s var(--ease);
}
.go svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--highlight), 0 24px 50px -24px var(--shadow);
  transition: background-color 0.5s var(--ease);
}
.nav.is-scrolled .nav__pill { background: var(--glass-strong); }
.nav__brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.nav__logo { width: auto; height: 40px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  position: relative;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 450;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--tint-2);
  cursor: pointer;
}
.menu-btn__line {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.6s var(--ease);
}
.menu-btn__line:nth-child(2) { top: 18px; }
.menu-btn__line:nth-child(3) { top: 25px; }
.menu-open .menu-btn__line:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn__line:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.menu-open .menu { opacity: 1; }
.menu__links { display: grid; gap: 2px; }
.menu__links a {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: clamp(2.6rem, 12vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}
.menu__links a span { display: block; transform: translateY(105%); transition: transform 0.8s var(--ease); }
.menu-open .menu__links a span { transform: none; }
.menu-open .menu__links a:nth-child(2) span { transition-delay: 0.06s; }
.menu-open .menu__links a:nth-child(3) span { transition-delay: 0.12s; }
.menu-open .menu__links a:nth-child(4) span { transition-delay: 0.18s; }
.menu__links a[aria-current="page"] { color: var(--accent-fg); }
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.25s, transform 0.6s var(--ease) 0.25s;
}
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__phone { color: var(--ink-2); font-size: 15px; text-decoration: none; }

@media (max-width: 979px) {
  .nav__pill { width: 100%; justify-content: space-between; gap: 8px; padding-left: 16px; height: 60px; }
  .nav__links, .nav__cta { display: none; }
  .menu-btn { display: block; }
  .nav__logo { height: 34px; }
}
@media (min-width: 980px) {
  .menu { display: none !important; }
}

/* ---------- page curtain: a gold layer then a navy layer, the logo and a loading line ---------- */
.curtain { display: none; }
.curtain__tint, .curtain__panel { position: absolute; inset: 0; transform: translateY(100%); }
.js.is-entering .curtain__tint, .js.is-entering .curtain__panel { transform: none; }
.curtain__tint { background: var(--accent); }
.curtain__panel { display: grid; place-content: center; justify-items: center; gap: 36px; }
.curtain__mark { display: flex; justify-content: center; }
.curtain__mark img { width: min(56vw, 300px); height: auto; }
.mask { display: inline-block; overflow: hidden; padding-bottom: 0.06em; }
.mask > span { display: inline-block; }
.curtain__bar { width: min(240px, 50vw); height: 1px; overflow: hidden; background: var(--line-strong); }
.curtain__bar span { display: block; height: 100%; background: var(--accent-fg); transform: scaleX(0.6); transform-origin: left; }

/* ---------- hero: a day at sea, drawn live ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(180deg, #8fbfe0 0%, #e8dcc4 58%, #1d5b8f 58%, #10345c 100%);
  color: var(--navy);
}
.hero__sea { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__copy {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(100px, 12vh, 130px);
  z-index: 2;
}
.hero__title { font-size: clamp(2.7rem, 5.6vw, 5.8rem); }
.hero__title em { color: #0f3f6e; }
.hero__sub { margin-top: 20px; max-width: 40ch; color: rgba(15, 35, 64, 0.82); font-size: 18px; font-weight: 400; }
.hero__copy .ctas { margin-top: 28px; }
.hero__ghost { background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(15, 35, 64, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__ghost:hover { background: rgba(255, 255, 255, 0.8) !important; }

/* journey bar: where the boat is and what time it is */
.trip {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3.5vh, 32px);
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(760px, 100% - 2 * var(--gutter));
  padding: 14px 22px 16px;
  border-radius: 24px;
  background: rgba(246, 244, 239, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 24px 50px -28px rgba(15, 35, 64, 0.5);
  transform: translateX(-50%);
}
.trip__now { display: flex; align-items: baseline; gap: 14px; }
.trip__clock { font-family: var(--f-serif); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.trip__where { color: var(--ink-2); font-size: 14.5px; }
.trip__line { position: relative; height: 18px; }
.trip__rail { position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 2px; background: rgba(15, 35, 64, 0.14); }
.trip__fill { position: absolute; left: 0; top: 8px; height: 2px; width: 100%; border-radius: 2px; background: var(--accent-fg); transform-origin: left; transform: scaleX(0); }
.trip__stops { position: absolute; inset: 0; }
.trip__stops li { position: absolute; top: 0; width: 18px; height: 18px; transform: translateX(-50%); }
.trip__stops li::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 2px rgba(15, 35, 64, 0.3);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.trip__stops li.is-passed::before { background: var(--accent-fg); box-shadow: none; }
.trip__labels { position: relative; height: 18px; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.trip__labels span { position: absolute; top: 0; transform: translateX(-50%); }
.trip__labels span:first-child { transform: none; }
.trip__labels span:last-child { transform: translateX(-100%); }
.hero__end {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(110px, 18vh, 180px);
  z-index: 2;
  color: #f4f1ea;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.hero__end .display { font-size: clamp(2.8rem, 6vw, 6rem); }
.hero__end .ctas { justify-content: center; }
/* keep the trip bar clear of the preview badge where they would meet */
@media (max-width: 1099px) { .trip { bottom: 66px; } }
@media (max-width: 767px) {
  .trip__labels { display: none; }
  .hero .eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .trip { padding: 12px 18px 14px; }
  .trip__clock { font-size: 26px; }
  .hero__sub { font-size: 16px; }
}

/* ---------- intro facts ---------- */
.intro { padding-top: var(--section); }
.intro__grid { display: grid; gap: 40px; }
.intro__lead { font-family: var(--f-serif); font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 500; line-height: 1.16; letter-spacing: -0.01em; max-width: 24ch; }
.intro__lead em { color: var(--accent-fg); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.facts li { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.facts__num { font-family: var(--f-serif); font-size: clamp(2.1rem, 3.2vw, 2.9rem); font-weight: 600; line-height: 1; }
.facts__label { color: var(--ink-2); font-size: 15px; line-height: 1.4; }
@media (min-width: 1024px) {
  .intro__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: end; }
}

/* ---------- section heads ---------- */
.sec { padding-top: var(--section); }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .h2 { max-width: 14ch; }
.sec-head .lede { margin-top: 0; }

/* ---------- the boat ---------- */
.boat__grid { display: grid; gap: 14px; }
.boat__main .core { aspect-ratio: 16 / 10; }
.boat__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.boat__side .core { aspect-ratio: 4 / 5; }
.specs { display: grid; margin-top: 40px; border-top: 1px solid var(--line-strong); }
.specs li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs svg { grid-row: span 2; width: 26px; height: 26px; color: var(--accent-fg); margin-top: 2px; }
.specs strong { font-size: 17px; font-weight: 500; }
.specs span { color: var(--ink-2); font-size: 15px; }
.boat__copy { display: grid; align-content: start; }
@media (min-width: 1024px) {
  .boat__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
  .boat__copy { position: sticky; top: 112px; }
}
@media (max-width: 1023px) { .boat__copy { margin-bottom: 40px; } }

/* ---------- charters ---------- */
.charters__grid { display: grid; gap: 14px; }
.charter { display: block; text-decoration: none; }
.charter .shell, .charter .core { height: 100%; }
.charter .core { display: grid; align-content: space-between; gap: 32px; padding: 28px; }
.charter__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.charter__name { font-family: var(--f-serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.02; }
.charter__time { display: block; margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.charter p { color: var(--ink-2); max-width: 44ch; }
.charter__price { display: flex; align-items: baseline; gap: 10px; }
.charter__price strong { font-family: var(--f-serif); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 600; line-height: 1; }
.charter__price span { color: var(--ink-3); font-size: 14px; }
.charter__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.charter:hover .go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.charter--main .core { min-height: 420px; background: var(--navy); }
.charter--main .core::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 160, 85, 0.22), transparent);
  pointer-events: none;
}
.charter--main .go { background: var(--accent); color: var(--accent-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--tint-2); font-size: 13px; }
@media (min-width: 900px) {
  .charters__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .charter--main { grid-row: 1 / 3; }
}

/* ---------- seasonal prices ---------- */
.season { margin-top: 14px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; }
.season__grid { display: grid; gap: 32px; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.month {
  min-height: 52px;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.month small { display: block; color: var(--ink-3); font-size: 12px; }
.month:hover { background: var(--tint-2); color: var(--ink); }
.month[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.month[aria-pressed="true"] small { color: rgba(15, 35, 64, 0.72); }
.season__price { display: grid; gap: 6px; align-content: center; }
.season__price strong { font-family: var(--f-serif); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 600; line-height: 0.9; }
.season__price p { color: var(--ink-2); }
.season__note { color: var(--ink-3); font-size: 13px; }
@media (min-width: 1024px) {
  .season__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 64px; }
  .months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- where we go: sideways gallery ---------- */
.places__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 420px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px;
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
@media (min-width: 1400px) { .places__track { margin-inline: calc((1400px - 100vw) / 2); padding-inline: calc((100vw - 1400px) / 2); } }
.place { scroll-snap-align: start; }
.place .core { aspect-ratio: 4 / 5; }
.place figcaption { padding: 16px 6px 0; }
.place__name { font-family: var(--f-serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.place p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.place--slot .core { display: grid; place-items: center; background: var(--bg-sunk); }

/* ---------- included ---------- */
.included { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.included li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.included svg { grid-row: span 2; width: 30px; height: 30px; color: var(--accent-fg); }
.included strong { font-family: var(--f-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.included span { color: var(--ink-2); font-size: 15.5px; }
@media (min-width: 900px) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}

/* ---------- days on board: photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mosaic .core { aspect-ratio: 1; }
.mosaic figure:nth-child(1) .core { aspect-ratio: auto; height: 100%; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaic figure:nth-child(1) .shell { height: 100%; }
}
.mosaic figure:nth-child(1) .shell { min-height: 100%; }

/* ---------- final call ---------- */
.board { margin-top: var(--section); }
.board__in { display: grid; gap: 32px; padding: clamp(36px, 6vw, 88px); border-radius: 36px; overflow: hidden; position: relative; }
.board__in .display { font-size: clamp(2.8rem, 6vw, 6rem); max-width: 12ch; }
.board__in .ctas { margin-top: 0; }
.board__photo { position: absolute; inset: 0; z-index: 0; }
.board__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.board__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 20%, rgba(15, 35, 64, 0.5)); }
.board__in > :not(.board__photo) { position: relative; z-index: 1; }

/* ---------- footer (navy) ---------- */
.footer { margin-top: var(--section); padding-block: clamp(80px, 9vw, 120px) 96px; border-radius: 36px 36px 0 0; }
.footer__top { display: grid; gap: 48px; }
.footer__logo img { width: min(260px, 70vw); height: auto; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.footer__grid > div { display: grid; align-content: start; gap: 6px; }
.footer__grid a, .footer__grid p { color: var(--ink-2); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.footer__grid a:hover { color: var(--ink); }
.footer__h { margin-bottom: 6px; color: var(--accent-fg); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- preview badge ---------- */
.badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: var(--z-badge);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 30px -14px var(--shadow);
  color: var(--ink-2);
  font-size: 12.5px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--tint-2);
  cursor: pointer;
}
.badge__close svg { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

/* ---------- inner page heads ---------- */
.page-head { padding-top: clamp(132px, 16vh, 176px); }
.page-head__title { font-size: clamp(3.2rem, 8vw, 7.8rem); }
.page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.page-head .lede { margin-top: 0; }

/* ---------- about ---------- */
.ab-hero { display: grid; gap: 40px; margin-top: 48px; }
.ab-hero .core { aspect-ratio: 16 / 9; }
.ab-copy { display: grid; gap: 18px; max-width: 60ch; color: var(--ink-2); }
.ab-copy p:first-child { color: var(--ink); font-family: var(--f-serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.25; }
.ab-split { display: grid; gap: 40px; align-items: center; }
.ab-split .core { aspect-ratio: 1; }
@media (min-width: 1024px) {
  .ab-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .ab-split--flip > :first-child { order: 2; }
}
.values { display: grid; border-top: 1px solid var(--line-strong); }
.values li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.values h3 { font-family: var(--f-serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.values p { color: var(--ink-2); max-width: 54ch; }
.values .num { color: var(--accent-fg); font-size: 14px; }
@media (min-width: 900px) {
  .values li { grid-template-columns: 80px minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: baseline; gap: 24px; }
}

/* ---------- booking ---------- */
.book__grid { display: grid; gap: 24px; margin-top: 48px; align-items: start; }
@media (min-width: 1024px) { .book__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.panel .core { padding: clamp(22px, 3.4vw, 40px); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--tint-2); transition: background-color 0.4s var(--ease); }
.steps li.is-done { background: var(--accent); }
.bk-step { display: grid; gap: 22px; }
.bk-step h2 { font-family: var(--f-serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.05; }
.bk-step__kicker { color: var(--accent-fg); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.opts { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.opt__box strong { grid-column: 1; font-size: 17px; font-weight: 500; }
.opt__box span { grid-column: 1; color: var(--ink-2); font-size: 14.5px; }
.opt__box em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--f-serif); font-size: 26px; font-style: normal; font-weight: 600; }
.opt input:checked + .opt__box { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--accent-fg); outline-offset: 3px; }

.cal { max-width: 560px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__month { font-family: var(--f-serif); font-size: 26px; font-weight: 600; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--tint-2); cursor: pointer; }
.cal__nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 14px; }
.cal__dow { padding: 6px 0; color: var(--ink-3); font-size: 12px; text-align: center; }
.day {
  display: grid;
  place-items: center;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.day:hover:not(:disabled) { background: var(--tint-2); }
.day:disabled { color: var(--ink-3); opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
.day[aria-pressed="true"], .day[aria-pressed="true"]:hover { background: var(--navy); color: #f4f1ea; }
.day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-3); font-size: 13px; }

.guests { display: flex; align-items: center; gap: 18px; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.stepper button { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--tint-2); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper svg { width: 18px; height: 18px; }
.stepper output { min-width: 42px; text-align: center; font-family: var(--f-serif); font-size: 28px; font-weight: 600; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r-input);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 16px;
  transition: box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.field__help { color: var(--ink-3); font-size: 13px; }
.field__err { color: var(--danger); font-size: 13px; font-weight: 500; }
.field__err:empty { display: none; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bk-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }

.summary { position: sticky; top: 104px; }
.summary .core { padding: 26px; }
.summary h2 { font-family: var(--f-serif); font-size: 26px; font-weight: 600; }
.summary dl { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary dt { color: var(--ink-3); }
.summary dd { text-align: right; }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 18px; }
.summary__total strong { font-family: var(--f-serif); font-size: 40px; font-weight: 600; line-height: 1; }
.summary p { margin-top: 14px; color: var(--ink-3); font-size: 13px; }

.ticket { display: grid; gap: 18px; text-align: left; }
.ticket__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.ticket__icon svg { width: 28px; height: 28px; }
.ticket dl { display: grid; border-top: 1px dashed var(--line-strong); }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.ticket dt { color: var(--ink-3); }

/* ---------- contact ---------- */
.ct-grid { display: grid; gap: 14px; }
.ct-card { display: block; text-decoration: none; }
.ct-card .shell, .ct-card .core { height: 100%; }
.ct-card .core { display: grid; align-content: space-between; gap: 32px; padding: 24px; min-height: 200px; }
.ct-card__top { display: flex; justify-content: space-between; }
.ct-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--tint-2); }
.ct-card__icon svg { width: 26px; height: 26px; }
.ct-card__label { color: var(--ink-3); font-size: 14px; }
.ct-card__value { display: block; margin-top: 4px; font-family: var(--f-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.ct-card:hover .go { background: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.ct-card--main .core { background: var(--navy); }
.ct-card--main .go { background: var(--accent); color: var(--accent-ink); }
@media (min-width: 900px) { .ct-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }

.meet { display: grid; gap: 40px; align-items: start; }
.meet .core { aspect-ratio: 4 / 3; }
.meet iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.meet__info { display: grid; gap: 22px; margin-top: 28px; }
.meet__info li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; }
.meet__info svg { grid-row: span 2; width: 22px; height: 22px; color: var(--accent-fg); margin-top: 2px; }
.meet__info strong { font-weight: 500; }
.meet__info p { color: var(--ink-2); }
@media (min-width: 1024px) { .meet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--f-serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; transition: transform 0.5s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 64ch; padding-bottom: 24px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.lost { min-height: 100dvh; display: grid; align-content: center; gap: 28px; padding-block: 120px 64px; }
.lost__title { font-size: clamp(3.4rem, 9vw, 9rem); }
.lost p { max-width: 42ch; color: var(--ink-2); }

/* ---------- motion: initial states only when JS runs and motion is allowed ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(44px); }
  .js .line__in { transform: translateY(110%); }
  .js [data-hero-fade] { opacity: 0; transform: translateY(22px); }

  .js .curtain { position: fixed; inset: 0; z-index: var(--z-pre); display: block; visibility: hidden; }
  .js .curtain.is-active, .js.is-entering .curtain { visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
