:root {
  --cream: #F7F6F1;
  --navy: #102C3A;
  --teal: #0D7779;
  --coral: #E3836E;
}

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
}

.font-serif {
  font-family: 'DM Serif Display', serif;
}

.nav-link {
  transition: color .15s ease;
}
.nav-link:hover { color: var(--teal); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  padding: .6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .875rem;
  transition: opacity .15s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: .6rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .875rem;
  display: inline-block;
  transition: background .15s ease, color .15s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-secondary:active { transform: scale(0.97); }

.card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16,44,58,.06);
  border: 1px solid rgba(16,44,58,.06);
}

.badge {
  display: inline-block;
  background: rgba(13,119,121,.1);
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: .4rem;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

details[open] summary .chev { transform: rotate(180deg); }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.italic-accent {
  font-style: italic;
  color: var(--coral);
}

/* Full-bleed photographic hero, used on pages with real photography (home, yacht detail). */
.hero-full {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,44,58,.35) 0%, rgba(16,44,58,.55) 55%, rgba(16,44,58,.92) 100%);
}
.hero-full > .hero-full-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
@media (max-width: 640px) {
  .hero-full { min-height: 62vh; }
}

.btn-pill-white {
  background: #fff;
  color: var(--navy);
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow .15s ease;
}
.btn-pill-white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-pill-white:active { transform: scale(0.97); }

/* Scrolling marquee divider */
.marquee {
  background: var(--navy);
  color: rgba(247,246,241,.85);
  overflow: hidden;
  white-space: nowrap;
  padding: .85rem 0;
  border-top: 1px solid rgba(247,246,241,.1);
  border-bottom: 1px solid rgba(247,246,241,.1);
}
.marquee-track {
  display: inline-block;
  animation: marquee-scroll 28s linear infinite;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  letter-spacing: .04em;
}
.marquee-track span {
  margin: 0 1.75rem;
  color: var(--coral);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Dark hover-reveal experience card */
.dark-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  isolation: isolate;
}
.dark-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,44,58,.15) 0%, rgba(16,44,58,.9) 100%);
  z-index: 0;
}
.dark-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  z-index: -1;
}
.dark-card:hover img { transform: scale(1.06); }
.dark-card > * { position: relative; z-index: 1; }

/* Mobile nav menu: animate open/close via grid-template-rows so an unknown
   content height can still transition (no hardcoded pixel height needed).
   Scoped to below the `md` breakpoint (767.98px) so this never competes in
   specificity with Tailwind's `.md:hidden { display: none }` at desktop —
   an unscoped `#mobileMenu { display: grid }` would win over that class
   rule at any width, since an ID selector always outranks a class one. */
@media (max-width: 767.98px) {
  #mobileMenu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #mobileMenu[data-open] {
    grid-template-rows: 1fr;
  }
}
#mobileMenu > .mobile-menu-inner {
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  #mobileMenu { transition: none; }
}
