/* ============================================
   ONE OF A KIND — LUXURY YACHT CHARTER
   Production Stylesheet | Mobile-First
   ============================================ */

/* ─── CSS Variables ─── */
:root {
  --navy-deep: #0A1A2F;
  --navy: #1B3461;
  --cyan-soft: #8FCFE0;
  --ivory: #F4EFE6;
  --white: #FFFFFF;
  --charcoal: #1A1A1A;
  --mist: #D8DDE3;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-primary: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 300ms;
  --duration-medium: 600ms;
  --duration-slow: 1200ms;

  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
  --space-xl: 6rem;     /* 96px */
  --space-2xl: clamp(6rem, 12vw, 12rem);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; }

/* ─── Accessibility ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 10000;
  padding: var(--space-xs) var(--space-sm);
  background: var(--navy-deep);
  color: var(--ivory);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  transition: top var(--duration-fast) var(--ease-primary);
}
.skip-link:focus { top: 0; outline: 2px solid var(--cyan-soft); outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--cyan-soft); outline-offset: 2px; }
@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;
  }
}

/* ─── Typography Scale ─── */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
}
.body-lg {
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  line-height: 1.65;
}
.caption {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.4;
}
.text-italic { font-style: italic; }
.text-cyan { color: var(--cyan-soft); }
.text-ivory { color: var(--ivory); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--mist); }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}
@media (min-width: 641px) { .container { padding-inline: var(--space-lg); } }
@media (min-width: 1025px) { .container { padding-inline: var(--space-xl); } }

.section-padding { padding-block: var(--space-2xl); }
.bg-navy-deep { background-color: var(--navy-deep); }
.bg-navy { background-color: var(--navy); }
.bg-ivory { background-color: var(--ivory); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color var(--duration-fast) var(--ease-primary),
              background-color var(--duration-fast) var(--ease-primary),
              border-color var(--duration-fast) var(--ease-primary);
}
.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-primary);
}
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: var(--ivory);
  color: var(--navy);
  border: 1px solid var(--ivory);
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--ivory);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ivory);
  border: 1px solid var(--ivory);
}
.btn-ghost:hover {
  background-color: var(--ivory);
  color: var(--navy);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
}
.btn-navy:hover {
  background-color: transparent;
  color: var(--navy);
}

/* ─── Links ─── */
.link-animated {
  position: relative;
  display: inline-block;
}
.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-primary);
}
.link-animated:hover::after { transform: scaleX(1); }

/* ─── Loading Screen ─── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.loading-wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  letter-spacing: 0.05em;
  display: flex;
  gap: 0.15em;
}
.loading-letter { display: inline-block; opacity: 0; }
.loading-hairline {
  width: 120px;
  height: 1px;
  background: var(--cyan-soft);
  margin-top: var(--space-md);
  transform: scaleX(0);
  transform-origin: center;
}

/* ─── Custom Cursor ─── */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--cyan-soft);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-primary),
              height 0.3s var(--ease-primary),
              background 0.3s var(--ease-primary);
}
.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--cyan-soft);
}
@media (pointer: coarse) { .custom-cursor { display: none !important; } }
body:has(.custom-cursor) { cursor: none; }
body:has(.custom-cursor) a, body:has(.custom-cursor) button { cursor: none; }

/* ─── Navigation ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color var(--duration-fast) var(--ease-primary),
              transform var(--duration-fast) var(--ease-primary),
              color var(--duration-fast) var(--ease-primary);
}
.site-nav.nav-hidden { transform: translateY(-100%); }
.site-nav.nav-solid {
  background-color: var(--ivory);
  box-shadow: 0 1px 0 var(--mist);
}
.site-nav.nav-solid .nav-link,
.site-nav.nav-solid .nav-logo { color: var(--navy); }
.site-nav.nav-solid .lang-toggle { color: var(--navy); border-color: var(--navy); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo-img {
  display: block;
  height: clamp(2rem, 4.5vw, 2.5rem);
  width: auto;
}
/* Default (transparent nav over dark hero): show white logo */
.nav-logo-img--dark { display: none; }
.nav-logo-img--light { display: block; }
/* Solid nav (ivory background): show dark logo */
.site-nav.nav-solid .nav-logo-img--light { display: none; }
.site-nav.nav-solid .nav-logo-img--dark { display: block; }
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}
.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ivory);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-primary);
}
.nav-link:hover::after { transform: scaleX(1); }

