/* ==========================================================================
   ISKCON Kanpur — design system
   Mood: twilight at the temple. Krishna-blue night, sandalwood ivory,
   lamp-gold light. Slow, soft, generous space.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* Colour */
  --night-950: #080c1f;
  --night-900: #0d1330;
  --night-800: #151d45;
  --night-700: #212b5e;
  --peacock: #2c5a74;
  --gold-600: #b08a45;
  --gold-500: #c9a45c;
  --gold-300: #e3cc98;
  --gold-100: #f5ebd3;
  --lotus: #e7b9b5;
  --sandal-50: #fcf9f3;
  --sandal-100: #f7f1e6;
  --sandal-200: #efe5d3;
  --ink: #1e1b2e;
  --ink-2: #5d5870;
  --ink-3: #8a8499;
  --line: rgba(30, 27, 46, 0.1);
  --line-light: rgba(245, 235, 211, 0.14);

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 168px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 30px 80px -40px rgba(13, 19, 48, 0.35);
  --shadow-lift: 0 40px 90px -36px rgba(13, 19, 48, 0.45);
  --nav-h: 76px;

  /* Motion */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;
  --dur-calm: 1200ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sandal-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 8.5vw, 7.4rem); font-weight: 300; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--gold-500); }
::selection { background: var(--gold-300); color: var(--night-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold-300); color: var(--night-900); padding: 10px 16px; border-radius: 10px; transition: top var(--dur) var(--ease-standard); }
.skip:focus { top: 12px; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--gold-300); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--ink-2); font-weight: 300; }
.on-dark .lede { color: rgba(247, 241, 230, .72); }
.deva { font-family: var(--deva); }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-600), var(--gold-300)); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  font: 600 0.92rem/1 var(--sans); letter-spacing: 0.02em; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--ease-standard), box-shadow var(--dur) var(--ease-standard), color var(--dur) var(--ease-standard), border-color var(--dur);
}
.btn::after { /* soft light sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 70%);
  opacity: 0; transition: opacity var(--dur);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: var(--dur-fast); }
.btn--gold { --bg: linear-gradient(135deg, var(--gold-300), var(--gold-500)); --fg: var(--night-900); box-shadow: 0 14px 34px -14px rgba(201, 164, 92, .8); }
.btn--night { --bg: var(--night-900); --fg: var(--sandal-50); }
.btn--night:hover { box-shadow: var(--shadow-lift); }
.btn--line { --bd: currentColor; }
.btn--ghost { --fg: var(--sandal-100); --bd: rgba(245, 235, 211, .35); backdrop-filter: blur(6px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--dur) var(--ease-standard); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--night-800);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size var(--dur) var(--ease-standard), color var(--dur);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold-600); }
.on-dark .text-link { color: var(--gold-300); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: var(--sandal-50);
  transition: background var(--dur-slow) var(--ease-standard), color var(--dur-slow), box-shadow var(--dur-slow), transform var(--dur-slow) var(--ease-standard);
  view-transition-name: site-nav;
}
.nav.is-solid { background: rgba(252, 249, 243, .82); color: var(--ink); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { width: min(1360px, 100% - var(--gutter) * 2); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 500 1.35rem var(--serif); letter-spacing: .01em; }
.brand__text small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 500; opacity: .78; transition: opacity var(--dur); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); transform: translateX(-50%) scale(0); transition: transform var(--dur) var(--ease-enter); }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav__live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); opacity: .9; }
.nav__live .dot, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex: none; animation: breathe-dot 3.2s var(--ease-standard) infinite; }
.is-now .dot { background: #5fbf8a; }
.is-closed .dot { background: var(--ink-3); animation: none; }
@keyframes breathe-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,164,92,.5); } 50% { box-shadow: 0 0 0 7px rgba(201,164,92,0); } }

.nav__toggle { display: none; position: relative; width: 46px; height: 46px; border: 0; background: none; color: inherit; cursor: pointer; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease-standard), top var(--dur) var(--ease-standard); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.menu-open .nav__toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 23px; transform: rotate(-45deg); }
.menu-open .nav { color: var(--sandal-50); background: transparent; box-shadow: none; backdrop-filter: none; }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 32px;
  background: var(--night-950); color: var(--sandal-50);
  clip-path: circle(0% at calc(100% - 44px) 38px);
  visibility: hidden;
  transition: clip-path 700ms var(--ease-enter), visibility 0s 700ms;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path 900ms var(--ease-enter), visibility 0s; }
.menu__glow { position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, rgba(201,164,92,.22), transparent); pointer-events: none; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font: 300 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--serif); opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease-enter), transform 700ms var(--ease-enter), color var(--dur); }
.menu__links a small { font: 600 .7rem var(--sans); letter-spacing: .2em; color: var(--gold-500); }
.menu__links a[aria-current="page"], .menu__links a:hover { color: var(--gold-300); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: 160ms; } .menu-open .menu__links a:nth-child(2) { transition-delay: 210ms; }
.menu-open .menu__links a:nth-child(3) { transition-delay: 260ms; } .menu-open .menu__links a:nth-child(4) { transition-delay: 310ms; }
.menu-open .menu__links a:nth-child(5) { transition-delay: 360ms; } .menu-open .menu__links a:nth-child(6) { transition-delay: 410ms; }
.menu-open .menu__links a:nth-child(7) { transition-delay: 460ms; }
.menu__foot { margin-top: 48px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: rgba(247,241,230,.6); opacity: 0; transition: opacity 600ms 500ms; }
.menu-open .menu__foot { opacity: 1; }
.menu__foot p { font-family: var(--deva); margin: 0; color: var(--gold-300); }
.menu__foot a { text-decoration: none; }

/* ---------- Hero (shared by every page) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  color: var(--sandal-50);
  background:
    radial-gradient(80% 60% at 75% 30%, rgba(44, 90, 116, .55), transparent 70%),
    radial-gradient(60% 50% at 15% 90%, rgba(201, 164, 92, .18), transparent 70%),
    linear-gradient(180deg, var(--night-950), var(--night-900) 55%, var(--night-800));
}
.hero--page { min-height: 78svh; padding-bottom: 72px; }
.hero__canvas { position: absolute; inset: 0 0 auto; z-index: -1; width: 100%; height: min(100%, 100svh); pointer-events: none; }
.hero__mandala { position: absolute; z-index: -1; width: min(980px, 140vw); aspect-ratio: 1; right: -18%; top: 50%; translate: 0 -50%; color: var(--gold-300); opacity: .08; animation: spin 240s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { color: var(--sandal-50); }
.hero h1 em { color: var(--gold-300); }
.hero__mantra { font: 400 clamp(1rem, 1.6vw, 1.2rem)/2 var(--deva); color: var(--gold-100); opacity: .85; margin: 34px 0 26px; padding-left: 20px; border-left: 1px solid var(--gold-500); }
.hero .lede { max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247,241,230,.55); text-decoration: none; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold-300), transparent); transform-origin: top; animation: drip 2.6s var(--ease-standard) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.hero__page-title { max-width: 920px; }
.hero__page-title .lede { margin-top: 28px; max-width: 620px; }
.crumbs { display: flex; gap: 10px; font-size: .78rem; color: rgba(247,241,230,.55); margin-bottom: 30px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-300); }

/* Arch frame */
.arch { position: relative; border-radius: 999px 999px var(--radius) var(--radius); padding: 12px; border: 1px solid rgba(227, 204, 152, .32); }
.arch::before { content: ""; position: absolute; inset: -14px; border-radius: inherit; border: 1px solid rgba(227, 204, 152, .12); }
.arch__img { border-radius: 999px 999px 14px 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.arch__img img { width: 100%; height: 115%; object-fit: cover; }
.arch--light { border-color: rgba(176, 138, 69, .35); }
.arch--light::before { border-color: rgba(176, 138, 69, .15); }

.live-card {
  position: absolute; left: -36px; bottom: 44px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px; border-radius: 18px;
  background: rgba(252, 249, 243, .94); color: var(--ink);
  backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  text-decoration: none;
  transition: transform var(--dur) var(--ease-standard);
}
.live-card:hover { transform: translateY(-3px); }
.live-card small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.live-card strong { font: 500 1.25rem/1.25 var(--serif); color: var(--night-900); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tint { background: var(--sandal-100); }
.section--deep { background: var(--sandal-200); }
.section--night { background: var(--night-900); color: var(--sandal-50); }
.section--night h2, .section--night h3 { color: var(--sandal-50); }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head .lede { margin-top: 24px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }

.ornament { display: flex; justify-content: center; color: var(--gold-500); margin: 0 auto 30px; opacity: .8; }
.ornament svg { width: 84px; height: 42px; }

/* Intro statement */
.statement { font: 300 clamp(1.9rem, 4vw, 3.3rem)/1.3 var(--serif); color: var(--night-900); text-align: center; text-wrap: balance; }
.statement em { color: var(--gold-600); }

/* Split media/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-frame img { width: 100%; height: 112%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-badge { position: absolute; right: -20px; bottom: 40px; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: var(--sandal-50); box-shadow: var(--shadow-soft); }
.media-badge img { width: 64px; }
.split__copy p { color: var(--ink-2); }
.split__copy h2 { margin-bottom: 28px; }

/* Pathway cards (home) */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.path {
  position: relative; display: flex; flex-direction: column; min-height: 400px;
  padding: 30px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  color: var(--sandal-50); text-decoration: none;
  transition: transform var(--dur-slow) var(--ease-enter), box-shadow var(--dur-slow) var(--ease-enter);
}
.path img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-enter); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,12,31,.05) 20%, rgba(8,12,31,.86)); transition: opacity var(--dur-slow); }
.path:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.path:hover img { transform: scale(1.07); }
.path__num { font-size: .72rem; letter-spacing: .24em; color: var(--gold-300); }
.path h3 { margin-top: auto; font-size: 2rem; font-weight: 400; }
.path p { margin: 10px 0 0; font-size: .92rem; color: rgba(247,241,230,.75); }
.path__go { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(247,241,230,.35); transition: background var(--dur), color var(--dur), transform var(--dur-slow) var(--ease-enter); }
.path:hover .path__go { background: var(--gold-300); color: var(--night-900); transform: rotate(-45deg); }

