/* ---------- Tokens ---------- */
:root {
  /* Brand blues — primary palette */
  --brand-blue: #1865AB;
  --brand-blue-medium: #3F86C6;
  --brand-blue-light: #7FBCE7;
  --brand-blue-pale: #D1E9F9;

  /* Legacy --navy alias kept so existing rules pick up the new brand blue.
     Conceptually: navy = brand-blue throughout the site. */
  --navy: var(--brand-blue);

  /* Gold — reserved for: nav Book Now button, eyebrows, SOLD badges, play button */
  --gold: #C8A45D;
  --gold-hover: #b3924f;

  /* Surface + text */
  --bg: #FFFFFF;
  --bg-soft: #F8F9FA;  /* off-white — softer alternation than pale blue */
  --text: #495057;     /* charcoal — passes WCAG AA on white and pale blue */
  --muted: #6c757d;
  --border: #e5e7eb;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --container: 1200px;
  --radius: 4px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px) + 16px); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 var(--space-sm); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-xl) 0; }

/* ---------- Section background helpers ----------
   Three tones for soft alternation: white (default) → soft → pale-blue (showcase).
   Use .bg-soft for the bulk of alternation so contrast edges aren't choppy.
   Use .bg-pale for "punch" sections (gallery showcase, booking contact callout). */
.bg-white { background: #fff; }
.bg-soft  { background: var(--bg-soft); }
.bg-pale  { background: var(--brand-blue-pale); }
.bg-blue  { background: var(--brand-blue); color: #fff; }
.bg-blue h1, .bg-blue h2, .bg-blue h3 { color: #fff; }
.bg-blue .eyebrow { color: var(--brand-blue-pale); }
.bg-blue .section-head p,
.bg-blue p { color: rgba(255, 255, 255, 0.9); }
.bg-blue .muted { color: rgba(255, 255, 255, 0.75); }

/* Contact callout sitting INSIDE a brand-blue section needs visual distinction from
   the section bg. Use a darker translucent overlay instead of the same brand blue. */
.bg-blue .contact-callout {
  background: rgba(0, 0, 0, 0.18);
  border-left: 4px solid var(--brand-blue-pale);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background-color 150ms ease, color 150ms ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-blue-medium); }

/* Exception: the nav "Book Now" button keeps gold for emphasis. */
.nav-links .btn-primary {
  background: var(--gold);
  color: var(--brand-blue);
}
.nav-links .btn-primary:hover {
  background: var(--gold-hover);
  color: var(--brand-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}
.btn-secondary:hover {
  background: var(--brand-blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--bg); }

/* ---------- Header / Nav ---------- */
/* Body padding compensates for the fixed nav being out of flow. */
body {
  padding-top: 72px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.04);
  isolation: isolate;
}

/* Mobile: hardcoded 44px fallback for iOS status bar on top of any safe-area inset.
   Even if env() returns 0 (which it can on certain iOS configurations), the nav
   content still gets pushed below the iPhone's system UI. */
@media (max-width: 900px) {
  body {
    padding-top: calc(72px + max(env(safe-area-inset-top, 0px), 44px));
  }
  .site-header {
    padding-top: max(env(safe-area-inset-top, 0px), 44px);
  }
}

/* Ensure iframe wrappers stay in the base stacking context, never above the nav */
.embed,
.calendar-embed,
.tour-image {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 150ms ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand-blue); }

.nav-links .btn { padding: 0.6rem 1.25rem; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-sm) var(--space-md) var(--space-md);
    transform: translateY(-110%);
    transition: transform 200ms ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: var(--space-sm); }
  .nav-links .btn { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  padding: var(--space-xl) 0 var(--space-lg);
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.hero h1 { margin-bottom: var(--space-md); }

.hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  margin: 0 auto var(--space-md);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  justify-content: center;
}

.hero-call {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-call a { color: var(--navy); font-weight: 600; }
.hero-call a:hover { color: var(--brand-blue-medium); }

/* ---------- Embeds ---------- */
.embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.embed-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.embed-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: var(--space-sm);
}

/* ---------- Stats Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 2px 12px rgba(24, 101, 171, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 30ch;
  margin: 0 auto;
}

.stats-source {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: var(--space-md);
}

/* ---------- Includes List ---------- */
.includes-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.includes-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}
.includes-item:last-child { border-bottom: none; }

.includes-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.includes-icon svg { width: 22px; height: 22px; }

.includes-text { flex: 1; }
.includes-text strong {
  display: block;
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.includes-text span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Pricing Teaser ---------- */
.pricing-teaser {
  max-width: 900px;
  margin: 0 auto var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .pricing-teaser { grid-template-columns: 1fr; }
}

.teaser-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
}