.lang-toggle {
  display: flex;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ivory);
  border: 1px solid rgba(244, 239, 230, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.lang-btn {
  padding: 4px 8px;
  transition: background 200ms, color 200ms;
}
.lang-btn.active { background: rgba(244, 239, 230, 0.15); }
.lang-btn:hover:not(.active) { background: rgba(244, 239, 230, 0.08); }

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  color: var(--ivory); /* light lines — visible over the dark hero */
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease-primary), opacity 300ms;
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Dark lines on the solid (ivory) nav bar; light lines when the nav is transparent.
   The button sits on the nav bar (above the menu overlay), so this same logic keeps
   the open "X" readable too — navy on the ivory bar, ivory over the dark hero. */
.site-nav.nav-solid .mobile-menu-btn { color: var(--navy); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-primary);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav .nav-link { font-size: 1.5rem; color: var(--ivory); }

@media (min-width: 1025px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-nav { display: none; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,47,0.4) 0%, rgba(10,26,47,0.7) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(5rem, 12vh, 10rem);
  text-align: center;
}
.hero-eyebrow { margin-bottom: var(--space-sm); }
.hero-headline { margin-bottom: var(--space-md); }
.hero-headline .line-1,
.hero-headline .line-2 { display: block; }
.hero-headline .line-2 { font-style: italic; }
.hero-sub { margin-bottom: var(--space-lg); max-width: 50ch; margin-inline: auto; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: var(--cyan-soft);
  transform-origin: top;
  animation: scrollDraw 2s var(--ease-primary) infinite;
}
@keyframes scrollDraw {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Manifesto ─── */
.manifesto-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1025px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
}
.manifesto-text { max-width: 38ch; }
.manifesto-text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.5;
  color: var(--navy);
}
.manifesto-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.manifesto-image img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

/* ─── Experiences (Horizontal Scroll) ─── */
.experiences-section {
  position: relative;
  overflow: hidden;
}
.experiences-header { margin-bottom: var(--space-xl); }
.experiences-track-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.experiences-track {
  display: flex;
  gap: var(--space-lg);
  padding-inline: var(--space-md);
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;              /* Firefox */
}
.experiences-track::-webkit-scrollbar { display: none; }  /* Chrome / Safari */
@media (min-width: 641px) { .experiences-track { padding-inline: var(--space-lg); } }
@media (min-width: 1025px) { .experiences-track { padding-inline: var(--space-xl); } }

.experience-card {
  flex-shrink: 0;
  width: 85vw;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
/* Give the text more room on small screens so the number + title aren't clipped */
@media (max-width: 640px) {
  .experience-card { aspect-ratio: 9 / 16; }
  .exp-content { padding: var(--space-md); }
  .exp-num { font-size: 2.75rem; margin-bottom: 0.25rem; }
  .exp-title { font-size: 1.35rem; margin-bottom: var(--space-xs); }
  .exp-desc { font-size: 0.85rem; line-height: 1.45; margin-bottom: var(--space-sm); }
}

/* ─── Experiences carousel controls ─── */
.exp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 233, 0.35);
  background: rgba(10, 26, 47, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms var(--ease-primary), border-color 200ms var(--ease-primary), opacity 200ms var(--ease-primary);
}
.exp-arrow:hover { background: rgba(10, 26, 47, 0.9); border-color: var(--cyan-soft); }
.exp-arrow--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.exp-arrow--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.exp-arrow[disabled] { opacity: 0.3; cursor: default; }
@media (max-width: 767px) { .exp-arrow { display: none; } }

