/* =========================================================
   The Keya Himalayan Retreat — Darjeeling
   Pure CSS3. Palette: misty white, sky blue, warm beige, charcoal.
   ========================================================= */

:root {
  --mist: #f3f6f8;
  --cloud: #ffffff;
  --sky-50: #eaf2f7;
  --sky-100: #d9e7f0;
  --sky-300: #a9c6da;
  --sky-500: #6f97b5;
  --sky-700: #3f6683;
  --beige: #f1e9dd;
  --sand: #dccbb2;
  --gold: #9a7748;
  --charcoal: #2d3237;
  --ink: #1f2326;
  --muted: #59626a;
  --line: rgba(45, 50, 55, .12);

  --serif: 'CormorantGaramond', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, .7, .12, 1);
  --shadow: 0 30px 60px -30px rgba(63, 102, 131, .35), 0 8px 20px -12px rgba(31, 35, 38, .15);
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; }
ul { list-style: none; padding: 0; }
address { font-style: normal; }
em { font-style: italic; }
::selection { background: var(--sky-300); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky-700); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--charcoal); color: #fff; padding: 10px 18px; border-radius: 999px; transition: top .3s; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(84px, 12vw, 168px); position: relative; }
.center { text-align: center; margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sky-700); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: 1.04; letter-spacing: -.01em; color: var(--ink);
  max-width: 16ch; margin-bottom: 26px;
}
.h2 em { color: var(--sky-700); font-weight: 300; }
.h2--xl { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.8rem); max-width: 14ch; margin-inline: auto; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.35; color: var(--ink); margin-bottom: 18px; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__lede { max-width: 54ch; color: var(--muted); }
p + p { margin-top: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--charcoal); color: #fff;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--sky-700); transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(63, 102, 131, .6); }
.btn:hover::before { transform: none; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: .7rem; }
.btn--ghost { background: rgba(255, 255, 255, .45); color: var(--charcoal); box-shadow: inset 0 0 0 1px rgba(45, 50, 55, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--charcoal); }
.btn--ghost:hover { color: #fff; }
.link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--charcoal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(5px); }
.circle {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(45, 50, 55, .25); background: rgba(255, 255, 255, .5);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.circle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.circle:hover { background: var(--charcoal); color: #fff; transform: scale(1.05); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 14px var(--gutter);
  transition: background .5s, backdrop-filter .5s, transform .6s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(243, 246, 248, .74);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line); padding-block: 8px;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { height: 64px; width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 2px 8px rgba(255, 255, 255, .6)); }
.nav.is-scrolled .nav__logo img { height: 48px; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); margin-left: auto; }
.nav__links a {
  position: relative; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0;
}
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--charcoal); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: rgba(243, 246, 248, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  clip-path: circle(0 at calc(100% - 46px) 40px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 300; line-height: 1.2; color: var(--ink); opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s var(--ease); }
.drawer.is-open nav a { opacity: 1; transform: none; }
.drawer.is-open nav a:nth-child(2) { transition-delay: .06s; } .drawer.is-open nav a:nth-child(3) { transition-delay: .12s; }
.drawer.is-open nav a:nth-child(4) { transition-delay: .18s; } .drawer.is-open nav a:nth-child(5) { transition-delay: .24s; }
.drawer.is-open nav a:nth-child(6) { transition-delay: .3s; }
.drawer nav a[aria-current="page"] { color: var(--sky-700); font-style: italic; }
.drawer__foot { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .95rem; }

/* ---------- Scenery: layers, clouds, fog ---------- */
.layer { position: absolute; left: -4%; right: -4%; bottom: 0; pointer-events: none; will-change: transform; }
.layer img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.layer--far { bottom: 12%; height: 56%; z-index: 2; }
.layer--clouds-back { inset: 0 -4%; z-index: 3; }
.layer--mid { bottom: 4%; height: 36%; z-index: 4; }
.layer--fog { inset: auto -4% 6% -4%; height: 40%; z-index: 5; overflow: hidden; }
.layer--near { bottom: -3%; height: 25%; z-index: 6; }
.layer--clouds-front { inset: 0 -4%; z-index: 7; overflow: hidden; }

.cloud {
  position: absolute; left: 0; top: var(--y, 50%);
  width: var(--w, 40vw); aspect-ratio: 2.6 / 1; margin-top: calc(var(--w, 40vw) * -.19);
  opacity: var(--o, .8);
  background:
    radial-gradient(42% 58% at 28% 64%, rgba(255,255,255,.96) 0 52%, rgba(255,255,255,0) 72%),
    radial-gradient(36% 70% at 50% 46%, rgba(255,255,255,.98) 0 50%, rgba(255,255,255,0) 72%),
    radial-gradient(34% 56% at 72% 60%, rgba(255,255,255,.94) 0 50%, rgba(255,255,255,0) 72%),
    radial-gradient(60% 34% at 50% 80%, rgba(255,255,255,.9) 0 55%, rgba(255,255,255,0) 75%);
  filter: blur(7px);
  animation: drift var(--t, 120s) linear var(--dl, 0s) infinite;
  will-change: transform;
}
.cloud--lg { aspect-ratio: 3.4 / 1; margin-top: calc(var(--w, 40vw) * -.15); filter: blur(12px); }
@keyframes drift { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(108vw, 0, 0); } }

