/* ==========================================================
   Shree Panch Dashnam Juna Akhada Guest House
   Palette: Neelkanth night, bhasma ash, bilva green, kumkum red
   Type: Marcellus (display), Hanken Grotesk (body), Tiro Devanagari Hindi
   ========================================================== */

:root {
  --night: #101a33;
  --night-2: #18264a;
  --night-3: #223363;
  --ash: #eef0ee;
  --ash-2: #e0e6e3;
  --white: #ffffff;
  --bilva: #2f6b55;
  --bilva-deep: #1f4d3d;
  --bilva-soft: #cfe3d8;
  --kumkum: #c8312b;
  --kumkum-bright: #e5443d;
  --mist: #b7c4d6;
  --ink: #1b2433;
  --ink-soft: #4a5568;

  --font-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --radius: 6px;
  --radius-lg: 18px;
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ash);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.7rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { max-width: 64ch; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--white); color: var(--night); padding: 0.7rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--kumkum-bright); outline-offset: 3px; border-radius: 3px; }

.deva { font-family: var(--font-deva); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--kumkum); --fg: var(--white); --bd: var(--kumkum);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem; min-height: 48px;
  font: 600 1rem/1 var(--font-body);
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(16, 26, 51, 0.55); }
.btn:active { transform: translateY(0); }
.btn--wa { --bg: var(--bilva); --bd: var(--bilva); }
.btn--wa:hover { --bg: var(--bilva-deep); background: var(--bilva-deep); }
.btn--call:hover { background: #a9241f; border-color: #a9241f; }
.btn--ghost { --bg: transparent; --fg: var(--ash); --bd: rgba(238, 240, 238, 0.5); }
.btn--ghost:hover { background: var(--ash); color: var(--night); }
.btn--ghost-dark { --bg: transparent; --fg: var(--night); --bd: var(--night); }
.btn--ghost-dark:hover { background: var(--night); color: var(--ash); }
.btn .ripple {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35);
  transform: scale(0); animation: ripple 0.65s linear; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600;
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: var(--ash);
  transition: background 0.35s, box-shadow 0.35s, height 0.35s, color 0.35s;
}
.site-header.is-solid {
  background: rgba(16, 26, 51, 0.94); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); height: 66px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.12rem; white-space: nowrap; }
.brand__deva { font-family: var(--font-deva); font-size: 0.78rem; opacity: 0.75; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a.nav__link {
  position: relative; text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 0.4rem 0;
}
.nav a.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--kumkum-bright);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a.nav__link:hover::after,
.nav a.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0.65rem 1.15rem; min-height: 42px; font-size: 0.95rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit;
  cursor: pointer; border-radius: 50%; position: relative; z-index: 130;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s, top 0.35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--night); flex-direction: column; justify-content: center;
    align-items: flex-start; gap: 0.4rem; padding: 6rem var(--gutter) 3rem; z-index: 120;
    clip-path: circle(0 at calc(100% - 38px) 38px); visibility: hidden;
    transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; transition: clip-path 0.7s var(--ease); }
  .nav a.nav__link { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.8rem); padding: 0.25rem 0; }
  .nav .btn { margin-top: 1.5rem; font-size: 1.05rem; padding: 0.95rem 1.6rem; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__deva { display: none; } .brand__name { font-size: 1rem; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--night); color: var(--ash); overflow: hidden;
  padding: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(34, 51, 99, 0.9), transparent 70%),
    radial-gradient(40% 50% at 5% 100%, rgba(47, 107, 85, 0.28), transparent 70%);
}
.hero__bands { position: absolute; left: 0; right: 0; bottom: 8%; width: 100%; height: 56%; z-index: -1; pointer-events: none; }
.hero__bands path {
  fill: none; stroke: var(--ash); stroke-opacity: 0.13; stroke-width: 16; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.7s var(--ease) forwards;
}
.hero__bands path:nth-child(2) { animation-delay: 0.18s; }
.hero__bands path:nth-child(3) { animation-delay: 0.36s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { margin-bottom: 0.5em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: 0.45s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.6s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.75s; }
@keyframes rise { to { transform: none; } }
.hero__name { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--mist); max-width: 46ch; margin-bottom: 1.8rem; opacity: 0; animation: fade 0.9s 1.1s forwards; }
.hero .actions { opacity: 0; animation: fade 0.9s 1.3s forwards; }
.hero__note { margin-top: 1.8rem; font-size: 0.95rem; color: var(--mist); opacity: 0; animation: fade 0.9s 1.5s forwards; max-width: 44ch; }
@keyframes fade { to { opacity: 1; } }

