/* Tours by Sigiri: palette from the Lion Rock, its frescoes and the jungle around it */
:root {
  --jungle-night: #0E1712;
  --jungle: #132019;
  --moss: #2F4A35;
  --fresco-red: #A8432A;
  --ochre: #D49A3A;
  --gold: #C8A55B;
  --gold-soft: rgba(200, 165, 91, .35);
  --lotus: #E9C9B4;
  --ivory: #F6F0E4;
  --ivory-dim: rgba(246, 240, 228, .66);
  --line: rgba(200, 165, 91, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --radius: 18px;
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
html.menu-open, html.menu-open body { overflow: hidden; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--jungle-night); color: var(--ivory);
  font: 400 16px/1.7 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .sources a, .plain a, .credits-table a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--jungle-night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--jungle-night); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.hero-title { font: 400 clamp(48px, 9vw, 140px)/.95 var(--serif); letter-spacing: -.02em; margin: 0; }
.hero-title em, .h2 em, .statement em { font-style: italic; color: var(--lotus); }
.h2 { font: 400 clamp(38px, 5.5vw, 80px)/1 var(--serif); letter-spacing: -.015em; margin: 0 0 24px; }
.h3 { font: 500 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); margin: 0 0 16px; }
.hero-lede { font-size: clamp(16px, 1.3vw, 19px); max-width: 560px; color: var(--ivory-dim); margin: 28px 0 0; }
.muted { color: var(--ivory-dim); }
.fine { font-size: 13px; color: var(--ivory-dim); }
.statement { font: 400 clamp(28px, 3.8vw, 56px)/1.18 var(--serif); max-width: 1100px; margin: 0; }
.statement .word { opacity: .18; transition: opacity .2s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; will-change: transform;
}
.btn-gold { background: var(--gold); color: var(--jungle-night); }
.btn-gold:hover { background: var(--ivory); }
.btn-ghost { border: 1px solid var(--gold-soft); color: var(--ivory); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(200, 165, 91, .12); }

/* ---------- cursor & grain ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor span { display: block; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--ivory); border-radius: 50%; transition: transform .35s var(--ease), background .35s; }
.cursor.hover span { transform: scale(1.9); background: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px var(--gutter); transition: background .5s, transform .5s var(--ease);
}
.nav.scrolled { background: rgba(14, 23, 18, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: flex-end; gap: 10px; color: var(--gold); }
.brand-pre { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); padding-bottom: 9px; }
.brand-logo { height: 40px; width: auto; transition: transform .6s var(--ease), filter .6s; }
.brand:hover .brand-logo { transform: translateY(-2px); filter: drop-shadow(0 6px 14px rgba(200,165,91,.35)); }
.brand-lg .brand-logo { height: 64px; }
.brand-lg .brand-pre { padding-bottom: 14px; }
.mark { width: 34px; height: 34px; }
.brand-text { font: 500 22px/1 var(--serif); color: var(--ivory); letter-spacing: .02em; }
.brand-text em { color: var(--gold); }
.nav nav { display: flex; gap: 34px; }
.nav nav a { position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav nav a:hover { color: var(--ivory); }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .nav nav, .nav > .nav-cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 140px var(--gutter) 12vh; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 120%; object-fit: cover; transform-origin: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,18,.35) 0%, rgba(14,23,18,.1) 40%, rgba(14,23,18,.92) 100%), linear-gradient(90deg, rgba(14,23,18,.6), transparent 60%); }
.hero-inner { position: relative; max-width: 1100px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 6vh; width: 1px; height: 80px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- intro ---------- */
.intro { padding: 22vh var(--gutter) 14vh; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 12vh; border-top: 1px solid var(--line); padding-top: 40px; }
.stats strong { display: block; font: 400 clamp(48px, 6vw, 88px)/1 var(--serif); color: var(--gold); }
.stats span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-dim); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- map ---------- */
.map-section { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; grid-template-rows: auto 1fr; column-gap: clamp(24px, 5vw, 80px); padding: 12vh var(--gutter); min-height: 100vh; position: relative; }
.map-copy { grid-column: 1; grid-row: 1; }
.results { grid-column: 1; grid-row: 2; align-self: start; }
.map-wrap { grid-column: 2; grid-row: 1 / span 2; }
.map-copy { align-self: start; }
.search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; margin: 28px 0 18px; transition: border-color .3s, background .3s; }
.search:focus-within { border-color: var(--gold); background: rgba(200,165,91,.06); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; flex: none; }
.search input { flex: 1; background: none; border: 0; color: var(--ivory); font: inherit; padding: 14px 0; outline: none; min-width: 0; }
.search input::placeholder { color: rgba(246,240,228,.4); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 12px/1 var(--sans); letter-spacing: .06em; color: var(--ivory-dim); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: all .35s var(--ease); }
.chip:hover { color: var(--ivory); border-color: var(--gold-soft); }
.chip.active { background: var(--gold); border-color: var(--gold); color: var(--jungle-night); }
.month-filter { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--ivory-dim); }
.month-filter select { background: var(--jungle); color: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: inherit; }
.results { list-style: none; margin: 22px 0 0; width: 100%; padding: 0; max-height: 34vh; overflow: auto; border-top: 1px solid var(--line); }
.results li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .3s; }
.results li a span { transition: transform .35s var(--ease); }
.results li a:hover, .results li a.hot { color: var(--gold); }
.results li a:hover span, .results li a.hot span { transform: translateX(12px); }
.results li small { color: var(--ivory-dim); font-size: 12px; }
.results .empty { padding: 14px 0; color: var(--ivory-dim); }

