:root {
  --ivory: #fff8ea;
  --paper: #fbf2df;
  --marble: #f7f4ef;
  --saffron: #d9831f;
  --deep-red: #8f231f;
  --vermillion: #c93a24;
  --lotus: #efbb6c;
  --ink: #211a17;
  --muted: #6f6259;
  --line: rgba(83, 58, 42, 0.18);
  --shadow: 0 24px 70px rgba(65, 37, 20, 0.25);
  --soft-shadow: 0 18px 50px rgba(73, 42, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(90deg, rgba(143, 35, 31, 0.04) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(143, 35, 31, 0.035) 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(circle at 12% 0%, rgba(239, 187, 108, 0.24), transparent 30rem),
    linear-gradient(180deg, var(--ivory), #fffdf8 44%, var(--paper));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

::selection {
  background: rgba(217, 131, 31, 0.28);
  color: var(--ink);
}

.topbar {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(255, 248, 234, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  box-shadow: 0 20px 54px rgba(43, 24, 13, 0.12);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: clamp(14px, 3vw, 42px);
  padding: 10px 16px 10px 10px;
  position: fixed;
  right: clamp(14px, 3vw, 42px);
  top: 18px;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
  transition: transform 0.22s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--deep-red), var(--saffron));
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(143, 35, 31, 0.22);
  color: white;
  display: grid;
  flex: 0 0 42px;
  font-family: Cinzel, serif;
  font-size: 14px;
  font-weight: 700;
  height: 42px;
  place-items: center;
  width: 42px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.brand:hover .brand-mark {
  box-shadow: 0 14px 30px rgba(143, 35, 31, 0.32);
  transform: rotate(-4deg) scale(1.04);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: Cinzel, serif;
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

nav {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(83, 58, 42, 0.08);
  border-radius: 999px;
  display: flex;
  gap: clamp(12px, 2.4vw, 30px);
  overflow: hidden;
  padding: 10px 16px;
}

nav a {
  color: #4e4038;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}

nav a::after {
  background: linear-gradient(90deg, var(--saffron), var(--vermillion));
  border-radius: 999px;
  bottom: -5px;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  --hero-x: 0;
  --hero-y: 0;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 128px clamp(20px, 5vw, 72px) 86px;
  width: 100vw;
}

.hero-media {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero-media img {
  position: absolute;
}

.hero-photo-bg {
  filter: blur(18px) saturate(1.05);
  height: 112%;
  inset: -6%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.56;
  transform: scale(1.04) translate(calc(var(--hero-x) * -16px), calc(var(--hero-y) * -12px));
  transition: transform 0.3s ease-out;
  width: 112%;
}

.hero-photo-full {
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: center center;
  transform: translate(calc(var(--hero-x) * -8px), calc(var(--hero-y) * -6px));
  transition: transform 0.3s ease-out;
  width: 100%;
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 72%, rgba(255, 185, 82, 0.22), transparent 22rem),
    linear-gradient(90deg, rgba(29, 17, 14, 0.84), rgba(29, 17, 14, 0.44) 42%, rgba(29, 17, 14, 0.18)),
    linear-gradient(0deg, rgba(20, 12, 10, 0.32), rgba(255, 248, 234, 0.04));
  inset: 0;
  position: absolute;
}

.hero::before {
  background: linear-gradient(180deg, transparent, rgba(255, 248, 234, 0.96));
  bottom: -1px;
  content: "";
  height: 120px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 1;
}

.temple-3d {
  bottom: 8.5vh;
  height: min(32vw, 330px);
  max-height: 36vh;
  min-height: 210px;
  pointer-events: auto;
  position: absolute;
  right: clamp(26px, 7vw, 108px);
  width: min(36vw, 430px);
  z-index: 1;
  transform: translate(calc(var(--hero-x) * 18px), calc(var(--hero-y) * 10px));
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.3s ease-out;
}

.hero:hover .temple-3d {
  filter: drop-shadow(0 22px 36px rgba(255, 190, 102, 0.16));
}

.temple-3d::after {
  background: radial-gradient(ellipse, rgba(239, 187, 108, 0.28), transparent 66%);
  bottom: 4%;
  content: "";
  height: 28%;
  left: 16%;
  opacity: 0;
  position: absolute;
  right: 16%;
  transition: opacity 0.3s ease;
}

.temple-3d.is-fallback::after {
  opacity: 1;
}

.temple-3d.is-fallback {
  background:
    linear-gradient(125deg, transparent 44%, rgba(255, 248, 234, 0.8) 45% 55%, transparent 56%) 50% 28% / 16% 42% no-repeat,
    linear-gradient(125deg, transparent 44%, rgba(255, 248, 234, 0.68) 45% 55%, transparent 56%) 28% 38% / 13% 32% no-repeat,
    linear-gradient(125deg, transparent 44%, rgba(255, 248, 234, 0.68) 45% 55%, transparent 56%) 72% 38% / 13% 32% no-repeat,
    linear-gradient(rgba(255, 248, 234, 0.92), rgba(239, 187, 108, 0.8)) 50% 72% / 68% 28% no-repeat;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.25));
}

.hero-content {
  color: white;
  max-width: 680px;
  position: relative;
  z-index: 3;
  animation: heroContentIn 900ms ease both 160ms;
}

.eyebrow,
.section-label {
  color: var(--saffron);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
section h2 {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0;
  margin: 0;
}

.hero h1,
.hero h2 {
  color: #ffffff;
  font-size: clamp(46px, 7.6vw, 104px);
  line-height: 0.94;
  margin-top: 14px;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

.hero p:not(.eyebrow) {
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(255, 248, 234, 0.18), rgba(255, 255, 255, 0.06));
  border-left: 3px solid rgba(239, 187, 108, 0.82);
  border-radius: 8px;
  color: rgba(255, 243, 215, 0.84);
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 600;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 560px;
  padding: 12px 16px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.hero-badge {
  backdrop-filter: blur(14px);
  background: rgba(255, 248, 234, 0.14);
  border: 1px solid rgba(239, 187, 108, 0.36);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(31, 18, 14, 0.22);
  display: inline-flex;
  padding: 8px 13px;
}

.hero-actions,
.visit-band {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-cue {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  bottom: 32px;
  height: 42px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 24px;
  z-index: 4;
}

.scroll-cue span {
  animation: cueDrop 1.9s ease-in-out infinite;
  background: white;
  border-radius: 50%;
  display: block;
  height: 6px;
  margin: 8px auto;
  width: 6px;
}

@keyframes cueDrop {
  0%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(14px);
  }
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  content: "";
  height: 100%;
  left: -90%;
  position: absolute;
  top: 0;
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  width: 70%;
}

.button:hover::before {
  left: 120%;
}

.button.primary {
  background: linear-gradient(135deg, var(--saffron), var(--vermillion));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(143, 35, 31, 0.26);
  color: white;
}

.button.primary:hover {
  box-shadow: 0 20px 42px rgba(143, 35, 31, 0.34);
}

.button.ghost {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.64);
}

.blessing-strip {
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 131, 31, 0.13), transparent 18rem),
    rgba(255, 248, 234, 0.82);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(22px, 4vw, 42px) clamp(20px, 5vw, 72px);
}

.blessing-strip article {
  background: linear-gradient(145deg, rgba(255, 251, 244, 0.9), rgba(246, 236, 220, 0.82));
  border: 1px solid rgba(217, 131, 31, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(73, 42, 25, 0.1);
  display: grid;
  min-height: 132px;
  overflow: hidden;
  place-items: center;
  position: relative;
  text-align: center;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.blessing-strip article::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  content: "";
  height: 100%;
  left: -80%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  width: 46%;
}

.blessing-strip article:hover {
  border-color: rgba(201, 58, 36, 0.42);
  box-shadow: 0 24px 62px rgba(73, 42, 25, 0.16);
  transform: translateY(-6px);
}

.blessing-strip article:hover::before {
  left: 130%;
}

.blessing-strip strong {
  color: #a4201f;
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.blessing-strip span {
  color: #76574c;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 180px;
  text-transform: uppercase;
}

.mantra-marquee {
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.96), rgba(239, 187, 108, 0.16), rgba(255, 248, 234, 0.96));
  border-bottom: 1px solid rgba(83, 58, 42, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.mantra-marquee.soft {
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.72), rgba(143, 35, 31, 0.08), rgba(255, 248, 234, 0.72));
}

.mantra-marquee.compact {
  padding: 12px 0;
}

.marquee-track {
  animation: mantraMove 26s linear infinite;
  display: inline-flex;
  gap: clamp(34px, 6vw, 86px);
  min-width: max-content;
  padding-left: 100%;
}

.mantra-marquee.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 31s;
}

.mantra-marquee.compact .marquee-track {
  animation-duration: 22s;
}

.marquee-track span {
  color: rgba(143, 35, 31, 0.76);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(24px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(73, 42, 25, 0.1);
}

.mantra-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes mantraMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.intro-band,
.presence,
.gallery-section,
.visit-band {
  padding: clamp(60px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.62fr);
  margin: 0 auto;
  max-width: 1160px;
}

.intro-grid article {
  position: relative;
}

.intro-grid article::before {
  background: linear-gradient(180deg, var(--saffron), var(--deep-red));
  border-radius: 999px;
  content: "";
  height: 100%;
  left: -28px;
  max-height: 260px;
  position: absolute;
  top: 10px;
  width: 4px;
}

section h2 {
  color: #35251f;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.04;
  margin-top: 10px;
}

section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin: 18px 0 0;
}

.darshan-frame {
  aspect-ratio: 4 / 5;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  transform: rotate(1.2deg);
}

.darshan-frame::before {
  border: 1px solid rgba(255, 248, 234, 0.86);
  border-radius: 6px;
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.darshan-frame img,
.gallery-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
  width: 100%;
}

.darshan-frame:hover img,
.gallery-grid figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.darshan-frame:hover {
  box-shadow: 0 32px 80px rgba(65, 37, 20, 0.3);
  transform: rotate(0deg) translateY(-6px);
}

.devotion-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.devotion-points div {
  align-items: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(143, 35, 31, 0.1);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: #4f3e34;
  display: flex;
  font-weight: 800;
  gap: 12px;
  max-width: 360px;
  padding: 14px 16px;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.devotion-points div:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(73, 42, 25, 0.18);
  transform: translateX(8px);
}

.devotion-points span {
  background: linear-gradient(135deg, var(--saffron), var(--vermillion));
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(217, 131, 31, 0.13);
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.presence {
  align-items: start;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 216, 145, 0.22), transparent 24rem),
    linear-gradient(135deg, #3b1714, #7d211a 52%, #bc6f21);
  color: white;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
}

.presence h2,
.presence p {
  color: white;
}

.presence p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
}

.quiet-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
}