.exp-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}
.exp-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(244, 239, 233, 0.3);
  cursor: pointer;
  transition: background 200ms var(--ease-primary), transform 200ms var(--ease-primary);
}
.exp-dot:hover { background: rgba(244, 239, 233, 0.55); }
.exp-dot.active { background: var(--cyan-soft); transform: scale(1.3); }

.exp-cta {
  text-align: center;
  margin-top: var(--space-lg);
}
.exp-cta-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}
.exp-cta-price .exp-cta-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--mist);
  margin-top: 0.5rem;
}
.experience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Dark at the bottom (where the text sits) → light at the top so the photo stays vibrant */
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 38%,
    rgba(0, 0, 0, 0.20) 70%,
    rgba(0, 0, 0, 0.12) 100%);
  z-index: 1;
}
.experience-card:hover .exp-img { transform: scale(1.05); }
.exp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-primary);
}
.exp-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}
.exp-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--cyan-soft);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.exp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ivory);
  margin-bottom: var(--space-sm);
}
.exp-desc {
  font-size: 0.9375rem;
  color: var(--mist);
  max-width: 40ch;
  margin-bottom: var(--space-md);
}
.exp-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-soft);
}

/* ─── Boat Preview ─── */
.boat-preview-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1025px) {
  .boat-preview-grid { grid-template-columns: 3fr 2fr; }
}
.boat-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.boat-img-wrap {
  overflow: hidden;
  position: relative;
}
.boat-img-wrap:nth-child(1) { transform: translateY(2rem); }
.boat-img-wrap:nth-child(2) { transform: translateY(-1rem); }
.boat-img-wrap:nth-child(3) { transform: translateY(1rem); grid-column: 1 / -1; }
.boat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-primary);
}
.boat-img-wrap:hover img { transform: scale(1.04); }
.boat-img-wrap:active img { transform: scale(0.97); }

.boat-specs-preview { max-width: 40ch; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--mist);
}
.spec-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
}
.spec-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--navy);
}

/* ─── Testimonial ─── */
.testimonial-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.testimonial-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.testimonial-bg img,
.testimonial-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.5);
}
.testimonial-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 65ch;
  padding: var(--space-xl);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: var(--space-lg);
}
.testimonial-author {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* ─── Closing CTA ─── */
.cta-section { text-align: center; }
.cta-section .container { max-width: 70ch; }
.cta-headline { margin-bottom: var(--space-sm); }
.cta-sub { margin-bottom: var(--space-lg); color: var(--mist); }
.cta-contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  font-size: 0.875rem;
  color: var(--mist);
}
.cta-contact-line a { display: inline-flex; align-items: center; gap: var(--space-xs); }
.cta-contact-line a:hover { color: var(--cyan-soft); }

/* ─── Footer ─── */
.footer {
  position: relative;
  padding-top: var(--space-xl);
}
.footer-divider {
  height: 1px;
  background: var(--cyan-soft);
  opacity: 0.3;
  margin-bottom: var(--space-xl);
}
.footer-grid {
  display: grid;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  align-items: center;
}
@media (min-width: 641px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1025px) {
  .footer-grid { grid-template-columns: 1fr 2fr 1fr; }
}
.footer-brand {
  display: flex;
}
.footer-logo-img {
  display: block;
  height: clamp(4rem, 9vw, 5rem);
  width: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mist);
}
.footer-links a:hover { color: var(--cyan-soft); }
.footer-social {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 221, 227, 0.2);
  border-radius: 50%;
  color: var(--mist);
  transition: border-color var(--duration-fast), color var(--duration-fast);
}
.footer-social a:hover {
  border-color: var(--cyan-soft);
  color: var(--cyan-soft);
}
.footer-copyright {
  text-align: center;
  padding-bottom: var(--space-lg);
  font-size: 0.75rem;
  color: var(--mist);
  opacity: 0.6;
}

