@import url("/site-preferences.css?v=20260920-review1");
@import url("/public-editorial.css?v=20260908-design16");
@import url("/site-refinement.css?v=20260908-design16");
@import url("/site-shell-review.css?v=20260920-r2");
/* Shared navigation refinements for every top-level section. */
.desktop-nav a,
.section-page__nav a {
  min-block-size: 44px;
}

:is(
    .desktop-nav,
    .section-page__nav,
    .section-page__mobile-nav,
    .mobile-nav-shell
  )
  a:focus-visible,
:is(.site-header, .section-page__header, .mobile-nav-shell)
  button:focus-visible {
  outline: 2px solid #f1d79c;
  outline-offset: 4px;
}

.mobile-nav-shell[hidden] {
  display: none !important;
}

body.static-nav-open {
  overflow: hidden;
}

.site-header[data-static-header] + .mobile-nav-shell {
  isolation: isolate;
}

.has-static-header .not-found {
  padding-top: var(--header-h);
}

/* Phone navigation: the panel stays in the viewport; only its list scrolls. */
@media (max-width: 860px) {
  .mobile-nav-shell {
    height: 100vh;
    height: 100dvh;
    bottom: auto;
    overflow: hidden;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #080807;
  }

  .mobile-nav-shell nav {
    height: 100%;
    min-height: 0;
    min-width: 0;
    align-content: start;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    scrollbar-width: thin;
    padding: 4px 4px 16px;
    scroll-padding-block: 4px 16px;
  }

  .mobile-nav-shell nav > a {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-height: 54px;
    padding-block: 10px;
    font-size: clamp(1.25rem, 5.6vw, 1.65rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .mobile-nav-shell nav > a small {
    font-size: .8125rem;
  }

  .mobile-nav-shell nav > a.constructor-nav-link {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 52px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    font-size: .875rem;
    letter-spacing: .04em;
  }

  .mobile-nav-shell nav > button {
    min-height: 52px;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    font-size: .875rem;
    line-height: 1.4;
    letter-spacing: .04em;
  }

  .mobile-nav-shell nav .header-extras--menu a {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    min-height: 48px;
    font-size: .875rem;
    line-height: 1.4;
    letter-spacing: .04em;
  }

  .mobile-nav-shell nav .header-rating span {
    font-size: .875rem;
    line-height: 1.4;
  }

  .section-page__mobile-nav {
    height: calc(100vh - var(--page-header));
    height: calc(100dvh - var(--page-header));
    bottom: auto;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
    padding: 16px max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  .section-page__mobile-nav[data-open="true"] {
    align-content: start;
    gap: 0;
  }

  .section-page__mobile-nav a {
    flex-shrink: 0;
    min-height: 54px;
    min-width: 0;
    gap: 12px;
    padding-block: 10px;
    font-size: clamp(1.25rem, 5.6vw, 1.65rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .section-page__mobile-nav a::after {
    flex: 0 0 auto;
  }

  .section-page__mobile-nav[data-open="true"] a.constructor-nav-link {
    min-height: 52px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: .875rem;
    line-height: 1.4;
    letter-spacing: .04em;
  }
}

@media (max-width: 1320px) and (min-width: 861px) {
  .site-header {
    gap: 12px;
    padding-inline: 24px;
  }

  .desktop-nav {
    gap: clamp(12px, 1.55vw, 22px);
  }

  .desktop-nav a {
    font-size: 0.64rem;
    letter-spacing: 0.09em;
  }

  .header-extras {
    display: none;
  }

  .header-book {
    padding-inline: 14px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: calc(72px + env(safe-area-inset-top));
    --page-header: calc(72px + env(safe-area-inset-top));
  }

  .site-header,
  .section-page__header {
    padding-top: env(safe-area-inset-top);
  }

  .mobile-nav-shell {
    padding-top: calc(72px + env(safe-area-inset-top));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .mobile-nav-shell .mobile-nav-close {
    top: calc(14px + env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
  }

  .section-page__floating-book {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 1010px) and (min-width: 861px) {
  .brand-copy {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid rgba(241, 215, 156, 0.32);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.62);
  color: rgba(242, 238, 229, 0.88);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.booking-mobile-note {
  display: none;
}

/* The provider gets the space left after the real header and help text. */
.booking-modal .modal-panel {
  display: flex;
  flex-direction: column;
  height: min(820px, calc(100dvh - 48px));
  min-height: 0;
}

.booking-modal .modal-head,
.booking-modal .modal-note,
.booking-modal .booking-mobile-note {
  flex-shrink: 0;
}

.booking-modal .booking-frame-shell {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: auto;
  min-height: 0;
}

.booking-modal iframe {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
}

.booking-modal .modal-note {
  overflow-wrap: anywhere;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal .modal-panel {
    animation: none;
  }
}

@media (max-width: 700px) {
  .booking-modal {
    padding: 0;
  }

  .booking-modal .modal-panel {
    height: 100dvh;
    max-height: 100dvh;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-block: 14px 16px;
  }

  .hero-trust li {
    display: grid;
    min-height: 42px;
    place-items: center start;
    padding: 7px 9px;
    border-radius: 12px;
    font-size: 0.61rem;
  }

  .booking-mobile-note {
    z-index: 2;
    display: block;
    margin: 0;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(241, 215, 156, 0.24);
    background: #12110e;
    color: rgba(242, 238, 229, 0.78);
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

/* Mobile performance pass: keep the cinematic composition, but remove
   full-viewport paint effects that are especially expensive in iOS Safari. */
@media (max-width: 860px), (hover: none), (pointer: coarse) {
  .site::before,
  body.section-page::before,
  .cinematic-overlay,
  .hall-walkthrough__shade::after {
    display: none;
  }

  .section-page__header,
  .section-page__floating-book {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .section-page__header {
    background: rgba(7, 7, 6, 0.97);
  }

  .section-page__floating-book {
    background: rgba(14, 12, 9, 0.98);
  }

  .hookah-story__visual,
  .hall-walkthrough__media,
  .section-page__article-card,
  .section-page__card {
    contain: paint;
  }

  .section-page__article-card picture img,
  .section-page__card img,
  .section-page__hero-media img {
    animation: none;
    transition: none;
  }
}

/* A late media event must never hide the reduced-motion image fallback. */
.hookah-story--static[data-video-ready="true"] .hookah-story__hero-image,
.motion-reduced .hookah-story[data-video-ready="true"] .hookah-story__hero-image {
  opacity: var(--frame-opacity, 0);
}
.hookah-story--static .hookah-story__hero-image:last-of-type,
.motion-reduced .hookah-story .hookah-story__hero-image:last-of-type {
  opacity: 1;
}

/* If loading/recovery fails, retain the real poster without a long empty scroll. */
.hall-walkthrough[data-video-error="unavailable"] {
  height: auto;
  --hall-media-scale: 1;
  --hall-backdrop-y: 0px;
}
.hall-walkthrough[data-video-error="unavailable"] .hall-walkthrough__sticky {
  position: relative;
  top: auto;
  height: min(760px, calc(100svh - var(--header-h)));
}
.hall-walkthrough[data-video-error="unavailable"] .hall-walkthrough__video,
.hall-walkthrough[data-video-error="unavailable"] .hall-walkthrough__stages,
.hall-walkthrough[data-video-error="unavailable"] .hall-walkthrough__progress {
  display: none;
}
