/* =========================================================
   Krushnakunj Mandapam — site styles
   Calm and premium: one idea per screen, plenty of air, and a
   Call button always within reach.
   Brand: maroon #8B0000 · saffron #EF9D29 · ivory

   Written phone-first: the plain rules are the phone layout, and
   the min-width queries further down add room on larger screens.
   ========================================================= */

:root {
  --ivory: #FBF7F0;
  --ivory-2: #F4EDE2;
  --sand: #E6D5BC;
  --ink: #2A1712;
  --ink-2: #5E4A40;
  --muted: #8A7366;
  --maroon: #8B0000;
  --maroon-700: #6E0909;
  --maroon-900: #3A0707;
  --night: #170806;
  --saffron: #EF9D29;
  --saffron-soft: #F6BC63;
  --gold: #B8862F;
  --gold-text: #9C5E0A;
  --cream-text: #FFF3E3;
  --line: rgba(58, 7, 7, 0.13);
  --line-light: rgba(255, 240, 220, 0.16);
  --wa: #1FAF5A;

  --f-display: "Playfair Display", "Rasa", Georgia, "Times New Roman", serif;
  --f-body: "DM Sans", "Anek Gujarati", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-display: 400;

  --radius: 4px;
  --radius-lg: 22px;   /* white cards: spaces */
  --shadow-card: 0 2px 6px rgba(58, 7, 7, .06), 0 16px 40px -12px rgba(58, 7, 7, .18);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --header-h: 66px;
  --section: clamp(96px, 13vw, 168px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Gujarati typography: its own faces, a little more line height */
html[lang="gu"] {
  --f-display: "Rasa", "Playfair Display", Georgia, serif;
  --f-body: "Anek Gujarati", "DM Sans", system-ui, sans-serif;
  --w-display: 600;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="gu"] body { font-size: 17.5px; line-height: 1.7; }

img, video { display: block; max-width: 100%; }
img { height: auto; }

/* Skeletons: a soft shimmer holds a photo's place until it arrives */
.skel, .lb-figure.is-loading::before {
  background: linear-gradient(100deg, transparent 40%, var(--skel-shine, rgba(255, 250, 242, .55)) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat var(--skel-base, var(--sand));
  animation: skel 1.6s linear infinite;
}
.skel.is-loaded { background-image: none; animation: none; }
@keyframes skel { to { background-position: 0 0; } }
.hero-slide, .spot, .video-frame, .lightbox { --skel-base: #2a120e; --skel-shine: rgba(255, 236, 210, .09); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; }
html[lang="gu"] em { font-style: normal; }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--maroon); color: #fff; border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.section-title { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); line-height: 1.12; letter-spacing: -.01em; color: var(--maroon-900); text-wrap: balance; }
.section-title em { color: var(--maroon); }
html[lang="gu"] .section-title { line-height: 1.28; letter-spacing: 0; }

/* clip (not hidden) keeps background art inside without breaking sticky */
.section { position: relative; padding: var(--section) 0; overflow: hidden; overflow: clip; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head--row .text-link { margin-top: 24px; }

/* Section label: a short gold line, then a few spaced capitals */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before, .eyebrow--center::after { content: ""; width: 28px; height: 1.5px; background: var(--saffron); }
html[lang="gu"] .eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .03em; text-transform: none; }
.eyebrow--light { color: var(--saffron-soft); }
.section-intro { max-width: 620px; margin-top: 20px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Icons in place of words ---------- */
/* Section badge: a line icon in a double gold ring, where a label used to be */
.head-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; color: var(--maroon); border: 1px solid rgba(184, 134, 47, .5); outline: 1px solid rgba(184, 134, 47, .22); outline-offset: 5px; }
.head-ic .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.section-head--center .head-ic { margin-inline: auto; }
.head-ic--dark { color: var(--saffron-soft); border-color: rgba(246, 188, 99, .45); outline-color: rgba(246, 188, 99, .18); }

/* Icon in a soft saffron circle, with a short label under or beside it */
.ic-badge { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: var(--maroon); background: rgba(239, 157, 41, .1); border: 1px solid rgba(184, 134, 47, .32); transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.ic-badge .icon { width: 24px; height: 24px; stroke-width: 1.4; }
.ic-badge--lg { width: 68px; height: 68px; }
.ic-badge--lg .icon { width: 30px; height: 30px; }
.ic-badge--dark { color: var(--saffron-soft); background: rgba(246, 188, 99, .08); border-color: rgba(246, 188, 99, .3); }

/* Line icons draw themselves in once, as their block scrolls into view.
   Sprite shapes carry pathLength="1", so one dash value fits every icon. */
@keyframes kk-draw { from { stroke-dashoffset: 1.001; } to { stroke-dashoffset: 0; } }
.js .is-in :is(.head-ic, .ic-badge, .faq-ic) .icon,
.js .is-in:is(.head-ic) .icon { stroke-dasharray: 1 1.5; animation: kk-draw 1.3s cubic-bezier(.4, .1, .25, 1) both; animation-delay: calc(var(--d, 0s) + .2s); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .02em;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-700); }
.btn--saffron { background: var(--saffron); color: #2F1500; }
.btn--saffron:hover { background: var(--saffron-soft); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 16px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--outline { border-color: rgba(139, 0, 0, .3); color: var(--maroon); }
.btn--outline:hover { border-color: var(--maroon); background: rgba(139, 0, 0, .04); }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--maroon); }
.text-link > span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(139, 0, 0, .35); transition: text-decoration-color .25s; }
.text-link:hover > span { text-decoration-color: currentColor; }
.text-link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: rgba(255, 255, 255, .9); }
.text-link--light > span { text-decoration-color: rgba(255, 255, 255, .4); }

.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--maroon-900); transition: background-color .25s, border-color .25s, opacity .25s; }
.round-btn:hover { border-color: currentColor; }
.round-btn:disabled { opacity: .3; cursor: default; }
.round-btn:disabled:hover { border-color: var(--line); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.site-header::before { /* soft top scrim so white type reads on any photo */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 5, 3, .5), rgba(15, 5, 3, 0));
  transition: opacity .4s var(--ease);
}
.site-header.is-solid { background: rgba(251, 247, 240, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); }
.site-header.is-solid::before { opacity: 0; }