/* island is 600x922: cap width so the whole island fits in the viewport height */
.map-wrap { position: sticky; top: 6vh; align-self: start; justify-self: center; width: min(100%, 620px, calc(88vh * 600 / 922)); }
.island { width: 100%; height: auto; overflow: visible; }
.island-glow { fill: var(--gold); opacity: .12; }
.island-edge { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; }
.pin { cursor: pointer; outline: none; }
.pin-dot { fill: var(--gold); stroke: var(--jungle-night); stroke-width: 2; transition: r .3s var(--ease), fill .3s; }
.pin-pulse { fill: var(--gold); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
.pin:nth-child(3n) .pin-pulse { animation-delay: .9s; }
.pin:nth-child(3n+1) .pin-pulse { animation-delay: 1.8s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.pin-label { font: 500 13px var(--sans); fill: var(--ivory); opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: var(--jungle-night); stroke-width: 4px; pointer-events: none; }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot, .pin.hot .pin-dot { fill: var(--ivory); r: 8; }
.pin:hover .pin-label, .pin:focus-visible .pin-label, .pin.hot .pin-label { opacity: 1; }
/* dim via children: a CSS opacity transition on .pin itself fights GSAP's entrance tween */
.pin > * { transition: opacity .5s var(--ease); }
.pin.dim { pointer-events: none; }
.pin.dim > * { opacity: .12; }
.pin.dim .pin-pulse { animation: none; opacity: 0; }

.map-card {
  position: absolute; left: 0; top: 0; width: 260px; pointer-events: none; z-index: 5;
  background: rgba(19, 32, 25, .92); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.map-card.show { opacity: 1; transform: none; }
.map-card .mc-img { height: 140px; overflow: hidden; }
.map-card .mc-img > * { width: 100%; height: 100%; object-fit: cover; }
.map-card .mc-body { padding: 14px 16px 16px; }
.map-card h3 { font: 500 24px/1.1 var(--serif); margin: 2px 0 6px; }
.map-card p { font-size: 13px; line-height: 1.5; color: var(--ivory-dim); margin: 0 0 10px; }
.map-card .eyebrow { margin: 0; font-size: 10px; }

@media (max-width: 900px) {
  .map-section { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; min-height: 0; }  /* minmax(0) stops the swipeable chip row widening the column */
  .map-copy, .results, .map-wrap { grid-column: 1; grid-row: auto; }
  .map-wrap { margin-top: 28px; width: min(100%, 460px); justify-self: center; }
  .map-wrap { position: relative; top: 0; }
  .map-card { display: none; }
}

/* ---------- drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); z-index: 70; overflow-y: auto; overscroll-behavior: contain;
  background: var(--jungle); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .8s var(--ease);
}
.drawer.open { transform: none; }
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5,10,7,.6); opacity: 0; pointer-events: none; transition: opacity .6s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14,23,18,.7); color: var(--ivory); font-size: 24px; cursor: pointer; }
.drawer-img { height: 300px; overflow: hidden; }
.drawer-img > * { width: 100%; height: 100%; object-fit: cover; }
.drawer-content { padding: 28px 32px 40px; }
.drawer-content h2 { font: 400 48px/1 var(--serif); margin: 0 0 12px; }
.drawer-content .tagline { font: italic 400 22px/1.3 var(--serif); color: var(--lotus); margin: 0 0 18px; }
.drawer-content > p { color: var(--ivory-dim); }
.drawer-content .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 26px; padding: 0; list-style: none; }
.drawer-content .tags li { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; color: var(--ivory-dim); }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.drawer .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.drawer.open .stagger > * { opacity: 1; transform: none; }
.drawer.open .stagger > *:nth-child(2) { transition-delay: .08s; } .drawer.open .stagger > *:nth-child(3) { transition-delay: .16s; }
.drawer.open .stagger > *:nth-child(4) { transition-delay: .24s; } .drawer.open .stagger > *:nth-child(5) { transition-delay: .32s; }
.drawer.open .stagger > *:nth-child(n+6) { transition-delay: .4s; }

/* ---------- months strip ---------- */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; list-style: none; padding: 0; margin: 10px 0; }
.months li { height: 26px; border-radius: 4px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: rgba(14,23,18,.85); }
.months .good, .legend .good, .heat .good { background: var(--gold); }
.months .ok, .legend .ok, .heat .ok { background: rgba(200,165,91,.28); }
.months .bad, .legend .bad, .heat .bad { background: rgba(168,67,42,.55); }
.months .ok, .months .bad { color: var(--ivory-dim); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--ivory-dim); margin: 8px 0; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: -8px; vertical-align: -2px; }

/* ---------- destinations horizontal track ---------- */
.dest { padding: 12vh 0; overflow: hidden; }
.dest-head { padding: 0 var(--gutter); }
.dest-track { display: flex; gap: 28px; padding: 30px var(--gutter) 20px; width: max-content; }
.dest-card { width: clamp(270px, 26vw, 380px); flex: none; border-radius: var(--radius); overflow: hidden; background: var(--jungle); border: 1px solid var(--line); transform-style: preserve-3d; transition: border-color .4s; }
.dest-card:hover { border-color: var(--gold-soft); }
.dest-img { aspect-ratio: 4 / 5; overflow: hidden; }
.dest-img > * { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s; filter: saturate(.85); }
.dest-card:hover .dest-img > * { transform: scale(1.08); filter: saturate(1.05); }
.dest-meta { padding: 22px 22px 18px; }
.dest-meta .eyebrow { font-size: 10px; margin-bottom: 8px; }
.dest-meta h3 { font: 500 32px/1 var(--serif); margin: 0 0 8px; }
.dest-meta p { margin: 0 0 12px; color: var(--ivory-dim); font-size: 14px; line-height: 1.5; min-height: 3em; }
@media (max-width: 900px) {
  .dest-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .dest-card { scroll-snap-align: start; width: 78vw; }
}

/* placeholder when no photo yet */
.ph { display: grid; place-items: end start; padding: 22px; background: radial-gradient(120% 90% at 20% 0%, rgba(200,165,91,.25), transparent 60%), linear-gradient(160deg, var(--moss), var(--jungle-night)); }
.ph span { font: italic 400 30px/1 var(--serif); color: var(--lotus); opacity: .8; }
.ph[data-region="South Coast"], .ph[data-region="East Coast"] { background: radial-gradient(120% 90% at 80% 0%, rgba(233,201,180,.3), transparent 60%), linear-gradient(160deg, #1e4a4a, var(--jungle-night)); }
.ph[data-region="Cultural Triangle"] { background: radial-gradient(120% 90% at 20% 0%, rgba(212,154,58,.35), transparent 60%), linear-gradient(160deg, #6b2d1d, var(--jungle-night)); }

/* ---------- seasons teaser ---------- */
.seasons-teaser { overflow: hidden; }
.seasons-teaser, .stays-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: 14vh var(--gutter); }
.st-copy .btn, .stt-copy .btn { margin-top: 18px; }
.monsoon-ring { justify-self: center; width: min(100%, 440px); }
.monsoon-ring svg { width: 100%; overflow: visible; }
.monsoon-ring circle { fill: none; stroke-width: 14; }
.ring-base { stroke: rgba(200,165,91,.18); }
/* pathLength=12, one unit per month. Circle path starts at 3 o'clock = centre of Apr,
   so month M (Jan=0) begins at M - 3.5. May-Sep starts at .5, Dec-Feb at 7.5. */
.ring-sw { stroke: var(--fresco-red); stroke-dasharray: 5 7; stroke-dashoffset: -.5; }
.ring-ne { stroke: #3d7c8a; stroke-dasharray: 3 9; stroke-dashoffset: -7.5; }
.monsoon-ring text { font: 600 9px var(--sans); fill: var(--ivory-dim); text-anchor: middle; }
.ring-legend { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; font-size: 13px; color: var(--ivory-dim); }
.ring-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.ring-legend .sw::before { background: var(--fresco-red); }
.ring-legend .ne::before { background: #3d7c8a; }
.stt-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.stt-img > * { width: 100%; height: 115%; object-fit: cover; }
@media (max-width: 900px) { .seasons-teaser, .stays-teaser { grid-template-columns: 1fr; } }

/* ---------- place page ---------- */
.p-hero { position: relative; min-height: 92svh; display: grid; align-items: end; padding: 140px var(--gutter) 10vh; overflow: hidden; }
.p-hero-media { position: absolute; inset: 0; }
.p-hero-media > * { width: 100%; height: 120%; object-fit: cover; }
.p-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,18,.4), rgba(14,23,18,.15) 40%, var(--jungle-night) 100%); }
.p-hero-inner { position: relative; }
.p-hero .credit { position: absolute; right: var(--gutter); bottom: 16px; }
.back { display: inline-block; margin-bottom: 30px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s, transform .4s var(--ease); }
.back:hover { color: var(--gold); transform: translateX(-6px); }
.local-name { font: 400 28px/1 var(--serif); color: var(--gold); margin: 16px 0 0; }
.p-glance { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding: 8vh var(--gutter); border-bottom: 1px solid var(--line); }
.p-glance p { color: var(--ivory-dim); }
.glance-events ul { list-style: none; padding: 0; margin: 0; }
.glance-events li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance-events span { color: var(--gold); white-space: nowrap; font-size: 14px; }
.p-story { padding: 14vh var(--gutter) 8vh; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vh clamp(30px, 6vw, 100px); margin-top: 14vh; align-items: center; }
.story-grid section p { color: var(--ivory-dim); font-size: 17px; }
.story-fig { margin: 0; border-radius: var(--radius); overflow: hidden; }
.story-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story-grid > :nth-child(4n+3) { order: 0; }
.line-draw { position: relative; padding-bottom: 14px; }
.line-draw::after { content: ""; position: absolute; left: 0; bottom: 0; width: 80px; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.tips { margin-top: 12vh; max-width: 900px; }
.tips ul { list-style: none; padding: 0; margin: 0; counter-reset: tip; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ivory-dim); }
.tips li::before { content: counter(tip, decimal-leading-zero); font: italic 400 24px/1.2 var(--serif); color: var(--gold); }
.credit { font-size: 11px; color: var(--ivory-dim); padding: 8px 2px 0; }
.p-hero .credit { padding: 0; }
.credit a { color: inherit; text-decoration: underline; }
.p-stays, .stay-group { padding: 10vh var(--gutter); border-top: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.sources { padding: 6vh var(--gutter); border-top: 1px solid var(--line); }
.sources ul { padding-left: 18px; }
.next-place { display: block; padding: 12vh var(--gutter); border-top: 1px solid var(--line); transition: background .6s var(--ease); }
.next-name { display: block; font: 400 clamp(48px, 8vw, 120px)/1 var(--serif); transition: transform .8s var(--ease), color .4s; }
.next-place:hover { background: var(--jungle); }
.next-place:hover .next-name { transform: translateX(24px); color: var(--gold); }
@media (max-width: 900px) { .p-glance, .story-grid { grid-template-columns: 1fr; } }

/* ---------- stays ---------- */
.stays-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.stay { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(47,74,53,.35), rgba(14,23,18,.2)); transition: border-color .4s, background .6s; transform-style: preserve-3d; }
.stay:hover { border-color: var(--gold-soft); background: linear-gradient(160deg, rgba(47,74,53,.55), rgba(14,23,18,.3)); }
.stay.hidden { display: none; }
.stay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tier { font: 600 14px var(--sans); color: var(--gold); letter-spacing: .1em; }
.stay-type { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.stay h3 { font: 500 28px/1.1 var(--serif); margin: 0 0 4px; }
.stay-area { font-size: 13px; color: var(--gold); margin: 0 0 14px; }
.stay > p { color: var(--ivory-dim); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.amenities { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; }
.amenities li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(200,165,91,.1); color: var(--lotus); }
.stay-link { margin-top: auto; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.stay-link:hover { color: var(--ivory); }

.page-head { padding: 22vh var(--gutter) 8vh; }
.page-head .chips { margin-top: 40px; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 30px; font-size: 14px; color: var(--ivory-dim); }
.jump a:hover { color: var(--gold); }
.stay-group .h2 a:hover { color: var(--gold); }

/* ---------- seasons page ---------- */
.monsoons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 var(--gutter) 10vh; }
.monsoon { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.monsoon p { color: var(--ivory-dim); }
.monsoon::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 22px; }
.monsoon.sw { --accent: var(--fresco-red); }
.monsoon.ne { --accent: #3d7c8a; }
.monsoon.inter { --accent: var(--ochre); }
@media (max-width: 900px) { .monsoons { grid-template-columns: 1fr; } }
.heat { padding: 0 var(--gutter) 12vh; }
.heat-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.heat-table { overflow-x: auto; }
.heat-row { display: grid; grid-template-columns: minmax(160px, 1.6fr) repeat(12, minmax(28px, 1fr)); gap: 3px; align-items: center; padding: 3px 0; min-width: 620px; transition: background .3s; border-radius: 6px; }
.heat-row:not(.heat-headrow):hover { background: rgba(200,165,91,.07); }
.heat-row:not(.heat-headrow):hover strong { color: var(--gold); }
.heat-row > span[role=cell] { height: 30px; border-radius: 4px; }
.heat-row strong { display: block; font: 500 19px/1.1 var(--serif); transition: color .3s; }
.heat-row small { font-size: 11px; color: var(--ivory-dim); }
.heat-headrow span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivory-dim); text-align: center; }
.heat-headrow span:first-child { text-align: left; }
.heat-row.hidden { display: none; }

/* ---------- credits ---------- */
.credits-wrap { padding: 0 var(--gutter) 12vh; }
.credits-wrap .h3 { margin-top: 60px; }
.credits-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.credits-table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.credits-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ivory-dim); vertical-align: middle; }
.credits-table img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.plain { padding-left: 18px; color: var(--ivory-dim); }
.src-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.src-grid h3 { font: 500 22px var(--serif); margin: 0; }
.src-grid .plain { font-size: 13px; }

/* ---------- footer ---------- */
.footer { padding: 10vh var(--gutter) 40px; border-top: 1px solid var(--line); background: var(--jungle); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.footer-top p { max-width: 360px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--ivory-dim); transition: color .3s, transform .4s var(--ease); }
.footer-links a:hover { color: var(--gold); transform: translateX(6px); }

/* ---------- reveal helpers (JS adds .in) ---------- */
.reveal-clip { clip-path: inset(0 0 100% 0); }
.split .line, .split-lines .line { overflow: hidden; }

/* no JS / reduced motion: show everything */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal-clip { clip-path: none; }
  .statement .word { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
html.no-motion .reveal-clip { clip-path: none; }
html.no-motion .statement .word { opacity: 1; }

/* =========================================================
   Responsive: tablets & smartphones
   ========================================================= */
.pin-hit { fill: transparent; }
.menu-toggle, .menu { display: none; }

@media (max-width: 900px) {
  /* --- mobile menu --- */
  .menu-toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 26px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease); }
  html.menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  html.menu-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  html.menu-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; transform: none; }

  .menu {
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    position: fixed; inset: 0; z-index: 45; overflow-y: auto;
    padding: calc(110px + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
    background: radial-gradient(120% 70% at 100% 0%, rgba(200,165,91,.14), transparent 60%), var(--jungle-night);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
  }
  html.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
  .menu nav { display: grid; }
  .menu nav a {
    display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
    font: 400 clamp(38px, 11vw, 56px)/1.05 var(--serif); color: var(--ivory);
    opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
  }
  .menu nav a small { font: 500 11px var(--sans); letter-spacing: .2em; color: var(--gold); }
  .menu nav a:active { color: var(--gold); }
  html.menu-open .menu nav a { opacity: 1; transform: none; }
  html.menu-open .menu nav a:nth-child(1) { transition-delay: .15s; }
  html.menu-open .menu nav a:nth-child(2) { transition-delay: .22s; }
  html.menu-open .menu nav a:nth-child(3) { transition-delay: .29s; }
  html.menu-open .menu nav a:nth-child(4) { transition-delay: .36s; }
  .menu .btn { align-self: flex-start; }

  /* --- map: search, then the map, then the list --- */
  .map-wrap { order: 1; }
  .results { order: 2; max-height: none; margin-top: 28px; }
  .pin-dot { r: 6; }

  /* filter chips: one swipeable row instead of a tall stack */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding: var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .heat-controls .chips { flex: 1 1 100%; min-width: 0; }

  /* stays page jump links: swipeable strip */
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 24px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter); gap: 8px; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; }

  /* drawer becomes a full-screen sheet */
  .drawer { width: 100vw; border-left: 0; }
  .drawer-img { height: 42vh; }
  .drawer-content { padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
  .drawer-content h2 { font-size: 40px; }
  .drawer-close { top: calc(12px + env(safe-area-inset-top)); }

  .dest-track { scroll-padding: 0 var(--gutter); }
  .stay-link, .back { display: inline-block; padding: 12px 0; }
  .page-head { padding-top: 140px; }
  .p-hero .credit { left: var(--gutter); right: auto; }
}

