/* ============================================================
   JJ CONVENTION — HEADER & UI REFINEMENT
   ============================================================ */

/* ------------------------------------------------------------
   1. DESKTOP HEADER (> 840px):
   - Completely hide hamburger menu icon.
   - Keep JJ Convention logo on left.
   - Keep navigation menu visible (Home, Gallery, 360 Tour, About Us, Contact Us).
   - Keep Plan Event button visible.
   - Maintain header alignment, spacing, colors, and styling.
   ------------------------------------------------------------ */
@media (min-width: 841px) {
  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu,
  .site-chrome .topbar .nav-wrap > button.pill.menu,
  button#menuButton {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  
  /* Desktop Refined Compact Logo */
  html body .site-chrome > header.topbar > a img.brand,
  header.topbar > a img.brand,
  header.topbar img.brand,
  .site-chrome .brand,
  img.brand {
    display: block !important;
    width: 62px !important;
    max-width: 62px !important;
    height: auto !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28)) !important;
  }

  /* Desktop Glassmorphic Plan Event CTA Button */
  html body .site-chrome .topbar .nav-wrap > a.pill.enter,
  .site-chrome .topbar .nav-wrap > a.pill.enter,
  a.pill.enter {
    min-width: 8.5rem !important;
    height: 2.55rem !important;
    padding: 0 1.25rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-top-color: rgba(255, 255, 255, 0.52) !important;
    border-bottom-color: rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(15, 22, 34, 0.65) 100%) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 10px 24px rgba(0, 0, 0, 0.22) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease !important;
  }

  .site-chrome .topbar .nav-wrap > a.pill.enter::before,
  .site-chrome .topbar .nav-wrap > a.pill.enter > * {
    display: none !important;
    content: none !important;
  }

  html body .site-chrome .topbar .nav-wrap > a.pill.enter::after,
  .site-chrome .topbar .nav-wrap > a.pill.enter::after,
  a.pill.enter::after {
    content: "PLAN EVENT" !important;
    display: block !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    white-space: nowrap !important;
  }

  html body .site-chrome .topbar .nav-wrap > a.pill.enter:hover,
  .site-chrome .topbar .nav-wrap > a.pill.enter:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.14) 45%, rgba(15, 22, 34, 0.78) 100%) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-2px) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.65), 0 14px 30px rgba(0, 0, 0, 0.28) !important;
  }
}

/* ------------------------------------------------------------
   2. MOBILE & TABLET HEADER (<= 840px):
   - Show hamburger menu button (opens/closes mobile drawer).
   - Hide desktop text links (.nav-links).
   - Keep Plan Event button.
   - Keep JJ Convention logo on left (compact 52px).
   ------------------------------------------------------------ */
