/* ==========================================================================
   Shree Antali Jain Sangh — site stylesheet
   Light "temple marble" system: warm ivory and white grounds, sandstone
   surfaces, gold accents. No build step. Tokens first, then base, layout,
   components, pages, motion, print.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #fcf6ec;
  /* warm cream page ground (matches header) */
  --white: #ffffff;
  --sand: #f6e6cc;
  /* sandstone surface (footer, chips) */
  --sand-soft: #fbf0de;
  /* lighter sandstone wash */
  --line: #eadbc2;
  /* hairlines on ivory/white */
  --line-strong: #dcc6a2;
  --gold: #c08a2a;
  /* decorative gold: rules, icons, fills */
  --gold-hover: #d9a63f;
  --gold-text: #7a1426;
  /* accent text: temple maroon, as in the hero (≈10:1) */
  --maroon: #7a1426;
  --maroon-deep: #6a0f1f;
  --saffron-soft: #fde5c4;
  --ink: #3f2a1e;
  /* primary text (≈11:1 on ivory) */
  --ink-strong: #3a1a12;
  --ink-soft: #6b4e3c;
  /* secondary text (≈6.5:1) */
  --focus: #c08a2a;

  --font-sans: "Manrope", "Noto Sans Devanagari", "Noto Sans Gujarati", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Crimson Pro", "Noto Sans Devanagari", "Noto Sans Gujarati", Georgia, "Times New Roman", serif;
  /* Indic text (Hindi and Gujarati pages). */
  --font-hi: "Noto Sans Devanagari", "Noto Sans Gujarati", "Manrope", system-ui, sans-serif;
  --font-display: "Crimson Pro", "Noto Sans Devanagari", "Noto Sans Gujarati", Georgia, "Times New Roman", serif;

  --fs-sm: 0.875rem;
  /* 14 */
  --fs-base: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  /* 16–17 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  /* 17–19 */
  --fs-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  /* 20–24 */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.1vw, 2.5rem);
  /* 28–40 */
  --fs-h1: clamp(2.125rem, 1.75rem + 1.4vw, 3rem);
  /* 34–48 */
  --fs-hero: clamp(2.125rem, 1.5rem + 2.4vw, 3.5rem);
  /* 34–56 */

  --gutter: clamp(20px, 4vw, 32px);
  --container: 1320px;
  --gap: clamp(20px, 2.4vw, 32px);
  --section: clamp(48px, 6vw, 88px);
  --section-tight: clamp(32px, 4vw, 56px);
  --header-h: 84px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(64, 53, 42, .06), 0 2px 8px rgba(64, 53, 42, .05);
  --shadow: 0 2px 6px rgba(64, 53, 42, .05), 0 14px 34px -12px rgba(64, 53, 42, .18);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 400;
  line-height: 1.2;
}

p {
  margin: 0;
}

:where(ul, ol)[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

table {
  border-collapse: collapse;
}

:is([lang="hi"], [lang="gu"]) {
  font-family: var(--font-hi);
  line-height: 1.8;
}

:is(h1, h2, h3):is([lang="hi"], [lang="gu"]),
:is([lang="hi"], [lang="gu"]) :is(h1, h2, h3) {
  font-family: var(--font-hi);
  font-weight: 600;
  line-height: 1.45;
}

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

::selection {
  background: var(--saffron-soft);
  color: var(--ink-strong);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink-strong);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

main:focus {
  outline: none;
}

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

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 820px;
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: var(--section-tight) var(--section);
}

.section--white {
  background: var(--white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.section-title:is([lang="hi"], [lang="gu"]) {
  font-family: var(--font-hi);
  font-size: calc(var(--fs-h2) * .82);
}

.list-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h3);
  margin-bottom: 20px;
  color: var(--ink-strong);
}

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

.split__body>*+* {
  margin-top: 20px;
}

.split__body .btn {
  margin-top: 28px;
}

.prose {
  max-width: 66ch;
}

.prose p+p {
  margin-top: 1em;
}

.prose--lead {
  font-size: var(--fs-lead);
}

.prose a {
  color: var(--gold-text);
}

.prose-flow>*+* {
  margin-top: 24px;
}

