/* ==========================================================================
   Uchai Expeditions — design system
   Concept website designed & built by Make Web Nepal
   ========================================================================== */

:root {
  --ink: #0d1620;
  --ink-2: #16222e;
  --ink-3: #22313f;
  --paper: #f5f2eb;
  --paper-2: #ece6da;
  --paper-3: #e2dacb;
  --snow: #ffffff;
  --stone: #6b7280;
  --stone-2: #8a8f98;
  --line: #ddd5c5;
  --line-dark: rgba(255, 255, 255, 0.12);
  --marigold: #e0912f;
  --marigold-2: #c97a1a;
  --marigold-soft: #f6e3c8;
  --glacier: #2e7d83;
  --glacier-soft: #d6ebe9;
  --prayer-red: #c2412d;
  --prayer-green: #3d8b4f;
  --ok: #2f8a57;
  --warn: #c9821a;
  --bad: #b8402f;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(13, 22, 32, 0.06), 0 2px 8px rgba(13, 22, 32, 0.05);
  --shadow: 0 2px 6px rgba(13, 22, 32, 0.06), 0 12px 32px rgba(13, 22, 32, 0.09);
  --shadow-lg: 0 8px 20px rgba(13, 22, 32, 0.1), 0 30px 70px rgba(13, 22, 32, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marigold); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--snow); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 860px; }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-sand { background: var(--paper-2); }
.section-white { background: var(--snow); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--marigold-2);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-dark .eyebrow { color: var(--marigold); }
.display { font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 0.98; letter-spacing: -0.035em; }
.h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.serif-i { font-style: italic; font-weight: 400; color: var(--marigold-2); }
.section-dark .serif-i { color: var(--marigold); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: #3b4652; max-width: 62ch; }
.section-dark .lead { color: #b9c2cb; }
.muted { color: var(--stone); }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head .lead { margin: 18px 0 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--snow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 22, 32, 0.18); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-accent { --bg: var(--marigold); --fg: var(--ink); }
.btn-accent:hover { --bg: #eba043; }
.btn-light { --bg: var(--snow); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-ghost:hover { box-shadow: none; background: rgba(127, 127, 127, 0.08); }
.btn-ghost-light { --bg: rgba(255, 255, 255, 0.08); --fg: var(--snow); border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, 0.16); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.link-arrow svg { width: 17px; height: 17px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap 0.25s var(--ease), color 0.2s; }
.link-arrow:hover { gap: 12px; color: var(--marigold-2); }
.section-dark .link-arrow:hover { color: var(--marigold); }

/* ---------- concept banner ---------- */
.concept-bar {
  position: relative; z-index: 120; background: var(--marigold); color: var(--ink);
  font-size: 0.82rem; font-weight: 500; text-align: center; padding: 8px 48px 8px 16px; line-height: 1.4;
}
.concept-bar a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.concept-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.concept-bar button:hover { background: rgba(0, 0, 0, 0.08); }
.concept-bar[hidden] { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(245, 242, 235, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s, color 0.35s, box-shadow 0.35s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 22, 32, 0.05); }
.header-over { position: fixed; left: 0; right: 0; background: transparent; color: var(--snow); backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-over.scrolled { background: rgba(13, 22, 32, 0.95); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; flex: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo small { display: block; font-family: var(--mono); font-size: 0.56rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; margin-top: 3px; }
.logo span { line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; transition: background 0.2s; }
.main-nav a:hover { background: rgba(127, 127, 127, 0.12); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--marigold); transform: translateX(-50%); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s; }
.icon-btn:hover { background: rgba(127, 127, 127, 0.14); }
.icon-btn svg { width: 21px; height: 21px; }
.badge-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--marigold); color: var(--ink); font-size: 0.68rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.currency-select {
  appearance: none; -webkit-appearance: none; height: 40px; padding: 0 30px 0 14px; border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, 0.35); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.header-over:not(.scrolled) .currency-select { border-color: rgba(255, 255, 255, 0.4); }
.currency-select option { color: var(--ink); }
.menu-btn { display: none; }
.menu-btn .bars { width: 20px; height: 14px; position: relative; }
.menu-btn .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease); }
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 6px; }
.menu-btn .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-btn .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-btn .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 30px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path 0.6s var(--ease); visibility: hidden; overflow-y: auto;
}
.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-nav a.big { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); padding: 6px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: baseline; opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.mobile-nav a.big small { font-family: var(--mono); font-size: 0.72rem; color: var(--stone-2); }
.menu-open .mobile-nav a.big { opacity: 1; transform: none; }
.menu-open .mobile-nav a.big:nth-child(2) { transition-delay: 0.06s; }
.menu-open .mobile-nav a.big:nth-child(3) { transition-delay: 0.12s; }
.menu-open .mobile-nav a.big:nth-child(4) { transition-delay: 0.18s; }
.menu-open .mobile-nav a.big:nth-child(5) { transition-delay: 0.24s; }
.mobile-nav .mobile-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 14px; color: var(--stone-2); font-size: 0.9rem; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--snow); background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--snow); overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.12); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 22, 32, 0.55) 0%, rgba(13, 22, 32, 0.05) 30%, rgba(13, 22, 32, 0.15) 55%, rgba(13, 22, 32, 0.92) 100%); }
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(36px, 5vw, 60px); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); font-size: clamp(2.7rem, 6.2vw, 5.6rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: none; } }
.hero-sub { max-width: 52ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.86); margin: 26px 0 34px; opacity: 0; animation: fadeUp 1s 0.5s var(--ease) forwards; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 0.65s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-meta { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 7vh, 80px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); opacity: 0; animation: fadeUp 1s 0.85s var(--ease) forwards; }
.hero-meta strong { color: var(--snow); font-weight: 600; }
.hero-caption { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.altimeter { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; color: var(--stone); pointer-events: none; transition: opacity 0.4s; }
.altimeter .track { width: 2px; height: 140px; background: rgba(127, 127, 127, 0.25); border-radius: 2px; position: relative; overflow: hidden; }
.altimeter .fill { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; background: var(--marigold); border-radius: 2px; }
.altimeter .val { writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---------- search card ---------- */
.search-card {
  margin-top: 34px; background: rgba(255, 255, 255, 0.97); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; padding: 8px; max-width: 920px;
  opacity: 0; animation: fadeUp 1s 0.75s var(--ease) forwards;
}
.search-field { position: relative; padding: 10px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-field:nth-child(3) { border-right: 0; }
.search-field label { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.search-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-weight: 600; font-size: 0.98rem; padding: 2px 18px 2px 0; cursor: pointer; width: 100%; text-overflow: ellipsis; }
.search-field::after { content: ""; position: absolute; right: 18px; bottom: 19px; width: 7px; height: 7px; border-right: 1.6px solid var(--stone); border-bottom: 1.6px solid var(--stone); transform: rotate(45deg); pointer-events: none; }
.search-card .btn { min-height: 58px; border-radius: 16px; padding: 0 28px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat .n sup { font-size: 0.45em; color: var(--marigold-2); vertical-align: super; margin-left: 2px; }
.stat p { margin: 10px 0 0; color: var(--stone); font-size: 0.92rem; }

/* ---------- trek card ---------- */
.trek-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.trek-card { position: relative; display: flex; flex-direction: column; background: var(--snow); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); isolation: isolate; }
.trek-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trek-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.trek-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.trek-card:hover .media img { transform: scale(1.06); }
.trek-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.45)); pointer-events: none; }
.trek-card .tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: rgba(255, 255, 255, 0.94); color: var(--ink); letter-spacing: 0.01em; }
.tag-dark { background: rgba(13, 22, 32, 0.78); color: var(--snow); backdrop-filter: blur(6px); }
.tag-accent { background: var(--marigold); color: var(--ink); }
.diff-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.diff-dot[data-d="2"] { background: #8aa83a; }
.diff-dot[data-d="3"] { background: var(--warn); }
.diff-dot[data-d="4"] { background: var(--bad); }
.trek-card .alt-badge { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: var(--snow); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; }
.trek-card .alt-badge svg { width: 14px; height: 14px; }
.heart-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: var(--ink); transition: transform 0.25s var(--ease), background 0.2s; }
.heart-btn:hover { transform: scale(1.08); }
.heart-btn svg { width: 19px; height: 19px; transition: transform 0.3s var(--ease); }
.heart-btn[aria-pressed="true"] { color: var(--prayer-red); }
.heart-btn[aria-pressed="true"] svg { fill: currentColor; animation: heartPop 0.45s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.35); } }
.trek-card .body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.trek-card .region { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.trek-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.trek-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.trek-card .excerpt { color: #4a5561; font-size: 0.93rem; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trek-card .facts { display: flex; gap: 16px; font-size: 0.84rem; color: var(--stone); margin-bottom: 18px; flex-wrap: wrap; }
.trek-card .facts span { display: inline-flex; align-items: center; gap: 6px; }
.trek-card .facts svg { width: 15px; height: 15px; }
.trek-card .foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price small { display: block; font-size: 0.72rem; color: var(--stone); font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.price strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; }
.price .per { font-size: 0.8rem; color: var(--stone); }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 600; }
.rating svg { width: 15px; height: 15px; fill: var(--marigold); }
.rating span { color: var(--stone); font-weight: 400; }
.compare-check { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--stone); cursor: pointer; user-select: none; }
.compare-check input { width: 16px; height: 16px; accent-color: var(--ink); cursor: pointer; }

