/* ==========================================================================
   CDM Yachts — Design tokens
   Colors extracted from the live site's production CSS (see
   docs/audit/design-system.md) — this is the existing brand identity,
   not a new palette.
   ========================================================================== */

:root {
  --color-navy: #061138;
  --color-navy-deep: #081853;
  --color-gold: #d5ae82;
  --color-gold-deep: #b09373;
  --color-white: #ffffff;
  --color-slate: #7f8a99;
  --color-slate-light: #b5c0cf;
  --color-mist: #f0f3f7;
  --color-alert: #be1935;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.4rem;
  --space-2: 0.85rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-6: 2.5rem;
  --space-8: 3.25rem;
  --space-12: 4.5rem;
  --space-16: 6rem;

  --max-content: 1280px;
  --max-prose: 68ch;

  --radius: 2px;
  --header-height: 88px;
  --header-height-scrolled: 64px;

  --focus-ring: 0 0 0 3px rgba(213, 174, 130, 0.55);
}

@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;
  }
}

/* ==========================================================================
   Reset + base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
}

img, picture, video { max-width: 100%; height: auto; display: block; }
svg { fill: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-navy);
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 500; letter-spacing: -0.005em; }

/* Statement-scale display text for hero/feature moments — same family/weight
   as h1, larger and looser than the body type-scale calls for. */
.display-xl {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.75rem);
  color: var(--color-white);
  max-width: 18ch;
  margin: 0 0 0.4em;
}

/* Section intro — replaces the small-caps "eyebrow" label pattern with a
   quieter, larger lead line. Used site-wide going forward; older pages still
   using .eyebrow are unaffected and get migrated over time. */
.section-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--color-slate);
  max-width: 52ch;
  margin: -0.35em 0 0.9em;
}
.section--navy .section-lead { color: var(--color-slate-light); }

p { margin: 0 0 var(--space-2); max-width: var(--max-prose); }

a {
  color: inherit;
  text-decoration-color: var(--color-gold);
  text-underline-offset: 0.2em;
}
a:not([class]) { color: var(--color-navy-deep); }

button { font-family: inherit; }

/* Visible focus everywhere — never remove focus styles */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-2); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-12);
}
.section--tight { padding-block: var(--space-8); }
.section--mist { background: var(--color-mist); }
.section--navy { background: var(--color-navy); color: var(--color-white); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--color-white); }