/* Timeline (darshan) */
.day { position: relative; display: grid; gap: 0; }
.day::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold-300), var(--gold-500), var(--gold-300)); opacity: .6; }
.day__item { position: relative; display: grid; grid-template-columns: 140px 1fr auto; gap: 0 48px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: opacity var(--dur-slow); }
.day__item::before { content: ""; position: absolute; left: 140px; top: 50%; width: 11px; height: 11px; translate: -5px -50%; border-radius: 50%; background: var(--sandal-50); border: 1px solid var(--gold-500); transition: background var(--dur), box-shadow var(--dur); }
.day__time { font: 400 2.1rem/1 var(--serif); color: var(--night-900); }
.day__time small { font: 600 .66rem var(--sans); letter-spacing: .14em; color: var(--gold-600); margin-left: 4px; }
.day__item h3 { font-size: 1.75rem; }
.day__item p { margin: 6px 0 0; color: var(--ink-2); font-size: .98rem; max-width: 560px; }
.day__tag { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--night-900); color: var(--gold-300); opacity: 0; transform: translateX(8px); transition: opacity var(--dur), transform var(--dur) var(--ease-enter); }
.day__item.is-focus .day__tag { opacity: 1; transform: none; }
.day__item.is-focus::before { background: var(--gold-500); box-shadow: 0 0 0 6px rgba(201,164,92,.18); }
.day__item.is-past, .js .day__item.is-past.is-in { opacity: .45; }