.quiet-stats div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 22px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quiet-stats div:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.quiet-stats strong,
.quiet-stats span {
  display: block;
}

.quiet-stats strong {
  font-family: Cinzel, serif;
  font-size: clamp(22px, 3vw, 34px);
}

.quiet-stats span {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto 30px;
  max-width: 1180px;
}

.section-heading p {
  max-width: 360px;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-auto-rows: 300px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: 1180px;
}

.gallery-grid figure {
  background: #eadfcd;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-grid figure::after {
  background: linear-gradient(180deg, transparent 55%, rgba(31, 19, 14, 0.38));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
}

.gallery-grid figure:hover::after {
  opacity: 1;
}

.gallery-grid figure:hover {
  box-shadow: 0 26px 64px rgba(73, 42, 25, 0.22);
  transform: translateY(-6px);
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-more {
  align-items: center;
  background: linear-gradient(160deg, rgba(255, 251, 244, 0.92), rgba(246, 236, 220, 0.78));
  border: 2px dashed rgba(217, 131, 31, 0.35);
  border-radius: 12px;
  color: var(--deep-red);
  display: flex;
  flex-direction: column;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  margin: 0;
  min-height: 160px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color 0.35s ease, box-shadow 0.4s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
  isolation: isolate;
}

.gallery-more:hover {
  background: linear-gradient(160deg, rgba(255, 251, 244, 1), rgba(255, 248, 234, 0.95));
  border-color: rgba(217, 131, 31, 0.7);
  border-style: solid;
  box-shadow:
    0 24px 62px rgba(73, 42, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-6px) scale(1.02);
}

.gallery-more::before {
  background: linear-gradient(90deg, transparent, rgba(239, 187, 108, 0.12), transparent);
  content: "";
  height: 100%;
  left: -80%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  width: 46%;
  z-index: -1;
}

.gallery-more:hover::before {
  left: 130%;
}

/* Subtle saffron overlay accent on hover */
.gallery-more::after {
  background: linear-gradient(135deg, rgba(217, 131, 31, 0.06), rgba(201, 58, 36, 0.03));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.gallery-more:hover::after {
  opacity: 1;
}

/* Decorative icon circle */
.gallery-more .gallery-more-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(217, 131, 31, 0.12), rgba(143, 35, 31, 0.08));
  border: 1px solid rgba(217, 131, 31, 0.2);
  border-radius: 50%;
  display: grid;
  height: 48px;
  place-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  width: 48px;
}

