/* =========================================================
   Qatrani Camp — tokens
   Palette pulled from the camp's own photos: dune sand,
   Lake Qarun steel-blue, campfire ember, desert night.
   ========================================================= */
:root {
  --night: #0b1026;
  --night-2: #141b3d;
  --night-3: #222a55;
  --ember: #ff7a3d;
  --ember-hover: #ff9259;
  --ember-ink: #9c3d17;      /* ember dark enough to read on sand */
  --gold: #f2b45a;
  --sand: #e6d0aa;
  --sand-2: #d8bd8f;
  --paper: #fbf3e2;
  --ink: #1d1712;
  --ink-soft: #5a4a3a;
  --star: #fff3d6;
  --star-soft: #c7c0b2;
  --lake: #4f8a9b;
  --wa: #25d366;

  /* DejaVu Serif Condensed is the typeface of the Qatrani Camp wordmark */
  --font-display: 'DejaVu Serif Condensed', 'DejaVu Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* hero time-of-day values (overwritten by hero.js as you scroll) */
  --text: #1d1712;
  --text-soft: #4a3a2c;
}
[dir='rtl'] { --font-display: 'Noto Naskh Arabic', 'Amiri', serif; }

@font-face { font-family: 'DejaVu Serif Condensed'; src: url('/fonts/DejaVuSerifCondensed.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DejaVu Serif Condensed'; src: url('/fonts/DejaVuSerifCondensed-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--star);
  background: var(--night);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.08;
}
[dir='rtl'] .display { font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.h2 { font-size: clamp(2.2rem, 4.5vw, 3.9rem); margin-bottom: .42em; text-wrap: balance; }
.h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); }
[dir='rtl'] .h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
[dir='rtl'] .h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.28rem); line-height: 1.6; max-width: 56ch; color: var(--lead, inherit); }
.eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--eyebrow, var(--gold));
}
[dir='rtl'] .eyebrow { letter-spacing: 0; font-size: 1rem; text-transform: none; }