/* Compact schedule strip (home) */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.strip__item { padding: 30px 22px; border-right: 1px solid var(--line-light); transition: background var(--dur-slow); }
.strip__item:last-child { border-right: 0; }
.strip__item time { display: block; font: 300 2rem var(--serif); color: var(--gold-300); }
.strip__item span { font-size: .85rem; color: rgba(247,241,230,.75); }
.strip__item.is-focus { background: rgba(201,164,92,.1); }
.strip__item.is-past { opacity: .5; }

/* Quote */
.quote { text-align: center; }
.quote blockquote { margin: 0; font: 300 italic clamp(1.8rem, 3.6vw, 3rem)/1.35 var(--serif); color: var(--sandal-50); text-wrap: balance; }
.quote cite { display: block; margin-top: 32px; font: 600 .74rem var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }

/* Pillars / feature grid */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 44px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 32px; }
.pillar:last-child { border-right: 0; }
.pillar__icon { width: 44px; height: 44px; color: var(--gold-600); margin-bottom: 26px; }
.pillar h3 { font-size: 1.55rem; margin-bottom: 12px; }
.pillar p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.on-dark .pillars { border-color: var(--line-light); }
.on-dark .pillar { border-color: var(--line-light); }
.on-dark .pillar p { color: rgba(247,241,230,.68); }
.on-dark .pillar__icon { color: var(--gold-300); }

/* Facilities list */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 28px; border-radius: var(--radius); background: var(--sandal-50); border: 1px solid var(--line); transition: transform var(--dur-slow) var(--ease-enter), box-shadow var(--dur-slow); }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.fact h3 { font-size: 1.35rem; margin-bottom: 8px; }
.fact p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* Seva cards */
.sevas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.seva { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--sandal-50); border: 1px solid var(--line); overflow: hidden; transition: transform var(--dur-slow) var(--ease-enter), box-shadow var(--dur-slow) var(--ease-enter); }
.seva:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.seva__img { aspect-ratio: 4 / 3; overflow: hidden; }
.seva__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-enter); }
.seva:hover .seva__img img { transform: scale(1.06); }
.seva__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.seva__body p { color: var(--ink-2); font-size: .95rem; }
.seva__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font: 500 1.75rem var(--serif); color: var(--night-900); }
.seva--featured { grid-column: span 2; flex-direction: row; }
.seva--featured .seva__img { aspect-ratio: auto; flex: 1.1; }
.seva--featured .seva__body { flex: 1; padding: 44px; }
.seva--featured h3 { font-size: 2.3rem; }
.chip { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }

/* Donate */
.donate { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.uses { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.uses li { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font: 400 1.3rem var(--serif); }
.uses li span { font: 500 .8rem var(--sans); color: var(--ink-3); align-self: center; }
.card { background: var(--sandal-50); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field > span, .field legend { font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink);
  padding: 15px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201,164,92,.16); }
.field input[aria-invalid="true"] { border-color: #b3533f; }
.field__err { font-size: .82rem; color: #b3533f; min-height: 0; }
.amounts { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amounts legend { margin-bottom: 10px; }
.amounts button { min-height: 50px; font: 600 1rem var(--sans); color: var(--night-900); border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur-fast); }
.amounts button:hover { border-color: var(--gold-500); }
.amounts button:active { transform: scale(.97); }
.amounts button[aria-pressed="true"] { background: var(--night-900); color: var(--gold-100); border-color: var(--night-900); }
.form__note { font-size: .84rem; color: var(--ink-3); text-align: center; margin: 0; }
.form__note a { color: var(--night-800); }
.success { display: none; text-align: center; padding: 20px 0; }
.success svg { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold-500); }
.success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.form-wrap.is-done .form { display: none; }
.form-wrap.is-done .success { display: block; animation: fade-up var(--dur-slow) var(--ease-enter); }
.form-wrap.is-done .success svg path { animation: draw 900ms 200ms var(--ease-enter) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Festivals */
.fest-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--night-900); color: var(--sandal-50); box-shadow: var(--shadow-lift); }
.fest-feature__img { min-height: 480px; position: relative; overflow: hidden; }
.fest-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fest-feature__body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.fest-feature__body h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; margin-bottom: 20px; }
.fest-feature__body p { color: rgba(247,241,230,.72); }
.calendar { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cal { display: grid; grid-template-columns: 200px 1fr auto; gap: 32px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding var(--dur-slow) var(--ease-enter); }
.cal:hover { padding-left: 16px; }
.cal__when { font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.cal h3 { font-size: 2rem; font-weight: 400; }
.cal p { margin: 6px 0 0; color: var(--ink-2); max-width: 620px; }
.cal__mark { font: 300 italic 1.1rem var(--serif); color: var(--ink-3); }
.cal.is-now { background: linear-gradient(90deg, rgba(201,164,92,.12), transparent); padding-left: 20px; }
.cal.is-now .cal__mark { color: var(--gold-600); font-style: normal; font-weight: 500; }

/* Accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font: 400 1.45rem var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold-600); transition: transform var(--dur) var(--ease-standard); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--ink-2); padding-bottom: 26px; margin: 0; max-width: 720px; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 96px); align-items: stretch; }
.info { margin: 0; display: grid; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); padding-top: 5px; }
.info dd { margin: 0; font-size: 1.02rem; }
.info a { text-decoration: none; border-bottom: 1px solid var(--gold-300); }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 520px; box-shadow: var(--shadow-soft); background: var(--sandal-200); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.18) contrast(.95); transition: filter var(--dur-slow); }
.map:hover iframe { filter: none; }
.etiquette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: et; }
.etiquette li { list-style: none; padding: 32px 32px 32px 0; border-top: 1px solid var(--line-light); counter-increment: et; }
.etiquette li::before { content: counter(et, decimal-leading-zero); display: block; font: 300 2.4rem var(--serif); color: var(--gold-300); margin-bottom: 14px; }
.etiquette h3 { font-size: 1.35rem; margin-bottom: 8px; }
.etiquette p { margin: 0; color: rgba(247,241,230,.68); font-size: .95rem; }

/* Chant (japa) */
.japa { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.mala { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; }
.mala svg { width: 100%; height: 100%; overflow: visible; }
.mala circle.bead { fill: rgba(247,241,230,.12); transition: fill 400ms var(--ease-standard), r 400ms var(--ease-enter); }
.mala circle.bead.is-done { fill: var(--gold-300); }
.mala circle.bead.is-current { fill: var(--sandal-50); }
.mala circle.head { fill: none; stroke: var(--gold-300); stroke-width: 1.2; }
.mala__center {
  position: absolute; inset: 22%; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-content: center; text-align: center; gap: 6px;
  color: var(--sandal-50); background: radial-gradient(circle at 50% 40%, rgba(44,90,116,.6), rgba(13,19,48,.9));
  box-shadow: inset 0 0 0 1px rgba(227,204,152,.25), 0 30px 80px -30px rgba(0,0,0,.6);
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.mala__center:hover { box-shadow: inset 0 0 0 1px rgba(227,204,152,.5), 0 30px 80px -30px rgba(0,0,0,.6); }
.mala__center:active { transform: scale(.97); }
.mala__count { font: 300 clamp(3.6rem, 8vw, 5.4rem)/1 var(--serif); }
.mala__label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }
.mala__center.pulse { animation: bead-pulse 600ms var(--ease-enter); }
@keyframes bead-pulse { 0% { box-shadow: inset 0 0 0 1px rgba(227,204,152,.25), 0 0 0 0 rgba(227,204,152,.4); } 100% { box-shadow: inset 0 0 0 1px rgba(227,204,152,.25), 0 0 0 40px rgba(227,204,152,0); } }
.japa__stats { display: flex; gap: 40px; margin: 32px 0; }
.japa__stats div strong { display: block; font: 300 2.6rem/1 var(--serif); color: var(--gold-300); }
.japa__stats div span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,241,230,.6); }
.japa__controls { display: flex; flex-wrap: wrap; gap: 12px; }
.mantra-lines { font: 400 clamp(1.25rem, 2.4vw, 1.75rem)/2 var(--deva); color: var(--gold-100); }
.mantra-roman { font: 300 italic clamp(1.15rem, 2vw, 1.45rem)/1.8 var(--serif); color: rgba(247,241,230,.7); margin-top: 18px; }
.kbd { display: inline-block; font: 600 .74rem var(--sans); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-light); color: rgba(247,241,230,.8); }

