/* ==========================================================================
   JazzeeXscapes — Opening Screen (Phase 1A)
   ========================================================================== */

:root {
  --black: #0a0908;
  --black-soft: #121110;
  --ink: #060605;
  --ivory: #f6f1e7;
  --white: #ffffff;
  --gold: #cda355;
  --gold-light: #f0d9a8;
  --gold-dark: #8a6a2f;
  --gold-gradient: linear-gradient(135deg, #b8863f 0%, #e7c583 28%, #f7e7bd 50%, #d9ac5c 72%, #a97c37 100%);

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-hero-title: "Bodoni Moda", "Didot", "Playfair Display", "Georgia", serif;
  --font-script: "Qwigley", "Playfair Display", cursive;

  --header-h: 128px;
  --header-h-mobile: 80px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  background: linear-gradient(180deg, #0b0a09 0%, #0a0908 100%);
  border-bottom: 1px solid rgba(205, 163, 85, 0.28);
}

.header-inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 72px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 40px);
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo-img {
  height: clamp(72px, 6.2vw, 100px);
  width: auto;
  object-fit: contain;
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 34px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  color: var(--ivory);
  text-decoration: none;
  font-size: clamp(10.5px, 0.85vw, 12.5px);
  font-weight: 500;
  letter-spacing: clamp(0.7px, 0.1vw, 1.4px);
  text-transform: uppercase;
  padding-bottom: 10px;
  opacity: 0.88;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-light);
  opacity: 1;
}
.nav-link:hover::after { width: 100%; }

.nav-link.is-active {
  color: var(--gold);
  opacity: 1;
}
.nav-link.is-active::after {
  width: 100%;
  background: var(--gold);
}

.vip-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  background: var(--gold-gradient);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.vip-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 18px rgba(205, 163, 85, 0.45);
  transform: translateY(-1px);
}

.vip-crown { font-size: 13px; line-height: 1; }

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(205,163,85,0.4);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 82vw);
  background: #0c0b0a;
  border-left: 1px solid rgba(205,163,85,0.3);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: calc(var(--header-h-mobile) + 24px) 28px 32px;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-nav-link {
  color: var(--ivory);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}
.mobile-nav-link.is-active { color: var(--gold); opacity: 1; }

.vip-btn--mobile {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 28% 42%;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,4,0.55) 0%, rgba(6,5,4,0.22) 22%, rgba(6,5,4,0.30) 55%, rgba(6,5,4,0.72) 84%, rgba(6,5,4,0.92) 100%),
    radial-gradient(ellipse at center 42%, rgba(6,5,4,0.15) 0%, rgba(6,5,4,0.5) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(28px, 6vh, 64px) 20px clamp(16px, 4vh, 40px);
  animation: heroFadeIn 1.1s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  margin: 0 0 2px;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ivory);
  opacity: 0.92;
}

.hero-title {
  margin: 0;
  font-family: var(--font-hero-title);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: 1.5px;
  color: var(--white);
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.gold-x {
  display: inline-block;
  font-size: 2.15em;
  font-weight: 500;
  line-height: 1;
  position: relative;
  top: 0.24em;
  margin: 0 -0.05em;
  color: var(--gold-light);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0;
}

.hero-script {
  margin: clamp(12px, 2.2vh, 20px) 0 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  color: var(--white);
  line-height: 1.25;
}

.hero-subtext {
  margin: clamp(20px, 3.2vh, 30px) 0 0;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.85;
  font-weight: 400;
}

.cta-btn {
  margin-top: clamp(20px, 3.4vh, 34px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 9, 8, 0.55);
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid rgba(205, 163, 85, 0.75);
  padding: 16px 34px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.25s ease;
}

.cta-btn .plane-icon {
  display: inline-block;
  transition: transform 0.35s ease;
}

.cta-btn:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(240,217,168,0.25), 0 0 26px rgba(205,163,85,0.35);
  background: rgba(10, 9, 8, 0.72);
  transform: translateY(-1px);
}
.cta-btn:hover .plane-icon {
  transform: translate(3px, -2px);
}

/* ==========================================================================
   SIX-CARD NAVIGATION PANEL
   ========================================================================== */

