:root {
  --saffron: #f0851c;
  --saffron-deep: #c9650f;
  --marigold: #fbb034;
  --maroon: #7e1c30;
  --maroon-deep: #4e0e22;
  --gold: #cda349;
  --gold-soft: #ebd193;
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --plum: #3a1530;
  --cream: #fcf6ec;
  --sand: #f3e7d2;
  --ink: #2a1b1f;
  --ink-soft: #6a5358;
  --line: rgba(126, 28, 48, 0.14);
  --shadow: 0 22px 60px -26px rgba(78, 14, 34, 0.55);
  --shadow-3d:
    0 40px 80px -30px rgba(78, 14, 34, 0.6),
    0 12px 24px -16px rgba(78, 14, 34, 0.5);
  --g-warm: linear-gradient(
    135deg,
    var(--marigold),
    var(--saffron) 45%,
    var(--maroon)
  );
  --g-gold: linear-gradient(
    135deg,
    var(--gold-soft),
    var(--gold) 60%,
    var(--saffron-deep)
  );
  --g-jewel: linear-gradient(
    135deg,
    var(--maroon-deep),
    var(--plum) 55%,
    var(--teal-deep)
  );
  --display: "Marcellus", serif;
  --quote: "Cormorant Garamond", serif;
  --body: "Mukta", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
body.lock {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.eyebrow {
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before,
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.center {
  justify-content: center;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--maroon);
}
.section {
  padding: 65px 0;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 35px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  transition: 0.25s;
  cursor: pointer;
  border: none;
}
.btn-solid {
  background: var(--saffron);
  color: #fff;
}
.btn-solid:hover {
  background: var(--maroon);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--maroon);
}

.events .btn-line {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--gold);
}
.btn-line {
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--gold);
}
.btn-line:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

/* TOP BAR */
.topbar {
  background: var(--maroon-deep);
  color: #f3e2c8;
  font-size: 0.8rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar .info {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.topbar .info span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.92;
}
.topbar .socials a {
  margin-left: 14px;
  opacity: 0.85;
}
.topbar .socials a:hover {
  opacity: 1;
  color: var(--gold-soft);
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand .mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* background: radial-gradient(circle at 50% 40%, var(--saffron), var(--maroon)); */
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  /* box-shadow: 0 6px 16px -6px rgba(122, 31, 31, 0.6); */
  flex: 0 0 auto;
}
.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand > span:last-child {
  min-width: 0;
  overflow: hidden;
}
.brand b {
  font-family: var(--display);
  font-size: 1.32rem;
  color: var(--maroon);
  line-height: 1.1;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .brand {
    gap: 10px;
  }
  .brand .mark {
    width: 42px;
    height: 42px;
  }
  .brand b {
    font-size: 1.12rem;
  }
  .brand small {
    font-size: 0.58rem;
    margin-top: 2px;
  }
}
nav.desktop ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.desktop a {
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: 0.2s;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
nav.desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: 0.25s;
}
nav.desktop a:hover {
  color: var(--maroon);
}
nav.desktop a:hover::after {
  width: 100%;
}
/* dropdown */
nav.desktop .has-drop {
  position: relative;
}
nav.desktop .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  display: block;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 8px;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 70;
}
nav.desktop .dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
nav.desktop .has-drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
nav.desktop .dropdown li {
  width: 100%;
}
nav.desktop .dropdown a {
  display: block;
  padding: 11px 16px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
nav.desktop .dropdown a::after {
  display: none;
}
nav.desktop .dropdown a:hover {
  background: var(--cream);
  color: var(--maroon);
}
/* indented child links inside a dropdown (Updates → Gallery → Images/Videos) */
nav.desktop .dropdown .drop-sub a {
  padding-left: 34px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.nav .btn {
  padding: 11px 22px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  flex-shrink: 0;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--maroon);
  transition: 0.3s;
}

/* OFF-CANVAS DRAWER */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 10, 10, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
  z-index: 100;
}
.backdrop.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(420px, 100vw);
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: #f3e2c8;
  z-index: 110;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.4s cubic-bezier(0.5, 0.05, 0.2, 1),
    visibility 0s linear 0.4s;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.4s cubic-bezier(0.5, 0.05, 0.2, 1),
    visibility 0s;
}
.drawer .d-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.drawer .d-head .om {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--gold-soft);
}
.drawer .close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #f3e2c8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: 0.25s;
}
.drawer .close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}
/* sliding panels */
.d-panels {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.d-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 24px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}
.d-main {
  transition: transform 0.35s cubic-bezier(0.5, 0.05, 0.2, 1);
}
.drawer.sub-open .d-main {
  transform: translateX(-22%);
}
.d-subpanel {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.5, 0.05, 0.2, 1);
  z-index: 2;
}
.d-subpanel.active {
  transform: translateX(0);
}
.drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* staggered entrance for main items */
.d-main li {
  opacity: 0;
  transform: translateX(24px);
}
.drawer.open .d-main li {
  animation: slideIn 0.45s forwards;
}
.drawer.open .d-main li:nth-child(1) {
  animation-delay: 0.06s;
}
.drawer.open .d-main li:nth-child(2) {
  animation-delay: 0.12s;
}
.drawer.open .d-main li:nth-child(3) {
  animation-delay: 0.18s;
}
.drawer.open .d-main li:nth-child(4) {
  animation-delay: 0.24s;
}
.drawer.open .d-main li:nth-child(5) {
  animation-delay: 0.3s;
}
.drawer.open .d-main li:nth-child(6) {
  animation-delay: 0.36s;
}
.drawer.open .d-main li:nth-child(7) {
  animation-delay: 0.42s;
}
@keyframes slideIn {
  to {
    opacity: 1;
    transform: none;
  }
}
/* menu rows — generous touch targets */
.drawer .d-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 17px 2px;
  font-family: var(--display);
  font-size: 1.28rem;
  text-align: left;
  color: #f3e2c8;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: 0.2s;
}
.drawer .d-link i {
  color: var(--gold-soft);
  font-size: 0.85rem;
  transition: transform 0.25s;
}
.drawer .d-link:hover,
.drawer .d-link:active {
  color: var(--gold-soft);
  padding-left: 8px;
}
.drawer .d-link:hover i {
  transform: translateX(4px);
}
/* sub-panel header */
.d-back {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 2px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.d-back:hover {
  color: #fff;
}
.d-back i {
  font-size: 0.8rem;
}
.d-title {
  font-family: var(--display);
  font-size: 1.55rem;
  color: #fff;
  padding: 16px 0 4px;
}
/* smaller rows inside sub-panels */
.d-subpanel .d-link {
  font-size: 1.08rem;
  padding: 14px 2px;
}
.drawer .d-cta {
  margin-top: 26px;
}
.drawer .d-cta .btn {
  width: 100%;
  justify-content: center;
}
.drawer .d-foot {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #d8b894;
}
.drawer .d-foot a {
  display: inline;
  border: none;
  padding: 0;
  font-family: var(--body);
  font-size: 0.82rem;
}
/* phones: drawer covers the full screen (left+right anchoring is
   immune to 100vw scrollbar overshoot) */
@media (max-width: 640px) {
  .drawer {
    left: 0;
    width: auto;
  }
}

/* HERO SLIDER */
.hero {
  position: relative;
  height: 90vh;
  min-height: 580px;
  overflow: hidden;
  /* background: #2a0f0f; */
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: grid;
  align-items: center;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgb(45 10 10 / 64%) 0%,
    rgba(89, 18, 18, 0.55) 45%,
    rgba(89, 18, 18, 0.1) 100%
  );
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    120% 80% at 50% 100%,
    rgba(40, 8, 8, 0.6),
    transparent 60%
  );
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
}
.slide.active .slide-bg {
  animation: kenburns 7s ease forwards;
}
@keyframes kenburns {
  to {
    transform: scale(1);
  }
}
.slide .wrap {
  position: relative;
  z-index: 3;
}
.slide-inner {
  max-width: 660px;
  color: #fff;
}
.slide-inner > * {
  opacity: 0;
  transform: translateY(26px);
}
.slide.active .slide-inner > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.slide.active .slide-inner > *:nth-child(1) {
  animation-delay: 0.25s;
}
.slide.active .slide-inner > *:nth-child(2) {
  animation-delay: 0.4s;
}
.slide.active .slide-inner > *:nth-child(3) {
  animation-delay: 0.55s;
}
.slide.active .slide-inner > *:nth-child(4) {
  animation-delay: 0.7s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.slide-inner .eyebrow {
  color: var(--gold-soft);
}
.slide-inner .eyebrow::before {
  background: var(--gold-soft);
}
.slide h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  margin: 18px 0 10px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.slide .lead {
  font-family: var(--quote);
  font-style: italic;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  color: #f4e6cf;
  max-width: 540px;
  margin-bottom: 32px;
}
.slide .cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* smoke / glow overlay */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    40% 55% at 78% 28%,
    rgba(232, 130, 30, 0.22),
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: flick 6s ease-in-out infinite alternate;
}
@keyframes flick {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
.om-watermark {
  position: absolute;
  right: 4%;
  bottom: -3%;
  font-family: var(--display);
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.05);
  z-index: 2;
  line-height: 1;
  pointer-events: none;
}
/* arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 5, 5, 0.25);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
  backdrop-filter: blur(4px);
}
.hero-nav:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}
.hero-nav.prev {
  left: 26px;
}
.hero-nav.next {
  right: 26px;
}
/* dots with progress */
.dots {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.dots button {
  position: relative;
  width: 42px;
  height: 4px;
  border-radius: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.dots button .fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--saffron);
  border-radius: 3px;
}
.dots button.on .fill {
  animation: fillbar 6s linear forwards;
}
@keyframes fillbar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* MESSAGE STRIP (incense bg) */
.message {
  position: relative;
  color: #f6e7cd;
  text-align: center;
  padding: 64px 0;
  overflow: hidden;
  background: #1c0808;
}
.message .mbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.message::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(28, 8, 8, 0.82), rgba(89, 18, 18, 0.78));
}
.message .wrap {
  position: relative;
  z-index: 2;
}
.message .lotus {
  font-size: 1.6rem;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.message p {
  font-family: var(--quote);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.4;
}
.message span {
  display: block;
  margin-top: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-soft);
  font-weight: 600;
}

