/* Bentley Global Travel — shared styles
   Palette: ivory #F7F4EE · ink #172733 · stone #E9E2D7 · bronze #9B7B4F (decorative) */

:root {
  --ivory: #F7F4EE;
  --ink: #172733;
  --ink-soft: #33424e;
  --stone: #E9E2D7;
  --stone-deep: #d9cfbd;
  --bronze: #9B7B4F;
  --bronze-dark: #7d633c;
  --gold: #B08D2E;
  --gold-dark: #8A6D24;
  --oxblood: #7E1F1F;
  --white: #fffdf9;
  --line: rgba(23, 39, 51, 0.16);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Inter", -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--bronze-dark); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 780px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

section.block { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section.block + section.block { border-top: 1px solid var(--line); }

/* Eyebrow labels */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin: 0 0 1rem;
  font-weight: 500;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--bronze);
  margin-top: 0.7rem;
}
.center .eyebrow::after { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--max); margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: padding 0.25s ease;
}
.site-header .brand-emblem { width: 64px; height: 64px; transition: width 0.25s ease, height 0.25s ease; }
.site-header .brand .wordmark { transition: font-size 0.25s ease; }
.site-header.compact .bar { padding-top: 0.45rem; padding-bottom: 0.45rem; }
.site-header.compact .brand-emblem { width: 40px; height: 40px; }
.site-header.compact .brand .wordmark { font-size: 1.15rem; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.75rem; }
.brand-emblem { flex: none; display: block; }
.brand .brand-text { display: flex; flex-direction: column; gap: 0.15rem; }
.brand .wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.16em; color: var(--oxblood); }
.brand .wordmark b { font-weight: 700; color: var(--oxblood); }
@media (max-width: 640px) {
  .brand .wordmark { font-size: 1.7rem; }
  .site-header.compact .brand .wordmark { font-size: 1.3rem; }
}
.brand .tag { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark); }
.main-nav { display: flex; gap: 1.6rem; align-items: center; }
.main-nav a { text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; }
.main-nav a[aria-current="page"] { color: var(--gold-dark); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.header-cta { display: flex; gap: 0.9rem; align-items: center; }
.header-phone { font-size: 0.9rem; text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink); color: var(--white);
  text-decoration: none; border: 1px solid var(--ink);
  padding: 0.85rem 1.9rem;
  font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.small { padding: 0.7rem 1.2rem; font-size: 0.8rem; min-height: 44px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bronze-dark); outline-offset: 3px;
}

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 18, 24, 0.72) 0%, rgba(10, 18, 24, 0.25) 55%, rgba(10, 18, 24, 0.15) 100%); }
.hero .inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--pad); }
.hero .eyebrow { color: var(--stone); }
.hero .eyebrow::after { background: var(--bronze); }
.hero h1 { color: var(--white); max-width: 16ch; margin-bottom: 1rem; }
.hero .lede { color: var(--stone); font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.hero .ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn.ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.hero .btn.ghost:hover { background: var(--white); color: var(--ink); }

/* Discovery prompt */
.discovery { background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.6rem); margin-top: -3.2rem; position: relative; z-index: 2; box-shadow: 0 18px 40px rgba(23,39,51,0.08); }
.discovery form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: end; }
/* Concierge instrument: search labels in editorial serif, not generic form caps */
.discovery .field label {
  font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink);
}
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--ink-soft); }
.field select, .field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); background: var(--ivory);
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  border-radius: 0;
}
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.35rem; }
.field .error { display: none; font-size: 0.85rem; color: #8a2b1d; margin-top: 0.35rem; }
.field.invalid select, .field.invalid input, .field.invalid textarea { border-color: #8a2b1d; }
.field.invalid .error { display: block; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .imgwrap { overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.card .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
@media (hover: hover) and (min-width: 961px) {
  .card:hover .imgwrap img { transform: scale(1.04); }
}
.card .body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card .meta { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-dark); }
.card h3 { margin: 0; }
.card h3 a { text-decoration: none; }
.card .advisor-quote { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); border-left: 2px solid var(--bronze); padding-left: 1rem; }
.card .price { font-size: 0.95rem; color: var(--ink-soft); }
.card .price .basis, .fact .basis { font-size: 0.82em; color: var(--ink-soft); font-weight: 400; }
.card .price b { color: var(--ink); font-size: 1.1rem; }
.card .foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.link-arrow { text-decoration: none; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.link-arrow::after { content: " →"; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step { padding: 1.6rem 1.2rem 0; border-left: 1px solid var(--line); }
.step:first-child { border-left: none; padding-left: 0; }
.step .num { font-family: var(--serif); font-size: 1.6rem; color: var(--bronze); }
.step h4 { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0.5rem 0; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split .frame { border: 1px solid var(--line); padding: 10px; background: var(--white); }

/* Quote */
.pull-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; color: var(--ink-soft); max-width: 34ch; margin: 0 auto; }
.attribution { margin-top: 1.2rem; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-dark); }

/* Compare tray */
.compare-tray { position: fixed; left: 1.25rem; bottom: 1.5rem; z-index: 60; background: var(--ink); color: var(--ivory); padding: 0.45rem 0.5rem 0.45rem 1.1rem; display: none; align-items: center; gap: 0.7rem; border-radius: 999px; box-shadow: 0 6px 24px rgba(23,39,51,.30); font-size: 0.85rem; }
.compare-tray.on { display: flex; }
.compare-tray .tray-label { color: var(--stone); white-space: nowrap; }
.compare-tray .tray-label b { color: var(--ivory); }
.compare-tray .tray-link { color: var(--stone); text-decoration: none; white-space: nowrap; padding: 0.6rem 0.4rem; }
.compare-tray .tray-link.solid { background: var(--bronze); color: #fff; border-radius: 999px; padding: 0.55rem 1rem; }
.compare-tray .tray-clear { background: none; border: none; color: var(--stone); font-size: 1.25rem; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; border-radius: 50%; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: var(--white); min-width: 620px; }
.compare-table thead tr th:first-child,
.compare-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; }
.compare-table tbody th[scope="row"] { background: var(--stone); }
.compare-table thead tr th:first-child { background: var(--ink); }
.compare-table th, .compare-table td { border: 1px solid var(--line); padding: 1rem; text-align: left; vertical-align: top; font-size: 0.95rem; }
.compare-table th { background: var(--stone); font-family: var(--serif); font-size: 1.1rem; width: 20%; }
.compare-table thead th { background: var(--ink); color: var(--ivory); }
.heart-btn { background: none; border: 1px solid var(--line); cursor: pointer; font-size: 1rem; padding: 0.6rem 1rem; min-height: 44px; font-family: var(--sans); letter-spacing: 0.06em; }
.heart-btn[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Voyage detail */
.voyage-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; color: var(--white); }
.voyage-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voyage-hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,24,0.78), rgba(10,18,24,0.2) 60%); }
.voyage-hero .inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 4rem var(--pad) 3rem; width: 100%; }
.voyage-hero h1 { color: var(--white); }
.voyage-hero .facts { color: var(--stone); font-size: 1rem; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 2.5rem 0; }
.fact-grid .fact { background: var(--white); padding: 1.4rem; }
.fact-grid .k { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-dark); margin-bottom: 0.4rem; }
.itinerary { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.itinerary li { padding: 0.9rem 0 0.9rem 1.6rem; border-left: 1px solid var(--stone-deep); position: relative; }
.itinerary li::before { content: ""; position: absolute; left: -5px; top: 1.35rem; width: 9px; height: 9px; border-radius: 50%; background: var(--bronze); }
.inclusion-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 1.5rem; }
.inclusion-cols h4 { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.inclusion-cols ul { margin: 0; padding-left: 1.2rem; font-size: 0.95rem; }
.suite-list { display: grid; gap: 1rem; margin-top: 1.2rem; }
.suite { background: var(--white); border: 1px solid var(--line); padding: 1.3rem 1.5rem; }
.suite h4 { margin-bottom: 0.2rem; }
.suite .size { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-dark); }