.nav-panel {
  position: relative;
  z-index: 2;
  margin: 0 clamp(14px, 3vw, 36px) clamp(16px, 3vh, 28px);
}

.nav-panel-inner {
  background: rgba(8, 7, 6, 0.88);
  border: 1px solid rgba(205, 163, 85, 0.45);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  backdrop-filter: blur(6px);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.35);
}

.nav-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px) clamp(10px, 1.6vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(205, 163, 85, 0.3);
}

.nav-card:last-child { border-right: none; }

.nav-card-icon {
  color: var(--gold);
  width: clamp(26px, 2.6vw, 32px);
  height: clamp(26px, 2.6vw, 32px);
  margin-bottom: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.nav-card-icon svg { width: 100%; height: 100%; }

.nav-card-title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 1.05vw, 13.5px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.nav-card-desc {
  margin: 0 0 12px;
  font-size: clamp(11.5px, 0.95vw, 13px);
  line-height: 1.5;
  color: var(--ivory);
  opacity: 0.82;
  font-weight: 300;
  min-height: 44px;
}

.nav-card-link {
  margin-top: auto;
  color: var(--gold);
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s ease, gap 0.25s ease;
}
.nav-card-link:hover {
  color: var(--gold-light);
  gap: 9px;
}

.nav-card:hover .nav-card-icon {
  color: var(--gold-light);
  transform: translateY(-2px);
}
.nav-card:hover {
  background: linear-gradient(180deg, rgba(205,163,85,0.06), transparent);
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4, 3, 3, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: min(460px, 100%);
  background: linear-gradient(180deg, #100e0c 0%, #0a0908 100%);
  border: 1px solid rgba(205, 163, 85, 0.55);
  border-radius: 6px;
  padding: 48px 36px 40px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0,0,0,0.6);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s ease;
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-crown {
  display: inline-block;
  font-size: 26px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(205,163,85,0.5));
}

.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
}

.modal-subtitle {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.modal-copy {
  margin: 0 0 28px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ivory);
  opacity: 0.85;
  font-weight: 300;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(205,163,85,0.4);
  background: transparent;
  color: var(--gold-light);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.modal-close:hover {
  background: rgba(205,163,85,0.15);
  transform: rotate(90deg);
}

.modal-close-btn {
  background: transparent;
  border: 1px solid rgba(205, 163, 85, 0.75);
  color: var(--gold-light);
  padding: 12px 30px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.modal-close-btn:hover {
  background: rgba(205,163,85,0.12);
  box-shadow: 0 0 20px rgba(205,163,85,0.3);
}

/* ==========================================================================
   PLAN YOUR TRIP
   ========================================================================== */

.plan-trip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
}

.plan-trip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 163, 85, 0.5), transparent);
  z-index: 2;
}

.plan-trip-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.plan-trip-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.plan-trip-content {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, #141210 0%, #0b0a08 55%, #17140f 100%);
  overflow: hidden;
}

.plan-trip-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 0%, rgba(205, 163, 85, 0.07), transparent 55%),
    radial-gradient(ellipse at 8% 100%, rgba(205, 163, 85, 0.05), transparent 50%);
  pointer-events: none;
}

.plan-trip-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 100px) clamp(28px, 5vw, 72px);
}

.plan-trip-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.plan-trip-divider {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--gold), rgba(205, 163, 85, 0));
}

.plan-trip-heading {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.3vw, 3.2rem);
  line-height: 1.15;
}

.heading-ivory {
  display: block;
  color: var(--white);
}

.heading-gold {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.plan-trip-desc {
  margin: 0 0 34px;
  max-width: 460px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.82;
}

.plan-trip-highlights {
  display: flex;
  list-style: none;
  margin: 0 0 38px;
  padding: 0;
}

.highlight {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(205, 163, 85, 0.28);
}

.highlight:last-child {
  border-right: none;
}

.highlight-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 11px;
  color: var(--gold);
}
.highlight-icon svg { width: 100%; height: 100%; }

.highlight-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ivory);
  opacity: 0.85;
}

.plan-trip-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  background: var(--gold-gradient);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 17px 36px;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease, transform 0.25s ease, filter 0.3s ease;
}