.gallery-more:hover .gallery-more-icon {
  background: linear-gradient(145deg, rgba(217, 131, 31, 0.2), rgba(143, 35, 31, 0.15));
  border-color: rgba(217, 131, 31, 0.4);
  box-shadow: 0 8px 24px rgba(143, 35, 31, 0.15);
  transform: scale(1.1) rotate(-8deg);
}

.gallery-more .gallery-more-icon svg {
  display: block;
  height: 22px;
  transition: transform 0.35s ease;
  width: 22px;
}

.gallery-more:hover .gallery-more-icon svg {
  transform: translateX(2px);
}

.gallery-more span:first-of-type {
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
  transition: letter-spacing 0.35s ease;
}

.gallery-more:hover span:first-of-type {
  letter-spacing: 2px;
}

/* Arrow label */
.gallery-more .gallery-more-label {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0.5px;
  opacity: 0.6;
  text-transform: uppercase;
  transition: opacity 0.35s ease, gap 0.35s ease;
}

.gallery-more:hover .gallery-more-label {
  gap: 10px;
  opacity: 1;
}

.gallery-more .gallery-more-label span {
  display: inline-block;
  font-size: 1.2em;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-more:hover .gallery-more-label span {
  transform: translateX(4px);
}

/* Google Map embed */
.map-embed {
  border-radius: 8px;
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
  overflow: hidden;
  width: 100%;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 820px) {
  .map-embed {
    grid-column: 1 / -1;
  }

  .map-embed iframe {
    height: 240px;
  }
}

.visit-band {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 234, 0.58)),
    url("assets/images/IMG-20250519-WA0070.jpg") center / cover;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  min-height: 420px;
  position: relative;
}