@media (max-width: 840px) {
  html body .site-chrome > header.topbar > a,
  header.topbar > a {
    position: absolute !important;
    top: .16rem !important;
    left: .22rem !important;
    z-index: 1005 !important;
    display: block !important;
  }

  html body .site-chrome > header.topbar > a img.brand,
  header.topbar > a img.brand,
  header.topbar img.brand,
  .site-chrome .brand,
  img.brand {
    display: block !important;
    width: 54px !important;
    max-width: 54px !important;
    height: auto !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap,
  header.topbar > nav.nav-wrap {
    position: absolute !important;
    top: .22rem !important;
    right: .28rem !important;
    z-index: 1100 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: calc(100vw - 4.8rem) !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .28rem !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap .nav-links,
  header.topbar > nav.nav-wrap .nav-links {
    display: none !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter,
  header.topbar > nav.nav-wrap > a.pill.enter,
  a.pill.enter {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 7.6rem !important;
    height: 1.95rem !important;
    padding: 0 .85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: rgba(255, 255, 255, 0.55) !important;
    border-bottom-color: rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(15, 22, 34, 0.68) 100%) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.38), 0 6px 18px rgba(0, 0, 0, 0.2) !important;
    font-size: 0 !important;
    gap: 0 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter::before,
  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter > *,
  a.pill.enter::before,
  a.pill.enter > * {
    display: none !important;
    content: none !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter::after,
  a.pill.enter::after {
    content: "PLAN EVENT" !important;
    display: block !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: .68rem !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    white-space: nowrap !important;
  }

  /* Mobile Pure Glassmorphism Hamburger Button (Zero Gold Shade) */
  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu,
  header.topbar > nav.nav-wrap > button.pill.menu,
  button.pill.menu,
  button#menuButton,
  button#menu-button {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.15rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    /* Pure Frosted Glassmorphism: Neutral Translucent White with Specular Top Highlight */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-top-color: rgba(255, 255, 255, 0.55) !important;
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  }

  button.pill.menu:hover,
  button#menuButton:hover,
  button#menu-button:hover {
    transform: scale(1.06) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu > *,
  header.topbar > nav.nav-wrap > button.pill.menu > *,
  button.pill.menu > *,
  button#menuButton > *,
  button#menu-button > * {
    display: none !important;
  }

  /* 3 Clean, Pure White Equalizer-Style Hamburger Bars (Zero Gold) */
  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu::before,
  header.topbar > nav.nav-wrap > button.pill.menu::before,
  button.pill.menu::before,
  button#menuButton::before,
  button#menu-button::before {
    content: "" !important;
    display: block !important;
    width: 15px !important;
    height: 11px !important;
    background:
      linear-gradient(#ffffff, #ffffff) 0 0 / 100% 1.8px no-repeat,
      linear-gradient(#ffffff, #ffffff) 0 50% / 100% 1.8px no-repeat,
      linear-gradient(#ffffff, #ffffff) 0 100% / 100% 1.8px no-repeat !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s ease, opacity 0.2s ease !important;
  }

  /* Hamburger Active/Open State: Morph to Pure White Clean 'X' */
  button.pill.menu[aria-expanded="true"],
  button#menuButton[aria-expanded="true"],
  button#menu-button[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
  }
  button.pill.menu[aria-expanded="true"]::before,
  button#menuButton[aria-expanded="true"]::before,
  button#menu-button[aria-expanded="true"]::before {
    display: none !important;
  }
  button.pill.menu[aria-expanded="true"]::after,
  button#menuButton[aria-expanded="true"]::after,
  button#menu-button[aria-expanded="true"]::after {
    content: "✕" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    color: #ffffff !important;
    font-weight: 300 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.25s ease !important;
  }
}

/* ------------------------------------------------------------
   3. SMALL MOBILE PHONES (<= 380px):
   ------------------------------------------------------------ */
@media (max-width: 380px) {
  html body .site-chrome > header.topbar > a img.brand,
  header.topbar > a img.brand,
  header.topbar img.brand,
  .site-chrome .brand,
  img.brand {
    width: 44px !important;
    max-width: 44px !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter,
  header.topbar > nav.nav-wrap > a.pill.enter,
  a.pill.enter {
    height: 1.76rem !important;
    padding: 0 .62rem !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter::after,
  a.pill.enter::after {
    font-size: .62rem !important;
    letter-spacing: .05em !important;
  }

  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu,
  header.topbar > nav.nav-wrap > button.pill.menu,
  button.pill.menu,
  button#menuButton,
  button#menu-button {
    width: 1.95rem !important;
    min-width: 1.95rem !important;
    height: 1.95rem !important;
  }
  html body .site-chrome > header.topbar > nav.nav-wrap > button.pill.menu::before,
  header.topbar > nav.nav-wrap > button.pill.menu::before,
  button.pill.menu::before,
  button#menuButton::before,
  button#menu-button::before {
    width: 13px !important;
    height: 9.5px !important;
  }
}

/* ------------------------------------------------------------
   4. ABOUT PAGE — "OUR STORY" SECTION MOBILE OPTIMIZATION (<= 840px)
   ------------------------------------------------------------ */