@media (max-width: 640px) {
  .section { padding-block: var(--space-8); }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.9em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: 0 1px 2px rgba(6, 17, 56, 0.15);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--color-gold-deep);
  box-shadow: 0 10px 24px rgba(213, 174, 130, 0.35);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-navy);
}
.section--navy .btn--outline { color: var(--color-white); }
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.section--navy .btn--outline:hover, .section--navy .btn--outline:focus-visible {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

/* ==========================================================================
   Subpage title band (breadcrumbs + eyebrow + H1)
   ========================================================================== */

.page-header {
  background: var(--color-mist);
  border-bottom: 1px solid var(--color-slate-light);
  padding-block: var(--space-4) var(--space-6);
}
.page-header h1 { margin-bottom: 0; }
.page-header .eyebrow { margin-top: var(--space-2); }

.breadcrumbs { font-size: 0.8rem; color: var(--color-slate); }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.6em;
  color: var(--color-slate-light);
}
.breadcrumbs a {
  color: var(--color-slate);
  text-decoration: none;
}
.breadcrumbs a:hover, .breadcrumbs a:focus-visible {
  color: var(--color-gold-deep);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] { color: var(--color-navy); font-weight: 500; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */

.topbar {
  background: var(--color-navy);
  color: var(--color-slate-light);
  font-size: 0.8rem;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 38px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  overflow: hidden;
}
.topbar__contact a, .topbar__location {
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.topbar__contact a:hover { color: var(--color-gold); }
.topbar__contact svg { flex-shrink: 0; opacity: 0.85; }
.topbar__email, .topbar__location { display: none; }
.topbar__social { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.topbar__social a {
  color: inherit;
  display: flex;
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.topbar__social a:hover { opacity: 1; color: var(--color-gold); }

@media (min-width: 560px) {
  .topbar__email { display: flex; }
}
@media (min-width: 860px) {
  .topbar__location { display: flex; }
}
@media (max-width: 639px) {
  .topbar { display: none; }
}

/* ==========================================================================
   Header + primary navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-mist);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: var(--header-height);
  transition: height 0.2s ease;
  position: relative;
}

.site-header.is-scrolled .site-header__bar { height: var(--header-height-scrolled); }

.site-header__logo { flex-shrink: 0; }
.site-header__logo img { height: 48px; width: auto; }
.site-header.is-scrolled .site-header__logo img { height: 36px; }

.primary-nav { display: none; }

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
  }

  .primary-nav > ul > li { position: relative; }
  .primary-nav > ul > li.has-mega { position: static; }

  .primary-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) 0;
    font-weight: 500;
    font-size: 0.94rem;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
  }

  .primary-nav > ul > li > a::after,
  .primary-nav .has-children > button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
  }
  .primary-nav > ul > li > a:hover::after,
  .primary-nav > ul > li > a[aria-current="page"]::after,
  .primary-nav .has-children:hover > button::after,
  .primary-nav .has-children:focus-within > button::after {
    transform: scaleX(1);
  }

  .primary-nav .has-children > button {
    background: none;
    border: none;
    font: inherit;
    font-weight: 500;
    font-size: 0.94rem;
    display: flex;
    align-items: center;
    gap: 0.35em;
    cursor: pointer;
    padding: var(--space-1) 0;
    white-space: nowrap;
    position: relative;
  }
  .primary-nav .has-children > button svg { transition: transform 0.2s ease; }
  .primary-nav .has-children:hover > button svg,
  .primary-nav .has-children:focus-within > button svg {
    transform: rotate(180deg);
  }

  .primary-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-white);
    box-shadow: 0 16px 40px rgba(6, 17, 56, 0.16);
    border-top: 2px solid var(--color-gold);
    list-style: none;
    margin: 0;
    padding: var(--space-1) 0;
    display: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .primary-nav .has-children:hover .dropdown,
  .primary-nav .has-children:focus-within .dropdown,
  .primary-nav .has-children.is-open .dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav .dropdown a {
    display: block;
    padding: 0.6em var(--space-2);
    text-decoration: none;
    white-space: nowrap;
  }
  .primary-nav .dropdown a:hover,
  .primary-nav .dropdown a:focus-visible {
    background: var(--color-mist);
  }

  /* Mega-menu: positioned relative to the whole nav bar (via .has-mega's
     position:static above), never the triggering <li>, so it can't end up
     clipped or off-screen depending on which item happens to trigger it. */
  .primary-nav .dropdown.dropdown--mega {
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: min(760px, 92vw);
    min-width: 0;
    display: none;
    grid-template-columns: repeat(3, 1fr) 1.1fr;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-3);
  }
  .primary-nav .has-children:hover .dropdown--mega,
  .primary-nav .has-children:focus-within .dropdown--mega,
  .primary-nav .has-children.is-open .dropdown--mega {
    display: grid;
    transform: translateX(-50%) translateY(0);
  }
  .dropdown--mega__heading {
    margin: 0 0 0.6em;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
  }
  .dropdown--mega__col ul { list-style: none; margin: 0; padding: 0; }
  .dropdown--mega__col a {
    display: block;
    padding: 0.45em 0;
    text-decoration: none;
    white-space: nowrap;
  }
  .dropdown--mega__col a:hover, .dropdown--mega__col a:focus-visible { color: var(--color-gold-deep); }
  .dropdown--mega__col--feature {
    background: var(--color-mist);
    border-radius: var(--radius);
    padding: var(--space-2);
    margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) calc(var(--space-3) * -1) 0;
  }
  .dropdown--mega__col--feature p { font-size: 0.85rem; margin: 0 0 var(--space-2); }
  .dropdown--mega__col--feature .btn { width: 100%; text-align: center; white-space: nowrap; }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .primary-nav > ul { gap: var(--space-2); }
}

.site-header__actions { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-nav[data-open="true"] { transform: translateX(0); }
.mobile-nav a { color: var(--color-white); text-decoration: none; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-nav > ul > li > a,
.mobile-nav > ul > li > button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  font-size: 1.1rem;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.mobile-nav .dropdown { display: none; padding-left: var(--space-2); }
.mobile-nav .has-children[data-expanded="true"] .dropdown { display: block; }
.mobile-nav__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

body.nav-open { overflow: hidden; }

/* Mobile sticky action bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-navy);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-action-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  color: var(--color-white);
  text-decoration: none;
  padding: 0.6em 0.25em;
  font-size: 0.8rem;
  min-height: 56px;
}
.mobile-action-bar a:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.15); }
@media (min-width: 1024px) {
  .mobile-action-bar { display: none; }
}
body.has-mobile-action-bar { padding-bottom: 56px; }
@media (min-width: 1024px) {
  body.has-mobile-action-bar { padding-bottom: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding-block: var(--space-8) var(--space-4);
}
.site-footer a { color: var(--color-white); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--color-gold); }
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-grid h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5em; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  font-size: 0.85rem;
  color: var(--color-slate-light);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
}

/* ==========================================================================
   Cards (fleet, experiences, journal)
   ========================================================================== */

.card-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    box-shadow: 0 24px 48px -12px rgba(6, 17, 56, 0.18);
    transform: translateY(-4px);
    border-color: transparent;
  }
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-mist); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.5em; flex: 1; }
.card__body h2 a, .card__body h3 a { transition: color 0.15s ease; }
.card__body h2 a:hover, .card__body h3 a:hover { color: var(--color-gold-deep); }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.5em 1em; font-size: 0.85rem; color: var(--color-slate); letter-spacing: 0.02em; text-transform: uppercase; }
.card__actions { margin-top: auto; display: flex; gap: var(--space-2); padding-top: var(--space-2); }

