/* v114 — keep content in document flow at every viewport width.
   Photos, service content, destinations and prices are unchanged. */

/* The old capped hero height + unbounded negative vw margin let the photo
   layer paint over the CTA. Copy and navigation now size the same hero. */
.layout-v105 .home-hero {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: clamp(180px, 16vw, 260px) 0 40px;
  overflow: clip;
}
.layout-v105 .home-hero-copy {
  position: relative;
  inset: auto;
  flex: none;
  width: min(82%, 880px);
  margin: 0;
  isolation: isolate;
}
.layout-v105 .home-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -12%;
  background: radial-gradient(ellipse, #fff 40%, #fffffff5 63%, #fff0 75%);
  pointer-events: none;
}
.layout-v105 .home-hero h1 {
  font-size: clamp(30px, 3.25vw, 44px);
  line-height: 1.5;
  letter-spacing: .06em;
}
.layout-v105 .home-hero .hero-services {
  position: relative;
  flex: none;
  width: min(85%, 1088px);
  max-width: none;
  margin: 0;
  padding: 30px 32px;
  border-radius: 6px;
  box-shadow: 0 5px 15px #17384c1a;
}
.layout-v105 .hero-services h2 {
  width: auto;
  border: 0;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.5;
  margin: 0 0 22px;
  text-wrap: balance;
}
.layout-v105 .hero-services h2::after { display: none; }
.layout-v105 .hero-service-links {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px 16px;
}
.layout-v105 .hero-service-links a {
  grid-column: span 3;
  min-width: 0;
  min-height: 44px;
  padding: 10px 8px;
  white-space: normal;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: none;
}
.layout-v105 .hero-service-links a:nth-child(n+5) { grid-column: span 4; }
.layout-v105 .hero-detail-link {
  position: relative;
  width: min(420px, calc(100% - 40px));
  max-width: none;
  min-height: 52px;
  margin: 24px auto 0;
  padding: 14px 20px;
  line-height: 1.6;
  text-wrap: balance;
}
.layout-v105 .hero-review-proof { top: 24px; }
.layout-v105 .hero-price-note { line-height: 1.8; text-wrap: balance; }

/* Same text, with complete phrases rather than a one-character final line. */
.layout-v105 .instagram-story h3 { font-size: 15px; line-height: 1.7; }
.layout-v105 .instagram-story h3 a > .instagram-title-line {
  display: block;
  font: inherit;
  color: inherit;
  text-wrap: balance;
}
.layout-v105 .instagram-story-meta {
  align-items: baseline;
  gap: 4px 12px;
  line-height: 1.7;
}
.layout-v105 .instagram-view-count { white-space: nowrap; }
.layout-v105 .instagram-footer { flex-wrap: wrap; align-items: center; }
.layout-v105 .instagram-footer > div:first-child { flex: 1 1 280px; }
.layout-v105 .instagram-footer-action { flex: 0 1 auto; max-width: 100%; }

/* Navigation styling matches the actual DOM, including its group headings. */
.layout-v105 .mobile-nav .navigation-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  min-width: 0;
}
.layout-v105 .mobile-nav .navigation-group + .navigation-group { margin-top: 24px; }
.layout-v105 .mobile-nav .navigation-group h2 {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--accent);
  margin-bottom: 6px;
}
.layout-v105 .mobile-nav .navigation-group a { min-width: 0; min-height: 44px; }
.layout-v105 .section-heading h2,
.layout-v105 .consultation-box h2,
.layout-v105 .purpose-copy h3,
.layout-v105 .journal-heading h2,
.layout-v105 .footer-contact h2 { text-wrap: balance; }
.layout-v105 .service-heading-tail,
.layout-v105 .heading-phrase { display: inline-block; }
.layout-v105 .purpose-links a:empty,
.layout-v105 .purpose-links a > span:empty { display: none; }

/* Fixed heights must never clip a label when the viewport or text size changes. */
.layout-v105 .consultation-box .solid-button {
  height: auto;
  min-height: 124px;
  padding: 24px;
  gap: 18px;
}
.layout-v105 .consultation-label { min-width: 0; text-wrap: balance; line-height: 1.7; }
.layout-v105 .consultation-box .solid-button > .icon { flex-shrink: 0; }
.layout-v105 .purpose-copy { min-width: 0; }
.layout-v105 .journal-heading { flex-wrap: wrap; gap: 4px 20px; }
.layout-v105 .service-copy .service-price { flex-wrap: wrap; }
.layout-v105 .service-price strong { white-space: nowrap; }
.layout-v105 .reservations-demo-panel .reservations-note { flex-wrap: wrap; }