/* SERVICES */
.services {
  background: var(--cream);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.svc-thumb {
  height: 215px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.svc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 42%, rgba(89, 18, 18, 0.6));
}
.svc-icon {
  position: absolute;
  left: 24px;
  bottom: -26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--saffron);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  z-index: 2;
  box-shadow: 0 8px 18px -8px rgba(122, 31, 31, 0.7);
}
.svc-body {
  padding: 40px 26px 30px;
}
.svc-body h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.svc-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.more {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  transition: 0.2s;
}
.more:hover {
  color: var(--maroon);
  gap: 0.85rem;
}

/* WELCOME */
.welcome {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.welcome.rev .welcome-figure {
  order: 2;
}
.welcome.rev .welcome-figure .frame {
  inset: 18px 18px -18px -18px;
}
.welcome.alt {
  background: var(--cream);
}
.welcome .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.welcome-figure {
  position: relative;
}
.welcome-figure img {
  border-radius: 6px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.welcome-figure .frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  z-index: 1;
}
.welcome-figure .badge {
  position: absolute;
  right: -14px;
  top: -14px;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--display);
  font-size: 0.78rem;
  line-height: 1.2;
  box-shadow: var(--shadow);
  padding: 10px;
}
.welcome-text h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 14px 0 18px;
}
.welcome-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.welcome-text .sign {
  font-family: var(--quote);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--maroon);
  margin: 22px 0 26px;
}

/* PARALLAX QUOTE BAND */
.parallax {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.parallax .pbg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(45, 10, 10, 0.78), rgba(89, 18, 18, 0.72));
}
.parallax .wrap {
  position: relative;
  z-index: 2;
}
.parallax h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  max-width: 820px;
  margin: 14px auto 22px;
  font-family: var(--quote);
  font-style: italic;
}

/* PROGRAMS */
.programs {
  background: linear-gradient(var(--maroon-deep), var(--maroon));
  color: #f6e7cd;
}
.programs .section-head h2 {
  color: #fff;
}
.programs .section-head p {
  color: #e8d3b3;
}
.programs .eyebrow {
  color: var(--gold-soft);
}
.programs .eyebrow::before,
.programs .eyebrow.center::after {
  background: var(--gold-soft);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prog {
  position: relative;
  height: 340px;
  border-radius: 5px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.prog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 32%, rgba(40, 10, 10, 0.92));
  transition: 0.35s;
}
.prog:hover::after {
  background: linear-gradient(transparent 8%, rgba(122, 31, 31, 0.94));
}
.prog .label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}
.prog h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.prog .more {
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s;
}
.prog:hover .more {
  opacity: 1;
  transform: none;
}

/* GALLERY */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  display: block;
  transition: 0.4s;
}
.gallery a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(89, 18, 18, 0.55));
  opacity: 0.7;
  transition: 0.3s;
}
.gallery a:hover {
  transform: scale(0.985);
}
.gallery a span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  z-index: 2;
  background: rgba(89, 18, 18, 0.3);
  opacity: 0;
  transition: 0.3s;
  padding: 10px;
}
.gallery a:hover span {
  opacity: 1;
}
.gallery .tall {
  grid-row: span 2;
}
.gallery .wide {
  grid-column: span 2;
}

/* SUPPORT */
.support {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.support-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.support-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(45, 10, 10, 0.95),
    rgba(122, 31, 31, 0.82)
  );
}
.support .wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.support .eyebrow {
  color: var(--gold-soft);
  justify-content: center;
}
.support .eyebrow::before {
  background: var(--gold-soft);
}
.support h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 14px 0 18px;
}
.support p {
  color: #f0ddc0;
  margin-bottom: 16px;
}
.support .support-actions {
  justify-content: center;
}
.support-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* SPIRITUAL REFLECTIONS (asymmetric image cards) */
.reflections {
  background: linear-gradient(160deg, #2a0f0f, var(--maroon-deep));
}
.reflections .section-head h2 {
  color: #fff;
}
.reflections .eyebrow {
  color: var(--gold-soft);
}
.reflections .eyebrow::before,
.reflections .eyebrow.center::after {
  background: var(--gold-soft);
}
.refl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 20px;
}
.refl-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 0.7);
}
.refl-card.big {
  grid-row: 1 / span 2;
}
.refl-card .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.refl-card:hover .img {
  transform: scale(1.09);
}
.refl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45, 10, 10, 0.92) 0%,
    rgba(89, 18, 18, 0.55) 42%,
    rgba(89, 18, 18, 0.05) 100%
  );
  transition: 0.4s;
}
.refl-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(45, 10, 10, 0.95) 0%,
    rgba(122, 31, 31, 0.6) 50%,
    rgba(122, 31, 31, 0.15) 100%
  );
}
.refl-card .content {
  position: relative;
  z-index: 2;
  padding: 34px;
  transition: transform 0.4s;
  width: 100%;
}
.refl-card:hover .content {
  transform: translateY(-6px);
}
.refl-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.refl-card h3 {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.refl-card.big h3 {
  font-size: 2rem;
}
.refl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--saffron);
  color: #fff;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 30px;
  transition: 0.25s;
}
.refl-card:hover .refl-btn {
  background: #fff;
  color: var(--maroon);
  gap: 0.85rem;
}
@media (max-width: 780px) {
  .refl-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .refl-card.big {
    grid-row: auto;
  }
  .refl-card {
    min-height: 300px;
  }
}

