/* ============ Sītā — luxury Himalayan editorial system ============ */
:root {
  /* Palette: Snow & Ink + Saffron */
  --bg: oklch(0.975 0.006 80);
  --bg-2: oklch(0.955 0.008 75);
  --paper: oklch(0.99 0.004 85);
  --ink: oklch(0.18 0.012 60);
  --ink-2: oklch(0.32 0.012 60);
  --ink-3: oklch(0.52 0.012 60);
  --rule: oklch(0.85 0.012 60);
  --rule-2: oklch(0.90 0.010 60);
  --saffron: oklch(0.72 0.14 60);
  --saffron-deep: oklch(0.58 0.15 50);
  --glacier: oklch(0.55 0.05 220);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Mobile FAB sizing — the WhatsApp button + Photo Manager pill float over
 * the bottom corners of the viewport. On phones, shrink them and reduce
 * inset so they obstruct less body text. Also pad the bottom of every page
 * so the last paragraph isn't permanently clipped behind them. */
.whatsapp-fab svg { width: 30px; height: 30px; }
@media (max-width: 900px) {
  body { padding-bottom: env(safe-area-inset-bottom, 0); }
  main { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .whatsapp-fab {
    width: 48px !important;
    height: 48px !important;
    right: 14px !important;
    bottom: 14px !important;
    box-shadow: 0 8px 24px -4px rgba(37,211,102,.45) !important;
  }
  .whatsapp-fab svg { width: 24px; height: 24px; }
}

/* Tighter mobile cards */
@media (max-width: 900px) {
  .hero-letter-grid { grid-template-columns: 1fr !important; gap: 0 !important; min-height: 0 !important; }
  .hero-letter-grid > div:last-child { min-height: 60vh; border-left: 0 !important; border-top: 1px solid var(--rule); }
  .hero-postcard-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .builder-grid {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .builder-grid > div:first-child {
    display: flex !important;
    overflow-x: auto;
    border-right: 0 !important;
    border-bottom: 1px solid var(--rule);
    padding: 8px !important;
  }
  .builder-grid > div:first-child > div {
    white-space: nowrap;
    padding: 10px 14px !important;
    border-left: 0 !important;
    border-bottom: 2px solid transparent;
  }
  .builder-grid > div:nth-child(2) { padding: 24px !important; }
  .builder-grid > div:nth-child(3) { border-left: 0 !important; border-top: 1px solid var(--rule); padding: 18px !important; }
  .ladakh-gallery { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
  .ladakh-gallery > div { aspect-ratio: 4/3; grid-row: auto !important; }
  .it-cells { grid-template-columns: 1fr 1fr !important; }
  .it-cells > div:nth-child(2n) { border-right: 0 !important; }
  .day-row { grid-template-columns: 60px 1fr !important; gap: 16px !important; }
  .day-row > *:nth-child(n+3) { display: none; }
  .day-row .day-title { grid-column: 2; font-size: 18px !important; }
  .day-expanded { grid-template-columns: 1fr !important; padding: 0 0 28px !important; }
  .day-expanded > div:first-child, .day-expanded > div:last-child { display: none; }
  .ladakh-trip-row { grid-template-columns: 1fr !important; padding: 18px 0 !important; }
  .ladakh-trip-row > *:nth-child(3), .ladakh-trip-row > *:nth-child(6) { display: none; }
  .dest-row { grid-template-columns: 30px 1fr !important; padding: 18px 0 !important; }
  .dest-row > *:nth-child(n+3) { display: none; }
  .dest-row .dest-name { font-size: 24px !important; }
  .nav-stat-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
}

[data-palette="monastery"] {
  --bg: oklch(0.96 0.014 75);
  --bg-2: oklch(0.93 0.018 70);
  --paper: oklch(0.98 0.010 80);
  --ink: oklch(0.20 0.04 30);
  --ink-2: oklch(0.36 0.04 30);
  --ink-3: oklch(0.55 0.03 30);
  --rule: oklch(0.82 0.020 50);
  --rule-2: oklch(0.88 0.015 50);
  --saffron: oklch(0.55 0.16 35);
  --saffron-deep: oklch(0.42 0.16 30);
  --glacier: oklch(0.60 0.08 80);
}
[data-palette="forest"] {
  --bg: oklch(0.965 0.008 130);
  --bg-2: oklch(0.94 0.012 130);
  --paper: oklch(0.985 0.005 130);
  --ink: oklch(0.20 0.03 150);
  --ink-2: oklch(0.34 0.03 150);
  --ink-3: oklch(0.52 0.025 150);
  --rule: oklch(0.84 0.014 130);
  --rule-2: oklch(0.89 0.010 130);
  --saffron: oklch(0.58 0.10 50);
  --saffron-deep: oklch(0.42 0.09 45);
  --glacier: oklch(0.45 0.06 160);
}
[data-palette="ink"] {
  --bg: oklch(0.16 0.012 60);
  --bg-2: oklch(0.20 0.014 60);
  --paper: oklch(0.22 0.012 60);
  --ink: oklch(0.96 0.006 80);
  --ink-2: oklch(0.82 0.008 80);
  --ink-3: oklch(0.60 0.010 80);
  --rule: oklch(0.32 0.014 60);
  --rule-2: oklch(0.28 0.012 60);
  --saffron: oklch(0.78 0.14 65);
  --saffron-deep: oklch(0.65 0.15 55);
  --glacier: oklch(0.70 0.06 220);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[data-type="modern"] {
  --serif: "Manrope", system-ui, sans-serif;
}
[data-type="display"] {
  --serif: "Playfair Display", "Times New Roman", serif;
}

/* Typography */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
  font-style: italic;
  font-variation-settings: "ital" 1;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.caps {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }

/* Utility */
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--saffron-deep); border-color: var(--saffron-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  cursor: pointer;
  transition: all .2s;
}
.link:hover { color: var(--saffron-deep); border-color: var(--saffron-deep); }

/* Placeholder image */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg-2) 0 14px,
      var(--paper) 14px 28px
    );
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--ink-3);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18));
  pointer-events: none;
}
.ph .ph-cap {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.ph.dark {
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.28 0.014 60) 0 14px,
      oklch(0.22 0.014 60) 14px 28px
    );
}

