/* ========================================
   HOMEPAGE
   ======================================== */

:root {
  --sand:       #fbf6ee;
  --sand-deep:  #f3e9da;
  --coral:      #ff7a59;
  --coral-ink:  #c2451f;   /* coral that passes contrast on light backgrounds */
  --amber:      #ffb347;
  --sun:        #ffd27a;
  --teal-ink:   #00718b;   /* teal that passes contrast on light backgrounds */
  --ocean-1:    #061a33;
  --ocean-2:    #0b2f57;
  --ocean-3:    #0e4a6f;
  --sunset:     linear-gradient(100deg, var(--coral) 0%, var(--amber) 55%, var(--sun) 100%);
  --font-hand:  'Caveat', 'Segoe Print', cursive;
}

html { background: #061727; } /* overscroll past the dark hero / footer stays dark */
.home { background: var(--sand); }
.home main { overflow-x: hidden; overflow-x: clip; }

.home .section-eyebrow { color: var(--teal-ink); }
.home .section-eyebrow::before { background: var(--coral); }
.home .section-header .section-heading::after { background: var(--sunset); }

.section-sub {
  max-width: 36em;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
}

.on-dark .section-eyebrow { color: var(--sun); }
.on-dark .section-heading { color: var(--white); }
.on-dark .section-sub { color: rgba(255,255,255,0.72); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.home a:focus-visible,
.home button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* Scroll reveal (main.js adds .js, then .is-visible as things scroll in) */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }


/* ========================================
   BUTTONS
   ======================================== */
.btn-sunset {
  background: var(--sunset);
  color: var(--navy);
  box-shadow: 0 12px 30px -12px rgba(255,122,89,0.75);
}
.btn-sunset:hover {
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(255,122,89,0.9);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.38);
}
.btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.btn .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--transition);
}
.btn:hover .arrow { transform: translateX(4px); }


/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  padding: 150px 0 190px;
  background:
    radial-gradient(70% 60% at 80% 32%, rgba(255,140,90,0.2) 0%, transparent 62%),
    linear-gradient(180deg, var(--ocean-1) 0%, var(--ocean-2) 55%, var(--ocean-3) 100%);
}

/* faint nautical-chart grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 25%, transparent 75%);
  pointer-events: none;
}

.hero-sun {
  position: absolute;
  z-index: -1;
  top: 96px;
  right: 7%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,140,0.9) 0%, rgba(255,160,100,0.6) 36%, rgba(255,122,89,0.18) 60%, transparent 70%);
  opacity: 0.5;
  animation: sun-breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sun-breathe {
  50% { scale: 1.06; opacity: 0.62; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 26px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
}
.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(255,210,122,0.22);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-title em {
  font-style: italic;
  background: var(--sunset);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: none;
  padding-right: 0.08em; /* keep the italic overhang inside the gradient */
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,210,122,0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23ffd27a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---- Collage ---- */
.hero-collage {
  position: relative;
  height: 540px;
}

.photo-card {
  position: absolute;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 32px 60px -22px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.14);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card--ship {
  top: 0;
  right: 2%;
  width: 60%;
  aspect-ratio: 3 / 4;
  rotate: 4deg;
}

.polaroid {
  position: relative;
  margin: 0;
  padding: 10px 10px 0;
  background: #fffdf8;
  border-radius: 4px;
  box-shadow: 0 18px 40px -16px rgba(6,23,43,0.5), 0 2px 6px rgba(6,23,43,0.08);
}
.polaroid img {
  width: 100%;
  height: auto; /* the width/height attributes would otherwise pin the height */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.polaroid-cap {
  display: block;
  padding: 8px 4px 12px;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.1;
  text-align: center;
  color: #263445;
}
/* strip of tape */
.polaroid::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 24px;
  translate: -50% 0;
  rotate: -4deg;
  background: rgba(255,226,160,0.75);
  box-shadow: 0 1px 3px rgba(6,23,43,0.12);
}