/* 4. Buttons & links --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--maroon);
  color: #fff7ea;
  box-shadow: 0 8px 18px -10px rgba(106, 15, 31, .8);
}

.btn--primary .icon {
  color: #e2b14f;
}

.btn--primary:hover {
  background: var(--maroon-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(106, 15, 31, .85);
}

.btn--outline {
  border-color: var(--maroon);
  color: var(--maroon);
  background: rgba(255, 250, 242, .6);
}

.btn--outline:hover {
  background: var(--sand-soft);
}

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
}

.btn--block {
  width: 100%;
}

.btn:active {
  transform: translateY(0);
}

.file-meta {
  font-weight: 500;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform .25s var(--ease);
}

.text-link:hover {
  text-decoration: underline;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.badge--upcoming {
  background: var(--saffron-soft);
  color: #7a4709;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-text);
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 500;
}

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
}

.notice {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 24px;
}

.notice--warn {
  background: #fff5e2;
  border-color: #ecc77f;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  font-weight: 600;
}

/* 5. Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}

/* The frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would make it the containing block for the fixed mobile menu,
   collapsing the menu to the header's height (invisible). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(64, 53, 42, .45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height .3s var(--ease);
}

.site-header.is-compact .site-header__inner {
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 60px;
  transition: height .3s var(--ease);
}

.site-header.is-compact .brand__logo {
  height: 50px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--ink-strong);
  white-space: nowrap;
}

.brand__hindi {
  font-family: var(--font-hi);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gold-text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav__link:hover {
  color: var(--gold-text);
}

.nav__link:hover::after,
.nav__item.is-active>.nav__link::after {
  transform: scaleX(1);
}

.nav__item.is-active>.nav__link {
  color: var(--gold-text);
}

.nav__chev {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.nav__item.is-open .nav__chev {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 190px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}

.nav__submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav__item.is-open .nav__submenu,
.no-js .nav__item--has-menu:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav__sublink {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.nav__sublink:hover,
.nav__sublink.is-active {
  background: var(--sand-soft);
  color: var(--gold-text);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle__bars {
  position: relative;
  display: grid;
  gap: 5px;
  width: 20px;
}

.menu-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-strong);
  transition: transform .3s var(--ease), opacity .2s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  animation: menu-in .3s var(--ease);
}

.mobile-menu__inner {
  padding-block: 16px 40px;
  display: grid;
  gap: 24px;
}

.mobile-menu__list>li {
  border-bottom: 1px solid var(--line);
}

.mobile-menu__list a {
  display: block;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-strong);
}

.mobile-menu__list a[aria-current] {
  color: var(--gold-text);
}

.mobile-menu__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
}

.mobile-menu__summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__chev {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--gold-text);
  transition: transform .25s var(--ease);
}

.mobile-menu__details[open] .mobile-menu__chev {
  transform: rotate(180deg);
}

.mobile-menu__details[open]>ul {
  padding-bottom: 8px;
  animation: menu-in .25s var(--ease);
}

.mobile-menu__group ul a {
  padding: 10px 4px 10px 18px;
  font-size: 17px;
}

.mobile-menu__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--ink-soft);
}

.mobile-menu__contact .icon {
  color: var(--gold);
}

.mobile-menu__contact a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 1099px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand__logo,
  .site-header.is-compact .brand__logo {
    height: 50px;
  }

  .site-header.is-compact .site-header__inner {
    min-height: var(--header-h);
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 10px;
  }

  .brand__logo,
  .site-header.is-compact .brand__logo {
    height: 44px;
  }

  .brand__name {
    font-size: 1.0625rem;
  }

  .brand__hindi {
    font-size: 12.5px;
  }
}

/* 6. Invocations ------------------------------------------------------------ */
.invocations {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  color: var(--gold-text);
  font-weight: 500;
}

.invocations li {
  white-space: nowrap;
}

.invocations--hero {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.invocations--card {
  justify-content: center;
  gap: 4px 28px;
  font-size: 15px;
  margin-bottom: 18px;
}

.invocations--footer {
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
  font-size: 14px;
  margin-top: 18px;
}

/* 7. Hero ------------------------------------------------------------------- */
/* Matches the approved mockup: full-bleed temple artwork inside a carved arch,
   copy centred over the sky on the left. Proportions follow the 1536px artwork,
   so sizes are expressed in vw and capped. */
.hero {
  --maroon: #7a1426;
  --maroon-deep: #6a0f1f;
  --hero-gold: #b8862e;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: clamp(560px, calc(100vw * 768 / 1852), 1000px);
  background: linear-gradient(180deg, #e9cbe0 0%, #f6d3c8 45%, #f9d9a8 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero__content {
  position: absolute;
  left: 8.3%;
  width: 46%;
  top: 13.5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-display);
}

.hero__invocations {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: max-content;
  max-width: 100vw;
  gap: .2em 0;
  color: var(--maroon);
  font-family: var(--font-hi);
  font-size: clamp(14px, 1.2vw, 23px);
  font-weight: 600;
  line-height: 1.6;
}

.hero__invocations li {
  white-space: nowrap;
}

.hero__invocations li+li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: .6em;
  margin: 0 1.25em;
  vertical-align: middle;
  background: var(--hero-gold);
  opacity: .7;
}

.hero__ornament {
  width: min(520px, 26.5vw);
  height: auto;
  margin-top: clamp(14px, 1.4vw, 30px);
}

.hero__title {
  margin-top: clamp(4px, .3vw, 8px);
  color: var(--maroon);
  line-height: 1;
}

.hero__welcome {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 2.65vw, 52px);
  line-height: 1.15;
}

.hero__name {
  display: block;
  margin-top: .08em;
  font-weight: 700;
  font-size: clamp(44px, 4.85vw, 96px);
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}

