/* ============ Sītā — luxury Himalayan editorial system ============ */
:root {
  /* Palette: Snow & Ink + Saffron
   * --ink-3 darkened 2026-05-11 to meet WCAG AA 4.5:1 contrast (was
   * oklch(0.52 …) which produced #737c74 = 3.92:1 on the eyebrows). */
  --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.42 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.52 0.16 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; }
}

/* --ink-3 across all palettes darkened 2026-05-11 to clear WCAG AA 4.5:1
 * (was failing eyebrow contrast at ~3.92:1 across the editorial system). */
[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.42 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.40 0.025 150);
  --rule: oklch(0.84 0.014 130);
  --rule-2: oklch(0.89 0.010 130);
  /* --saffron brightened 2026-05-11 so it clears 4.5:1 on the dark
   * day-card backgrounds in kashmir.jsx and itinerary.jsx (was 4.05:1). */
  --saffron: oklch(0.72 0.13 50);
  --saffron-deep: oklch(0.50 0.13 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.72 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 (700�1024) � 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: 11px; opacity: 1; color: var(--ink-2); 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;
  /* WCAG AA contrast — color-mix 55% produced #737c74 = 3.92:1 on paper.
   * Raised to 75% which produces ~#4a544a = ~6.5:1. */
  color: color-mix(in oklch, var(--ink) 75%, 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);
}

/* ============ APPLE-GUI MOBILE-FIRST REDESIGN ============ */

/* Section breathing room — generous vertical padding */
.section {
  padding: clamp(60px, 14vw, 96px) 0;
}
@media (min-width: 1024px) {
  .section {
    padding: clamp(80px, 12vw, 160px) 0;
  }
}

/* Section head with eyebrow + h2 */
.section-head {
  margin-bottom: clamp(56px, 10vw, 96px);
}
.section-head .num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 96px);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

/* Stack-mobile: switch from multi-column to single-column on phones */
@media (max-width: 900px) {
  .stack-mobile {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  /* HowWeWork mobile: vertical scrollable cards with snap */
  .how-we-work-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    display: grid;
  }
  .how-we-work-grid > div {
    scroll-snap-align: start;
  }
  /* Trip cards full-width on mobile */
  .trips-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Pills become full-width on mobile */
@media (max-width: 600px) {
  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
}

/* TrustBar: 2 rows on mobile, 4 cols on desktop */
@media (max-width: 900px) {
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 32px !important;
  }
  .trust-bar-grid > div {
    padding: 24px 16px !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--rule) !important;
  }
  .trust-bar-grid > div:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
  .trust-bar-grid > div:nth-child(1), .trust-bar-grid > div:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
  .trust-bar-grid > div:nth-child(3), .trust-bar-grid > div:nth-child(4) {
    border-bottom: 0;
  }
}

/* CTA section mobile adjustments */
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

/* Buttons in dark section get proper contrast */
.btn.ghost {
  border: 1px solid var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* =====================================================================
 *  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.
   * --ink-3 darkened 2026-05-11 to meet WCAG AA 4.5:1 (was oklch(0.50 …)
   * which produced ~3.92:1 on the eyebrows). */
  --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.40 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; }
}


/* =====================================================================
 *  CLARITY LAYER · v2026.05  (appended; final overrides)
 *  Goal: less density, more scan. Smaller body type on atlas pages,
 *  tighter section padding, sticky in-page nav.
 *  ----------------------------------------------------------------- */