/* EVENTS (side-by-side cards) */
.events {
  background: linear-gradient(160deg, #2a0f0f, var(--maroon-deep));
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.events-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.events-track::-webkit-scrollbar {
  display: none;
}
.events-track .event-card {
  flex: 0 0 calc((100% - 26px) / 2);
  scroll-snap-align: start;
}
@media (max-width: 880px) {
  .events-track .event-card {
    flex-basis: 100%;
  }
}
.event-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px -26px rgba(89, 18, 18, 0.55);
  transition: 0.3s;
  position: relative;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.ev-thumb {
  position: relative;
  flex: 0 0 160px;
  overflow: hidden;
}
.ev-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.event-card:hover .ev-img {
  transform: scale(1.1);
}
.ev-date {
  position: absolute;
  left: 122px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 20px -8px rgba(122, 31, 31, 0.45);
  transition: 0.3s;
}
.event-card:hover .ev-date {
  background: var(--saffron);
  border-color: #fff;
}
.ev-date b {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--saffron);
  transition: 0.3s;
}
.ev-date small {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  font-weight: 700;
  margin-top: 3px;
  transition: 0.3s;
}
.event-card:hover .ev-date b,
.event-card:hover .ev-date small {
  color: #fff;
}
.ev-body {
  flex: 1;
  padding: 24px 28px 24px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-body h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--maroon);
  margin-bottom: 10px;
  transition: 0.2s;
}
.event-card:hover .ev-body h3 {
  color: var(--saffron-deep);
}
.ev-time {
  font-size: 0.84rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 16px;
}
.ev-time b {
  color: var(--saffron);
  font-weight: 600;
}
.ev-btn {
  align-self: flex-start;
  background: transparent;
  color: var(--maroon);
  border: 1px solid var(--gold);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 26px;
  border-radius: 30px;
  transition: 0.25s;
}
.event-card:hover .ev-btn {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}
@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .event-card {
    flex-direction: column;
  }
  .ev-thumb {
    flex: 0 0 175px;
    width: 100%;
  }
  .ev-date {
    left: auto;
    right: 26px;
    top: 148px;
    transform: none;
  }
  .ev-body {
    padding: 46px 24px 24px;
  }
}

/* FB EVENTS (flyer image slider) */
.fbevents {
  background: var(--sand);
}
.fbev-slider {
  position: relative;
  padding: 0 56px;
}
.fbev-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.fbev-track::-webkit-scrollbar {
  display: none;
}
.fbev-item {
  display: block;
  position: relative;
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 34px -26px rgba(89, 18, 18, 0.55);
  background: var(--sand);
  scroll-snap-align: start;
  transition: 0.3s;
}
.fbev-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.fbev-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fbev-item:hover img {
  transform: scale(1.06);
}
.fbev-nav {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--maroon);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.25s;
  z-index: 3;
  box-shadow: 0 8px 20px -10px rgba(78, 14, 34, 0.4);
}
.fbev-nav:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.fbev-nav.prev {
  left: 0;
}
.fbev-nav.next {
  right: 0;
}
.fbev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.fbev-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--gold-soft);
  cursor: pointer;
  transition: 0.25s;
}
.fbev-dots button.on {
  background: var(--saffron);
  transform: scale(1.3);
}
@media (max-width: 880px) {
  .fbev-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 560px) {
  .fbev-slider {
    padding: 0 8px;
  }
  .fbev-nav {
    width: 36px;
    height: 36px;
  }
  .fbev-item {
    flex-basis: 82%;
  }
}

/* NEWS */
.news .grid-3 {
  align-items: stretch;
}
.news-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: stretch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.news-track::-webkit-scrollbar {
  display: none;
}
.news-track .news-card {
  flex: 0 0 calc((100% - 2 * 30px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 880px) {
  .news-track .news-card {
    flex-basis: calc((100% - 30px) / 2);
  }
}
@media (max-width: 560px) {
  .news-track .news-card {
    flex-basis: 88%;
  }
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px -18px rgba(78, 14, 34, 0.35);
}
.news-thumb {
  height: 210px;
  background-size: cover;
  background-position: center;
  transition: 0.4s;
}
.news-card:hover .news-thumb {
  transform: scale(1.05);
}
.news-card .meta {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .date {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 700;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--maroon);
}
.news-card .more {
  margin-top: auto;
}

/* JOIN */
.join {
  background: var(--sand);
  text-align: center;
}
.join p {
  color: var(--ink-soft);
}
.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.nl-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.nl-col-head {
  text-align: center;
  margin-bottom: 22px;
}
.nl-col-head p {
  max-width: 420px;
  margin: 10px auto 0;
  font-size: 0.92rem;
}
.nl-col-title {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}
.nl-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 18px 20px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 32px;
  box-shadow: 0 14px 34px rgba(30, 15, 8, 0.06);
  flex: 1;
}
.nl-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(30, 15, 8, 0.06);
  min-height: 320px;
  flex: 1;
}
.nl-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
.nl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.nl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nl-field.nl-full {
  grid-column: 1 / -1;
}
.nl-field label {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--maroon);
}
.nl-field label em {
  color: var(--saffron-deep);
  font-style: normal;
}
.nl-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: 0.2s;
}
.nl-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.18);
}
.nl-phone {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nl-phone span {
  color: var(--ink-soft);
  font-weight: 600;
}
.nl-phone input {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  text-align: center;
  transition: 0.2s;
}
.nl-phone input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.18);
}
.nl-phone input[name="phone_area"] {
  width: 52px;
}
.nl-phone input[name="phone_prefix"] {
  width: 52px;
}
.nl-phone input[name="phone_line"] {
  width: 68px;
}
.nl-phone small {
  margin-left: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.nl-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .nl-grid {
    grid-template-columns: 1fr;
  }
  .nl-map {
    min-height: 280px;
  }
}
@media (max-width: 620px) {
  .nl-form {
    grid-template-columns: 1fr;
    padding: 26px 20px;
  }
  .nl-phone {
    flex-wrap: wrap;
  }
}

/* FOOTER */
footer {
  background: #2a0f0f;
  color: #e8d3b3;
  padding: 72px 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.foot-brand .brand b {
  color: #fff;
}
.foot-brand p {
  color: #caa98a;
  margin: 18px 0;
  font-size: 0.92rem;
}
.foot-brand .socials {
  display: flex;
  gap: 12px;
}
.foot-brand .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(232, 211, 179, 0.35);
  color: var(--gold-soft);
  font-size: 0.95rem;
  transition: 0.2s;
}
.foot-brand .socials a:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #2a0f0f;
}
footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
footer ul {
  list-style: none;
}
footer ul li {
  margin-bottom: 10px;
}
footer ul a {
  color: #caa98a;
  font-size: 0.9rem;
  transition: 0.2s;
}
footer ul a:hover {
  color: var(--saffron);
  padding-left: 4px;
}
.foot-hours p {
  color: #caa98a;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.foot-hours strong {
  color: var(--gold-soft);
  display: block;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #a98a6e;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  nav.desktop,
  .nav > .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .welcome .wrap {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .welcome-figure {
    order: -1;
  }
  .parallax .pbg {
    background-attachment: scroll;
  }
  .hero-nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }
  .grid-3,
  .grid-4,
  .gallery .grid {
    grid-template-columns: 1fr;
  }
  .gallery .wide,
  .gallery .tall {
    grid-column: auto;
    grid-row: auto;
  }
  .topbar .info {
    display: none;
  }
  .hero {
    height: 84vh;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide.active .slide-bg,
  .hero-glow,
  .dots button.on .fill {
    animation: none;
  }
  .slide-inner > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  * {
    scroll-behavior: auto;
  }
}
/* ===== MODERN EFFECTS ===== */
/* 1) Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}

/* 2) Header shrink on scroll */
header {
  transition:
    padding 0.3s,
    box-shadow 0.3s,
    background 0.3s;
}
header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(89, 18, 18, 0.4);
}
header.scrolled .nav {
  padding: 8px 0;
}
header.scrolled .brand .mark {
  width: 42px;
  height: 42px;
  font-size: 1.25rem;
}
.brand .mark {
  transition: 0.3s;
}

/* 3) Ornamental divider under every section heading */
.section-head h2 {
  position: relative;
  padding-bottom: 26px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='18' viewBox='0 0 120 18'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-width='1.4'%3E%3Cline x1='2' y1='9' x2='42' y2='9'/%3E%3Cline x1='78' y1='9' x2='118' y2='9'/%3E%3C/g%3E%3Cg fill='%23E8821E'%3E%3Cpath d='M60 2c3 4 3 10 0 14-3-4-3-10 0-14z'/%3E%3Cpath d='M60 2c4 3 6 8 5 13-5-2-7-8-5-13z' opacity='.6'/%3E%3Cpath d='M60 2c-4 3-6 8-5 13 5-2 7-8 5-13z' opacity='.6'/%3E%3C/g%3E%3Ccircle cx='46' cy='9' r='2.2' fill='%23C9A24B'/%3E%3Ccircle cx='74' cy='9' r='2.2' fill='%23C9A24B'/%3E%3C/svg%3E");
}
.programs .section-head h2::after,
.reflections .section-head h2::after {
  filter: brightness(1.6);
}