.hero__ribbon {
  position: relative;
  margin-top: clamp(8px, .55vw, 14px);
  padding: .36em 2.4em;
  color: #fff8ea;
  font-size: clamp(16px, 1.42vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  background: linear-gradient(180deg, #d9a63f 0%, #c08a2a 55%, #a9741d 100%);
  clip-path: polygon(0 50%, 3.2% 0, 96.8% 0, 100% 50%, 96.8% 100%, 3.2% 100%);
  text-shadow: 0 1px 1px rgba(90, 50, 10, .35);
}

.hero__ribbon::before,
.hero__ribbon::after {
  content: "\25C6";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: .5em;
  color: #f6dc9c;
  opacity: .9;
}

.hero__ribbon::before {
  left: 1.3em;
}

.hero__ribbon::after {
  right: 1.3em;
}

.hero__title,
.hero__ribbon,
.hero__lead {
  font-family: var(--font-display);
}

.hero__lead {
  margin-top: clamp(10px, .8vw, 18px);
  color: #4a1416;
  font-size: clamp(17px, 1.3vw, 26px);
  font-weight: 500;
  line-height: 1.4;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 22px);
  margin-top: clamp(16px, 1.5vw, 30px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: clamp(46px, 3.15vw, 62px);
  padding: 0 1.4em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.3vw, 26px);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--maroon);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}

.hero-btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.hero-btn--solid {
  background: var(--maroon);
  color: #fff7ea;
  box-shadow: 0 10px 22px -12px rgba(106, 15, 31, .8);
}

.hero-btn--solid svg {
  color: #e2b14f;
}

.hero-btn--solid:hover {
  background: var(--maroon-deep);
  transform: translateY(-1px);
}

.hero-btn--outline {
  background: rgba(255, 250, 242, .55);
  color: var(--maroon);
}

.hero-btn--outline:hover {
  background: rgba(255, 250, 242, .9);
  transform: translateY(-1px);
}

.hero-btn:focus-visible {
  outline: 3px solid var(--hero-gold);
  outline-offset: 3px;
}

/* Below 1100px the artwork can't sit beside the copy, so the copy sits over the
   sky and the temple shows underneath it. */
@media (max-width: 1099px) {
  .hero {
    --bg-h: min(88vw, 720px);
    height: auto;
    padding: 48px var(--gutter) calc(var(--bg-h) - 9vw);
    background: linear-gradient(180deg, #dcc9ea 0%, #ecccd9 55%, #f3d3cf 100%);
  }

  .hero__bg {
    top: auto;
    height: var(--bg-h);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }

  .hero__bg img {
    object-position: 72% 100%;
  }

  .hero__content {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero__ornament {
    width: min(360px, 70%);
    margin-top: 22px;
  }
}

@media (max-width: 639px) {
  .hero {
    --bg-h: 104vw;
    padding: 32px var(--gutter) calc(var(--bg-h) - 14vw);
  }

  .hero__bg img {
    object-position: 74% 100%;
  }

  .hero__invocations {
    flex-direction: column;
    gap: 0;
    font-size: 15px;
  }

  .hero__invocations li+li::before {
    display: none;
  }

  .hero__name {
    font-size: clamp(36px, 10.6vw, 46px);
  }

  .hero__welcome {
    font-size: clamp(26px, 7.2vw, 32px);
  }

  .hero__ribbon {
    white-space: normal;
    font-size: 15.5px;
    padding: .4em 2em;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .hero-btn {
    flex: 1 1 200px;
  }
}

/* 8. Media frames ----------------------------------------------------------- */
.photo-frame {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand-soft);
  box-shadow: var(--shadow-sm);
}

.photo-frame picture,
.photo-frame img {
  width: 100%;
}

.split__media {
  aspect-ratio: 4 / 3;
  max-width: 620px;
}

.split__media picture,
.split__media img {
  height: 100%;
}

.split__media img {
  object-fit: cover;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink-strong);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background-color .3s;
}

.zoom-hint .icon {
  width: 18px;
  height: 18px;
}

/* 9. Events ----------------------------------------------------------------- */
.event-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(16px, 2vw, 24px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.event-card__poster {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: var(--r);
  background: var(--sand-soft);
  overflow: hidden;
}

.event-card__poster img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease);
}

.event-card__poster:hover img {
  transform: scale(1.015);
}

.event-card__poster:hover .zoom-hint {
  transform: scale(1.08);
  background: var(--white);
}

.event-card__body {
  padding-right: clamp(0px, 2vw, 24px);
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.event-card__date .icon {
  color: var(--gold);
}

.event-card__note {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-soft);
}

.event-card__title {
  margin-top: 16px;
  display: grid;
  gap: 4px;
}

.event-card__hi {
  font-family: var(--font-hi);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.2rem + .7vw, 1.875rem);
  line-height: 1.4;
  color: var(--ink-strong);
}

.event-card__en {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--ink-soft);
  line-height: 1.3;
}

.event-card__occasion {
  margin-top: 10px;
  color: var(--gold-text);
  font-weight: 600;
}

.event-card__meta .event-card__occasion {
  margin-top: 0;
}

.event-card__line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink);
}

.event-card__line .icon {
  color: var(--gold);
  margin-top: 5px;
}

.event-card__hosts {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.event-card__intro {
  margin-top: 12px;
  color: var(--ink-soft);
}

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.event-list {
  margin-top: clamp(40px, 5vw, 56px);
}

.event-list__items {
  display: grid;
  gap: 12px;
}

.event-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 12px 20px 12px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s var(--ease);
}

.event-row:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.event-row__thumb {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sand-soft);
}

.event-row__thumb img,
.event-row__thumb picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.event-row__text {
  display: grid;
  gap: 2px;
}

.event-row__date {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-text);
}

.event-row__hi {
  font-family: var(--font-hi);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ink-strong);
}