.plan-trip-cta .plane-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.plan-trip-cta:hover {
  filter: brightness(1.07);
  box-shadow: 0 4px 20px rgba(205, 163, 85, 0.4);
  transform: translateY(-1px);
}
.plan-trip-cta:hover .plane-icon {
  transform: translate(3px, -2px);
}

a.plan-trip-cta {
  text-decoration: none;
}

/* ==========================================================================
   BENEFITS BUTLER
   ========================================================================== */

.benefits-section .plan-trip-desc {
  margin-bottom: 14px;
}

.benefits-secondary {
  margin: 0 0 34px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--gold-light);
  opacity: 0.95;
}

/* ==========================================================================
   TRAVEL ESSENTIALS
   ========================================================================== */

.travel-essentials {
  position: relative;
  background: linear-gradient(165deg, #131210 0%, #0a0908 55%, #141210 100%);
  padding: clamp(64px, 9vh, 110px) 0 clamp(56px, 8vh, 96px);
  scroll-margin-top: var(--header-h);
}

.travel-essentials::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 163, 85, 0.5), transparent);
}

.te-intro {
  max-width: 680px;
  margin: 0 auto clamp(48px, 7vh, 76px);
  padding: 0 24px;
  text-align: center;
}

.te-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.te-divider {
  display: block;
  width: 54px;
  height: 1px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, rgba(205, 163, 85, 0), var(--gold), rgba(205, 163, 85, 0));
}

.te-heading {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.18;
}

.te-desc {
  margin: 0 auto;
  max-width: 480px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.82;
}

.te-body {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

.te-visual {
  flex: 0 0 clamp(280px, 38%, 420px);
  align-self: stretch;
}

.te-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 30% center;
  border-radius: 6px;
}

.te-tools {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.te-tool {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(205, 163, 85, 0.25);
}

.te-tool:first-child {
  padding-top: 0;
  border-top: none;
}

.te-tool-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  color: var(--gold);
}
.te-tool-icon svg { width: 100%; height: 100%; }

.te-tool-body { flex: 1 1 auto; }

.te-tool-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--white);
}

.te-tool-desc {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.8;
}

.te-tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}
.te-tool-link:hover {
  color: var(--gold-light);
  gap: 9px;
}

/* ==========================================================================
   DIGITAL ITINERARIES
   ========================================================================== */

.digital-itineraries-section .plan-trip-desc {
  margin-bottom: 14px;
}

#digital-itineraries {
  scroll-margin-top: var(--header-h);
}

#benefits-butler {
  scroll-margin-top: var(--header-h);
}

#digital-itineraries .plan-trip-media img {
  object-position: 62% center;
}

/* ==========================================================================
   MEET JAZZEE
   ========================================================================== */

#plan-your-trip {
  scroll-margin-top: var(--header-h);
}

.meet-jazzee {
  position: relative;
  background: linear-gradient(160deg, #121110 0%, #0a0908 55%, #141210 100%);
  padding: clamp(72px, 10vh, 120px) clamp(24px, 5vw, 64px);
  scroll-margin-top: var(--header-h);
}

.meet-jazzee::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 163, 85, 0.5), transparent);
}

.mj-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  align-items: center;
  gap: clamp(48px, 6vw, 100px);
}

.mj-photo {
  position: relative;
}

.mj-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid rgba(205, 163, 85, 0.22);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

.mj-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(10, 9, 8, 0) 78%, rgba(10, 9, 8, 0.22) 100%);
  pointer-events: none;
}

.mj-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.mj-divider {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--gold), rgba(205, 163, 85, 0));
}

.mj-heading {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.2;
}

.mj-copy {
  max-width: 560px;
}

.mj-copy p {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.85;
}

.mj-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--white);
  opacity: 1;
  margin-bottom: 20px;
}

.mj-emphasis {
  font-weight: 500;
  color: var(--gold-light);
  opacity: 1;
}

.mj-tagline {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.mj-stats {
  display: flex;
  list-style: none;
  margin: 34px 0 32px;
  padding: 0;
}

.mj-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 22px;
  text-align: center;
  border-right: 1px solid rgba(205, 163, 85, 0.25);
}
.mj-stat:first-child { padding-left: 0; }
.mj-stat:last-child { border-right: none; padding-right: 0; }