@media (max-width: 840px) {
  #story,
  .about-section#story,
  .about-section {
    display: block !important;
    padding-top: clamp(48px, 10vw, 68px) !important;
    padding-bottom: clamp(60px, 10vw, 80px) !important;
    padding-left: clamp(20px, 5.5vw, 32px) !important;
    padding-right: clamp(20px, 5.5vw, 32px) !important;
    scroll-margin-top: 75px !important;
  }

  .about-section__head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-section h2,
  .about-section #story-title {
    margin: 0 0 20px 0 !important;
    font-size: clamp(38px, 10vw, 50px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
    width: 100% !important;
    text-align: left !important;
  }

  .about-section__copy {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .about-section__copy .eyebrow {
    margin: 0 0 14px 0 !important;
    color: var(--gold, #ad7a35) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    display: block !important;
  }

  .about-section__copy p:not(.eyebrow) {
    margin: 0 0 18px 0 !important;
    font-size: 15.5px !important;
    line-height: 1.75 !important;
    color: rgba(17, 21, 29, .78) !important;
    max-width: 100% !important;
  }

  .about-section__copy strong {
    display: block !important;
    margin-top: 24px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--line, rgba(17, 21, 29, .16)) !important;
    color: var(--olive, #4e5e4a) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
  }
}

/* ------------------------------------------------------------
   5. ABOUT PAGE — HERO BACKGROUND VIDEO LANDSCAPE VIEW (<= 840px)
   ------------------------------------------------------------ */
@media (max-width: 840px) {
  .about-hero {
    padding: 72px 16px 0 !important;
  }

  .about-hero__frame {
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 34px rgba(17, 21, 29, 0.14) !important;
  }

  .about-hero__video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .about-hero__copy {
    left: clamp(14px, 4.5vw, 22px) !important;
    right: clamp(14px, 4.5vw, 22px) !important;
    bottom: clamp(12px, 3.8vw, 18px) !important;
    max-width: 100% !important;
  }

  .about-hero__copy .eyebrow {
    margin: 0 0 6px 0 !important;
    font-size: clamp(8.5px, 2.5vw, 10px) !important;
    letter-spacing: .22em !important;
    color: #e6c487 !important;
  }

  .about-hero h1 {
    font-size: clamp(21px, 5.8vw, 26px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em !important;
    margin: 0 !important;
  }

  .about-section#story,
  .about-section {
    padding-top: clamp(40px, 8vw, 56px) !important;
  }
}

/* ------------------------------------------------------------
   6. PLAN EVENT BUTTON — SCROLL STATE ON LIGHT SECTIONS
   When reaching "The Space to Celebrate Every Event" section (and post-sequence),
   the plan event button text colour changes to black.
   Also applies to Contact page and light background views for pure
   frosted crystal glassmorphism without any golden shade.
   ------------------------------------------------------------ */
.contact-page .site-chrome .topbar .nav-wrap > a.pill.enter,
.contact-page a.pill.enter,
html body .contact-page .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter,
body:has(.contact-page) a.pill.enter,
.about-page a.pill.enter,
body:has(.about-page) a.pill.enter,
html body:has(.about-page) .site-chrome .topbar .nav-wrap > a.pill.enter,
.site-chrome.is-post-sequence .topbar .nav-wrap > a.pill.enter,
.site-chrome.in-celebrate-section .topbar .nav-wrap > a.pill.enter,
body.in-celebrate-section .site-chrome .topbar .nav-wrap > a.pill.enter,
body.in-celebrate-section a.pill.enter,
html body .site-chrome.is-post-sequence > header.topbar > nav.nav-wrap > a.pill.enter,
html body .site-chrome.in-celebrate-section > header.topbar > nav.nav-wrap > a.pill.enter,
html body .site-chrome.is-post-sequence a.pill.enter,
html body .site-chrome.in-celebrate-section a.pill.enter {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.35) 100%) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  border-top-color: #ffffff !important;
  border-bottom-color: rgba(17, 21, 29, 0.16) !important;
  box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 1), inset 0 -1px 1px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(17, 21, 29, 0.08) !important;
}