.event-row__en {
  color: var(--ink-soft);
  font-size: 15px;
}

.event-row__arrow {
  color: var(--gold-text);
  transition: transform .25s var(--ease);
}

.event-row:hover .event-row__arrow {
  transform: translateX(4px);
}

.event-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 8px;
}

.event-detail__poster {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.event-detail__poster img {
  max-height: 75vh;
  width: auto;
  border-radius: 6px;
}

.event-detail__title {
  margin-top: 16px;
  display: grid;
  gap: 6px;
  font-size: inherit;
}

.event-detail__title .event-card__hi {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
}

.facts {
  margin: 24px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.facts>div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 15px;
}

.facts dt .icon {
  color: var(--gold);
  width: 18px;
  height: 18px;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.facts__note {
  display: block;
  color: var(--ink-soft);
  font-size: 15px;
}

.event-detail__intro {
  margin-top: 20px;
}

/* 10. Photo gallery --------------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.photo-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand-soft);
  box-shadow: var(--shadow-sm);
}

.photo-tile picture,
.photo-tile img {
  width: 100%;
  height: 100%;
}

.photo-tile img {
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.photo-tile.fit-contain img {
  object-fit: contain;
  padding: 12px;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 33, 23, .28));
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.photo-tile__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink-strong);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.photo-tile__zoom .icon {
  width: 18px;
  height: 18px;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.05);
}

.photo-tile.fit-contain:hover img {
  transform: scale(1.02);
}

.photo-tile:hover::after,
.photo-tile:focus-visible::after {
  opacity: 1;
}

.photo-tile:hover .photo-tile__zoom,
.photo-tile:focus-visible .photo-tile__zoom {
  opacity: 1;
  transform: none;
}

.photo-caption {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (hover: none) {
  .photo-tile__zoom {
    opacity: 1;
    transform: none;
  }
}

/* 11. Videos ---------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.video-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  border-radius: var(--r);
}

.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
}

.video-card__media picture,
.video-card__media img {
  width: 100%;
  height: 100%;
}

.video-card__media img {
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.video-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 23, .08);
  transition: background-color .4s var(--ease);
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--gold);
  box-shadow: 0 8px 24px -8px rgba(43, 33, 23, .5), 0 0 0 6px rgba(255, 255, 255, .35);
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease);
}

.video-card__play .icon {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card:hover .video-card__media img,
.video-card:focus-visible .video-card__media img {
  transform: scale(1.05);
}

.video-card:hover .video-card__media::after {
  background: rgba(43, 33, 23, .18);
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  transform: scale(1.08);
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 10px 28px -8px rgba(43, 33, 23, .55), 0 0 0 10px rgba(255, 255, 255, .3);
}

/* 12. Home: about + donation --------------------------------------------------- */
.home-about .prose {
  font-size: var(--fs-lead);
  color: var(--ink);
}

.donate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--sand-soft);
  border: 1px solid var(--line);
}

.donate-panel__intro>*+* {
  margin-top: 16px;
}

.donate-panel__intro .btn {
  margin-top: 24px;
}

.donate-panel__trust {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.amount-list {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: 6px 24px;
  box-shadow: var(--shadow-sm);
}

.amount-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
}

.amount-list__row+.amount-list__row {
  border-top: 1px solid var(--line);
}

.amount-list__name {
  color: var(--ink);
}

.amount-list__amt {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--gold-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.amount-list__amt small {
  font-family: var(--font-hi);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 13. Inner page head --------------------------------------------------------- */
/* Compact title band in the hero palette: warm sandstone ground with a soft gold
   glow behind the title, carved-jali borders fading in from both edges, and gold
   rules top and bottom. No photograph. */
.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-block: clamp(28px, 3.2vw, 44px) clamp(26px, 3vw, 40px);
  background:
    radial-gradient(ellipse 38% 120% at 50% 50%, rgba(255, 249, 238, .95) 0%, rgba(255, 249, 238, 0) 100%),
    linear-gradient(180deg, #f8ead3 0%, #f4e2c4 100%);
  border-top: 1px solid #e6d2ae;
}

.page-head::before {
  /* jali lattice on both sides, fading towards the centre */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/jali.2ad144982b0d.svg") 0 0 / 72px 72px;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 22%, transparent 36%, transparent 64%, rgba(0, 0, 0, .35) 78%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 22%, transparent 36%, transparent 64%, rgba(0, 0, 0, .35) 78%, #000 100%);
}

.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #a9741d, #d9a63f 50%, #a9741d);
}

.page-head__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-head__crumbs {
  justify-content: center;
  margin: 0 0 6px;
  font-size: 13.5px;
  color: #8a6a52;
}

.page-head__crumbs a {
  color: #8a6a52;
}

.page-head__crumbs [aria-current] {
  color: var(--maroon);
  font-weight: 600;
}

.page-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon);
  font-size: clamp(2.125rem, 1.7rem + 1.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}

.page-head__ornament {
  width: min(280px, 64%);
  height: auto;
  margin-top: 8px;
}

.page-head__hindi {
  margin-top: 4px;
  font-family: var(--font-hi);
  font-size: clamp(1rem, .95rem + .3vw, 1.25rem);
  font-weight: 600;
  line-height: 1.6;
  color: #6b3a22;
}

