/* ==========================================================================
   JEENMATA.IN — "Aravalli Twilight" design system
   Deep twilight indigo of the Shekhawati night sky, champagne gold of the
   temple shikhar, lotus-rose of the chunari, and lilac morning mist.
   ========================================================================== */

:root {
  --night: #140F26;
  --indigo: #221A40;
  --indigo-2: #33275C;
  --violet: #4A3A80;
  --lilac: #ECE7F6;
  --lilac-2: #DED6F0;
  --mist: #F8F6FC;
  --paper: #FFFFFF;
  --gold: #D8B260;
  --gold-soft: #F1E2B9;
  --gold-text: #6E5110;
  --lotus: #B3305C;
  --lotus-deep: #8E2147;
  --lotus-soft: #F8E1EA;
  --ink: #211A33;
  --ink-soft: #4F4766;
  --line: #DCD4EC;
  --on-dark: #F5F1FB;
  --on-dark-soft: #CBC2E3;

  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-deva: "Yatra One", "Noto Sans Devanagari", serif;

  --header-h: 78px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1240px;
  --r-lg: 28px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 24px 50px -28px rgba(20, 15, 38, .55);
  --shadow-soft: 0 12px 30px -20px rgba(20, 15, 38, .4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--mist);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lotus-deep); text-underline-offset: 3px; }