.hero__art { position: relative; justify-self: end; width: min(100%, 430px); }
.arch {
  position: relative; overflow: hidden; background: var(--night-2);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'><path d='M0 130V62C0 34 38 22 50 0c12 22 50 34 50 62v68z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'><path d='M0 130V62C0 34 38 22 50 0c12 22 50 34 50 62v68z'/></svg>");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { aspect-ratio: 10 / 13; clip-path: inset(100% 0 0 0); animation: open 1.5s 0.25s var(--ease) forwards; }
@keyframes open { to { clip-path: inset(0 0 0 0); } }
.arch--hero img { transform: scale(1.12); will-change: transform; }

.hero__thumb {
  position: absolute; left: -16%; bottom: -7%; width: 38%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px 12px 12px; overflow: hidden; border: 5px solid var(--night);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7); opacity: 0; animation: fade 1s 1.2s forwards;
}
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

.call-dot {
  position: absolute; right: -6%; top: 8%; width: clamp(104px, 13vw, 138px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; background: var(--kumkum-bright); color: var(--white);
  text-decoration: none; box-shadow: 0 14px 34px -10px rgba(229, 68, 61, 0.7);
  transform: scale(0); animation: pop 0.8s 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: box-shadow 0.3s;
}
.call-dot:hover { box-shadow: 0 18px 44px -8px rgba(229, 68, 61, 0.95); }
@keyframes pop { to { transform: scale(1); } }
.call-dot svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.call-dot svg.ring text { font: 600 10.5px var(--font-body); letter-spacing: 0.14em; fill: var(--white); }
.call-dot svg.icon { width: 34%; height: 34%; position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; width: min(86%, 390px); margin-top: 1.5rem; }
  .hero__thumb { left: -9%; }
  .call-dot { right: -7%; }
}

/* ---------- Generic sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--night { background: var(--night); color: var(--ash); }
.section--ash2 { background: var(--ash-2); }
.section--bilva { background: var(--bilva-deep); color: var(--ash); }
.section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head p { color: var(--ink-soft); font-size: 1.12rem; }
.section--night .section__head p,
.section--bilva .section__head p { color: var(--mist); }

.lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.section--night .lead { color: var(--mist); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--night); color: var(--ash); position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 4.8rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(55% 90% at 90% 10%, rgba(34, 51, 99, 0.95), transparent 70%);
}
.page-hero__bands { position: absolute; right: -4%; bottom: -6%; width: min(70%, 760px); z-index: -1; opacity: 1; }
.page-hero__bands path { fill: none; stroke: var(--ash); stroke-opacity: 0.1; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.page-hero__bands path:nth-child(2) { animation-delay: 0.15s; }
.page-hero__bands path:nth-child(3) { animation-delay: 0.3s; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }
.page-hero p { max-width: 54ch; color: var(--mist); font-size: 1.15rem; margin: 0; }
.crumbs { font-size: 0.92rem; color: var(--mist); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; opacity: 0.5; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(183, 196, 214, 0.4); }
.crumbs a:hover { color: var(--white); }

/* ---------- Facts strip ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--ash-2); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.6rem 1.4rem; border-right: 1px solid var(--ash-2); }
.facts li:first-child { padding-left: 0; }
.facts li:last-child { border-right: 0; }
.facts svg { width: 28px; height: 28px; flex: none; color: var(--bilva); margin-top: 2px; }
.facts strong { display: block; font-weight: 600; line-height: 1.3; }
.facts span { display: block; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; margin-top: 0.15rem; }
@media (max-width: 920px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--ash-2); padding: 1.2rem 0.4rem; }
  .facts li:first-child { padding-left: 0.4rem; }
}
@media (max-width: 520px) { .facts ul { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split--top { align-items: start; }
@media (max-width: 820px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.photo-stack { position: relative; padding-bottom: 14%; }
.photo-stack .photo-a { width: 82%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.photo-stack .photo-b {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border-radius: 999px 999px 10px 10px;
  overflow: hidden; border: 6px solid var(--ash);
}
.section--ash2 .photo-stack .photo-b { border-color: var(--ash-2); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }

.js .reveal-clip > img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease); }
.js .reveal-clip.in-view > img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- Room tiles (home) ---------- */
.room-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.room-tile { text-decoration: none; display: block; }
.room-tile:nth-child(2) { margin-top: 2.6rem; }
.room-tile__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.6; position: relative; background: var(--ash-2); }
.room-tile:nth-child(2) .room-tile__img { aspect-ratio: 4 / 4; }
.room-tile:nth-child(3) .room-tile__img { aspect-ratio: 4 / 4.3; }
.room-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.room-tile:hover .room-tile__img img { transform: scale(1.06); }
.room-tile h3 { margin: 1.1rem 0 0.35rem; }
.room-tile p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.room-tile .more { display: inline-block; margin-top: 0.7rem; font-weight: 600; border-bottom: 2px solid var(--kumkum); }
@media (max-width: 820px) {
  .room-tiles { grid-template-columns: 1fr; }
  .room-tile:nth-child(2) { margin-top: 0; }
  .room-tile .room-tile__img, .room-tile:nth-child(n) .room-tile__img { aspect-ratio: 4 / 3; }
}