.contact-page .site-chrome .topbar .nav-wrap > a.pill.enter::after,
.contact-page a.pill.enter::after,
html body .contact-page .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter::after,
body:has(.contact-page) a.pill.enter::after,
.about-page a.pill.enter::after,
body:has(.about-page) a.pill.enter::after,
html body:has(.about-page) .site-chrome .topbar .nav-wrap > a.pill.enter::after,
.site-chrome.is-post-sequence .topbar .nav-wrap > a.pill.enter::after,
.site-chrome.in-celebrate-section .topbar .nav-wrap > a.pill.enter::after,
body.in-celebrate-section .site-chrome .topbar .nav-wrap > a.pill.enter::after,
body.in-celebrate-section a.pill.enter::after,
html body .site-chrome.is-post-sequence > header.topbar > nav.nav-wrap > a.pill.enter::after,
html body .site-chrome.in-celebrate-section > header.topbar > nav.nav-wrap > a.pill.enter::after,
html body .site-chrome.is-post-sequence a.pill.enter,
html body .site-chrome.in-celebrate-section a.pill.enter::after {
  color: #0d121c !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.contact-page .site-chrome .topbar .nav-wrap > a.pill.enter:hover,
.contact-page a.pill.enter:hover,
html body .contact-page .site-chrome > header.topbar > nav.nav-wrap > a.pill.enter:hover,
body:has(.contact-page) a.pill.enter:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.48) 100%) !important;
  border-color: #ffffff !important;
  box-shadow: inset 0 1.5px 2px #fff, 0 12px 28px rgba(17, 21, 29, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Ensure smooth scrolling and clean spacing for the contact form */
html {
  scroll-behavior: smooth;
}

#contact-form,
.form-panel {
  scroll-margin-top: 100px;
}

/* ------------------------------------------------------------
   Key Highlights Redesigned Luxury Badges & Icons
   - Removes outdated clunky graphics and concentric ring fills
   - Pristine luxury pearl badge with warm champagne gold rim
   - High-fidelity vector artwork proportions
   ------------------------------------------------------------ */
.jj-key-highlights__icon-wrap {
  width: 84px !important;
  height: 84px !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #ffffff 0%, #fbf8f2 55%, #f2e9d8 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  box-shadow: 0 10px 24px -6px rgba(17, 21, 29, 0.07), 0 4px 10px rgba(197, 160, 89, 0.1), inset 0 2px 3px #ffffff !important;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.jj-key-highlights__card:hover .jj-key-highlights__icon-wrap {
  border-color: #c5a059 !important;
  box-shadow: 0 16px 36px -6px rgba(197, 160, 89, 0.32), inset 0 2px 4px #ffffff !important;
  transform: translateY(-4px) scale(1.04) !important;
}

.jj-key-highlights__icon {
  width: 48px !important;
  height: 48px !important;
  display: block !important;
}

@media (max-width: 840px) {
  .jj-key-highlights__icon-wrap {
    width: 72px !important;
    height: 72px !important;
  }
  .jj-key-highlights__icon {
    width: 42px !important;
    height: 42px !important;
  }
}

/* Hide sequence frame readout completely */
.frame-readout,
#frame-number {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ------------------------------------------------------------
   STREAMLINED FOOTER (Quick Links, Social, Contact Info)
   ------------------------------------------------------------ */
.site-footer__link-groups {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(14px, 2.5vw, 28px) !important;
  align-content: start !important;
}

.site-footer__link-group nav {
  display: grid !important;
  gap: 8px !important;
}

.site-footer__link-group a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: rgba(255, 249, 237, 0.84) !important;
  font-size: 11px !important;
  text-decoration: none !important;
  transition: color 0.22s ease, transform 0.22s ease !important;
  word-break: break-word;
}

.site-footer__link-group a svg {
  flex-shrink: 0 !important;
  width: 14px !important;
  height: 14px !important;
  opacity: 0.9 !important;
  color: #f5d89d !important;
  transition: transform 0.22s ease, opacity 0.22s ease !important;
}

.site-footer__link-group a:hover,
.site-footer__link-group a:focus-visible {
  color: #fff9ed !important;
  transform: translateX(3px) !important;
}