.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { position: relative; display: block; width: 104px; height: 42px; flex: none; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s var(--ease); }
.brand-logo--color { opacity: 0; }
.is-solid .brand-logo--color { opacity: 1; }
.is-solid .brand-logo--light { opacity: 0; }

.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Language toggle: one button, the thumb slides to the active half.
   Halves are equal (1fr 1fr) and each label keeps its own face, so the
   pill is the same size in both languages. */
.lang-switch { --thumb: #fff; --on: var(--maroon); position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .06); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.lang-switch::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--thumb); transition: transform .35s var(--ease), background-color .35s var(--ease); }
.lang-switch[data-on="gu"]::before { transform: translateX(100%); }
.lang-opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 10px; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; transition: color .25s; }
.lang-opt[lang="gu"] { font-family: "Anek Gujarati", "DM Sans", system-ui, sans-serif; font-size: 14px; letter-spacing: 0; }
.lang-switch[data-on="en"] .lang-opt[lang="en"], .lang-switch[data-on="gu"] .lang-opt[lang="gu"] { color: var(--on); }
.is-solid .lang-switch { --thumb: var(--maroon); --on: #fff; border-color: var(--line); background: #fff; }
.lang-switch--footer { --thumb: var(--saffron); --on: #2F1500; border-color: var(--line-light); background: rgba(255, 255, 255, .04); color: rgba(255, 243, 227, .8); }

/* Holds the width of the wider translation, so nothing beside it shifts */
.steady { display: inline-grid; }
.steady > * { grid-area: 1 / 1; text-align: center; }
.steady-ghost { visibility: hidden; }
.steady-ghost[lang="en"] { font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
.steady-ghost[lang="gu"] { font-family: "Anek Gujarati", "DM Sans", system-ui, sans-serif; }

/* Header Call button: on computers only (phones have the call bar) */
.header-call { display: none; border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.header-call:hover { background: rgba(255, 255, 255, .14); }
.is-solid .header-call { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.is-solid .header-call:hover { background: var(--maroon-700); }

.menu-toggle { display: inline-flex; width: 44px; height: 44px; margin-right: -8px; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; stroke-width: 1.5; }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -20px rgba(23, 8, 6, .35); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 0; }
.mobile-menu nav a { display: flex; align-items: center; gap: 16px; padding: 13px 0; font-family: var(--f-display); font-size: 23px; font-weight: var(--w-display); color: var(--maroon-900); border-bottom: 1px solid var(--line); }
.mobile-menu nav a .icon { width: 22px; height: 22px; stroke-width: 1.4; color: var(--gold-text); }
.mobile-menu-foot { padding: 22px var(--gutter) 26px; }

/* ---------- 1 · Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 2s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--hero-y, 50%); transform: scale(1.05); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: settle 12s var(--ease) forwards; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 6, 4, .9) 0%, rgba(18, 6, 4, .55) 42%, rgba(18, 6, 4, .12) 72%, rgba(18, 6, 4, .3) 100%); }
/* On wide screens the words sit on the left, and the upright photos fill a
   panel on the right that fades into the night on its left edge */
@media (min-width: 900px) and (orientation: landscape) {
  .hero-slides { left: auto; width: 56%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
}

.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: calc(44px + env(safe-area-inset-bottom)); }
/* What the venue has: three icons with one word each */
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; }
.hero-kicker li { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 231, 194, .94); }
.hero-kicker .icon { width: 22px; height: 22px; stroke-width: 1.4; color: var(--saffron-soft); }
html[lang="gu"] .hero-kicker li { font-size: 15.5px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.hero-title { max-width: 820px; font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(2.6rem, 1.5rem + 5vw, 5.6rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
html[lang="gu"] .hero-title { line-height: 1.18; letter-spacing: 0; }
.hero-title em { color: var(--saffron-soft); }
/* What and where, in plain words, under the headline (part of the h1 for search) */
.hero-where { display: block; margin-top: 18px; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; line-height: 1.6; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 231, 194, .94); }
html[lang="gu"] .hero-where { font-size: 16px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 36px; }
.hero-actions .btn { width: 100%; }

/* ---------- 2 · Intro + capacity ---------- */
.intro { text-align: center; }
.intro-inner { position: relative; max-width: calc(940px + var(--gutter) * 2); }
.intro-feather { display: block; width: 46px; margin: 0 auto 30px; }
.intro-feather .feather { width: 100%; }
.intro-text { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(1.45rem, 1.05rem + 1.8vw, 2.35rem); line-height: 1.45; color: var(--maroon-900); text-wrap: pretty; }
.intro-text em { color: var(--maroon); }
html[lang="gu"] .intro-text { line-height: 1.6; }
/* Who runs the venue, signed under the intro */
.intro-sign { margin-top: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
html[lang="gu"] .intro-sign { font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.figures-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(56px, 8vw, 92px); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.figures-head .icon { width: 20px; height: 20px; stroke-width: 1.4; }
html[lang="gu"] .figures-head { font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: none; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--line); }
.figures li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 6px 0; }
.figures li + li { border-left: 1px solid var(--line); }
.fig-num { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1; color: var(--maroon); }
.fig-label { max-width: 17ch; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="gu"] .fig-label { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* ---------- 3 · The whole campus ---------- */
.aerial img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.aerial figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px var(--gutter) 0; font-size: 14px; color: var(--muted); }
.aerial figcaption .icon { width: 18px; height: 18px; color: var(--gold-text); }

/* ---------- 4 · Spaces: a white card per space ---------- */
.spaces { background: var(--ivory-2); }
.space-grid { display: grid; gap: 24px; }
.space-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid rgba(110, 9, 9, .06); box-shadow: var(--shadow-card); }
/* Every photo keeps its shape; when cards in a row differ in height, the
   words take up the slack, never the photo */
.space-img { position: relative; flex: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.space-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.space-card:hover .space-img img { transform: scale(1.045); }
.cap-badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--maroon); background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px -6px rgba(23, 8, 6, .35); }
.cap-badge .icon { width: 17px; height: 17px; }
html[lang="gu"] .cap-badge { font-size: 14.5px; font-weight: 600; }
.space-body { flex: 1 0 auto; display: flex; flex-direction: column; padding: clamp(22px, 2.5vw, 30px); }
/* The meter (or link) sits at the foot of the card, level across a row */
.space-body .chip-list { margin-bottom: auto; }
.space-kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
html[lang="gu"] .space-kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.space-name { margin-top: 6px; font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); line-height: 1.15; color: var(--maroon-900); }
html[lang="gu"] .space-name { line-height: 1.3; }
/* What the space suits: small chips, an icon in each */
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip-list li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--maroon-700); background: var(--ivory-2); border: 1px solid var(--line); }
.chip-list .icon { width: 17px; height: 17px; color: #D7841A; }
html[lang="gu"] .chip-list li { font-size: 14px; font-weight: 500; }
/* People meter: ten figures, filled to the space's share of 2,500 guests */
.cap-meter { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(139, 0, 0, .16); }
.cap-people { --person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 38'%3E%3Ccircle cx='10' cy='7.5' r='5.4'/%3E%3Cpath d='M3 37V23a7 7 0 0 1 14 0v14z'/%3E%3C/svg%3E"); position: relative; flex: 1 1 auto; max-width: 290px; aspect-ratio: 10 / 1.9; }
.cap-people::before, .cap-people i { content: ""; position: absolute; inset: 0; -webkit-mask: var(--person) 0 0 / 10% 100% repeat-x; mask: var(--person) 0 0 / 10% 100% repeat-x; }
.cap-people::before { background: rgba(139, 0, 0, .12); }
.cap-people i { background: var(--maroon); clip-path: inset(0 calc(100% - var(--fill, 1) * 100%) 0 0); }
.js .cap-people i { transition: clip-path 1.8s cubic-bezier(.5, 0, .2, 1) calc(var(--d, 0s) + .5s); }
.js .reveal:not(.is-in) .cap-people i { clip-path: inset(0 100% 0 0); }
.cap-num { flex: none; min-width: 3.4ch; font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; font-weight: 600; line-height: 1; color: var(--maroon); }
.space-card .text-link { align-self: flex-start; margin-top: 18px; }

/* ---------- Rails: a sideways row of photos (spots) ---------- */
/* The first photo lines up with the page's text column; the rest run off
   the edge, so it's clear there's more to swipe. */
.rail {
  --inset: max(var(--gutter), calc((100% - var(--max)) / 2));
  display: flex; gap: clamp(14px, 2vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--inset); scroll-padding-inline: var(--inset);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }
.rail-controls { display: none; gap: 10px; flex: none; }

/* ---------- 5 · Signature spots ---------- */
.spots { background: var(--night); color: var(--cream-text); }
.spots .section-title { color: var(--cream-text); }
.spots .section-title em { color: var(--saffron-soft); }
.spots .round-btn { border-color: var(--line-light); color: var(--cream-text); }
.spots .round-btn:disabled:hover { border-color: var(--line-light); }
.spot { width: 84vw; max-width: 600px; }
.spot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #2a120e; }
.spot figcaption { margin-top: 18px; font-family: var(--f-display); font-style: italic; font-size: 18px; line-height: 1.4; color: rgba(255, 243, 227, .82); }
html[lang="gu"] .spot figcaption { font-style: normal; }

/* ---------- 5b · Night film: carries on the spots' night band ---------- */
.film { background: var(--night); color: var(--cream-text); padding-top: 0; }
.film .section-title { color: var(--cream-text); }
.film .section-title em { color: var(--saffron-soft); }
.film-head { margin-bottom: clamp(32px, 5vw, 56px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-light); }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #2a120e; outline: 1px solid rgba(255, 240, 220, .16); outline-offset: 8px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-sound { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(23, 8, 6, .55); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s; }
.film-sound:hover { background: rgba(23, 8, 6, .75); }
.film-sound .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .film-frame { border-radius: 10px; outline-offset: 6px; }
  .film-sound { right: 8px; bottom: 8px; min-height: 32px; padding: 0 11px; gap: 6px; font-size: 12px; }
  .film-sound .icon { width: 15px; height: 15px; }
}
.film-sound[aria-pressed="false"] .when-sound, .film-sound[aria-pressed="true"] .when-muted { display: none; }
.film-list { display: flex; justify-content: center; gap: clamp(20px, 6vw, 64px); margin-top: 40px; }
.film-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; line-height: 1.3; color: rgba(255, 243, 227, .8); }
html[lang="gu"] .film-list li { font-size: 14.5px; }