/* ---------- Ascent (steps) ---------- */
.ascent { position: relative; margin-top: 1rem; }
.ascent__steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 0; counter-reset: stage; }
.ascent__step { position: relative; padding: 1.4rem 0.9rem 1.2rem 0; display: flex; flex-direction: column; justify-content: flex-start; }
.ascent__step:nth-child(1) { min-height: 12.6rem; }
.ascent__step:nth-child(2) { min-height: 15rem; }
.ascent__step:nth-child(3) { min-height: 17.4rem; }
.ascent__step:nth-child(4) { min-height: 19.8rem; }
.ascent__step:nth-child(5) { min-height: 22.2rem; }
.ascent__step::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 100%;
  background: linear-gradient(to top, rgba(183, 196, 214, 0.2), rgba(183, 196, 214, 0.04) 85%, transparent);
  border-top: 2px solid rgba(183, 196, 214, 0.55); z-index: 0;
  transform-origin: bottom; transform: scaleY(0); transition: transform 1.3s var(--ease);
}
.ascent.in-view .ascent__step::before { transform: scaleY(1); }
.ascent.in-view .ascent__step:nth-child(2)::before { transition-delay: 0.15s; }
.ascent.in-view .ascent__step:nth-child(3)::before { transition-delay: 0.3s; }
.ascent.in-view .ascent__step:nth-child(4)::before { transition-delay: 0.45s; }
.ascent.in-view .ascent__step:nth-child(5)::before { transition-delay: 0.6s; }
.ascent__step > * { position: relative; z-index: 1; padding-left: 1rem; }
.ascent__step h3 { font-size: 1.28rem; margin-bottom: 0.35rem; }
.ascent__step p { font-size: 0.96rem; color: var(--mist); margin: 0; line-height: 1.5; }
.ascent__step .stage { font-family: var(--font-display); color: var(--kumkum-bright); font-size: 1.1rem; margin-bottom: 0.3rem; }
.ascent__step:last-child .stage { color: var(--white); }
.ascent__dot { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: var(--kumkum-bright); right: 0; top: 0; display: none; }
@media (max-width: 920px) {
  .ascent__step { padding-top: 0; }
  .ascent__steps { grid-template-columns: 1fr; gap: 0; border-left: 2px solid rgba(183, 196, 214, 0.35); margin-left: 6px; }
  .ascent__step, .ascent__step:nth-child(n) { min-height: 0; padding: 0 0 1.8rem 1.6rem; }
  .ascent__step::before { display: none; }
  .ascent__step > * { padding-left: 0; }
  .ascent__step::after { content: ""; position: absolute; left: -8px; top: 0.35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--kumkum-bright); }
}