.polaroid--hero {
  position: absolute;
  z-index: 2;
  top: 19%;
  left: 2%;
  width: 44%;
  rotate: -7deg;
}

.hand-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--sun);
  rotate: -6deg;
  pointer-events: none;
}
.hand-note svg {
  width: 58px;
  height: 46px;
  margin-top: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hand-note--hero { top: 3%; left: -4%; }

/* ---- Boarding pass ---- */
.pass-wrap {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 6px;
  width: 78%;
  rotate: -3deg;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,0.42));
}

.boarding-pass {
  --stub: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  background: #fffdf8;
  color: var(--navy);
  border-radius: 16px;
  -webkit-mask:
    radial-gradient(circle 10px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 10px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 10px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 10px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}

.bp-main { padding: 15px 16px 16px 20px; min-width: 0; }

.bp-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.bp-top span:last-child { color: var(--gray); }

.bp-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.bp-to { text-align: right; }

.bp-k {
  display: block;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #66788c;
}
.bp-v {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
}
.bp-fee { color: var(--coral-ink); }

.bp-line {
  flex: 1;
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(13,43,78,0.3) 0 5px, transparent 5px 10px);
}
.bp-line svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 23px;
  translate: -50% -62%;
  background: #fffdf8;
  padding: 0 4px;
  box-sizing: content-box;
}

.bp-meta { display: flex; gap: 26px; }

.bp-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 15px 12px;
  border-left: 2px dashed rgba(13,43,78,0.18);
  text-align: center;
}

.barcode {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--navy);
  background: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 4px,
    currentColor 4px 5px, transparent 5px 8px,
    currentColor 8px 11px, transparent 11px 12px,
    currentColor 12px 13px, transparent 13px 16px);
  opacity: 0.85;
}

/* gentle bobbing on the water */
.float { animation: float 7s ease-in-out infinite; }
.float--slow { animation-duration: 9s; animation-delay: -3s; }
.float--fast { animation-duration: 6s; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* ---- Waves ---- */
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  pointer-events: none;
}
.hero-waves svg { display: block; width: 100%; height: 100%; }
.wave-parallax > use { animation: wave-drift 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite; }
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 9s; }
.wave-parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 12s; }
.wave-parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 15s; }
.wave-parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 22s; }
@keyframes wave-drift {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}


/* ========================================
   ABOUT
   ======================================== */
.about { padding: 96px 0 64px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 84px;
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.about-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% 24px 24px / 40% 40% 24px 24px;
  box-shadow: 0 32px 64px -30px rgba(13,43,78,0.6);
}
.about-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.about-arch::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1.5px solid rgba(255,255,255,0.6);
  pointer-events: none;
}

.spin-badge {
  position: absolute;
  left: -36px;
  bottom: 70px;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 18px 34px -14px rgba(13,43,78,0.7);
  --ship-hull: var(--sun);
  --ship-deck: var(--white);
  --ship-line: var(--navy);
}
.spin-badge .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 24s linear infinite;
}
.spin-badge text {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: var(--sun);
}
.spin-badge .badge-ship { width: 50px; height: 32px; }
@keyframes spin { to { rotate: 360deg; } }

.about-host {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 32px -16px rgba(13,43,78,0.45);
}
.about-host img { width: 58px; height: 58px; }
.about-host span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #66788c;
}
.about-host strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy);
}

.about-copy .lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
}

.perks {
  display: grid;
  gap: 12px;
  margin: 28px 0 26px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid rgba(13,43,78,0.07);
  border-radius: 16px;
  box-shadow: 0 10px 26px -20px rgba(13,43,78,0.55);
}
.perk-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,122,89,0.16), rgba(255,210,122,0.32));
  color: var(--coral-ink);
}
.perk-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perk strong { display: block; color: var(--navy); font-size: 0.98rem; }
.perk span { font-size: 0.88rem; color: var(--text-light); }

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.cred-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 50px;
  background: var(--sand-deep);
  border-left: 3px solid var(--teal-ink);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}