.page-head__intro {
  margin-top: 8px;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
}

.page-head--center .page-head__intro {
  margin-inline: auto;
}

.page-head--center .btn {
  margin-top: 20px;
}

.page-head--tall {
  padding-block: clamp(56px, 8vw, 110px);
}

.page-head+.section,
.page-head+.section--tight {
  padding-top: clamp(28px, 3.5vw, 52px);
}

@media (max-width: 639px) {
  .page-head {
    padding-block: 22px 22px;
  }

  .page-head::before {
    opacity: .35;
  }
}

/* 14. About: chapters & blocks ------------------------------------------------ */
.about-flow {
  display: grid;
  gap: 0;
}

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 48px);
}

.about-flow>.chapter:first-child {
  padding-top: 0;
}

.chapter+.chapter,
.divider+.chapter {
  border-top: 1px solid var(--line);
}

.chapter--image-left .chapter__figure {
  order: -1;
}

.chapter--image-left {
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
}

.chapter--no-image,
.chapter--register,
.chapter--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.chapter__body>*+* {
  margin-top: 18px;
}

.chapter__title {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.4rem + .9vw, 2.25rem);
  line-height: 1.2;
}

.chapter:is([lang="hi"], [lang="gu"]) .chapter__title {
  font-family: var(--font-hi);
  font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem);
}

.chapter__figure {
  aspect-ratio: 4 / 3.4;
}

.chapter__figure picture,
.chapter__figure img {
  width: 100%;
  height: 100%;
}

.chapter__figure img {
  object-fit: cover;
}

.chapter__figure figcaption {
  display: none;
}

.chapter__body .prose {
  max-width: 70ch;
}

.chapter__body .prose,
.chapter__body .prose--lead {
  font-size: 1.125rem;
  line-height: 1.75;
}

.register-grid,
.chapter--register .chapter__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px var(--gap);
  align-items: start;
}

.chapter--register .chapter__body>*+* {
  margin-top: 0;
}

.chapter--register .chapter__title {
  grid-column: 1 / -1;
}

.register {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 24px;
}

.register__heading {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--gold-text);
}

.register__list {
  display: grid;
  gap: 4px;
}

.register__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
}

.register__item+.register__item {
  border-top: 1px dashed var(--line);
}

.register__marker {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand-soft);
  color: var(--gold-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-2px);
}

.register__text {
  color: var(--ink);
}

.highlight {
  margin: 12px auto 0;
  max-width: 860px;
  padding: 18px 28px;
  text-align: center;
  background: var(--sand-soft);
  border-radius: var(--r);
  border: 1px solid var(--line);
  font-size: var(--fs-lead);
  font-weight: 500;
  color: var(--ink-strong);
}

.chapter+.highlight {
  margin-top: 8px;
}

.highlight footer {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.block-heading {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
}

.figure {
  margin: 0;
}

.figure__frame {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand-soft);
}

.figure__caption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* 15. Donation page ------------------------------------------------------------ */
.donation {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

.block-head {
  margin-bottom: 24px;
}

.block-head p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 70ch;
}

.trust-card {
  position: relative;
  text-align: center;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.trust-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 96px;
  height: 3px;
  margin-left: -48px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}

.trust-card__name {
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem);
  color: var(--ink-strong);
}

.trust-card__address {
  margin-top: 6px;
  color: var(--ink-soft);
}

.trust-card__ids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  margin: 14px 0 0;
  font-size: 15px;
}

.trust-card__ids div {
  display: flex;
  gap: 6px;
}

.trust-card__ids dt {
  color: var(--ink-soft);
}

.trust-card__ids dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}

.ledger--main {
  grid-row: span 3;
}

.ledger {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px 24px 10px;
  box-shadow: var(--shadow-sm);
}

.ledger__title {
  padding: 16px 0 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--gold-text);
  border-bottom: 2px solid var(--sand);
}

.ledger__table {
  width: 100%;
}

.ledger__table tr+tr {
  border-top: 1px solid var(--line);
}

.ledger__table th {
  padding: 12px 16px 12px 0;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  vertical-align: baseline;
}

.ledger__table td {
  padding: 12px 0;
  text-align: right;
  white-space: nowrap;
  vertical-align: baseline;
}

.ledger__amt {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}

.ledger__suffix {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr);
  gap: var(--gap);
  align-items: stretch;
}

.pay-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pay-card--inline {
  max-width: 520px;
}

.pay-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink-strong);
  margin-bottom: 14px;
}

.bank-details {
  margin: 0;
  display: grid;
}

.bank-details>div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
}

.bank-details>div+div {
  border-top: 1px solid var(--line);
}

.bank-details dt {
  color: var(--ink-soft);
  font-size: 15px;
}

.bank-details dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-weight: 600;
  color: var(--ink-strong);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

.copy-btn .icon {
  width: 15px;
  height: 15px;
}

.copy-btn:hover {
  border-color: var(--gold);
  background: var(--sand-soft);
}

.copy-btn.is-copied {
  background: #e9f4e4;
  border-color: #9cc78c;
  color: #2f5d22;
}

.pay-card--qr {
  text-align: center;
}