/* 4) Values marquee */
.marquee {
  background: var(--maroon-deep);
  color: var(--gold-soft);
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}
.marquee .track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: scrollx 28s linear infinite;
}
.marquee:hover .track {
  animation-play-state: paused;
}
.marquee span {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 16px 34px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
}
.marquee span::after {
  content: "❀";
  color: var(--saffron);
  font-size: 0.9rem;
}
@keyframes scrollx {
  to {
    transform: translateX(-50%);
  }
}

/* 5) Stats count-up band */
.stats {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.stats-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(45, 10, 10, 0.92),
    rgba(122, 31, 31, 0.86)
  );
}
.stats .wrap {
  position: relative;
  z-index: 2;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  color: var(--gold-soft);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.stat .num small {
  font-size: 1.6rem;
  color: var(--saffron);
  margin-left: 2px;
}
.stat .lbl {
  margin-top: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  color: #f0ddc0;
}
.stat .bar {
  width: 38px;
  height: 2px;
  background: var(--saffron);
  margin: 14px auto 0;
  border-radius: 2px;
}
@media (max-width: 700px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

/* 6) card hover lift */
.tilt {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tilt:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
  z-index: 5;
}
.prog:hover,
.gallery a:hover {
  box-shadow: var(--shadow-3d);
}

/* 7) Back-to-top */
.totop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--saffron);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: 0.35s;
}
.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.totop:hover {
  background: var(--maroon);
}
@media (max-width: 640px) {
  .totop {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* Vertical floating "Donate Now" tab, right edge */
.side-donate {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 79;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--saffron), var(--maroon));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 22px 12px;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
  transition: 0.25s;
}
.side-donate i {
  transform: rotate(180deg);
}
.side-donate:hover {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  padding-right: 18px;
}
@media (max-width: 640px) {
  .side-donate {
    font-size: 0.72rem;
    padding: 16px 8px;
    letter-spacing: 0.08em;
  }
}

/* 8) Hero buttons subtle pulse */
.slide.active .cta .btn-solid {
  animation: pulseGlow 2.6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 130, 30, 0.45);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(232, 130, 30, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee .track,
  .slide.active .cta .btn-solid {
    animation: none;
  }
  .tilt {
    transform: none !important;
  }
}

/* ===== PALETTE RICHNESS ===== */
/* clip (never hidden) — hidden creates a scroll container on body,
   which silently breaks position:sticky (header) and position:fixed
   (back-to-top) children */