@media (min-width: 768px) and (max-width: 1099px) {
  .layout-v105 .home-hero { padding-top: 200px; gap: 28px; }
  .layout-v105 .hero-service { font-size: 18px; }
  .layout-v105 .hero-subtitle { font-size: 16px; }
  .layout-v105 .home-hero .hero-services { width: 90%; padding: 28px 24px; }
  .layout-v105 .hero-service-links a { font-size: 13px; }
  .layout-v105 .consultation-box { gap: 0 24px; padding-inline: 28px; }
  .layout-v105 .consultation-box .solid-button { padding: 18px 16px; gap: 12px; font-size: 18px; }
  .layout-v105 .consultation-box .solid-button > .icon { width: 44px; height: 44px; padding: 9px; }
  .layout-v105 .purpose-copy { padding: 28px; }
  .layout-v105 .purpose-copy h3 { font-size: 22px; }
  .layout-v105 .service-card .service-copy { padding: 20px 16px; }
  .layout-v105 .service-copy h3 { font-size: 21px; }
  .layout-v105 .reservations-panel.reservations-demo-panel { grid-template-columns: 180px minmax(0,1fr); gap: 16px 20px; padding: 24px; }
  .layout-v105 .reservations-demo-row { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .layout-v105 .reservation-example-price { justify-content: flex-end; }
}
@media (max-width: 767px) {
  .layout-v105 .home-hero { gap: 24px; padding: clamp(180px, 46vw, 260px) 0 24px; }
  .layout-v105 .home-hero-copy { width: calc(100% - 36px); }
  .layout-v105 .home-hero h1 { font-size: clamp(23px, 6.5vw, 30px); line-height: 1.5; }
  .layout-v105 .hero-region { font-size: 12px; }
  .layout-v105 .hero-service { font-size: 14px; line-height: 1.8; margin-top: 12px; }
  .layout-v105 .hero-subtitle { font-size: 13px; line-height: 1.8; }
  .layout-v105 .hero-mosaic { grid-template-rows: 32% 28% 40%; }
  .layout-v105 .home-hero .hero-services { width: calc(100% - 30px); padding: 24px 16px; }
  .layout-v105 .hero-services h2 { font-size: 20px; margin-bottom: 18px; }
  .layout-v105 .hero-service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .layout-v105 .hero-service-links a,
  .layout-v105 .hero-service-links a:nth-child(n+5) { grid-column: auto; font-size: 12px; }
  .layout-v105 .hero-detail-link { margin-top: 12px; font-size: 14px; }
  .layout-v105 .hero-review-proof { top: 14px; }
  .layout-v105 .instagram-story h3 { font-size: 14px; }
  .layout-v105 .instagram-footer > div:first-child { flex: 0 1 auto; }
  .layout-v105 .instagram-footer-action { flex: 0 1 auto; width: 100%; }
  .layout-v105 .consultation-box .solid-button { min-height: 100px; padding: 20px 14px; gap: 12px; font-size: 18px; }
  .layout-v105 .consultation-box .solid-button > .icon { width: 44px; height: 44px; padding: 9px; }
  .layout-v105 .purpose-copy h3 { font-size: 20px; }
  .layout-v105 { --quick-nav-height: calc(72px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--quick-nav-height); }
  .layout-v105 .mobile-quick-nav { height: var(--quick-nav-height); }
  .layout-v105 .mobile-nav { max-height: calc(100dvh - 60px - var(--quick-nav-height)); overscroll-behavior: contain; }
}
@media (max-width: 479px) {
  .layout-v105 .mobile-nav .navigation-group { grid-template-columns: minmax(0, 1fr); }
  .layout-v105 .instagram-footer p br { display: none; }
}
@media (max-width: 359px) {
  .layout-v105 .consultation-box { padding: 28px 16px; }
  .layout-v105 .consultation-box .solid-button { font-size: 17px; }
  .layout-v105 .purpose-copy { padding: 24px 20px; }
  .layout-v105 .purpose-copy h3 { font-size: 19px; }
}