.qr-frame {
  display: inline-block;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.qr-frame__img {
  width: 231px;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.pay-card__upi {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.enquiry-phones {
  display: grid;
  gap: 10px;
}

.enquiry-phones a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sand-soft);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
  transition: background-color .2s;
}

.enquiry-phones a:hover {
  background: var(--sand);
}

.enquiry-phones .icon {
  color: var(--gold-text);
  width: 18px;
  height: 18px;
}

.donation-history {
  max-width: 860px;
}

.donation-history .prose {
  margin-top: 16px;
  max-width: none;
}

/* 16. Contact ------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: var(--gap);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 26px 26px 24px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 10px 28px -20px rgba(106, 15, 31, .45);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #a9741d, #d9a63f, #a9741d);
}

.contact-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon);
  color: #f3c66a;
  box-shadow: 0 6px 14px -8px rgba(106, 15, 31, .8);
}

.contact-card__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}

.contact-card__value {
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  word-break: break-word;
}

.contact-card__email {
  font-weight: 600;
}

.contact-card__action {
  align-self: flex-start;
  margin-top: auto;
}

.contact-card__phones {
  display: grid;
  gap: 8px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  color: var(--ink-strong);
  font-weight: 600;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.contact-chip .icon {
  width: 18px;
  height: 18px;
  color: var(--maroon);
}

.contact-chip:hover {
  background: #f6e3c3;
  border-color: var(--line-strong);
}

.contact__map {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-frame--large {
  aspect-ratio: 16 / 6.5;
}

/* 17. Footer -------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f6e6cc 0%, #f2ddbb 100%);
  color: var(--ink);
}

.site-footer::before {
  /* jali lattice fading in from both sides */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/jali.2ad144982b0d.svg") 0 0 / 80px 80px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .12) 28%, rgba(0, 0, 0, .12) 72%, #000);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .12) 28%, rgba(0, 0, 0, .12) 72%, #000);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #a9741d, #d9a63f 50%, #a9741d);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: clamp(28px, 3.5vw, 56px);
  padding-block: clamp(44px, 5vw, 68px) clamp(40px, 4.5vw, 60px);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.site-footer__logo {
  height: 76px;
  width: auto;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(106, 15, 31, .18));
}

.site-footer__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.15;
  color: var(--maroon);
}

.site-footer__hindi {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #6b3a22;
  font-weight: 600;
}

.site-footer__invocations {
  margin-top: 20px;
  padding: 12px 16px;
  display: grid;
  gap: 2px;
  width: fit-content;
  background: rgba(255, 250, 242, .65);
  border: 1px solid #e3c99c;
  border-radius: 12px;
  color: var(--maroon);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.7;
}

.site-footer__donate {
  margin-top: 18px;
}

.site-footer__heading {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--maroon);
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.site-footer__links {
  display: grid;
  gap: 2px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.site-footer__links a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

.site-footer__links a:hover {
  color: var(--maroon);
  transform: translateX(3px);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--maroon);
  color: #f3c66a;
}

.contact-list__icon .icon {
  width: 17px;
  height: 17px;
}

.contact-list__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #7d5a42;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

.contact-list__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.site-footer__map {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__map .site-footer__heading {
  margin-bottom: 6px;
}

.site-footer__map .map-frame {
  aspect-ratio: 16 / 10;
  border: 3px solid #fffaf2;
  box-shadow: 0 0 0 1px #e3c99c, 0 12px 26px -18px rgba(106, 15, 31, .6);
}

.site-footer__directions {
  justify-self: start;
}

.site-footer__bar {
  background: var(--maroon);
  color: #f6e3c3;
}

.site-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 14px;
  font-size: 14px;
}

.site-footer__bar a {
  color: #ffd98a;
  font-weight: 600;
}

.site-footer__bar a:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: #f3c66a;
  border: 2px solid #f3c66a;
  box-shadow: 0 10px 22px -10px rgba(106, 15, 31, .8);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

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

.to-top:hover {
  background: var(--maroon-deep);
}

/* 18. Lightbox ------------------------------------------------------------------ */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(36, 28, 20, .94);
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(36, 28, 20, .6);
}

.lightbox[open] {
  animation: lb-in .3s var(--ease);
}

.lightbox__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 64px 72px 72px;
}

.lightbox__figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img,
.lightbox__video {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #000;
}

.lightbox__img {
  background: transparent;
}

.lightbox__video {
  width: min(100%, 1200px);
  aspect-ratio: 16 / 9;
}

.lightbox__img.is-entering {
  animation: lb-img .45s var(--ease);
}

.lightbox__caption {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
  max-width: 70ch;
}

.lightbox__count {
  position: absolute;
  left: 24px;
  top: 20px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  font-variant-numeric: tabular-nums;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, .22);
}

.lightbox__btn .icon {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  right: 16px;
  top: 12px;
}

.lightbox__prev {
  left: 16px;
  top: 50%;
  margin-top: -24px;
}

.lightbox__next {
  right: 16px;
  top: 50%;
  margin-top: -24px;
}

.lightbox[data-single] .lightbox__prev,
.lightbox[data-single] .lightbox__next {
  display: none;
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
}

@keyframes lb-img {
  from {
    opacity: 0;
    transform: scale(.97);
  }
}