/* ========================================
   TICKER
   ======================================== */
.ticker-wrap { padding: 30px 0; }

.ticker {
  display: flex;
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  rotate: -2deg;
  background: var(--sunset);
  box-shadow: 0 16px 30px -20px rgba(194,69,31,0.8);
}

.ticker-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 26px;
  min-width: 100%;
  padding: 15px 26px 15px 0;
  animation: marquee 70s linear infinite;
}
.ticker-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  white-space: nowrap;
  color: var(--navy);
}
.ticker-track .star { font-style: normal; font-size: 0.9em; color: rgba(13,43,78,0.5); }

@keyframes marquee {
  to { transform: translateX(-100%); }
}


/* ========================================
   POSTCARDS
   ======================================== */
.postcards { padding: 56px 0 110px; }

.postcard-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 30px 22px;
  margin-top: 20px;
  padding-top: 14px;
}
.postcard-row .polaroid {
  width: 196px;
  rotate: var(--r, 0deg);
  transition: rotate 0.35s var(--ease-spring), translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.postcard-row .polaroid:nth-child(even) { margin-top: 30px; }
.postcard-row .polaroid:hover {
  z-index: 2;
  rotate: 0deg;
  translate: 0 -8px;
  box-shadow: 0 28px 50px -18px rgba(13,43,78,0.5);
}
.postcard-row .polaroid-cap { font-size: 1.32rem; }


/* ========================================
   HOW IT WORKS
   ======================================== */
.voyage {
  padding: 110px 0 104px;
  background: var(--white);
  --ship-hull: var(--navy);
  --ship-deck: var(--white);
  --ship-line: var(--navy);
}

.voyage-route {
  display: block;
  width: 100%;
  height: auto;
  margin: 6px 0 10px;
  overflow: visible;
}
.voyage-line {
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 3;
  stroke-dasharray: 1 11;
  stroke-linecap: round;
  opacity: 0.6;
}
.voyage-stop circle {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 2.5;
  transition: fill 0.5s var(--ease), stroke 0.5s var(--ease);
}
.voyage-stop text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  fill: var(--navy);
  text-anchor: middle;
  dominant-baseline: central;
}
.voyage-ship { opacity: 0; transition: opacity 0.4s var(--ease); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.step {
  text-align: center;
  padding: 0 26px;
}
.step-num { display: none; }
.step h3 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p {
  max-width: 24em;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* the ship docks at each stop as the section scrolls into view */
.voyage.is-sailing .voyage-ship { opacity: 1; }
.voyage.is-sailing .voyage-stop circle { fill: var(--sun); stroke: var(--coral-ink); }
.voyage.is-sailing .voyage-stop:nth-of-type(2) circle { transition-delay: 2s; }
.voyage.is-sailing .voyage-stop:nth-of-type(3) circle { transition-delay: 4.7s; }

.js .voyage .step {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
}
.js .voyage.is-sailing .step { opacity: 1; translate: 0 0; }
.js .voyage.is-sailing .step:nth-child(2) { transition-delay: 2s; }
.js .voyage.is-sailing .step:nth-child(3) { transition-delay: 4.7s; }


/* ========================================
   SERVICES
   ======================================== */
.services { padding: 110px 0; }

.services-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 16px;
}

.svc-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  color: var(--white);
  background: var(--navy-mid);
  box-shadow: 0 22px 44px -28px rgba(13,43,78,0.65);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-card:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 30px 54px -26px rgba(13,43,78,0.75);
}
.svc-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.svc-card:hover img { transform: scale(1.06); }
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(4,16,34,0.94) 0%, rgba(13,43,78,0.42) 52%, rgba(13,43,78,0.04) 100%);
}

.svc-ocean, .svc-beach { grid-column: span 2; }
.svc-river img  { object-position: center 60%; }
.svc-beach img  { object-position: center 70%; }