/* ---------- region explorer (map) ---------- */
.explorer { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.map-wrap { position: relative; }
.nepal-map { width: 100%; height: auto; overflow: visible; }
.nepal-map .land { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; stroke-linejoin: round; }
.nepal-map .range { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; stroke-dasharray: 2 5; }
.nepal-map .city circle { fill: var(--paper); }
.nepal-map .city text { fill: rgba(255, 255, 255, 0.6); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.map-pin { cursor: pointer; outline: none; }
.map-pin .pulse { fill: var(--marigold); opacity: 0.25; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s ease-out infinite; }
.map-pin .core { fill: var(--marigold); stroke: var(--ink); stroke-width: 2; transition: r 0.3s var(--ease); }
.map-pin text { fill: var(--snow); font-family: var(--sans); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; transition: fill 0.2s; }
.map-pin:hover .core, .map-pin:focus-visible .core, .map-pin.active .core { r: 9; }
.map-pin.active text, .map-pin:hover text { fill: var(--marigold); }
.map-pin.active .pulse { animation-duration: 1.4s; opacity: 0.4; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(2.6); opacity: 0; } }
.region-panel { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.region-panel .rp-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.region-panel .rp-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.region-panel .rp-body { padding: 26px 28px 28px; }
.region-panel h3 { font-size: 2rem; margin-bottom: 8px; }
.region-panel p { color: #aab4bf; font-size: 0.95rem; }
.region-panel ul { list-style: none; display: grid; gap: 2px; margin: 18px 0 22px; }
.region-panel li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-weight: 500; transition: color 0.2s, padding 0.3s var(--ease); }
.region-panel li a:hover { color: var(--marigold); padding-left: 6px; }
.region-panel li a span { font-family: var(--mono); font-size: 0.8rem; color: var(--stone-2); }
.fade-swap { animation: fadeSwap 0.5s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- features ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .float-card { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, 0.95); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.float-card .ring { width: 54px; height: 54px; flex: none; }
.float-card strong { display: block; font-size: 0.98rem; }
.float-card span { font-size: 0.85rem; color: var(--stone); }
.feature-list { list-style: none; display: grid; gap: 4px; margin-top: 34px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--marigold-soft); color: var(--marigold-2); }
.feature-list .ic svg { width: 22px; height: 22px; }
.feature-list h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 4px; }
.feature-list p { margin: 0; color: #4a5561; font-size: 0.94rem; }

/* ---------- difficulty scale ---------- */
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scale-item { background: var(--snow); border-radius: var(--r); padding: 26px 22px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.scale-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scale-item .bars { display: flex; gap: 4px; margin-bottom: 22px; }
.scale-item .bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--paper-3); }
.scale-item .bars i.on { background: var(--c, var(--ok)); }
.scale-item h4 { font-size: 1.45rem; margin-bottom: 6px; }
.scale-item .alt { font-family: var(--mono); font-size: 0.75rem; color: var(--stone); margin-bottom: 12px; display: block; }
.scale-item p { font-size: 0.9rem; color: #4a5561; margin-bottom: 14px; }
.scale-item a { font-size: 0.86rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------- departures table ---------- */
.dep-table { width: 100%; border-collapse: collapse; }
.dep-table th { text-align: left; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); padding: 0 16px 14px; border-bottom: 1px solid var(--line); }
.dep-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dep-table tr { transition: background 0.2s; }
.dep-table tbody tr:hover { background: rgba(255, 255, 255, 0.6); }
.dep-date { display: flex; align-items: center; gap: 14px; }
.cal-chip { width: 52px; flex: none; border-radius: 12px; overflow: hidden; text-align: center; background: var(--snow); border: 1px solid var(--line); line-height: 1; }
.cal-chip b { display: block; background: var(--ink); color: var(--snow); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; padding: 5px 0; font-weight: 500; }
.cal-chip span { display: block; font-family: var(--serif); font-size: 1.35rem; padding: 6px 0 7px; }
.dep-date strong { display: block; font-weight: 600; }
.dep-date small { color: var(--stone); font-size: 0.82rem; }
.seats { min-width: 150px; }
.seats .bar { height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; margin-top: 7px; }
.seats .bar i { display: block; height: 100%; background: var(--ok); border-radius: 3px; }
.seats.low .bar i { background: var(--warn); }
.seats.full .bar i { background: var(--bad); }
.seats small { font-size: 0.82rem; color: var(--stone); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--glacier-soft); color: var(--glacier); white-space: nowrap; }
.status.low { background: var(--marigold-soft); color: var(--marigold-2); }
.status.full { background: #f3dcd7; color: var(--bad); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- reviews ---------- */
.reviews { position: relative; }
.review-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; -webkit-overflow-scrolling: touch; }
.review-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(440px, 86%); scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.review .stars { display: flex; gap: 3px; margin-bottom: 18px; }
.review .stars svg { width: 17px; height: 17px; fill: var(--marigold); }
.review blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; letter-spacing: -0.01em; font-weight: 400; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: var(--ink); flex: none; }
.review footer strong { display: block; font-size: 0.95rem; }
.review footer span { font-size: 0.82rem; color: var(--stone-2); }
.carousel-ctrl { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background 0.2s, color 0.2s, opacity 0.2s; }
.round-btn:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:disabled { opacity: 0.3; pointer-events: none; }
.score-big { display: flex; align-items: center; gap: 18px; }
.score-big .n { font-family: var(--serif); font-size: 4rem; line-height: 1; }
.score-big small { display: block; color: var(--stone-2); font-size: 0.85rem; }