html,
body {
  overflow-x: clip;
}
.section-head h2 {
  background: var(--g-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.programs .section-head h2,
.reflections .section-head h2,
.stats .section-head h2 {
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services .svc-icon {
  background: var(--g-warm);
  box-shadow: 0 10px 22px -8px rgba(240, 133, 28, 0.7);
}
.brand .mark {
  background: var(--g-warm);
}
.btn-solid {
  background: var(--g-warm);
  box-shadow: 0 10px 24px -12px rgba(240, 133, 28, 0.7);
}
.btn-solid:hover {
  background: var(--maroon);
}
.topbar {
  background: var(--g-jewel);
}
.totop {
  background: var(--g-warm);
}
.ev-date b,
.ev-date small {
  background: var(--g-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.event-card:hover .ev-date b,
.event-card:hover .ev-date small {
  -webkit-text-fill-color: #fff;
}
/* floating jewel glow orbs in dark bands */
.programs,
.reflections {
  overflow: hidden;
}
.programs .wrap,
.parallax .wrap,
.reflections .wrap,
.stats .wrap {
  position: relative;
  z-index: 1;
}
.programs::before,
.stats::before,
.support::before,
.parallax::before,
.reflections::before {
  content: "";
  position: absolute;
  width: 44vmax;
  height: 44vmax;
  border-radius: 50%;
  top: -18vmax;
  right: -12vmax;
  background: radial-gradient(
    circle,
    rgba(251, 176, 52, 0.22),
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
  animation: floatA 16s ease-in-out infinite alternate;
}
.programs::after,
.support::after,
.reflections::after {
  content: "";
  position: absolute;
  width: 38vmax;
  height: 38vmax;
  border-radius: 50%;
  bottom: -16vmax;
  left: -12vmax;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.2), transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: floatB 20s ease-in-out infinite alternate;
}
@keyframes floatA {
  to {
    transform: translate(-5%, 7%) scale(1.08);
  }
}
@keyframes floatB {
  to {
    transform: translate(6%, -6%) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .programs::before,
  .programs::after,
  .stats::before,
  .support::before,
  .support::after,
  .parallax::before,
  .reflections::before,
  .reflections::after {
    animation: none;
  }
}

/* ===== ABOUT (editorial redesign) ===== */
.ahero {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #12122a;
}
.ahero .ah-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-size: cover;
  background-position: 50% center;
  transform-origin: center;
  transform: scale(1.04);
  animation: kenburns 9s ease forwards;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
.ahero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(45, 10, 18, 0.68) 0%,
    rgba(45, 10, 18, 0.38) 40%,
    rgba(18, 18, 42, 0.08) 76%,
    rgba(18, 18, 42, 0.22) 100%
  );
}
.ahero .content {
  position: relative;
  z-index: 3;
  padding: 118px clamp(24px, 7vw, 120px);
  max-width: 800px;
}
.ahero .hero-orn {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 84%);
  height: 92px;
  z-index: 3;
  pointer-events: none;
}
.ahero .panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(26px, 5vw, 92px);
  background: var(--g-jewel);
  color: #fff;
  overflow: hidden;
}
.ahero .panel::before {
  content: "\0950";
  position: absolute;
  right: -3%;
  bottom: -9%;
  font-family: var(--display);
  font-size: 22rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}
.ahero .breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 14px;
}
.ahero .breadcrumb a {
  color: #f0ddc0;
  opacity: 0.85;
}
.ahero .breadcrumb a:hover {
  color: #fff;
}
.ahero .breadcrumb span {
  opacity: 0.5;
}
.ahero .eyebrow {
  color: var(--gold-soft);
}
.ahero .eyebrow::before {
  background: var(--gold-soft);
}
.ahero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 4.8vw, 4.3rem);
  color: #fff;
  line-height: 1.08;
  margin: 14px 0 20px;
}
.ahero h1 .g {
  background: var(--g-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ahero .shloka {
  font-family: var(--quote);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #f4e6cf;
  max-width: 520px;
}
.ahero .shloka b {
  display: block;
  font-style: normal;
  font-family: var(--display);
  color: var(--gold-soft);
  font-size: 1rem;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.ahero .hrow {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.ahero .figure {
  position: relative;
  overflow: hidden;
}
.ahero .figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ahero .figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(58, 21, 48, 0.92), transparent 26%);
}
.ahero .figure .ring {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 68%;
  aspect-ratio: 1;
  border: 2px solid rgba(235, 209, 147, 0.45);
  border-radius: 50%;
  pointer-events: none;
  animation: spin 44s linear infinite;
}
.ahero .figure .ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(235, 209, 147, 0.35);
  border-radius: 50%;
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.art-fig {
  margin: 34px auto 36px;
  max-width: 760px;
  position: relative;
}
.art-fig img {
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 0 22px 54px rgba(45, 10, 18, 0.16);
  border: 1px solid rgba(45, 10, 18, 0.08);
}
.art-fig figcaption {
  text-align: center;
  font-family: var(--quote);
  font-style: italic;
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.98rem;
}

.illum {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.illum::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translate(-50%, -50%);
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='120'/%3E%3Ccircle cx='300' cy='300' r='170'/%3E%3Ccircle cx='300' cy='300' r='220'/%3E%3Cg%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(0 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(30 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(60 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(90 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(120 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(150 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(180 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(210 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(240 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(270 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(300 300 300)'/%3E%3Cellipse cx='300' cy='140' rx='26' ry='70' transform='rotate(330 300 300)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  pointer-events: none;
}
.illum .wrap {
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.illum .lead {
  font-size: 1.16rem;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 22px;
}
.illum .lead:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4.6rem;
  float: left;
  line-height: 0.72;
  padding: 8px 14px 0 0;
  color: var(--saffron);
}
.illum .pull {
  font-family: var(--quote);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--maroon);
  margin: 34px auto;
  max-width: 640px;
  line-height: 1.4;
}
.illum .pull::before,
.illum .pull::after {
  content: "\2741";
  color: var(--gold);
  display: block;
  font-size: 1.1rem;
  margin: 10px 0;
}

.bento {
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}
.btile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 16px 40px -26px rgba(78, 14, 34, 0.55);
  text-decoration: none;
}
.btile .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btile:hover .bg {
  transform: scale(1.09);
}
.btile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45, 10, 18, 0.9) 0%,
    rgba(78, 14, 34, 0.45) 45%,
    rgba(78, 14, 34, 0.05) 100%
  );
  transition: 0.4s;
}
.btile:hover::after {
  background: linear-gradient(
    to top,
    rgba(45, 10, 18, 0.94) 0%,
    rgba(122, 31, 31, 0.55) 55%,
    rgba(122, 31, 31, 0.12) 100%
  );
}
.btile .c {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
  transition: transform 0.4s;
}
.btile:hover .c {
  transform: translateY(-6px);
}
.btile .tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.btile h3 {
  color: #fff;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.btile .ex {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(235, 209, 147, 0.5);
  padding: 8px 18px;
  border-radius: 30px;
  transition: 0.25s;
}
.btile:hover .ex {
  background: var(--saffron);
  border-color: var(--saffron);
  gap: 0.8rem;
}
.btile .num {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  font-family: var(--display);
  font-size: 1.5rem;
  color: rgba(235, 209, 147, 0.7);
}
.btile.feature {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
.btile.feature .bg {
  background-position: center top;
}
.btile.feature h3 {
  font-size: 2.2rem;
}
.btile.feature::after {
  background: linear-gradient(
    to top,
    rgba(45, 10, 18, 0.88) 0%,
    rgba(78, 14, 34, 0.25) 55%,
    transparent 100%
  );
}
.btile.wide {
  grid-column: 3 / span 2;
}
.btile.strip {
  grid-column: 1 / span 4;
}
@media (max-width: 980px) {
  .ahero .content {
    padding: 96px 24px;
  }
  .ahero .ah-bg {
    left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btile.feature {
    grid-column: 1 / span 2;
    grid-row: auto;
    min-height: 360px;
  }
  .btile.wide {
    grid-column: 1 / span 2;
  }
  .btile.strip {
    grid-column: 1 / span 2;
  }
}
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .btile.feature,
  .btile.wide,
  .btile.strip {
    grid-column: auto;
  }
  .illum .lead {
    font-size: 1.05rem;
  }
}

.shloka-band {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.shloka-band .sb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.shloka-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(45, 10, 18, 0.94),
    rgba(15, 118, 110, 0.5)
  );
}
.shloka-band .wrap {
  position: relative;
  z-index: 2;
}
.shloka-band .om {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.shloka-band .sk {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}
.shloka-band .tr {
  font-family: var(--quote);
  font-style: italic;
  font-size: 1.2rem;
  color: #f0ddc0;
  max-width: 680px;
  margin: 0 auto;
}

.beliefs {
  background: var(--cream);
}
.beliefs .brow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.belief {
  padding: 44px 34px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: 0.3s;
}
.belief:last-child {
  border-right: none;
}
.belief:hover {
  background: #fff;
}
.belief .ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--g-warm);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 10px 22px -8px rgba(240, 133, 28, 0.7);
}
.belief h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.belief p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .beliefs .brow {
    grid-template-columns: 1fr;
  }
  .belief {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .belief:last-child {
    border-bottom: none;
  }
}

.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(45, 10, 18, 0.93),
    rgba(122, 31, 31, 0.82)
  );
}
.cta-band .wrap {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 14px 0 16px;
}
.cta-band p {
  color: #f0ddc0;
  max-width: 600px;
  margin: 0 auto 28px;
}
.cta-band .crow {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TEMPLE ORNAMENTS ===== */
/* Gold niche border + corner diamonds + torana + kalasha (reusable) */
.niche {
  position: absolute;
  inset: 22px;
  border: 2px solid var(--gold);
  z-index: 4;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 6px rgba(235, 209, 147, 0.2),
    inset 0 0 60px rgba(45, 10, 18, 0.35);
}
.cd {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(235, 209, 147, 0.6);
}
.cd.tl {
  top: 15px;
  left: 15px;
}
.cd.tr {
  top: 15px;
  right: 15px;
}
.cd.bl {
  bottom: 15px;
  left: 15px;
}
.cd.br {
  bottom: 15px;
  right: 15px;
}
.torana {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 64px;
  z-index: 5;
  pointer-events: none;
  background: no-repeat top center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 96' preserveAspectRatio='xMidYMin meet'%3E%3Cpath d='M6 4 Q300 70 594 4' fill='none' stroke='%23CDA349' stroke-width='2'/%3E%3Cpath d='M6 4 Q300 62 594 4' fill='none' stroke='%23EBD193' stroke-width='1' opacity='.7'/%3E%3Cline x1='55' y1='14' x2='55' y2='23' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='55' cy='26' r='2.6' fill='%23F0851C'/%3E%3Cline x1='104' y1='22' x2='104' y2='36' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='104' cy='39' r='2.6' fill='%23F0851C'/%3E%3Cline x1='153' y1='29' x2='153' y2='38' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='153' cy='41' r='2.6' fill='%23F0851C'/%3E%3Cline x1='202' y1='33' x2='202' y2='47' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='202' cy='50' r='2.6' fill='%23F0851C'/%3E%3Cline x1='251' y1='36' x2='251' y2='45' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='251' cy='48' r='2.6' fill='%23F0851C'/%3E%3Cline x1='300' y1='37' x2='300' y2='51' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='300' cy='54' r='2.6' fill='%23F0851C'/%3E%3Cline x1='349' y1='36' x2='349' y2='45' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='349' cy='48' r='2.6' fill='%23F0851C'/%3E%3Cline x1='398' y1='33' x2='398' y2='47' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='398' cy='50' r='2.6' fill='%23F0851C'/%3E%3Cline x1='447' y1='29' x2='447' y2='38' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='447' cy='41' r='2.6' fill='%23F0851C'/%3E%3Cline x1='496' y1='22' x2='496' y2='36' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='496' cy='39' r='2.6' fill='%23F0851C'/%3E%3Cline x1='545' y1='14' x2='545' y2='23' stroke='%23CDA349' stroke-width='1.4'/%3E%3Ccircle cx='545' cy='26' r='2.6' fill='%23F0851C'/%3E%3Ccircle cx='300' cy='40' r='4' fill='%23F0851C'/%3E%3C/svg%3E");
}
.finial {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--g-warm);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow:
    0 8px 20px -6px rgba(122, 31, 31, 0.7),
    0 0 0 4px var(--cream);
  pointer-events: none;
}

/* Hero figure as a temple niche */
.ahero .figure .niche {
  inset: 26px;
}
.ahero .figure .torana {
  top: 26px;
  left: 26px;
  right: 26px;
}

/* Bento feature (Swamiji) as a temple niche */
.btile.feature .niche {
  inset: 16px;
  box-shadow: inset 0 0 0 5px rgba(235, 209, 147, 0.22);
}
.btile.feature .torana {
  top: 16px;
  left: 16px;
  right: 16px;
  height: 52px;
}
.btile.feature .cd.tl {
  top: 10px;
  left: 10px;
}
.btile.feature .cd.tr {
  top: 10px;
  right: 10px;
}
.btile.feature .cd.bl {
  bottom: 10px;
  left: 10px;
}
.btile.feature .cd.br {
  bottom: 10px;
  right: 10px;
}
.btile.feature .c {
  padding-bottom: 30px;
}

/* Ornamental temple divider band */
.temple-divider {
  height: 60px;
  margin: 0 auto;
  max-width: 900px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60'%3E%3Cg stroke='%23CDA349' stroke-width='1.6' fill='none'%3E%3Cline x1='60' y1='34' x2='430' y2='34'/%3E%3Cline x1='570' y1='34' x2='940' y2='34'/%3E%3C/g%3E%3Cg fill='%23CDA349'%3E%3Crect x='54' y='28' width='12' height='12' transform='rotate(45 60 34)'/%3E%3Crect x='934' y='28' width='12' height='12' transform='rotate(45 940 34)'/%3E%3C/g%3E%3Ccircle cx='500' cy='30' r='22' fill='none' stroke='%23CDA349' stroke-width='1.6'/%3E%3Ccircle cx='500' cy='30' r='15' fill='none' stroke='%23EBD193' stroke-width='1'/%3E%3Cg fill='%23F0851C'%3E%3Cpath d='M500 6c3 6 3 12 0 18-3-6-3-12 0-18z'/%3E%3Cpath d='M480 22c6-2 12 0 17 5-6 2-13 1-17-5z'/%3E%3Cpath d='M520 22c-6-2-12 0-17 5 6 2 13 1 17-5z'/%3E%3C/g%3E%3Ccircle cx='500' cy='30' r='3' fill='%237E1C30'/%3E%3Cg fill='%23F0851C'%3E%3Ccircle cx='250' cy='34' r='3'/%3E%3Ccircle cx='750' cy='34' r='3'/%3E%3Ccircle cx='150' cy='34' r='2'/%3E%3Ccircle cx='850' cy='34' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.section-head .temple-divider {
  margin-top: 18px;
}

/* ===== HH SWAMIJI PAGE ===== */
.swami-bio {
  background: var(--cream);
}
.bio-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}
.bio-figure {
  position: relative;
  position: sticky;
  top: 100px;
}
.bio-figure img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.bio-figure .frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  z-index: 1;
}
.bio-figure .cap {
  margin-top: 26px;
  font-family: var(--quote);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--maroon);
  text-align: center;
}
.bio-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}
.prose p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.prose p strong {
  color: var(--maroon);
}
.prose .lead-first {
  font-size: 1.12rem;
  color: var(--ink);
}