/* Breathing */
.breath { display: grid; justify-items: center; gap: 36px; text-align: center; }
.breath__orb { position: relative; width: min(300px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.breath__orb::before, .breath__orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.breath__orb::before { background: radial-gradient(circle, rgba(201,164,92,.35), rgba(201,164,92,0) 70%); animation: breathe 12s ease-in-out infinite; }
.breath__orb::after { border: 1px solid rgba(176,138,69,.35); animation: breathe 12s ease-in-out infinite; }
.breath__orb span { position: relative; font: 300 italic 1.6rem var(--serif); color: var(--night-900); }
@keyframes breathe { 0%, 100% { transform: scale(.55); } 40%, 55% { transform: scale(1); } }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(96px, 12vw, 160px) 0; color: var(--sandal-50); background: radial-gradient(70% 90% at 50% 100%, rgba(201,164,92,.28), transparent 70%), var(--night-900); }
.cta h2 { color: var(--sandal-50); max-width: 860px; margin: 0 auto 24px; }
.cta .lede { max-width: 580px; margin: 0 auto 40px; }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta .hero__mandala { right: 50%; translate: 50% -50%; opacity: .06; }

/* Footer */
.footer { background: var(--night-950); color: rgba(247,241,230,.62); padding: 96px 0 36px; text-align: center; }
.footer__lotus { display: flex; justify-content: center; color: var(--gold-500); opacity: .7; }
.footer__mantra { font: 400 clamp(1.1rem, 2.4vw, 1.6rem)/1.9 var(--deva); color: var(--gold-100); margin: 26px 0 72px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; text-align: left; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: flex; gap: 18px; align-items: flex-start; }
.footer__brand p { margin: 0; font-size: .9rem; line-height: 1.8; }
.footer__brand strong { font: 500 1.3rem var(--serif); color: var(--sandal-50); }
.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__col h2 { font: 600 .7rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 8px; }
.footer__col a { text-decoration: none; font-size: .93rem; width: fit-content; transition: color var(--dur); }
.footer__col a:hover { color: var(--sandal-50); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .8rem; text-align: left; }
.footer__base p { margin: 0; }
.to-top { background: none; border: 0; color: var(--gold-300); font: 600 .8rem var(--sans); cursor: pointer; padding: 8px 0; }

/* ---------- Virtual darshan (scroll walkthrough) ---------- */
.walk { position: relative; height: 900svh; background: var(--night-950); color: var(--sandal-50); }
.walk__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.walk__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.walk__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5,8,22,.55)); }
.walk__flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, #fff7e2, #ffd99a 45%, rgba(255,217,154,0) 80%); }
.walk__layer { position: absolute; inset: 0; pointer-events: none; display: flex; padding: calc(var(--nav-h) + 24px) var(--gutter) 48px; will-change: opacity, transform; }
.walk__layer a, .walk__layer button { pointer-events: auto; }
.walk__intro { flex-direction: column; justify-content: center; align-items: flex-start; padding-left: max(var(--gutter), calc((100vw - 1240px) / 2)); }
.walk__intro > * { max-width: 520px; }
.walk__intro h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); text-shadow: 0 2px 30px rgba(5,8,22,.5); }
.walk__intro .hero__mantra { margin: 26px 0 0; font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.walk__hint { position: absolute; left: 50%; bottom: 32px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(247,241,230,.75); }
.walk__hint i { width: 22px; height: 36px; border-radius: 12px; border: 1px solid rgba(247,241,230,.5); position: relative; }
.walk__hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-300); animation: wheel 2.2s var(--ease-standard) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.walk__intro .live-card { position: relative; left: auto; bottom: auto; translate: none; margin-top: 32px; }
.walk__center { justify-content: center; align-items: flex-end; text-align: center; padding-bottom: clamp(72px, 12vh, 120px); background: linear-gradient(180deg, transparent 45%, rgba(8,12,31,.78)); }
.walk__line { font: 300 italic clamp(1.8rem, 4vw, 3.2rem)/1.25 var(--serif); max-width: 760px; text-shadow: 0 2px 24px rgba(5,8,22,.6); }
.walk__line small { display: block; margin-top: 16px; font: 600 .72rem var(--sans); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300); }
.walk__card-wrap { align-items: flex-end; }
.walk__card-wrap--right { justify-content: flex-end; }
.walk__card {
  max-width: 420px; padding: 30px 32px; border-radius: 24px;
  background: rgba(8, 12, 31, .62); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(227, 204, 152, .22); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.walk__card .deva { font-size: 1.15rem; color: var(--gold-300); margin-bottom: 6px; }
.walk__card h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--sandal-50); margin-bottom: 14px; }
.walk__card p { color: rgba(247,241,230,.75); font-size: .98rem; margin: 0; }
.walk__end { flex-direction: column; justify-content: center; align-items: center; text-align: center; background: radial-gradient(75% 60% at 50% 55%, rgba(8,12,31,.82), rgba(8,12,31,.35) 75%, transparent); }
.walk__end h2 { color: var(--sandal-50); max-width: 820px; margin-bottom: 20px; text-shadow: 0 2px 30px rgba(5,8,22,.6); }
.walk__end .lede { max-width: 540px; margin: 0 auto 32px; }
.walk__rail { position: absolute; right: clamp(14px, 2.4vw, 32px); top: 50%; translate: 0 -50%; display: grid; gap: 14px; z-index: 3; }
.walk__rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 4px 0; background: none; border: 0; cursor: pointer; color: rgba(247,241,230,.6); font: 600 .66rem var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.walk__rail button span { opacity: 0; transform: translateX(6px); transition: opacity var(--dur), transform var(--dur) var(--ease-enter); white-space: nowrap; }
.walk__rail button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background var(--dur), transform var(--dur) var(--ease-enter); }
.walk__rail button:hover span, .walk__rail button[aria-current="true"] span { opacity: 1; transform: none; }
.walk__rail button[aria-current="true"] { color: var(--gold-300); }
.walk__rail button[aria-current="true"]::after { background: var(--gold-300); transform: scale(1.3); }
.walk__skip { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; font-size: .78rem; color: rgba(247,241,230,.65); text-decoration: none; letter-spacing: .06em; }
.walk__skip:hover { color: var(--gold-300); }
.tw-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite alternate; }
@keyframes flicker { 0% { transform: scale(1, 1); opacity: .9; } 50% { transform: scale(.92, 1.12); opacity: 1; } 100% { transform: scale(1.05, .94); opacity: .85; } }
.tw-star { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .25; } }
.tw-crystal { animation: twinkle 3s ease-in-out infinite; }
.tw-aura { transform-box: fill-box; transform-origin: center; animation: aura 6s ease-in-out infinite; }
@keyframes aura { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
.tw-flag { transform-box: fill-box; transform-origin: 0 50%; animation: flag 3s ease-in-out infinite; }
@keyframes flag { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(.9); } }

