/* Hand-rebuilt journey pages (JOURNEY in Base.astro) — markup in src/content/pages/<slug>.html, behaviour in /js/journey.js.
   Shared blocks first; page-specific blocks are marked. First page: Gobi stargazing. Night sections stay dark in both themes; the "sand" sections follow the theme. */
.gbx {
  --gx-night: #070b1c;
  --gx-night2: #111a3a;
  --gx-star: #f6efe0;
  --gx-gold: #e7b35a;
  --gx-gold-ink: #241a08;
  --gx-bg: #faf6ef;
  --gx-card: #fff;
  --gx-ink: #2a2f3a;
  --gx-text: #5b5b5b;
  --gx-muted: #8a8178;
  --gx-line: rgba(168, 134, 108, 0.28);
  --gx-accent: #a8866c;
  background: var(--gx-bg);
  color: var(--gx-text);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: clip;
}
html.sm-dark .gbx {
  --gx-bg: #13141a;
  --gx-card: #1b1d25;
  --gx-ink: #eee8e1;
  --gx-text: #bdb5ac;
  --gx-muted: #8f877e;
  --gx-line: #33343d;
  --gx-accent: #ceb19c;
}
.gbx-main { padding: 0 !important; }
.gbx *, .gbx *::before, .gbx *::after { box-sizing: border-box; }
.gbx-wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.gbx h1, .gbx h2, .gbx h3 { font-family: 'Cormorant Garamond', serif !important; color: var(--gx-ink); margin: 0; letter-spacing: 0 !important; text-transform: none !important; }
.gbx h2 { font-size: clamp(32px, 4.4vw, 52px) !important; line-height: 1.08 !important; font-weight: 600 !important; margin-bottom: 18px; }
.gbx h3 { font-size: 24px !important; line-height: 1.2 !important; font-weight: 600 !important; }
.gbx p { font-size: 19px; line-height: 1.65; margin: 0 0 16px; }
.gbx-eyebrow { font: 600 12px/1.4 'Poppins', sans-serif !important; letter-spacing: 0.2em !important; text-transform: uppercase; color: var(--gx-accent) !important; margin: 0 0 12px !important; }
.gbx-lead { max-width: 760px; font-size: 21px !important; }
.gbx-sec { position: relative; background: var(--gx-bg); padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 110px; }
.gbx-days, .gbx-book, .gbx-extend { scroll-margin-top: 110px; }

/* ---------- buttons ---------- */
.gbx-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border: 1px solid var(--gx-gold); border-radius: 999px;
  background: var(--gx-gold); color: var(--gx-gold-ink) !important;
  font: 600 12px/1 'Poppins', sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s;
}
.gbx-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(231, 179, 90, 0.35); }
.gbx-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.7); }
.gbx-btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, 0.08); }