/* TOP NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 32px;
  gap: 24px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav a.nav-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  cursor: pointer;
  transition: color .2s;
}
.nav a.nav-link:hover { color: var(--saffron-deep); }
.brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.02em;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}
.brand sup {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  vertical-align: top;
  color: var(--ink-3);
  margin-left: 4px;
}

/* SECTION */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.section-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.marquee-track {
  display: inline-block;
  animation: marquee 60s linear infinite;
}
.marquee span { margin: 0 36px; }
.marquee .dot { transform: translateY(-2px); margin: 0 36px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* FOCUS RING */
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }

/* ============ MOBILE RESPONSIVE ============ */
/* burger */
.nav-burger { background: transparent; border: 0; width: 36px; height: 36px; padding: 6px; cursor: pointer; display: none; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: all .2s; }
.mobile-menu { display: none; flex-direction: column; padding: 16px 20px 24px; border-top: 1px solid var(--rule); background: var(--bg); }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--rule-2); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }

@media (max-width: 1100px) {
  .nav-burger { display: block !important; grid-column: 3; justify-self: end; }
  .mobile-menu { display: flex; }
  .nav-left, .nav-right { display: none !important; }
}
@media (max-width: 900px) {
  .nav-burger { display: block !important; grid-column: 3; justify-self: end; }
  .mobile-menu { display: flex; }
  body { font-size: 14px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }

  /* Section heads stack */
  .section-head {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
    align-items: start !important;
  }
  .section-head h2 { font-size: clamp(34px, 9vw, 48px) !important; }
  .section-head > div:last-child { display: none !important; }

  /* Nav */
  .nav-inner {
    grid-template-columns: 1fr auto 1fr !important;
    height: 60px !important;
    padding: 0 16px !important;
  }
  .nav-left, .nav-right { display: none !important; }
  .nav-left.mobile-open, .nav-right.mobile-open { display: flex !important; }
  .brand { font-size: 19px !important; }
  .brand sup { display: none; }

  /* Hero scaling */
  .hero-cinematic-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  .hero-cinematic-grid > div:nth-child(2),
  .hero-cinematic-grid > div:nth-child(3),
  .hero-cinematic-grid > div:nth-child(4) {
    grid-column: span 2;
  }

  .marquee { padding: 12px 0; font-size: 10px; letter-spacing: .14em; }

  /* Generic 2-col grids → stack */
  .stack-mobile { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Buttons */
  .btn { padding: 12px 16px; font-size: 11px; }

  /* Tweaks panel — keep visible but smaller */
}

@media (max-width: 600px) {
  .section { padding: 44px 0; }
  .container { padding: 0 16px; }
}

/* -----------------------------------------------------------------------
 * DESIGN UPGRADES  v2026.05
 * Layered on top of the base system. Improves: type rhythm, palette depth,
 * placeholder texture, card elevation, nav micro-interaction, marquee fade,
 * wizard progress, and a couple of CTA polish details.
 * ----------------------------------------------------------------------- */

:root {
  /* Three new neutrals for surface variation. Used by upgraded components. */
  --paper-warm: oklch(0.97 0.012 75);
  --mist:       oklch(0.93 0.010 220);
  --walnut:     oklch(0.34 0.04 50);
  /* Soft glow color for hover states */
  --glow:       oklch(0.72 0.14 60 / 0.18);
}

/*  Typography polish  */
.display em {
  /* Saffron-emphasised words pick up a hand-drawn underline that grows on hover */
  position: relative;
  font-style: italic;
  white-space: nowrap;
}
.display em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: 0.06em;
  background: var(--saffron);
  border-radius: 2px;
  transform: scaleX(0.92);
  transform-origin: left;
  opacity: 0.6;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.display:hover em::after { transform: scaleX(1); opacity: 1; }

/* Better small-caps eyebrow with a leading rule */
.eyebrow.with-rule::before {
  content: "";
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--saffron);
  vertical-align: middle;
  margin-right: 12px;
}