.site-footer__link-group a:hover svg {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

@media (max-width: 640px) {
  .site-footer__panel-grid {
    display: block !important;
  }
  .site-footer__identity {
    margin-bottom: 28px !important;
  }
  .site-footer__link-groups {
    grid-template-columns: 1.05fr 1.35fr !important;
    gap: 20px 14px !important;
  }
  .site-footer__link-group:nth-child(1) {
    grid-row: 1 / span 2 !important;
  }
  .site-footer__link-group:nth-child(2) {
    grid-row: 1 !important;
  }
  .site-footer__link-group:nth-child(3) {
    grid-row: 2 !important;
  }
  .site-footer__label {
    font-size: 9.5px !important;
    margin-bottom: 9px !important;
  }
  .site-footer__link-group a {
    font-size: 10px !important;
    gap: 6px !important;
    word-break: break-all;
  }
  .site-footer__link-group a svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* ------------------------------------------------------------
   5. LUXURY GLASSMORPHIC MOBILE & DESKTOP MENU CARD (.menu-panel)
   ------------------------------------------------------------ */
html body .site-chrome .menu-panel,
html body .menu-panel,
.menu-panel {
  position: absolute !important;
  z-index: 1250 !important;
  top: 76px !important;
  right: 48px !important;
  left: auto !important;
  width: min(290px, calc(100vw - 2rem)) !important;
  max-width: 310px !important;
  padding: 18px 14px 16px !important;
  border-radius: 24px !important;
  background: linear-gradient(155deg, rgba(20, 26, 38, 0.88) 0%, rgba(10, 14, 22, 0.96) 100%) !important;
  backdrop-filter: blur(32px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35) !important;
  box-shadow:
    0 28px 64px -10px rgba(0, 0, 0, 0.65),
    0 12px 28px -6px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform-origin: top right !important;
  transform: scale(0.92) translateY(-10px) !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
  overflow: hidden !important;
}

/* Ambient inner golden glow */
html body .site-chrome .menu-panel::before,
html body .menu-panel::before,
.menu-panel::before {
  content: "" !important;
  position: absolute !important;
  top: -40px !important;
  right: -40px !important;
  width: 170px !important;
  height: 170px !important;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.05) 55%, transparent 75%) !important;
  pointer-events: none !important;
  border-radius: 50% !important;
}

/* Open state */
html body .site-chrome .menu-panel.is-open,
html body .menu-panel.is-open,
.menu-panel.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: scale(1) translateY(0) !important;
}

/* Menu links */
html body .site-chrome .menu-panel a,
html body .menu-panel a,
.menu-panel a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 15px !important;
  margin: 3px 0 !important;
  border: 1px solid transparent !important;
  border-bottom: 0 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: rgba(255, 249, 237, 0.9) !important;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

html body .site-chrome .menu-panel a:hover,
html body .site-chrome .menu-panel a:active,
html body .menu-panel a:hover,
html body .menu-panel a:active,
.menu-panel a:hover,
.menu-panel a:active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(197, 160, 89, 0.12)) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

/* Number index badge - Removed per request for clean luxury minimalism */
html body .site-chrome .menu-panel a span,
html body .menu-panel a span,
.menu-panel a span {
  display: none !important;
}

html body .site-chrome .menu-panel a,
html body .menu-panel a,
.menu-panel a {
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 12px 18px !important;
  letter-spacing: 0.16em !important;
}

html body .site-chrome .menu-panel a:hover span,
html body .menu-panel a:hover span,
.menu-panel a:hover span {
  background: rgba(197, 160, 89, 0.3) !important;
  border-color: rgba(245, 216, 157, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.35) !important;
}

/* Featured CTA item in menu (Plan Event) */
html body .site-chrome .menu-panel a[href*="contact-form"],
html body .menu-panel a[href*="contact-form"] {
  margin-top: 8px !important;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.28) 0%, rgba(197, 160, 89, 0.1) 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  color: #fff9ed !important;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.18) !important;
}

html body .site-chrome .menu-panel a[href*="contact-form"]:hover,
html body .menu-panel a[href*="contact-form"]:hover {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.42) 0%, rgba(197, 160, 89, 0.22) 100%) !important;
  border-color: rgba(245, 216, 157, 0.8) !important;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.32) !important;
}