/* Quiz */
.quiz-shell { max-width: 820px; margin: 0 auto; }
.progress { display: flex; gap: 0.5rem; margin: 2rem 0; }
.progress .pip { flex: 1; height: 3px; background: var(--stone-deep); }
.progress .pip.done { background: var(--bronze); }
.progress .pip.now { background: var(--ink); }
.quiz-step { display: none; background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.8rem); }
.quiz-step.on { display: block; }
.quiz-step h2 { margin-bottom: 0.4rem; }
.quiz-step .sub { color: var(--ink-soft); margin-bottom: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }
.chip { border: 1px solid var(--stone-deep); background: var(--ivory); padding: 0.85rem 1.4rem; min-height: 44px; cursor: pointer; font-family: var(--sans); font-size: 0.95rem; border-radius: 999px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
/* ---------- budget slider: hairline track, bronze thumb ---------- */
.budget-wrap { display: grid; gap: 0.55rem; margin: 1rem 0 0.2rem; }
.budget-wrap output { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
input[type="range"]#q-budget { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; padding: 0; }
#q-budget::-webkit-slider-runnable-track { height: 1px; background: var(--stone-deep); }
#q-budget::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -12.5px; border-radius: 50%; background: var(--bronze); border: 1px solid var(--bronze-dark); box-shadow: 0 1px 4px rgba(23,39,51,.25); }
#q-budget::-moz-range-track { height: 1px; background: var(--stone-deep); }
#q-budget::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--bronze); border: 1px solid var(--bronze-dark); box-shadow: 0 1px 4px rgba(23,39,51,.25); }
#q-budget:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.review-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.review-table th, .review-table td { text-align: left; padding: 0.8rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.review-table th { width: 34%; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; color: var(--ink-soft); }
.confirm-box { background: var(--white); border: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }

/* Journal */
.article-body { font-size: 1.1rem; }
.article-body p { margin-bottom: 1.4rem; }
.article-meta { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-dark); margin-bottom: 1.5rem; }
.dropcap::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: 0.9; padding-right: 0.12em; color: var(--bronze-dark); }