/* ---------- 6 · Facilities ---------- */
.facilities { background: var(--ivory-2); }
.fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; max-width: 1000px; margin: 0 auto; }
.fac { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(1.08rem, .98rem + .4vw, 1.3rem); line-height: 1.3; color: var(--maroon-900); }
.fac:hover .ic-badge { background: var(--maroon); border-color: var(--maroon); color: #FFE7C2; transform: rotate(-8deg) scale(1.06); }

/* ---------- 7 · Video tour ---------- */
.tour { background: linear-gradient(165deg, var(--maroon-900) 0%, #1E0907 100%); color: var(--cream-text); }
.tour .section-title { color: var(--cream-text); }
.tour .section-title em { color: var(--saffron-soft); }
.tour-grid { position: relative; display: grid; gap: 56px; }
/* What the video shows: four icons, one word each */
.tour-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 420px; margin-top: 36px; }
.tour-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; line-height: 1.3; color: rgba(255, 243, 227, .8); }
html[lang="gu"] .tour-list li { font-size: 14.5px; }
.tour .btn { margin-top: 40px; }
.tour-video { justify-self: center; }
.video-frame { position: relative; width: min(320px, 76vw); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; outline: 1px solid rgba(255, 240, 220, .16); outline-offset: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, transform .3s var(--ease), opacity .3s; }
.play-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.04); }
.play-btn .icon { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.video-frame.is-playing .play-btn { opacity: 0; pointer-events: none; }

/* ---------- 8 · Gallery: filters + masonry ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--maroon-700); background: #fff; border: 1.5px solid var(--line); transition: background-color .2s, border-color .2s, color .2s; }
html[lang="gu"] .filter { font-size: 15.5px; font-weight: 500; }
.filter .icon { width: 18px; height: 18px; color: #D7841A; transition: color .2s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.filter:hover { border-color: rgba(139, 0, 0, .35); }
.filter:hover .icon { transform: rotate(-8deg) scale(1.08); }
.filter.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.filter.is-active .icon { color: var(--saffron-soft); }
.masonry { columns: 2; column-gap: 10px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 10px; overflow: hidden; break-inside: avoid; border-radius: 10px; background: var(--sand); animation: fadeUp .5s var(--ease) both; }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-tag { position: absolute; top: 10px; left: 10px; display: none; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--maroon); background: rgba(255, 255, 255, .9); }
.g-tag .icon { width: 13px; height: 13px; }
html[lang="gu"] .g-tag { font-size: 12.5px; font-weight: 600; letter-spacing: 0; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left; color: #fff; background: linear-gradient(180deg, transparent, rgba(23, 8, 6, .75)); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.gallery-more { display: flex; justify-content: center; margin-top: 26px; }
.gallery-more[hidden] { display: none; }

/* ---------- 9 · FAQ ---------- */
.faq { background: var(--ivory-2); }
.faq-grid { display: grid; gap: 44px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--maroon-900); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--maroon); background: rgba(239, 157, 41, .1); border: 1px solid rgba(184, 134, 47, .32); transition: background-color .3s var(--ease), color .3s var(--ease); }
.faq-ic .icon { width: 21px; height: 21px; stroke-width: 1.4; }
.faq-list details[open] .faq-ic { background: var(--maroon); border-color: var(--maroon); color: #FFE7C2; }
.faq-plus { color: var(--maroon); stroke-width: 1.3; transition: transform .35s var(--ease); }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 36px 22px 60px; color: var(--ink-2); }
.faq-list details p a { color: var(--maroon); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(139, 0, 0, .35); text-underline-offset: 3px; }