.visit-copy {
  max-width: 690px;
}

.visit-band .button {
  flex: 0 0 auto;
}

.page-hero {
  align-items: end;
  color: white;
  display: grid;
  min-height: 58vh;
  padding: 150px clamp(20px, 5vw, 72px) 72px;
  position: relative;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(31, 18, 14, 0.84), rgba(31, 18, 14, 0.34)),
    linear-gradient(0deg, rgba(31, 18, 14, 0.46), rgba(31, 18, 14, 0.08));
  content: "";
  inset: 0;
  position: absolute;
}

.page-hero > div {
  max-width: 790px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  margin: 12px 0 0;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: 640px;
}

.darshan-page-hero {
  background: url("assets/images/IMG-20250628-WA0023.jpg") center 28% / cover;
}

.gallery-page-hero {
  background: url("assets/images/IMG-20250519-WA0148.jpg") center / cover;
}

.contact-page-hero {
  background: url("assets/images/IMG-20250519-WA0070.jpg") center / cover;
}

.content-split,
.contact-section {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(62px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.content-copy h2,
.contact-panel h2 {
  color: #35251f;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  margin: 10px 0 0;
}

.content-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.image-stack {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.92fr 1fr;
}

.image-stack img {
  aspect-ratio: 4 / 5;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-stack img:first-child {
  transform: translateY(34px);
}

.page-gallery {
  padding-top: clamp(48px, 6vw, 80px);
}

/* ---- Devotion band (darshan page) ---- */
.devotion-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 131, 31, 0.13), transparent 18rem),
    rgba(255, 248, 234, 0.82);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid rgba(255, 255, 255, 0.74);
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.devotion-band-content {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.devotion-band-content h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: 10px;
}

.devotion-text {
  margin-top: 20px;
}

.devotion-text p {
  font-size: 18px;
  line-height: 1.8;
  margin: 16px 0 0;
}

.devotion-text p:first-child {
  margin-top: 0;
}

.devotion-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  margin: 48px auto 0;
  max-width: 1100px;
}

.devotion-cards article {
  background: linear-gradient(145deg, rgba(255, 251, 244, 0.9), rgba(246, 236, 220, 0.82));
  border: 1px solid rgba(217, 131, 31, 0.3);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(73, 42, 25, 0.1);
  display: grid;
  padding: 28px 22px;
  place-items: center;
  text-align: center;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.devotion-cards article:hover {
  border-color: rgba(201, 58, 36, 0.4);
  box-shadow: 0 24px 62px rgba(73, 42, 25, 0.16);
  transform: translateY(-6px);
}

.devotion-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}