.fog {
  position: absolute; inset: 0 auto 0 0; width: 200%;
  background:
    radial-gradient(28% 46% at 10% 62%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%),
    radial-gradient(34% 40% at 36% 52%, rgba(255,255,255,.65), rgba(255,255,255,0) 70%),
    radial-gradient(26% 50% at 64% 66%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    radial-gradient(30% 40% at 88% 50%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%);
  background-size: 50% 100%; background-repeat: repeat-x;
  animation: fog 70s linear infinite, breathe 14s ease-in-out infinite alternate;
}
@keyframes fog { to { transform: translate3d(-50%, 0, 0); } }
@keyframes breathe { from { opacity: .65; } to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  isolation: isolate;
}
.hero__sky, .panorama__sky, .reserve__sky { position: absolute; inset: 0; z-index: 0; }
.hero__sky { background: linear-gradient(180deg, #9fbfd6 0%, #c3d8e8 34%, #e3edf4 60%, var(--mist) 100%); }
.hero__sun {
  position: absolute; z-index: 1; width: 70vmax; height: 70vmax; top: -34vmax; right: -16vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 226, .95) 0, rgba(255, 236, 210, .45) 30%, rgba(255, 236, 210, 0) 62%);
  animation: glow 10s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: scale(1.08); opacity: .8; } }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 26%; z-index: 8; pointer-events: none;
  background: linear-gradient(to bottom, rgba(243, 246, 248, 0), var(--mist) 85%);
}
/* Arrival veil: clouds part on first load */
.hero::before {
  content: ''; position: absolute; inset: -10%; z-index: 20; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 50%, #fff 0 40%, rgba(255,255,255,0) 70%),
    radial-gradient(40% 50% at 80% 50%, #fff 0 40%, rgba(255,255,255,0) 70%),
    radial-gradient(50% 60% at 50% 50%, #fff 0 45%, rgba(255,255,255,0) 75%);
  animation: veil 2.4s var(--ease) .1s forwards;
}
@keyframes veil { to { opacity: 0; transform: scale(1.6); } }

.hero__content {
  position: relative; z-index: 10; text-align: center;
  padding: clamp(120px, 20vh, 200px) var(--gutter) 0; max-width: 980px;
  will-change: transform, opacity;
}
.hero__eyebrow { justify-content: center; color: var(--charcoal); opacity: 0; animation: fadeUp 1.2s var(--ease) .7s forwards; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.hero__title {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(3.2rem, 1.2rem + 8.4vw, 8.6rem); line-height: .94; letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(255, 255, 255, .7);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; transform: translateY(110%); animation: rise 1.6s var(--ease) .9s forwards; }
.hero__line:nth-child(3) > span { animation-delay: 1.05s; }
.hero__title em { color: var(--sky-700); }
.hero__lede { max-width: 46ch; margin: 26px auto 0; color: var(--charcoal); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); opacity: 0; animation: fadeUp 1.2s var(--ease) 1.4s forwards; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; opacity: 0; animation: fadeUp 1.2s var(--ease) 1.6s forwards; }
.hero__scroll {
  position: absolute; z-index: 10; bottom: 96px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--charcoal);
}
.hero__scroll i { width: 1px; height: 52px; background: linear-gradient(var(--charcoal), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; inset: 0; background: var(--mist); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Sub-page hero */
.phero { height: 78vh; height: 78svh; min-height: 540px; }
.phero .hero__content { padding-top: clamp(120px, 21vh, 210px); }
.hero:not(.phero) + .booking-wrap { margin-top: -64px; }
.phero .hero__scroll { display: none; }
.phero .hero__title { font-size: clamp(3rem, 1.4rem + 6.4vw, 6.8rem); }
.phero .layer--far { bottom: 22%; height: 50%; }
.crumbs { display: flex; gap: 10px; justify-content: center; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; opacity: 0; animation: fadeUp 1s var(--ease) .6s forwards; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Booking bar ---------- */
.booking-wrap { position: relative; z-index: 12; margin-top: -64px; padding-inline: var(--gutter); }
.booking {
  max-width: 1120px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 6px 18px; align-items: end;
  padding: 20px 22px 18px 28px; border-radius: 26px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.booking__field { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 14px; min-width: 0; }
.booking__field:nth-child(4) { border-right: 0; }
.booking label { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-700); font-weight: 500; }
.booking input, .booking select { border: 0; background: transparent; padding: 6px 0; font-size: 1rem; color: var(--ink); width: 100%; min-width: 0; }
.booking input:focus, .booking select:focus { outline: none; box-shadow: 0 1px 0 var(--sky-700); }
.booking__note { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ---------- Frames & reveals ---------- */
.frame { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--sky-100); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame img[data-speed] { height: 118%; margin-top: -9%; will-change: transform; }

.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-done { transition-delay: 0s; }
.js .room-card.is-done { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(18% 8% 18% 8% round var(--r)); transition: clip-path 1.6s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__media { position: relative; padding: 0 0 12% 12%; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--float { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--mist); }
.story__tag { position: absolute; right: -6px; top: 50%; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; color: var(--muted); transform: translateX(100%); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; color: var(--ink); }
.stats span { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .08em; color: var(--muted); }

/* ---------- Cinematic window ---------- */
.window { position: relative; height: 260vh; --p: 0; }
.window__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.window__frame {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(calc(max(0, 1 - var(--p) * 1.7) * 20%) calc(max(0, 1 - var(--p) * 1.7) * 28%) round calc(max(0, 1 - var(--p) * 1.7) * 30px));
}
.window__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.32 - min(var(--p) * 1.7, 1) * .32)); }
.window__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 26, 30, .62), rgba(22, 26, 30, 0) 55%); opacity: min(1, var(--p) * 2); }
.window__cloud {
  position: absolute; top: -10%; bottom: -10%; width: 70%; z-index: 2; pointer-events: none;
  background:
    radial-gradient(50% 30% at 50% 30%, #fff 0 45%, rgba(255,255,255,0) 72%),
    radial-gradient(45% 28% at 40% 62%, #fff 0 45%, rgba(255,255,255,0) 72%),
    radial-gradient(55% 25% at 60% 86%, #fff 0 40%, rgba(255,255,255,0) 72%);
  filter: blur(14px); opacity: calc(1 - var(--p) * 1.6);
}
.window__cloud--l { left: -38%; transform: translateX(calc(var(--p) * -70%)); }
.window__cloud--r { right: -38%; transform: translateX(calc(var(--p) * 70%)); }
.window__text {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 10vh, 110px);
  color: #fff; opacity: calc((var(--p) - .45) * 3.5); transform: translateY(calc((1 - var(--p)) * 60px));
}
.window__text .eyebrow { color: #fff; }
.window__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 1.2rem + 6vw, 7rem); line-height: .98; max-width: 12ch; }

/* ---------- Rooms ---------- */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.room-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r); background: var(--cloud); box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1.1s var(--ease);
  transform-style: preserve-3d;
}
.js .room-card[data-reveal] { transform: perspective(1000px) translateY(40px); }
.js .room-card[data-reveal].is-in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.room-card:hover { box-shadow: 0 50px 80px -40px rgba(63, 102, 131, .5), 0 10px 24px -14px rgba(31, 35, 38, .2); }
.room-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 45%);
  transition: opacity .5s;
}
.room-card:hover::after { opacity: 1; }
.room-card__btn { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; border-radius: inherit; }
.room-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.room-card__no { font-size: .7rem; letter-spacing: .26em; color: var(--sky-700); }
.room-card__name { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + .9vw, 2.2rem); font-weight: 400; color: var(--ink); line-height: 1.1; margin: 6px 0 10px; }
.room-card__text { color: var(--muted); font-size: .95rem; }
.room-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.room-card__tags span, .chips li, .tag { font-size: .72rem; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: var(--sky-50); color: var(--sky-700); }
.room-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.room-card__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .4s var(--ease); }
.room-card:hover .room-card__more svg { transform: translateX(6px); }
.room-card--cta {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(160deg, var(--beige), #e8dcca); box-shadow: none;
}
.room-card__q { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; color: var(--ink); margin-bottom: 28px; }

/* ---------- Features (café / restaurant) ---------- */
.feature--cafe { background: linear-gradient(180deg, var(--mist), var(--beige) 22%, var(--beige) 78%, var(--mist)); }
.feature--dine { background: linear-gradient(180deg, var(--mist), var(--sky-50) 50%, var(--mist)); }
.feature__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.feature__grid--rev { grid-template-columns: 1fr 1.1fr; }
.feature__media { position: relative; padding-bottom: 14%; }
.frame--main { aspect-ratio: 5 / 4; }
.frame--inset { position: absolute; width: 42%; aspect-ratio: 1; bottom: 0; right: -6%; border: 8px solid var(--beige); }
.feature--dine .frame--inset { right: auto; left: -6%; border-color: var(--sky-50); }
.feature__copy p:not(.eyebrow) { color: var(--muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.feature--cafe .chips li { background: rgba(255, 255, 255, .6); color: var(--gold); }
.meals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.meal {
  --rx: 0deg; --ry: 0deg;
  padding: 20px 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 14px 30px -20px rgba(63,102,131,.4);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease);
}
.meal span, .exp__time { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-700); }
.meal h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin: 4px 0 6px; }
.meal p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* ---------- Panorama interlude ---------- */
.panorama { position: relative; height: 96vh; min-height: 560px; overflow: hidden; display: flex; justify-content: center; isolation: isolate; }
.panorama__sky { background: linear-gradient(180deg, var(--mist) 0%, #d4e2ec 16%, #f0dcc8 52%, #f6ece0 74%, var(--mist) 100%); }
.panorama .layer--far { bottom: -6%; height: 70%; }
.panorama .layer--clouds-front { z-index: 4; }
.panorama__text { position: relative; z-index: 5; text-align: center; padding: clamp(100px, 16vh, 170px) var(--gutter) 0; }
.panorama__text .eyebrow { color: var(--gold); justify-content: center; }
.panorama__text .eyebrow::before { display: none; }
.panorama__text .h2 { max-width: 20ch; margin-inline: auto; }
.panorama__text .h2 em { color: var(--gold); }

/* ---------- Experiences ---------- */
.scroller-nav { display: flex; gap: 10px; }
.scroller {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 20px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 40px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  cursor: grab;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.exp {
  --rx: 0deg; --ry: 0deg;
  position: relative; flex: 0 0 clamp(270px, 27vw, 360px); min-height: 380px; scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(170deg, var(--cloud) 0%, var(--sky-50) 60%, var(--sky-100) 100%);
  box-shadow: var(--shadow); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease);
  user-select: none;
}
.exp:nth-child(even) { background: linear-gradient(170deg, var(--cloud) 0%, var(--beige) 65%, #e9dccb 100%); }
.exp::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -2px; height: 46%; background: url('../images/scenery/ridge-far.svg') 50% 100% / cover no-repeat; opacity: .55; transition: transform 1.2s var(--ease); }
.exp:nth-child(even)::after { background-image: url('../images/scenery/ridge-dawn.svg'); }
.exp:hover::after { transform: translateY(-8px) scale(1.04); }
.exp h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem); color: var(--ink); line-height: 1.1; margin: 14px 0 12px; }
.exp p { position: relative; z-index: 1; color: var(--muted); font-size: .93rem; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 260px; column-gap: 18px; }
.masonry__item { display: block; margin-bottom: 18px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; position: relative; background: var(--sky-100); }
.masonry__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.masonry__item:nth-child(4n+1) img { aspect-ratio: 4 / 5; }
.masonry__item:nth-child(5n+3) img { aspect-ratio: 1; }
.masonry__item::after { content: '+'; position: absolute; inset: auto 16px 16px auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.3rem; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; transform: none; }
.masonry__item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { padding: 9px 20px; border-radius: 999px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--charcoal); color: #fff; }

/* ---------- Reserve ---------- */
.reserve { position: relative; overflow: hidden; padding-block: clamp(120px, 20vh, 220px); text-align: center; isolation: isolate; }
.reserve__sky { background: linear-gradient(180deg, var(--mist) 0%, #dfeaf2 30%, #bcd3e3 100%); }
.reserve .layer--clouds-front { z-index: 1; }
.reserve__inner { position: relative; z-index: 2; }
.reserve .eyebrow { justify-content: center; }
.reserve .section__lede { margin-inline: auto; color: var(--charcoal); }
.reserve__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #cfd6dc; padding-top: clamp(64px, 8vw, 100px); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 120px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 28ch; color: #aeb7bf; }
.footer__h { font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #98a2ab; }

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal); color: #fff;
  box-shadow: 0 16px 30px -12px rgba(31, 35, 38, .5); transition: transform .5s var(--ease), background .4s;
}
.wa-fab svg { width: 26px; height: 26px; fill: currentColor; }
.wa-fab:hover { transform: translateY(-4px) scale(1.04); background: var(--sky-700); }

/* ---------- Room modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(31, 35, 38, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: 100%; max-width: 1160px; max-height: 100%; overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 26px; background: var(--mist);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__slides { position: relative; overflow: hidden; background: var(--sky-100); min-height: 320px; touch-action: pan-y; }
.modal__track { display: flex; height: 100%; transition: transform .8s var(--ease); }
.modal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.modal__nav { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.modal__nav .circle { background: rgba(255,255,255,.85); }
.modal__count { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: .78rem; letter-spacing: .14em; }
.modal__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.modal__body .h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-bottom: 16px; }
.modal__body p { color: var(--muted); }
.modal__list { margin: 22px 0 30px; display: grid; gap: 10px; }
.modal__list li { display: flex; gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.modal__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); flex: none; transform: translateY(-2px); }
.modal__body .btn { margin-top: auto; align-self: flex-start; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.modal__close, .lightbox__close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 1.5rem; line-height: 1; color: var(--ink); transition: transform .4s var(--ease); }
.modal__close:hover, .lightbox__close:hover { transform: rotate(90deg); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: rgba(20, 24, 28, .94); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.lightbox figure { max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; border-radius: 10px; transform: scale(.96); transition: transform .6s var(--ease), opacity .3s; }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: #c9d1d8; font-size: .9rem; margin-top: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox .circle { position: absolute; top: 50%; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.lightbox .circle:hover { background: #fff; color: var(--ink); }
.lightbox__prev { left: 18px; } .lightbox__next { right: 18px; }
body.is-locked { overflow: hidden; }

/* ---------- Page transitions ---------- */
body { animation: pageIn .9s var(--ease) both; }
html.is-leaving body { opacity: 0; transform: translateY(-8px); transition: opacity .42s ease, transform .42s ease; }
@keyframes pageIn { from { opacity: 0; } }

/* ---------- Sub-page components ---------- */
.intro-statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); line-height: 1.3; color: var(--ink); max-width: 30ch; }
.intro-statement em { color: var(--sky-700); }