/* ---------- 10 · Call ---------- */
.contact { text-align: center; color: var(--cream-text); background: radial-gradient(120% 90% at 50% 0%, #5A0D0B 0%, var(--maroon-900) 48%, var(--night) 100%); }
.contact-inner { position: relative; max-width: calc(760px + var(--gutter) * 2); }
.contact-diya { display: block; width: 76px; margin: 0 auto 14px; }
.contact-diya .diya { width: 100%; height: auto; margin: 0; }
.contact .section-title { color: var(--cream-text); }
.contact .section-title em { color: var(--saffron-soft); }
.contact .section-intro { margin-inline: auto; color: rgba(255, 243, 227, .78); }
.contact-host { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 17px; color: rgba(255, 243, 227, .85); }
.contact-host .icon { width: 22px; height: 22px; stroke-width: 1.4; color: var(--saffron-soft); }
.contact-number { display: inline-block; margin-top: 22px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem); line-height: 1; letter-spacing: .01em; color: var(--saffron-soft); transition: color .25s; }
.contact-number:hover { color: #FFE7C2; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; }

/* ---------- Footer ---------- */
/* Brand, Explore, Contact, Language: four columns on computers;
   on phones Explore and Contact share a row between the other two */
.site-footer { background: var(--night); color: rgba(255, 243, 227, .7); padding-top: 72px; border-top: 1px solid rgba(255, 243, 227, .07); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding-bottom: 48px; }
.footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
.footer-logo { width: 170px; }
.footer-tag { margin-top: 18px; font-family: "Rasa", serif; font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--saffron-soft); }
.footer-sub { margin-top: 6px; font-size: 14px; }
.footer-h { margin-bottom: 16px; font-family: var(--f-body); font-size: 12.5px; font-weight: 700; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-text); }
html[lang="gu"] .footer-h { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 243, 227, .82); transition: color .2s; }
.footer-links .icon { width: 16px; height: 16px; color: var(--saffron); }
.footer-links a:hover { color: var(--saffron-soft); }
.footer-hours { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 243, 227, .82); }
.footer-dir { display: flex; align-items: flex-start; gap: 10px; max-width: 280px; margin-top: 20px; line-height: 1.5; transition: color .2s; }
.footer-dir .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--saffron); }
.footer-dir:hover { color: var(--cream-text); }
.footer-bottom { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); font-size: 13px; color: rgba(255, 243, 227, .5); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 243, 227, .1); }
.to-top:hover { color: var(--saffron-soft); }

