/* SPM Grand Mahal: deep maroon-black ground, jasmine ink, temple-gold accent. */
:root {
  --ground: #150c0b;
  --surface: #23140f;
  --raise: #2f1b15;
  --maroon: #6b1a23;
  --ink: #f5ecdd;
  --gold: #d6a84e;
  --gold-ink: #1a0f08;
  --scrim: rgba(16, 9, 8, .72);
  --serif: 'Cormorant Garamond', 'Noto Serif Tamil', Georgia, serif;
  --sans: 'Mukta Malar', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(96px, 14vw, 200px);
  --s-hero: clamp(3rem, 9vw, 7.5rem);
  --s-h2: clamp(2.1rem, 5vw, 4rem);
  --s-lede: clamp(1.1rem, 1.6vw, 1.3rem);
  --s-body: 1.0625rem;
  --s-small: .95rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:lang(ta) {
  --serif: 'Noto Serif Tamil', 'Cormorant Garamond', Georgia, serif;
  --s-hero: clamp(2.2rem, 6.4vw, 5.4rem);
  --s-h2: clamp(1.7rem, 3.6vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--s-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:lang(ta) body { line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.02em; line-height: 1.02; }
:lang(ta) h1, :lang(ta) h2 { letter-spacing: 0; line-height: 1.25; }
h2 { font-size: var(--s-h2); }
p { margin: 0; }
.lede { font-size: var(--s-lede); max-width: 38ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* buttons: fully round, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em; border-radius: 999px; border: 0;
  font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #e6bb63; }
.btn-ghost { background: var(--raise); color: var(--ink); }
.btn-ghost:hover { background: #3d241c; }

/* preloader (only when JS runs) */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--ground); color: var(--gold); transition: opacity .6s var(--ease), visibility .6s;
}
.js .preloader .k { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) forwards; }
.js .preloader .k:nth-child(2) { animation-delay: .25s; }
.js .preloader .k:nth-child(3) { animation-delay: .5s; }
.preloader-name { font: 600 1.4rem/1.3 var(--serif); color: var(--ink); opacity: 0; animation: fade .8s .9s forwards; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut); transition: background-color .3s;
}
.top.is-solid { background: rgba(21, 12, 11, .94); }
.wordmark { font: 600 1.35rem/1.1 var(--serif); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: var(--s-small); padding: 6px 0; }
.nav a:hover { color: var(--gold); }
.top-actions { display: flex; gap: 10px; align-items: center; }
.lang { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--raise); color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; }
.lang:hover { background: #3d241c; }
.top .btn { min-height: 44px; padding: .5em 1.1em; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 420px) { .top .btn-gold { display: none; } .wordmark { font-size: 1.15rem; } }

/* scroll films (walk-in, parking): one pinned canvas each */
.film-stage { position: relative; height: 100svh; overflow: hidden; background: #120807; }
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 6, 5, .78) 0%, rgba(12, 6, 5, .25) 32%, rgba(12, 6, 5, 0) 55%),
              linear-gradient(to bottom, rgba(12, 6, 5, .55) 0%, rgba(12, 6, 5, 0) 18%); }
.film-hero { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(56px, 10vh, 110px); max-width: 640px; }
.kicker { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
:lang(ta) .kicker { letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.film-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); text-wrap: balance; }
:lang(ta) .film-hero h1 { font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.3; }
.film-hero .lede { margin-top: 10px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.film-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: .85rem; opacity: .9;
  display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap; }
.film-hint::after { content: ''; width: 1px; height: 28px; background: var(--gold); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.film-ch { position: absolute; left: var(--gut); top: 84px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); opacity: 0; transition: opacity .4s; }
:lang(ta) .film-ch { letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.film-ch.is-in { opacity: 1; }
.film-cap { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 9vh, 96px); max-width: 30ch;
  font: 600 clamp(1.6rem, 3.6vw, 3rem)/1.18 var(--serif); opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease); text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