/* ---------- starfields (drawn by journey.js) ---------- */
.gbx-stars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---------- hero ---------- */
.gbx-hero {
  position: relative; min-height: 92vh; min-height: 92svh;
  display: grid; place-items: end start; padding: 0 7vw 10vh;
  overflow: hidden; color: #fff; isolation: isolate; background: var(--gx-night);
}
.gbx-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: gbx-drift 30s ease-in-out infinite alternate; }
.gbx-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 28, 0.15) 0%, rgba(7, 11, 28, 0.05) 40%, rgba(7, 11, 28, 0.85) 100%); }
.gbx-stars--hero { z-index: -1; height: 62%; mix-blend-mode: screen; }
@keyframes gbx-drift { to { transform: scale(1.1) translateY(-1.5%); } }
.gbx-hero-in { max-width: 760px; }
.gbx-kicker { font: 600 12px/1 'Poppins', sans-serif !important; letter-spacing: 0.3em !important; text-transform: uppercase; color: var(--gx-gold) !important; margin-bottom: 18px !important; }
.gbx-hero h1 { color: #fff !important; font-size: clamp(44px, 7.4vw, 96px) !important; line-height: 0.98 !important; font-weight: 600 !important; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); }
.gbx-hero h1 span { display: block; font-style: italic; font-weight: 500; color: var(--gx-gold); }
.gbx-by { margin: 16px 0 22px !important; font-size: 20px !important; color: rgba(255, 255, 255, 0.85) !important; }
.gbx-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.gbx-chips li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.06em; color: #fff; background: rgba(7, 11, 28, 0.35); backdrop-filter: blur(6px); }
.gbx-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.gbx-hero > *:not(img):not(canvas) { animation: gbx-rise 1s 0.2s both; }
@keyframes gbx-rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- section nav ---------- */
.gbx-nav {
  position: sticky; top: var(--gbx-top, 0px); z-index: 30;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 10px max(20px, calc((100% - 1180px) / 2));
  background: rgba(7, 11, 28, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(231, 179, 90, 0.18);
}
.gbx-nav::-webkit-scrollbar { display: none; }
/* phones/tablets: journey.js pins the nav with position:fixed (moves with the fixed header on iOS) */
.gbx-nav.is-pinned { position: fixed; top: var(--gbx-top, 0px); left: 0; right: 0; }
.gbx-nav a { flex: none; padding: 9px 14px; border-radius: 999px; font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72) !important; text-decoration: none !important; transition: background 0.25s, color 0.25s; }
.gbx-nav a:hover { color: #fff !important; }
.gbx-nav a.is-on { background: var(--gx-gold); color: var(--gx-gold-ink) !important; }

/* ---------- split layout ---------- */
.gbx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gbx-split--rev { grid-template-columns: 1fr 1.05fr; }

/* ---------- sky quality meter ---------- */
.gbx-meter { margin: 0; }
.gbx-meter-sky { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--sky, #0a1030); transition: background 0.3s; box-shadow: 0 20px 50px rgba(7, 11, 28, 0.25); }
.gbx-meter-sky::after { /* horizon glow: city light at the bright end */ content: ''; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(0deg, rgba(255, 170, 90, var(--glow, 0)) 0%, transparent 100%); }
.gbx-meter-sky::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 2; background: #06070d; clip-path: polygon(0 60%, 12% 40%, 22% 55%, 35% 30%, 48% 50%, 60% 35%, 74% 52%, 86% 38%, 100% 55%, 100% 100%, 0 100%); }
.gbx-meter-read { position: absolute; top: 16px; left: 18px; z-index: 3; color: #fff; font-family: 'Poppins', sans-serif; }
.gbx-meter-read b { display: block; font-size: 40px; line-height: 1; font-weight: 600; color: var(--gx-gold); }
.gbx-meter-read small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.gbx-meter-ctl { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 16px 0 6px; font: 500 11px/1.2 'Poppins', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gx-muted); }
.gbx-meter-ctl input { width: 100%; accent-color: var(--gx-gold); }
.gbx-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.gbx-facts > div { padding: 16px 14px; border-radius: 14px; background: var(--gx-card); border: 1px solid var(--gx-line); }
.gbx-facts b { display: block; font: 600 28px/1.1 'Poppins', sans-serif; color: var(--gx-ink); }
.gbx-facts b small { font-size: 14px; font-weight: 500; color: var(--gx-muted); }
.gbx-facts > div > span { font: 400 12px/1.3 'Poppins', sans-serif; color: var(--gx-muted); }
.gbx-meter figcaption { margin-top: 12px; font-size: 15px; font-style: italic; color: var(--gx-muted); }

/* ---------- 3 days: sky changes with the timeline ---------- */
.gbx-days { position: relative; color: #fff; background: var(--gx-night); overflow: clip; /* keep the sticky sky inside */ }
.gbx-skybg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
.gbx-skybg i { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.gbx-skybg .s-day { background: linear-gradient(180deg, #4f87b8 0%, #9cc3dc 55%, #e9d2a4 100%); }
.gbx-skybg .s-dusk { background: linear-gradient(180deg, #2b2350 0%, #8a3f5e 45%, #e98a4f 80%, #f2c071 100%); }
.gbx-skybg .s-night { background: radial-gradient(ellipse at 70% 10%, #1f2b5e 0%, transparent 60%), linear-gradient(180deg, #050816 0%, #0b1330 70%, #1a1c33 100%); }
.gbx-skybg .s-dawn { background: linear-gradient(180deg, #24305f 0%, #7b6a9c 40%, #f0a983 75%, #fbe0a5 100%); }
.gbx-days[data-sky="day"] .s-day, .gbx-days[data-sky="dusk"] .s-dusk, .gbx-days[data-sky="night"] .s-night, .gbx-days[data-sky="dawn"] .s-dawn { opacity: 1; }
.gbx-skybg::after { /* dune silhouette */ content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18vh; background: rgba(6, 7, 13, 0.85); clip-path: polygon(0 55%, 10% 42%, 24% 58%, 38% 36%, 52% 52%, 66% 30%, 80% 50%, 92% 40%, 100% 48%, 100% 100%, 0 100%); }
.gbx-days-in { position: relative; z-index: 1; padding: 14vh 0 22vh; }
.gbx-days-head { margin-bottom: 8vh; text-align: center; }
.gbx-days h2, .gbx-days h3 { color: #fff !important; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.gbx-days .gbx-eyebrow { color: #ffe1a3 !important; }
.gbx-day {
  max-width: 620px; margin: 0 0 16vh; padding: 30px 32px;
  border-radius: 20px; background: rgba(7, 11, 28, 0.42); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gbx-day:nth-of-type(2) { margin-left: auto; }
.gbx-day:last-child { margin-bottom: 0; }
.gbx-day-n { font: 600 12px/1 'Poppins', sans-serif !important; letter-spacing: 0.24em !important; text-transform: uppercase; color: var(--gx-gold) !important; margin-bottom: 8px !important; }
.gbx-day h3 { font-size: 32px !important; margin-bottom: 18px; }
.gbx-day ol { list-style: none; margin: 0; padding: 0; }
.gbx-day li { position: relative; padding: 10px 0 10px 30px; font-size: 19px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); border-top: 1px solid rgba(255, 255, 255, 0.1); transition: color 0.4s; }
.gbx-day li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.6); transition: background 0.4s, box-shadow 0.4s, border-color 0.4s; }
.gbx-day li[data-sky="night"]::before { border-radius: 0; border: 0; width: 12px; height: 12px; top: 17px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.gbx-day li.is-on { color: #fff; }
.gbx-day li.is-on::before { background: var(--gx-gold); border-color: var(--gx-gold); box-shadow: 0 0 14px var(--gx-gold); }
.gbx-when { display: block; font: 600 10px/1.4 'Poppins', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #ffe1a3; }

/* ---------- music ---------- */
.gbx-music-pic { margin: 0; position: relative; }
.gbx-music-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; display: block; }
.gbx-music-pic figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 11, 28, 0.6); color: #fff; font: 500 12px/1.2 'Poppins', sans-serif; }
.gbx-quote { margin: 22px 0 !important; padding: 0 0 0 22px !important; border-left: 3px solid var(--gx-gold) !important; background: none !important; }
.gbx-quote p { font-size: clamp(26px, 3vw, 34px) !important; line-height: 1.2 !important; font-style: italic; color: var(--gx-ink) !important; margin: 0 !important; background: none !important; padding: 0 !important; }
.gbx-sunrise {
  margin: clamp(48px, 7vw, 90px) auto 0 !important; max-width: 920px; padding: clamp(28px, 4vw, 48px);
  border-radius: 24px; text-align: center; font-size: clamp(21px, 2.3vw, 27px) !important; line-height: 1.5 !important;
  color: #2b1d12 !important; background: linear-gradient(180deg, #f9e7c2 0%, #f5c595 60%, #eaa27c 100%);
}

/* ---------- gallery ---------- */
.gbx-gallery { columns: 3 260px; column-gap: 14px; margin-top: 28px; }
.gbx-shot { display: block; position: relative; margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.gbx-shot img { width: 100%; display: block; transition: transform 0.6s; }
.gbx-shot:hover img { transform: scale(1.05); }
.gbx-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(7, 11, 28, 0.78), transparent); color: #fff; font: 500 13px/1.3 'Poppins', sans-serif; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s; }
.gbx-shot:hover span, .gbx-shot:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gbx-shot span { opacity: 1; transform: none; } }

/* ---------- extend: journey builder ---------- */
.gbx-extend { background: linear-gradient(180deg, var(--gx-bg), color-mix(in srgb, var(--gx-bg) 88%, var(--gx-accent))); }
.gbx-builder { display: grid; grid-template-columns: 1fr 0.9fr 1fr; gap: 20px; margin-top: 34px; align-items: start; }
.gbx-col h3 { margin-bottom: 6px; }
.gbx-col > p { font-size: 16px !important; color: var(--gx-muted); margin-bottom: 14px !important; }
.gbx-opt { display: block; margin: 0 0 10px; cursor: pointer; }
.gbx-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gbx-opt-card { display: block; padding: 14px 16px 14px 46px; position: relative; border-radius: 14px; background: var(--gx-card); border: 1px solid var(--gx-line); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.gbx-opt-card::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--gx-accent); transition: background 0.2s; }
.gbx-opt input:checked + .gbx-opt-card { border-color: var(--gx-gold); box-shadow: 0 8px 24px rgba(231, 179, 90, 0.18); }
.gbx-opt input:checked + .gbx-opt-card::before { background: var(--gx-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23241a08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--gx-gold); }
.gbx-opt input:focus-visible + .gbx-opt-card { outline: 2px solid var(--gx-gold); outline-offset: 2px; }
.gbx-opt:hover .gbx-opt-card { transform: translateY(-2px); }
.gbx-opt-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.gbx-opt-top b { font: 600 15px/1.3 'Poppins', sans-serif; color: var(--gx-ink); }
.gbx-opt-top em { flex: none; font: 600 11px/1 'Poppins', sans-serif; font-style: normal; letter-spacing: 0.06em; color: var(--gx-accent); }
.gbx-opt small { display: block; margin-top: 6px; font: 400 13px/1.5 'Poppins', sans-serif; color: var(--gx-muted); }
.gbx-main-card { position: relative; overflow: hidden; padding: 26px 22px; border-radius: 18px; background: linear-gradient(160deg, #0b1233, #050816); color: #fff; box-shadow: 0 16px 40px rgba(7, 11, 28, 0.3); }
.gbx-main-card > *:not(canvas) { position: relative; display: block; }
.gbx-main-card b { font: 600 16px/1.3 'Poppins', sans-serif; letter-spacing: 0.06em; color: var(--gx-gold); }
.gbx-main-card span { margin: 6px 0; font-size: 20px; }
.gbx-main-card em { font: 600 11px/1 'Poppins', sans-serif; font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-bottom: 12px; }
.gbx-main-card small { font: 400 13px/1.55 'Poppins', sans-serif; opacity: 0.85; }
.gbx-summary { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--gx-card); border: 1px solid var(--gx-line); }
.gbx-bar { display: flex; gap: 3px; height: 34px; border-radius: 10px; overflow: hidden; }
.gbx-bar span { flex: var(--n) 1 0; display: grid; place-items: center; min-width: 0; padding: 0 6px; font: 600 11px/1 'Poppins', sans-serif; color: var(--gx-ink); background: color-mix(in srgb, var(--gx-accent) 30%, var(--gx-card)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: gbx-grow 0.4s both; }
.gbx-bar span.is-main { background: #0b1233; color: var(--gx-gold); }
@keyframes gbx-grow { from { opacity: 0; transform: scaleX(0.6); } }
.gbx-summary p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0 0 !important; }
.gbx-summary p span { font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gx-muted); }
.gbx-summary p b { font: 600 22px/1 'Poppins', sans-serif; color: var(--gx-ink); margin-right: auto; }
.gbx-map { margin: 34px 0 0; }
.gbx-map .gbx-shot { border-radius: 18px; border: 1px solid var(--gx-line); }
.gbx-map figcaption { margin-top: 10px; font-size: 15px; font-style: italic; color: var(--gx-muted); text-align: center; }

/* ---------- stays ---------- */
.gbx-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin: 30px 0 22px; border-radius: 22px; overflow: hidden; background: var(--gx-night); color: #fff; }
.gbx-feature img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.gbx-feature > div { padding: clamp(24px, 4vw, 48px); align-self: center; }
.gbx-feature h3 { color: var(--gx-gold) !important; font-size: 30px !important; margin-bottom: 14px; }
.gbx-feature p { color: rgba(255, 255, 255, 0.86); margin: 0 !important; }
.gbx-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gbx-types > div { padding: 20px; border-radius: 16px; background: var(--gx-card); border: 1px solid var(--gx-line); }
.gbx-types h3 { font-size: 21px !important; margin-bottom: 8px; }
.gbx-types h3 small { display: block; font: 500 11px/1.4 'Poppins', sans-serif; color: var(--gx-accent); margin-top: 4px; }
.gbx-types p { font-size: 15px !important; line-height: 1.6 !important; margin: 0 !important; }
.gbx-rail { position: relative; margin-top: 34px; }
.gbx-rail-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0 0 12px; scrollbar-width: thin; }
.gbx-stay { flex: 0 0 min(320px, 78%); scroll-snap-align: start; }
.gbx-stay-pics { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--gx-line); }
.gbx-stay-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s, transform 0.8s; }
.gbx-stay-pics img + img { opacity: 0; }
.gbx-stay:hover .gbx-stay-pics img + img { opacity: 1; }
.gbx-stay:hover .gbx-stay-pics img { transform: scale(1.04); }
.gbx-stay h3 { font-size: 21px !important; margin-top: 12px; }
.gbx-stay p { font: 400 13px/1.4 'Poppins', sans-serif !important; color: var(--gx-muted); margin: 2px 0 0 !important; }
.gbx-stay.is-gcs .gbx-stay-pics { box-shadow: 0 0 0 2px var(--gx-gold); }
.gbx-rail-btn { position: absolute; top: calc((min(320px, 78vw) * 0.75) / 2); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(7, 11, 28, 0.75); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.gbx-rail-btn[data-dir="-1"] { left: -10px; }
.gbx-rail-btn[data-dir="1"] { right: -10px; }
.gbx-rail-btn:disabled { opacity: 0; pointer-events: none; }
.gbx-note { margin-top: 20px !important; font-style: italic; color: var(--gx-muted) !important; }

/* ---------- details ---------- */
.gbx-info { background: var(--gx-bg); }
.gbx-info-head { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 24px; background: linear-gradient(160deg, #0d1640, #050816 70%); color: #fff; }
.gbx-info-head > *:not(canvas) { position: relative; max-width: 760px; }
.gbx-info-head h2 { color: #fff !important; }
.gbx-info-head p { color: rgba(255, 255, 255, 0.85); }
.gbx-info-head .gbx-eyebrow { color: var(--gx-gold) !important; }
.gbx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; }
.gbx-grid > div { padding: 18px; border-radius: 16px; background: var(--gx-card); border: 1px solid var(--gx-line); }
.gbx-grid dt { font: 600 11px/1.3 'Poppins', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gx-accent); margin-bottom: 8px; }
.gbx-grid dd { margin: 0; font-size: 19px; line-height: 1.35; color: var(--gx-ink); }
.gbx-grid ul { margin: 0; padding-left: 18px; }

.gbx-grid .is-hot { background: var(--gx-gold); border-color: var(--gx-gold); }
.gbx-grid .is-hot dt, .gbx-grid .is-hot dd { color: var(--gx-gold-ink); }
.gbx-grid .is-no dd { color: var(--gx-muted); }

/* ---------- booking form (the original Avada form, restyled lightly) ---------- */
.gbx-book { background: linear-gradient(180deg, var(--gx-bg) 0%, color-mix(in srgb, var(--gx-bg) 85%, var(--gx-accent)) 100%); }
.gbx-form { margin-top: 26px; padding: clamp(16px, 3vw, 36px); border-radius: 22px; background: var(--gx-card); border: 1px solid var(--gx-line); box-shadow: 0 18px 50px rgba(7, 11, 28, 0.08); }
.gbx-form .fusion-builder-row { max-width: none !important; }
.gbx-form .fusion-fullwidth { padding-left: 0 !important; padding-right: 0 !important; }
.gbx-flash { animation: gbx-flash 1.6s; }
@keyframes gbx-flash { 30% { box-shadow: 0 0 0 4px var(--gx-gold); } }

/* ---------- lightbox ---------- */
.gbx-box { position: fixed; inset: 0; z-index: 100000; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; background: rgba(5, 8, 22, 0.94); }
.gbx-box[hidden] { display: none; }
.gbx-box figure { margin: 0; text-align: center; min-width: 0; }
.gbx-box img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.gbx-box figcaption { margin-top: 12px; color: #fff; font: 400 14px/1.4 'Poppins', sans-serif; }
.gbx-box-x, .gbx-box-nav { border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 10px; }
.gbx-box-x { position: absolute; top: 12px; right: 16px; }

/* ---------- reveal ---------- */
html.gbx-js .gbx-rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
html.gbx-js .gbx-rv.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .gbx-builder { grid-template-columns: 1fr; }
  .gbx-col--main { order: -1; }
  .gbx-types, .gbx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .gbx-wrap { width: calc(100% - 32px); }
  .gbx-split, .gbx-split--rev { grid-template-columns: 1fr; }
  .gbx-hero { padding: 0 16px 8vh; min-height: 86vh; min-height: 86svh; }
  .gbx p { font-size: 18px; }
  .gbx-day { padding: 22px 18px; margin-bottom: 10vh; }
  .gbx-day h3 { font-size: 27px !important; }
  .gbx-day li { font-size: 17px; }
  .gbx-feature { grid-template-columns: 1fr; }
  .gbx-feature img { min-height: 220px; aspect-ratio: 16 / 10; }
  .gbx-types, .gbx-grid { grid-template-columns: 1fr; }
  .gbx-grid .is-wide { grid-column: auto; }
  .gbx-facts { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .gbx-facts > div { padding: 12px 8px; }
  .gbx-facts b { font-size: 21px; }
  .gbx-rail-btn { display: none; }
  .gbx-gallery { columns: 2 140px; column-gap: 10px; }
  .gbx-shot { margin-bottom: 10px; }
  .gbx-box { grid-template-columns: 40px 1fr 40px; }
  .gbx-meter-ctl { grid-template-columns: 1fr 1fr; }
  .gbx-meter-ctl input { grid-column: 1 / -1; grid-row: 1; }
  .gbx-meter-ctl span:last-child { text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .gbx-hero-bg, .gbx-hero > * { animation: none !important; }
  html.gbx-js .gbx-rv { opacity: 1; transform: none; transition: none; }
}

/* ======================================================================
   Naadam glamping page (.nd): route over the map, stops, Naadam band,
   three games, Erdenezuu stupa wall, two retreats
   ====================================================================== */
.nd { --gx-gold: #e2a74e; }
.nd-hero::after { background: linear-gradient(180deg, rgba(10, 14, 24, 0.25) 0%, rgba(10, 14, 24, 0) 35%, rgba(10, 14, 24, 0.82) 100%); }

/* nights bar */
.nd-bar { display: flex; gap: 4px; margin: 26px 0 18px; }
.nd-seg { flex: var(--n) 1 0; min-width: 0; padding: 12px 10px; border-radius: 12px; text-decoration: none !important; background: var(--gx-card); border: 1px solid var(--gx-line); transition: transform 0.25s, border-color 0.25s; }
.nd-seg:hover { transform: translateY(-3px); border-color: var(--gx-gold); }
.nd-seg b { display: block; font: 600 13px/1.25 'Poppins', sans-serif; color: var(--gx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-seg small { font: 500 11px/1.2 'Poppins', sans-serif; color: var(--gx-accent); }
.nd-seg.is-main { background: var(--gx-gold); border-color: var(--gx-gold); }
.nd-seg.is-main b, .nd-seg.is-main small { color: var(--gx-gold-ink); }

/* route */
.nd-route { margin: 0; }
.nd-route-map { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--gx-line); }
.nd-route-map img { display: block; width: 100%; height: auto; }
html.sm-dark .nd-route-map img { filter: brightness(0.85) contrast(1.05); }
.nd-route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nd-fly { fill: none; stroke: #2f6fb0; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0.012 0.014; }
.nd-road { fill: none; stroke: var(--gx-gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.95; }
.nd-route.is-in .nd-road { transition: stroke-dashoffset 3s 0.6s ease-in-out; stroke-dashoffset: 0; }
html:not(.gbx-js) .nd-road { stroke-dashoffset: 0; }
.nd-route.is-in .nd-fly { animation: nd-march 1.6s linear infinite; }
@keyframes nd-march { to { stroke-dashoffset: -0.052; } }
.nd-plane path { fill: #2f6fb0; stroke: #fff; stroke-width: 2; }
.nd-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; text-decoration: none !important; z-index: 2; }
.nd-pin i { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 999px; background: #1d2433; color: #fff; font: 600 11px/1 'Poppins', sans-serif; font-style: normal; box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, 0.3); transition: transform 0.25s, background 0.25s; }
.nd-pin span { padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); color: #1d2433; font: 600 11px/1.2 'Poppins', sans-serif; white-space: nowrap; }
.nd-pin:hover i { transform: scale(1.15); background: var(--gx-gold); color: var(--gx-gold-ink); }
.nd-route figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; font-size: 15px; font-style: italic; color: var(--gx-muted); }
.nd-key { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 'Poppins', sans-serif; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; }
.nd-key::before { content: ''; width: 28px; height: 0; border-top: 4px solid var(--gx-gold); border-radius: 2px; }
.nd-key--fly::before { border-top: 3px dashed #2f6fb0; }

/* stops */
.nd-stop { position: relative; padding: clamp(56px, 8vw, 110px) 0; background: var(--gx-bg); scroll-margin-top: 110px; }
.nd-stop:nth-of-type(even) { background: color-mix(in srgb, var(--gx-bg) 92%, var(--gx-accent)); }
.nd-stop-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.nd-stop:nth-of-type(even) .nd-stop-pic { order: 2; }
.nd-stop-pic { margin: 0; position: relative; }
.nd-stop-pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 24, 36, 0.18); }
.nd-stop-n { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; }
.nd-stop-n b { font: 600 46px/1 'Cormorant Garamond', serif; color: var(--gx-gold); }
.nd-stop-n span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gx-line); font: 600 11px/1 'Poppins', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gx-muted); }
.nd-stop h2 { font-size: clamp(30px, 3.6vw, 44px) !important; }
.nd-legend { margin-top: 22px; padding: 22px 24px; border-radius: 18px; border-left: 4px solid var(--gx-gold); background: #14202e; }
.nd-legend p { color: #e9e2d6 !important; font-size: 17px !important; font-style: italic; margin: 0 !important; }
.nd-say { margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; background: none !important; }
html.sm-dark .gbx blockquote.nd-say, html.sm-dark .gbx blockquote.gbx-quote { background-color: transparent !important; }
html.sm-dark .gbx blockquote.gbx-quote { border-color: var(--gx-gold) !important; }
.nd-stop--feature { padding-bottom: 0; }
.nd-say p { font-size: 21px !important; font-style: italic; color: var(--gx-ink) !important; background: none !important; padding: 0 !important; }
.nd-facts { grid-template-columns: repeat(4, 1fr); }

/* Naadam band */
.nd-naadam { position: relative; margin-top: clamp(56px, 8vw, 100px); padding: clamp(70px, 10vw, 130px) 0; color: #fff; overflow: hidden; isolation: isolate; scroll-margin-top: 110px; }
.nd-naadam-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 0%; z-index: -2; } /* keep the rider's head (top edge of the photo) in frame */
.nd-naadam::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 16, 24, 0.86) 0%, rgba(12, 16, 24, 0.62) 55%, rgba(12, 16, 24, 0.3) 100%); }
.nd-naadam h2 { color: #fff !important; font-size: clamp(40px, 6vw, 72px) !important; }
.nd-naadam .gbx-eyebrow { color: var(--gx-gold) !important; }
.nd-naadam-lead { max-width: 720px; font-size: 22px !important; color: #fff !important; }
.nd-naadam-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; }
.nd-naadam-cols p { color: rgba(255, 255, 255, 0.86) !important; font-size: 17px !important; }
.nd-games-h { margin: 26px 0 12px !important; font: 600 12px/1 'Poppins', sans-serif !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gx-gold) !important; }
.nd-games { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.nd-games li { padding: 20px 16px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px); transition: transform 0.3s, background 0.3s; }
.nd-games li:hover { transform: translateY(-4px); background: rgba(226, 167, 78, 0.18); }
.nd-games svg { width: 58px; height: 58px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nd-games b { display: block; margin-top: 10px; font: 600 14px/1.2 'Poppins', sans-serif; color: #fff; }

/* stupa wall */
.nd-wall { position: relative; width: min(320px, 100%); margin: 26px 0 0; }
.nd-wall svg { display: block; width: 100%; }
.nd-wall-line { fill: none; stroke: var(--gx-line); stroke-width: 2; }
.nd-wall-stupas path { fill: var(--gx-ink); }
html.gbx-js .nd-wall-stupas path { opacity: 0; }
html.gbx-js .nd-wall.is-in .nd-wall-stupas path { animation: nd-pop 0.35s calc(var(--i) * 16ms) both; }
@keyframes nd-pop { from { opacity: 0; } to { opacity: 1; } }
.nd-wall-n { position: absolute; left: 0; right: 0; top: calc(50% - 40px); text-align: center; pointer-events: none; }
.nd-wall-n b { display: block; font: 600 56px/1 'Cormorant Garamond', serif; color: var(--gx-gold); }
.nd-wall-n span { font: 600 11px/1 'Poppins', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gx-muted); }
.nd-wall figcaption { margin-top: 8px; text-align: center; font-size: 15px; font-style: italic; color: var(--gx-muted); }

/* two retreats */
.nd-retreats h2 { max-width: 820px; }
.nd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.nd-retreat { display: block; padding: 26px 26px 22px; border-radius: 20px; text-decoration: none !important; background: var(--gx-card); border: 1px solid var(--gx-line); transition: transform 0.25s, border-color 0.25s; }
.nd-retreat:hover { transform: translateY(-3px); border-color: var(--gx-gold); }
.nd-retreat small { font: 600 12px/1 'Poppins', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gx-accent); }
.nd-retreat b { display: block; margin: 10px 0 14px; font: 600 32px/1.1 'Cormorant Garamond', serif; color: var(--gx-ink); }
.nd-retreat span { font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gx-muted); }
.nd-retreat.is-on { background: #141b2a; border-color: #141b2a; }
.nd-retreat.is-on b { color: #fff; }
.nd-retreat.is-on span { color: var(--gx-gold); }

@media (max-width: 980px) {
  .nd-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nd-bar { flex-wrap: wrap; }
  .nd-seg { flex: 1 1 calc(33% - 4px); }
  .nd-stop-in { grid-template-columns: 1fr; }
  .nd-stop:nth-of-type(even) .nd-stop-pic { order: 0; }
  .nd-pin span { display: none; }
  .nd-pin i { min-width: 24px; height: 24px; font-size: 10px; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }
  .nd-pin::before { content: ''; position: absolute; inset: -10px; } /* bigger tap area than the small dot */
  .nd-seg { padding: 11px 8px; }
  .nd-seg b { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; font-size: 12px; } /* no "Kharakhor…" on phones */
  .gbx-nav a { padding: 13px 14px; } /* tap height ~38px */
  /* iOS Safari flickers/jitters a sticky bar that has backdrop-filter while scrolling: solid background instead */
  .gbx-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #070b1c; }
}
@media (max-width: 359px) {
  .nd-seg { padding: 10px 6px; }
  .nd-seg b { font-size: 10.5px; }
  .nd-naadam::after { background: rgba(12, 16, 24, 0.74); }
  .nd-naadam-cols { grid-template-columns: 1fr; gap: 0; }
  .nd-games { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .nd-games li { padding: 14px 6px; }
  .nd-games svg { width: 40px; height: 40px; }
  .nd-games b { font-size: 12px; }
  .nd-two { grid-template-columns: 1fr; }
  .nd-wall { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-route .nd-fly { animation: none !important; }
  .nd-plane { display: none; }
}
.nd-retreats + .gbx-info { padding-top: 0; }

/* Naadam band, wide screens: text on the right so the rider stays clear on the left */
@media (min-width: 981px) {
  .nd-naadam-in { display: flex; flex-direction: column; align-items: flex-end; }
  .nd-naadam-in > * { width: min(600px, 44vw); }
  .nd-naadam-cols { grid-template-columns: 1fr; gap: 0; }
  .nd-games { grid-template-columns: repeat(3, 1fr); }
  .nd-naadam-bg { object-position: 22% 0%; }
  .nd-naadam::after { background: linear-gradient(270deg, rgba(12, 16, 24, 0.88) 0%, rgba(12, 16, 24, 0.72) 38%, rgba(12, 16, 24, 0.15) 66%, rgba(12, 16, 24, 0.05) 100%); }
}

/* ======================================================================
   Glamping & Yoga page (.yg): reuses the Naadam blocks; the band becomes
   the yoga band (text left, a breathing circle on the right) and the hot
   spring stop shows the video instead of a photo
   ====================================================================== */
.yg { --gx-sage: #9fc4b0; }
/* the tent photo is bright: darker wash on the left/bottom so the kicker and the gold "Glamping &" stay readable */
.yg .nd-hero::after { background: linear-gradient(180deg, rgba(10, 14, 24, 0.3) 0%, rgba(10, 14, 24, 0.2) 30%, rgba(10, 14, 24, 0.9) 100%), linear-gradient(90deg, rgba(10, 14, 24, 0.6) 0%, rgba(10, 14, 24, 0) 70%); }
.yg .gbx-kicker, .yg .gbx-hero h1 span { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 18px rgba(0, 0, 0, 0.5); }
.yg-yoga .nd-naadam-bg { object-position: 50% 70%; }
.yg-yoga::after { background: linear-gradient(90deg, rgba(10, 18, 26, 0.9) 0%, rgba(10, 18, 26, 0.7) 50%, rgba(10, 18, 26, 0.35) 100%) !important; }
.yg-yoga .gbx-eyebrow { color: var(--gx-sage) !important; }
.yg-yoga h2 { font-size: clamp(36px, 5vw, 62px) !important; max-width: 760px; }

.yg-breath { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 36px; }
.yg-breath p { margin: 0 !important; font: 500 12px/1.4 'Poppins', sans-serif !important; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7) !important; }
.yg-breath-ring { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.yg-breath-ring i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); animation: yg-breathe 8s ease-in-out infinite; }
.yg-breath-ring i:nth-child(1) { background: radial-gradient(circle, rgba(159, 196, 176, 0.35) 0%, rgba(159, 196, 176, 0.08) 70%); border-color: rgba(159, 196, 176, 0.7); backdrop-filter: blur(4px); }
.yg-breath-ring i:nth-child(2) { inset: -18px; animation-delay: 0.25s; opacity: 0.6; }
.yg-breath-ring i:nth-child(3) { inset: -36px; animation-delay: 0.5s; opacity: 0.3; }
.yg-breath-ring span { position: absolute; font: 500 italic 26px/1 'Cormorant Garamond', serif; color: #fff; animation: yg-label 8s ease-in-out infinite; }
.yg-breath-ring .yg-out { animation-delay: -4s; }
@keyframes yg-breathe { 0%, 100% { transform: scale(0.55); } 50% { transform: scale(1); } }
@keyframes yg-label { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }

.yg-video video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 24, 36, 0.18); background: #10161f; }

@media (min-width: 981px) {
  .yg-yoga .nd-naadam-in { display: grid; grid-template-columns: minmax(0, 640px) 1fr; column-gap: 40px; align-items: center; }
  .yg-yoga .nd-naadam-in > * { width: auto; grid-column: 1; }
  .yg-yoga .nd-naadam-in > .yg-breath { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .yg-yoga .nd-naadam-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .yg-yoga .nd-naadam-bg { object-position: 50% 70%; }
}
@media (max-width: 640px) {
  .yg-breath-ring { width: 180px; height: 180px; }
  .yg-breath-ring span { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .yg-breath-ring i, .yg-breath-ring span { animation: none !important; }
  .yg-breath-ring .yg-out { display: none; }
}

/* ======================================================================
   Journey with a Shaman (.sh): its own look — night, ember red, turquoise
   beads, bone. Hero embers, costume-fringe ribbons, a drum you can strike,
   and the stops strung on a glowing "spirit path" with arched (ger-door) photos.
   ====================================================================== */
.sh {
  --sh-ember: #d9572b; --sh-ember2: #f08a3c; --sh-turq: #4fb3aa; --sh-bone: #efe4d0;
  --sh-night: #0c0b0f; --sh-smoke: #16141b; --sh-smoke2: #1d1a22;
  --gx-gold: var(--sh-ember2); --gx-gold-ink: #1a0d06; --gx-accent: #d9a07a;
}
html.sm-dark .sh { --gx-bg: var(--sh-night); --gx-card: var(--sh-smoke2); --gx-line: #2f2a33; --gx-ink: var(--sh-bone); --gx-text: #c2b6a6; --gx-muted: #8f8579; --gx-accent: #d9a07a; }
.sh .gbx-eyebrow { color: var(--sh-turq) !important; }

/* hero */
.sh-hero .gbx-hero-bg { object-position: 70% 30%; }
.sh-hero::after { background: linear-gradient(90deg, rgba(12, 11, 15, 0.92) 0%, rgba(12, 11, 15, 0.6) 45%, rgba(12, 11, 15, 0.05) 75%), linear-gradient(180deg, rgba(12, 11, 15, 0) 55%, rgba(12, 11, 15, 0.9) 100%); }
.sh-hero .gbx-hero-in { max-width: 820px; }
.sh-hero h1 { font-size: clamp(40px, 6.4vw, 86px) !important; line-height: 1 !important; }
.sh-hero h1 span { color: var(--sh-bone); font-style: italic; font-weight: 500; text-shadow: 0 0 28px rgba(217, 87, 43, 0.55); }
.sh-hero .gbx-kicker { color: var(--sh-ember2) !important; }
.sh-hero .gbx-chips li { background: rgba(12, 11, 15, 0.45); border-color: rgba(239, 228, 208, 0.3); }
.sh .gbx-btn { background: var(--sh-ember); border-color: var(--sh-ember); color: #fff !important; }
.sh .gbx-btn:hover { box-shadow: 0 8px 28px rgba(217, 87, 43, 0.45); }
.sh .gbx-btn--ghost { background: transparent; border-color: rgba(239, 228, 208, 0.6); }
.sh-embers { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0; mix-blend-mode: screen; }

/* costume-fringe ribbons hanging off a section's edge */
.sh-fringe {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(90deg, var(--sh-ember) 0 7px, transparent 7px 12px, var(--sh-turq) 12px 17px, transparent 17px 22px, var(--sh-bone) 22px 25px, transparent 25px 31px, #2f4f9e 31px 36px, transparent 36px 42px);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 40%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 40%, transparent 100%);
  transform-origin: top; animation: sh-sway 6s ease-in-out infinite alternate; opacity: 0.75;
}
.sh-fringe--top { top: -1px; bottom: auto; transform-origin: top; -webkit-mask: linear-gradient(180deg, #000 0, transparent 100%); mask: linear-gradient(180deg, #000 0, transparent 100%); }
@keyframes sh-sway { from { transform: skewX(-4deg); } to { transform: skewX(4deg); } }

/* nav, nights bar, map in the shaman palette */
.sh .gbx-nav { background: rgba(12, 11, 15, 0.94); border-bottom-color: rgba(217, 87, 43, 0.3); }
.sh .gbx-nav a.is-on { background: var(--sh-ember); color: #fff !important; }
.sh-glance { background: var(--sh-night); }
.sh .nd-seg.is-main { background: linear-gradient(135deg, var(--sh-ember), #a83a1f); border-color: var(--sh-ember); }
.sh .nd-seg.is-main b, .sh .nd-seg.is-main small { color: #fff; }
.sh .nd-road { stroke: var(--sh-ember); }
.sh .nd-key--road::before { border-top-color: var(--sh-ember); }
.sh .nd-pin:hover i { background: var(--sh-ember); color: #fff; }

/* spirit path */
.sh-path { position: relative; background: var(--sh-night); padding: 20px 0 40px; }
.sh-path-line { position: absolute; top: 0; bottom: 0; left: calc(max(20px, (100% - 1180px) / 2) + 18px); width: 2px; background: repeating-linear-gradient(180deg, rgba(239, 228, 208, 0.18) 0 8px, transparent 8px 16px); }
.sh-path-line i { position: absolute; left: -1px; top: 0; width: 4px; height: calc(var(--p, 0) * 100%); border-radius: 4px; background: linear-gradient(180deg, var(--sh-turq), var(--sh-ember) 70%, var(--sh-ember2)); box-shadow: 0 0 14px rgba(240, 138, 60, 0.8); }
.sh-path-line i::after { content: ''; position: absolute; bottom: -6px; left: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sh-ember2); box-shadow: 0 0 18px 6px rgba(240, 138, 60, 0.7); }
.sh-stop { position: relative; padding: clamp(48px, 7vw, 90px) 0; scroll-margin-top: 110px; }
.sh-stop-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-left: 64px; }
.sh-node { position: absolute; left: -2px; top: 50%; transform: translate(0, -50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sh-night); border: 1px solid rgba(239, 228, 208, 0.35); font: 600 13px/1 'Cormorant Garamond', serif; letter-spacing: 0.05em; color: var(--sh-bone); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, color 0.5s; }
.sh-stop.is-lit .sh-node { background: var(--sh-ember); border-color: var(--sh-ember2); color: #fff; box-shadow: 0 0 0 6px rgba(217, 87, 43, 0.18), 0 0 26px rgba(240, 138, 60, 0.6); }
.sh-arch { margin: 0; position: relative; }
.sh-arch img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 999px 999px 18px 18px; filter: saturate(0.9) brightness(0.92); transition: filter 0.8s; }
.sh-stop.is-lit .sh-arch img { filter: none; }
.sh-arch::after { content: ''; position: absolute; inset: 10px; border-radius: 999px 999px 12px 12px; border: 1px solid rgba(239, 228, 208, 0.35); pointer-events: none; }
.sh-stop:nth-child(odd) .sh-arch { order: 2; }
.sh-when { margin: 0 0 10px !important; font: 600 11px/1 'Poppins', sans-serif !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sh-ember2) !important; }
.sh-copy h2 { font-size: clamp(30px, 3.8vw, 48px) !important; margin-bottom: 10px; }
.sh-copy p { color: var(--gx-text); }
.sh-legend { margin-top: 20px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(79, 179, 170, 0.12), rgba(79, 179, 170, 0.03)); border: 1px solid rgba(79, 179, 170, 0.35); }
.sh-legend p { margin: 0 !important; font-style: italic; color: #d8e9e5 !important; font-size: 17px !important; }
.sh blockquote.sh-quote, .sh blockquote.sh-say { margin: 18px 0 !important; padding: 0 0 0 20px !important; border: 0 !important; border-left: 3px solid var(--sh-ember) !important; background: transparent !important; }
.sh-quote p { font-size: 26px !important; font-style: italic; color: var(--sh-bone) !important; margin: 0 !important; }
.sh-say p { font-size: 20px !important; font-style: italic; color: var(--sh-bone) !important; }
.sh .nd-facts > div { background: var(--sh-smoke2); }

/* shaman band */
.sh-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; background: var(--sh-smoke); color: var(--sh-bone); scroll-margin-top: 110px; }
.sh-band-bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; opacity: 0.75; -webkit-mask: linear-gradient(90deg, transparent 0, #000 45%); mask: linear-gradient(90deg, transparent 0, #000 45%); }
.sh-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 80% 40%, rgba(217, 87, 43, 0.18), transparent 70%), linear-gradient(90deg, rgba(22, 20, 27, 0.96) 0%, rgba(22, 20, 27, 0.75) 50%, rgba(22, 20, 27, 0.35) 100%); }
.sh-band-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.sh-band h2 { color: #fff !important; font-size: clamp(40px, 5.6vw, 72px) !important; }
.sh-lead { font-size: 22px !important; color: #fff !important; }
.sh-band-copy p { color: rgba(239, 228, 208, 0.85); }

.sh-drum { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sh-drum figcaption { font: 600 11px/1 'Poppins', sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(239, 228, 208, 0.7); }
.sh-drum-btn { position: relative; width: min(340px, 78vw); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.sh-drum-btn:focus-visible { outline: 2px solid var(--sh-turq); outline-offset: 8px; }
.sh-drum-btn svg { position: relative; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); animation: sh-idle 2.4s ease-in-out infinite; }
.sh-drum-rim { fill: #4a2b17; stroke: #2a170b; stroke-width: 4; }
.sh-drum-paint { fill: none; stroke: #7a2414; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sh-drum-paint circle:first-child { fill: #7a2414; }
.sh-drum-ribbons path { fill: none; stroke-width: 7; stroke-linecap: round; transform-origin: 120px 196px; animation: sh-ribbon 3s ease-in-out infinite alternate; }
.sh-drum-ribbons path:nth-child(1) { stroke: var(--sh-ember); }
.sh-drum-ribbons path:nth-child(2) { stroke: var(--sh-turq); animation-delay: -1s; }
.sh-drum-ribbons path:nth-child(3) { stroke: var(--sh-bone); animation-delay: -2s; }
.sh-drum-ribbons path:nth-child(4) { stroke: #2f4f9e; animation-delay: -0.5s; }
.sh-drum-bells circle { fill: #c9a23f; stroke: #6d5414; stroke-width: 2; }
.sh-drum-skin { transform-origin: 120px 120px; }
.sh-drum.is-hit .sh-drum-skin { animation: sh-hit 0.45s cubic-bezier(.2, .8, .3, 1); }
.sh-drum.is-hit .sh-drum-ribbons path { animation: sh-ribbon-hit 0.6s ease-out; }
.sh-ripples { position: absolute; inset: 0; pointer-events: none; }
.sh-ripples i { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(240, 138, 60, 0.75); animation: sh-ripple 1.4s ease-out forwards; }
@keyframes sh-idle { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.012); } 16% { transform: scale(1); } }
@keyframes sh-hit { 0% { transform: scale(1); } 18% { transform: scale(0.955); } 45% { transform: scale(1.02); } 100% { transform: scale(1); } }
@keyframes sh-ripple { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
@keyframes sh-ribbon { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes sh-ribbon-hit { 0% { transform: rotate(0); } 30% { transform: rotate(14deg); } 60% { transform: rotate(-9deg); } 100% { transform: rotate(0); } }

.sh-benefits-h { margin: clamp(48px, 7vw, 80px) 0 18px !important; color: var(--sh-bone) !important; font-size: clamp(26px, 3vw, 36px) !important; font-style: italic; font-weight: 500 !important; }
.sh-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sh-benefits li { position: relative; padding: 26px 22px 40px; border-radius: 20px 20px 6px 6px; background: rgba(12, 11, 15, 0.6); border: 1px solid rgba(239, 228, 208, 0.16); backdrop-filter: blur(6px); transition: transform 0.3s, border-color 0.3s; }
.sh-benefits li::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 22px; background: repeating-linear-gradient(90deg, var(--sh-ember) 0 4px, transparent 4px 9px, var(--sh-turq) 9px 13px, transparent 13px 18px); -webkit-mask: linear-gradient(180deg, #000, transparent); mask: linear-gradient(180deg, #000, transparent); opacity: 0.7; }
.sh-benefits li:hover { transform: translateY(-4px); border-color: var(--sh-ember); }
.sh-benefits svg { width: 46px; height: 46px; fill: none; stroke: var(--sh-ember2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-benefits b { display: block; margin: 12px 0 6px; font: 600 26px/1.1 'Cormorant Garamond', serif; color: #fff; }
.sh-benefits span { font-size: 17px; line-height: 1.5; color: rgba(239, 228, 208, 0.8); }

/* join + details + booking */
.sh-join { position: relative; padding: clamp(70px, 10vw, 120px) 0; text-align: center; background: radial-gradient(70% 90% at 50% 100%, rgba(217, 87, 43, 0.22), transparent 70%), var(--sh-night); }
.sh-join-text { max-width: 760px; margin: 0 auto 26px !important; font-size: clamp(22px, 2.6vw, 30px) !important; line-height: 1.35 !important; font-style: italic; color: var(--sh-bone) !important; }
.sh-join-date { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 30px !important; font: 600 clamp(28px, 5vw, 56px)/1 'Cormorant Garamond', serif !important; color: #fff !important; }
.sh-join-date i { width: clamp(30px, 8vw, 90px); height: 2px; background: linear-gradient(90deg, var(--sh-turq), var(--sh-ember)); }
.sh .gbx-info { background: var(--sh-night); padding-top: 0; }
.sh .gbx-grid .is-hot { background: var(--sh-ember); border-color: var(--sh-ember); }
.sh .gbx-grid .is-hot dt, .sh .gbx-grid .is-hot dd { color: #fff; }
.sh .gbx-book { background: linear-gradient(180deg, var(--sh-night), var(--sh-smoke)); }
.sh .gbx-form { background: var(--sh-smoke2); }
.sh .gbx-hero-in, .sh .sh-band-in, .sh-benefits { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .sh-band-in { grid-template-columns: 1fr; }
  .sh-band-bg { width: 100%; opacity: 0.3; -webkit-mask: none; mask: none; }
  .sh-benefits { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .sh-hero::after { background: linear-gradient(180deg, rgba(12, 11, 15, 0.1) 0%, rgba(12, 11, 15, 0.55) 30%, rgba(12, 11, 15, 0.8) 55%, rgba(12, 11, 15, 0.96) 100%); }
  .sh-hero .gbx-kicker, .sh-hero h1 { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 18px rgba(0, 0, 0, 0.6); }
  .sh-fringe { height: 24px; }
  .sh-hero .gbx-hero-bg { object-position: 72% 30%; }
  .sh-path-line { left: 22px; }
  .sh-stop-in { grid-template-columns: 1fr; padding-left: 34px; }
  .sh-stop:nth-child(odd) .sh-arch { order: 0; }
  .sh-node { top: 0; left: -14px; transform: none; width: 34px; height: 34px; font-size: 12px; }
  .sh-arch img { aspect-ratio: 4 / 3.6; }
  .sh-quote p { font-size: 22px !important; }
  .sh-join-date { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-fringe, .sh-drum-btn svg, .sh-drum-ribbons path { animation: none !important; }
}