.price-tag { font-family: var(--font-display); font-weight: 700; color: var(--color-navy); }
.price-tag__note { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--color-slate); }

/* Fleet card — photo carries the weight; specs sit as pills over the image
   (hotel/listing convention) instead of a text row under it, and there is
   one primary action instead of two equal-weight buttons. */
.yacht-card { border: none; }
.yacht-card .card__media { aspect-ratio: 5 / 4; }
.yacht-card .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,17,56,0) 55%, rgba(6,17,56,0.78) 100%);
}
.yacht-card__badges {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
  display: flex;
  gap: 0.5em;
}
.yacht-card__badge {
  background: rgba(6, 17, 56, 0.72);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  backdrop-filter: blur(2px);
}
.yacht-card__name {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-2);
  z-index: 1;
  color: var(--color-white);
  margin: 0;
}
.yacht-card__name a { text-decoration: none; color: inherit; }
.yacht-card__name a::after { content: ""; position: absolute; inset: 0; }
.yacht-card .card__body { padding-top: var(--space-2); }
.yacht-card .card__actions { justify-content: space-between; align-items: center; }
.yacht-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  text-underline-offset: 0.2em;
}

/* Occasion tiles — full-bleed photo, editorial overlay, whole tile is the
   click target. Replaces text-only cards for the "what are you
   celebrating" section. */
.occasion-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .occasion-grid { grid-template-columns: repeat(3, 1fr); } }

.occasion-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  text-decoration: none;
}
.occasion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.occasion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,17,56,0.05) 35%, rgba(6,17,56,0.88) 100%);
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .occasion-card:hover img { transform: scale(1.08); }
}
.occasion-card__body { position: relative; z-index: 2; padding: var(--space-3); }
.occasion-card__body h3 { color: var(--color-white); margin-bottom: 0.3em; }
.occasion-card__body p {
  color: var(--color-slate-light);
  font-size: 0.9rem;
  margin: 0;
  max-width: 32ch;
}
.occasion-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.75em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Full-bleed photo band used as a rhythm break between text sections. */
.feature-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}
.feature-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,17,56,0.82) 0%, rgba(6,17,56,0.35) 55%, rgba(6,17,56,0.15) 100%);
}
.feature-band__content { position: relative; z-index: 1; max-width: 46ch; }
.feature-band__content p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .feature-band { min-height: 360px; }
}