.svc-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 28px;
}
.svc-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--sunset);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.svc-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 6px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.svc-ocean h3 { font-size: 2rem; }
.svc-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
}
.svc-detail {
  max-width: 30em;
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sun);
}
.svc-cta .arrow { transition: transform var(--transition); }
.svc-card:hover .svc-cta .arrow { transform: translateX(5px); }


/* ========================================
   PORT MAP
   ======================================== */
.ports-world {
  position: relative;
  padding: 130px 0 110px;
  color: var(--white);
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(30,96,145,0.45) 0%, transparent 70%),
    linear-gradient(180deg, #0a2747 0%, #071c36 100%);
}

.divider-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 64px;
  display: block;
}

.world {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 46px;
}
.world-map { display: block; width: 100%; height: auto; }

.hotspot {
  position: absolute;
  z-index: 1;
  top: var(--y);
  left: var(--x);
  display: flex;
  align-items: center;
  gap: 8px;
  translate: -7px -50%;
  color: var(--white);
}
.hotspot--left {
  flex-direction: row-reverse;
  translate: calc(-100% + 7px) -50%;
}
.hotspot-pin {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,122,89,0.35);
}
.hotspot-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,170,120,0.75);
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping {
  0%   { scale: 0.6; opacity: 1; }
  100% { scale: 2.2; opacity: 0; }
}
.hotspot-label {
  padding: 5px 11px;
  border-radius: 50px;
  background: rgba(6,23,43,0.82);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.hotspot:hover,
.hotspot:focus-visible { color: var(--navy); }
.hotspot:hover .hotspot-label,
.hotspot:focus-visible .hotspot-label {
  background: var(--sun);
  border-color: var(--sun);
}

.region-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 44px;
}
.region-list a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.region-list a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,210,122,0.5);
  transform: translateY(-3px);
}
.region-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.region-list span { font-size: 0.8rem; color: rgba(255,255,255,0.68); }

.map-cta { text-align: center; }


/* ========================================
   CRUISE LINES
   ======================================== */
.lines {
  padding: 64px 0 70px;
  background: var(--white);
  text-align: center;
}

.logo-marquee {
  display: flex;
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }

.logo-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: 64px;
  min-width: 100%;
  padding-right: 64px;
  animation: marquee 50s linear infinite;
}
.logo-track img {
  width: auto;
  height: 40px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.35s var(--ease);
}
.logo-track img:hover { filter: none; }


/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { padding: 100px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 34px 30px;
  background: var(--white);
  border: 1px solid rgba(13,43,78,0.06);
  border-radius: 22px;
  box-shadow: 0 26px 50px -34px rgba(13,43,78,0.6);
  rotate: -1deg;
}
.testimonial-card:nth-child(2) { rotate: 1deg; }
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 26px;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--coral);
}
.stars { color: var(--amber); letter-spacing: 3px; font-size: 0.95rem; }
.testimonial-card blockquote {
  flex: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}


/* ========================================
   CTA TICKET
   ======================================== */