/* ornate list */
.orn-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 10px;
}
.orn-list li {
  position: relative;
  padding: 18px 22px 18px 56px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  box-shadow: 0 12px 34px -28px rgba(89, 18, 18, 0.5);
  transition: 0.25s;
}
.orn-list li:hover {
  transform: translateX(4px);
  border-color: var(--gold);
}
.orn-list li::before {
  content: "❀";
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--saffron);
  font-size: 1.1rem;
}
.orn-list li strong {
  color: var(--maroon);
  font-weight: 600;
}

/* institutions table */
.inst-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 40px -30px rgba(89, 18, 18, 0.55);
}
.inst-table th,
.inst-table td {
  text-align: left;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.inst-table thead th {
  background: var(--g-jewel);
  color: #fff;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.inst-table tbody tr:last-child td {
  border-bottom: none;
}
.inst-table tbody tr:nth-child(even) {
  background: var(--cream);
}
.inst-table td:last-child {
  font-weight: 700;
  color: var(--saffron-deep);
  white-space: nowrap;
}

/* welfare cards */
.welfare {
  background: var(--sand);
}
.welfare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.welfare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 28px;
  box-shadow: 0 14px 40px -30px rgba(89, 18, 18, 0.55);
}
.welfare-card .ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--g-warm);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -8px rgba(240, 133, 28, 0.7);
}
.welfare-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.welfare-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* culture / networking two-column lists */
.col-list {
  columns: 2;
  column-gap: 44px;
  list-style: none;
}
.col-list li {
  break-inside: avoid;
  position: relative;
  padding: 0 0 14px 26px;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.col-list li::before {
  content: "🪔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}
.col-list li strong {
  color: var(--maroon);
  font-weight: 600;
}

@media (max-width: 860px) {
  .bio-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .bio-figure {
    position: relative;
    top: 0;
    max-width: 460px;
    margin: 0 auto;
  }
  .welfare-grid {
    grid-template-columns: 1fr;
  }
  .col-list {
    columns: 1;
  }
}

/* ============================================================
         JSS MEDICAL SERVICE TRUST PAGE
         ============================================================ */
.mst-white {
  background: #fff;
}
.mst-bg-hospital {
  background-image: url(../images/inner-pages/JSS-Hospita-Mysuru-big.webp);
}
/* Section images fixed to a 1100 × 734 ratio on this page */
.mst-panel .welcome-figure img {
  width: 100%;
  aspect-ratio: 1100 / 734;
  height: auto;
  object-fit: cover;
}
/* full-width paragraphs below the welcome grid */
.mst-para {
  margin-top: 40px;
  color: var(--ink-soft);
}
.mst-para + .mst-para {
  margin-top: 16px;
}

/* ---- HOSPITAL TABS ---- */
.mst-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 56px;
  max-width: 1080px;
}
.mst-tab {
  font-family: "Marcellus", serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--maroon);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.mst-tab:hover {
  border-color: var(--gold);
  color: var(--maroon-deep);
  transform: translateY(-2px);
}
.mst-tab.on {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px -10px rgba(126, 28, 48, 0.55);
}
.mst-panel {
  display: none;
}
.mst-panel.on {
  display: block;
  animation: mstFade 0.5s ease;
}
@keyframes mstFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* welcome grid inside tab panels (same look as other inner pages) */
.mst-panel .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 58px;
  align-items: center;
}
.mst-panel .wrap.full {
  display: block;
}
@media (max-width: 940px) {
  .mst-panel .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
/* Contribute lead line above accordions (as on the source page) */
.mst-contrib {
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
  font-family: "Marcellus", serif;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--maroon);
}

/* ---- ACCORDIONS ---- */
.acc {
  max-width: 1080px;
  margin: 30px auto 0;
}
.acc-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.4);
}
.acc-head {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  cursor: pointer;
  background: none;
  border: 0;
  font-family: "Marcellus", serif;
  font-size: 1.12rem;
  color: var(--maroon);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.acc-head .chev {
  transition: transform 0.3s ease;
  color: var(--saffron);
}
.acc-item.open .acc-head .chev {
  transform: rotate(180deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.acc-inner {
  padding: 4px 28px 28px;
  color: var(--ink-soft);
}
.acc-inner p {
  margin: 0 0 14px;
}
.acc-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.acc-inner ul li {
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--ink-soft);
}
.acc-inner ul li::before {
  content: "🪔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}

/* ---- DONATION OPTIONS (inside How Can You Help) ---- */
.don-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.don-card {
  flex: 1 1 300px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
@media (max-width: 940px) {
  .don-card {
    flex-basis: 100%;
    min-width: 0;
  }
}
.don-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.don-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 14px;
}
.don-card h3 {
  font-size: 1.25rem;
  color: var(--maroon);
  margin-bottom: 10px;
}
.don-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}
.don-note {
  margin: 38px auto 0;
  max-width: 860px;
  text-align: center;
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--maroon);
}
.don-note + .don-note {
  margin-top: 16px;
}
.don-note a {
  color: var(--saffron-deep);
  text-decoration: underline;
}

/* ============================================================
         ADVISORY BOARD PAGE
         ============================================================ */
.ab-bg-banner {
  background-image: url(../images/inner-pages/home-banner1_V3.webp);
}
.ab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) {
  .ab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .ab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ab-grid {
    grid-template-columns: 1fr;
  }
}
.ab-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.ab-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.ab-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px -8px rgba(240, 133, 28, 0.7);
}
.ab-card h3 {
  font-size: 1.12rem;
  color: var(--maroon);
  margin: 0;
}
.ab-role {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--maroon-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ab-lead {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--ink-soft);
}
.officers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .officers-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
         SERVICES MEGA MENU
         ============================================================ */
nav.desktop .dropdown.mega {
  width: min(700px, calc(100vw - 48px));
  min-width: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}