/* Responsive adjustment for small screens */
@media (max-width: 840px) {
  html body .site-chrome .menu-panel,
  html body .menu-panel,
  .menu-panel {
    top: 3.85rem !important;
    right: 0.8rem !important;
    width: min(270px, calc(100vw - 1.6rem)) !important;
    padding: 14px 12px 14px !important;
    border-radius: 20px !important;
  }
  html body .site-chrome .menu-panel a,
  html body .menu-panel a,
  .menu-panel a {
    padding: 10px 13px !important;
    font-size: 11px !important;
  }
  /* Remove Plan Event text & item from the menu card in mobile view */
  html body .site-chrome .menu-panel a[href*="contact-form"],
  html body .menu-panel a[href*="contact-form"],
  .menu-panel a[href*="contact-form"] {
    display: none !important;
  }
}







/* ============================================================
   6. MOBILE RESOLUTION & CRISPNESS OPTIMIZATION (<= 840px)
   ============================================================ */
@media (max-width: 840px) {
  html body .visual {
    transform: none !important;
    will-change: auto !important;
  }
  html body #frame {
    filter: none !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: high-quality !important;
    image-rendering: crisp-edges !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
  }
}

/* ============================================================
   7. AWWWARDS-CALIBER CINEMATIC INTRO EXPERIENCE (#jj-intro-curtain)
   ============================================================ */
/* Do NOT collapse body height so the scrollTrack remains at its full ~7000px height
   and the initial hero frame (frame 240) is accurately locked without scroll jump */
#jj-intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 999999;
  touch-action: none;
  overscroll-behavior: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #141f2e 0%, #0c1420 50%, #060910 100%);
  color: #f7ede2;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 1s ease;
  will-change: transform, opacity;
}

#jj-intro-curtain.jj-intro--exit {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ambient Gold Star Dust & Glow */
.jj-intro__glow {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(520px, 85vw);
  height: min(520px, 85vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 173, 111, 0.18) 0%, rgba(197, 160, 89, 0.06) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: jjIntroPulse 4s ease-in-out infinite alternate;
}

@keyframes jjIntroPulse {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Architectural Framing Hairlines */
.jj-intro__frame-lines {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(212, 173, 111, 0.14);
  pointer-events: none;
  border-radius: 12px;
}
.jj-intro__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(212, 173, 111, 0.5);
  pointer-events: none;
}
.jj-intro__corner--tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.jj-intro__corner--tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.jj-intro__corner--bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.jj-intro__corner--br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }

/* Main Intro Content Card */
.jj-intro__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  padding: 40px 24px;
}