a:hover { color: var(--lotus); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 3.4vw + 1.3rem, 4.8rem); }
h2 { font-size: clamp(2rem, 2vw + 1.2rem, 3.3rem); }
h3 { font-size: clamp(1.4rem, .7vw + 1.1rem, 1.85rem); }
h4 { font-size: 1.25rem; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }
.deva { font-family: var(--f-deva); font-weight: 400; }
.lead { font-size: clamp(1.12rem, .4vw + 1rem, 1.3rem); line-height: 1.7; color: var(--ink-soft); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--lotus-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #E7C67C; color: var(--night); }
.btn-lotus { background: var(--lotus); color: #fff; }
.btn-lotus:hover { background: var(--lotus-deep); color: #fff; }
.btn-ghost { border-color: rgba(245, 241, 251, .55); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { border-color: var(--violet); color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: var(--on-dark); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   HEADER — sticky
   ========================================================================== */
.topline {
  background: var(--night); color: var(--on-dark-soft);
  font-size: .82rem; letter-spacing: .04em;
}
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topline a { color: var(--gold-soft); text-decoration: none; }
.topline a:hover { color: #fff; }
.topline .deva { color: var(--gold); font-size: .95rem; }
.topline-links { display: flex; gap: 22px; }

.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: rgba(20, 15, 38, .97);
  border-bottom: 1px solid rgba(216, 178, 96, .28);
  transition: box-shadow .3s ease, background .3s ease;
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(20, 15, 38, .95); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.site-header.scrolled { box-shadow: 0 14px 32px -18px rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-size: 1.65rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.brand-sub { font-family: var(--f-deva); font-size: .86rem; color: var(--gold); margin-top: 3px; }
.brand:hover .brand-name { color: var(--gold-soft); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { margin: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 13px;
  color: var(--on-dark); text-decoration: none; font-size: .95rem; font-weight: 500; letter-spacing: .015em;
  border-radius: 8px; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.main-nav a:hover { color: var(--gold-soft); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.nav-cta { margin-left: 10px; }
.main-nav a.nav-cta { background: var(--gold); color: var(--night); padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta[aria-current="page"] { background: #E7C67C; color: var(--night); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(216, 178, 96, .5);
  background: transparent; color: var(--on-dark); cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s ease, background .3s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    background: var(--night); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 18px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s;
    border-top: 1px solid rgba(216, 178, 96, .25);
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; margin-inline: auto; }
  .main-nav li { border-bottom: 1px solid rgba(203, 194, 227, .14); }
  .main-nav a { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; padding: 16px 4px; }
  .main-nav a::after { display: none; }
  .main-nav li:last-child { border-bottom: 0; padding-top: 22px; }
  .main-nav a.nav-cta { margin: 0; text-align: center; font-family: var(--f-body); font-size: 1rem; padding: 14px 20px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topline .wrap { justify-content: center; text-align: center; }
  .topline-links { display: none; }
  :root { --header-h: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .78rem; }
}

/* ==========================================================================
   SHARED DECOR
   ========================================================================== */
.on-dark { background: var(--indigo); color: var(--on-dark); }
.on-dark p, .on-dark li { color: var(--on-dark-soft); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a:not(.btn) { color: var(--gold-soft); }
.on-dark a:not(.btn):hover { color: #fff; }
.bg-night { background: var(--night); }
.bg-lilac { background: var(--lilac); }
.bg-paper { background: var(--paper); }
.bg-lotus-soft { background: var(--lotus-soft); }

/* Jali (lattice) texture — pure CSS so no image is reused */
.jali { position: relative; isolation: isolate; }
.jali::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 9px, var(--gold) 9.5px, var(--gold) 10.5px, transparent 11px),
    radial-gradient(circle at 0 0, transparent 9px, var(--gold) 9.5px, var(--gold) 10.5px, transparent 11px);
  background-size: 40px 40px;
}

.divider-diya { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--gold); margin: 0 auto; }
.divider-diya::before, .divider-diya::after { content: ""; flex: 1; max-width: 160px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.divider-diya::after { background: linear-gradient(90deg, currentColor, transparent); }
.divider-diya svg { width: 28px; height: 28px; }

/* Figure — every image shown in full, never cropped */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--r); }
.figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; padding-left: 14px; border-left: 2px solid var(--gold); }
.on-dark .figure figcaption { color: var(--on-dark-soft); }
.frame-gold { padding: 10px; background: linear-gradient(145deg, var(--gold), #9E7A2E 60%, var(--gold-soft)); border-radius: calc(var(--r) + 10px); box-shadow: var(--shadow); }
.frame-gold img { border-radius: var(--r); }
.frame-paper { padding: 12px; background: #fff; border-radius: calc(var(--r) + 12px); box-shadow: var(--shadow); }

/* Arch frame: decorative arch BEHIND a full rectangular image */
.arch-stage { position: relative; padding: 34px 26px 26px; }
.arch-stage::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px 999px 26px 26px;
  border: 1.5px solid rgba(216, 178, 96, .6);
  background: linear-gradient(180deg, rgba(216, 178, 96, .16), rgba(179, 48, 92, .12));
}
.arch-stage::after {
  content: ""; position: absolute; inset: 12px; border-radius: 999px 999px 18px 18px;
  border: 1px dashed rgba(216, 178, 96, .35); pointer-events: none;
}
.arch-stage > * { position: relative; z-index: 1; }
.arch-stage img { border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }

/* Reveal animation (only when JS is active) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* Page hero shared bits */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; letter-spacing: .04em; }
.crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--on-dark-soft); }
.crumbs li + li::before { content: "✦"; color: var(--gold); font-size: .7rem; }
.crumbs a { color: var(--gold-soft); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs.dark li { color: var(--ink-soft); }
.crumbs.dark a { color: var(--lotus-deep); }

/* ==========================================================================
   HOME
   ========================================================================== */
.home-hero { background: radial-gradient(120% 90% at 85% 10%, #3A2A6E 0%, var(--indigo) 45%, var(--night) 100%); color: var(--on-dark); overflow: hidden; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 110px); }
.home-hero h1 { color: #fff; margin-bottom: .35em; }
.home-hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.home-hero .hero-deva { font-family: var(--f-deva); color: var(--gold-soft); font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem); margin-bottom: 18px; display: block; }
.home-hero p { color: var(--on-dark-soft); max-width: 600px; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(216, 178, 96, .25); max-width: 600px; }
.hero-facts strong { display: block; font-family: var(--f-display); font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); color: var(--gold); line-height: 1.1; }
.hero-facts span { font-size: .86rem; color: var(--on-dark-soft); line-height: 1.4; display: block; margin-top: 4px; }
.hero-visual { position: relative; }
.hero-visual .badge {
  position: relative; z-index: 3; display: block; width: max-content; margin: -26px 0 0 26px; background: var(--lotus); color: #fff;
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow); max-width: 220px; line-height: 1.35; font-size: .92rem;
}
.hero-visual .badge strong { display: block; font-family: var(--f-deva); font-weight: 400; font-size: 1.15rem; margin-bottom: 2px; }

.marquee { background: var(--gold); color: var(--night); overflow: hidden; padding: 14px 0; border-block: 1px solid #B9934A; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--f-deva); font-size: 1.25rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; font-family: var(--f-body); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro split: sticky aside */
.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.intro-aside { position: sticky; top: calc(var(--header-h) + 30px); }
.intro-aside h2 { font-size: clamp(2.2rem, 2.4vw + 1.2rem, 3.6rem); }
.drop-cap::first-letter { float: left; font-family: var(--f-display); font-size: 4.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--lotus); font-weight: 700; }
.quote-scripture {
  margin: 36px 0; padding: 28px 30px; background: var(--indigo); color: var(--on-dark); border-radius: var(--r);
  border-left: 4px solid var(--gold); position: relative;
}
.quote-scripture p { color: var(--gold-soft); font-family: var(--f-deva); font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem); line-height: 1.7; margin-bottom: 12px; }
.quote-scripture .tr { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--on-dark); margin-bottom: 10px; }
.quote-scripture cite { font-style: normal; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }

/* Bento of pages */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 30px; border-radius: var(--r-lg); text-decoration: none; min-height: 250px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--ink); }
.bento-card h3 { margin-bottom: 8px; }
.bento-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.bento-card .num { font-family: var(--f-display); font-size: 1rem; letter-spacing: .2em; color: var(--lotus-deep); font-weight: 700; }
.bento-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--lotus-deep); font-size: .95rem; }
.bento-card .go svg { width: 18px; height: 18px; transition: transform .3s ease; }
.bento-card:hover .go svg { transform: translateX(5px); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.dark { background: var(--indigo); border-color: var(--indigo-2); color: var(--on-dark); }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: var(--on-dark-soft); }
.bento-card.dark .num, .bento-card.dark .go { color: var(--gold); }
.bento-card.dark:hover { color: var(--on-dark); }
.bento-card.lotus { background: var(--lotus); border-color: var(--lotus); color: #fff; }
.bento-card.lotus h3, .bento-card.lotus p, .bento-card.lotus .num, .bento-card.lotus .go { color: #fff; }
.bento-card.lotus:hover { color: #fff; }
.bento-card.gold { background: var(--gold-soft); border-color: #E3CD93; }

/* Darshan feature: image + floating panel */
.feature-darshan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature-darshan .figure { max-width: 440px; justify-self: center; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 38px; margin: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140F26' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Stats ribbon */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(216, 178, 96, .3); border-bottom: 1px solid rgba(216, 178, 96, .3); }
.stat { padding: 34px 22px; text-align: center; border-right: 1px solid rgba(216, 178, 96, .3); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 2vw + 1.4rem, 3.6rem); line-height: 1; color: var(--gold); margin-bottom: 10px; }
.stat span { color: var(--on-dark-soft); font-size: .95rem; line-height: 1.45; display: block; }

/* Durga swaroop: overlapping text card */
.swaroop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; }
.swaroop .figure { grid-column: 2; grid-row: 1; max-width: 460px; justify-self: end; width: 100%; }
.swaroop .card-over {
  grid-column: 1 / span 1; grid-row: 1; position: relative; z-index: 2; margin-right: -60px;
  background: var(--paper); padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); box-shadow: var(--shadow); border-top: 4px solid var(--lotus);
}

/* CTA band */
.cta-band { background: linear-gradient(115deg, var(--lotus-deep), var(--lotus) 55%, #C9506F); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #FFE9F0; margin: 0; max-width: 640px; }
.cta-band .btn { position: relative; z-index: 1; }

/* ==========================================================================
   HISTORY / LEGEND
   ========================================================================== */
.hero-history { background: var(--lilac); padding-block: clamp(56px, 7vw, 100px); position: relative; overflow: hidden; }
.hero-history .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-history .big-year { font-family: var(--f-display); font-size: clamp(5rem, 12vw, 11rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--violet); font-weight: 700; display: block; margin-bottom: 8px; }
.hero-history h1 { color: var(--indigo); }
.hero-history .lead { max-width: 640px; }
.hero-history .figure { max-width: 380px; justify-self: center; width: 100%; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 8px 16px; border: 1px solid var(--violet); border-radius: 999px; color: var(--indigo); font-size: .9rem; text-decoration: none; font-weight: 500; }
.toc a:hover { background: var(--indigo); color: #fff; }

.chapter { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.chapter + .chapter { margin-top: clamp(56px, 7vw, 96px); }
.chapter-no { font-family: var(--f-display); font-size: clamp(3rem, 4vw, 4.6rem); line-height: 1; color: var(--lotus); font-weight: 700; border-top: 3px solid var(--gold); padding-top: 12px; }
.chapter-no small { display: block; font-family: var(--f-body); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; font-weight: 600; }
.chapter-body h2 { color: var(--indigo); }
.pull {
  font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1vw + 1.1rem, 2.05rem); line-height: 1.35; color: var(--indigo);
  border-left: 3px solid var(--lotus); padding: 6px 0 6px 26px; margin: 32px 0;
}

.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(216, 178, 96, .2)); transform: translateX(-1px); }
.timeline li { position: relative; width: 50%; padding: 0 44px 46px 0; margin: 0; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 46px 44px; }
.timeline li::before { content: ""; position: absolute; top: 8px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--night); border: 3px solid var(--gold); }
.timeline li:nth-child(even)::before { left: -9px; right: auto; }
.timeline .when { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold); font-weight: 700; display: block; }
.timeline h3 { font-size: 1.4rem; margin: 4px 0 8px; }
.timeline-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(216, 178, 96, .22); border-radius: var(--r); padding: 22px 24px; }
.timeline-card p { margin: 0; }

.mask-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.legend-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.legend-card { background: var(--paper); border-radius: var(--r); padding: 30px 28px; border: 1px solid var(--line); position: relative; }
.legend-card::before { content: ""; position: absolute; top: 0; left: 28px; width: 46px; height: 4px; background: var(--lotus); border-radius: 0 0 4px 4px; }
.legend-card h3 { color: var(--indigo); font-size: 1.5rem; }
.legend-card p:last-child { margin-bottom: 0; }

/* ==========================================================================
   TEMPLE
   ========================================================================== */
.hero-temple { background: var(--night); color: var(--on-dark); padding-top: clamp(48px, 6vw, 84px); position: relative; }
.hero-temple .head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.hero-temple h1 { color: #fff; margin: 0; }
.hero-temple .head p { color: var(--on-dark-soft); margin: 0; }
.hero-temple .panorama { position: relative; z-index: 2; margin-bottom: -120px; }
.hero-temple .panorama img { width: 100%; border-radius: var(--r-lg); border: 1px solid rgba(216, 178, 96, .4); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.after-panorama { padding-top: calc(120px + clamp(56px, 7vw, 100px)); }

.arch-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.arch-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.arch-tile h3 { color: var(--indigo); font-size: 1.45rem; }
.arch-tile .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--lilac); color: var(--violet); display: grid; place-items: center; margin-bottom: 18px; }
.arch-tile .ico svg { width: 28px; height: 28px; }
.arch-tile p:last-child { margin-bottom: 0; }
.t-6 { grid-column: span 6; }
.t-4 { grid-column: span 4; }
.t-8 { grid-column: span 8; }
.t-12 { grid-column: span 12; }
.arch-tile.dark { background: var(--indigo); border-color: var(--indigo-2); color: var(--on-dark); }
.arch-tile.dark h3 { color: #fff; }
.arch-tile.dark p { color: var(--on-dark-soft); }
.arch-tile.dark .ico { background: rgba(216, 178, 96, .15); color: var(--gold); }

.sanctum { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sanctum .figure { max-width: 420px; width: 100%; justify-self: center; }

.layout-plan { counter-reset: zone; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.layout-plan li { counter-increment: zone; padding: 26px 26px 26px 80px; position: relative; margin: 0; border-bottom: 1px solid var(--line); }
.layout-plan li:nth-child(odd) { border-right: 1px solid var(--line); }
.layout-plan li::before { content: counter(zone, decimal-leading-zero); position: absolute; left: 24px; top: 22px; font-family: var(--f-display); font-size: 2rem; font-weight: 700; color: var(--lotus); line-height: 1; }
.layout-plan h4 { margin: 0 0 6px; color: var(--indigo); font-size: 1.3rem; }
.layout-plan p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.etiquette { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.etiquette-col { border-radius: var(--r); padding: 32px; }
.etiquette-col.do { background: #EAF4EE; border: 1px solid #BFDCCB; }
.etiquette-col.dont { background: var(--lotus-soft); border: 1px solid #EDBCCC; }
.etiquette-col h3 { font-size: 1.6rem; }
.etiquette-col.do h3 { color: #1F5A3A; }
.etiquette-col.dont h3 { color: var(--lotus-deep); }
.etiquette-col ul { margin: 0; }
.etiquette-col li { color: var(--ink); }

/* ==========================================================================
   DARSHAN & AARTI
   ========================================================================== */
.hero-darshan { background: linear-gradient(180deg, var(--indigo) 0%, var(--night) 100%); color: var(--on-dark); padding-block: clamp(56px, 7vw, 100px); text-align: center; }
.hero-darshan h1 { color: #fff; max-width: 900px; margin-inline: auto; }
.hero-darshan .lead { color: var(--on-dark-soft); max-width: 760px; margin: 0 auto 36px; }
.hero-darshan .figure { max-width: 900px; margin-inline: auto; }
.hero-darshan .figure figcaption { text-align: left; }

.schedule { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-soft); }
.schedule caption { text-align: left; font-size: .9rem; color: var(--ink-soft); padding-bottom: 14px; caption-side: top; }
.schedule th, .schedule td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.schedule thead th { background: var(--indigo); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.schedule tbody tr:last-child td, .schedule tbody tr:last-child th { border-bottom: 0; }
.schedule tbody th { font-family: var(--f-display); font-size: 1.3rem; color: var(--indigo); font-weight: 700; white-space: nowrap; }
.schedule td.time { font-weight: 600; color: var(--lotus-deep); white-space: nowrap; }
.schedule tbody tr:nth-child(even) { background: #FBFAFE; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; margin: 0; padding: 26px 22px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lotus); color: #fff; font-family: var(--f-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 1.35rem; color: var(--indigo); margin-bottom: 8px; }
.steps p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

.shringar { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.shringar .figure { position: sticky; top: calc(var(--header-h) + 28px); max-width: 420px; width: 100%; justify-self: center; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.offer { padding: 20px 22px; background: var(--lilac); border-radius: var(--r-sm); }
.offer h4 { margin: 0 0 6px; color: var(--indigo); }
.offer p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

.aarti-text { background: var(--night); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); border: 1px solid rgba(216, 178, 96, .3); text-align: center; }
.aarti-text h2 { color: #fff; }
.aarti-text .verse { font-family: var(--f-deva); color: var(--gold-soft); font-size: clamp(1.15rem, .6vw + 1rem, 1.45rem); line-height: 1.9; margin: 26px auto; max-width: 720px; }
.aarti-text .meaning { color: var(--on-dark-soft); max-width: 720px; margin-inline: auto; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; transition: border-color .3s ease; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: var(--indigo); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-size: 1.6rem; color: var(--lotus); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ==========================================================================
   FESTIVALS
   ========================================================================== */
.hero-fest { background: var(--lotus-deep); color: #fff; padding-block: clamp(56px, 7vw, 100px); position: relative; overflow: hidden; }
.hero-fest::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(216, 178, 96, .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(20, 15, 38, .5), transparent 70%); pointer-events: none; }
.hero-fest .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-fest h1 { color: #fff; }
.hero-fest .lead { color: #FFE4EC; }
.hero-fest .crumbs li { color: #FFD9E4; }
.hero-fest .crumbs a { color: var(--gold-soft); }
.hero-fest .figure figcaption { color: #FFE4EC; border-color: var(--gold-soft); }

.fest-cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fest-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.fest-card .top { padding: 28px 30px; background: var(--indigo); color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.fest-card .top h3 { color: #fff; margin: 0; }
.fest-card .month { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; background: var(--gold); color: var(--night); padding: 6px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.fest-card .body { padding: 28px 30px; flex: 1; }
.fest-card .body p:last-child { margin-bottom: 0; }
.fest-card.alt .top { background: var(--lotus); }

.fest-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fest-item { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.fest-item:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.fest-item h3 { color: var(--indigo); font-size: 1.45rem; }
.fest-item .tag { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lotus-deep); font-weight: 600; display: block; margin-bottom: 8px; }
.fest-item p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

.bhog { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.mela-tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mela-tip { padding: 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(216, 178, 96, .25); }
.mela-tip h3 { font-size: 1.3rem; color: var(--gold-soft); }
.mela-tip p { margin: 0; font-size: .98rem; }

/* ==========================================================================
   VISIT
   ========================================================================== */
.hero-visit { background: var(--paper); padding-block: clamp(48px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.hero-visit .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-visit h1 { color: var(--indigo); }
.distance-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip { display: inline-flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; background: var(--lilac); line-height: 1.25; }
.chip strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--lotus-deep); }
.chip span { font-size: .84rem; color: var(--ink-soft); }

.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.route { background: var(--paper); border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.route .mode { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lotus-deep); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.route .mode svg { width: 26px; height: 26px; }
.route h3 { color: var(--indigo); }
.route ul { margin-bottom: 0; }

.visit-split { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit-split .figure { max-width: 320px; width: 100%; justify-self: center; position: sticky; top: calc(var(--header-h) + 28px); }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); background: var(--lilac); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }

.nearby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(216, 178, 96, .3); }
.nearby-item { padding: 30px; border-bottom: 1px solid rgba(216, 178, 96, .2); }
.nearby-item:nth-child(odd) { border-right: 1px solid rgba(216, 178, 96, .2); }
.nearby-item h3 { font-size: 1.45rem; }
.nearby-item .dist { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px; }
.nearby-item p { margin: 0; }

.season { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.season-card { border-radius: var(--r); padding: 28px; background: var(--paper); border: 1px solid var(--line); }
.season-card .rate { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.season-card.best .rate { background: #DDF0E4; color: #1F5A3A; }
.season-card.ok .rate { background: var(--gold-soft); color: var(--gold-text); }
.season-card.hard .rate { background: var(--lotus-soft); color: var(--lotus-deep); }
.season-card h3 { color: var(--indigo); font-size: 1.45rem; }
.season-card p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.hero-contact { background: var(--indigo); color: var(--on-dark); padding-block: clamp(48px, 6vw, 84px) clamp(110px, 12vw, 160px); text-align: center; }
.hero-contact h1 { color: #fff; }
.hero-contact .lead { color: var(--on-dark-soft); max-width: 720px; margin-inline: auto; }
.hero-contact .crumbs { justify-content: center; }
.contact-shell { margin-top: calc(-1 * clamp(80px, 9vw, 120px)); position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 0; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.contact-info { background: var(--night); color: var(--on-dark); padding: clamp(30px, 4vw, 52px); }
.contact-info h2 { color: #fff; font-size: clamp(1.8rem, 1.4vw + 1.2rem, 2.5rem); }
.contact-info p { color: var(--on-dark-soft); }
.c-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.c-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; }
.c-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(216, 178, 96, .14); color: var(--gold); display: grid; place-items: center; }
.c-ico svg { width: 24px; height: 24px; }
.c-list small { display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.c-list a, .c-list strong { color: #fff; font-size: 1.12rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.c-list a:hover { color: var(--gold); }
.contact-form { padding: clamp(30px, 4vw, 52px); }
.contact-form h2 { color: var(--indigo); font-size: clamp(1.8rem, 1.4vw + 1.2rem, 2.5rem); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; min-height: 50px;
  transition: border-color .25s ease, background .25s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 12px 0 0; }
.form-status { margin-top: 14px; font-weight: 500; color: #1F5A3A; min-height: 1.5em; }

.contact-blessing { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-blessing .figure { max-width: 380px; width: 100%; justify-self: center; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.help-item { padding: 22px; border-radius: var(--r-sm); background: var(--lilac); }
.help-item h3 { font-size: 1.3rem; color: var(--indigo); margin-bottom: 6px; }
.help-item p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--night); color: var(--on-dark-soft); padding-top: clamp(56px, 7vw, 96px); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--lotus), var(--gold), var(--violet)); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.site-footer h3 { font-family: var(--f-body); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.site-footer p { color: var(--on-dark-soft); font-size: .98rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-contact li { display: flex; flex-direction: column; margin-bottom: 14px; }
.footer-contact small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.footer-contact a, .footer-contact strong { color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 241, 251, .08); border: 1px solid rgba(216, 178, 96, .3); color: #fff; transition: background .25s ease, color .25s ease, transform .25s ease; }
.socials a:hover { background: var(--gold); color: var(--night); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(203, 194, 227, .16); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer-bottom p { margin: 0; font-size: .9rem; }
.footer-bottom a { color: var(--gold-soft); }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lotus); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* Section heading helper */
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { color: var(--ink-soft); }
.on-dark .sec-head p { color: var(--on-dark-soft); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.split-head h2 { margin: 0; }
.split-head p { margin: 0; color: var(--ink-soft); }
.on-dark .split-head p { color: var(--on-dark-soft); }
.prose h3 { color: var(--indigo); margin-top: 1.4em; }
.prose h3:first-child { margin-top: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .bento-card.span-2 { grid-column: span 3; }
  .bento-card.span-4 { grid-column: span 6; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mela-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-4 { grid-column: span 6; }
  .t-8 { grid-column: span 12; }
}

@media (max-width: 960px) {
  .home-hero .wrap, .intro-grid, .feature-darshan, .hero-history .wrap, .mask-feature, .sanctum,
  .shringar, .hero-fest .wrap, .bhog, .hero-visit .wrap, .visit-split, .contact-grid, .contact-blessing,
  .split-head, .hero-temple .head, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .intro-aside, .shringar .figure, .visit-split .figure { position: static; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .swaroop { grid-template-columns: minmax(0, 1fr); }
  .swaroop .figure { grid-column: 1; grid-row: 1; justify-self: center; max-width: 420px; }
  .swaroop .card-over { grid-column: 1; grid-row: 2; margin: -50px 0 0; }
  .legend-cards, .routes, .season { grid-template-columns: minmax(0, 1fr); }
  .fest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fest-item, .fest-item:not(:nth-child(3n+1)) { padding: 26px 22px; border-left: 0; }
  .fest-item:nth-child(even) { border-left: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(216, 178, 96, .3); }
  .hero-temple .panorama { margin-bottom: -70px; }
  .after-panorama { padding-top: calc(70px + clamp(48px, 7vw, 100px)); }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chapter-no { display: flex; align-items: baseline; gap: 14px; }
  .chapter-no small { margin: 0; }
  .timeline::before { left: 9px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 44px; }
  .timeline li::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .hero-history .figure, .hero-fest .figure { max-width: 420px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card.span-2, .bento-card.span-3, .bento-card.span-4 { grid-column: auto; }
  .bento-card { min-height: 0; }
  .fest-cal, .etiquette, .offer-grid, .help-grid, .nearby, .layout-plan, .field-row { grid-template-columns: minmax(0, 1fr); }
  .layout-plan li:nth-child(odd), .nearby-item:nth-child(odd) { border-right: 0; }
  .fest-list { grid-template-columns: minmax(0, 1fr); }
  .fest-item, .fest-item:nth-child(even), .fest-item:not(:nth-child(3n+1)) { border-left: 0; padding: 24px 0; }
  .arch-grid { grid-template-columns: minmax(0, 1fr); }
  .t-4, .t-6, .t-8, .t-12 { grid-column: auto; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .hero-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .schedule th, .schedule td { padding: 14px 16px; }
  .map-wrap iframe { height: 340px; }
  .fest-card .top { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .steps, .mela-tips { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(216, 178, 96, .3); }
  .stat:last-child { border-bottom: 0; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div { display: flex; align-items: baseline; gap: 12px; }
  .hero-facts span { margin: 0; }
  .hero-actions .btn { width: 100%; }
  .arch-stage { padding: 26px 16px 16px; }
  .hero-visual .badge { margin: -10px 0 0 12px; max-width: calc(100% - 24px); }
  .cta-band .btn { width: 100%; }
  .quote-scripture { padding: 24px 20px; }
  .layout-plan li { padding: 22px 20px 22px 66px; }
  .layout-plan li::before { left: 18px; }
  /* Schedule as stacked cards on small phones */
  .schedule thead { display: none; }
  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: 100%; }
  .schedule tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .schedule tbody th, .schedule td { border: 0; padding: 2px 0; white-space: normal; }
  .schedule td.time { margin: 4px 0; }
  .chip { flex: 1 1 calc(50% - 12px); }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.3rem; }
  .btn { padding-inline: 18px; }
}
.bg-mist { background: var(--mist); }
.hero-darshan .figure figcaption, .hero-temple .figure figcaption { color: var(--on-dark-soft); }
.schedule caption { padding-left: 6px; }
@media (max-width: 1180px) {
  .site-header { background: rgba(20, 15, 38, .98); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav { height: calc(100vh - var(--nav-top, var(--header-h))); height: calc(100dvh - var(--nav-top, var(--header-h))); }
}
@media (max-width: 560px) {
  .schedule caption { display: block; width: 100%; padding: 0 0 12px; }
}