/* ---------- journal ---------- */
.journal-card { display: flex; flex-direction: column; gap: 18px; text-align: left; cursor: pointer; }
.journal-card .media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); }
.journal-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journal-card:hover .media img { transform: scale(1.05); }
.journal-card .meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); display: flex; gap: 14px; }
.journal-card h3 { font-size: 1.55rem; transition: color 0.2s; }
.journal-card:hover h3 { color: var(--marigold-2); }
.journal-card p { color: #4a5561; font-size: 0.94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; color: var(--snow); padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 22, 32, 0.9) 0%, rgba(13, 22, 32, 0.55) 55%, rgba(13, 22, 32, 0.15) 100%); }
.cta-band h2 { max-width: 14ch; margin-bottom: 18px; }
.cta-band p { max-width: 46ch; color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.inline-form { display: flex; gap: 8px; background: var(--snow); border-radius: 999px; padding: 6px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.inline-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-size: 1rem; outline: none; }
.form-note { font-size: 0.82rem; color: var(--stone); margin-top: 12px; min-height: 1.3em; }
.form-note.ok { color: var(--ok); font-weight: 600; }
.form-note.err { color: var(--bad); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab4bf; padding: clamp(64px, 8vw, 100px) 0 28px; position: relative; overflow: hidden; }
.site-footer .giant { font-family: var(--serif); font-size: clamp(4rem, 17vw, 15rem); line-height: 0.8; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.05); white-space: nowrap; margin: 40px 0 24px; line-height: 1.05; user-select: none; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-2); font-weight: 500; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: var(--marigold); }
.footer-brand .logo { color: var(--snow); margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; font-size: 0.93rem; }
.live-box { display: grid; gap: 10px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--r); max-width: 340px; }
.live-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; }
.live-row span:first-child { color: var(--stone-2); }
.live-row strong { color: var(--snow); font-weight: 600; font-variant-numeric: tabular-nums; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 6px; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: live 2s infinite; vertical-align: middle; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.socials a:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--marigold); }
.made-by { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--stone); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs svg { width: 12px; height: 12px; opacity: 0.6; }
.topo-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none; color: var(--paper-3); }
.topo-bg svg { width: 100%; height: 100%; }