.mj-stat-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--gold);
}
.mj-stat-value--big {
  font-size: 2.2rem;
}

.mj-stat-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ivory);
  opacity: 0.75;
}

.mj-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(205, 163, 85, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}
.mj-cta:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  gap: 12px;
}

/* ==========================================================================
   PLAN YOUR ESCAPE — INQUIRY EXPERIENCE
   ========================================================================== */

.inquiry-overlay {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: flex;
  justify-content: flex-end;
  background: rgba(4, 3, 3, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.inquiry-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.inquiry-panel {
  position: relative;
  width: min(1120px, 94vw);
  height: 100%;
  max-height: 100svh;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  background: linear-gradient(160deg, #121110 0%, #0a0908 55%, #141210 100%);
  box-shadow: -50px 0 120px rgba(0, 0, 0, 0.65);
  border-left: 1px solid rgba(205, 163, 85, 0.3);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.inquiry-overlay.is-open .inquiry-panel {
  transform: translateX(0);
}

.inquiry-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(205, 163, 85, 0.4);
  background: rgba(10, 9, 8, 0.55);
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.inquiry-close:hover {
  background: rgba(205, 163, 85, 0.18);
  border-color: rgba(205, 163, 85, 0.7);
  transform: rotate(90deg);
}

.inquiry-visual {
  position: relative;
  overflow: hidden;
}
.inquiry-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.inquiry-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.35) 0%, rgba(6, 5, 4, 0.25) 45%, rgba(6, 5, 4, 0.85) 100%);
}
.inquiry-visual-caption {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 1;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--white);
}

.inquiry-content {
  position: relative;
  overflow-y: auto;
  padding: clamp(48px, 7vh, 76px) clamp(32px, 4.5vw, 64px) clamp(40px, 6vh, 56px);
}

.inquiry-state {
  max-width: 460px;
  animation: inquiryFadeIn 0.5s ease both;
}
@keyframes inquiryFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.inquiry-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.inquiry-heading {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  color: var(--white);
}

.inquiry-sub {
  margin: 0 0 32px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.82;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inquiry-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inquiry-field label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.9;
}

.inquiry-field input,
.inquiry-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(205, 163, 85, 0.3);
  border-radius: 3px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ivory);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.inquiry-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23cda355' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
.inquiry-field select option {
  background: #17140f;
  color: var(--ivory);
}

.inquiry-field input::placeholder {
  color: var(--ivory);
  opacity: 0.35;
}

.inquiry-field input:focus,
.inquiry-field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(205, 163, 85, 0.07);
}

.inquiry-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(196, 92, 68, 0.6);
}

.inquiry-error {
  margin: -6px 0 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #e0a385;
}

.inquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  background: var(--gold-gradient);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 17px 36px;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease, transform 0.25s ease, filter 0.3s ease, opacity 0.2s ease;
}
.inquiry-submit:hover {
  filter: brightness(1.07);
  box-shadow: 0 4px 20px rgba(205, 163, 85, 0.4);
  transform: translateY(-1px);
}
.inquiry-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.inquiry-submit .plane-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.inquiry-submit:hover .plane-icon {
  transform: translate(3px, -2px);
}

.inquiry-state--confirm {
  text-align: left;
}
.inquiry-confirm-icon {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 30px;
  filter: drop-shadow(0 0 12px rgba(205, 163, 85, 0.4));
}

.inquiry-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(205, 163, 85, 0.5);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.inquiry-back-btn:hover {
  background: rgba(205, 163, 85, 0.12);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(205, 163, 85, 0.25);
}

@media (max-width: 900px) {
  .inquiry-panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 100svh;
    border-left: none;
    transform: translateY(100%);
  }
  .inquiry-overlay.is-open .inquiry-panel { transform: translateY(0); }
  .inquiry-visual { display: none; }
  .inquiry-content { padding: clamp(64px, 12vh, 96px) 24px 40px; }
  .inquiry-field-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .inquiry-close { top: 14px; right: 14px; }
}

/* ==========================================================================
   START EXPLORING — BOARDING PASS TRANSITION
   ========================================================================== */

.boarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 970;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 3, 3, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.boarding-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.boarding-pass {
  position: relative;
  width: min(940px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #141210 0%, #0a0908 55%, #17140f 100%);
  border: 1px solid rgba(205, 163, 85, 0.35);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 70px rgba(205, 163, 85, 0.08);
  transform: translateY(26px) scale(0.97);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
}
.boarding-overlay.is-open .boarding-pass {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.boarding-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(205, 163, 85, 0.4);
  background: rgba(10, 9, 8, 0.55);
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.boarding-close:hover {
  background: rgba(205, 163, 85, 0.18);
  border-color: rgba(205, 163, 85, 0.7);
  transform: rotate(90deg);
}

.boarding-pass-inner {
  display: flex;
  width: 100%;
}

.boarding-pass-main {
  flex: 1 1 auto;
  padding: clamp(40px, 5vw, 64px);
  padding-right: clamp(56px, 6vw, 80px);
}

.boarding-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.boarding-heading {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.32;
  color: var(--white);
}

.boarding-heading-gold {
  display: block;
  margin-top: 4px;
  color: var(--gold);
}

.boarding-script {
  margin: 0 0 30px;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  color: var(--ivory);
  line-height: 1.3;
}

.boarding-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin: 0 0 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(205, 163, 85, 0.22);
}

.boarding-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boarding-detail-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.boarding-detail-value {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory);
}

.boarding-note {
  margin: 0 0 32px;
  max-width: 460px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ivory);
  opacity: 0.62;
}

.boarding-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.boarding-stay-btn {
  padding: 15px 28px;
}

.boarding-pass-stub {
  position: relative;
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 32px 20px;
  border-left: 1px dashed rgba(205, 163, 85, 0.4);
}

.boarding-pass-stub::before,
.boarding-pass-stub::after {
  content: "";
  position: absolute;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--black);
  border-radius: 50%;
}
.boarding-pass-stub::before { top: -10px; }
.boarding-pass-stub::after { bottom: -10px; }

.boarding-stub-plane {
  font-size: 30px;
  color: var(--gold);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 10px rgba(205, 163, 85, 0.4));
}

.boarding-stub-code {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
}

.boarding-barcode {
  width: 60%;
  height: 40px;
  opacity: 0.5;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 2px,
    transparent 2px 5px,
    var(--gold) 5px 6px,
    transparent 6px 11px,
    var(--gold) 11px 14px,
    transparent 14px 18px,
    var(--gold) 18px 21px,
    transparent 21px 25px
  );
}

@media (max-width: 760px) {
  .boarding-pass {
    max-height: 94vh;
  }
  .boarding-pass-inner {
    flex-direction: column-reverse;
  }
  .boarding-pass-main {
    padding: 48px 26px 32px;
  }
  .boarding-pass-stub {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    padding: 18px 20px;
    border-left: none;
    border-bottom: 1px dashed rgba(205, 163, 85, 0.4);
  }
  .boarding-pass-stub::before,
  .boarding-pass-stub::after {
    left: 50%;
    top: auto;
    transform: translateX(-50%);
  }
  .boarding-pass-stub::before { top: -10px; bottom: auto; }
  .boarding-pass-stub::after { bottom: -10px; }
  .boarding-stub-plane { transform: rotate(45deg); }
  .boarding-stub-code { writing-mode: horizontal-tb; }
  .boarding-barcode { display: none; }

  .boarding-details { gap: 16px 28px; }
  .boarding-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .boarding-enter-btn,
  .boarding-stay-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .boarding-close { top: 14px; right: 14px; }
}