/* Footer */
.site-footer { background: var(--ink); color: var(--stone); margin-top: 0; }
.site-footer .cols { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-bottom: 1rem; }
.site-footer a { color: var(--stone); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.site-footer .brandline { font-family: var(--serif); font-size: 1.6rem; color: var(--ivory); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.site-footer .footer-logo { width: 190px; max-width: 62vw; height: auto; margin-bottom: 1rem; }
.site-footer .legal { max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--pad) 2rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: rgba(233,226,215,0.65); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Mobile action bar */
.mobile-bar { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.note { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }

/* Sculpt additions */
.trust-line { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-soft); margin-top: 1.1rem; }
.hero .trust-line { color: rgba(233,226,215,0.85); }
.promise-badge { display: inline-block; border: 1px solid var(--gold); color: var(--gold-dark); padding: 0.55rem 1.2rem; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 1.4rem; background: transparent; }
.social-row { display: flex; gap: 1.3rem; margin: 1.1rem 0 0; padding: 0; }
.social-row a { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.mini-quiz { background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 2.6rem); margin-top: 2.5rem; }
.mini-quiz .mq-q { display: none; }
.mini-quiz .mq-q.on { display: block; }
.mini-quiz .mq-result { display: none; text-align: center; }
.mini-quiz .mq-result.on { display: block; }
.mini-quiz .mq-progress { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.calltime { background: var(--ivory); border: 1px solid var(--line); padding: 1.4rem; margin-top: 2rem; text-align: left; }
.calltime h3 { margin-bottom: 0.3rem; }

/* Responsive */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid.five { grid-template-columns: 1fr 1fr; }
  .steps.cols-3, .steps.cols-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: none; }
  .step { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .split { grid-template-columns: 1fr; }
  .discovery form { grid-template-columns: 1fr 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .inclusion-cols { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 640px) {
  /* hero: ship glides just above the eyebrow, no vast empty sky */
  .hero-anim:not(.video-on) .ship-track { top: clamp(4.5rem, 13vh, 7rem); }
  .hero-anim:not(.video-on) .inner { padding-top: max(13rem, 27vh); }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.five { grid-template-columns: 1fr; }
  .steps.cols-3, .steps.cols-4 { grid-template-columns: 1fr; }
  .discovery form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 0.6rem; }
  .review-table th, .review-table td { padding: 0.65rem 0.5rem; font-size: 0.88rem; }
  /* Footer safe offset: the fixed bar is taller than 72px on notched phones
     (bar + safe-area-inset). Keep the footer clear of it at all times. */
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--ink); color: var(--ivory);
    padding: 0.7rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom));
    gap: 0.8rem; align-items: center; justify-content: space-between;
  }
  .mobile-bar .btn { flex: 1; text-align: center; padding: 0.7rem 1rem; }
  .mobile-bar { transition: transform 0.3s ease, visibility 0.3s; }
  /* R16: visibility:hidden removes the off-screen bar from the tab order */
  .mobile-bar.bar-hidden { transform: translateY(110%); visibility: hidden; }
  .mobile-bar a.call { color: var(--stone); text-decoration: none; font-size: 0.9rem; white-space: nowrap; padding: 0.7rem 0.4rem; }
  .compare-tray { left: 1rem; right: 1rem; bottom: calc(84px + env(safe-area-inset-bottom)); justify-content: center; border-radius: 14px; }
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); font-size: 1.1rem; padding: 0.7rem 1rem; min-height: 44px; cursor: pointer; font-family: var(--sans); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--ivory); flex-direction: column; align-items: stretch;
    padding: 0.6rem var(--pad) calc(1.4rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 50px rgba(23,39,51,0.28); gap: 0;
    max-height: 72vh; overflow-y: auto;
    animation: sheet-up 0.28s ease;
  }
  .main-nav.open a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav.open a:last-child { border-bottom: none; }
  @keyframes sheet-up { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
  .site-header { position: sticky; }
  .header-cta .header-phone { display: none; }
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ivory); padding: 0.8rem 1.2rem; z-index: 100; text-decoration: none; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- quote lines & featured offers (no live pricing on site) ---------- */
.card .quote-line { font-size: 0.95rem; color: var(--ink-soft); }
.card .quote-line .basis { font-size: 0.82em; }
.card .quote-line .link-arrow { margin-left: 0.4rem; white-space: nowrap; }
.offer-price { font-size: 1.05rem; margin: 0.6rem 0; }
.offer-price b { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); font-weight: 600; }
.offer-price .basis { font-size: 0.85rem; color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 1rem 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; font-size: 0.95rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 600; }