.room-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; padding-block: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); }
.room-detail:nth-of-type(even) .room-detail__media { order: 2; }
.room-detail__media .frame { aspect-ratio: 3 / 2; cursor: zoom-in; }
.room-detail__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.room-detail__thumbs > * { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; position: relative; }
.room-detail__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room-detail__thumbs > *:hover img { transform: scale(1.08); }
.room-detail__thumbs .more::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(31,35,38,.45); color: #fff; font-size: .9rem; letter-spacing: .1em; }
.room-detail__no { font-size: .72rem; letter-spacing: .26em; color: var(--sky-700); }
.room-detail h2 { margin-top: 10px; }
.room-detail p { color: var(--muted); }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0 32px; }
.amenities li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.amenities li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); flex: none; transform: translateY(-2px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.card {
  --rx: 0deg; --ry: 0deg;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--r); background: var(--cloud); box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease);
}
.card span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-700); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); color: var(--ink); line-height: 1.15; margin: 10px 0 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card--beige { background: linear-gradient(160deg, var(--cloud), var(--beige)); }

.attr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.attr-grid .exp { flex: none; min-height: 340px; }

.timeline { position: relative; max-width: 820px; }
.timeline::before { content: ''; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--sky-300), var(--sand)); }
.timeline__item { display: grid; grid-template-columns: 70px 1fr; gap: 36px; padding-bottom: 38px; position: relative; }
.timeline__item::before { content: ''; position: absolute; left: 81px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--mist); box-shadow: inset 0 0 0 2px var(--sky-500); }
.timeline__time { font-family: var(--serif); font-size: 1.4rem; color: var(--sky-700); line-height: 1.3; }
.timeline h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ink); line-height: 1.2; margin-bottom: 6px; }
.timeline p { color: var(--muted); }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-radius: var(--r); background: var(--cloud); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.contact-card:hover { transform: translateY(-6px); }
.contact-card svg { width: 28px; height: 28px; fill: none; stroke: var(--sky-700); stroke-width: 1.4; margin-bottom: 12px; }
.contact-card b { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-700); font-weight: 500; }
.contact-card span { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.25; word-break: break-word; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(26px, 4vw, 46px); border-radius: 26px; background: var(--cloud); box-shadow: var(--shadow); }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-700); font-weight: 500; }
.form input, .form select, .form textarea { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); transition: border-color .3s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky-700); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__status { grid-column: 1 / -1; font-size: .88rem; color: var(--sky-700); min-height: 1.4em; }