/* saffron accent bar across the top of the panel */
nav.desktop .dropdown.mega::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--saffron),
    var(--gold),
    var(--saffron)
  );
}
nav.desktop .dropdown.mega .mega-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--maroon);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
nav.desktop .dropdown.mega .mega-overview::before {
  content: "All Services →";
  order: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--saffron-deep);
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.25s;
}
nav.desktop .dropdown.mega .mega-overview:hover {
  background: var(--sand);
}
nav.desktop .dropdown.mega .mega-overview:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 16px 12px 22px;
}
.mega-cols > div {
  padding: 0 14px;
}
.mega-cols > div + div {
  border-left: 1px solid var(--line);
}
.mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  padding: 0 14px;
  font-family: "Marcellus", serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-deep);
}
.mega-cols > div .mega-title:first-child {
  margin-top: 6px;
}
/* small diamond ornament before each group title */
.mega-title::before {
  content: "◆";
  font-size: 0.55rem;
  color: var(--gold);
}
/* thin rule trailing the title */
.mega-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
/* override the global flex nav rule for lists inside the mega panel */
nav.desktop .dropdown.mega .mega-cols ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
nav.desktop .dropdown.mega .mega-cols li {
  width: 100%;
}
nav.desktop .dropdown.mega .mega-cols a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--ink);
  transition: 0.2s;
}
/* dot bullet that lights up saffron on hover */
nav.desktop .dropdown.mega .mega-cols a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex: 0 0 auto;
  transition: 0.2s;
}
nav.desktop .dropdown.mega .mega-cols a:hover {
  background: var(--cream);
  color: var(--maroon);
  padding-left: 20px;
}
nav.desktop .dropdown.mega .mega-cols a:hover::before {
  background: var(--saffron);
  box-shadow: 0 0 0 3px rgba(240, 133, 28, 0.18);
}
/* group label in the mobile drawer */
.drawer .d-group {
  padding: 12px 0 2px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

/* ============================================================
         POOJA AT THE TEMPLE PAGE
         ============================================================ */
.pt-bg-banner {
  background-image: url(../images/inner-pages/puja-at-temple-banner.webp);
}
.pt-lead {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink-soft);
  text-align: center;
}
.pt-lead + .grid-3 {
  margin-top: 44px;
}
.pt-timings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 980px;
  margin: 44px auto 0;
}
@media (max-width: 860px) {
  .pt-timings {
    grid-template-columns: 1fr;
  }
}
.pt-time-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
}
.pt-time-card h3 {
  font-size: 1.3rem;
  color: var(--maroon);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-time-card h3 i {
  color: var(--saffron);
}
.pt-time-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pt-time-card li {
  position: relative;
  padding: 0 0 12px 26px;
  color: var(--ink-soft);
}
.pt-time-card li::before {
  content: "🪔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}
.pt-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
@media (max-width: 940px) {
  .pt-events {
    grid-template-columns: 1fr;
  }
}
.pt-event {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: 0.3s;
}
.pt-event:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.pt-event .ic {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px -8px rgba(240, 133, 28, 0.7);
}
.pt-event h3 {
  font-size: 1.18rem;
  color: var(--maroon);
  margin-bottom: 8px;
}
.pt-event p {
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
         POOJA AT YOUR PLACE PAGE
         ============================================================ */
.pp-bg-banner {
  background-image: url(../images/inner-pages/puja-at-home-banner.webp);
}
.pp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .pp-form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
         SUNDAY SCHOOL PAGE
         ============================================================ */
.ss-bg-banner {
  background-image: url(../images/inner-pages/sunday-school-banner.webp);
}

/* ============================================================
         BHARATANATYAM FOR CHILDREN PAGE
         ============================================================ */
.bn-bg-banner {
  background-image: url(../images/inner-pages/bharatnatyam-banner.webp);
}

/* ============================================================
         CLASSICAL AND FOLK DANCES PAGE
         ============================================================ */
.cf-bg-banner {
  background-image: url(../images/inner-pages/dances-banner.webp);
}

/* ============================================================
         INDIAN LANGUAGES PAGE
         ============================================================ */
.il-bg-banner {
  background-image: url(../images/inner-pages/language-banner.webp);
}

/* ============================================================
         SANSKRIT & BHAJAN RECITAL PAGE
         ============================================================ */
.sb-bg-banner {
  background-image: url(../images/inner-pages/sanskrit-banner.webp);
}

/* ============================================================
         ART CLASSES PAGE
         ============================================================ */
.ac-bg-banner {
  background-image: url(../images/inner-pages/art-banner.webp);
}

/* ============================================================
         WEEKEND YOGA PAGE
         ============================================================ */
.wy-bg-banner {
  background-image: url(../images/inner-pages/yoga-banner.webp);
}

/* ============================================================
         FOOD DONATION DRIVE PAGE
         ============================================================ */
.fd-bg-banner {
  background-image: url(../images/inner-pages/food-donate-banner.webp);
}

/* ============================================================
         PRASADA SERVICE PAGE
         ============================================================ */
.ps-bg-banner {
  background-image: url(../images/inner-pages/prasad-banner.webp);
}

/* ============================================================
         CLEANLINESS DRIVE PAGE
         ============================================================ */
.cln-bg-banner {
  background-image: url(../images/inner-pages/cleanliness-banner.webp);
}

/* ============================================================
         SPRING/FALL GARDENING PAGE
         ============================================================ */
.sg-bg-banner {
  background-image: url(../images/inner-pages/gardening-banner.webp);
}

/* ============================================================
         ORGANIC FARMING PAGE
         ============================================================ */
.of-bg-banner {
  background-image: url(../images/inner-pages/farming-banner.webp);
}

/* ============================================================
         DEITIES PAGE
         ============================================================ */
.dt-bg-banner {
  background-image: url(../images/inner-pages/dieties-banner.webp);
}
.dt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 940px) {
  .dt-grid {
    grid-template-columns: 1fr;
  }
}
.dt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.dt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.dt-card .dt-figure {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--sand), var(--cream) 70%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 12px 26px -16px rgba(205, 163, 73, 0.7);
}
.dt-card .dt-figure img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}
.dt-card h2 {
  font-size: 1.5rem;
  color: var(--maroon);
  margin-bottom: 12px;
}
.dt-card p {
  color: var(--ink-soft);
  margin: 0 0 12px;
  text-align: left;
}
.dt-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.dt-card ul li {
  position: relative;
  padding: 0 0 8px 24px;
  color: var(--ink-soft);
}
.dt-card ul li::before {
  content: "🪔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

/* ============================================================
         PRIESTS PAGE
         ============================================================ */
.pr-bg-banner {
  background-image: url(../images/inner-pages/priest-banner1.webp);
}
.pr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .pr-grid {
    grid-template-columns: 1fr;
  }
}
/* matches the deities-card layout: circular figure, centered name */
.pr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.pr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.pr-card .pr-figure {
  width: 168px;
  height: 168px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--sand), var(--cream) 70%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 12px 26px -16px rgba(205, 163, 73, 0.7);
  overflow: hidden;
}
.pr-card .pr-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
}
.pr-card h3 {
  font-size: 1.35rem;
  color: var(--maroon);
  margin-bottom: 16px;
}
.pr-field {
  margin-bottom: 14px;
  text-align: left;
}
.pr-field:last-child {
  margin-bottom: 0;
}
.pr-field b {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 3px;
}
.pr-field span {
  color: var(--ink-soft);
}

/* ============================================================
         NEW TEMPLE PAGE
         ============================================================ */
.nt-bg-banner {
  background-image: url(../images/inner-pages/new-temple-banner.webp);
}
.nt-tagline {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: center;
  font-family: "Marcellus", serif;
  font-size: 1.3rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--maroon);
  text-transform: uppercase;
}
.nt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
@media (max-width: 940px) {
  .nt-features {
    grid-template-columns: 1fr;
  }
}
.nt-feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 26px 34px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
/* thin gold ornament line on top of each card */
.nt-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.nt-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.nt-feature img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 14px;
  background: radial-gradient(circle at 50% 35%, var(--sand), var(--cream) 75%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 10px 22px -12px rgba(205, 163, 73, 0.7);
  transition: transform 0.3s;
}
.nt-feature:hover img {
  transform: scale(1.08);
}
.nt-feature p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}
.stat .sub {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
}
.stats-tight {
  padding: 80px 0;
}

/* ---- NEW TEMPLE: HIGHLIGHTS ---- */
.nt-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) {
  .nt-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .nt-highlights {
    grid-template-columns: 1fr;
  }
}
.nt-hl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.nt-hl:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.nt-hl .ic {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--sand), var(--cream) 75%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 10px 22px -12px rgba(205, 163, 73, 0.7);
}
.nt-hl .ic img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.nt-hl h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--maroon);
  margin-bottom: 10px;
}
.nt-hl p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---- NEW TEMPLE: SWAMIJI QUOTE ---- */
.nt-quote .wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 54px;
  align-items: center;
}
@media (max-width: 860px) {
  .nt-quote .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.nt-quote-figure img {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow);
}
.nt-quote blockquote {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.7rem;
  line-height: 1.45;
  color: var(--maroon);
}
.nt-quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--saffron);
}
.nt-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---- NEW TEMPLE: EXPLORE LINKS ---- */
.nt-explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) {
  .nt-explore {
    grid-template-columns: 1fr;
  }
}
.nt-explore a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--maroon);
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.nt-explore a i {
  color: var(--saffron);
  transition: transform 0.25s;
}
.nt-explore a:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.nt-explore a:hover i {
  transform: translateX(6px);
}

/* ============================================================
         IMAGE GALLERY PAGE
         ============================================================ */