.cta {
  padding: 110px 0 120px;
  background:
    radial-gradient(60% 80% at 12% 70%, rgba(0,168,204,0.16) 0%, transparent 60%),
    radial-gradient(50% 60% at 92% 18%, rgba(255,122,89,0.16) 0%, transparent 55%),
    linear-gradient(140deg, #061727 0%, var(--navy) 45%, var(--navy-mid) 100%);
}

.ticket-wrap {
  max-width: 980px;
  margin: 0 auto;
  filter: drop-shadow(0 36px 50px rgba(0,0,0,0.45));
}

.ticket {
  --stub: 240px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  overflow: hidden;
  background: var(--sand);
  color: var(--navy);
  border-radius: 28px;
  -webkit-mask:
    radial-gradient(circle 18px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 18px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 18px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 18px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}

.ticket-main { padding: 54px 56px 50px; }
.ticket-main h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 12px;
}
.ticket-lead {
  max-width: 32em;
  margin-bottom: 30px;
  font-size: 1.02rem;
  color: var(--text-light);
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}
.ticket-contact { display: grid; gap: 6px; }
.ticket-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.ticket-contact a:hover { color: var(--coral-ink); }
.ticket-contact svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--coral-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 26px;
  border-left: 2px dashed rgba(13,43,78,0.22);
  background: linear-gradient(180deg, rgba(255,210,122,0.28), rgba(255,122,89,0.16));
  text-align: center;
}
.stub-k {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.stub-v {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.05;
}
.stub-note { font-size: 0.82rem; color: var(--text-light); }
.ticket-stub .barcode { width: 150px; height: 46px; margin-top: 14px; }


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .hero-grid { gap: 36px; }
  .hand-note--hero { left: 0; }
}

@media (max-width: 960px) {
  .hero { padding: 124px 0 160px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-collage { width: 100%; max-width: 470px; height: 470px; margin: 0 auto; }
  .polaroid--hero { top: 9%; }
  .hand-note--hero { top: -3%; }
  .bp-top span:last-child { display: none; }
  .hero-sun { top: auto; bottom: 150px; right: 50%; translate: 50% 0; width: 440px; height: 440px; }

  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-visual { max-width: 340px; }

  .region-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .postcard-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 6px -24px 0;
    padding: 26px 24px 34px;
    scrollbar-width: none;
  }
  .postcard-row::-webkit-scrollbar { display: none; }
  .postcard-row .polaroid { flex: 0 0 min(60%, 230px); scroll-snap-align: center; }
  .postcard-row .polaroid:nth-child(even) { margin-top: 0; }

  .voyage-route { display: none; }
  .steps {
    position: relative;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 460px;
    margin: 0 auto;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    border-left: 3px dotted rgba(0,113,139,0.45);
  }
  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
    padding: 0;
    text-align: left;
  }
  .step-num {
    position: relative;
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sun);
    border: 2.5px solid var(--coral-ink);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
  }
  .step p { margin: 0; }
  .js .voyage.is-sailing .step:nth-child(2) { transition-delay: 0.15s; }
  .js .voyage.is-sailing .step:nth-child(3) { transition-delay: 0.3s; }

  .services-layout { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .svc-ocean, .svc-beach { grid-row: span 1; }

  .world { margin: 28px -24px 40px; }
  .hotspot { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-main { padding: 40px 30px 34px; }
  .ticket-stub {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 22px 30px 26px;
    border-left: 0;
    border-top: 2px dashed rgba(13,43,78,0.22);
    text-align: left;
  }
  .ticket-stub .barcode { width: 120px; height: 38px; margin-top: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 112px 0 140px; }
  .hero-collage { height: 400px; }
  .photo-card--ship { width: 58%; right: 0; }
  .polaroid--hero { width: 47%; top: 5%; left: 0; }
  .polaroid-cap { font-size: 1.2rem; }
  .hand-note--hero { top: -10%; left: 2%; font-size: 1.45rem; }
  .hand-note svg { width: 46px; height: 38px; }
  .pass-wrap { width: 94%; right: 3%; bottom: 0; }
  .boarding-pass { --stub: 78px; }
  .bp-v { font-size: 1.05rem; }
  .bp-meta { gap: 18px; }
  .hero-sun { width: 340px; height: 340px; bottom: 120px; }

  .about { padding-top: 72px; }
  .spin-badge { left: -12px; width: 108px; height: 108px; }
  .spin-badge text { font-size: 11.5px; }
  .about-host { right: -6px; }

  .services-layout { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .svc-ocean, .svc-beach { grid-column: span 1; }

  .region-list { grid-template-columns: 1fr; }

  .stub-v { font-size: 1.4rem; }
}


/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
  .logo-track { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0; }
  .logo-track[aria-hidden="true"] { display: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}