/*  Placeholder upgrade: layered topography + tighter caption  */
.ph {
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in oklch, var(--paper) 92%, var(--saffron)) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, color-mix(in oklch, var(--bg-2) 96%, var(--glacier)) 0%, transparent 50%),
    repeating-linear-gradient(
      135deg,
      var(--bg-2) 0 18px,
      var(--paper-warm) 18px 36px
    );
  border: 1px solid var(--rule);
  border-radius: 1px;
}
.ph::before {
  /* Subtle topographic line texture overlaid on the diagonal stripes */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent 24px,
      color-mix(in oklch, var(--ink) 6%, transparent) 24px,
      color-mix(in oklch, var(--ink) 6%, transparent) 25px
    );
  opacity: 0.35;
  pointer-events: none;
}
.ph .ph-cap {
  /* Cleaner caption block: dark badge bottom-left instead of full-width */
  background: rgba(20, 15, 10, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1px;
  padding: 8px 12px;
  margin: 0 12px 12px 12px;
  display: inline-block;
  align-self: flex-end;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-shadow: none;
}
.ph.dark::before { opacity: 0.18; }
.ph.dark .ph-cap { background: rgba(0,0,0,0.5); }

/*  Card hover lift  */
.lift,
.dest-row,
.ladakh-trip-row {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .25s;
}
.lift:hover,
.dest-row:hover,
.ladakh-trip-row:hover {
  transform: translateY(-2px);
  background: color-mix(in oklch, var(--paper-warm) 90%, var(--bg));
  box-shadow: 0 24px 40px -28px rgba(20, 15, 10, 0.18);
}

/*  Nav: animated underline grow on hover  */
.nav a.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--saffron-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.nav a.nav-link:hover::after { transform: scaleX(1); }

/*  Buttons: subtle inner highlight + scale on press  */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--glow); }