/* --- PageNav sticky pill bar --- */
.page-nav {
  position: sticky;
  top: 64px;            /* sit just under the main nav */
  z-index: 40;
  background: var(--glass-strong);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--hair);
  margin-top: 0;
}
.page-nav-track {
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px clamp(20px, 4vw, 56px);
  overflow-x: auto;
  scrollbar-width: none;
}
.page-nav-track::-webkit-scrollbar { display: none; }
.page-nav-pill {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
  color: color-mix(in oklch, var(--ink) 65%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: color .25s var(--ease-soft), background .25s var(--ease-soft), border-color .25s var(--ease-soft);
  white-space: nowrap;
}
.page-nav-pill:hover {
  color: var(--ink);
  background: color-mix(in oklch, var(--ink) 4%, transparent);
}
.page-nav-pill.is-active {
  color: var(--ink);
  background: color-mix(in oklch, var(--ink) 8%, transparent);
  border-color: var(--hair);
}
.page-nav-cta {
  margin-left: auto;
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  font-weight: 500;
}
.page-nav-cta:hover {
  background: var(--saffron-deep);
  border-color: var(--saffron-deep);
  color: #fff;
}
@media (max-width: 600px) {
  .page-nav { top: 56px; }
  .page-nav-cta { margin-left: 8px; }
}

/* --- DENSITY PASS · only inside atlas/region pages ----------------- */

/* Tighten section padding everywhere by ~25% so content breathes
 * without endless scroll. */
:root {
  --pad-section-y: clamp(56px, 6.5vw, 112px);
}

/* Body intro paragraphs were sized clamp(22px, 2.4vw, 32px) — too large
 * for scanning. Cap at 22px and tighten leading. */
.section .container > .stack-mobile p[style*="clamp(22px, 2.4vw, 32px)"] {
  font-size: clamp(17px, 1.6vw, 21px) !important;
  line-height: 1.5 !important;
}

/* Pull-quote block — was 22px serif italic with 32px top padding.
 * Slim, lighter, less competing with intro. */
.section .container > .stack-mobile div[style*="paddingTop: 32"][style*="borderTop"] {
  margin-top: 28px !important;
  padding-top: 20px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Practical sidebar — denser facts table, shorter rows */
.section .container .stack-mobile > div[style*="background: var(--paper)"][style*="padding: 28px"] {
  padding: 22px !important;
}
.section .container .stack-mobile > div[style*="background: var(--paper)"] [style*="padding: 10px 0"] {
  padding: 8px 0 !important;
}

/* "Best months / When to go / Permits" 3-col block — collapse padding,
 * smaller body. */
.section[style*="background: var(--bg-2)"] > .container > div[style*="repeat(3, 1fr)"] {
  gap: 32px !important;
}
.section[style*="background: var(--bg-2)"] > .container > div[style*="repeat(3, 1fr)"] > div p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

/* Place card grid — looser gap, but each card title smaller */
article[style*="border: 1px solid var(--rule)"][style*="background: var(--paper)"] h3 {
  font-size: 22px !important;
}
article[style*="border: 1px solid var(--rule)"][style*="background: var(--paper)"] p {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* Section h2 in atlas pages — clamp(36px, 5vw, 72px) is too loud at
 * scale; bring down. The hero h1 stays huge — only mid-page heads compress. */
.section .container h2[style*="clamp(36px, 5vw, 72px)"] {
  font-size: clamp(28px, 3.6vw, 48px) !important;
  letter-spacing: -0.025em !important;
}
.section .container h2[style*="clamp(32px, 4vw, 56px)"] {
  font-size: clamp(26px, 3.2vw, 42px) !important;
}

/* Journeys list rows — slightly tighter */
.ladakh-trip-row { padding: 22px 0 !important; }
.ladakh-trip-row > div > div[style*="fontSize: 22"] { font-size: 18px !important; }

/* Pricing-anchor sidebar — less imposing */
.section .container .stack-mobile > div[style*="background: var(--paper)"][style*="padding: 40"] {
  padding: 26px !important;
}
.section .container .stack-mobile > div[style*="background: var(--paper)"][style*="padding: 40"] > div[style*="fontSize: 28"] {
  font-size: 22px !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
}

/* Hero h1 — huge clamp(56px, 11vw, 168px) is right for impact, but
 * subtitle was clamp(22px, 2.6vw, 32px) — slightly tighter for scan. */
.section[style*="height: min(82vh"] + section .display,
section[style*="height: min(82vh"] .display {
  letter-spacing: -0.04em;
}
section[style*="height: min(82vh"] div[style*="fontSize: clamp(22px, 2.6vw, 32px)"] {
  font-size: clamp(18px, 2vw, 24px) !important;
  margin-top: 10px !important;
}

/* Map caption / mono labels — smaller */
.lhg-map-wrap + div, .eyebrow + div .eyebrow {
  font-size: 10px;
}

/* Eyebrow uniform sizing — many places set marginBottom 12 or 18; pin */
.section .eyebrow { font-size: 11px !important; }

/* Reduce bottom-padding inside hero so the page-nav joins cleanly */
section[style*="height: min(82vh"] > .container[style*="paddingBottom: 60"] {
  padding-bottom: 44px !important;
}

/* Tablet / mobile · further tighten so dense sections don't sprawl */
@media (max-width: 900px) {
  :root { --pad-section-y: clamp(40px, 9vw, 72px); }
  .section .container > .stack-mobile p[style*="clamp(22px, 2.4vw, 32px)"] {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .section[style*="background: var(--bg-2)"] > .container > div[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .section .container .stack-mobile {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Place grid: 1-col on mobile (already from earlier mobile rules) */
}


/* =====================================================================
 *  STICKY MOBILE WHATSAPP · v2026.05
 *  Make the WhatsApp pill always visible on mobile (was hidden in nav-right
 *  collapse). Lives at the top-right of mobile nav even when burger is closed.
 *  ----------------------------------------------------------------- */
@media (max-width: 1100px) {
  /* Reveal just the WA pill from the otherwise-hidden nav-right */
  .nav-right.mobile-open .nav-wa,
  .nav-wa {
    display: inline-flex !important;
  }
  /* Pin the WA pill into the nav row even when nav-right is collapsed */
  .nav-inner .nav-wa:not(.mobile-open .nav-wa) {
    position: absolute;
    right: 64px;     /* leaves space for the burger */
    top: 50%;
    transform: translateY(-50%);
    background: color-mix(in oklch, #25D366 12%, transparent);
    border: 1px solid color-mix(in oklch, #25D366 22%, transparent);
    border-radius: var(--r-pill);
    padding: 6px 12px;
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .nav-inner .nav-wa:not(.mobile-open .nav-wa) {
    right: 56px;
    padding: 5px 10px;
    font-size: 10.5px;
  }
  /* On very narrow phones, drop the +91 prefix to save space */
  .nav-wa span:nth-of-type(2) { display: none; }
}

/* =====================================================================
 *  404 PAGE polish
 *  ----------------------------------------------------------------- */
section[style*="min-height: 70vh"] a[onclick] {
  transition: padding-left .25s var(--ease-soft), color .2s var(--ease-soft);
}
section[style*="min-height: 70vh"] a[onclick]:hover {
  padding-left: 16px;
  color: var(--saffron-deep);
}


/* =====================================================================
 *  MOBILE LANDING POLISH · v2026.05
 *  The destinations section had a "sticky right card" that on mobile
 *  appeared as a tall photo BELOW the long region list — the awkward
 *  half-image-half-text effect. On phones the list rows are already
 *  clickable and self-explanatory, so we hide the active card panel
 *  entirely and let the list breathe.
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Hide the sticky right card on the destinations section.
   * It is the second child of the .stack-mobile grid inside the section
   * whose first child is the list. */
  .section .container > .stack-mobile > div[style*="position: sticky"] {
    display: none !important;
  }

  /* Tighten destination rows on mobile — bigger tap target, simpler layout */
  .dest-row {
    grid-template-columns: 36px 1fr auto !important;
    gap: 16px !important;
    padding: 22px 0 !important;
    padding-left: 0 !important;
  }
  .dest-row > svg { display: none !important; }
  .dest-row .dest-name { font-size: 28px !important; }
  .dest-row > div:nth-child(3) {
    font-size: 10px !important;
    line-height: 1.4 !important;
    text-align: right !important;
  }
}

@media (max-width: 600px) {
  .dest-row .dest-name { font-size: 24px !important; }
  .dest-row > div:nth-child(3) { display: none !important; }
}

/* =====================================================================
 *  HERO VARIANTS · keep them tidy on mobile
 *  The "split" / "postcard" / "letter" hero variants on the home page
 *  also have grids that fall apart at narrow widths. Force single-column
 *  with sensible heights so nothing stacks half-half.
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-letter-grid,
  .hero-postcard-grid {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    gap: 0 !important;
  }
  /* On mobile, a hero IMAGE half should never sit beside text — it
   * either dominates (cinematic full-bleed) or is omitted on this turn. */
  .hero-letter-grid > div:has(.ph),
  .hero-postcard-grid > div:has(.ph) {
    display: none !important;
  }
}

/* =====================================================================
 *  BLOG POST · readable measure on mobile
 *  ----------------------------------------------------------------- */
.blog-post-body p {
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .blog-post-body { font-size: 16px !important; }
  .blog-post-sidebar { position: static !important; margin-top: 32px !important; }
}


/* =====================================================================
 *  TOUCH / HOVER · v2026.05
 *  Hide hover-only affordances on coarse pointers (mobile / tablet).
 *  ----------------------------------------------------------------- */
@media (hover: none) {
  .hide-on-touch { display: none !important; }
  /* Disable all hover-lift effects so phones don't half-trigger them */
  .lift:hover, .dest-row:hover, .ladakh-trip-row:hover {
    transform: none !important;
    box-shadow: none !important;
    background: var(--paper) !important;
  }
  /* Marquee already animates; pause-on-hover is desktop-only */
  .nav a.nav-link::after { display: none !important; }
}


/* =====================================================================
 *  DESTINATIONS · responsive layout · v2026.05
 *  Desktop: 2-col grid, sticky preview card on the right.
 *  Mobile:  preview card slides ABOVE the list so it's visible after a tap;
 *           row tap only previews, the Explore button is the nav affordance.
 *  ----------------------------------------------------------------- */
.dest-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.dest-card-sticky {
  position: sticky;
  top: 96px;
}

/* Tap-pulse hint on the active row so the user feels the preview happened */
.dest-row.is-active {
  background: color-mix(in oklch, var(--saffron) 6%, transparent);
}
@media (hover: none) {
  /* Subtle inline indicator on touch — saffron left edge on the active row */
  .dest-row.is-active {
    border-left: 3px solid var(--saffron-deep);
    padding-left: 13px !important;
  }
}

@media (max-width: 900px) {
  /* Stack the grid; flip order so the preview is ABOVE the list */
  .dest-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .dest-card-wrap { order: -1; }
  .dest-card-sticky {
    position: static;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--r-md);
    padding: 16px;
    box-shadow: var(--shadow-1);
  }
  /* Tighten the meta strip inside the preview card on mobile */
  .dest-card-sticky > div[style*="repeat"] {
    grid-template-columns: 1fr 1fr 1fr !important;
    margin-top: 12px !important;
  }
  .dest-card-sticky p {
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin-top: 16px !important;
  }
}

/* OVERRIDE the earlier blanket "hide sticky on mobile" rule that came from
 * an older CSS layer — we want the preview card visible on mobile now,
 * just laid out differently. */
@media (max-width: 900px) {
  .section .container > .stack-mobile > div[style*="position: sticky"],
  .section .container > .dest-grid > .dest-card-wrap {
    display: block !important;
  }
}


/* =====================================================================
 *  HERO APPLE · v2026.05
 *  Mobile-first, cinematic, full-bleed. One image, one headline, one CTA.
 *  Bottom-anchored copy in the Apple product-page tradition.
 *  ----------------------------------------------------------------- */
.hero-apple {
  position: relative;
  height: 100svh;
  min-height: 640px;
  max-height: 1080px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-apple > .ph {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-apple > .ph::before { display: none; }   /* no topo overlay on the hero */

/* Dark gradient veil for legibility */
.hero-apple-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(20,15,10,0.45) 0%,
      rgba(20,15,10,0.10) 30%,
      rgba(20,15,10,0.20) 60%,
      rgba(20,15,10,0.78) 100%
    );
  pointer-events: none;
}

/* Inner content — bottom-anchored, generous padding */
.hero-apple-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(56px, 9vw, 96px);
  color: #fff;
  max-width: 1280px;
}

.hero-apple-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.hero-apple-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; }

.hero-apple-h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 11vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 clamp(24px, 3vw, 36px);
  text-wrap: balance;
  max-width: 14ch;
}
.hero-apple-h1 em {
  position: relative;
  font-style: italic;
  white-space: nowrap;
  color: var(--saffron);
}
.hero-apple-h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: 0.07em;
  background: var(--saffron);
  opacity: 0.8;
  transform: scaleX(0.96);
  transform-origin: left;
}

.hero-apple-sub {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero-apple-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-apple-ctas .btn { box-shadow: 0 14px 36px -12px rgba(0,0,0,.5); }
.hero-apple-ctas .btn.ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-apple-ctas .btn.ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.55);
}

/* Coordinates ticker top-right, very small */
.hero-apple-meta {
  position: absolute;
  top: 24px;
  right: clamp(16px, 4vw, 56px);
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

/* Mobile-specific tightening */
@media (max-width: 600px) {
  .hero-apple {
    height: 92svh;
    min-height: 560px;
  }
  .hero-apple-h1 {
    font-size: clamp(40px, 13vw, 64px);
    line-height: 0.95;
    max-width: 16ch;
  }
  .hero-apple-sub { font-size: 16px; line-height: 1.55; max-width: 38ch; }
  .hero-apple-ctas { flex-direction: column; align-items: stretch; }
  .hero-apple-ctas .btn { width: 100%; justify-content: center; }
  .hero-apple-meta { top: 14px; right: 14px; font-size: 9px; }
  /* Remove the snug bottom margin since the page-nav (none on home) doesn't sit under it */
  .hero-apple-inner { padding-bottom: 56px; }
}

/* =====================================================================
 *  SECTION RHYTHM · Apple-product-page generosity
 *  ----------------------------------------------------------------- */
.section { padding-block: clamp(72px, 11vw, 144px); }
@media (max-width: 600px) {
  .section { padding-block: clamp(56px, 14vw, 80px); }
}

.section-head h2 {
  letter-spacing: -0.025em;
  font-size: clamp(30px, 4.5vw, 64px);
}

/* =====================================================================
 *  TRUST BAR · slightly more visual weight + 2x2 mobile
 *  ----------------------------------------------------------------- */
@media (max-width: 600px) {
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  .trust-bar-grid > div {
    padding: 16px 18px !important;
    border-left: 0 !important;
    border-bottom: 1px solid var(--hair);
  }
  .trust-bar-grid > div:nth-child(2) { border-left: 1px solid var(--hair) !important; }
  .trust-bar-grid > div:nth-child(4) { border-left: 1px solid var(--hair) !important; }
  .trust-bar-grid > div:nth-child(3),
  .trust-bar-grid > div:nth-child(4) { border-bottom: 0; }
}

/* =====================================================================
 *  HOW WE WORK · vertical stack on mobile, horizontal cards on desktop
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .how-we-work-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .how-we-work-grid > div {
    padding: 22px 20px !important;
  }
}

/* =====================================================================
 *  BIG CTA · stack on mobile
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .cta-grid h2 { font-size: clamp(36px, 9vw, 56px) !important; }
  .cta-grid .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
 *  JOURNAL TEASER · horizontal scroll on mobile
 *  ----------------------------------------------------------------- */
@media (max-width: 600px) {
  /* Find the 3-col journal grid by attribute and convert to scroll-snap */
  .section .container > .stack-mobile[style*="grid-template-columns: 1fr 1fr 1fr"] {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: 16px;
    margin-inline: -16px;
    scrollbar-width: none;
  }
  .section .container > .stack-mobile[style*="grid-template-columns: 1fr 1fr 1fr"]::-webkit-scrollbar { display: none; }
  .section .container > .stack-mobile[style*="grid-template-columns: 1fr 1fr 1fr"] > article {
    flex: 0 0 80vw;
    max-width: 320px;
    scroll-snap-align: start;
  }
}

/* =====================================================================
 *  FULL-WIDTH CTA PILLS ON MOBILE everywhere
 *  ----------------------------------------------------------------- */
@media (max-width: 600px) {
  .section .btn:not(.page-nav-pill):not(.hero-apple-ctas .btn) {
    /* leave existing inline styles intact, nudge wide buttons */
  }
}

/* =====================================================================
 *  REDUCE NAV CHROME ON HERO · Apple-style transparent over hero
 *  ----------------------------------------------------------------- */
.hero-apple ~ .marquee { border-top: 0; }


/* =====================================================================
 *  DESTINATIONS · inline accordion on mobile · v2026.05
 *  Mobile (<= 900px): inline preview opens under the tapped row. The
 *  side-column preview (.dest-card-wrap) is hidden so there's no
 *  duplication and no off-screen state change.
 *  Desktop (> 900px): inline preview hidden, side-column preview shown.
 *  ----------------------------------------------------------------- */
.dest-row-inline { display: none; }

@media (max-width: 900px) {
  .dest-row-inline {
    display: block;
    padding: 18px 16px 22px;
    background: color-mix(in oklch, var(--paper) 96%, var(--saffron) 4%);
    border-bottom: 1px solid var(--rule);
    border-left: 3px solid var(--saffron-deep);
    animation: dest-slide-down .35s var(--ease-apple);
  }
  /* Hide the side-column preview entirely on mobile — the inline accordion
   * replaces it. */
  .dest-card-wrap { display: none !important; }

  /* Stack the grid (becomes a single column with just the list) */
  .dest-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

@keyframes dest-slide-down {
  from { opacity: 0; transform: translateY(-6px); max-height: 0; }
  to   { opacity: 1; transform: translateY(0);   max-height: 1200px; }
}

/* On desktop the inline accordion stays hidden — the right-column sticky
 * preview already shows the active region's photo on hover. */
@media (min-width: 901px) {
  .dest-row-inline { display: none !important; }
}

/* Keyboard focus rings - WCAG-recommended visible indicator on every interactive element */
.btn:focus-visible, .nav-link:focus-visible, .icon-btn:focus-visible,
button:focus-visible, [role="button"]:focus-visible, a:focus-visible {
  outline: 2px solid var(--saffron-deep);
  outline-offset: 3px;
}

/* Lightbox close button - clearer focus state for screen reader users */
.lb-close:focus-visible, .detail-close:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

/* =====================================================================
 *  HERO FORK · homepage two-doorway hero (Adventures / Atelier)
 *  Below 900px the two panels stack so each path gets full attention.
 *  ----------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-fork { grid-template-columns: 1fr !important; }
  .hero-fork-panel { min-height: min(64vh, 560px) !important; }
  .hero-fork-panel--left { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.10); }
}
.hero-fork-panel:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
}
.hero-fork-panel:hover .arrow { transform: translateX(3px); transition: transform .25s ease; }

/* =====================================================================
 *  SEASONAL PLACEHOLDER PALETTES · Mountain Colour Palettes
 *  When the seasonal HeroFork slot has no uploaded photo, the placeholder
 *  paints the season-appropriate palette so the hero still feels
 *  dimensional and grounded in nature before commissioned imagery lands.
 *  Selectors override .ph and .ph.dark since the HeroFork passes both.
 *  ----------------------------------------------------------------- */

/* Glacier Mist · Winter (Dec–Feb)
 *   #f7fbff (lightest) #dce9f2 #a7c3d6 #5f7f93 #2b3b45 (darkest) */
.ph.ph-scheme-glacier,
.ph.dark.ph-scheme-glacier {
  background:
    radial-gradient(circle at 28% 22%, #f7fbff 0%, transparent 55%),
    radial-gradient(circle at 78% 78%, #a7c3d6 0%, transparent 55%),
    linear-gradient(160deg, #dce9f2 0%, #5f7f93 65%, #2b3b45 100%);
  border-color: rgba(95, 127, 147, 0.30);
}
.ph.ph-scheme-glacier::before { opacity: 0.20; }
.ph.ph-scheme-glacier .ph-cap {
  color: #f7fbff;
  background: rgba(43, 59, 69, 0.55);
  border-color: rgba(247, 251, 255, 0.18);
}

/* Evergreen Granite · Spring + Summer (Mar–Aug)
 *   #f2f4f3 (lightest) #a5b4ab #3f6b57 #4a4f52 #1e2326 (darkest) */
.ph.ph-scheme-granite,
.ph.dark.ph-scheme-granite {
  background:
    radial-gradient(circle at 30% 24%, #f2f4f3 0%, transparent 50%),
    radial-gradient(circle at 72% 78%, #3f6b57 0%, transparent 55%),
    linear-gradient(160deg, #a5b4ab 0%, #4a4f52 65%, #1e2326 100%);
  border-color: rgba(74, 79, 82, 0.30);
}
.ph.ph-scheme-granite::before { opacity: 0.22; }
.ph.ph-scheme-granite .ph-cap {
  color: #f2f4f3;
  background: rgba(30, 35, 38, 0.55);
  border-color: rgba(242, 244, 243, 0.18);
}

/* Sunlit Ledge · Autumn (Sep–Nov)
 *   #fff3db (lightest) #ffd08a #caa24d #6d7f6b #2c3a2f (darkest) */
.ph.ph-scheme-sunlit,
.ph.dark.ph-scheme-sunlit {
  background:
    radial-gradient(circle at 30% 22%, #fff3db 0%, transparent 55%),
    radial-gradient(circle at 75% 78%, #ffd08a 0%, transparent 50%),
    linear-gradient(160deg, #caa24d 0%, #6d7f6b 65%, #2c3a2f 100%);
  border-color: rgba(109, 127, 107, 0.30);
}
.ph.ph-scheme-sunlit::before { opacity: 0.20; }
.ph.ph-scheme-sunlit .ph-cap {
  color: #fff3db;
  background: rgba(44, 58, 47, 0.55);
  border-color: rgba(255, 243, 219, 0.18);
}

/* ============================================================
   THG-A11Y-PHASE4 (2026-05-13)
   WCAG 2.1 AA reinforcement - all additive, low-risk
   ============================================================ */

/* A1 - Skip link styling (in case the React app stops including it) */
.skip-link, .skip-to-main {
  position: absolute;
  top: -40px;
  left: 8px;
  background: #2b2620;
  color: #fbf6ec;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 9999;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus, .skip-to-main:focus { top: 8px; outline: 2px solid #b85a00; outline-offset: 2px; }

/* A2 - Stronger visible focus ring on dark/light contexts */
:focus-visible { outline: 2px solid #b85a00; outline-offset: 3px; border-radius: 4px; }
.path--b :focus-visible, [data-theme="dark"] :focus-visible { outline-color: #ffffff; }
a:focus-visible, button:focus-visible { outline: 2px solid #b85a00; outline-offset: 3px; }

/* Screen-reader-only utility class (W3C canonical pattern) */
.sr-only, .visually-hidden, .thg-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;
}
.sr-only-focusable:focus, .sr-only-focusable:active {
  position: static !important;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* A7 - Tap target sizing on small screens (WCAG 2.5.5 - 44x44px minimum) */
@media (max-width: 768px), (pointer: coarse) {
  nav a, nav button,
  .trust__row > *, .trust-strip > *,
  .meta-chip, [class*="chip"],
  footer a, footer button,
  [role="button"]:not(.no-tap-size),
  .icon-button, .icon-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    padding-top: max(6px, var(--tap-pad-y, 6px));
    padding-bottom: max(6px, var(--tap-pad-y, 6px));
  }
}

/* A8 - Honour prefers-reduced-motion globally as a safety net */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* A11 - aria-current visible indicator */
[aria-current="page"], [aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Increase clickable area for nav items without changing visual size (invisible padding) */
@media (pointer: coarse) {
  header nav a::after, .site-nav a::after, header .links a::after {
    content: "";
    position: absolute;
    inset: -8px;
  }
  header nav a, .site-nav a, header .links a { position: relative; }
}