/* ---------- treks page: filters ---------- */
.catalog { display: grid; grid-template-columns: 290px 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--snow); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.text-btn { font-size: 0.84rem; font-weight: 600; color: var(--marigold-2); text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--ink); }
.f-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.f-group:last-of-type { border-bottom: 0; }
.f-group > h3, .f-group > legend { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 14px; padding: 0; }
fieldset.f-group { border: 0; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; padding: 20px 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 0.93rem; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; flex: none; }
.check .count { margin-left: auto; font-size: 0.78rem; color: var(--stone); font-family: var(--mono); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; background: var(--snow); transition: all 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.search-input { position: relative; }
.search-input input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px 0 42px; background: var(--paper); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.search-input input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 22, 32, 0.06); }
.search-input svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--stone); }
.range-val { display: flex; justify-content: space-between; font-size: 0.86rem; font-weight: 600; margin-bottom: 12px; }
.dual-range { position: relative; height: 26px; }
.dual-range .rail { position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: var(--paper-3); }
.dual-range .sel { position: absolute; top: 11px; height: 4px; border-radius: 2px; background: var(--ink); }
.dual-range input[type="range"] { position: absolute; left: 0; width: 100%; top: 0; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--snow); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); cursor: grab; }
.dual-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--snow); border: 2px solid var(--ink); cursor: grab; }
.dual-range input[type="range"]::-moz-range-track { background: none; }
.single-range { width: 100%; accent-color: var(--ink); }
.select { appearance: none; -webkit-appearance: none; width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 36px 0 14px; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; font-weight: 500; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-size: 0.95rem; color: var(--stone); }
.toolbar .count strong { color: var(--ink); font-weight: 700; }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.toolbar .select { width: auto; height: 42px; font-size: 0.9rem; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--snow); }
.view-toggle button { width: 42px; height: 40px; display: grid; place-items: center; color: var(--stone); transition: background 0.2s, color 0.2s; }
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--snow); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; min-height: 0; }
.active-filters .chip { background: var(--marigold-soft); border-color: transparent; font-size: 0.8rem; padding: 6px 12px; }
.active-filters .chip:hover { background: var(--marigold); }
.filter-toggle { display: none; }
.results.list .trek-grid { grid-template-columns: 1fr; }
.results.list .trek-card { flex-direction: row; }
.results.list .trek-card .media { width: 38%; flex: none; aspect-ratio: auto; min-height: 240px; }
.results .trek-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.empty-state { text-align: center; padding: 70px 20px; background: var(--snow); border-radius: var(--r-lg); border: 1px dashed var(--line); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--stone-2); }
.empty-state h3 { font-size: 1.6rem; margin-bottom: 8px; }
.fade-in-card { animation: cardIn 0.6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

/* compare tray */
.compare-tray { position: fixed; left: 50%; bottom: 18px; z-index: 80; transform: translate(-50%, 160%); transition: transform 0.5s var(--ease); background: var(--ink); color: var(--snow); border-radius: 20px; padding: 12px 12px 12px 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.compare-tray:not(.show) { visibility: hidden; transition: transform 0.5s var(--ease), visibility 0s 0.5s; }
.compare-tray.show { transform: translate(-50%, 0); }
.compare-tray .thumbs { display: flex; gap: 8px; }
.compare-tray .thumbs span { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; border: 2px solid var(--ink-3); background: var(--ink-3); }
.compare-tray .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.compare-tray p { margin: 0; font-size: 0.88rem; white-space: nowrap; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.93rem; }
.compare-table thead th { vertical-align: bottom; }
.compare-table thead img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.compare-table thead strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; display: block; }
.compare-table tbody th { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); font-weight: 500; width: 140px; }
.compare-table .best { color: var(--ok); font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- dialogs / drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(13, 22, 32, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.overlay.open { opacity: 1; visibility: visible; }
.dialog { position: fixed; z-index: 210; left: 50%; top: 50%; width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); transform: translate(-50%, -46%) scale(0.97); opacity: 0; visibility: hidden; transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0.3s; overscroll-behavior: contain; }
.dialog.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.dialog-wide { width: min(1080px, calc(100% - 32px)); }
.dialog-head { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; background: rgba(245, 242, 235, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 1.5rem; }
.dialog-body { padding: 26px; }
.close-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); flex: none; transition: background 0.2s, transform 0.3s var(--ease); }
.close-btn:hover { background: var(--paper-3); transform: rotate(90deg); }
.close-btn svg { width: 18px; height: 18px; }
.drawer { position: fixed; z-index: 210; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform 0.55s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer .dialog-head { position: static; }
.drawer-body { flex: 1; overflow-y: auto; padding: 26px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 26px; border-top: 1px solid var(--line); background: var(--snow); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.article-body { font-size: 1.05rem; line-height: 1.75; color: #2b3540; }
.article-body h3 { font-size: 1.5rem; margin: 30px 0 12px; }
.article-body ul { padding-left: 20px; margin-bottom: 1em; }
.article-body li { margin-bottom: 6px; }
.article-hero { aspect-ratio: 16 / 7; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 26px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(8, 12, 18, 0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1400px, 92vw); text-align: center; }
.lightbox img { max-height: 80svh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { color: #c8d0d8; margin-top: 16px; font-size: 0.9rem; }
.lightbox figcaption small { display: block; color: #7b8590; font-size: 0.75rem; margin-top: 4px; }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); color: var(--snow); border-color: rgba(255, 255, 255, 0.35); }
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; color: var(--snow); border-color: rgba(255, 255, 255, 0.35); }
.lightbox .lb-count { position: absolute; top: 30px; left: 26px; color: #8a949e; font-family: var(--mono); font-size: 0.8rem; }

/* toast */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--ink); color: var(--snow); padding: 13px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; animation: toastIn 0.45s var(--ease); pointer-events: auto; }
.toast svg { width: 18px; height: 18px; color: var(--marigold); flex: none; }
.toast a { text-decoration: underline; font-weight: 600; color: var(--marigold); }
.toast.out { animation: toastOut 0.35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- trek detail ---------- */
.trek-hero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; color: var(--snow); isolation: isolate; overflow: hidden; background: var(--ink); }
.trek-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 16s var(--ease) forwards; transform: scale(1.1); }
.trek-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 22, 32, 0.55) 0%, rgba(13, 22, 32, 0.12) 28%, rgba(13, 22, 32, 0.5) 58%, rgba(13, 22, 32, 0.96) 100%); }
.trek-hero .wrap { padding-top: calc(var(--header-h) + 50px); padding-bottom: 90px; }
@media (max-width: 720px) { .trek-hero .wrap { padding-bottom: 64px; } }
.trek-hero .crumbs { color: rgba(255, 255, 255, 0.7); }
.trek-hero .crumbs a:hover { color: var(--snow); }
.trek-hero h1 { max-width: 16ch; }
.trek-hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.6rem); color: rgba(255, 255, 255, 0.85); margin: 18px 0 0; max-width: 40ch; }
.trek-hero-top { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.trek-hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.quick-facts { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--snow); border-radius: var(--r-lg); box-shadow: var(--shadow); margin-top: -46px; position: relative; z-index: 5; }
.qf { padding: 22px 20px; border-right: 1px solid var(--line); }
.qf:last-child { border-right: 0; }
.qf small { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.qf small svg { width: 13px; height: 13px; }
.qf strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; letter-spacing: -0.01em; }
.tabs-bar { position: sticky; top: var(--header-h); z-index: 60; background: rgba(245, 242, 235, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 40px; }
.tabs-bar .wrap { display: flex; align-items: center; gap: 20px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 18px 14px; font-size: 0.92rem; font-weight: 500; color: var(--stone); white-space: nowrap; position: relative; transition: color 0.2s; }
.tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); }
.tabs a.active::after { transform: scaleX(1); }
.tabs-price { display: flex; align-items: center; gap: 14px; flex: none; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }
.tabs-price.show { opacity: 1; transform: none; pointer-events: auto; }
.tabs-price .price strong { font-size: 1.2rem; }
.trek-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(30px, 4vw, 64px); align-items: start; }
.trek-layout > aside { align-self: stretch; }
.trek-main > section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.trek-main > section:first-child { padding-top: 44px; }
.trek-main > section:last-child { border-bottom: 0; }
.trek-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.highlights { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.highlights li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--snow); border-radius: 14px; border: 1px solid var(--line); font-size: 0.93rem; }
.highlights li svg { width: 20px; height: 20px; flex: none; color: var(--marigold-2); margin-top: 1px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; margin-top: 30px; }
.gallery button { position: relative; overflow: hidden; border-radius: 14px; background: var(--paper-3); }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 22, 32, 0.5); color: var(--snow); font-weight: 600; font-size: 0.95rem; }