/*  Marquee: fade gradients on the edges  */
.marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/*  Wizard progress bar  */
.wizard-progress {
  position: relative;
  height: 2px;
  background: var(--rule-2);
  margin: 16px 0 28px;
  overflow: hidden;
}
.wizard-progress > .fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--saffron-deep);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}

/*  Founders Line on Kashmir: warm paper background  */
.founders-line {
  background:
    linear-gradient(135deg, var(--paper-warm), color-mix(in oklch, var(--bg-2) 70%, var(--saffron) 5%));
  border-left: 3px solid var(--saffron-deep);
}

/*  Number stat (used in trust strip if present)  */
.stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--saffron-deep);
}

/*  Footer rhythm  */
.footer-grid a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.footer-grid a:hover {
  color: var(--saffron-deep);
}

/*  A11y: motion-reduced users  */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
}

/*  Smooth-scroll anchor jumps  */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

/*  Atlas marker hover  Apple-UI polish  */
.atlas-marker:hover circle:last-of-type,
.atlas-marker:focus-visible circle:last-of-type {
  filter: drop-shadow(0 0 6px var(--saffron-deep));
  transform: scale(1.12);
  transform-origin: center;
  transform-box: fill-box;
}
.atlas-marker:hover text {
  fill: var(--saffron-deep);
}

/*  Active plate highlight when scrolled-to from index/map  */
.atlas-plate-active article {
  box-shadow: 0 0 0 2px var(--saffron-deep), 0 24px 60px -36px rgba(20,15,10,0.35);
  transform: translateY(-4px);
  transition: box-shadow .35s, transform .35s;
}

/*  Hero parallax subtlety on scroll (kept gentle)  */
@media (prefers-reduced-motion: no-preference) {
  section[style*="height: 640"] .ph,
  section[style*="height: 720"] .ph {
    will-change: transform;
  }
}

/*  Ultra-narrow phones (= 360 px)  iPhone SE, older Android  */
@media (max-width: 360px) {
  body { font-size: 13.5px; }
  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .section-tight { padding: 28px 0; }
  .section-head h2 { font-size: clamp(28px, 11vw, 38px) !important; }
  .display { letter-spacing: -0.015em; }
  .display em::after { height: 0.05em; }
  /* Plate header (left-stacked) gets full row at this width */
  article > div:first-child { padding: 22px 22px 16px !important; }
  /* Compass rose smaller */
  svg[aria-hidden] { max-width: 60px; height: auto; }
  /* Activity grid icons tighter */
  .lift { padding: 18px !important; }
  /* Wizard step bar smaller */
  .wizard-progress { margin: 12px 0 20px; }
  /* FAB even smaller */
  .whatsapp-fab { width: 44px !important; height: 44px !important; right: 12px !important; bottom: 12px !important; }
  .whatsapp-fab svg { width: 22px; height: 22px; }
}

/*  Tablet specifically (7001024)  scale down 3-col activity grids  */
@media (max-width: 1024px) and (min-width: 700px) {
  /* The 3-col activity grid in Kashmir should be 2-col on tablet */
  .section [style*="repeat(3, 1fr)"] {
    /* CSS can't override an inline style. Targets covered by stack-mobile already. */
  }
}

/*  Plate cards on mobile: stack the left rail above the content  */
@media (max-width: 720px) {
  /* Plate is 1fr 2fr by default  collapse to single column */
  article[class*="lift"] {
    grid-template-columns: 1fr !important;
  }
  article[class*="lift"] > div:first-child {
    border-right: 0 !important;
    border-bottom: 1px solid var(--rule-2);
  }
}