@media (max-width: 600px) {
  :root { --radius: 14px; }
  .hero { padding-top: 120px; padding-bottom: calc(9vh + env(safe-area-inset-bottom)); }
  .hero-media img { object-position: 30% center; }  /* keep the Lion Rock in frame */
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .scroll-cue { display: none; }
  .brand-logo { height: 34px; }
  .brand-pre { font-size: 9px; padding-bottom: 8px; }
  .nav { padding-top: calc(14px + env(safe-area-inset-top)); padding-bottom: 14px; }

  .intro { padding: 14vh var(--gutter) 10vh; }
  .stats { gap: 28px 16px; margin-top: 8vh; }
  .stats span { font-size: 11px; letter-spacing: .08em; }

  .map-section, .dest, .seasons-teaser, .stays-teaser { padding-top: 10vh; padding-bottom: 10vh; }
  .dest { padding-left: 0; padding-right: 0; }
  .dest-card { width: 82vw; }
  .dest-track { gap: 14px; }

  /* seasons grid: all 12 months fit on a phone */
  .heat-table { overflow: visible; }
  .heat-row { grid-template-columns: 104px repeat(12, 1fr); gap: 2px; min-width: 0; }
  .heat-row > span[role=cell] { height: 26px; border-radius: 3px; }
  .heat-row strong { font-size: 15px; }
  .heat-row small { display: none; }
  .heat-headrow .m-rest { display: none; }
  .heat-headrow span { letter-spacing: 0; }
  .monsoon { padding: 24px; }

  .p-glance { gap: 34px; padding: 6vh var(--gutter); }
  .p-story { padding-top: 10vh; }
  .story-grid { margin-top: 8vh; gap: 6vh; }
  .story-grid section p { font-size: 16px; }
  .tips li { grid-template-columns: 44px 1fr; }
  .glance-events li { flex-direction: column; gap: 2px; }
  .next-name { font-size: clamp(38px, 12vw, 60px); }

  .stays-grid { grid-template-columns: 1fr; gap: 14px; }
  .stay { padding: 22px; }
  .stay h3 { font-size: 25px; }

  .credits-table th:nth-child(3), .credits-table td:nth-child(3) { display: none; }
  .credits-table img { width: 72px; height: 48px; }
  .footer-top { flex-direction: column; gap: 30px; margin-bottom: 40px; }
  .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}