/* 19. Responsive ----------------------------------------------------------------- */
@media (max-width: 1199px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .site-footer__map {
    grid-column: 1 / -1;
  }

  .site-footer__map .map-frame {
    aspect-ratio: 16 / 5;
  }

  .pay-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .pay-card--enquiry {
    grid-column: 1 / -1;
  }

  .pay-card--enquiry .enquiry-phones {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 1023px) {
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .split {
    gap: 36px;
  }

  .event-card {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 28px;
  }

  .event-card__poster img {
    max-height: 420px;
  }

  .event-detail__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-detail__poster {
    position: static;
  }

  .event-detail__poster img {
    max-height: 70vh;
  }

  .chapter,
  .chapter--image-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .ledger-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger--main {
    grid-row: auto;
  }

  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cards>li:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .map-frame--large {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 759px) {

  .split,
  .donate-panel,
  .event-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__media {
    max-width: none;
  }

  .chapter,
  .chapter--image-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .chapter--image-left .chapter__figure {
    order: 0;
  }

  .photo-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .video-grid:not(.video-grid--home) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid:not(.photo-grid--home) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer__identity {
    grid-column: 1 / -1;
  }

  .site-footer__map .map-frame {
    aspect-ratio: 16 / 7;
  }

  .pay-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pay-card--enquiry {
    grid-column: auto;
  }

  .chapter--register .chapter__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 639px) {
  :root {
    --gap: 16px;
  }

  .section {
    padding-block: 44px;
  }

  .section--tight {
    padding-block: 28px 44px;
  }

  .invocations--hero {
    justify-content: center;
    gap: 2px 18px;
    font-size: 14px;
    padding-block: 10px;
  }

  .video-grid,
  .video-grid--home {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__map .map-frame {
    aspect-ratio: 4 / 3;
  }

  .site-footer__bar-inner {
    flex-direction: column;
  }

  .event-row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    padding-right: 14px;
  }

  .event-row__thumb {
    width: 72px;
  }

  .facts>div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .bank-details>div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ledger,
  .amount-list {
    padding-inline: 16px;
  }

  .donate-panel {
    padding: 20px;
  }

  .event-card__actions .btn,
  .split__body .btn {
    width: 100%;
  }

  .register {
    padding: 16px;
  }

  .highlight {
    padding: 16px 18px;
  }

  .lightbox__stage {
    padding: 60px 12px 72px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 14px;
    margin-top: 0;
  }

  .lightbox__prev {
    left: calc(50% - 60px);
  }

  .lightbox__next {
    right: calc(50% - 60px);
  }
}

@media (max-width: 419px) {
  .photo-grid:not(.photo-grid--home) {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-grid--home {
    gap: 12px;
  }
}

/* Header styling from the approved hero mockup: warm ivory bar, maroon
   serif wordmark, serif navigation, maroon Login pill. */
.brand__logo {
  height: 64px;
}

.site-header {
  --maroon: #7a1426;
  border-bottom-color: #eadbc2;
}

.site-header::before {
  background: rgba(252, 246, 236, .97);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + .6vw, 1.875rem);
  line-height: 1.1;
  color: var(--maroon);
}

.brand__tagline {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #6b3a22;
  white-space: nowrap;
}

.nav__link {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.17vw, 22px);
  font-weight: 500;
  color: #3a2418;
  padding: 10px 16px;
}

.nav__link::after {
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2.5px;
  background: #c68b32;
}

.nav__link:hover,
.nav__item.is-active>.nav__link {
  color: var(--maroon);
}

.nav__item.is-active>.nav__link {
  font-weight: 600;
}

.site-header__login.btn--primary {
  background: var(--maroon);
  color: #fff7ea;
  border-color: var(--maroon);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  min-height: 48px;
  padding: 0 26px;
  box-shadow: 0 8px 18px -10px rgba(106, 15, 31, .8);
}

.site-header__login.btn--primary:hover {
  background: #6a0f1f;
}

.site-header__login .icon {
  color: #e2b14f;
}

@media (max-width: 1279px) {
  .nav__link {
    font-size: 17px;
    padding: 10px 11px;
  }

  .nav__link::after {
    left: 11px;
    right: 11px;
  }

  .site-header__login.btn--primary {
    font-size: 17px;
    padding: 0 20px;
  }
}

@media (max-width: 639px) {
  .brand__name {
    font-size: 1.25rem;
  }

  .brand__tagline {
    font-size: 9.5px;
    letter-spacing: .06em;
  }
}

/* Letter-spacing breaks up Devanagari and Gujarati conjuncts. */
:is([lang="hi"], [lang="gu"]) .brand__tagline {
  letter-spacing: 0;
}

/* Language switcher (English / ગુજરાતી / हिन्दी), beside the menu button. */
.nav {
  margin-left: auto;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.lang-switch {
  position: relative;
}

.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #3a2418;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.lang-switch__toggle::-webkit-details-marker {
  display: none;
}

.lang-switch__toggle:hover,
.lang-switch[open] .lang-switch__toggle {
  border-color: #c68b32;
  color: var(--maroon);
}

.lang-switch__globe {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #c68b32;
  stroke-width: 1.6;
}

.lang-switch__current {
  font-family: var(--font-hi);
  min-width: 1.4em;
  text-align: center;
}

.lang-switch__current[lang="en"] {
  font-family: var(--font-sans);
}

.lang-switch__chev {
  width: 12px;
  height: 12px;
  transition: transform .25s var(--ease);
}

.lang-switch[open] .lang-switch__chev {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 101;
  min-width: 170px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: menu-in .2s var(--ease);
}

.lang-switch__option {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-hi);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  color: var(--ink);
}