.teaser-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.teaser-range {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.teaser-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

/* ---------- Recent Work Grid ---------- */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 900px) {
  .recent-grid { grid-template-columns: 1fr; }
}
.recent-item .embed { aspect-ratio: 4 / 3; }
.recent-item .embed-caption { font-style: normal; font-weight: 600; color: var(--navy); }

/* ---------- Calendar Embed ---------- */
.calendar-embed {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.calendar-embed iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block;
}
@media (max-width: 600px) {
  .calendar-embed iframe { height: 820px; }
}

/* ---------- Contact Callout (under calendar) ---------- */
.contact-callout {
  max-width: 1100px;
  margin: var(--space-md) auto 0;
  background: var(--navy);
  color: var(--bg);
  padding: var(--space-md);
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--brand-blue-light);
}
.contact-callout p { margin: 0.2rem 0; color: rgba(255, 255, 255, 0.88); }
.contact-callout .callout-lede {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff;
  margin-bottom: 0.25rem;
}
.contact-callout a {
  color: var(--brand-blue-pale);
  font-weight: 600;
  font-size: 1.15rem;
}
.contact-callout a:hover { text-decoration: underline; }
.contact-callout .hours {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* ---------- Tour Thumbnail Cards ---------- */
.thumb-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease, filter 250ms ease;
}

.thumb-card:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.thumb-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 50%, rgba(10, 37, 64, 0.35) 100%);
  pointer-events: none;
}

.thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 250ms ease, background-color 150ms ease;
  z-index: 2;
}
.thumb-card:hover .thumb-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-hover);
}
.thumb-play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px; /* optical centering of triangle */
}

/* Fallback shown when the thumbnail image fails to load */
.thumb-fallback-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-head p { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-sm);
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.feature {
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature h3 { margin-bottom: 0.5rem; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--brand-blue);
  border-width: 2px;
  position: relative;
}

.price-card.featured::before {
  content: 'MOST COMMON';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(200, 164, 93, 0.25);
}

.price-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount .currency { font-size: 1.5rem; vertical-align: top; margin-right: 0.1em; }

.price-range {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.price-card .btn { margin-top: auto; }

.addon-row {
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.addon-row .label { font-weight: 600; color: var(--navy); }
.addon-row .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }

/* ---------- Tier feature checklists ---------- */
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.tier-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}

.tier-features li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.65rem;
  height: 0.4rem;
  border-left: 2px solid var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  transform: rotate(-45deg);
}

/* ---------- Add-ons grid ---------- */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .addons-grid { grid-template-columns: 1fr; }
}

.addon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
}
.addon-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.addon-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 var(--space-md);
  flex: 1;
}
.addon-card .addon-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1;
}
.addon-card .addon-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-right: 2.5rem;
  transition: color 150ms ease;
  outline-offset: 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-blue-medium); }
.faq-item summary:focus-visible { color: var(--brand-blue-medium); }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--brand-blue);
  line-height: 1;
  transition: transform 200ms ease;
}

.faq-item[open] summary { color: var(--brand-blue); }
.faq-item[open] summary::after {
  content: '−';
  font-size: 1.6rem;
}

.faq-answer {
  padding: 0 0 var(--space-md);
  color: var(--text);
  line-height: 1.65;
  max-width: 70ch;
  margin: 0;
}

.faq-answer a {
  color: var(--brand-blue);
  font-weight: 600;
  border-bottom: 1px solid var(--brand-blue);
  transition: color 150ms ease;
}
.faq-answer a:hover { color: var(--brand-blue-medium); }

/* ---------- Gallery: Featured Tour ---------- */
.featured-tour {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.featured-tour:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.14);
}

.featured-tour .tour-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.featured-tour .tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease, filter 300ms ease;
}
.featured-tour:hover .tour-image img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.featured-tour .tour-meta {
  padding: var(--space-md) var(--space-lg);
}
.featured-tour h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.featured-tour .tour-subtitle {
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.featured-tour .tour-description {
  color: var(--muted);
  margin-bottom: var(--space-md);
  max-width: 62ch;
  font-size: 1.05rem;
}

/* ---------- Gallery: Sold Grid ---------- */
.sold-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (max-width: 800px) {
  .sold-grid { grid-template-columns: 1fr; }
}

.tour-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.12);
}

.tour-card .tour-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.tour-card .tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease, filter 300ms ease;
}
.tour-card:hover .tour-image img {
  transform: scale(1.03);
  filter: brightness(0.92);
}