/* elevation chart */
.elev-card { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 26px 26px 18px; position: relative; overflow: hidden; }
.elev-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.elev-head .val { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.elev-head .val small { font-family: var(--mono); font-size: 0.8rem; color: var(--stone-2); margin-left: 4px; }
.elev-head .day { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold); margin-bottom: 6px; }
.elev-head .where { font-size: 1.02rem; font-weight: 600; margin-top: 6px; }
.unit-toggle { display: flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; }
.unit-toggle button { padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--stone-2); }
.unit-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.elev-svg { width: 100%; height: auto; touch-action: pan-y; cursor: crosshair; }
.elev-svg .grid-line { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.elev-svg .axis-label { fill: #7b8693; font-family: var(--mono); font-size: 10px; }
.elev-svg .zone { fill: rgba(194, 65, 45, 0.1); }
.elev-svg .zone-label { fill: #d77a6a; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.elev-svg .area { fill: url(#elevGrad); }
.elev-svg .line { fill: none; stroke: var(--marigold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.elev-svg .pt { fill: var(--ink); stroke: var(--marigold); stroke-width: 2; transition: r 0.2s; }
.elev-svg .pt.on { r: 7; fill: var(--marigold); }
.elev-svg .cursor { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; stroke-dasharray: 3 4; }
.elev-svg .peak-label { fill: var(--snow); font-family: var(--sans); font-size: 11px; font-weight: 600; }
.elev-legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; color: var(--stone-2); margin-top: 10px; }
.elev-legend span { display: inline-flex; align-items: center; gap: 7px; }
.elev-legend i { width: 14px; height: 3px; border-radius: 2px; background: var(--marigold); display: inline-block; }
.elev-legend i.z { height: 10px; background: rgba(194, 65, 45, 0.35); }
.elev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.elev-stats div { background: var(--snow); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.elev-stats small { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 4px; }
.elev-stats strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

/* itinerary */
.iti-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.iti { list-style: none; position: relative; }
.iti::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 11px); }
.iti-item { position: relative; padding-left: 66px; }
.iti-dot { position: absolute; left: 0; top: 12px; width: 48px; height: 48px; border-radius: 50%; background: var(--snow); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; transition: background 0.3s, color 0.3s, border-color 0.3s; z-index: 1; }
.iti-item.open .iti-dot, .iti-item.hl .iti-dot { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.iti-item.summit .iti-dot { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.iti-btn { width: 100%; text-align: left; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); }
.iti-btn h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; }
.iti-btn .sub { display: flex; gap: 14px; font-size: 0.82rem; color: var(--stone); margin-top: 4px; flex-wrap: wrap; }
.iti-btn .sub span { display: inline-flex; align-items: center; gap: 5px; }
.iti-btn .sub svg { width: 13px; height: 13px; }
.iti-btn .chev { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.35s var(--ease), background 0.2s; }
.iti-btn .chev svg { width: 14px; height: 14px; }
.iti-item.open .iti-btn .chev { transform: rotate(180deg); background: var(--ink); color: var(--snow); border-color: var(--ink); }
.iti-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.iti-item.open .iti-panel { grid-template-rows: 1fr; }
.iti-panel > div { overflow: hidden; }
.iti-panel .inner { padding: 16px 0 22px; color: #3b4652; font-size: 0.96rem; }
.iti-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.iti-meta span { font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: var(--snow); border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; }
.iti-meta svg { width: 13px; height: 13px; color: var(--marigold-2); }
.gain { font-family: var(--mono); font-size: 0.78rem; }
.gain.up { color: var(--bad); }
.gain.down { color: var(--glacier); }

/* includes */
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inc-box { background: var(--snow); border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); }
.inc-box h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.inc-box h3 i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.inc-box.yes h3 i { background: #dcefe3; color: var(--ok); }
.inc-box.no h3 i { background: #f3dcd7; color: var(--bad); }
.inc-box h3 i svg { width: 14px; height: 14px; }
.inc-box ul { list-style: none; display: grid; gap: 10px; }
.inc-box li { position: relative; padding-left: 22px; font-size: 0.93rem; color: #3b4652; }
.inc-box li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; }
.inc-box.yes li::before { background: var(--ok); }
.inc-box.no li::before { background: var(--bad); opacity: 0.7; }

/* faq accordion */
.faq { list-style: none; border-top: 1px solid var(--line); }
.faq li { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 600; font-size: 1.04rem; }
.faq .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq li.open .pm::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq li.open .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { padding: 0 40px 22px 0; margin: 0; color: #4a5561; }

/* booking sidebar */
.book-card { position: sticky; top: calc(var(--header-h) + 80px); background: var(--snow); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px; margin-top: 44px; border: 1px solid var(--line); }
.book-card .price strong { font-size: 2.2rem; }
.book-card .was { text-decoration: line-through; color: var(--stone); font-size: 0.95rem; margin-left: 8px; }
.book-card .save { display: inline-block; margin-top: 6px; font-size: 0.78rem; font-weight: 700; color: var(--ok); background: #dcefe3; padding: 3px 9px; border-radius: 999px; }
.book-card .next-dep { margin: 20px 0; padding: 16px; border-radius: 14px; background: var(--paper); display: flex; gap: 14px; align-items: center; }
.book-card .perks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; font-size: 0.88rem; color: #4a5561; }
.book-card .perks li { display: flex; gap: 10px; align-items: center; }
.book-card .perks svg { width: 17px; height: 17px; color: var(--ok); flex: none; }
.book-card .btn + .btn { margin-top: 10px; }
.guide-mini { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.guide-mini strong { display: block; }
.guide-mini span { color: var(--stone); font-size: 0.82rem; }
.mobile-book { display: none; }

/* booking steps */
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-3); position: relative; overflow: hidden; }
.steps span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.steps span.done::after { transform: scaleX(1); }
.step-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.step-title { font-size: 1.7rem; margin-bottom: 20px; }
.step { display: none; animation: fadeSwap 0.45s var(--ease); }
.step.active { display: block; }
.date-options { display: grid; gap: 10px; }
.date-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--snow); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.date-opt:hover { border-color: var(--stone-2); }
.date-opt input { position: absolute; opacity: 0; pointer-events: none; }
.date-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 22, 32, 0.08); }
.date-opt:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.date-opt:has(input:focus-visible) { outline: 2px solid var(--marigold); outline-offset: 2px; }
.date-opt .grow { flex: 1; min-width: 0; }
.date-opt .grow strong { display: block; font-size: 0.95rem; }
.date-opt .grow small { color: var(--stone); font-size: 0.8rem; }
.date-opt .p { font-weight: 700; font-size: 0.95rem; text-align: right; }
.date-opt .p small { display: block; font-weight: 500; font-size: 0.74rem; color: var(--stone); }
.counter-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.counter-row strong { display: block; }
.counter-row small { color: var(--stone); font-size: 0.82rem; }
.counter { display: flex; align-items: center; gap: 14px; }
.counter button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.2rem; transition: border-color 0.2s, background 0.2s; background: var(--snow); }
.counter button:hover { border-color: var(--ink); }
.counter button:disabled { opacity: 0.35; pointer-events: none; }
.counter output { min-width: 22px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.addon { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--snow); cursor: pointer; margin-bottom: 10px; transition: border-color 0.2s; }
.addon:has(input:checked) { border-color: var(--ink); }
.addon input { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex: none; }
.addon .grow { flex: 1; }
.addon strong { display: block; font-size: 0.95rem; }
.addon small { color: var(--stone); font-size: 0.82rem; }
.addon .p { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.summary { background: var(--snow); border-radius: 16px; border: 1px solid var(--line); padding: 18px 20px; margin-top: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.92rem; color: #3b4652; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.summary-row.dep { font-size: 0.85rem; color: var(--stone); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.84rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea { width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: var(--snow); padding: 12px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-size: 0.97rem; }
.field select { appearance: none; -webkit-appearance: none; background: var(--snow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 22, 32, 0.06); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field .err { font-size: 0.78rem; color: var(--bad); font-weight: 600; display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: #4a5561; margin-top: 6px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.success { text-align: center; padding: 10px 0; }
.success .tick { width: 84px; height: 84px; margin: 0 auto 20px; }
.success .tick circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 0.8s var(--ease) forwards; }
.success .tick path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ref-code { display: inline-block; font-family: var(--mono); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; padding: 10px 18px; border-radius: 12px; background: var(--marigold-soft); margin: 14px 0 20px; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.demo-note { font-size: 0.8rem; color: var(--stone); background: var(--paper-2); border-radius: 12px; padding: 12px 14px; margin-top: 18px; text-align: left; }

/* related */
.related { padding-top: 0; }

/* ---------- planner ---------- */
.planner { max-width: 880px; margin: 0 auto; }
.planner-card { background: var(--snow); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(26px, 5vw, 56px); position: relative; overflow: hidden; }
.planner-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.planner-progress .track { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.planner-progress .track i { display: block; height: 100%; width: 0; background: var(--marigold); transition: width 0.6s var(--ease); }
.planner-progress span { font-family: var(--mono); font-size: 0.75rem; color: var(--stone); white-space: nowrap; }
.q-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.q-sub { color: var(--stone); margin-bottom: 30px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { text-align: left; padding: 20px 22px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--paper); display: flex; gap: 16px; align-items: center; transition: border-color 0.2s, transform 0.3s var(--ease), background 0.2s; }
.option:hover { border-color: var(--ink); transform: translateY(-2px); }
.option[aria-pressed="true"] { border-color: var(--ink); background: var(--snow); box-shadow: 0 0 0 3px rgba(13, 22, 32, 0.08); }
.option .emo { width: 48px; height: 48px; border-radius: 14px; background: var(--snow); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.option .emo svg { width: 24px; height: 24px; color: var(--marigold-2); }
.option strong { display: block; font-size: 1rem; }
.option small { color: var(--stone); font-size: 0.85rem; }
.planner-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.match-list { display: grid; gap: 16px; margin-top: 24px; }
.match { display: grid; grid-template-columns: 200px 1fr auto; gap: 22px; align-items: center; background: var(--paper); border-radius: 20px; padding: 14px; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; animation: cardIn 0.6s var(--ease) both; }
.match:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.match img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.match h3 { font-size: 1.45rem; margin-bottom: 6px; }
.match p { margin: 0; font-size: 0.9rem; color: #4a5561; }
.match .why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.match .why span { font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; background: var(--glacier-soft); color: var(--glacier); font-weight: 600; }
.match-score { text-align: center; padding-right: 10px; }
.match-score svg { width: 74px; height: 74px; }
.match-score small { display: block; font-size: 0.72rem; color: var(--stone); margin-top: 4px; }
.match.top { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.match.top p { color: #b9c2cb; }
.match.top .why span { background: rgba(255, 255, 255, 0.1); color: var(--marigold); }
.match.top .match-score small { color: var(--stone-2); }

/* ---------- about ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.story-grid .imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-grid .imgs img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.story-grid .imgs img:nth-child(2) { margin-top: 60px; }
.big-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 24px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 26px; transition: transform 0.35s var(--ease), border-color 0.3s; }
.member:hover { transform: translateY(-5px); border-color: rgba(224, 145, 47, 0.5); }
.member .avatar { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 18px; }
.member h3 { font-size: 1.35rem; margin-bottom: 4px; }
.member .role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marigold); }
.member p { margin: 14px 0 0; font-size: 0.9rem; color: #aab4bf; }
.member .summits { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.member .summits span { font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-dark); color: #c9d1d9; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: tl; }
.timeline li { padding: 30px 26px 0 0; border-top: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 5px var(--paper); }
.timeline .yr { font-family: var(--mono); font-size: 0.75rem; color: var(--marigold-2); letter-spacing: 0.1em; }
.timeline h3 { font-size: 1.35rem; margin: 8px 0; }
.timeline p { font-size: 0.92rem; color: #4a5561; }
.pledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pledge { background: var(--snow); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); }
.pledge .n { font-family: var(--serif); font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.pledge .n sup { font-size: 0.4em; color: var(--marigold-2); }
.pledge h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.pledge p { font-size: 0.92rem; color: #4a5561; margin: 0; }
.safety-steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.safety-steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-dark); }
.safety-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.9rem; color: var(--marigold); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.safety-steps h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 650; letter-spacing: 0; margin-bottom: 4px; }
.safety-steps p { margin: 0; font-size: 0.92rem; color: #aab4bf; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-card { background: var(--snow); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-info { display: grid; gap: 16px; }
.info-tile { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: var(--snow); border: 1px solid var(--line); align-items: flex-start; transition: border-color 0.2s, transform 0.3s var(--ease); }
a.info-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.info-tile .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--marigold-soft); color: var(--marigold-2); display: grid; place-items: center; flex: none; }
.info-tile .ic svg { width: 21px; height: 21px; }
.info-tile strong { display: block; margin-bottom: 2px; }
.info-tile span { color: var(--stone); font-size: 0.9rem; }
.open-now { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-top: 8px; }
.open-now.yes { background: #dcefe3; color: var(--ok); }
.open-now.no { background: var(--paper-2); color: var(--stone); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--paper-3); position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
.map-frame a { position: absolute; left: 12px; top: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr.today td { color: var(--marigold-2); font-weight: 700; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- credits / misc ---------- */
.credit-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.credit-list li { background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 0.86rem; }
.credit-list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.credit-list div { padding: 14px 16px; }
.credit-list strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.credit-list a { text-decoration: underline; text-underline-offset: 2px; color: var(--glacier); }
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--snow); position: relative; isolation: isolate; padding: 40px var(--gutter); }
.not-found > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.not-found::before { content: ""; position: absolute; inset: 0; background: rgba(13, 22, 32, 0.7); z-index: -1; }
.not-found .code { font-family: var(--serif); font-size: clamp(6rem, 22vw, 15rem); line-height: 0.85; letter-spacing: -0.05em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.img-reveal { clip-path: inset(12% 12% 12% 12% round 24px); transition: clip-path 1.2s var(--ease); }
.img-reveal.in { clip-path: inset(0 0 0 0 round 24px); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; letter-spacing: -0.02em; }
.marquee-track span::after { content: "✦"; color: var(--marigold); font-size: 0.7em; }
.marquee-track em { font-style: italic; color: var(--stone); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* prayer flags divider */
.flags { display: flex; justify-content: center; gap: 0; height: 26px; overflow: hidden; }
.flags svg { width: 100%; max-width: 900px; height: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .quick-facts { grid-template-columns: repeat(3, 1fr); }
  .qf:nth-child(3) { border-right: 0; }
  .qf:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .trek-layout { grid-template-columns: 1fr; }
  .book-card { display: none; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--snow); border-top: 1px solid var(--line); padding: 12px var(--gutter); padding-bottom: max(12px, env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -8px 30px rgba(13, 22, 32, 0.08); transform: translateY(110%); transition: transform 0.45s var(--ease); }
  .mobile-book.show { transform: none; }
  .tabs-price { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .main-nav, .header-tools .btn, .header-tools .currency-select { display: none; }
  .menu-btn { display: grid; }
  .header-tools { margin-left: auto; }
  .trek-grid, .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explorer, .feature-split, .newsletter, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-media { aspect-ratio: 4 / 3; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .search-card { grid-template-columns: 1fr 1fr 1fr; }
  .search-card .btn { grid-column: 1 / -1; margin-top: 6px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 210; width: min(360px, 90%); border-radius: 0; max-height: none; transform: translateX(-105%); transition: transform 0.5s var(--ease); visibility: hidden; padding-bottom: 100px; }
  .filters.open { transform: none; visibility: visible; }
  .filter-toggle { display: inline-flex; }
  .filters .apply-mobile { display: flex; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .pledge-grid { grid-template-columns: 1fr; }
  .altimeter { display: none; }
}
@media (min-width: 981px) { .apply-mobile, .filters .close-btn { display: none !important; } }
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .trek-grid, .g-2, .g-3, .g-4, .results .trek-grid { grid-template-columns: 1fr; }
  .results.list .trek-card { flex-direction: column; }
  .results.list .trek-card .media { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .search-card { grid-template-columns: 1fr; padding: 6px; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .search-field:nth-child(3) { border-bottom: 0; }
  .search-field::after { right: 16px; bottom: 20px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(var(--header-h) + 90px); }
  .hero-meta { display: none; }
  .scale { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .qf { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; }
  .qf:nth-child(2n) { border-right: 0; }
  .qf:nth-child(3) { border-right: 1px solid var(--line); }
  .qf:nth-last-child(-n+2) { border-bottom: 0; }
  .highlights, .inc-grid, .options, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px 120px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .elev-stats { grid-template-columns: 1fr 1fr; }
  .elev-card { padding: 20px 16px 14px; }
  .dep-table thead { display: none; }
  .dep-table, .dep-table tbody, .dep-table tr, .dep-table td { display: block; width: 100%; }
  .dep-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
  .dep-table td { padding: 0; border: 0; }
  .dep-table td.c-seats { grid-column: 1 / -1; }
  .dep-table td.c-price { text-align: left; }
  .dep-table td.c-act { grid-column: 1 / -1; }
  .dep-table td.c-act .btn { width: 100%; }
  .dep-table td.c-trek { grid-column: 1 / -1; }
  .match { grid-template-columns: 1fr; }
  .match-score { display: flex; align-items: center; gap: 12px; text-align: left; }
  .match-score svg { width: 56px; height: 56px; }
  .team-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .story-grid .imgs img:nth-child(2) { margin-top: 30px; }
  .compare-tray p { display: none; }
  .dialog { border-radius: 22px; }
  .dialog-head, .dialog-body, .drawer-body { padding-left: 18px; padding-right: 18px; }
  .drawer-foot { padding: 14px 18px; }
  .lightbox .lb-btn { top: auto; bottom: 22px; transform: none; }
  .tabs a { padding: 16px 10px; }
  .inline-form { flex-direction: column; border-radius: 20px; }
  .inline-form input { height: 48px; }
  .stat { padding: 24px 16px; }
  .cta-band { border-radius: 22px; }
  .cta-band::before { background: linear-gradient(180deg, rgba(13, 22, 32, 0.6), rgba(13, 22, 32, 0.9)); }
  .site-footer .giant { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .img-reveal { clip-path: none; }
  .hero h1 .line > span, .hero-sub, .hero-actions, .hero-meta, .search-card { transform: none; opacity: 1; }
}
@media print {
  .site-header, .concept-bar, .site-footer, .mobile-book, .book-card, .tabs-bar, .altimeter, .overlay, .drawer, .dialog, .toast-wrap, .skip-link { display: none !important; }
  body { background: #fff; }
  body.print-booking > *:not(#book-drawer) { display: none !important; }
  body.print-booking #book-drawer { display: block !important; position: static; transform: none; visibility: visible; width: 100%; box-shadow: none; }
  body.print-booking #book-drawer .close-btn, body.print-booking #book-drawer .success-actions { display: none !important; }
}
[tabindex="-1"]:focus { outline: none; }
.toast-warn svg { color: #f08a7a; }