.lang-switch__option[lang="en"] {
  font-family: var(--font-sans);
}

.lang-switch__option:hover,
.lang-switch__option.is-active {
  background: var(--sand-soft);
  color: var(--maroon);
}

.lang-switch__option.is-active {
  font-weight: 700;
}

.nav__link {
  white-space: nowrap;
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header__inner {
    gap: 16px;
  }

  .nav__link {
    padding: 10px 8px;
  }

  .nav__link::after {
    left: 8px;
    right: 8px;
  }

  .site-header__login.btn--primary {
    padding: 0 16px;
  }

  .lang-switch__toggle {
    padding: 0 10px;
  }

  .lang-switch__chev {
    display: none;
  }
}

/* Phones: a globe-only button keeps room for the full site name. */
@media (max-width: 479px) {
  .site-header__inner {
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand__logo,
  .site-header.is-compact .brand__logo {
    height: 44px;
  }

  .brand__name {
    font-size: 1.125rem;
  }

  .brand__tagline {
    font-size: 8.5px;
    letter-spacing: .04em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__tools {
    gap: 8px;
  }

  .lang-switch__toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .lang-switch__current,
  .lang-switch__chev {
    display: none;
  }

  .lang-switch__globe {
    width: 20px;
    height: 20px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}

/* Latin transliterations of the invocations run wider than the Devanagari originals. */
@media (min-width: 1100px) {
  html[lang="en"] .hero__invocations {
    font-size: clamp(13px, .98vw, 19px);
  }

  html[lang="en"] .hero__invocations li+li::before {
    margin: 0 .9em;
  }
}

/* Indic scripts have no italic; a slanted fallback reads poorly. */
:is([lang="hi"], [lang="gu"]) .hero__welcome {
  font-style: normal;
}

/* An event shown in one language uses its title as the main heading. */
.event-card__main {
  font-family: var(--font-display);
}

/* Site-wide palette from the hero and header: maroon serif headings, gold
   accents, cream grounds. */
.section-title,
.page-head__title,
.chapter__title,
.block-heading,
.event-card__en,
.list-heading,
.ledger__title,
.pay-card__title,
.contact-card__label {
  color: var(--maroon);
}

.section-title,
.page-head__title,
.chapter__title,
.block-heading,
.event-card__en {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.005em;
}

.section-title {
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.875rem);
}

.btn {
  font-family: var(--font-display);
  font-size: 17.5px;
}

.btn--sm {
  font-size: 16.5px;
}

.section--white {
  background: #fffaf2;
}

/* 20. Motion ---------------------------------------------------------------------- */
/* Content is never hidden by default. The hero entrance is a pure-CSS animation
   that always finishes visible; scroll reveals are applied by JS only at the
   moment an element enters the viewport (see site.js). */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-hero-item] {
    animation: rise .9s var(--ease) both;
  }

  .motion .hero__ornament[data-hero-item] {
    animation-delay: .1s;
  }

  .motion .hero__title[data-hero-item] {
    animation-delay: .16s;
  }

  .motion .hero__ribbon[data-hero-item] {
    animation-delay: .28s;
  }

  .motion .hero__lead[data-hero-item] {
    animation-delay: .36s;
  }

  .motion .hero__actions[data-hero-item] {
    animation-delay: .44s;
  }

  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: .28s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes unveil {
  from {
    clip-path: inset(6% 6% 6% 6% round 24px);
    opacity: .4;
  }

  to {
    clip-path: inset(0 0 0 0 round 24px);
    opacity: 1;
  }
}

@keyframes settle {
  from {
    transform: scale(1.08);
  }
}

@keyframes plinth {
  from {
    opacity: 0;
    transform: translate(-14px, -14px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 21. Print ------------------------------------------------------------------------ */
@media print {

  .site-header,
  .site-footer__map,
  .to-top,
  .lightbox,
  .menu-toggle,
  .page-head::before,
  .page-head::after {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding-block: 24px;
  }
}

/* 22. Refinements ------------------------------------------------------------------ */
.page-head__title,
.section-title,
.chapter__title,
.event-card__hi,
.event-card__en {
  text-wrap: balance;
}

.home-video+.home-donation {
  padding-top: 0;
}

.chapter--register .chapter__body {
  display: block;
  columns: 2;
  column-gap: var(--gap);
}

.chapter--register .chapter__title {
  column-span: all;
  margin-bottom: 20px;
}

.chapter--register .register {
  break-inside: avoid;
  margin: 0 0 var(--gap);
}

@media (max-width: 899px) {
  .chapter--register .chapter__body {
    columns: 1;
  }
}

:is([lang="hi"], [lang="gu"]) .section-title,
.section-title:is([lang="hi"], [lang="gu"]) {
  font-family: var(--font-hi);
  font-weight: 600;
  font-size: calc(var(--fs-h2) * .8);
  line-height: 1.4;
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__media {
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 639px) {
  .split__media {
    aspect-ratio: 4 / 3;
  }
}