/* ---------- Phone call bar ---------- */
/* Shown once the hero's own Call button has scrolled away, hidden again
   over the call section and footer (main.js toggles .is-shown) */
.call-bar { position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 55; max-width: 440px; margin: 0 auto; display: flex; gap: 10px; opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; transition: transform .5s var(--ease), opacity .35s var(--ease); }
.call-bar.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.call-bar-call { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: .02em; color: #fff; background: var(--maroon); box-shadow: 0 0 0 1px rgba(255, 231, 194, .22), 0 18px 36px -14px rgba(23, 8, 6, .7), inset 0 1px 0 rgba(255, 255, 255, .12); }
.call-bar-call .icon { width: 19px; height: 19px; }
.call-bar-wa { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wa); box-shadow: 0 18px 36px -14px rgba(31, 175, 90, .8); }
.call-bar-wa .icon { width: 26px; height: 26px; }
.call-bar a:active { transform: scale(.97); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 64px 8px 90px; background: rgba(15, 5, 3, .96); animation: fadeIn .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1400px, 100%); }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; border-radius: var(--radius); object-fit: contain; }
/* While a photo loads, a shimmer frame of its shape stands in for it */
.lb-figure.is-loading img { display: none; }
.lb-figure.is-loading::before { content: ""; width: min(calc(100vw - 32px), 1400px, calc((100svh - 170px) * var(--ar, 1.5))); aspect-ratio: var(--ar, 1.5); border-radius: var(--radius); }
.lb-figure figcaption { color: rgba(255, 243, 227, .8); font-size: 14.5px; text-align: center; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); }
.lb-nav { position: absolute; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); transition: background .2s; }
.lb-prev { left: calc(50% - 64px); }
.lb-next { right: calc(50% - 64px); }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .2); }
.lb-close .icon, .lb-nav .icon { width: 24px; height: 24px; }