/* =====================================================================
 *  APPLE-UI LAYER · v2026.05  (appended; later rules override)
 *  Goal: rich, minimal, interactive — Apple product-page sensibility
 *  Tokens
 *  ----------------------------------------------------------------- */
:root {
  /* Premium ease curves */
  --ease-apple:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);

  /* Hairlines — Apple uses 0.5–1px at low opacity */
  --hair:         color-mix(in oklch, var(--ink) 12%, transparent);
  --hair-strong:  color-mix(in oklch, var(--ink) 22%, transparent);
  --glass:        color-mix(in oklch, var(--bg) 72%, transparent);
  --glass-strong: color-mix(in oklch, var(--bg) 84%, transparent);

  /* Tokenised radii */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;  --r-pill: 999px;

  /* Shadows — soft, layered, distance-graded */
  --shadow-1: 0 1px 2px rgba(20,15,10,.04), 0 2px 6px rgba(20,15,10,.04);
  --shadow-2: 0 6px 12px -4px rgba(20,15,10,.10), 0 18px 40px -12px rgba(20,15,10,.16);
  --shadow-3: 0 24px 56px -20px rgba(20,15,10,.28), 0 4px 14px rgba(20,15,10,.06);

  /* Typography scale (fluid, Apple-style display sizes) */
  --t-display-xl: clamp(56px, 9vw, 156px);
  --t-display-l:  clamp(44px, 6.5vw, 112px);
  --t-display-m:  clamp(34px, 4.5vw, 72px);
  --t-display-s:  clamp(26px, 3.2vw, 44px);
  --t-body-l:     clamp(17px, 1.4vw, 22px);
  --t-body:       clamp(15px, 1.1vw, 17px);
  --t-mono:       12px;

  /* Section rhythm — generous like apple.com */
  --pad-section-y: clamp(72px, 9vw, 160px);
}

/* Smooth fonts everywhere; better hyphenation */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  font-variant-ligatures: common-ligatures contextual;
}

/* Selection: saffron tint */
::selection { background: color-mix(in oklch, var(--saffron) 35%, transparent); color: var(--ink); }

/* Native scrollbar polish (webkit) */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--ink) 22%, transparent);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: color-mix(in oklch, var(--ink) 36%, transparent); background-clip: padding-box; }

/* Focus ring — accessible and beautiful */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset .15s var(--ease-soft);
}

/* ----- NAV: frosted glass with thin hairline ----- */
.nav {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--hair);
  box-shadow: 0 0.5px 0 0 var(--hair);
  transition: background .3s var(--ease-soft);
}
.nav.scrolled { background: var(--glass-strong); }
.nav-inner { height: 64px; }
.nav a.nav-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 500;
  color: color-mix(in oklch, var(--ink) 80%, transparent);
  transition: color .25s var(--ease-soft);
}
.nav a.nav-link:hover { color: var(--ink); }
/* Replace the underline animation with Apple-style opacity drift */
.nav a.nav-link::after { display: none; }
.brand { font-size: 18px; letter-spacing: 0.005em; }
.brand sup { font-size: 8px; opacity: .55; letter-spacing: 0.18em; }

/* ----- DISPLAY TYPE: tighter tracking, fluid scale ----- */
.display {
  letter-spacing: -0.03em;
  line-height: 0.94;
  text-wrap: balance;
}
h1.display { font-size: var(--t-display-xl); }
h2.display { font-size: var(--t-display-l); }
h3.display { font-size: var(--t-display-m); }

/* Eyebrow — Apple-style monospace caps with leading tick */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--ink) 55%, transparent);
  font-weight: 500;
}