.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sky-100); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7) contrast(.95); }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--sky-700); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }

.band { background: linear-gradient(180deg, var(--mist), var(--beige) 30%, var(--beige) 70%, var(--mist)); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: repeat(2, 1fr); padding: 20px; }
  .booking__field { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
  .booking__submit { grid-column: 1 / -1; margin-top: 8px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .attr-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .story__grid, .feature__grid, .feature__grid--rev, .room-detail, .split { grid-template-columns: 1fr; }
  .feature__grid--rev .feature__media { order: -1; }
  .room-detail:nth-of-type(even) .room-detail__media { order: 0; }
  .story__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .nav__logo img { height: 52px; }
  .room-grid { grid-template-columns: 1fr; }
  .meals { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .hero__content { padding-top: clamp(110px, 17vh, 150px); }
  .layer--far { height: 46%; bottom: 14%; }
  .phero .layer--far { height: 44%; }
  .window { height: 220vh; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__body .btn { align-self: stretch; }
  .lightbox .circle { top: auto; bottom: 22px; }
  .contact-cards, .attr-grid, .form, .amenities { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 34px; }
  .timeline__item::before { left: 1px; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .cloud, .fog { animation: none !important; }
  .cloud { transform: translateX(calc(var(--w) * .4)); }
  .window { height: auto; --p: 1 !important; }
  .window__stick { position: relative; }
}