/* ─── Marquee ─── */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-block: var(--space-sm);
  border-bottom: 1px solid rgba(143, 207, 224, 0.1);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-content {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--ivory);
  opacity: 0.6;
  padding-inline: var(--space-md);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Boat Page: Hero ─── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,47,0.3) 0%, rgba(10,26,47,0.6) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-xl);
}

/* ─── Specs Grid ─── */
.specs-grid {
  display: grid;
  gap: 1px;
  background: var(--mist);
}
@media (min-width: 641px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-tile {
  background: var(--ivory);
  padding: var(--space-lg);
  text-align: center;
}
.spec-tile-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.spec-tile-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}
.spec-tile-desc {
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.7;
}

/* ─── Amenities ─── */
.amenities-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 1025px) {
  .amenities-grid { grid-template-columns: 1fr 1fr; }
}
.amenities-text { max-width: 50ch; }
.amenities-list {
  display: grid;
  gap: var(--space-sm);
}
.amenity-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--ivory);
}
.amenity-bullet {
  width: 24px;
  height: 1px;
  background: var(--cyan-soft);
  flex-shrink: 0;
}

/* ─── Offer (Included / Upgrades / Booking) ─── */
.offer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
@media (min-width: 769px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
}
.offer-col-title {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-soft);
  margin-bottom: var(--space-md);
}
.offer-list {
  display: grid;
  gap: var(--space-sm);
}
.offer-booking-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ivory);
  margin-bottom: var(--space-md);
  max-width: 34ch;
}
.offer-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ivory);
  margin-bottom: var(--space-xs);
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 641px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .gallery-item:nth-child(1) { grid-row: span 2; }
  .gallery-grid .gallery-item:nth-child(4) { grid-row: span 2; }
  .gallery-grid .gallery-item:nth-child(6) { grid-column: span 2; }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-primary);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-primary);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 0.2; }
.gallery-item:active img { transform: scale(0.97); }

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 26, 47, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-medium) var(--ease-primary);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform var(--duration-medium) var(--ease-primary);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--ivory);
  padding: var(--space-sm);
  transition: color var(--duration-fast);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--cyan-soft); }
.lightbox-close { top: var(--space-sm); right: var(--space-sm); font-size: 2rem; }
.lightbox-prev { left: var(--space-sm); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-sm); top: 50%; transform: translateY(-50%); }

/* ─── Itineraries ─── */
.itinerary-list {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 1025px) {
  .itinerary-list { grid-template-columns: repeat(3, 1fr); }
}
.itinerary-card {
  position: relative;
  padding: var(--space-lg);
  border: 1px solid rgba(143, 207, 224, 0.15);
  background: rgba(10, 26, 47, 0.3);
  transition: border-color var(--duration-fast);
}
.itinerary-card:hover { border-color: var(--cyan-soft); }
.itinerary-map {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}
.itinerary-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: var(--space-sm);
}
.itinerary-meta {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan-soft);
  margin-bottom: var(--space-md);
}
.itinerary-stop {
  font-size: 0.9375rem;
  color: var(--mist);
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 1025px) {
  .contact-grid { grid-template-columns: 3fr 2fr; }
}