/* Reduced motion: no pinned camera — a still of the temple, then the altars as cards */
.walk--static { height: auto; }
.walk--static .walk__stage { position: relative; }
.walk--static .walk__rail, .walk--static .walk__skip, .walk--static .walk__hint, .walk--static [data-win]:not(.walk__intro) { display: none; }

/* Mantra ribbon */
.marquee { overflow: hidden; padding: 26px 0; background: var(--night-900); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 70s linear infinite; }
.marquee__track span { font: 400 clamp(1.1rem, 2vw, 1.5rem) var(--deva); color: var(--gold-300); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; font-size: .7em; color: var(--gold-600); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* This month */
.month { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--night-900); color: var(--sandal-50); box-shadow: var(--shadow-lift); }
.month__art { position: relative; min-height: 420px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, rgba(255,210,122,.35), transparent 60%), var(--night-950); }
.month__art .big-diya { width: 140px; height: 140px; }
.month__body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.month__body h2 { color: var(--sandal-50); font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.month__body p { color: rgba(247,241,230,.72); }
[data-month-teaser] { display: none; }
[data-month-teaser].is-active { display: contents; }

/* Temple page: stats, history, altars, wide photo */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats > div { padding: 12px 20px; border-right: 1px solid var(--line-light); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font: 300 clamp(3rem, 6vw, 4.8rem)/1 var(--serif); color: var(--gold-300); }
.stats span { display: block; margin-top: 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,241,230,.65); }
.history { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.history::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 1px; background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300)); }
.history li { position: relative; padding: 96px 36px 0 0; }
.history li::before { content: ""; position: absolute; left: 0; top: 40px; width: 13px; height: 13px; border-radius: 50%; background: var(--sandal-50); border: 1px solid var(--gold-500); box-shadow: 0 0 0 6px rgba(201,164,92,.14); }
.history__year { position: absolute; top: 0; left: 0; font: 300 2.6rem/1 var(--serif); color: var(--gold-600); }
.history h3 { margin-bottom: 10px; }
.history p { color: var(--ink-2); margin: 0; max-width: 320px; }
.altars { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: start; }
.altar-card { text-align: center; }
.altar-card__img { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 26px; border: 1px solid rgba(176,138,69,.35); padding: 8px; background: var(--sandal-50); }
.altar-card__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 14px 14px; transition: transform 1.6s var(--ease-enter); }
.altar-card:hover .altar-card__img img { transform: scale(1.05); }
.altar-card--main { margin-top: -28px; }
.altar-card--main .altar-card__img { aspect-ratio: 3 / 4.3; }
.altar-card__img--art { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #fff4d2, #f6c773 30%, #7a2e20 72%, #2b0f14); }
.altar-card__img--art svg { position: absolute; width: 78%; color: rgba(255, 233, 176, .45); }
.altar-card__img--art span { position: relative; font: 400 3.6rem var(--deva); color: #fff4d6; text-shadow: 0 0 30px rgba(255,210,122,.9); }
.altar-card .deva { color: var(--gold-600); margin-bottom: 4px; }
.altar-card h3 { font-size: 1.9rem; margin-bottom: 10px; }
.altar-card p:last-child { color: var(--ink-2); font-size: .96rem; max-width: 340px; margin-inline: auto; }
.wide-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 16 / 8; box-shadow: var(--shadow-lift); }
.wide-photo img { width: 100%; height: 118%; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 32px 26px; background: linear-gradient(transparent, rgba(8,12,31,.8)); font: 300 italic 1.4rem var(--serif); color: var(--sandal-50); }
.fact__num { display: block; font: 300 2.6rem/1 var(--serif); color: var(--gold-600); margin-bottom: 14px; }

/* Darshan photo strip (home) */
.darshan-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.darshan-strip figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-soft); }
.darshan-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-enter); }
.darshan-strip figure:hover img { transform: scale(1.05); }
.darshan-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; background: linear-gradient(transparent, rgba(8,12,31,.82)); color: var(--sandal-50); }
.darshan-strip figcaption small { display: block; font: 400 1rem var(--deva); color: var(--gold-300); }
.darshan-strip figcaption strong { font: 400 1.6rem var(--serif); }

