/* =========================================================
   Homepage cinematic experience
   .vx  opening voyage (GSAP + ScrollTrigger + Lenis)
   .sx  destination showcase · .st  the Bagpack standard · .hc  contact
   Without .is-live (no JS / reduced motion) the voyage is a calm hero.
   ========================================================= */

/* ---------- Voyage: fallback hero ---------- */
.vx { position: relative; background: #0a0e16; color: #fff; }
.vx-stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.vx-layer { position: absolute; inset: 0; overflow: hidden; }
.vx-img { position: absolute; inset: 0; transform-origin: 50% 50%; }
.vx-img img { width: 100%; height: 100%; object-fit: cover; }
.vx-bridge, .vx-cabin, .vx-clouds, .vx-world, .vx-cue, .vx-counter { display: none; }
.vx-cap:not([data-cap="0"]) { display: none; }
.vx-shade {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 11, 18, 0.9) 0%, rgba(8, 11, 18, 0.66) 34%, rgba(8, 11, 18, 0.12) 64%, rgba(8, 11, 18, 0) 80%),
              linear-gradient(0deg, rgba(8, 11, 18, 0.65) 0%, rgba(8, 11, 18, 0) 34%),
              linear-gradient(180deg, rgba(8, 11, 18, 0.5) 0%, rgba(8, 11, 18, 0) 20%);
}
.vx-copy { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.vx-cap { position: absolute; left: 0; right: 0; top: 52%; transform: translateY(-50%); max-width: 780px; pointer-events: auto; }
.vx-cap h1 { color: #fff; font-size: clamp(2.8rem, 5.8vw, 5.6rem); font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 26px; }
.vx-cap h1 .serif { display: block; color: var(--sand); letter-spacing: -0.03em; }
.vx-cap h2 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 4.4rem); font-weight: 400; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 22px; }
.vx-cap h2 .serif { color: var(--sand); }
.vx-cap p { color: rgba(255, 255, 255, 0.8); font-size: 1.12rem; line-height: 1.6; max-width: 520px; margin: 0; }
.vx-cap .eyebrow { margin-bottom: 22px; white-space: nowrap; }
.vx-cap-dark { max-width: 430px; }
.vx-cap-dark h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.vx-lead { font-size: 1.18rem !important; }
.vx-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.vx-cap-dark h2 { color: var(--navy-deep); }
.vx-cap[data-cap="3"] h2 { color: var(--navy-deep); text-shadow: 0 0 40px rgba(255, 250, 240, 0.9); }
.vx-cap[data-cap="3"] h2 .serif { color: var(--sand-deep); }
.vx-cap[data-cap="3"] .eyebrow { color: var(--sand-deep); }
.vx-cap[data-cap="3"] .vx-chips li { background: rgba(255, 255, 255, 0.55); border-color: rgba(28, 38, 56, 0.15); color: var(--navy-deep); }
.vx-cap[data-cap="3"] .vx-chips svg { color: var(--sand-deep); }
.vx-cap-dark h2 .serif { color: var(--sand-deep); }
.vx-cap-dark .eyebrow { color: var(--sand-deep); }
.vx-chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vx-chips li { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.vx-chips svg { width: 15px; height: 15px; color: var(--sand); }
.vx-contact { position: absolute; z-index: 6; right: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 34px; display: flex; gap: 22px; margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }
.vx-contact a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; transition: color 0.3s; }
.vx-contact a:hover { color: #fff; }
.vx-contact svg { width: 15px; height: 15px; color: var(--sand); }

/* ---------- Voyage: live ---------- */
.vx.is-live { height: 760vh; }
.vx.is-live .vx-stage { position: sticky; top: 0; min-height: 0; }
.vx.is-live .vx-bridge, .vx.is-live .vx-cabin, .vx.is-live .vx-clouds, .vx.is-live .vx-world,
.vx.is-live .vx-cue, .vx.is-live .vx-counter { display: block; }
.vx.is-live .vx-cap { display: block; visibility: hidden; }
.vx.is-live .vx-img { will-change: transform; }
.vx-terminal { z-index: 1; }
.vx-bridge { z-index: 1; }
.vx-cabin { z-index: 2; }
.vx.is-live .vx-bridge { clip-path: inset(50% 50% 50% 50% round 24px); }
.vx.is-live .vx-cabin { clip-path: inset(100% 0% 0% 0%); background: radial-gradient(ellipse 70% 80% at 50% 50%, #f3eee5 0%, #e6dfd2 55%, #cdc4b4 100%); }
.vx.is-live .vx-window { position: absolute; inset: 0; clip-path: inset(30% 42% 30% 42% round 140px); }
.vx-blind { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, #efe9df 0 12px, #e2dbcf 12px 13px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }
.vx-blind::after { content: ""; position: absolute; left: 50%; bottom: 18px; width: 64px; height: 8px; margin-left: -32px; border-radius: 6px; background: #c6bda9; }
.vx-bezel { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; will-change: transform, opacity; width: calc(var(--ww, 240px) + 26px); height: calc(var(--wh, 350px) + 26px); transform: translate(-50%, -50%);
  border-radius: calc(var(--wr, 140px) + 13px); border: 13px solid #ece6db; box-shadow: inset 0 0 0 2px #d8d0c1, inset 0 14px 26px rgba(0, 0, 0, 0.28), 0 30px 60px -30px rgba(70, 55, 35, 0.45); pointer-events: none; }
.vx-clouds { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vx-cl { position: absolute; opacity: 0; will-change: transform, opacity; }
.vx-cl img { width: 100%; height: auto; display: block; filter: sepia(0.28) saturate(1.25) hue-rotate(-8deg) brightness(0.98); }
.vx-cl-top { left: -12%; width: 124%; top: -38%; }
.vx-cl-bank { left: -25%; width: 150%; bottom: -55%; }
.vx-cl-bottom { left: -10%; width: 120%; bottom: -60%; }
.vx-cl-wall { inset: 0; }
.vx-cl-wall img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.18) brightness(1.32) contrast(0.86) saturate(1.1); }
.vx-world { opacity: 0; z-index: 2; background: radial-gradient(ellipse 70% 70% at 64% 50%, #1b2741 0%, #0a0e16 72%); }
.vx-globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-labels { position: absolute; inset: 0; pointer-events: none; }
.vy-label { position: absolute; left: 0; top: 0; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transition: opacity 0.5s; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.vy-label.show { opacity: 0.9; }
.vy-label.home { color: var(--sand); }

/* split-line masks */
.vx-ln { display: block; overflow: clip; padding: 0.06em 0 0.2em; margin: -0.06em 0 -0.2em; }

/* counter + scroll cue */
.vx.is-live .vx-counter { position: absolute; z-index: 6; left: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 34px; display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); transition: color 0.5s; }
.vx-counter b { font-weight: 500; color: var(--sand); }
.vx-counter i { display: block; width: 56px; height: 1px; background: rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; transition: background 0.5s; }
.vx-counter i::after { content: ""; position: absolute; inset: 0; background: var(--sand); transform-origin: left; transform: scaleX(var(--cp, 0)); }
.vx.is-live .vx-counter.dark { color: rgba(28, 38, 56, 0.75); }
.vx-counter.dark i { background: rgba(28, 38, 56, 0.25); }
.vx-cue { position: absolute; z-index: 6; left: 50%; bottom: 30px; transform: translateX(-50%); text-align: center; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.vx-cue i { display: block; width: 1px; height: 44px; margin: 12px auto 0; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.vx-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--sand); animation: cue 2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* header over the light cabin wall */
body.vx-light .site-header .brand .light { display: none !important; }
body.vx-light .site-header .brand .dark { display: block !important; }
body.vx-light .site-header .nav > a { color: var(--slate) !important; }
body.vx-light .site-header .menu-toggle { border-color: var(--line) !important; color: var(--navy-deep) !important; }
body.vx-light .site-header.solid { background: rgba(243, 238, 229, 0.7) !important; }
body.vx-light .site-header .header-cta .btn-primary { background: var(--navy) !important; color: #fff !important; }
body.vx-light .vx-contact { color: var(--slate); }

/* phones: captions sit on a soft frosted card so they read over any image */
@media (max-width: 900px) {
  .vx.is-live .vx-cap { left: 16px; right: 16px; width: auto; padding: 22px 20px 24px; border-radius: 18px;
    background: rgba(8, 11, 18, 0.5); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
  .vx.is-live .vx-cap-dark, .vx.is-live .vx-cap[data-cap="3"] { background: rgba(255, 252, 246, 0.62); }
  .vx.is-live .vx-cap .eyebrow { white-space: normal; font-size: 0.68rem; margin-bottom: 14px; }
  .vx.is-live .vx-cap h1, .vx.is-live .vx-cap h2 { margin-bottom: 12px; }
  .vx.is-live .vx-actions .btn { flex: 1 1 auto; padding: 14px 16px; }
  .vx.is-live .vx-chips { margin-top: 16px; gap: 6px; }
  .vx.is-live .vx-chips li { padding: 7px 12px; font-size: 0.82rem; }
  .vx.is-live .vx-copy.wrap { width: 100%; }
}

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

@media (max-width: 900px) {
  .vx.is-live { height: 640vh; }
  .vx-cap { top: auto; bottom: 92px; transform: none; }
  .vx-cap h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .vx-cap h2 { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .vx-cap p { font-size: 1rem; }
  .vx-lead { display: none; }
  .vx-actions { margin-top: 24px; }
  .vx-shade { background: linear-gradient(0deg, rgba(8, 11, 18, 0.92) 0%, rgba(8, 11, 18, 0.55) 42%, rgba(8, 11, 18, 0.05) 70%), linear-gradient(180deg, rgba(8, 11, 18, 0.5), transparent 18%); }
  .vx-contact, .vx-cue { display: none !important; }
  .vx.is-live .vx-counter { bottom: 28px; }
  .vx-cl-top { width: 220%; left: -60%; top: -20%; }
  .vx-cl-bank { width: 280%; left: -90%; bottom: -30%; }
  .vx-cl-bottom { width: 240%; left: -70%; bottom: -30%; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-cue i::after { animation: none; }
}

/* header sits over the voyage */
body.on-voyage .site-header.solid { background: rgba(10, 14, 22, 0.55); box-shadow: none; backdrop-filter: blur(12px); }
body.on-voyage .site-header.solid .brand .light { display: block; }
body.on-voyage .site-header.solid .brand .dark { display: none; }
body.on-voyage .site-header.solid .nav > a { color: rgba(255, 255, 255, 0.85); }
body.on-voyage .site-header.solid .nav > a:hover, body.on-voyage .site-header.solid .nav > a[aria-current="page"] { color: #fff; }
body.on-voyage .site-header.solid .menu-toggle { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
body.on-voyage .site-header.solid .header-cta .btn-primary { background: #fff; color: var(--navy-deep); }

/* ---------- Destination showcase ---------- */
.sx { position: relative; background: #0d121c; color: #fff; }
.sx-sticky { position: relative; overflow: hidden; min-height: 100vh; }
.sx-bgs { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.sx-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.sx-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.sx-bg.active { opacity: 1; }
.sx-bg.active img { transform: scale(1); }
.sx-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 11, 18, 0.9) 0%, rgba(8, 11, 18, 0.72) 38%, rgba(8, 11, 18, 0.35) 70%, rgba(8, 11, 18, 0.45) 100%), linear-gradient(0deg, rgba(8, 11, 18, 0.85) 0%, transparent 45%), linear-gradient(180deg, rgba(8, 11, 18, 0.6) 0%, transparent 30%); }
.sx-ui { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.sx-ui .btn { text-shadow: none; }
.sx-ui { position: relative; z-index: 3; min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: auto 1fr auto; gap: 0 60px; padding: 130px 0 60px; }
.sx-head { grid-column: 1 / -1; margin-bottom: 30px; }
.sx-head h2 { color: #fff; margin: 0; }
.sx-head h2 .serif { color: var(--sand); }
.sx-list { list-style: none; margin: 0; padding: 0; align-self: center; }
.sx-item a { display: flex; align-items: baseline; gap: 18px; padding: 5px 0; text-decoration: none; color: rgba(255, 255, 255, 0.32); transition: color 0.5s, transform 0.6s var(--ease); }
.sx-item a:hover { color: rgba(255, 255, 255, 0.7); }
.sx-item.active a { color: #fff; transform: translateX(14px); }
.sx-n { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.2em; color: var(--sand); opacity: 0.6; }
.sx-item.active .sx-n { opacity: 1; }
.sx-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: 0.01em; transition: font-size 0.6s var(--ease); }
.sx-item.active .sx-name { font-family: var(--font-accent); font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.05; }
.sx-c { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transition: opacity 0.5s; }
.sx-item.active .sx-c { opacity: 0.75; }
.sx-details { position: relative; align-self: end; min-height: 260px; }
.sx-detail { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(26px); visibility: hidden; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), visibility 0s 0.8s; }
.sx-detail.active { opacity: 1; transform: none; visibility: visible; transition-delay: 0.15s, 0.15s, 0s; }
.sx-story { font-family: var(--font-accent); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.35; color: #fff; margin-bottom: 20px; }
.sx-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 26px; }
.sx-meta span { display: inline-flex; gap: 8px; align-items: center; }
.sx-meta svg { width: 16px; height: 16px; color: var(--sand); }
.sx-count { grid-column: 1; font-family: var(--font-display); letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; align-self: end; margin-top: 30px; }
.sx-count b { color: #fff; font-weight: 500; }
.sx-all { grid-column: 2; justify-self: end; align-self: end; margin-top: 30px; }

.sx.is-live { height: calc(var(--n) * 62vh + 100vh); }
.sx.is-live .sx-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.sx.is-live .sx-ui { min-height: 0; height: 100%; }

/* ---------- The Bagpack standard ---------- */
.st { padding: clamp(90px, 11vw, 150px) 0; background: var(--paper); }
.st-head { max-width: 760px; margin-bottom: 60px; }
.st-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.st-item { position: relative; padding: 38px 34px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background 0.5s var(--ease); }
.st-item:hover { background: #fff; }
.st-item > svg { width: 30px; height: 30px; color: var(--navy); margin-bottom: 26px; }
.st-n { position: absolute; top: 32px; right: 30px; font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.2em; color: var(--sand-deep); }
.st-item h3 { font-size: 1.35rem; font-weight: 500; }
.st-item p { color: var(--slate); margin: 0; font-size: 0.97rem; }
.st-band { margin-top: 70px; display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--navy-deep); border-radius: 14px; overflow: hidden; min-height: 380px; }
.st-band-img { position: relative; }
.st-band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-band-copy { padding: clamp(36px, 5vw, 64px); color: #c9cfda; display: flex; flex-direction: column; justify-content: center; }
.st-band-copy h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; line-height: 1.2; }
.st-band-copy p { color: #aab2c1; }
.st-band-copy .link-arrow { align-self: flex-start; margin-top: 10px; }

/* ---------- Contact ---------- */
.hc { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(100px, 12vw, 160px) 0; }
.hc-bg { position: absolute; inset: -12% 0; z-index: -2; translate: 0 var(--py, 0px); }
.hc-bg img { width: 100%; height: 100%; object-fit: cover; }
.hc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 14, 22, 0.93) 30%, rgba(10, 14, 22, 0.7)); }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hc-copy h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.hc-copy h2 .serif { color: var(--sand); }
.hc-lead { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; margin-bottom: 34px; }
.hc-ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hc-ways a { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; color: #fff; transition: padding 0.4s var(--ease); }
.hc-ways a:hover { padding-left: 8px; }
.hc-ways small { display: block; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hc-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); flex: none; }
.hc-ic svg { width: 19px; height: 19px; color: var(--sand); }
.hc-ic.wa { background: var(--wa); border-color: var(--wa); }
.hc-ic.wa svg { color: #fff; }
.hc-form { background: rgba(255, 255, 255, 0.97); color: var(--navy-ink); border-radius: 16px; padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.hc-form h3 { font-size: 1.5rem; margin-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .vp-route b { font-size: 1.6rem; }
  .sx-ui { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding: 100px 0 40px; }
  .sx-list { align-self: start; }
  .sx-item a { padding: 0; }
  .sx-name { font-size: clamp(1.5rem, 7vw, 2.4rem); }
  .sx-item:not(.active) .sx-name { font-size: 1.05rem; }
  .sx-details { min-height: 210px; }
  .sx-story { font-size: 1.15rem; margin-bottom: 14px; }
  .sx-meta { margin-bottom: 18px; }
  .sx-meta span:nth-child(3) { display: none; }
  .sx-all { grid-column: 1; justify-self: start; }
  .st-grid { grid-template-columns: 1fr 1fr; }
  .st-band { grid-template-columns: 1fr; }
  .st-band-img { min-height: 240px; }
  .hc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-item { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-bg img { transition: none; transform: none; }
}