.devotion-cards strong {
  color: #a4201f;
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.devotion-cards article > span:not(.devotion-icon) {
  color: #76574c;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

.devotion-cards p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 0;
}

@media (max-width: 820px) {
  .devotion-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .devotion-cards {
    grid-template-columns: 1fr;
  }
}

.full-gallery {
  grid-auto-rows: 220px;
  grid-template-columns: repeat(4, 1fr);
}

.full-gallery figure {
  cursor: pointer;
  min-height: 0;
}

@media (min-width: 821px) {
  .full-gallery {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 820px) {
  .full-gallery {
    grid-auto-rows: 180px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .full-gallery {
    grid-auto-rows: 160px;
    grid-template-columns: 1fr;
  }
}

/* Lightbox overlay */
.lightbox {
  align-items: center;
  background: rgba(10, 6, 5, 0.92);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.lightbox-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: grid;
  font-size: 24px;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 24px;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 48px;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.lightbox-close {
  right: 24px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 88px;
}

.lightbox-counter {
  bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  left: 50%;
  letter-spacing: 1px;
  position: absolute;
  transform: translateX(-50%);
}

.contact-panel {
  align-self: start;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(143, 35, 31, 0.1);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  padding: clamp(24px, 4vw, 40px);
}

.contact-form {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(143, 35, 31, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  padding: clamp(22px, 4vw, 38px);
}

.contact-form label {
  color: #4f3e34;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.contact-form .full,
.contact-form .form-alert,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 248, 234, 0.72);
  border: 1px solid rgba(83, 58, 42, 0.18);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: white;
  border-color: rgba(217, 131, 31, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 131, 31, 0.14);
}

.contact-panel,
.contact-form,
.image-stack img {
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.contact-panel:hover,
.contact-form:hover,
.image-stack img:hover {
  box-shadow: 0 26px 64px rgba(73, 42, 25, 0.18);
  transform: translateY(-4px);
}

.contact-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
  min-width: 170px;
}

.website-field {
  display: none !important;
}

.form-alert {
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.5;
  padding: 14px 16px;
}

.form-alert.success {
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.28);
  color: #245b27;
}

.form-alert.error {
  background: rgba(143, 35, 31, 0.1);
  border: 1px solid rgba(143, 35, 31, 0.24);
  color: #7d211a;
}

.site-footer {
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 131, 31, 0.18), transparent 24rem),
    linear-gradient(135deg, #211a17, #381916 58%, #6b241c);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  grid-template-rows: auto auto;
  overflow: hidden;
  padding: 34px clamp(20px, 5vw, 72px);
  position: relative;
}

.site-footer::before {
  background: linear-gradient(90deg, transparent, rgba(239, 187, 108, 0.32), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.footer-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  grid-column: 1 / -1;
  padding-top: 6px;
  text-align: center;
}

.footer-credit a {
  color: rgba(239, 187, 108, 0.85);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--lotus);
  text-decoration: underline;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand .brand-mark {
  flex: 0 0 48px;
  height: 48px;
  width: 48px;
}

.footer-brand strong {
  color: white;
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 17px;
  line-height: 1.2;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.66);
  margin: 5px 0 0;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 187, 108, 0.45);
  color: white;
  transform: translateY(-2px);
}

.footer-social {
  align-items: center;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: center;
  padding-top: 4px;
}

.footer-social a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  height: 40px;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  width: 40px;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 187, 108, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: var(--lotus);
  transform: translateY(-4px) scale(1.08);
}

.footer-social a svg {
  display: block;
  height: 18px;
  width: 18px;
}

@media (max-width: 820px) {
  .footer-social {
    grid-column: 1 / -1;
  }
}

.back-to-top {
  align-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--vermillion));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  bottom: 32px;
  box-shadow: 0 16px 34px rgba(15, 8, 6, 0.28);
  color: white;
  display: grid;
  font-size: 26px;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 28px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, opacity 0.3s ease;
  width: 54px;
  z-index: 50;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top::before {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  content: "";
  height: 100%;
  position: absolute;
  transform: scale(0);
  transition: transform 0.32s ease;
  width: 100%;
}

.back-to-top span {
  line-height: 1;
  position: relative;
  transform: translateY(-1px);
}

.back-to-top:hover {
  box-shadow: 0 22px 44px rgba(15, 8, 6, 0.36);
  transform: translateY(-5px);
}

.back-to-top:hover::before {
  transform: scale(1);
}

.motion-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease var(--delay), transform 0.72s ease var(--delay);
}

.motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    border-radius: 8px;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  nav {
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-top: 148px;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 50% 78%, rgba(255, 185, 82, 0.2), transparent 14rem),
      linear-gradient(0deg, rgba(28, 15, 12, 0.86), rgba(28, 15, 12, 0.34));
  }

  .temple-3d {
    bottom: 5vh;
    left: 22%;
    opacity: 0.68;
    right: auto;
    width: 56%;
  }

  .hero-content {
    align-self: start;
  }

  .intro-grid,
  .presence {
    grid-template-columns: 1fr;
  }

  .intro-grid article::before {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
    grid-template-columns: 1fr;
  }

  .gallery-grid .wide {
    grid-column: auto;
  }

  .quiet-stats {
    grid-template-columns: 1fr;
  }

  .blessing-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 52vh;
    padding-top: 160px;
  }

  .content-split,
  .contact-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child {
    transform: none;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 14px;
  }

  .hero h1,
  .hero h2 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }
}