/* ---------- Intro loader (js/loader.js) ---------- */
html.kk-loading, html.kk-loading body { overflow: hidden; }
.kk-loader { display: none; }
.kk-loading .kk-loader { display: block; position: fixed; inset: 0; z-index: 1000; overflow: hidden; background: var(--ivory); }
.kk-l-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.kk-mandala path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kk-mandala .m { stroke: var(--maroon); }
.kk-mandala .s { stroke: var(--saffron); }
.kk-mandala path.fs { fill: var(--saffron); stroke: none; }
.kk-mandala path.fi { fill: var(--ivory); stroke: none; }
#kk-bindu { fill: var(--saffron); }
#kk-rim circle { fill: none; stroke: var(--saffron); }
/* Inside the iris: ivory field, faint turning mandala, the logo */
.kk-portal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ivory); clip-path: circle(0px at 50% 50%); }
.kk-logo { position: relative; width: min(84vw, 100vh, 820px); aspect-ratio: 1532 / 612; margin-bottom: 4vh; opacity: 0; }
.kk-logo img { display: block; width: 100%; height: 100%; }
.kk-glint { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 246, 228, .5) 50%, transparent 60%) 100% 0 / 300% 100% no-repeat; -webkit-mask: url(../assets/img/logo.svg?v=cf8b6c7d) center / 100% 100% no-repeat; mask: url(../assets/img/logo.svg?v=cf8b6c7d) center / 100% 100% no-repeat; }

/* =========================================================
   Festive illustrations and background patterns (all aria-hidden)
   ========================================================= */
/* Turning mandala patterns behind a few sections */
.mandala { position: absolute; z-index: -1; width: 560px; height: 560px; opacity: .1; pointer-events: none; animation: spin 160s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro, .tour, .contact { isolation: isolate; }
.mandala--about { top: -150px; right: -230px; }
.mandala--tour { left: -240px; bottom: -220px; opacity: .08; }
.mandala--contact { right: -200px; top: -170px; opacity: .1; }

/* Toran: a marigold-and-leaf door hanging, just below the hero */
.toran { position: absolute; top: 0; left: 0; width: 100%; height: clamp(64px, 6.4vw, 92px); pointer-events: none; }
.toran .t-cord { fill: none; stroke: var(--maroon); stroke-width: 1.3; stroke-linecap: round; opacity: .55; }
.toran .t-bead { fill: var(--saffron); stroke: #D7841A; stroke-width: .8; }
.toran .t-bead--alt { fill: var(--saffron-soft); }
.toran .t-eye { fill: var(--maroon); opacity: .7; }
.toran .t-leaf { fill: rgba(139, 0, 0, .07); stroke: var(--maroon); stroke-width: 1.2; stroke-linejoin: round; }
.toran .t-rib { fill: none; stroke: var(--maroon); stroke-width: .8; stroke-linecap: round; opacity: .5; }
.toran .t-bell { fill: var(--saffron-soft); stroke: var(--maroon); stroke-width: 1.1; stroke-linejoin: round; }
.t-sway { transform-box: fill-box; transform-origin: 50% 0; animation: kk-sway 3.8s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -.53s); }
.t-sway--str { animation-duration: 4.6s; }
@keyframes kk-sway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }

/* Peacock feather (mor pankh) above the name's meaning */
.feather { display: block; height: auto; overflow: visible; }
.feather .f-barb { fill: none; stroke: var(--saffron); stroke-width: .9; stroke-linecap: round; opacity: .75; }
.feather .f-quill { fill: none; stroke: var(--maroon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feather .f-eye1 { fill: rgba(239, 157, 41, .16); stroke: #D7841A; stroke-width: 1.4; }
.feather .f-eye2 { fill: rgba(139, 0, 0, .08); stroke: var(--maroon); stroke-width: 1.3; }
.feather .f-eye3 { fill: var(--maroon); }
.feather .f-glint { fill: var(--saffron-soft); animation: kk-glint 3.2s ease-in-out infinite; }
.feather-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: kk-feather 5s ease-in-out infinite alternate; }
@keyframes kk-feather { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }
@keyframes kk-glint { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* Diya above "Book your date" */
.diya { display: block; overflow: visible; }
.diya .diya-bowl { fill: rgba(239, 157, 41, .14); stroke: var(--saffron); stroke-width: 1.8; stroke-linejoin: round; }
.diya .diya-line { fill: none; stroke: var(--saffron); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.diya .diya-dots { fill: none; stroke: var(--saffron-soft); stroke-width: 2.4; stroke-linecap: round; }
.diya .diya-wick { fill: none; stroke: #FFE7C2; stroke-width: 1.6; stroke-linecap: round; }
.diya-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: kk-flicker 2.4s ease-in-out infinite; }
.diya-glow { transform-box: fill-box; transform-origin: 50% 50%; animation: kk-glow 2.4s ease-in-out infinite; }
@keyframes kk-flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  20% { transform: scale(.96, 1.05) skewX(-2deg); }
  45% { transform: scale(1.03, .96) skewX(1.5deg); }
  70% { transform: scale(.98, 1.03) skewX(-1deg); }
}
@keyframes kk-glow { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* Floating celebration motifs behind each section (js/motifs.js).
   Line art in a 100×100 box: a = line, b = accent line, t/u = soft tints, f = accent fill. */
.has-motifs { isolation: isolate; }
.site-footer.has-motifs { position: relative; overflow: hidden; }
.motifs { --k: 1; --band: clamp(38px, 5vw, 66px); position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; color: var(--maroon); --mo-b: #D7841A; }
.motifs--dark { color: var(--saffron-soft); --mo-b: #FFE7C2; }
.motif {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--s) * var(--k)); height: calc(var(--s) * var(--k));
  margin: calc(var(--s) * var(--k) / -2) 0 0 calc(var(--s) * var(--k) / -2);
  opacity: .3;
  transform: translate3d(0, calc(var(--p, 0) * var(--z, .5) * 1px), 0);
  transition: opacity .5s var(--ease);
}
.motifs--dark .motif { opacity: .24; }
.motifs .motif.is-off { opacity: 0; } /* landed behind text (motifs.js) */
.motif svg { display: block; width: 100%; height: 100%; overflow: visible; stroke-width: 1.5; rotate: var(--r); animation: kk-drift var(--t, 12s) ease-in-out var(--dl, 0s) infinite alternate; }
.motif svg * { vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.motif .a { fill: none; stroke: currentColor; }
.motif .b { fill: none; stroke: var(--mo-b); }
.motif .t { fill: currentColor; fill-opacity: .07; }
.motif .u { fill: var(--mo-b); fill-opacity: .16; }
.motif .f { fill: var(--mo-b); stroke: none; }
.motif--hang { margin-top: 0; }
.motif--hang svg { transform-origin: 50% 0; animation-name: kk-hang; animation-duration: calc(var(--t) * .45); }
@keyframes kk-drift {
  0% { translate: 0 0; rotate: var(--r); }
  50% { translate: var(--dx) calc(var(--dy) * -1); rotate: calc(var(--r) + var(--dr)); }
  100% { translate: calc(var(--dx) * -.6) var(--dy); rotate: calc(var(--r) - var(--dr) * .6); }
}
@keyframes kk-hang { from { rotate: -5deg; } to { rotate: 5deg; } }

/* Pushp varsha: petals drifting down */
.petal-lane { position: absolute; top: -30px; left: var(--x); width: 0; height: 100%; animation: kk-fall var(--t, 24s) linear var(--dl, 0s) infinite; }
.petal { position: absolute; top: 0; left: -6px; width: 12px; height: 16px; border-radius: 100% 0 100% 0 / 100% 0 100% 0; background: var(--saffron); opacity: .5; transform: rotate(var(--pr, 0deg)); animation: kk-flutter var(--ft, 5s) ease-in-out var(--dl, 0s) infinite alternate; }
.petal--1 { background: var(--saffron-soft); width: 10px; height: 13px; }
.petal--2 { background: var(--maroon); opacity: .28; width: 11px; height: 14px; }
.motifs--dark .petal { opacity: .55; }
.motifs--dark .petal--2 { background: #E8574A; opacity: .4; }
@keyframes kk-fall { 0% { translate: 0 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { translate: 0 100%; opacity: 0; } }
@keyframes kk-flutter { from { translate: calc(var(--sw, 20px) * -1) 0; rotate: .5 1 .2 -55deg; } to { translate: var(--sw, 20px) 0; rotate: .5 1 .2 55deg; } }

@media (min-width: 1700px) { .motifs { --k: 1.15; } }
@media (max-width: 760px) {
  .motifs { --k: .68; }
  .motifs .motif { opacity: .24; }
  .motifs .motif--wide { display: none; }
  .mandala { width: 420px; height: 420px; }
}

/* Looping decoration runs only while it is on screen (main.js toggles .is-live) */
.js .kk-anim:not(.is-live),
.js .kk-anim:not(.is-live) :is(.t-sway, .feather-sway, .f-glint, .diya-flame, .diya-glow, .motif svg, .petal-lane, .petal) { animation-play-state: paused !important; }

/* ---------- Reveal on scroll: a slow, quiet fade ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Phone layout helpers
   One page serves every screen. These shared classes change how
   a piece sits on a phone, so anything new built from them gets
   the phone treatment automatically:

   .swipe          on a grid of cards: a sideways row with dots
                   on phones, the normal grid everywhere else.
   .rail           a sideways row of photos on every screen, with
                   arrow buttons on computers (.rail-controls).
   .hide-on-phone  anything a phone doesn't need, e.g. a Call
                   button the call bar already offers.
   <picture> + <source media="(max-width: 640px)">  an upright
                   photo for phones (see the hero slides).
   ========================================================= */
.swipe-dots { display: none; }

@media (max-width: 640px) {
  .hide-on-phone { display: none !important; }

  /* Swipe rows: cards run edge to edge, the next one peeking in */
  .swipe { display: flex; gap: 14px; overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding-inline: var(--gutter); contain: inline-size; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 var(--swipe-w, 72%); min-width: 0; scroll-snap-align: start; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
  .swipe-dots i { width: 5px; height: 5px; border-radius: 3px; background: var(--maroon-900); opacity: .2; transition: width .3s var(--ease), opacity .3s var(--ease), background-color .3s var(--ease); }
  .swipe-dots i.is-on { width: 18px; opacity: 1; background: var(--gold); }
  /* (extra room above and below, taken back by the margins, keeps card shadows) */
  .space-grid { --swipe-w: 84%; margin-top: -16px; margin-bottom: -22px; padding-top: 16px; padding-bottom: 30px; }

  /* Inside a swipe card, chips read as one quiet line: a · b · c */
  .swipe .chip-list { display: block; }
  .swipe .chip-list li { display: inline; padding: 0; border: 0; background: none; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
  .swipe .chip-list li + li::before { content: "·"; margin: 0 7px; color: #D7841A; font-weight: 700; }
  .swipe .chip-list .icon { display: none; }

  /* Gallery filters: one sideways row of compact pills */
  .filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; contain: inline-size; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 36px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; min-height: 40px; padding: 0 14px; gap: 6px; font-size: 13.5px; }
  html[lang="gu"] .filter { font-size: 14.5px; }
  .filter .icon { width: 17px; height: 17px; }
  .section-intro { font-size: 16px; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 641px) {
  .hero-actions { flex-direction: row; gap: 30px; }
  .hero-actions .btn { width: auto; }
  .aerial img { aspect-ratio: auto; height: clamp(420px, 80svh, 880px); }
  .contact-actions { flex-direction: row; justify-content: center; }
  .fac-grid { grid-template-columns: repeat(4, 1fr); }
  .masonry { columns: 4 240px; column-gap: 14px; }
  .g-item { margin-bottom: 14px; border-radius: 14px; }
  .g-tag { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; padding-bottom: 26px; }
  .lb-nav { position: static; }
  .lightbox { padding: 64px 16px 24px; }
}

@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .brand { width: 126px; height: 50px; }
  .header-actions { gap: 12px; }
  .header-call { display: inline-flex; }
  .lang-opt { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .lang-opt[lang="gu"] { font-size: 15px; }

  .hero-shade { background:
    linear-gradient(90deg, rgba(18, 6, 4, .78) 0%, rgba(18, 6, 4, .45) 40%, rgba(18, 6, 4, 0) 72%),
    linear-gradient(0deg, rgba(18, 6, 4, .7) 0%, rgba(18, 6, 4, 0) 50%); }
  .hero-content { padding-bottom: clamp(72px, 13vh, 136px); }

  .section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .section-head--row > div:first-child { max-width: 760px; }
  .section-head--row .text-link { margin: 0 0 10px; }
  .rail-controls { display: flex; }
  /* Title on the left, a short line of context on the right */
  .section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
  .section-head--split > div { max-width: 640px; }
  .section-head--split > .section-intro { max-width: 460px; margin: 0 0 6px; }

  /* Spaces: two cards a row, the wider one switching sides */
  /* Each card takes two grid rows, photo and words, so both cards in a
     row share one photo height and one text height */
  .space-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .space-card { grid-column: span 5; grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .space-card--feature { grid-column: span 7; }
  .space-img { width: 100%; align-self: stretch; }
  .space-card--feature .space-img { aspect-ratio: 16 / 10; }

  .spot { width: clamp(380px, 40vw, 600px); }

  .fac-grid { gap: 56px 32px; }

  .tour-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(56px, 9vw, 140px); }
  .tour-video { justify-self: end; margin-right: 10px; }
  .video-frame { width: 330px; }

  .faq-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .faq-list summary { font-size: 18px; padding: 26px 0; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
  .footer-brand { grid-column: auto; }

  .call-bar { display: none; }
}

@media (min-width: 1100px) {
  .main-nav { display: flex; gap: 4px; margin-left: auto; }
  .main-nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; letter-spacing: .03em; opacity: .9; transition: opacity .2s; }
  html[lang="gu"] .main-nav a { font-size: 15.5px; }
  .main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .main-nav a:hover, .main-nav a.is-current { opacity: 1; }
  .main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
  .header-actions { margin-left: 20px; }
  .menu-toggle { display: none; }
}

@media (max-width: 360px) {
  .brand { width: 92px; height: 38px; }
  .lang-opt { padding: 0 8px; font-size: 12px; }
  .lang-opt[lang="gu"] { font-size: 13px; }
  .fig-label { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: none; }
  .skel, .lb-figure.is-loading::before { animation: none !important; }
  .petal-lane { display: none; }
  .js .is-in :is(.head-ic, .ic-badge, .faq-ic) .icon, .js .is-in:is(.head-ic) .icon { animation: none !important; stroke-dasharray: none; }
}