/* ==========================================================================
   TOAST
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: rgba(10, 9, 8, 0.95);
  border: 1px solid rgba(205, 163, 85, 0.55);
  color: var(--gold-light);
  padding: 13px 24px;
  font-size: 12.5px;
  letter-spacing: 1px;
  border-radius: 3px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Desktop nav no longer fits comfortably below this width (six full-text
   labels + logo + VIP button), so the mobile nav/hamburger takes over here
   instead of the old 980px point, which was overflowing the header. */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-inner > .vip-btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { padding: 0 18px; }
  .site-header { height: var(--header-h-mobile); }
  .logo-img { height: 52px; }

  .hero { min-height: calc(100svh - var(--header-h-mobile)); }

  /* These track the mobile header height, so they switch at the same
     breakpoint as the header itself rather than the general tablet one. */
  .travel-essentials { scroll-margin-top: var(--header-h-mobile); }
  #digital-itineraries { scroll-margin-top: var(--header-h-mobile); }
  #benefits-butler { scroll-margin-top: var(--header-h-mobile); }
  #plan-your-trip { scroll-margin-top: var(--header-h-mobile); }
  .meet-jazzee { scroll-margin-top: var(--header-h-mobile); }
}

@media (max-width: 980px) {
  .nav-panel-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-card:nth-child(3) { border-right: none; }
  .nav-card:nth-child(n+4) { border-top: 1px solid rgba(205,163,85,0.3); }
  .nav-card-desc { min-height: 0; }

  .plan-trip-inner { padding: clamp(40px, 7vh, 72px) clamp(24px, 4vw, 48px); }
  .plan-trip-heading { font-size: clamp(1.9rem, 4vw, 2.6rem); }

  .te-body { gap: 40px; }
  .te-visual { flex-basis: 34%; }

  .mj-container { gap: 40px; }
  .mj-heading { font-size: clamp(1.9rem, 4vw, 2.6rem); }
}

@media (max-width: 760px) {
  .plan-trip { grid-template-columns: 1fr; }
  .plan-trip-media { min-height: 340px; }
  .plan-trip-inner { max-width: 100%; padding: 44px 26px 56px; }
  .benefits-media { order: -1; }

  .te-body { flex-direction: column; padding: 0 26px; }
  .te-visual { flex-basis: auto; width: 100%; }
  .te-visual-img { min-height: 260px; object-position: 30% center; }
  .te-heading { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  .mj-container { grid-template-columns: 1fr; }
  .mj-photo { max-width: 420px; margin: 0 auto; }
  .mj-copy { max-width: 100%; }
}

@media (max-width: 620px) {
  .nav-panel-inner { grid-template-columns: 1fr 1fr; }
  .nav-card:nth-child(3) { border-right: 1px solid rgba(205,163,85,0.3); }
  .nav-card:nth-child(2n) { border-right: none; }
  .nav-card:nth-child(n+3) { border-top: 1px solid rgba(205,163,85,0.3); }
  .nav-panel { margin: 0 10px 12px; }
  .hero-content { padding-top: 20px; }
  .cta-btn { padding: 14px 26px; }
  .hero-title { font-size: 2.05rem; letter-spacing: 0.5px; }
  .gold-x { font-size: 1.6em; top: 0.16em; margin: 0 -0.03em; }

  .plan-trip-desc { max-width: 100%; }
  .highlight { padding: 0 6px; }
  .highlight-label { font-size: 9.5px; letter-spacing: 0.5px; }
  .plan-trip-cta { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .nav-panel-inner { grid-template-columns: 1fr; }
  .nav-card { border-right: none !important; border-top: 1px solid rgba(205,163,85,0.3); }
  .nav-card:first-child { border-top: none; }
}

@media (max-height: 620px) and (min-width: 981px) {
  .hero-content { padding-top: 18px; padding-bottom: 12px; }
  .hero-subtext { margin-top: 10px; }
  .cta-btn { margin-top: 16px; padding: 12px 26px; }
}

/* ==========================================================================
   CHAPTER SCROLL TRANSITION (scroll-linked, applies across all chapters)
   ========================================================================== */

.chapter-scroll {
  transform: translateY(var(--ch-translate, 0px)) scale(var(--ch-scale, 1));
  opacity: var(--ch-opacity, 1);
  filter: blur(var(--ch-blur, 0px));
  box-shadow: 0 60px 120px rgb(0 0 0 / var(--ch-shadow, 0));
  transform-origin: 50% 0%;
  transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.18s ease-out;
  will-change: transform, opacity;
}

@media (max-width: 760px) {
  .chapter-scroll {
    transform: none;
    opacity: 1;
    filter: none;
    box-shadow: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .chapter-scroll { transform: none; opacity: 1; filter: none; box-shadow: none; transition: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