/* touch screens: bigger tap targets, no hover-only affordances */
@media (pointer: coarse) {
  .chip { padding: 12px 16px; font-size: 13px; }
  .month-filter select, .search input { font-size: 16px; }   /* stops iOS zooming into inputs */
  .results li a { padding: 15px 2px; }
  .stay-link, .back { display: inline-block; padding: 8px 0; }
  .footer-links a { padding: 6px 0; }
  .dest-card:hover .dest-img > * { transform: none; }
}

/* short landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .p-hero { min-height: 0; padding-top: 100px; padding-bottom: 40px; }
  .hero-title { font-size: clamp(40px, 7vw, 72px); }
  .drawer-img { height: 50vh; }
  .menu { padding-top: 80px; }
  .menu nav a { font-size: 30px; padding: 8px 0; }
}

/* =========================================================
   Footer columns, About & Contact pages
   ========================================================= */
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-links .eyebrow, .footer-contact .eyebrow { font-size: 11px; margin-bottom: 6px; }
.footer-contact { display: grid; gap: 10px; align-content: start; font-style: normal; }
.footer-contact a { color: var(--ivory-dim); line-height: 1.5; transition: color .3s; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold); }
.footer-links { align-content: start; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.footer-bottom .fine { margin: 0; max-width: 760px; }
.dev-credit { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.dev-credit strong { color: var(--gold); font-weight: 600; letter-spacing: .2em; }

/* about */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: 8vh var(--gutter); }
.about-split.reverse .about-img { order: 2; }
.about-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img > * { width: 100%; height: 100%; object-fit: cover; }
.about-copy .muted { font-size: 17px; }
.about-statement { padding-top: 12vh; padding-bottom: 12vh; }
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ivory-dim); position: relative; }
.about-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; border: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
.principles { padding: 10vh var(--gutter); border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(47,74,53,.35), rgba(14,23,18,.2)); transition: border-color .4s; }
.principle:hover { border-color: var(--gold-soft); }
.principle-num { font: italic 400 44px/1 var(--serif); color: var(--gold); margin-bottom: 24px; }
.principle p { color: var(--ivory-dim); margin: 0 0 20px; }
.principle .stay-link { margin-top: auto; }
.cta-band { text-align: center; padding: 14vh var(--gutter); border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(200,165,91,.12), transparent 70%); }
.cta-band .muted { max-width: 520px; margin: 0 auto; }
.cta-band .hero-cta { justify-content: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.6fr; gap: clamp(24px, 4vw, 60px); align-items: start; padding: 0 var(--gutter) 14vh; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; gap: 6px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(47,74,53,.35), rgba(14,23,18,.2)); transition: border-color .4s; }
.contact-card:hover { border-color: var(--gold-soft); }
.contact-card svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.contact-card .eyebrow { margin: 0; font-size: 11px; }
.contact-card strong { font: 500 22px/1.3 var(--serif); font-variant-numeric: lining-nums; color: var(--ivory); overflow-wrap: anywhere; }
.card-link { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.enquiry { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--jungle); }
.enquiry .h3 { margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-dim); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ivory); background: rgba(14,23,18,.6);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(200,165,91,.06); }
.field input:user-invalid { border-color: var(--fresco-red); }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ichip { position: relative; }
.ichip input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }  /* overrides .field input width:100% */
.ichip span { display: inline-block; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--ivory-dim); cursor: pointer; transition: all .3s var(--ease); }
.ichip span:hover { border-color: var(--gold-soft); color: var(--ivory); }
.ichip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--jungle-night); }
.ichip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.enquiry .btn { justify-self: start; border: 0; cursor: pointer; }
.form-note { margin: 0; }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .about-split.reverse .about-img { order: 0; }
  .about-img { aspect-ratio: 4 / 3; }
  .principle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .enquiry .btn { justify-self: stretch; justify-content: center; }
  .principle { padding: 24px; }
  .contact-card { padding: 22px; }
}