/* ---------- animated hero: cruise ship at dawn (pure CSS/SVG, no video) ---------- */
.quote-callout { background: var(--stone); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.quote-callout p { margin: 0 0 0.8rem; }
.quote-callout p:last-child { margin-bottom: 0; }

/* ---------- inspiration gallery: region blocks (voyages.html) ---------- */
.region-block { margin: 3rem 0 0; }
.region-block:first-of-type { margin-top: 2.5rem; }
.region-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 1.4rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }

/* ---------- cruise preference group (plan.html step 2) ---------- */
.pref-group { background: var(--stone); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 1.4rem clamp(1.1rem, 3.5vw, 1.8rem); margin: 0 0 1.6rem; }
.pref-group-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 0 0 1.1rem; }
.pref-group-title .hint { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- zero-state advisor card (voyages.html): prominent, calm, luxurious ---------- */
.advisor-card { background: var(--stone); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: clamp(1.6rem, 4vw, 2.6rem); margin: 2.5rem 0; }
.advisor-card .eyebrow { margin: 0 0 0.8rem; }
.advisor-card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 4.6vw, 2rem);
  line-height: 1.25; margin: 0 0 0.9rem; }
.advisor-card p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.advisor-card .btn { min-height: 44px; display: inline-flex; align-items: center; }
.hero-anim { overflow: hidden; }
.hero-anim .anim-scene { position: absolute; inset: 0; pointer-events: none; }
.hero-anim:not(.video-on) .inner { padding-top: max(15rem, 34vh); }
.hero-anim .sky { position: absolute; inset: 0;
  background: linear-gradient(to bottom, #0e1a30 0%, #27395e 30%, #6f4f68 50%, #c0765a 66%, #eda45f 78%, #f7dcaa 90%, #fbeed0 100%); }
.hero-anim .sun { position: absolute; left: 50%; top: 54%; width: 150px; height: 150px; margin: -75px 0 0 -75px;
  border-radius: 50%; background: radial-gradient(circle, #fff8e2 0%, #ffdf9e 42%, rgba(255,223,158,0) 70%); }
.hero-anim .cloud { position: absolute; background: #fff; border-radius: 999px; filter: blur(14px); }
.hero-anim .cloud.c1 { width: 220px; height: 44px; top: 15%; opacity: .45; animation: drift 85s linear infinite; }
.hero-anim .cloud.c2 { width: 150px; height: 34px; top: 29%; opacity: .35; animation: drift 62s linear infinite; animation-delay: -30s; }
.hero-anim .cloud.c3 { width: 280px; height: 52px; top: 7%; opacity: .3; animation: drift 110s linear infinite; animation-delay: -70s; }
.hero-anim .cloud.wisp { height: 15px; width: 340px; opacity: .26; filter: blur(16px); }
.hero-anim .cloud.c4 { top: 22%; animation: drift 100s linear infinite; animation-delay: -45s; }
.hero-anim .cloud.c5 { top: 11%; width: 430px; animation: drift 130s linear infinite; animation-delay: -90s; }
.hero-anim .birds { position: absolute; top: 16%; left: 0; width: 220px; opacity: .7; z-index: 2; animation: drift 95s linear infinite; }
.hero-anim .birds svg { width: 100%; height: auto; display: block; }
.hero-anim .sparkles { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.hero-anim .sparkles span { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffe9bd; opacity: 0; animation: twinkle 4.2s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.6); } 50% { opacity: .85; transform: scale(1); } }
@keyframes drift { from { left: -320px; } to { left: 110%; } }
.hero-anim .ship-track { position: absolute; top: clamp(2.5rem, 7vh, 4.5rem); left: 0; width: 100%; z-index: 3; animation: sail 80s linear infinite; animation-delay: -32s; /* liner is mid-crossing on page load */ }
@keyframes sail { from { transform: translateX(-38vw); } to { transform: translateX(112vw); } }
.hero-anim .ship-bob { width: min(480px, 60vw, 55vh); animation: bob 5.5s ease-in-out infinite; }
.hero-anim .ship-bob svg { width: 100%; height: auto; display: block; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-0.7deg); } }
.hero-anim .waves { position: absolute; left: 0; width: 100%; overflow: hidden; }
.hero-anim .waves svg { position: absolute; left: 0; top: 0; width: 3000px; height: 100%; }
.hero-anim .w3 { bottom: 0; height: 27%; z-index: 6; }
.hero-anim .w2 { bottom: 5%; height: 20%; z-index: 5; }
.hero-anim .w1 { bottom: 10%; height: 15%; z-index: 4; }
.hero-anim .w3 svg { animation: wshift 11s linear infinite; }
.hero-anim .w2 svg { animation: wshift 17s linear infinite; }
.hero-anim .w1 svg { animation: wshift 26s linear infinite; }
@keyframes wshift { from { transform: translateX(0); } to { transform: translateX(-240px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-anim .anim-scene, .hero-anim .anim-scene * { animation: none !important; }
  .hero-anim .ship-track { transform: translateX(30vw); }
}

/* ---------- 2-step quote form ---------- */
.traveler-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.traveler-label { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
@media (max-width: 560px) { .name-row { grid-template-columns: 1fr; } }
.next-steps { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: steps; text-align: left; }
.next-steps li { counter-increment: steps; padding: 0.8rem 0 0.8rem 3rem; position: relative; border-bottom: 1px solid var(--line); }
.next-steps li::before { content: counter(steps); position: absolute; left: 0; top: 0.7rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--stone); color: var(--ink); font-family: var(--serif); font-size: 1rem; display: flex; align-items: center; justify-content: center; }

/* ---- Example-sailing cards (real-itinerary model) ---- */
.card .imgwrap { position: relative; }
.example-tag {
  position: absolute; top: 0.7rem; left: 0.7rem;
  background: var(--ink); color: #fff;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 0.8rem; border: 1px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.img-fallback {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink) 0%, #2c4a5e 55%, var(--bronze-dark) 130%);
}
.img-fallback span {
  font-family: var(--serif); font-size: 4rem; color: var(--gold);
  border: 1px solid var(--gold); width: 5.5rem; height: 5.5rem;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.img-fallback.hero-fallback { min-height: 320px; }
.card .sail-date { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.card .ports { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.example-banner {
  border-top: 2px solid var(--gold); border-bottom: 1px solid var(--line);
  padding: 1.1rem 0; margin-bottom: 2.2rem; color: var(--ink-soft);
}
.voyage-hero .img-fallback { position: absolute; inset: 0; }

/* ---- Advisor handoff (plan.html step 2 + confirmation) ---- */
.advisor-contact {
  font-size: 0.92rem; color: var(--ink-soft);
  border-left: 2px solid var(--gold); padding-left: 1rem; margin: 1.2rem 0 2rem;
}
.advisor-contact a, .advisor-contact-box a { color: var(--bronze-dark); font-weight: 600; }
.advisor-contact-box {
  background: var(--white); border: 1px solid var(--line);
  border-top: 2px solid var(--gold); padding: 1.2rem 1.4rem; margin: 1.6rem 0 0;
}
.advisor-contact-box p { margin: 0; }

/* ============ sculpt batches 1–4 ============ */

/* WhatsApp float + advisor hours pill */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 54; width: 56px; height: 56px; border-radius: 50%; background: var(--bronze); color: var(--ivory); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(23,39,51,.30); transition: background .2s ease; }
.wa-float:hover { background: var(--bronze-dark); }
.wa-float svg { width: 30px; height: 30px; display: block; }
.advisor-hours { position: fixed; right: 1.25rem; bottom: calc(1.5rem + 66px); z-index: 54; margin: 0; font-size: 0.72rem; letter-spacing: 0.05em; background: var(--ivory); border: 1px solid var(--bronze); color: var(--ink-soft); padding: 0.32rem 0.75rem; border-radius: 999px; display: flex; align-items: center; gap: 0.45rem; box-shadow: 0 2px 10px rgba(23,39,51,.12); white-space: nowrap; }
.advisor-hours .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dark); flex: none; }
.advisor-hours.on .dot { background: #2e7d32; }
body.has-compare .wa-float { bottom: calc(1.5rem + 70px); }
body.has-compare .advisor-hours { bottom: calc(1.5rem + 136px); }
@media (max-width: 760px) {
  .wa-float { right: 1rem; bottom: calc(100px + env(safe-area-inset-bottom)); }
  .advisor-hours { right: 1rem; bottom: calc(166px + env(safe-area-inset-bottom)); font-size: 0.68rem; }
  body.has-compare .wa-float { bottom: calc(158px + env(safe-area-inset-bottom)); }
  body.has-compare .advisor-hours { bottom: calc(224px + env(safe-area-inset-bottom)); }
}

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-family: var(--serif); font-size: 1.3rem; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bronze); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 46rem; }
.faq .a p { margin: 0 0 0.8rem; }

/* Footer: tidy single column on phones */
@media (max-width: 640px) {
  .site-footer .cols { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Budget per-night hint */
.per-night { font-size: 0.9rem; color: var(--ink-soft); margin: 0.35rem 0 0; }

/* Advisor monogram on confirmation */
.advisor-mono { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(135deg, var(--bronze), var(--bronze-dark)); color: var(--ivory); font-family: var(--serif); font-size: 2.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; border: 1px solid var(--gold); }

/* "In the next 24 hours" expectation block */
.next-24 { background: var(--stone); border: 1px solid var(--line); border-left: 3px solid var(--bronze); padding: 1.2rem 1.4rem; margin: 2rem 0; text-align: left; }
.next-24 h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 0.5rem; }
.next-24 p { margin: 0; color: var(--ink-soft); }

/* Bronze check draw on confirmation */
.seal-check { width: 64px; height: 64px; margin: 0 auto 1rem; display: block; }
.seal-check circle { fill: none; stroke: var(--bronze); stroke-width: 2; opacity: .55; }
.seal-check path { fill: none; stroke: var(--bronze); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawcheck 0.9s ease 0.3s forwards; }
@keyframes drawcheck { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .seal-check path { animation: none; stroke-dashoffset: 0; } }

/* Card editorial line + hover lift */
.card .why { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink-soft); margin: 0.45rem 0 0; }
@media (hover: hover) {
  .card { transition: transform .35s ease, box-shadow .35s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23,39,51,.14); }
}

/* Breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 1.2rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current] { color: var(--ink); }

/* Good-for tags */
.goodfor { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.goodfor li { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--bronze); color: var(--bronze-dark); padding: 0.32rem 0.75rem; border-radius: 999px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,25,33,.93); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--stone); background: transparent; color: var(--ivory); font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--stone); font-size: 0.9rem; }
.enlarge-btn { position: absolute; right: 0.6rem; bottom: 0.6rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(23,39,51,.55); color: #fff; font-size: 1.05rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Referral + alerts */
.referral, .alerts-box { background: var(--stone); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.5rem); }
.alerts-box form { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; align-items: end; }
.alerts-box input[type="email"] { flex: 1; min-width: 200px; }
.alerts-box .field { margin-bottom: 0; }