/* ----- PILL BUTTONS — premium tactile feel ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform .35s var(--ease-apple),
    background .25s var(--ease-soft),
    box-shadow .35s var(--ease-apple),
    color .2s var(--ease-soft);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  /* subtle highlight band */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 55%);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
  background: color-mix(in oklch, var(--ink) 88%, var(--saffron-deep));
}
.btn:active { transform: translateY(0) scale(.985); transition-duration: .1s; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hair-strong);
  box-shadow: none;
}
.btn.ghost:hover {
  background: color-mix(in oklch, var(--ink) 4%, transparent);
  border-color: var(--ink);
  box-shadow: var(--shadow-1);
}
.btn.saffron, .btn[style*="saffron"] { background: var(--saffron-deep); border-color: transparent; }
.btn .arrow { transition: transform .35s var(--ease-apple); }
.btn:hover .arrow { transform: translateX(5px); }

/* Inline link — Apple's underline-on-hover style */
.link {
  text-transform: none;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  color: var(--saffron-deep);
  transition: border-color .2s var(--ease-soft), color .2s var(--ease-soft);
}
.link:hover { border-bottom-color: var(--saffron-deep); color: var(--ink); }

/* ----- SECTIONS: generous Apple rhythm ----- */
.section { padding: var(--pad-section-y) 0; }
.section-tight { padding: calc(var(--pad-section-y) * 0.55) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 72px); }
.section-head h2 { letter-spacing: -0.025em; }
.container { max-width: 1280px; padding-inline: clamp(20px, 4vw, 56px); }

/* Restrained hairlines replace heavy borders */
.hr, .nav, [class*="border"] { border-color: var(--hair); }

/* ----- CARDS: lift + soft shadow on hover ----- */
.lift, .dest-row, .ladakh-trip-row {
  border-radius: var(--r-md);
  transition:
    transform .55s var(--ease-apple),
    box-shadow .55s var(--ease-apple),
    background .35s var(--ease-soft);
  background: var(--paper);
  border: 1px solid var(--hair);
}
.lift:hover, .dest-row:hover, .ladakh-trip-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  background: var(--paper);
}

/* ----- PLACEHOLDER: cleaner gradient (less crosshatch) ----- */
.ph {
  background:
    radial-gradient(circle at 30% 20%, color-mix(in oklch, var(--paper) 88%, var(--saffron) 6%) 0, transparent 55%),
    radial-gradient(circle at 75% 75%, color-mix(in oklch, var(--bg-2) 92%, var(--glacier) 6%) 0, transparent 60%),
    linear-gradient(135deg, var(--bg-2) 0%, var(--paper) 100%);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  isolation: isolate;
}
.ph::before {
  /* very subtle topo lines */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0 38px,
      color-mix(in oklch, var(--ink) 4%, transparent) 38px 39px);
  opacity: .45;
  pointer-events: none;
  border-radius: inherit;
}
.ph .ph-cap {
  background: rgba(20,15,10,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.10em;
  margin: 16px;
  border: 0.5px solid rgba(255,255,255,.12);
}
.ph.dark { background: linear-gradient(135deg, oklch(0.22 0.014 60), oklch(0.16 0.012 60)); }

/* ----- MARQUEE: thinner, more ambient ----- */
.marquee {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 14px 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: color-mix(in oklch, var(--ink) 55%, transparent);
  background: color-mix(in oklch, var(--bg) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* =====================================================================
 *  SCROLL REVEAL — paired with apple-ui.js IntersectionObserver
 *  ----------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s var(--ease-apple),
    transform .9s var(--ease-apple);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="zoom"].is-visible { transform: scale(1); }
/* Stagger via index */
[data-reveal][style*="--i:1"] { transition-delay: .08s; }
[data-reveal][style*="--i:2"] { transition-delay: .16s; }
[data-reveal][style*="--i:3"] { transition-delay: .24s; }
[data-reveal][style*="--i:4"] { transition-delay: .32s; }
[data-reveal][style*="--i:5"] { transition-delay: .40s; }

/* Auto-reveal common content blocks even without explicit data-reveal:
 * sections fade up when entering viewport via .auto-reveal class added by JS. */
.auto-reveal-pre {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease-apple), transform .85s var(--ease-apple);
}
.auto-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* =====================================================================
 *  PARALLAX
 *  ----------------------------------------------------------------- */
[data-parallax] { will-change: transform; transition: transform .12s linear; }

/* =====================================================================
 *  HERO REFINEMENTS — Apple display-page feel
 *  ----------------------------------------------------------------- */
section[style*="height: calc(100vh"] .display,
section[style*="height: 720"] .display { letter-spacing: -0.035em; }

/* Tighter "stat" cells under cinematic hero */
.hero-cinematic-grid .eyebrow { color: rgba(255,255,255,.62); }

/* Skip link */
a[href="#main"]:focus { left: 16px !important; top: 16px !important; border-radius: var(--r-pill); padding: 10px 18px !important; box-shadow: var(--shadow-2); }

/* WhatsApp FAB — softer Apple-style elevation */
.whatsapp-fab {
  border-radius: var(--r-pill) !important;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.45), 0 4px 12px rgba(20,15,10,.10) !important;
  transition: transform .35s var(--ease-apple), box-shadow .35s var(--ease-apple) !important;
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px -10px rgba(37,211,102,.55), 0 6px 16px rgba(20,15,10,.12) !important;
}