/* Form */
.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}
.form-input {
  width: 100%;
  padding: var(--space-sm) 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mist);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color var(--duration-fast);
}
.form-input:focus { outline: none; border-bottom-color: var(--cyan-soft); }
.form-input::placeholder { color: transparent; }
.form-label {
  position: absolute;
  left: 0;
  top: var(--space-sm);
  font-size: 1rem;
  color: var(--charcoal);
  opacity: 0.6;
  pointer-events: none;
  transition: top var(--duration-fast) var(--ease-primary),
              font-size var(--duration-fast) var(--ease-primary),
              color var(--duration-fast);
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -0.75rem;
  font-size: 0.75rem;
  color: var(--navy);
}
.form-error {
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  font-size: 0.75rem;
  color: var(--cyan-soft);
  opacity: 0.8;
}
textarea.form-input { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}
.form-success.active { display: block; }
.success-checkmark {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}
.success-checkmark path {
  stroke: var(--cyan-soft);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.success-checkmark.animate path {
  animation: drawCheck 0.8s var(--ease-primary) forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* Contact Panel */
.contact-panel { max-width: 40ch; }
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.contact-method a:hover { color: var(--navy); }
.contact-map {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--mist);
  margin-block: var(--space-lg);
  overflow: hidden;
}
.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.response-promise {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--navy);
  margin-top: var(--space-lg);
}

/* ─── 404 Page ─── */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-404-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-404-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.page-404-content {
  position: relative;
  z-index: 2;
  max-width: 60ch;
  padding: var(--space-xl);
}
.page-404 h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--ivory);
  margin-bottom: var(--space-md);
}
.page-404 p {
  font-size: 1.125rem;
  color: var(--mist);
  margin-bottom: var(--space-xl);
}

/* ─── Lazy Load Fade ─── */
.img-lazy {
  opacity: 0;
  transition: opacity var(--duration-medium) var(--ease-primary);
}
.img-lazy.loaded { opacity: 1; }

/* ─── Word Reveal Animation Helpers ─── */
.word {
  display: inline-block;
  overflow: hidden;
}
.word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* ─── Reduced Motion Overrides ─── */
@media (prefers-reduced-motion: reduce) {
  .custom-cursor { display: none !important; }
  body { cursor: auto !important; }
  body a, body button { cursor: auto !important; }
  .scroll-cue { display: none; }
  .marquee-track { animation: none; }
  .wa-float-btn::before { animation: none !important; }
}

/* ─── WhatsApp Floating Bubble ─── */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.wa-float-label {
  display: block;
  background: #ffffff;
  color: var(--navy);
  padding: 0.6rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 14px 38px rgba(10, 26, 47, 0.28);
  max-width: 13.5rem;
  line-height: 1.3;
  position: relative;
  transition: transform 250ms var(--ease-primary);
}
/* speech-bubble tail pointing to the button */
.wa-float-label::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid #ffffff;
}
.wa-float-q {
  display: block;
  font-size: 0.7rem;
  color: var(--charcoal);
  margin-bottom: 0.1rem;
}
.wa-float-cta {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.wa-float-btn {
  position: relative;
  width: clamp(52px, 14vw, 60px);
  height: clamp(52px, 14vw, 60px);
  flex-shrink: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  transition: transform 200ms var(--ease-primary);
}
.wa-float-btn svg {
  width: 56%;
  height: 56%;
  display: block;
}
.wa-float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float:hover .wa-float-btn { transform: scale(1.06); }
.wa-float:hover .wa-float-label { transform: translateX(-2px); }
.wa-float:active .wa-float-btn { transform: scale(0.96); }

@media (max-width: 480px) {
  .wa-float-label {
    max-width: 11rem;
    padding: 0.5rem 0.8rem;
  }
  .wa-float-q { font-size: 0.66rem; }
  .wa-float-cta { font-size: 0.78rem; }
}

/* ─── Cookie Consent Banner ─── */
.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 95;
  width: min(22rem, calc(100vw - 6.5rem));
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 14px 38px rgba(10, 26, 47, 0.28);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}
.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
}
.cookie-banner-btn {
  padding: 0.55rem 1.5rem;
  font-size: 0.7rem;
}
@media (max-width: 480px) {
  .cookie-banner {
    width: calc(100vw - 2rem);
    left: 1rem;
    right: 1rem;
    bottom: 6.5rem; /* clear the WhatsApp bubble */
  }
}