/* Guide cards (destinations, ports) */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { background: var(--white); border: 1px solid var(--line); padding: 1.4rem; }
.guide-card h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 0.6rem; }
.guide-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.6rem; }
.guide-card p:last-child { margin-bottom: 0; }

/* Cruise-line profiles */
.line-row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.line-row h2 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.4rem; }
.line-row .vibe { font-family: var(--serif); font-style: italic; color: var(--bronze-dark); font-size: 1.1rem; margin: 0 0 0.8rem; }
.line-row p { color: var(--ink-soft); margin: 0 0 0.8rem; }
@media (max-width: 760px) { .line-row { grid-template-columns: 1fr; gap: 0.8rem; } }

/* Packing checklist */
.checklist { list-style: none; padding: 0; margin: 1rem 0 2rem; }
.checklist li { padding: 0.55rem 0 0.55rem 2rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "\2610"; position: absolute; left: 0; color: var(--bronze); font-size: 1.1rem; }

/* Mobile nav: 4 primary items max (extras live in the footer) */
@media (max-width: 960px) {
  .main-nav a.nav-extra { display: none; }
}

/* Print: clean shortlist output */
.print-only { display: none; }
@media print {
  .site-header, .site-footer, .mobile-bar, .wa-float, .advisor-hours,
  .compare-tray, .nav-toggle, .no-print { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .print-only { display: block !important; }
  .print-sheet h1 { font-family: var(--serif); }
  .print-sheet table { width: 100%; border-collapse: collapse; font-size: 11pt; }
  .print-sheet th, .print-sheet td { border: 1px solid #999; padding: 6pt 8pt; text-align: left; }
}
.voyage-hero .crumbs, .voyage-hero .crumbs a { color: var(--stone); }

/* ============ mobile optimization pass ============ */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
a, button, summary, select, .chip {
  -webkit-tap-highlight-color: rgba(176, 141, 46, 0.25);
  tap-highlight-color: rgba(176, 141, 46, 0.25);
}
/* enlarge + compare-tray links reach 44px targets */
.enlarge-btn { width: 44px; height: 44px; }
.compare-tray .tray-link { min-height: 44px; display: inline-flex; align-items: center; }
.compare-tray .tray-link.solid { min-height: 44px; }
/* one-handed forms: full-width inputs, generous spacing */
@media (max-width: 640px) {
  .field { margin-bottom: 1.4rem; }
  .field select, .field input, .field textarea { font-size: 1rem; padding: 0.9rem 1rem; }
  .name-row { grid-template-columns: 1fr; }
  .alerts-box form { flex-direction: column; align-items: stretch; }
  .alerts-box .field { width: 100%; }
  .discovery .field { margin-bottom: 1.1rem; }
  /* hero stays composed at 360px */
  .hero-anim .inner { padding-left: 1.1rem; padding-right: 1.1rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero .ctas { display: flex; flex-direction: column; gap: 0.8rem; }
  .hero .ctas .btn { width: 100%; text-align: center; }
  /* whatsapp float never collides with sticky bars */
  .wa-float { bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* ============ CLIA accreditation badge ============ */
.clia-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--ivory);
  border: 1px solid var(--bronze); border-radius: 999px;
  padding: 0.55rem 1.1rem; background: rgba(176, 141, 46, 0.12);
  margin: 1.1rem 0 0;
}
.hero .clia-badge { font-size: 1rem; }
.footer-clia { font-size: 0.85rem; margin: 0 0 1rem; color: var(--stone); }

/* ============ Yacht partner highlights ============ */
.yacht-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.yacht-card {
  border: 1px solid var(--line); background: var(--white);
  padding: clamp(1.6rem, 4vw, 2.4rem); position: relative;
}
.yacht-card .yacht-kicker {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 0.8rem;
}
.yacht-card h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.8rem; }
.yacht-card p { color: var(--ink-soft); }
.yacht-partner-row {
  border: 1px solid var(--bronze); border-radius: 6px;
  padding: 1.6rem; background: rgba(176, 141, 46, 0.06);
  margin-bottom: 1.6rem;
}
.yacht-photo-slot {
  margin-top: 1.4rem; border: 1px dashed var(--line); border-radius: 4px;
  min-height: 180px; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 0.9rem; font-style: italic;
  background: rgba(176, 141, 46, 0.05);
}
@media (max-width: 760px) { .yacht-grid { grid-template-columns: 1fr; } }

/* ============ Featured offers ============ */
.featured-offers { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.featured-tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--bronze); color: var(--ivory);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 999px;
}
.featured-card { border: 2px solid var(--bronze); }
.featured-price { font-size: 1.05rem; }
.featured-price .basis { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Video hero (client's ship footage) ---------- */
.hero-video .hero-media { display: none; }
.hero-video .hero-grid { position: static; }
.hero-video.video-on .anim-scene { display: none; }
.hero-video.video-on .hero-media { display: block; position: absolute; inset: 0; }
.hero-video.video-on .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Readability over the moving video: stronger shade above the video, soft shadow on the copy */
.hero-video.video-on .shade { background: linear-gradient(to top, rgba(8, 14, 20, 0.84) 0%, rgba(8, 14, 20, 0.48) 55%, rgba(8, 14, 20, 0.34) 100%); }
.hero-video.video-on .hero-copy { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.hero-video.video-on .hero-copy { position: relative; z-index: 1; }
.hero-chips { display: none; }
.hero-video.video-on .hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1.6rem; position: relative; z-index: 1; }
.hero-chips .chip { appearance: none; -webkit-appearance: none; border: 1px solid rgba(255,255,255,.55); background: rgba(10,18,24,.38); color: #fff; border-radius: 999px; padding: .55rem 1.05rem; font: inherit; font-size: .85rem; min-height: 44px; cursor: pointer; }
.hero-chips .chip.on { background: var(--bronze); border-color: var(--bronze); color: #101820; font-weight: 500; }
.hero-video .hero-sailing-link { color: #fff; margin-left: .35rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-video .hero-media, .hero-video .hero-chips { display: none !important; }
  .hero-video .anim-scene { display: block !important; }
}
@media (min-width: 900px) {
  .hero-video.video-on .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .hero-video.video-on .hero-media { position: relative; inset: auto; aspect-ratio: 9 / 16; max-height: 74vh; width: 100%; max-width: 430px; justify-self: center; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
  .hero-video.video-on .hero-chips { grid-column: 1 / -1; margin-top: .5rem; }
}

/* ---------- Click-to-play / click-to-pause video blocks ---------- */
.video-frame { position: relative; border-radius: 18px; overflow: hidden; background: #0e1a30; }
.video-frame img { display: block; width: 100%; height: auto; }
.video-frame video { display: block; width: 100%; height: auto; }
.video-play-btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(10,18,24,.45); color: #fff; font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-frame.is-playing .video-play-btn { display: none; }
.yacht-video { cursor: pointer; }

/* --- Round 1: Sculpt 50 additions --- */

/* Idea #10: Compact header hides phone, keeps CTA */
.site-header.compact .header-phone { display: none; }

/* Idea #9: Header quote button (long canonical text) */
.header-quote-btn { font-size: 0.82rem; white-space: nowrap; }
@media (max-width: 900px) {
  .header-quote-btn { display: none; } /* mobile bar carries the CTA */
}

/* Idea #11: Full-width quote band above footer */
.quote-band {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 0;
  margin-top: 4rem;
}
.quote-band .eyebrow { color: var(--gold); }
.quote-band h2 { color: var(--white); }
.quote-band .narrow { color: rgba(255,255,255,0.85); }
.quote-band .btn { background: var(--gold); color: var(--ink); }
.quote-band .btn:hover { background: var(--gold-light); }

/* Idea #1: Match counter */
.match-counter {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
  min-height: 1.4em;
}

/* Idea #5: Popular searches */
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.2rem;
  justify-content: center;
}
.popular-label { font-size: 0.9rem; color: var(--ink-soft); }
.popular-searches .chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.popular-searches .chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Idea #13: Yacht stills gallery */
.yacht-stills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
.yacht-stills img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* Idea #13: Yacht example cards */
.yacht-examples { margin: 1.2rem 0; }
.yacht-examples .mini-card .card { margin: 0; }
.yacht-examples .imgwrap { aspect-ratio: 16/9; }

/* Idea #34: Hero stills link */
.hero-stills {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.92rem;
}
.hero-stills a { color: var(--white); opacity: 0.9; }
.hero-stills a:hover { opacity: 1; }

/* Idea #4: Voyages filter banner */
.filter-banner {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.filter-banner p { margin: 0; font-size: 1.02rem; }
.filter-banner .btn { white-space: nowrap; }

/* Idea #12: Yacht chooser */
.chooser {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}
.chooser-question { margin-bottom: 1.5rem; }
.chooser-question h3 { font-size: 1.15rem; margin-bottom: 0.8rem; }
.chooser-options { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chooser-options .chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.chooser-options .chip.selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.chooser-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Idea #6: Plan inline examples */
.plan-examples { margin: 1.5rem 0; }
.plan-examples h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.plan-examples .card-grid { margin-top: 0; }

/* Idea #8: Voyage region strip */
.region-strip {
  background: var(--sand);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.region-strip p { margin: 0 0 1rem 0; font-size: 1.05rem; }

/* Idea #16: Yacht spotlight */
.yacht-spotlight {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2620 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.yacht-spotlight h2 { color: var(--white); }
.yacht-spotlight p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 1.5rem auto; }
.yacht-spotlight .btn { background: var(--gold); color: var(--ink); }

/* Click-to-play video (Atlantis, Four Seasons) */
.video-frame { position: relative; }
.video-frame video { width: 100%; height: auto; border-radius: 12px; display: block; }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-frame.is-playing .video-play-btn { display: none; }

/* --- Round 2: Sculpt 50 additions --- */

/* Idea #38: Shortlist coach mark */
.coach-mark {
  background: var(--sand);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
.coach-mark p { margin: 0; font-size: 0.95rem; }

/* Idea #39: Good for tags */
.goodfor {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.goodfor li {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Idea #25: Featured offer details */
.verified-line {
  font-size: 0.88rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0.5rem 0;
}
.inclusions {
  margin: 0.8rem 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.inclusions li { margin-bottom: 0.3rem; }
.terms-line {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0.8rem 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

/* CLIA badges */
.clia-badge {
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* --- Round 3: Sculpt 50 additions --- */

/* Idea #45: Topic chips */
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem 0;
}
.topic-chips .chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.topic-chips .chip.selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Idea #44: Port quick links */
.port-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.port-links .chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  text-decoration: none;
}
.port-links .chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Idea #42: Voyage context enhancements */
.goodfor-inline {
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 500;
}
.why-inline {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Share sheet (Yahoo Mail / copy fallback) */
#bgt-share-sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(20,12,8,0.55);
  display: flex; align-items: flex-end; justify-content: center; padding: 1rem; }
@media (min-width: 640px) { #bgt-share-sheet { align-items: center; } }
#bgt-share-sheet .bgt-sheet-card { background: var(--paper, #faf7f2); border-radius: 14px;
  padding: 1.5rem; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 0.7rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
#bgt-share-sheet .bgt-sheet-card h3 { font-family: var(--serif); margin: 0 0 0.4rem; font-size: 1.3rem; }
#bgt-share-sheet .bgt-sheet-card .btn { width: 100%; }

/* Continent picker (destinations) */
.globe-mark { color: var(--gold-dark); }
.continent-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.2rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.continent-chip { cursor: pointer; }
.continent-chip.active { background: var(--oxblood); color: #fff; border-color: var(--oxblood); }