/* ---------- Events ---------- */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.event { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; }
.event:nth-child(2) { border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); background: var(--night); color: var(--ash); }
.event:nth-child(2) p { color: var(--mist); }
.event h3 { margin-bottom: 0.7rem; }
.event .when { display: inline-block; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--bilva-soft); color: var(--bilva-deep); margin-bottom: 1rem; }
.event:nth-child(2) .when { background: rgba(229, 68, 61, 0.2); color: #ffb1ac; }
@media (max-width: 820px) { .events { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: stretch; }
.location__photo { border-radius: var(--radius); overflow: hidden; min-height: 320px; position: relative; }
.location__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.route { list-style: none; display: grid; gap: 0; }
.route li { padding: 1.15rem 0; border-top: 1px solid rgba(183, 196, 214, 0.3); display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; }
.route li:last-child { border-bottom: 1px solid rgba(183, 196, 214, 0.3); }
.route b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.route span { color: var(--mist); }
.section:not(.section--night) .route li { border-color: var(--ash-2); }
.section:not(.section--night) .route span { color: var(--ink-soft); }
@media (max-width: 820px) { .location { grid-template-columns: 1fr; } .location__photo { min-height: 260px; } .route li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; max-width: 52rem; }
.faq details { background: var(--white); border-radius: var(--radius); border: 1px solid var(--ash-2); overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { border-color: var(--bilva); box-shadow: 0 14px 30px -22px rgba(16, 26, 51, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3.4rem 1.1rem 1.3rem; font-weight: 600; font-size: 1.06rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 1.35rem; top: 50%; width: 14px; height: 2px; background: var(--bilva); border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--ash); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 50%, rgba(47, 107, 85, 0.4), transparent 70%); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-band h2 { max-width: 20ch; margin: 0 0 0.5rem; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-band p { margin: 0; color: var(--mist); max-width: 44ch; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1226; color: var(--mist); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.site-footer h2, .site-footer h3 { font-size: 1.15rem; color: var(--ash); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__brand p { max-width: 36ch; margin-top: 1rem; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(183, 196, 214, 0.18); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.92rem; }
.footer__bottom .jai { font-family: var(--font-display); font-size: 1.05rem; color: var(--ash); }
.footer__phone { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); display: inline-block; margin-bottom: 0.4rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; gap: 0.7rem; }
.fab a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease);
}
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .fab-call { background: var(--kumkum-bright); position: relative; }
.fab .fab-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--kumkum-bright); animation: pulse 2.4s infinite; }
.fab .fab-wa { background: #1f8f53; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 921px) { .fab { display: none; } }

/* ---------- Rooms page ---------- */
.room-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.2rem, 5vw, 4rem) 0; }
.room-row + .room-row { border-top: 1px solid var(--ash-2); }
.room-row:first-child { padding-top: 0; }
.room-row:nth-child(even) .room-row__media { order: 2; }
.room-row__media { position: relative; }
.room-row__main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--ash-2); cursor: zoom-in; position: relative; }
.room-row__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s, transform 0.9s var(--ease); }
.room-row__main:hover img { transform: scale(1.03); }
.room-row__main .zoom { position: absolute; right: 0.8rem; bottom: 0.8rem; background: rgba(16, 26, 51, 0.82); color: var(--white); padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.85rem; pointer-events: none; }
.thumbs { display: flex; gap: 0.6rem; margin-top: 0.7rem; }
.thumbs button { border: 2px solid transparent; padding: 0; width: 86px; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; opacity: 0.65; transition: opacity 0.25s, border-color 0.25s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; border-color: var(--bilva); }
.room-row__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.6rem; }
.tag-list li { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--bilva-soft); color: var(--bilva-deep); font-size: 0.93rem; font-weight: 500; }
@media (max-width: 820px) { .room-row { grid-template-columns: 1fr; } .room-row:nth-child(even) .room-row__media { order: 0; } }

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ash-2); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--ash-2); vertical-align: top; }
.compare thead th { background: var(--night); color: var(--ash); font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.compare tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 15vw, 210px); gap: 0.8rem; }
.gallery button { padding: 0; border: 0; background: var(--ash-2); overflow: hidden; border-radius: var(--radius); cursor: zoom-in; position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery .g1 { grid-column: span 5; grid-row: span 3; }
.gallery .g2 { grid-column: span 7; grid-row: span 2; }
.gallery .g3 { grid-column: span 3; }
.gallery .g4 { grid-column: span 4; }
.gallery .g5 { grid-column: span 12; grid-row: span 2; }
@media (max-width: 700px) {
  .gallery { grid-auto-rows: auto; }
  .gallery .g1, .gallery .g2 { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery .g3, .gallery .g4 { grid-column: span 6; grid-row: auto; aspect-ratio: 1; }
  .gallery .g5 { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; }
}

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 13, 28, 0.94); display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.lightbox.open { display: flex; animation: fade-in 0.3s forwards; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { color: var(--mist); text-align: center; padding-top: 0.8rem; font-size: 0.95rem; }
.lightbox button { position: absolute; background: rgba(238, 240, 238, 0.12); border: 0; color: var(--white); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(238, 240, 238, 0.28); }
.lightbox svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; background: var(--white); padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; border: 1px solid var(--ash-2); }
.form h2, .form h3 { margin-bottom: 0.2rem; }
.form p.hint { color: var(--ink-soft); font-size: 0.98rem; margin: 0 0 0.4rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ash); border: 2px solid transparent; border-radius: var(--radius);
  padding: 0.8rem 0.95rem; min-height: 50px; transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bilva); background: var(--white); }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact-card { display: grid; gap: 1.6rem; }