/* =====================================================================
 *  FORM FIELDS (wizard, contact) — Apple input feel
 *  ----------------------------------------------------------------- */
input, textarea, select {
  font: inherit;
  color: inherit;
  transition: border-color .25s var(--ease-soft), background .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--saffron) 22%, transparent);
  outline: none;
}

/* Wizard progress — pill-shaped fill */
.wizard-progress { height: 3px; border-radius: var(--r-pill); overflow: hidden; background: var(--hair); }
.wizard-progress > .fill { background: linear-gradient(90deg, var(--saffron), var(--saffron-deep)); border-radius: inherit; }

/* =====================================================================
 *  FOOTER REFINEMENT
 *  ----------------------------------------------------------------- */
.footer-grid a {
  color: color-mix(in oklch, var(--ink) 70%, transparent);
  transition: color .2s var(--ease-soft);
}
.footer-grid a:hover { color: var(--saffron-deep); border-color: transparent; }

/* =====================================================================
 *  REDUCED MOTION
 *  ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .auto-reveal-pre {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-parallax] { transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* =====================================================================
 *  MOBILE — Apple uses tighter rhythm & bigger taps on phones
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --pad-section-y: clamp(56px, 12vw, 96px); }
  .nav-inner { height: 56px; }
  .brand { font-size: 16px; }
  .btn { padding: 13px 22px; font-size: 13px; }
}
@media (max-width: 600px) {
  :root { --pad-section-y: 56px; }
}


/* =====================================================================
 *  HIMALAYA THEME LAYER · v2026.05  (appended; later wins)
 *  Goal: feel the altitude. Snow + ink + saffron. Subtle ridge motifs.
 *  ----------------------------------------------------------------- */
:root {
  /* Make snow-and-ink the default — everywhere reads cooler, higher. */
  --bg:    oklch(0.985 0.004 80);
  --bg-2:  oklch(0.965 0.006 80);
  --paper: oklch(0.995 0.003 85);
  --ink:   oklch(0.16 0.011 60);
  --ink-2: oklch(0.30 0.011 60);
  --ink-3: oklch(0.50 0.011 60);
  --rule:    oklch(0.88 0.010 60);
  --rule-2:  oklch(0.93 0.008 60);
  --saffron:      oklch(0.74 0.14 62);
  --saffron-deep: oklch(0.58 0.16 50);
  --glacier:      oklch(0.62 0.05 220);

  --hair:        color-mix(in oklch, var(--ink) 10%, transparent);
  --hair-strong: color-mix(in oklch, var(--ink) 18%, transparent);
}

/* Subtle snow-grain texture across the page background */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 8% 12%,  rgba(98,165,200,0.045) 0, transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(220,160,80,0.035) 0, transparent 32%);
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 1; }