.tour-card .tour-meta {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .tour-card h3 { font-size: 1.25rem; }
}
.tour-card .tour-subtitle {
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.tour-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Gallery: Badges & Image overlays ---------- */
.tour-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 55%, rgba(10, 37, 64, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.badge {
  position: absolute;
  top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.42rem 0.8rem;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.badge-sold {
  right: var(--space-sm);
  background: var(--gold);
  color: var(--navy);
}
.badge-camera {
  left: var(--space-sm);
  background: var(--navy);
  color: #fff;
}

/* Play button is reused from .thumb-play; ensure z-index works on tour images */
.tour-image .thumb-play { z-index: 2; }

.tour-image .tour-fallback-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
}

/* Make sure the play button still scales on hover when sitting inside .tour-image */
.featured-tour:hover .thumb-play,
.tour-card:hover .thumb-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-hover);
}

/* ---------- Booking: 3-step process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.step-card {
  text-align: center;
  padding: var(--space-sm) var(--space-sm) 0;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
  margin-bottom: var(--space-sm);
}
.step-icon svg { width: 28px; height: 28px; }

.step-number {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Booking-page contact callout: extends the existing .contact-callout */
.contact-callout h2.callout-lede {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
}
.contact-callout .callout-body {
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin: 0 auto var(--space-sm);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Gallery: Growing-portfolio callout ---------- */
.portfolio-callout {
  max-width: 900px;
  margin: 0 auto;
  background: var(--brand-blue);
  color: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--brand-blue-light);
}
.portfolio-callout h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}
.portfolio-callout p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin: 0 auto var(--space-md);
  font-size: 1.05rem;
}
.portfolio-callout p a {
  color: var(--brand-blue-pale);
  font-weight: 600;
  border-bottom: 1px solid rgba(209, 233, 249, 0.4);
  transition: border-color 150ms ease;
}
.portfolio-callout p a:hover { border-bottom-color: var(--brand-blue-pale); }

/* The primary button inside the brand-blue portfolio callout needs an inverted look */
.portfolio-callout .btn-primary {
  background: #fff;
  color: var(--brand-blue);
}
.portfolio-callout .btn-primary:hover {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
}

/* ---------- Booking Form ---------- */
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .booking-wrap { grid-template-columns: 1fr; gap: var(--space-md); }
}

.booking-info h2 { margin-bottom: var(--space-sm); }
.booking-info p { color: var(--muted); }

.contact-block {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--navy);
  color: var(--bg);
  border-radius: var(--radius);
}
.contact-block h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-sm); }
.contact-block a { color: var(--brand-blue-pale); font-weight: 600; }
.contact-block p { color: rgba(255,255,255,0.88); margin: 0.25rem 0; }

form.booking-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color 150ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.field textarea { resize: vertical; min-height: 100px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

form.booking-form .btn { margin-top: var(--space-sm); }

.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: var(--brand-blue);
  color: #fff;
  padding: var(--space-lg) 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 60ch; margin: 0 auto var(--space-md); }

/* The .btn-primary inside a CTA strip needs to remain clickable looking on a
   blue background. Override to a high-contrast solid white button. */