/* Two-column narrative + photo block (used by "Why CDM Yachts"). */
.narrative {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .narrative { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .narrative--media-right { grid-template-columns: 1fr 1fr; }
  .narrative--media-right .narrative__media { order: 2; }
}
.narrative__media { aspect-ratio: 4 / 3; overflow: hidden; }
.narrative__media img { width: 100%; height: 100%; object-fit: cover; }
.narrative__list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.narrative__list li { padding-left: 1.6em; position: relative; }
.narrative__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9em;
  height: 1px;
  background: var(--color-gold-deep);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid var(--color-slate-light);
  border-radius: var(--radius);
  font: inherit;
  min-height: 44px;
  background: var(--color-white);
  color: var(--color-navy);
}
.form-field textarea { min-height: 120px; }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--color-gold);
}
.form-field--error input,
.form-field--error select,
.form-field--error textarea {
  border-color: var(--color-alert);
}
.form-field__error {
  color: var(--color-alert);
  font-size: 0.85rem;
  margin-top: 0.35em;
}
.form-error-summary {
  border: 1px solid var(--color-alert);
  background: #fdf0f2;
  color: var(--color-alert);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
}
.form-error-summary ul { margin: 0.5em 0 0; padding-left: 1.25em; }

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
  }
  .hero-grid__text { flex: 1 1 auto; max-width: 60%; }
}
.hero-quote {
  background: rgba(6, 17, 56, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--color-gold);
  color: var(--color-white);
  padding: var(--space-3);
  box-shadow: 0 20px 50px rgba(6, 17, 56, 0.35);
  width: 100%;
  max-width: 380px;
  flex: 0 0 auto;
}
.hero-quote .form-field label { color: var(--color-slate-light); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-quote__form { display: grid; gap: var(--space-2); }
.hero-quote__form .form-field { margin-bottom: 0; }
.hero-quote__form .form-field input,
.hero-quote__form .form-field select {
  min-height: 42px;
  padding: 0.6em 0.75em;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
}
.hero-quote__submit .btn { width: 100%; }
@media (max-width: 899px) {
  .hero-quote { max-width: 100%; }
}
.form-note {
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* Reusable quick-quote lead form (includes/components/quick-quote-form.php) */
.quick-quote {
  background: var(--color-white);
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 12px 32px rgba(6, 17, 56, 0.12);
  padding: var(--space-3);
}
.quick-quote--dark {
  background: rgba(255, 255, 255, 0.06);
  border-top-color: var(--color-gold);
  box-shadow: none;
}
.quick-quote--dark .eyebrow { color: var(--color-gold); }
.quick-quote--dark .quick-quote__consent { color: var(--color-slate-light); }
.quick-quote__form { display: block; }
.quick-quote__form .form-field { margin-bottom: 0; }
.quick-quote__form .form-field input { min-height: 38px; padding: 0.5em 0.75em; width: 100%; }
.quick-quote__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.quick-quote__row .form-field { flex: 1 1 140px; }
.quick-quote__submit { flex: 0 0 auto; }
.quick-quote__submit .btn { white-space: nowrap; height: 38px; }
.quick-quote__consent {
  display: flex;
  gap: 0.5em;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-slate);
  margin-top: var(--space-2);
}
.quick-quote__consent input { margin-top: 0.25em; flex-shrink: 0; }
.form-success {
  border: 1px solid var(--color-gold);
  background: var(--color-mist);
  padding: var(--space-3);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-item { border-bottom: 1px solid var(--color-mist); }
.faq-item__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: var(--space-2) 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}
.faq-item__answer {
  padding-bottom: var(--space-2);
  color: var(--color-slate);
}
.faq-item__answer[hidden] { display: none; }

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow > * + * { margin-top: var(--space-3); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  margin-bottom: 0.5em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.section--navy .eyebrow { color: var(--color-gold); }

/* ==========================================================================
   Yacht photo gallery + lightbox
   ========================================================================== */

.yacht-gallery__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-navy);
  overflow: hidden;
}
.yacht-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.yacht-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 17, 56, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.yacht-gallery__nav:hover, .yacht-gallery__nav:focus-visible { background: rgba(6, 17, 56, 0.85); }
.yacht-gallery__nav--prev { left: var(--space-2); }
.yacht-gallery__nav--next { right: var(--space-2); }
.yacht-gallery__expand {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 17, 56, 0.55);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.yacht-gallery__expand:hover, .yacht-gallery__expand:focus-visible { background: rgba(6, 17, 56, 0.85); }
.yacht-gallery__counter {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  padding: 0.3em 0.7em;
  background: rgba(6, 17, 56, 0.55);
  color: var(--color-white);
  font-size: 0.8rem;
  border-radius: var(--radius);
}
.yacht-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}
.yacht-gallery__thumb {
  flex: 0 0 auto;
  width: 90px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.6;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.yacht-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yacht-gallery__thumb:hover { opacity: 0.9; }
.yacht-gallery__thumb.is-active { opacity: 1; border-color: var(--color-gold); }

.yacht-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 17, 56, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.yacht-lightbox[aria-hidden="true"] { display: none; }
body.lightbox-open { overflow: hidden; }
.yacht-lightbox__img {
  max-width: min(100%, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.yacht-lightbox__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.yacht-lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.yacht-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.yacht-lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.yacht-lightbox__nav--prev { left: var(--space-3); }
.yacht-lightbox__nav--next { right: var(--space-3); }
.yacht-lightbox__counter {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .yacht-gallery__stage { aspect-ratio: 21 / 9; }
  .yacht-gallery__thumb { width: 110px; height: 74px; }
}
.text-center .eyebrow { justify-content: center; }

/* ==========================================================================
   Homepage hero background video
   ========================================================================== */

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.is-loaded { opacity: 1; }
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