/* Ridge line divider — used between major sections */
.ridge {
  display: block;
  width: 100%;
  height: 56px;
  margin: 0;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  /* SVG: a quiet ridge silhouette */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'><path d='M0,56 L0,40 L80,30 L160,42 L240,18 L320,28 L400,12 L480,24 L560,8 L640,22 L720,14 L800,30 L880,18 L960,32 L1040,16 L1120,28 L1200,10 L1280,22 L1360,16 L1440,30 L1440,56 Z' fill='%2316110b' fill-opacity='0.08'/></svg>");
}
.ridge.dark { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'><path d='M0,56 L0,30 L80,38 L160,16 L240,28 L320,10 L400,22 L480,6  L560,18 L640,4  L720,16 L800,2  L880,14 L960,4  L1040,18 L1120,8 L1200,20 L1280,6 L1360,16 L1440,4 L1440,56 Z' fill='%2316110b' fill-opacity='0.18'/></svg>"); }

/* Section heads pick up a tiny altimeter mark */
.section-head .num::before {
  content: "▲ ";
  color: var(--saffron-deep);
  font-size: 0.85em;
  margin-right: 6px;
  letter-spacing: 0;
  vertical-align: 1px;
}

/* Marquee gets a snow-paper tint */
.marquee {
  background: color-mix(in oklch, var(--bg) 70%, transparent);
}

/* Cards: a touch more crystalline */
.lift, .dest-row, .ladakh-trip-row {
  background: color-mix(in oklch, var(--paper) 96%, var(--mist, oklch(0.93 0.010 220)));
}

/* Saffron heading-em underlines: thicker, more confident */
.display em::after {
  height: 0.07em !important;
  bottom: -0.02em !important;
  background: var(--saffron-deep);
  opacity: 0.85;
}

/* =====================================================================
 *  LEAFLET MAP STYLING — quiet, editorial, Apple-ish
 *  ----------------------------------------------------------------- */
.lhg-map-wrap { position: relative; }
.lhg-map-wrap .leaflet-container {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-2);
  letter-spacing: 0.04em;
}
.lhg-map-wrap .leaflet-control-attribution {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  margin: 6px;
  border: 1px solid var(--hair);
}
.lhg-map-wrap .leaflet-control-attribution a { color: var(--saffron-deep); text-decoration: none; }
.lhg-map-wrap .leaflet-control-zoom {
  border: 1px solid var(--hair) !important;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  margin: 12px !important;
}
.lhg-map-wrap .leaflet-control-zoom a {
  background: var(--paper);
  color: var(--ink);
  width: 32px; height: 32px;
  line-height: 32px;
  font-size: 16px;
  border-bottom: 1px solid var(--hair);
}
.lhg-map-wrap .leaflet-control-zoom a:hover { background: var(--bg-2); color: var(--saffron-deep); }

/* Saffron pin */
.lhg-pin {
  position: relative;
  width: 22px; height: 22px;
}
.lhg-pin-dot {
  position: absolute; left: 7px; top: 7px;
  width: 8px; height: 8px;
  background: var(--saffron-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(20,15,10,.35);
  z-index: 2;
}
.lhg-pin-ring {
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--saffron-deep) 55%, transparent);
  animation: lhg-pulse 1.8s ease-out infinite;
}
@keyframes lhg-pulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Popup card */
.lhg-map-wrap .leaflet-popup-content-wrapper {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: 0;
}
.lhg-map-wrap .leaflet-popup-tip {
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow: none;
}
.lhg-map-wrap .leaflet-popup-content {
  margin: 0;
  font-family: var(--sans);
}
.lhg-popup { padding: 14px 18px; min-width: 180px; }
.lhg-popup-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.lhg-popup-note {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.5;
  font-family: var(--sans);
  margin-top: 4px;
}
.lhg-map-wrap .leaflet-popup-close-button {
  color: var(--ink-3);
  padding: 6px;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .lhg-pin-ring { animation: none; }
}