.contact-line { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; }
.contact-line .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--ash); }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line .ic.red { background: var(--kumkum-bright); color: var(--white); }
.contact-line h3 { font-size: 1.15rem; margin: 0 0 0.2rem; }
.contact-line p { margin: 0; color: var(--ink-soft); }
.contact-line .big { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.3rem); text-decoration: none; display: inline-block; line-height: 1.15; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ash-2); aspect-ratio: 16 / 8; min-height: 320px; background: var(--ash-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .map-frame { aspect-ratio: auto; height: 340px; min-height: 0; } }

/* ---------- About ---------- */
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.25; max-width: 28ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); }
.value { border-top: 2px solid var(--kumkum-bright); padding-top: 1.1rem; }
.value h3 { margin-bottom: 0.5rem; }
.value p { margin: 0; color: var(--mist); }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.checklist { list-style: none; display: grid; gap: 0.8rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; background: var(--kumkum-bright); box-shadow: 0 0 0 4px rgba(229, 68, 61, 0.18); }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.toc h2 { font-size: 1.15rem; margin-bottom: 0.9rem; }
.toc ol { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--ash-2); }
.toc a { display: block; text-decoration: none; padding: 0.6rem 0 0.6rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--night); border-left-color: var(--kumkum); }
.post { padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--ash-2); }
.post:last-of-type { border-bottom: 0; }
.post__meta { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 1rem; }
.post h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 22ch; }
.post h3 { margin-top: 1.8em; font-size: 1.35rem; }
.post p, .post li { max-width: 66ch; }
.post ul, .post ol.plain { padding-left: 1.3rem; display: grid; gap: 0.45rem; margin-bottom: 1.1em; }
.post .post__img { border-radius: var(--radius); overflow: hidden; margin: 1.6rem 0; aspect-ratio: 16 / 9; }
.post .post__img img { width: 100%; height: 100%; object-fit: cover; }
.post .callout { background: var(--bilva-soft); border-left: 4px solid var(--bilva); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; max-width: 66ch; margin: 1.6rem 0; }
.post .callout p { margin: 0; }
.post__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: var(--night); color: var(--ash); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0; padding: 1.3rem 1.5rem; margin-top: 2rem; max-width: 66ch; }
.post__cta p { margin: 0; flex: 1 1 14rem; color: var(--mist); }
.post__cta p strong { color: var(--ash); font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; display: block; }
@media (max-width: 920px) {
  .blog-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr; }
}

/* ---------- Scroll progress (blog) ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--kumkum-bright); transform-origin: left; transform: scaleX(0); z-index: 150; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .js .reveal-clip > img { clip-path: none; transform: none; }
  .arch--hero { clip-path: none; }
  .hero__title .line > span { transform: none; }
  .call-dot { transform: none; }
  .ascent__step::before { transform: scaleY(1); }
}
@media print { .site-header, .fab, .cta-band { display: none; } }

/* keep the logo visible above the mobile menu overlay */
.site-header .brand { position: relative; z-index: 130; }