/* Upcoming dates */
.upcoming { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.upcoming li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.upcoming time { text-align: center; line-height: 1; }
.upcoming time b { display: block; font: 300 2.1rem var(--serif); color: var(--gold-300); }
.upcoming time i { font-style: normal; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,241,230,.6); }
.upcoming span { font: 400 1.2rem var(--serif); color: var(--sandal-50); }
.upcoming--light { border-color: var(--line); }
.upcoming--light li { border-color: var(--line); }
.upcoming--light time b { color: var(--gold-600); }
.upcoming--light time i { color: var(--ink-3); }
.upcoming--light span { color: var(--ink); font-size: 1.45rem; }
[data-upcoming-wrap][hidden] { display: none; }

/* ---------- Motion: reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity var(--dur-calm) var(--ease-enter), transform var(--dur-calm) var(--ease-enter); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1100ms var(--ease-enter); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js [data-split].is-in .w > span { transform: none; }
.js .clip-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1400ms var(--ease-enter); }
.js .clip-reveal.is-in { clip-path: inset(0 0 0 0); }

/* Page transitions */
::view-transition-old(root) { animation: vt-out 260ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-in 620ms var(--ease-enter) both; }
::view-transition-group(site-nav) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.no-vt body { animation: page-in 620ms var(--ease-enter) both; }
.no-vt body.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity 240ms var(--ease-exit), transform 240ms var(--ease-exit); }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 24px; }
  .nav__live { display: none; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .on-dark .pillar:nth-child(n+3) { border-color: var(--line-light); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .hero__grid, .split, .donate, .visit, .japa, .fest-feature { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero__media { max-width: 440px; width: 100%; margin-inline: auto; }
  .live-card { left: 50%; translate: -50% 0; bottom: -28px; white-space: nowrap; }
  .live-card:hover { transform: none; }
  .sevas, .facts { grid-template-columns: repeat(2, 1fr); }
  .seva--featured { grid-column: 1 / -1; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip__item:nth-child(3) { border-right: 0; }
  .strip__item:nth-child(n+4) { border-top: 1px solid var(--line-light); }
  .section-head--split { grid-template-columns: 1fr; }
  .etiquette { grid-template-columns: 1fr 1fr; }
  .split__media { max-width: 560px; }
  .media-badge { right: 12px; }
  .fest-feature__img { min-height: 320px; }
  .map { min-height: 400px; }
}
@media (max-width: 1020px) {
  .altars { grid-template-columns: 1fr 1fr; }
  .altar-card--main { grid-column: 1 / -1; grid-row: 1; margin: 0 auto; max-width: 440px; }
  .darshan-strip { grid-template-columns: 1fr 1fr; }
  .darshan-strip figure:first-child { grid-column: 1 / -1; }
  .month { grid-template-columns: 1fr; }
  .month__art { min-height: 260px; }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .stats > div:nth-child(2) { border-right: 0; }
  .history { grid-template-columns: 1fr; gap: 36px; }
  .history::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--gold-300), var(--gold-500)); }
  .history li { padding: 0 0 0 40px; }
  .history li::before { top: 10px; }
  .history__year { position: static; display: block; margin-bottom: 10px; }
  .altars { grid-template-columns: 1fr; }
  .altar-card--main { max-width: none; }
  .darshan-strip { grid-template-columns: 1fr; }
  .darshan-strip figure { min-height: 380px; }
  .wide-photo { aspect-ratio: 4 / 3; }
  .walk__rail { display: none; }
  .walk__intro { justify-content: flex-start; align-items: center; text-align: center; padding-top: calc(var(--nav-h) + 12px); }
  .walk__intro .hero__mantra { border: 0; padding: 0; margin-top: 14px; }
  .walk__intro .live-card { position: absolute; left: 50%; translate: -50% 0; bottom: 84px; margin: 0; }
  .walk__hint { bottom: 22px; }
  .walk__skip { left: 16px; right: auto; bottom: 20px; font-size: .72rem; }
  .walk__card { padding: 22px 22px; border-radius: 20px; }
  .walk__card-wrap, .walk__card-wrap--right { justify-content: center; padding-bottom: 60px; }
  body { font-size: 16px; }
  :root { --nav-h: 68px; }
  .brand__text small { display: none; }
  .nav__donate { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero--page { min-height: 64svh; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .paths, .sevas, .facts, .pillars, .etiquette { grid-template-columns: 1fr; }
  .path { min-height: 320px; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-right: 0; border-top: 1px solid var(--line); }
  .pillars { border-top: 0; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__item { border-right: 1px solid var(--line-light) !important; border-top: 1px solid var(--line-light); padding: 22px 16px; }
  .strip__item:nth-child(2n) { border-right: 0 !important; }
  .strip__item:last-child { grid-column: 1 / -1; border-right: 0 !important; }
  .day::before { left: 84px; }
  .day__item { grid-template-columns: 84px 1fr; gap: 6px 28px; padding: 26px 0; }
  .day__item::before { left: 84px; top: 36px; translate: -5px 0; }
  .day__time { font-size: 1.55rem; }
  .day__tag { grid-column: 2; justify-self: start; }
  .day__item:not(.is-focus) .day__tag { display: none; }
  .seva--featured { flex-direction: column; }
  .seva--featured .seva__img { aspect-ratio: 4 / 3; }
  .seva--featured .seva__body { padding: 28px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .cal { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .cal:hover { padding-left: 0; }
  .cal.is-now { padding-left: 14px; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { flex-direction: column; }
  .japa__stats { gap: 28px; }
  .media-badge { width: 92px; height: 92px; }
  .media-badge img { width: 48px; }
}

/* ---------- Book store ---------- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.book-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -48px rgba(13, 19, 48, .55);
  transition: transform var(--dur-slow) var(--ease-enter), box-shadow var(--dur-slow) var(--ease-enter);
}
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.book-card__cover {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 20px;
  background: linear-gradient(160deg, var(--sandal-100), var(--sandal-200));
  overflow: hidden;
}
.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(13, 19, 48, .24));
  transition: transform var(--dur-slow) var(--ease-enter);
}
.book-card:hover .book-card__cover img { transform: scale(1.035); }
.book-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 20px 20px 22px; }
.book-card__lang {
  margin: 0;
  font: 700 .62rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.book-card h3 { margin: 2px 0 0; font-size: 1.35rem; line-height: 1.15; }
.book-card h3 a { text-decoration: none; }
.book-card h3 a:hover { color: var(--gold-600); }
.book-card__edition { margin: 0; font-size: .82rem; color: var(--ink-3); }
.book-card__blurb {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 8px 0 0;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.book-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.book-card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.book-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.book-rail img { width: 100%; border-radius: 4px; filter: drop-shadow(0 28px 38px rgba(13, 19, 48, .35)); }
.book-rail__note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font: 600 .68rem/1.4 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 1020px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .book-card__body { padding: 16px; }
  .book-card h3 { font-size: 1.15rem; }
  .book-card__blurb { -webkit-line-clamp: 3; }
  .book-rail { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .js .clip-reveal { clip-path: none; }
  .breath__orb::before, .breath__orb::after { animation: none; transform: scale(.85); }
  .marquee__track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* The hidden attribute must win over component display rules (e.g. .btn). */
[hidden] { display: none !important; }