/* Gold Emblem */
.jj-intro__logo-wrap {
  position: relative;
  margin-bottom: 22px;
}
.jj-intro__logo {
  width: clamp(120px, 18vw, 175px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(212, 173, 111, 0.25));
  animation: jjIntroFloat 4s ease-in-out infinite alternate;
}
@keyframes jjIntroFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Tagline */
.jj-intro__tagline {
  margin: 0 0 28px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 15%, #f2d7b4 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* Micro Luxury Loader Track */
.jj-intro__loader {
  width: min(280px, 78vw);
  margin-top: 10px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.jj-intro__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.jj-intro__track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.jj-intro__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c5a059, #f7dca8, #ffffff);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(247, 220, 168, 0.8);
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.jj-intro__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}
.jj-intro__percent {
  color: #dfba73;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* Actions Container */
.jj-intro__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(320px, 90vw);
  margin-top: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.jj-intro__actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.jj-intro__btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  position: relative;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Primary "Experience with Sound" Button: Pure Luxury Crystal Glassmorphism */
.jj-intro__btn--primary {
  width: 100%;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  /* Pure Frosted Crystal Glassmorphism with Specular Top Highlight */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.07) 48%, rgba(168, 85, 247, 0.12) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-top-color: rgba(255, 255, 255, 0.68) !important;
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  gap: 13px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 28px -4px rgba(168, 85, 247, 0.24), inset 0 1.5px 2px rgba(255, 255, 255, 0.55), inset 0 -1px 1px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.jj-intro__btn--primary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 48%, rgba(192, 132, 252, 0.22) 100%) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  border-top-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.65), 0 0 36px 2px rgba(192, 132, 252, 0.38), inset 0 1.5px 3px rgba(255, 255, 255, 0.8) !important;
}
.jj-intro__btn--primary:active {
  transform: translateY(1px) !important;
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

/* Live Equalizer Animation: Modern Luminous Soundwave */
.jj-intro__eq {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 15px;
  flex-shrink: 0;
}
.jj-intro__eq span {
  display: block;
  width: 2.5px;
  background: linear-gradient(180deg, #ffffff 0%, #e9d5ff 100%) !important;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(233, 213, 255, 0.85);
  animation: jjEqWave 1.2s ease-in-out infinite alternate;
}
.jj-intro__eq span:nth-child(1) { height: 6px; animation-delay: 0.05s; }
.jj-intro__eq span:nth-child(2) { height: 14px; animation-delay: 0.25s; }
.jj-intro__eq span:nth-child(3) { height: 9px; animation-delay: 0.15s; }
.jj-intro__eq span:nth-child(4) { height: 12px; animation-delay: 0.35s; }

@keyframes jjEqWave {
  0% { transform: scaleY(0.4); opacity: 0.75; }
  100% { transform: scaleY(1); opacity: 1; }
}

.jj-intro__btn-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  color: #ffffff !important;
}

.jj-intro__btn-arrow {
  color: #e9d5ff !important;
  font-size: 14px;
  font-weight: 300;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: auto;
}
.jj-intro__btn--primary:hover .jj-intro__btn-arrow {
  transform: translateX(4px);
  color: #ffffff !important;
}

/* Secondary "Enter Silently" Button: Matching Frosted Glass Pill */
.jj-intro__btn--secondary {
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-top-color: rgba(255, 255, 255, 0.35) !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}
.jj-intro__btn--secondary:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  border-top-color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}
.jj-intro__btn--secondary:active {
  transform: translateY(1px);
}

/* Responsive Scaling */
@media (max-width: 480px) {
  .jj-intro__frame-lines {
    inset: 12px;
  }
  .jj-intro__card {
    padding: 24px 16px;
  }
  .jj-intro__logo {
    width: 130px;
  }
  .jj-intro__tagline {
    font-size: 23px;
    margin-bottom: 22px;
  }
  .jj-intro__btn--primary {
    height: 48px;
    font-size: 10.5px;
  }
  .jj-intro__btn--secondary {
    font-size: 10px;
  }
}

/* ==========================================================================
   EXPERIENCE THE VENUE: SINGLE LINE ON MOBILE & REMOVE BLACK FADE
   ========================================================================== */
#jj-architecture-section .img-over-grad {
  display: none !important;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#jj-architecture-section .arch-vtour-overlay {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}

#jj-architecture-section .arch-vtour-overlay .h1,
#jj-arch-title {
  white-space: nowrap !important;
  max-width: none !important;
  width: 100% !important;
  font-size: clamp(19px, 6vw, 36px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75), 0 4px 28px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 480px) {
  #jj-architecture-section .arch-vtour-overlay .h1,
  #jj-arch-title {
    font-size: clamp(18px, 5.8vw, 24px) !important;
  }
}

/* On mobile view: clear the illuminated JJ Convention wall logo by lifting text slightly and moving button down */
@media (max-width: 840px) {
  #jj-architecture-section .arch-vtour-overlay {
    justify-content: center !important;
    gap: 12px !important;
  }

  #jj-architecture-section .arch-vtour-overlay .h1,
  #jj-arch-title {
    margin-bottom: 0 !important;
    transform: translateY(-18px) !important;
  }

  #jj-architecture-section .arch-vtour-title {
    margin-top: 0 !important;
    transform: translateY(-18px) !important;
  }

  #jj-architecture-section .arch-vtour-button {
    margin-top: clamp(118px, 19vh, 160px) !important;
    transform: none !important;
  }
}