:lang(ta) .film-cap { font-size: clamp(1.25rem, 2.6vw, 2.2rem); line-height: 1.4; max-width: 26ch; }
.film-cap.is-in { opacity: 1; transform: none; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(245, 236, 221, .14); }
.film-bar span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.film-title { position: absolute; left: var(--gut); top: 84px; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.film-end { position: absolute; right: var(--gut); bottom: clamp(40px, 9vh, 96px); text-align: right; opacity: 0;
  transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.film-end.is-in { opacity: 1; transform: none; }
.park-count { display: grid; gap: 4px; font: 600 clamp(1.6rem, 3.6vw, 2.8rem)/1.15 var(--serif); }
.park-count b { font-weight: 600; }
.park-note { font-size: .9rem; color: var(--gold); margin-top: 8px; }
.film-parking .film-cap { max-width: 22ch; }
/* rev 4: real photos that pop in over a film segment (the A/C and fan on the main hall) */
.film-cards { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; gap: 18px;
  pointer-events: none; z-index: 3; }
.film-card { margin: 0; width: clamp(170px, 17vw, 270px); background: #fbf6ee; padding: 8px 8px 10px; border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(26px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease); }
.film-card:nth-child(2) { margin-top: 48px; }
.film-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.film-card figcaption { padding-top: 7px; text-align: center; font: 600 1rem/1.2 var(--serif); color: #2a1712; }
.film-card.is-in { opacity: 1; transform: none; }
.film-static-card { max-width: 260px; }
.film-static-card img { aspect-ratio: 3 / 4; }
/* without GSAP / reduced motion: a plain column of key pictures */
.film-off .film-stage { height: auto; }
.film-off .film canvas, .film-off .film-shade, .film-off .film-hint, .film-off .film-ch, .film-off .film-cap,
.film-off .film-bar, .film-off .film-end { display: none; }
.film-off .film-hero { position: relative; left: 0; right: 0; bottom: 0; padding: 110px var(--gut) 24px; }
.film-off .film-title { position: static; padding: var(--sec) var(--gut) 20px; }
.film-static { display: grid; gap: 20px; padding: 0 var(--gut); }
.film-static figure { margin: 0; }
.film-static img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.film-static figcaption { padding-top: 8px; font: 600 1.3rem/1.3 var(--serif); }
@media (max-width: 760px) {
  .film-hero { bottom: 84px; }
  .film-cap { bottom: 96px; right: 72px; }
  .film-ch, .film-title { top: 76px; left: 16px; }
  /* phones: the count sits under the title so it never covers the last caption at the bottom */
  .film-end { left: 16px; right: 16px; top: 128px; bottom: auto; text-align: left; }
  .film-cards { right: 16px; top: 118px; transform: none; gap: 10px; }
  .film-card { width: 31vw; max-width: 150px; padding: 5px 5px 7px; }
  .film-card:nth-child(2) { margin-top: 22px; }
  .film-card figcaption { font-size: .85rem; }
  .film-hint { bottom: 22px; }
}

/* story (walk-in + stage build): stacked list without JS, pinned film with JS */
.story { padding: var(--sec) 0 0; }
.story-stack { display: grid; gap: 24px; padding: 0 var(--gut); }
.beat { margin: 0; }
.beat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.beat figcaption { padding-top: 12px; display: grid; gap: 4px; }
.beat-l { font: 600 1.5rem/1.2 var(--serif); }
.beat-c { max-width: 44ch; }
.story-bar { display: none; }
.build-head, .build-end, .build-note { padding: 0 var(--gut); }
.story-build .build-head { margin-bottom: 24px; }
.build-steps { display: none; }

.is-film .story { padding: 0; }
.is-film .story-pin { position: relative; height: 100svh; overflow: hidden; }
.is-film .story-stack { position: absolute; inset: 0; padding: 0; display: block; }
.is-film .beat { position: absolute; inset: 0; }
.is-film .beat img { height: 100%; aspect-ratio: auto; border-radius: 0; will-change: transform, opacity; }
.is-film .beat img.pos-top { object-position: 50% 30%; }
.is-film .beat:not(:first-child) { opacity: 0; }
.is-film .story-walk figcaption {
  position: absolute; left: var(--gut); bottom: clamp(32px, 8vh, 88px); max-width: min(560px, calc(100% - 2 * var(--gut)));
  background: var(--scrim); padding: 18px 22px; border-radius: 4px;
}
.is-film .story-walk .beat-l { font-size: clamp(1.8rem, 4vw, 3rem); }
.is-film .story-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(245, 236, 221, .14); }
.is-film .story-bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

.is-film .story-build figcaption { display: none; }
.is-film .build-head {
  position: absolute; left: var(--gut); top: clamp(76px, 12vh, 120px); padding: 22px 26px; max-width: 560px;
  background: var(--scrim); border-radius: 4px; margin: 0;
}
.is-film .build-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.is-film :lang(ta) .build-head h2, :lang(ta) .is-film .build-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.is-film .build-head p { margin-top: 8px; }
.is-film .build-steps { display: grid; gap: 4px; list-style: none; margin: 16px 0 0; padding: 0; }
.build-steps li { opacity: .45; transition: opacity .3s, color .3s; }
.build-steps li.is-on { opacity: 1; }
.build-steps li.is-now { color: var(--gold); }
.is-film .build-end {
  position: absolute; right: var(--gut); bottom: clamp(40px, 9vh, 96px); max-width: 30ch; padding: 0;
  font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1.25 var(--serif); opacity: 0; text-align: right;
}
.is-film .build-note { position: absolute; right: var(--gut); bottom: 14px; font-size: .8rem; opacity: .8; padding: 0; }
@media (max-width: 700px) {
  .is-film .build-head { left: 12px; right: 12px; top: 72px; padding: 14px 16px; max-width: none; }
  .is-film .build-head p { display: none; }
  .is-film .build-steps { grid-auto-flow: column; overflow: hidden; font-size: .85rem; gap: 10px; }
  .is-film .build-steps li:not(.is-now) { display: none; }
  .is-film .build-end { left: 12px; right: 12px; text-align: left; bottom: 120px; background: var(--scrim); padding: 14px 16px; border-radius: 4px; max-width: none; }
  .is-film .build-note { left: 12px; right: 12px; bottom: 86px; text-align: left; }
  .is-film .story-walk figcaption { left: 12px; right: 12px; bottom: 92px; }
  :lang(ta) .wordmark { font-size: 1rem; }
}
.build-end, .build-note { margin-top: 12px; }

/* functions */
.fn { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: var(--sec) var(--gut) 0; }
.fn h2 { max-width: 14ch; }
.fn-copy > p { margin-top: 14px; max-width: 40ch; }
.fn-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.fn-btn {
  min-height: 44px; padding: .55em 1.15em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--raise); color: var(--ink); font: 500 1rem var(--sans); transition: background-color .2s, color .2s;
}
.fn-btn:hover { background: #3d241c; }
.fn-btn.is-on { background: var(--gold); color: var(--gold-ink); }
.fn-desc { min-height: 3.2em; max-width: 40ch; margin-bottom: 22px; }
.fn-view { position: relative; margin: 0; aspect-ratio: 16 / 9; }
.fn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: opacity .6s var(--ease); }
.fn-img.b { opacity: 0; }
.fn-view figcaption { position: absolute; right: 10px; bottom: 10px; font-size: .8rem; background: var(--scrim); padding: 4px 10px; border-radius: 4px; }
@media (max-width: 900px) { .fn { grid-template-columns: 1fr; } .fn-view { order: -1; } }

/* building */
.building { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: var(--sec) var(--gut) 0; }
.building-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.building .lede { margin-top: 14px; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.facts li { padding: 14px 0 14px 28px; position: relative; font-size: 1.08rem; }
.facts li + li { border-top: 2px solid var(--surface); }
.facts li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) { .building { grid-template-columns: 1fr; } .building-pic img { aspect-ratio: 4 / 3; } }

/* spaces strip */
.spaces { padding: var(--sec) 0 0; }
.spaces-head { padding: 0 var(--gut); margin-bottom: 28px; }
.spaces-head p { margin-top: 10px; }
.spaces-track {
  display: flex; gap: 16px; padding: 0 var(--gut) 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--raise) transparent;
}
.spaces-track figure { margin: 0; flex: 0 0 min(78vw, 520px); scroll-snap-align: start; }
.spaces-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.spaces-track figcaption { padding-top: 10px; font: 600 1.25rem/1.3 var(--serif); }

/* details */
.details { padding: var(--sec) var(--gut) 0; }
.details-head { margin-bottom: 28px; }
.details-head p { margin-top: 10px; }
.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 18vw, 260px); gap: 12px; }
.details-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.details-grid img { width: 100%; height: 100%; object-fit: cover; }
.details-grid figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--scrim); padding: 4px 10px; border-radius: 4px; font-size: .95rem; }
.d-tall { grid-row: span 2; }
@media (max-width: 700px) { .details-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }

/* quote: the one field-colour change on the page */
.quote { position: relative; margin-top: var(--sec); background: var(--maroon); overflow: hidden; }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.quote-inner { position: relative; padding: clamp(72px, 10vw, 140px) var(--gut); max-width: 1100px; }
.quote h2 { font-size: clamp(2.4rem, 6.5vw, 5.4rem); }
:lang(ta) .quote h2 { font-size: clamp(2rem, 5vw, 4rem); }
.quote .lede { margin-top: 16px; max-width: 46ch; }
/* tap-to-choose wizard */
.wiz { margin-top: 32px; max-width: 760px; }
.wiz-bar { height: 3px; background: rgba(245, 236, 221, .2); border-radius: 2px; overflow: hidden; margin-bottom: 26px; }
.wiz-bar span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(.2); transition: transform .4s var(--ease); }
.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.wiz-step.is-on { display: block; animation: rise .35s var(--ease); }
.wiz-step legend { font: 600 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--serif); padding: 0; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px; padding: .6em 1.2em; border-radius: 999px; border: 1px solid rgba(245, 236, 221, .28);
  background: rgba(21, 12, 11, .35); color: var(--ink); font: 500 1rem/1.2 var(--sans); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.chip:hover { border-color: var(--gold); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.wiz-date { display: grid; gap: 6px; margin-top: 18px; font-size: .95rem; max-width: 280px; }
.wiz-sum { color: #ffd9a0; margin-bottom: 14px; }
.wiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: .9rem; }
.wiz-back { background: none; border: 0; color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; min-height: 44px; padding: 0; }
.wiz label, .pform label { display: grid; gap: 6px; font-size: .95rem; }
.wiz input, .pform input {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 4px; border: 0;
  background: rgba(21, 12, 11, .55); color: var(--ink); font: 400 1.05rem var(--sans); color-scheme: dark;
}
.wiz input:focus, .pform input:focus { outline: 2px solid var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-err { min-height: 1.4em; color: #ffd28a; margin: 8px 0; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qthanks { margin-top: 36px; display: grid; gap: 12px; justify-items: start; }
.qthanks-h { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1.25 var(--serif); }
@media (max-width: 700px) { .wiz-fields { grid-template-columns: 1fr; } .chip { flex: 1 1 calc(50% - 10px); } }

/* contact */
.visit { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: var(--sec) var(--gut); }
.visit .lede { margin-top: 14px; }
.phones { list-style: none; margin: 32px 0; padding: 0; display: grid; gap: 4px; }
.phones a { display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none; font: 600 clamp(2.2rem, 6vw, 4.6rem)/1.1 'Cormorant Garamond', serif; letter-spacing: -.01em; }
.phones a:hover { color: var(--gold); }
.phones small { font: 500 .9rem var(--sans); color: var(--gold); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.place { margin-top: 22px; font-size: 1.1rem; }
.visit-map iframe { width: 100%; aspect-ratio: 4 / 5; border: 0; border-radius: 4px; filter: saturate(.85); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-map iframe { aspect-ratio: 4 / 3; } }

/* numbers */
.numbers { padding: var(--sec) var(--gut) 0; }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.num-list li { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--gold); }
.num-list b { font: 600 clamp(2.8rem, 6vw, 5.2rem)/1 'Cormorant Garamond', serif; color: var(--gold); font-variant-numeric: tabular-nums; }
.num-list span { font-size: 1rem; max-width: 20ch; }
@media (max-width: 760px) { .num-list { grid-template-columns: 1fr 1fr; gap: 26px 16px; } }

/* kitchen */
.kitchen { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: var(--sec) var(--gut) 0; }
.kitchen-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.kitchen .lede { margin-top: 14px; }
.dishes { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dishes li { padding: .45em 1em; border-radius: 999px; background: var(--raise); font-size: .98rem; }
.tag-row { display: flex; gap: 10px; margin-top: 16px; }
.tag-row span { padding: .3em .9em; border-radius: 4px; font-size: .9rem; font-weight: 500; }
.tag-row span:first-child { background: #1f4d2b; }
.tag-row span:last-child { background: #6b1a23; }
@media (max-width: 900px) { .kitchen { grid-template-columns: 1fr; } }

/* gallery */
.gallery { padding: var(--sec) var(--gut) 0; }
.gallery-head { margin-bottom: 24px; }
.gallery-head p { margin-top: 10px; }
.gal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gal-filters .chip { min-height: 42px; background: var(--raise); border-color: transparent; }
.gal-filters .chip.is-on { background: var(--gold); }
.gal-grid { columns: 4 240px; column-gap: 10px; }
.gal-item { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; }
.gal-item img { width: 100%; height: auto; border-radius: 4px; transition: opacity .2s; }
.gal-item:hover img { opacity: .85; }
.lightbox { position: fixed; inset: 0; z-index: 85; background: rgba(8, 4, 3, .94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--raise); color: var(--ink); font-size: 1.8rem; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* about + how booking works */
.about { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: start; padding: var(--sec) var(--gut) 0; }
.about h2 { max-width: 18ch; }
.about .lede { margin-top: 16px; }
.about-copy > p:last-child { margin-top: 14px; max-width: 52ch; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pillars li { background: var(--surface); border-radius: 6px; padding: 20px; display: grid; gap: 6px; }
.pillars b { font: 600 1.35rem/1.2 var(--serif); color: var(--gold); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.howto { padding: var(--sec) var(--gut) 0; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: 6px; background: var(--surface); }
.steps b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font: 700 1.1rem var(--sans); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding: var(--sec) var(--gut) 0; max-width: 980px; }
.faq-list { margin-top: 26px; }
.faq details { border-top: 2px solid var(--surface); }
.faq details:last-child { border-bottom: 2px solid var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font: 600 1.25rem/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--sans); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; max-width: 64ch; }

/* details grid: one wide card for seating */
.d-wide { grid-column: span 2; }

/* footer: the name returns at full width */
.foot { background: var(--surface); padding: 56px var(--gut) 120px; display: grid; gap: 10px; }
.foot-name { font: 600 clamp(2.6rem, 10vw, 9rem)/1 var(--serif); letter-spacing: -.03em; }
:lang(ta) .foot-name { font-size: clamp(2rem, 7vw, 6.4rem); line-height: 1.2; letter-spacing: 0; }
.foot-note { font-size: .85rem; max-width: 60ch; opacity: .85; }
.foot a { justify-self: start; margin-top: 8px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.foot .foot-social a { display: inline-flex; align-items: center; gap: 10px; margin: 0; min-height: 48px; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; text-decoration: none; }
.foot .foot-social a:hover, .foot .foot-social a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.foot-social svg { width: 20px; height: 20px; flex: none; }

/* floating WhatsApp (chat bubble from chat.js sits bottom-left) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* lead pop-up */
.popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10, 6, 5, .72); }
.popup[hidden] { display: none; }
.popup-card { width: min(460px, 100%); background: var(--surface); border-radius: 6px; padding: 28px 24px; display: grid; gap: 12px; }
.popup-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.pform { display: grid; gap: 12px; margin-top: 6px; }
.pform input, .pform select { background: var(--ground); }
.popup-thanks { font: 600 1.4rem/1.3 var(--serif); }
.popup.is-in .popup-card { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* entrances */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-pic img { animation: none; }
  .js .rv { opacity: 1; transform: none; }
  .js .preloader { display: none; }
  * { scroll-behavior: auto !important; }
}

/* about.html header (revision 2): the dusk facade, full bleed, title on a solid panel */
.page-hero { position: relative; min-height: 72svh; display: grid; align-items: end; overflow: hidden; }
.page-hero picture, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero img { object-fit: cover; object-position: 50% 40%; }
.page-hero-copy { position: relative; margin: 0 var(--gut) clamp(32px, 7vh, 80px); padding: 22px 26px; max-width: 640px; background: var(--scrim); border-radius: 4px; }
.page-hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.page-hero-copy .lede { margin-top: 10px; }
.page-about .about { padding-top: var(--sec); }
/* rev 4: keep the header readable over bright page-hero photos (photos.html) */
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 160px; pointer-events: none;
  background: linear-gradient(rgba(12, 6, 5, .7), rgba(12, 6, 5, 0)); }