.section-night { background: var(--night); color: var(--star); --eyebrow: var(--gold); --lead: #ddd5c6; }
.section-sand { background: var(--sand); color: var(--ink); --eyebrow: var(--ember-ink); --lead: #3f3327; }
.why, .trips, .map-section, .photos, .faq { padding-block: clamp(84px, 12vw, 160px); }
.photos { padding-bottom: clamp(64px, 8vw, 110px); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .92em 1.45em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ember { background: var(--ember); color: #1a0e08; box-shadow: 0 10px 30px -12px rgba(255, 122, 61, .8); }
.btn-ember:hover { background: var(--ember-hover); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn-ink { background: var(--night); color: var(--star); }
.btn-ink:hover { background: var(--night-3); }
.btn-link { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; padding-inline: .6em; }
.btn-sm { padding: .62em 1.1em; font-size: .92rem; }
.btn-lg { width: 100%; padding-block: 1.1em; font-size: 1.08rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.link-arrow { font-weight: 500; text-underline-offset: 5px; }
.link-arrow::after { content: ' ↗'; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  color: var(--text);
  transition: background-color .35s, color .35s, box-shadow .35s, padding .35s;
}
.nav.solid {
  background: rgba(11, 16, 38, .84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--star);
  box-shadow: 0 1px 0 rgba(255, 243, 214, .08);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand-mark {
  width: 30px; height: 40px; background: currentColor;
  -webkit-mask: url('/images/logo-mark.png') center / contain no-repeat;
  mask: url('/images/logo-mark.png') center / contain no-repeat;
}
.brand-word { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.brand-word small { font-size: .8rem; margin-top: 1px; }
[dir='rtl'] .brand-word { font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
[dir='rtl'] .brand-word small { font-size: .82rem; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 400; position: relative; padding-block: 6px; }
.nav-links a::after { content: ''; position: absolute; inset: auto 0 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current='true']::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1.5px solid currentColor; background: transparent; border-radius: 999px;
  padding: .45em .95em; font-size: .9rem; cursor: pointer; font-family: var(--font-body); font-weight: 500;
  transition: background-color .2s;
}
.lang-toggle:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-icon, .menu-icon::before, .menu-icon::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; content: ''; }
.menu-icon { top: 21px; }
.menu-icon::before { top: -7px; left: 0; }
.menu-icon::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded='true'] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.menu-open .nav { color: var(--star); }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 9.5vw, 2.9rem); line-height: 1.3; text-decoration: none; }
[dir='rtl'] .mobile-menu a:not(.btn) { font-weight: 700; line-height: 1.6; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .nav-book { display: none; }
}

/* =========================================================
   HERO — the logo, unfolded
   ========================================================= */
.hero { position: relative; height: 260vh; background: var(--night); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.stop-sky-1 { stop-color: var(--sky-1, #86b4c8); }
.stop-sky-2 { stop-color: var(--sky-2, #f3d3a0); }
.stop-sky-3 { stop-color: var(--sky-3, #f4a866); }
.stop-sun { stop-color: var(--sun, #ffe6a6); }
.sun-disc { fill: var(--sun, #ffe6a6); }
.scene .far { fill: var(--far, #d7b48a); stroke: var(--line, #2a1e15); stroke-width: 2; stroke-linejoin: round; }
.scene .mtn { fill: var(--mtn, #e3bf8e); stroke: var(--line, #2a1e15); stroke-width: 2.6; stroke-linejoin: round; }
.scene .ridge { fill: none; stroke: var(--line, #2a1e15); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.scene .lake { fill: var(--lake-c, #7fa9b0); }
.scene .reflection line { stroke: var(--sun, #ffe6a6); stroke-width: 4; stroke-linecap: round; opacity: var(--reflect, .5); animation: shimmer 2.4s ease-in-out infinite alternate; }
.scene .reflection line:nth-child(2n) { animation-delay: -1.2s; }
.scene .waves path { fill: none; stroke: var(--line, #2a1e15); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.wave-row { animation: drift 14s linear infinite; }
.wave-row-2 { animation-duration: 19s; animation-direction: reverse; }
.wave-row-3 { animation-duration: 24s; }
.scene .dune { stroke: var(--line, #2a1e15); stroke-width: 2.2; }
.scene .dune-1 { fill: var(--dune-1, #ebc995); }
.scene .dune-2 { fill: var(--dune-2, #e2b57e); }
.scene .dune-3 { fill: var(--dune-3, #d9a36c); }
.scene .tent-body { fill: var(--tent, #f6e7c8); stroke: var(--line, #2a1e15); stroke-width: 2.8; stroke-linejoin: round; }
.scene .tent-door { fill: var(--door, #4a3526); stroke: var(--line, #2a1e15); stroke-width: 2.8; stroke-linejoin: round; }
.scene .fire-glow { opacity: var(--fire, 0); }
.scene .stars { opacity: var(--stars, 0); }
.scene .stars circle { fill: #fff3d6; }
.scene .stars .tw-a { animation: twinkle 3.2s ease-in-out infinite alternate; }
.scene .stars .tw-b { animation: twinkle 4.6s ease-in-out -2s infinite alternate; }
.scene .sparkle { fill: var(--sparkle, #2a1e15); }
.scene .sparkles { animation: sparkle 5s ease-in-out infinite alternate; transform-origin: 1470px 200px; }
.scene .shooting-star { fill: none; stroke: #fff3d6; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .3 1.3; stroke-dashoffset: .3; opacity: 0; }
.scene .shooting-star.go { animation: shoot 1.1s ease-out forwards; }

.log { fill: none; stroke: var(--line, #2a1e15); stroke-width: 5; stroke-linecap: round; }
.flame { stroke: var(--line, #2a1e15); stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 100%; }
.flame-1 { fill: #ff7a3d; animation: flicker 1.3s ease-in-out infinite alternate; }
.flame-2 { fill: #ffb45a; animation: flicker 0.9s ease-in-out -.3s infinite alternate; }
.flame-3 { fill: #ffe09a; animation: flicker 1.1s ease-in-out -.6s infinite alternate; }
.scene .flames { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--flame-scale, .75)); }

.car-body { fill: var(--car, #f1dfc0); stroke: var(--line, #2a1e15); stroke-width: 2.6; stroke-linejoin: round; }
.car-line { fill: none; stroke: var(--line, #2a1e15); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.wheel circle { fill: var(--line, #2a1e15); }
.wheel path { stroke: var(--car, #f1dfc0); stroke-width: 2.4; }
.headlight { fill: #fff3d6; }
.beam { opacity: var(--night-amt, 0); }
.car-dust circle { fill: var(--dune-1, #ebc995); stroke: var(--line, #2a1e15); stroke-width: 1.4; opacity: .8; }

/* load sequence: the line art draws itself, then fills */
.js .scene .draw { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.is-loaded .scene .draw { animation: draw 2s var(--ease) forwards, fillin 1s .9s both; }
.is-loaded .scene .peaks .draw { animation-delay: .15s, 1s; }
.is-loaded .scene .tent .draw { animation-delay: .35s, 1.1s; }
.is-loaded .scene .dune-2, .is-loaded .scene .dune-3 { animation-delay: .25s, .95s; }

.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--veil, #f5d7a6) 82%, transparent) 0%, color-mix(in srgb, var(--veil, #f5d7a6) 62%, transparent) 34%, transparent 58%);
}
@media (max-width: 700px) {
  .hero-veil { background: linear-gradient(180deg, color-mix(in srgb, var(--veil, #f5d7a6) 86%, transparent) 0%, color-mix(in srgb, var(--veil, #f5d7a6) 70%, transparent) 46%, transparent 64%); }
}
[dir='rtl'] .hero-veil { transform: scaleX(-1); }
.hero-copy {
  position: absolute; z-index: 2;
  inset-inline-start: var(--gutter);
  top: clamp(96px, 15vh, 160px);
  max-width: min(760px, calc(100% - 2 * var(--gutter)));
  color: var(--text);
}
.hero-copy .eyebrow { color: var(--text-soft); }
.hero-title { font-size: clamp(2.7rem, 6vw, 6.2rem); margin-bottom: .3em; text-shadow: var(--text-shadow, none); }
[dir='rtl'] .hero-title { font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 1.4; }
.hero-title .line { display: block; }
.hero-sub { font-size: clamp(1.08rem, 1.35vw, 1.26rem); line-height: 1.6; max-width: 36ch; font-weight: 400; text-shadow: var(--text-shadow, none); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.js .hero-copy .eyebrow, .js .hero-sub, .js .hero-ctas { opacity: 0; }
.is-loaded .hero-copy .eyebrow, .is-loaded .hero-sub, .is-loaded .hero-ctas { animation: fade-up .9s var(--ease) .55s forwards; }
.is-loaded .hero-sub { animation-delay: .7s; }
.is-loaded .hero-ctas { animation-delay: .85s; }

.hero-dial {
  position: absolute; z-index: 2;
  inset-inline-end: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  display: grid; gap: 8px; justify-items: end;
  font-family: var(--font-body); font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--star);
  background: rgba(11, 16, 38, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 12px 14px; border-radius: 12px;
}
[dir='rtl'] .hero-dial { letter-spacing: 0; font-size: .9rem; }
.dial-label { font-size: .98rem; font-weight: 600; color: var(--gold); }
.dial-track { width: 160px; height: 3px; background: rgba(255, 243, 214, .2); border-radius: 3px; overflow: hidden; }
.dial-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--ember), #8f7fd6); transform-origin: left; transform: scaleX(0); }
[dir='rtl'] .dial-fill { transform-origin: right; }
.dial-hint { color: #d6cfc0; }

@media (max-width: 700px) {
  .hero { height: 220vh; }
  .hero-copy { top: 88px; }
  .hero-title { font-size: clamp(2.9rem, 14.5vw, 4.6rem); }
  [dir='rtl'] .hero-title { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .hero-sub { font-size: 1rem; max-width: 30ch; }
  .hero-ctas .btn { padding: .8em 1.15em; font-size: .95rem; }
  .hero-dial { inset-inline: var(--gutter); justify-items: stretch; grid-template-columns: auto 1fr; align-items: center; }
  .dial-track { width: auto; }
  .dial-hint { display: none; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--ember); color: var(--night); overflow: hidden; border-block: 2px solid var(--night); position: relative; z-index: 1; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.55rem); padding: .6em 0; white-space: nowrap; }
.ticker-track span::after { content: '✦'; margin-inline: .9em; font-size: .7em; vertical-align: .15em; }
[dir='rtl'] .ticker-track { animation-name: ticker-rtl; }
.ticker-track.js-ticker { animation: none; will-change: transform; }
[dir='rtl'] .ticker-track span { font-weight: 700; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* =========================================================
   WHY QATRANI
   ========================================================= */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.why-copy p:not(.eyebrow):not(.lead) { color: var(--star-soft); max-width: 56ch; }
.field-notes { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field-notes li { border-top: 1px dashed rgba(255, 243, 214, .25); padding: 16px 0 18px; display: grid; gap: 2px; }
.field-notes strong { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--gold); }
[dir='rtl'] .field-notes strong { font-size: 1.3rem; line-height: 1.5; }
.field-notes span { font-size: 1rem; color: var(--star-soft); }

.why-visual { position: relative; aspect-ratio: 4 / 4.6; }
.why-logo {
  position: absolute; inset: 0 8% 6% 8%;
  background: var(--gold); opacity: .16;
  -webkit-mask: url('/images/logo-mark.png') center / contain no-repeat;
  mask: url('/images/logo-mark.png') center / contain no-repeat;
}
.why-photo { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); border: 6px solid var(--paper); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; translate: 0 var(--py, 0px); }
.why-photo-1 { width: 66%; aspect-ratio: 4 / 3.3; top: 6%; inset-inline-start: 0; transform: rotate(-4deg); }
.why-photo-2 { width: 58%; aspect-ratio: 4 / 3; bottom: 4%; inset-inline-end: 0; transform: rotate(3.5deg); }

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) { .field-notes { grid-template-columns: 1fr; } }

/* =========================================================
   TRIPS — expedition tickets
   ========================================================= */
.trips, .why { overflow-x: clip; }
.trip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.ticket {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --enter: 70px;
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(29, 23, 18, .08), 0 24px 40px -24px rgba(60, 35, 10, .55);
  transform: perspective(1100px) translateY(calc(var(--enter) + var(--lift))) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--rot, 0deg));
  opacity: 0;
  transition: transform .7s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.ticket.in { --enter: 0px; opacity: 1; }
.ticket:hover, .ticket:focus-within { --lift: -10px; --rot: 0deg; box-shadow: 0 1px 0 rgba(29, 23, 18, .08), 0 46px 70px -30px rgba(60, 35, 10, .75); }
.ticket.tilting { transition: transform .15s linear, box-shadow .45s var(--ease), opacity .9s var(--ease); }
.ticket::after { content: ''; position: absolute; inset: 0; border-radius: 18px; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .5), transparent 55%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s; z-index: 3; }
.ticket.tilting::after { opacity: 1; }
.ticket-photo { position: relative; aspect-ratio: 4 / 3.1; border-radius: 18px 18px 0 0; overflow: hidden; }
.ticket-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ticket:hover .ticket-photo img { transform: scale(1.06); }
.ticket-kicker {
  position: absolute; top: 12px; inset-inline-start: 12px;
  font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(11, 16, 38, .82); color: var(--star); padding: 6px 9px; border-radius: 6px;
}
[dir='rtl'] .ticket-kicker { letter-spacing: 0; font-size: .86rem; text-transform: none; }
.ticket-body { padding: 20px 20px 18px; flex: 1; }
.ticket-body h3 { font-size: 1.55rem; line-height: 1.15; margin-bottom: .5em; }
[dir='rtl'] .ticket-body h3 { font-size: 1.45rem; line-height: 1.5; }
.ticket-body p { font-size: 1rem; line-height: 1.55; color: #4a3c2e; margin-bottom: 16px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .82rem; border: 1px solid rgba(29, 23, 18, .22); border-radius: 999px; padding: 3px 10px; }
.ticket-stub { position: relative; border-top: 2px dashed rgba(29, 23, 18, .22); padding: 16px 20px 20px; display: grid; gap: 14px; }
.ticket-stub::before, .ticket-stub::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.ticket-stub::before { left: -11px; }
.ticket-stub::after { right: -11px; }
.stub-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stub-price small { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }

.stub-price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: var(--ember-ink); }
[dir='rtl'] .stub-price strong { font-family: var(--font-body); font-weight: 600; font-size: 1.6rem; }
.ticket .btn { width: 100%; }
.ticket-stamp {
  position: absolute; top: -18px; inset-inline-end: -14px; width: 104px; height: 104px;
  color: var(--ember-ink); opacity: 0; transform: scale(1.2) rotate(-30deg);
  transition: opacity .35s, transform .5s var(--ease); pointer-events: none;
}
.ticket:hover .ticket-stamp, .ticket:focus-within .ticket-stamp { opacity: .9; transform: scale(1) rotate(-14deg); }
.ticket-stamp text { font-family: var(--font-body); font-size: 10px; letter-spacing: 1.6px; fill: currentColor; font-weight: 600; }
.ticket-stamp circle { fill: rgba(251, 243, 226, .92); stroke: currentColor; stroke-width: 1.6; }
.ticket-stamp .inner { fill: none; stroke-dasharray: 3 3; }
.ticket-stamp .stamp-mark { fill: currentColor; }
.trip-note { margin-top: 36px; font-size: .92rem; color: var(--ink-soft); max-width: 70ch; }
@media (hover: none) { .ticket-stamp { opacity: .85; transform: scale(.82) rotate(-14deg); } }

/* =========================================================
   A FRIDAY OUT — the trail
   Background runs afternoon → golden hour → night → dawn.
   ========================================================= */
.friday {
  position: relative; color: var(--ink); --eyebrow: var(--ember-ink); --lead: #3f3327;
  padding-top: clamp(84px, 12vw, 150px);
  background: linear-gradient(180deg,
    var(--sand) 0%, #eccb98 16%, #eaa66a 31%, #c56a55 39%, #5b3a5e 46%,
    #1a1f4a 53%, var(--night) 62%, var(--night) 74%, #2b2c5c 82%, #b9798a 91%, #f0c9a8 100%);
}
.trail { position: relative; max-width: 1180px; margin: 0 auto; padding: 20px var(--gutter) clamp(90px, 12vw, 150px); }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.trail-path-bg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .35; }
.trail-path { fill: none; stroke: var(--ember); stroke-width: 4; stroke-linecap: round; }
.jeep-halo { fill: var(--ember); opacity: .25; animation: halo 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.jeep-body { fill: var(--ember); stroke: var(--night); stroke-width: 1.6; stroke-linejoin: round; }
.jeep-wheel { fill: var(--night); }
.trail-stops { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(70px, 10vw, 140px); }
.stop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(120px, 14vw, 200px); align-items: center; }
.stop:nth-child(even) .stop-photo { order: 2; }
.stop-photo { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); transform: rotate(var(--tilt, -2deg)); }
.stop:nth-child(even) .stop-photo { --tilt: 2deg; }
.stop-photo img { width: 100%; height: 100%; object-fit: cover; }
.stop-photo-tall { aspect-ratio: 4 / 4.4; }
.stop-photo-tall img { object-position: 50% 30%; }
.stop-time { font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; color: var(--ember-ink); }
[dir='rtl'] .stop-time { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.stop h3 { margin-bottom: .45em; }
.stop-text { padding: 24px 26px; border-radius: 16px; background: rgba(251, 243, 226, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 18px 40px -28px rgba(40, 20, 5, .6); }
.stop-text p:last-child { max-width: 42ch; margin: 0; color: #43362a; }
.stop[data-tone='night'] .stop-text { background: rgba(11, 16, 38, .62); border: 1px solid rgba(255, 243, 214, .1); }
.stop[data-tone='night'] .stop-text p:last-child { color: #ddd5c6; }
.stop[data-tone='night'] { color: var(--star); }
.stop[data-tone='night'] .stop-time { color: var(--gold); }
.stop[data-tone='gold'] .stop-time { color: #6e2610; }
.stop-photo img { scale: 1.16; translate: 0 var(--py, 0px); transition: scale 1.8s var(--ease); }
.js .stop .stop-photo { clip-path: inset(22% 16% 22% 16% round 14px); opacity: 0; transition: clip-path 1.4s var(--ease), opacity .7s var(--ease); }
.js .stop.in .stop-photo { clip-path: inset(0 0 0 0 round 14px); opacity: 1; }
.js .stop .stop-photo img { scale: 1.5; }
.js .stop.in .stop-photo img { scale: 1.16; }
.js .stop .stop-text { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease) .25s, transform 1.1s var(--ease) .25s; }
.js .stop.in .stop-text { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .trail { padding-inline-start: 64px; }
  .stop { grid-template-columns: 1fr; gap: 18px; }
  .stop:nth-child(even) .stop-photo { order: 0; }
}

/* =========================================================
   MAP
   ========================================================= */
.map-wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.map-wrap > * { min-width: 0; }
.map-list { display: flex; flex-direction: column; gap: 6px; }
.place-btn {
  display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 12px;
  text-align: start; background: transparent; border: 1px solid rgba(255, 243, 214, .12);
  border-radius: 12px; padding: 11px 14px; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.place-btn:hover { background: rgba(255, 243, 214, .06); }
.place-btn[aria-pressed='true'] { background: var(--night-3); border-color: var(--gold); }
.place-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 180, 90, .18); }
.place-btn[data-kind='camp'] .dot { background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 122, 61, .25); }
.place-btn[data-kind='city'] .dot { background: var(--star-soft); }
.place-btn b { display: block; font-weight: 500; font-size: .98rem; line-height: 1.25; }
.place-btn small { display: block; font-size: .86rem; color: var(--star-soft); }
.map-stage { position: relative; min-height: clamp(460px, 66vh, 660px); border-radius: 20px; overflow: hidden; background: #1a1f3a; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.map { position: absolute; inset: 0; background: #1a1f3a; }
.map .leaflet-control-attribution { background: rgba(11, 16, 38, .7); color: var(--star-soft); font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--star); }
.map .leaflet-bar a { background: var(--night-2); color: var(--star); border-color: rgba(255, 243, 214, .15); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--star-soft); }

.pin { position: relative; display: flex; align-items: center; gap: 8px; white-space: nowrap; transform: translate(-7px, -7px); }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--night); flex: none; position: relative; }
.pin-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.2s ease-out infinite; }
.pin-label { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--star); background: rgba(11, 16, 38, .78); padding: 4px 8px; border-radius: 6px; }
[dir='rtl'] .pin-label { font-size: 13.5px; }
.pin { cursor: pointer; }
.pin:hover .pin-label { background: var(--gold); color: var(--ink); }
.pin.is-camp { transform: translate(-10px, -10px); }
.pin.is-camp .pin-dot { width: 20px; height: 20px; background: var(--ember); }
.pin.is-camp .pin-dot::after { border-color: var(--ember); }
.pin.is-camp .pin-label { background: var(--ember); color: #1a0e08; font-weight: 500; }
.pin.is-active .pin-label { outline: 2px solid var(--gold); }
.leaflet-div-icon.pin-icon { background: none; border: 0; }

.place-card {
  position: absolute; z-index: 500; inset-inline-start: 16px; bottom: 16px;
  width: min(360px, calc(100% - 32px));
  background: rgba(11, 16, 38, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 243, 214, .14); border-radius: 16px; overflow: hidden;
  transition: opacity .35s, transform .35s var(--ease);
}
.place-card.swap { opacity: 0; transform: translateY(10px); }
.place-card img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.place-card .pc-body { padding: 14px 18px 18px; }
.place-card h3 { font-size: 1.5rem; margin-bottom: .3em; }
[dir='rtl'] .place-card h3 { font-size: 1.4rem; }
.place-card p { font-size: 1rem; line-height: 1.55; color: #ddd5c6; margin-bottom: .7em; }
.place-card .pc-meta { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.place-card .pc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.place-card .pc-actions .btn { font-size: .92rem; padding: .7em 1.1em; }
[dir='rtl'] .place-card .pc-meta { letter-spacing: 0; font-size: .9rem; text-transform: none; }

@media (max-width: 900px) {
  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .map-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .map-list::-webkit-scrollbar { display: none; }
  .place-btn { flex: none; scroll-snap-align: start; }
  .place-btn small { display: none; }
  .map-stage { min-height: 0; display: flex; flex-direction: column; overflow: visible; background: none; box-shadow: none; }
  .map { position: relative; height: 380px; border-radius: 18px; overflow: hidden; }
  .place-card { position: relative; inset: auto; width: 100%; margin-top: 14px; }
}

/* =========================================================
   PHOTOS — the pile
   ========================================================= */
.pile { position: relative; height: clamp(540px, 74vh, 760px); max-width: 1320px; margin-inline: auto; }
.polaroid {
  position: absolute; top: 0; left: 0;
  width: clamp(170px, 19vw, 250px);
  background: #fffaf0; padding: 10px 10px 0; border: 0; border-radius: 3px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .15), 0 18px 34px -16px rgba(60, 35, 10, .55);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform .7s var(--ease), box-shadow .25s;
  will-change: transform;
}
.polaroid.dragging { cursor: grabbing; transition: box-shadow .25s; box-shadow: 0 4px 6px rgba(0, 0, 0, .15), 0 40px 60px -20px rgba(60, 35, 10, .7); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; background: var(--sand-2); }
.polaroid span { display: block; font-family: var(--font-body); font-size: .88rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); padding: 10px 2px 13px; text-align: center; }

.pile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; justify-content: center; margin-top: 24px; }

/* small screens: a swipeable strip instead of a pile */
.pile.strip { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 24px; scrollbar-width: none; }
.pile.strip::-webkit-scrollbar { display: none; }
.pile.strip .polaroid { position: relative; flex: none; width: 70vw; max-width: 280px; transform: rotate(var(--r, 0deg)) !important; scroll-snap-align: center; touch-action: auto; cursor: pointer; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 20, .94); color: var(--star); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 72px; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { font-size: 1.05rem; color: #ddd5c6; }

.lb-close, .lb-nav { position: absolute; background: rgba(255, 243, 214, .08); border: 1px solid rgba(255, 243, 214, .2); color: var(--star); border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
@media (max-width: 600px) { .lightbox figure { padding: 70px 12px; } .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* =========================================================
   BOOK — form under the stars
   ========================================================= */
.book {
  position: relative; overflow-x: clip; color: var(--star); --eyebrow: var(--gold); --lead: #ddd5c6;
  background: radial-gradient(120% 70% at 50% 108%, #4a2330 0%, #1d1838 38%, var(--night) 70%);
  padding: clamp(90px, 12vw, 160px) 0 clamp(170px, 18vw, 230px);
}
.sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.book-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 90px); align-items: start; pointer-events: none; }
.book-grid > * { pointer-events: auto; }
.book-intro .h2 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); }
[dir='rtl'] .book-intro .h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.book-intro .lead { color: var(--lead); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 243, 214, .12); background: rgba(11, 16, 38, .5); transition: border-color .2s, background-color .2s; }
.contact-list a:hover { border-color: var(--gold); background: rgba(34, 42, 85, .6); }
.contact-list .icon { width: 22px; height: 22px; color: var(--gold); }
.contact-list small { display: block; font-size: .86rem; color: var(--star-soft); }
.contact-list b { display: inline-block; font-weight: 500; direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }
.contact-social { display: flex; gap: 10px; }
.contact-social a { flex: 1; justify-content: center; }
.wish-hint { margin-top: 1.8rem; font-size: .95rem; font-weight: 500; color: var(--gold); }

.book-fire { position: absolute; bottom: 0; left: 50%; width: min(420px, 90vw); transform: translateX(-50%); pointer-events: none; }
.book-fire .log { stroke: #2a1e15; }
.book-fire .flame { stroke: #2a1e15; }

.inquiry {
  position: relative;
  background: rgba(20, 27, 61, .74);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 243, 214, .14); border-radius: 24px;
  padding: clamp(22px, 3.2vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  display: grid; gap: 18px;
}
.inquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend, .field label, .field .label { display: block; font-size: .95rem; color: #e4ddcf; margin-bottom: 8px; font-weight: 500; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label, .origin-opts label { position: relative; cursor: pointer; }
.seg input, .origin-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span, .origin-opts span { display: inline-flex; align-items: center; min-height: 44px; padding: .5em 1.1em; border-radius: 999px; border: 1px solid rgba(255, 243, 214, .3); font-size: .98rem; transition: background-color .2s, border-color .2s, color .2s; }
.seg input:checked + span, .origin-opts input:checked + span { background: var(--star); color: var(--night); border-color: var(--star); font-weight: 500; }
.seg input:focus-visible + span, .origin-opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.origin-opts { display: flex; gap: 8px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; align-content: start; min-width: 0; }
.opt { font-size: .85rem; font-weight: 400; color: var(--star-soft); margin-inline-start: 4px; }
.inquiry input:not([type='radio']), .inquiry select, .inquiry textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--star);
  background: rgba(255, 243, 214, .06); border: 1px solid rgba(255, 243, 214, .2); border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.inquiry textarea { resize: vertical; min-height: 110px; }
.inquiry ::placeholder { color: rgba(214, 206, 190, .72); }
.inquiry input:not([type='radio']):hover, .inquiry select:hover, .inquiry textarea:hover { border-color: rgba(255, 243, 214, .35); }
.inquiry input:not([type='radio']):focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 180, 90, .25); background: rgba(255, 243, 214, .09); }
.inquiry select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--star) 50%), linear-gradient(135deg, var(--star) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
[dir='rtl'] .inquiry select { background-position: 20px 52%, 15px 52%; }
.inquiry select option { background: var(--night-2); color: var(--star); }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; border: 1px solid rgba(255, 243, 214, .2); border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: rgba(255, 243, 214, .06); cursor: pointer; font-size: 1.3rem; transition: background-color .2s; }
.stepper button:hover { background: rgba(255, 243, 214, .14); }
.inquiry .stepper input { border: 0; border-radius: 0; text-align: center; background: transparent; box-shadow: none; }
.field-error { display: none; margin: 6px 0 0; font-size: .9rem; color: #ffb39b; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #ff8a6a !important; }
.estimate { margin: 0; font-size: 1rem; font-weight: 500; color: var(--gold); min-height: 1.5em; }

.trip-fields { display: grid; gap: 16px; }
.trip-fields[hidden] { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { margin-top: 4px; }
.submit[aria-busy='true'] { pointer-events: none; opacity: .85; }
.submit[aria-busy='true'] [data-submit-label]::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-inline-end: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.error { color: #ffa486; }
.form-success { text-align: center; padding: 30px 6px 10px; }
.form-success[hidden] { display: none; }
.inquiry.done > :not(.form-success) { display: none; }
.success-mark {
  width: 90px; height: 120px; margin: 0 auto 18px; background: var(--gold);
  -webkit-mask: url('/images/logo-mark.png') center / contain no-repeat; mask: url('/images/logo-mark.png') center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(242, 180, 90, .6));
  animation: pop .8s var(--ease) both;
}
.form-success h3 { margin-bottom: .5em; }
.form-success p { color: var(--star-soft); max-width: 42ch; margin-inline: auto; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 1.4rem; }
.dev-preview { margin-top: 1.4rem; font-size: .85rem; color: var(--star-soft); border-top: 1px dashed rgba(255, 243, 214, .2); padding-top: 14px; }
.dev-preview a { color: var(--gold); }

@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; }
.faq-list details { border-bottom: 1px solid rgba(29, 23, 18, .2); }
.faq-list details:first-child { border-top: 1px solid rgba(29, 23, 18, .2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: clamp(1.06rem, 1.5vw, 1.22rem); font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.6rem; font-weight: 400; transition: transform .3s var(--ease); flex: none; color: var(--ember-ink); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 22px; margin: 0; color: #43362a; max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { position: static; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--night); color: var(--star); padding: clamp(70px, 9vw, 110px) 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 28px; }
.footer-logo {
  width: 120px; aspect-ratio: 439 / 707; flex: none; background: var(--star);
  -webkit-mask: url('/images/logo.png') center / contain no-repeat; mask: url('/images/logo.png') center / contain no-repeat;
}
.footer-tag { font-size: clamp(1.8rem, 3.2vw, 2.7rem); max-width: 11ch; color: var(--gold); }
[dir='rtl'] .footer-tag { max-width: 12ch; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
[dir='rtl'] .footer-col h3 { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.footer-col a { text-decoration: none; color: var(--star-soft); width: fit-content; unicode-bidi: isolate; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--star); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; font-size: .9rem; color: var(--star-soft); }
.footer-base::before { content: ''; position: absolute; top: 0; inset-inline: var(--gutter); border-top: 1px solid rgba(255, 243, 214, .12); }
.footer-base p { margin: 0; }
.credits summary { cursor: pointer; }
.credits ul { margin: 10px 0 0; padding-inline-start: 18px; }
.credits p { margin-top: 10px; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* floating WhatsApp */
.wa-float {
  position: fixed; z-index: 40; bottom: 20px; inset-inline-end: 20px;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), opacity .3s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping-soft 2.6s ease-out infinite; }
.wa-float.hide, .wa-float.in-hero { opacity: 0; pointer-events: none; transform: scale(.6); }
@media (max-width: 700px) { .wa-float { bottom: 16px; inset-inline-end: 16px; width: 52px; height: 52px; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .section-head.reveal { opacity: 1; transform: none; }
.js .section-head.reveal .eyebrow, .js .section-head.reveal .lead { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .section-head.reveal .lead { transition-delay: .35s; }
.js .section-head.reveal.in .eyebrow, .js .section-head.reveal.in .lead { opacity: 1; transform: none; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-90px); } }
@keyframes shimmer { from { opacity: calc(var(--reflect, .5) * .4); } to { opacity: var(--reflect, .5); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes sparkle { from { transform: scale(.94) rotate(-3deg); } to { transform: scale(1.06) rotate(3deg); } }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0); } 50% { transform: scale(.94, 1.08) skewX(2deg); } 100% { transform: scale(1.04, .92) skewX(-2deg); } }
@keyframes shoot { 0% { opacity: 0; stroke-dashoffset: .3; } 15% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -1; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ping-soft { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes halo { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* =========================================================
   REDUCED MOTION — keep every moment, drop the movement
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: 100vh; height: 100svh; }
  .dial-hint { display: none; }
  .ticker-track { animation: none; }
  .js .reveal, .js .stop .stop-photo, .js .stop .stop-text { opacity: 1; transform: none; }
}


/* =========================================================
   MOTION LAYER
   ========================================================= */

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

/* loader */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 110%, #3b1d22 0%, #120f2c 45%, #05070f 100%);
  color: var(--star);
  transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1), visibility 0s 1.2s;
  clip-path: inset(0 0 0 0);
}
.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader-inner { display: grid; justify-items: center; gap: 14px; transition: transform 1s cubic-bezier(.76, 0, .24, 1), opacity .6s; }
.is-loaded .loader-inner { transform: translateY(-40px); opacity: 0; }
.loader-mark {
  width: 74px; height: 100px; background: var(--gold);
  -webkit-mask: url('/images/logo-mark.png') center / contain no-repeat; mask: url('/images/logo-mark.png') center / contain no-repeat;
  filter: drop-shadow(0 0 22px rgba(242, 180, 90, .55));
  animation: breathe 2.4s ease-in-out infinite;
}
.loader-word { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; margin: 0; display: grid; justify-items: center; }
.loader-word small { font-size: .9rem; color: var(--star-soft); margin-top: 4px; }
.loader-bar { width: 160px; height: 2px; background: rgba(255, 243, 214, .14); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.loader-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--ember)); transform-origin: left; transform: scaleX(.08); transition: transform .5s var(--ease); }

/* words rise in, softly out of focus */
[data-split] .w { display: inline-block; }
.js [data-split] .wi { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(10px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0ms)); }
.js .in [data-split] .wi, .js [data-split].in .wi, .is-loaded .hero-title [data-split] .wi, .js .cap.on [data-split] .wi { opacity: 1; transform: none; filter: none; }
.is-loaded .hero-title [data-split] .wi { transition-delay: calc(var(--i) * 80ms + var(--d, 0ms) + 250ms); }

/* ---------- 3D hero ---------- */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero.hero--3d { height: 440vh; }
.hero--3d .hero-canvas { display: block; }
.hero--3d .scene { display: none; }
.hero--3d { --intro: 1; }
.has-3d { --text: #fff3d6; --text-soft: #e6dccb; }
.has-3d .nav:not(.solid)::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(180deg, rgba(4, 6, 18, .5), transparent); pointer-events: none; }
.hero--3d .hero-veil { background: linear-gradient(90deg, rgba(5, 7, 20, .6) 0%, rgba(5, 7, 20, .32) 36%, transparent 62%); opacity: var(--intro); }
.hero--3d .hero-copy { color: var(--star); opacity: var(--intro); transform: translateY(calc((1 - var(--intro)) * -50px)); filter: blur(calc((1 - var(--intro)) * 10px)); }
.hero--3d .hero-copy .eyebrow { color: #e6dccb; }
.hero--3d .hero-title, .hero--3d .hero-sub { text-shadow: 0 2px 24px rgba(4, 6, 18, .55); }
.hero--3d.intro-gone .hero-copy { pointer-events: none; }
.hero--3d .hero-sticky::after { content: ''; position: absolute; inset: auto 0 0; height: 46%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(4, 6, 18, .7), rgba(4, 6, 18, .25) 55%, transparent); }
@media (max-width: 700px) {
  .hero.hero--3d { height: 380vh; }
  .hero--3d .hero-veil { background: linear-gradient(180deg, rgba(5, 7, 20, .66) 0%, rgba(5, 7, 20, .4) 48%, transparent 70%); }
}

.hero-captions { position: absolute; z-index: 2; inset-inline-start: var(--gutter); bottom: clamp(96px, 15vh, 150px); width: min(720px, calc(100% - 2 * var(--gutter))); pointer-events: none; display: none; }
.hero--3d .hero-captions { display: block; }
.cap { position: absolute; inset-inline-start: 0; bottom: 0; width: 100%; color: var(--star); }
.cap-eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
[dir='rtl'] .cap-eyebrow { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.cap.on .cap-eyebrow { opacity: 1; transform: none; }
.cap-text { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12; margin: 0; text-shadow: 0 2px 30px rgba(4, 6, 18, .6); text-wrap: balance; }
[dir='rtl'] .cap-text { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.55; }
.js .cap:not(.on) [data-split] .wi { transform: translateY(-.4em); transition-delay: calc(var(--i) * 25ms); transition-duration: .5s; }
.cap-final .cap-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) .4s, transform .7s var(--ease) .4s; }
.cap-final.on { pointer-events: auto; }
.cap-final.on .cap-ctas { opacity: 1; transform: none; }
.hero-skip { position: absolute; z-index: 3; inset-inline-start: var(--gutter); bottom: clamp(20px, 4vh, 40px); display: none; align-items: center; gap: 8px; color: var(--star); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 14px; margin-inline-start: -14px; border-radius: 999px; transition: background-color .2s; }
.hero-skip:hover { background: rgba(255, 243, 214, .1); }
.hero--3d .hero-skip { display: inline-flex; }
.hero--3d .dial-hint { transition: opacity .4s; }
.hero--3d.intro-gone .dial-hint { opacity: 0; }
@media (max-width: 700px) {
  .hero-captions { bottom: 120px; }
  .hero-skip { bottom: 74px; font-size: .9rem; }
}

/* ---------- sound toggle ---------- */
.sound-toggle { width: 44px; height: 40px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.sound-toggle:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.eq { display: flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.eq i { display: block; width: 2.5px; height: 4px; background: currentColor; border-radius: 2px; transition: height .3s; }
.sound-on .eq i { animation: eq 1s ease-in-out infinite; }
.sound-on .eq i:nth-child(2) { animation-delay: -.3s; }
.sound-on .eq i:nth-child(3) { animation-delay: -.6s; }
.sound-on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- lantern + progress ---------- */
.lantern { position: fixed; left: 0; top: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; pointer-events: none; z-index: 30; background: radial-gradient(circle, rgba(255, 176, 96, .17) 0%, rgba(255, 140, 60, .07) 32%, transparent 68%); mix-blend-mode: screen; opacity: 0; transition: opacity .6s; }
.lantern.on { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--ember)); pointer-events: none; }
[dir='rtl'] .scroll-progress { transform-origin: right; }

/* ---------- dune-shaped section edges ---------- */
.trips, .map-section, .photos, .book, .faq, .footer { position: relative; }
.trips { --edge: var(--sand); } .photos { --edge: var(--sand); } .faq { --edge: var(--sand); }
.map-section { --edge: var(--night); } .book { --edge: var(--night); } .footer { --edge: var(--night); }
.trips::before, .map-section::before, .photos::before, .book::before, .faq::before, .footer::before,
.trips::after, .map-section::after, .photos::after, .faq::after, .footer::after {
  content: ''; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; background: var(--edge);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.trips::before, .map-section::before, .photos::before, .book::before, .faq::before, .footer::before {
  top: -59px; height: 60px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V40C110 22 230 6 380 20s250 38 380 28 250-44 400-34 210 28 280 16v30z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V40C110 22 230 6 380 20s250 38 380 28 250-44 400-34 210 28 280 16v30z'/%3E%3C/svg%3E");
}
.trips::after, .map-section::after, .photos::after, .faq::after, .footer::after {
  top: -95px; height: 96px; opacity: .45;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96V70C160 30 300 18 470 40s300 50 470 30 330-60 500-44v70z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath d='M0 96V70C160 30 300 18 470 40s300 50 470 30 330-60 500-44v70z'/%3E%3C/svg%3E");
}
.book-fire { bottom: 34px; }

/* ---------- sun & moon travelling down the trail ---------- */
.orb-track { position: absolute; inset: 0; pointer-events: none; display: none; }
.orb { position: sticky; top: 24vh; width: 96px; height: 96px; margin-inline-start: auto; margin-inline-end: -40px; border-radius: 50%; will-change: transform, opacity; }
@media (min-width: 1280px) { .orb-track { display: block; } }

@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ticket { opacity: 1; --enter: 0px; }
  .js [data-split] .wi { opacity: 1; transform: none; filter: none; }
  .js .stop .stop-photo { clip-path: none; opacity: 1; }
  .js .stop .stop-text { opacity: 1; transform: none; }
  .loader { display: none; }
}