.cta-strip .btn-primary {
  background: #fff;
  color: var(--brand-blue);
}
.cta-strip .btn-primary:hover {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-blue);
  color: rgba(255,255,255,0.85);
  padding: var(--space-md) 0;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.8;
}
.site-footer .footer-line { margin: 0.15rem 0; }
.site-footer a { color: var(--brand-blue-pale); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.todo {
  display: inline-block;
  background: #fff8d6;
  color: #6a5300;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ────────────────────────────────────────────────────────────────────
   POLISH PASS: hero video, logo mark, section transitions, shadows
   ──────────────────────────────────────────────────────────────────── */

/* ---------- Logo (header + footer) ----------
   The shipped SVG is white-only. We render it as a CSS mask on a <span>
   so a single asset can be tinted brand-blue on the white nav and
   white again on the brand-blue footer/CTA strips — no second SVG file,
   no fragile multi-stage `filter:` chain. */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1;
}

.logo-mark {
  display: inline-block;
  width: 36px;
  height: 27px;       /* SVG viewBox is ~810x600 → 36px wide ≈ 27px tall */
  flex-shrink: 0;
  background-color: var(--brand-blue);
  -webkit-mask: url('images/Lightbody_tour_logo_white.svg') center / contain no-repeat;
          mask: url('images/Lightbody_tour_logo_white.svg') center / contain no-repeat;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* When the logo sits on a brand-blue background, both mark and wordmark go white. */
.bg-blue .logo-mark,
.site-footer .logo-mark { background-color: #fff; }

.bg-blue .logo-text,
.site-footer .logo-text { color: #fff; }

/* On smaller screens shrink the wordmark a touch so the nav stays balanced. */
@media (max-width: 480px) {
  .logo-mark { width: 30px; height: 22px; }
  .logo-text { font-size: 1.1rem; }
}

/* ---------- Hero: video background ----------
   Used by index/pricing/booking. Each section sets a `--poster` custom
   property inline so the reduced-motion fallback can show that image
   without an extra `<img>` tag. */
.hero-video-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  /* Fallback bg if the video fails AND no --poster is set (rare). */
  background: var(--brand-blue) center / cover no-repeat;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-video-bg.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(24, 101, 171, 0.72) 0%,
    rgba(24, 101, 171, 0.50) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: var(--space-md);
  text-align: center;
}

.hero-video-section h1,
.hero-video-section h2 { color: #fff; }

.hero-video-section .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero-video-section .lede,
.hero-video-section p {
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 62ch;
  margin: 0 auto var(--space-md);
}

.hero-video-section .hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-md);
}

/* Hero CTA button: gold pill, brand-blue text, hover dim. Overrides .btn-primary
   *only inside* .hero-video-section so nothing else moves. */
.hero-video-section .btn-primary {
  background: var(--gold);
  color: var(--brand-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.hero-video-section .btn-primary:hover {
  background: var(--gold-hover);
  color: var(--brand-blue);
}

/* Rotation between the 3 videos is now driven by JavaScript listening for the
   'ended' event on each <video> so timing matches actual clip length instead
   of a fixed 12s CSS interval. See script.js for the rotator. */

/* ---------- Hero: static-image variant (gallery) ----------
   Same structural treatment as the video heroes so the brand feels
   consistent across pages. */
.hero-image-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--brand-blue);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-image-section .hero-overlay,
.hero-image-section .hero-content { /* reuse the video-hero rules */ }
.hero-image-section h1,
.hero-image-section h2 { color: #fff; }
.hero-image-section .eyebrow { color: rgba(255, 255, 255, 0.88); }
.hero-image-section p,
.hero-image-section .lede {
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 62ch;
  margin: 0 auto var(--space-md);
}

/* ---------- Reduced motion ----------
   Hide the videos and fall back to the inline --poster image on the
   section. Avoids any motion that could trigger vestibular issues. */
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
  .hero-video-section {
    background-image: var(--poster, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-video-bg { transition: none; }
}

/* ---------- Interactive Matterport tour section (home page) ---------- */
.interactive-tour-section {
  padding: 80px 0;
  background: #fff;
}

.tour-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 16px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(24, 101, 171, 0.18);
  /* Stay below the fixed nav (z-index 9999). */
  z-index: 1;
}
.tour-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tour-caption {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ---------- Booking page calendar wrapper (no internal scrollbar) ----------
   Replaces the home page's .calendar-embed treatment for booking.html
   specifically — taller min-height so all primary content shows without
   the iframe's own scrollbar. */
.calendar-embed-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.calendar-embed-wrapper iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
  display: block;
}

/* ---------- Section transitions ----------
   60px gradient strip at the top of any colored section blends the
   previous section's background into this one. Fully decorative,
   pointer-events:none so it never blocks clicks. The `transparent`
   stop reveals whatever sits above this section. */
.bg-soft,
.bg-pale,
.bg-blue {
  position: relative;
}
.bg-soft::before,
.bg-pale::before,
.bg-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}
.bg-soft::before {
  background: linear-gradient(to bottom, transparent 0%, var(--bg-soft) 100%);
}
.bg-pale::before {
  background: linear-gradient(to bottom, transparent 0%, var(--brand-blue-pale) 100%);
}
.bg-blue::before {
  background: linear-gradient(to bottom, transparent 0%, var(--brand-blue) 100%);
}
/* Make sure section content sits above the gradient strip. */
.bg-soft > .container,
.bg-pale > .container,
.bg-blue > .container { position: relative; z-index: 1; }

/* ---------- "Why it matters" headline punch ---------- */
.section-head h2 { font-weight: 700; }

/* ---------- Pricing teaser: featured middle card ----------
   The full pricing page already has .price-card.featured with the gold
   MOST COMMON badge. Mirror it on the home-page teaser so the middle
   tier earns visual weight. Reuses the same gold-on-blue treatment. */
.teaser-card.featured {
  border-color: var(--brand-blue);
  border-width: 2px;
  position: relative;
  box-shadow: 0 6px 20px rgba(24, 101, 171, 0.10);
}
.teaser-card.featured::before {
  content: 'MOST COMMON';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(200, 164, 93, 0.25);
}

/* ---------- Gallery: featured-tour image shadow ----------
   Promotes the lead image visually so it reads as "presented" rather
   than just placed. Subtle, brand-tinted. */
.featured-tour {
  box-shadow: 0 8px 32px rgba(24, 101, 171, 0.15);
}
.featured-tour:hover {
  /* Stronger lift on hover but keep the brand tint. */
  box-shadow: 0 14px 40px rgba(24, 101, 171, 0.20);
}