.ig-bg-banner {
  background-image: url(../images/inner-pages/gallery-banner.webp);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 940px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ig-grid {
    grid-template-columns: 1fr;
  }
}
.ig-item {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.ig-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.ig-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.ig-item:hover img {
  transform: scale(1.06);
}
.ig-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(89, 18, 18, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.ig-item:hover::after {
  opacity: 1;
}

/* ---- LIGHTBOX ---- */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(24, 8, 12, 0.92);
  padding: 40px;
}
.lb-overlay.open {
  display: flex;
  animation: lbFade 0.25s ease;
}
@keyframes lbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lb-overlay img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 10px;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.lb-btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
}
.lb-prev {
  left: 26px;
}
.lb-next {
  right: 26px;
}
.lb-close {
  top: 26px;
  right: 26px;
  transform: none;
}
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-family: "Marcellus", serif;
  letter-spacing: 0.15em;
}
@media (max-width: 640px) {
  .lb-overlay {
    padding: 16px;
  }
  .lb-prev {
    left: 10px;
  }
  .lb-next {
    right: 10px;
  }
}

/* ---- GALLERY ALBUM CARDS (index page links to album pages) ---- */
a.ig-item {
  cursor: pointer;
  text-decoration: none;
}
.ig-item .ig-thumb {
  position: relative;
  overflow: hidden;
}
.ig-item .ig-thumb::after {
  content: "\f03e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(89, 18, 18, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.ig-item:hover .ig-thumb::after {
  opacity: 1;
}
.ig-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  font-family: "Marcellus", serif;
  font-size: 1.02rem;
  color: var(--maroon);
  border-top: 1px solid var(--line);
  transition: 0.25s;
}
.ig-title i {
  color: var(--saffron);
  font-size: 0.85rem;
  transition: transform 0.25s;
}
.ig-item:hover .ig-title {
  background: var(--cream);
}
.ig-item:hover .ig-title i {
  transform: translateX(5px);
}
/* the flat-grid magnifier overlay does not apply to album cards */
a.ig-item::after {
  content: none;
}

/* ============================================================
   CONTACT US PAGE
   ============================================================ */
.cu-bg-banner {
  background-image: url(../images/inner-pages/contact-banner.webp);
}
/* address / call / email cards */
.cu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.cu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(30, 15, 8, 0.05);
  transition: 0.3s;
}
.cu-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 18px 38px rgba(30, 15, 8, 0.1);
}
.cu-card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  color: var(--saffron-deep);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cu-card h3 {
  font-family: "Marcellus", serif;
  font-size: 1.12rem;
  color: var(--maroon);
  margin-bottom: 8px;
}
.cu-card p {
  color: var(--ink-soft);
  line-height: 1.65;
}
.cu-card a {
  color: var(--ink-soft);
  transition: 0.2s;
}
.cu-card a:hover {
  color: var(--maroon);
}
/* write to us form */
.cu-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 36px;
  box-shadow: 0 14px 34px rgba(30, 15, 8, 0.06);
}
.cu-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cu-field.full {
  grid-column: 1 / -1;
}
.cu-field label {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--maroon);
}
.cu-field label em {
  color: var(--saffron-deep);
  font-style: normal;
}
.cu-field input,
.cu-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  transition: 0.2s;
}
.cu-field input:focus,
.cu-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(205, 163, 73, 0.18);
}
.cu-field textarea {
  resize: vertical;
  min-height: 130px;
}
.cu-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 4px;
}
/* google map */
.cu-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(30, 15, 8, 0.08);
}
.cu-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}
@media (max-width: 760px) {
  .cu-cards {
    grid-template-columns: 1fr;
  }
  .cu-form {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .cu-map iframe {
    height: 320px;
  }
}

/* ============================================================
         EVENTS PAGE
         ============================================================ */
.events-bg-banner {
  background-image: url(../images/inner-pages/puja-at-temple-banner.webp);
}
.event-card.past .ev-img {
  filter: grayscale(65%);
}
.event-card.past .ev-date {
  background: var(--cream);
}
.event-card.past .ev-date b,
.event-card.past .ev-date small {
  color: var(--ink-soft);
}
.past-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: rgba(43, 21, 21, 0.72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ============================================================
         DONATE / SPONSOR / VOLUNTEER PAGES
         ============================================================ */
.dn-bg-banner {
  background-image: url(../images/inner-pages/seva-cta-bg.webp);
}
.sp-bg-banner {
  background-image: url(../images/inner-pages/new-temple-banner.webp);
}
.vl-bg-banner {
  background-image: url(../images/inner-pages/gallery-banner.webp);
}

.give-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
}
@media (max-width: 940px) {
  .give-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .give-grid {
    grid-template-columns: 1fr;
  }
}
.give-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  transition: 0.3s;
}
.give-card:hover {
  transform: translateY(-6px);
}
.give-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.give-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.give-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 18px;
  min-height: 76px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
@media (max-width: 940px) {
  .tier-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}
.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
}
.tier-card .tier-head {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  padding: 20px 24px;
}
.tier-card .tier-head h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.tier-card .tier-head span {
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.tier-card ul {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
}
.tier-card li {
  position: relative;
  padding: 0 0 12px 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.tier-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--saffron);
  font-size: 0.8rem;
}

/* ============================================================
         NEWS DETAIL PAGE
         ============================================================ */
.news-article {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.news-article p {
  margin-bottom: 26px;
}

/* ============================================================
         ENABLE NOTIFICATIONS PROMPT
         ============================================================ */
.notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.notif-overlay.show {
  opacity: 1;
  visibility: visible;
}
.notif-card {
  background: #fff;
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  border-top: 4px solid var(--maroon);
  box-shadow: var(--shadow-3d, 0 40px 80px -30px rgba(78, 14, 34, 0.6));
  padding: 34px 30px 26px;
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}
.notif-overlay.show .notif-card {
  transform: translateY(0) scale(1);
}
.notif-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}
.notif-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.notif-card h3 {
  color: var(--maroon);
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.notif-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.notif-actions {
  display: flex;
  gap: 12px;
}
.notif-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.notif-btn.notif-later {
  background: #e7e2e2;
  color: var(--ink);
}
.notif-btn.notif-later:hover {
  background: #dbd5d5;
}
.notif-btn.notif-allow {
  background: var(--maroon);
  color: #fff;
}
.notif-btn.notif-allow:hover {
  background: var(--maroon-deep);
}
.notif-never {
  display: inline-block;
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.notif-never:hover {
  color: var(--maroon);
}

/* ============================================================
         CALENDAR & PANCHANGAM
         ============================================================ */
.panchang {
  background: var(--cream);
}
.panchang-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.panchang-card,
.mini-cal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 10px 30px -24px rgba(89, 18, 18, 0.5);
  padding: 28px 30px;
}
.panchang-date {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--maroon);
  font-family: var(--display);
  font-size: 1.3rem;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panchang-date i {
  color: var(--saffron);
}
.panchang-items {
  display: grid;
  gap: 14px;
}
.panchang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 4px;
}
.panchang-item.warn {
  background: rgba(126, 28, 48, 0.06);
}
.panchang-item .lbl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}
.panchang-item .lbl i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}
.panchang-item.warn .lbl i {
  color: var(--maroon);
}
.panchang-item .val {
  color: var(--maroon);
  font-weight: 700;
}
.mini-cal {
  display: flex;
  flex-direction: column;
}
.mini-cal-head {
  text-align: center;
  font-family: var(--display);
  color: var(--maroon);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.mini-cal-dow,
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.mini-cal-dow span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-bottom: 6px;
}
.mini-cal-grid {
  margin-bottom: 18px;
}
.mini-cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--ink);
  position: relative;
}
.mini-cal-day.empty {
  visibility: hidden;
}
.mini-cal-day.today {
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
}
.mini-cal-day.has-event::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.mini-cal-day.today.has-event::after {
  background: #fff;
}
.mini-cal-legend {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.mini-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini-cal-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.mini-cal-legend .dot.today {
  background: var(--maroon);
}
.mini-cal-legend .dot.event {
  background: var(--gold);
}
.mini-cal .btn-line {
  margin: 0 auto;
}
@media (max-width: 880px) {
  .panchang-grid {
    grid-template-columns: 1fr;
  }
  .panchang-card,
  .mini-cal {
    padding: 24px 20px;
  }
  .panchang-item {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}
