/* ==========================================================================
   Vadtaldham Austin® — site stylesheet
   Palette drawn from kumkum, haldi, marigold and sandalwood.
   ========================================================================== */

:root {
  --kumkum-950: #2a070c;
  --kumkum-900: #3d0a12;
  --kumkum-800: #5a1019;
  --kumkum-700: #7a1622;
  --kumkum-600: #95202f;
  --marigold: #e8892a;
  --marigold-deep: #a9501a;   /* text-safe on cream */
  --haldi: #e0a526;
  --gold: #b8862f;
  --gold-soft: #e9c983;
  --sandal-50: #fdf9f1;
  --sandal-100: #f8efdf;
  --sandal-200: #efe0c4;
  --sandal-300: #e2cca5;
  --ink: #2b1b15;
  --ink-soft: #5d4940;
  --ink-faint: #8a766b;
  --peacock: #145c58;
  --leaf: #2f6b3a;
  --rule: rgba(90, 16, 25, .16);
  --rule-strong: rgba(90, 16, 25, .3);

  --font-display: "Cormorant Garamond", "Noto Serif Devanagari", "Noto Serif Gujarati", Georgia, serif;
  --font-body: "Source Sans 3", "Noto Sans Devanagari", "Noto Sans Gujarati", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --shadow: 0 1px 2px rgba(59, 10, 18, .06), 0 14px 40px -18px rgba(59, 10, 18, .28);
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html[lang="hi"] {
  --font-display: "Noto Serif Devanagari", "Cormorant Garamond", Georgia, serif;
  --font-body: "Noto Sans Devanagari", "Source Sans 3", Arial, sans-serif;
}
html[lang="gu"] {
  --font-display: "Noto Serif Gujarati", "Cormorant Garamond", Georgia, serif;
  --font-body: "Noto Sans Gujarati", "Source Sans 3", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--sandal-50) var(--paper);
  font: 400 1.0625rem/1.68 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="hi"] body, html[lang="gu"] body { font-size: 1rem; line-height: 1.8; }
body.menu-open { overflow: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; color: var(--kumkum-800); text-wrap: balance; }
html[lang="hi"] :is(h1, h2, h3), html[lang="gu"] :is(h1, h2, h3) { line-height: 1.32; letter-spacing: 0; font-weight: 700; }
p { margin: 0 0 1em; overflow-wrap: break-word; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
::selection { color: #fff; background: var(--kumkum-700); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: var(--kumkum-800); border-radius: 6px; transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* Section rhythm */
.band { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.band--tint { background: var(--sandal-100) var(--paper); }
.band--deep { color: #f6e9d3; background: var(--kumkum-900); }
.band--deep h2, .band--deep h3 { color: #fff4df; }
.band--tight { padding: clamp(44px, 6vw, 72px) 0; }
.band--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background: url("../img/mandala.svg") right -180px center / 640px no-repeat;
}

/* Scalloped edge between bands, like a temple torana */
.scallop-top::after, .scallop-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; pointer-events: none;
  background: radial-gradient(circle at 12px 0, transparent 11px, var(--scallop, var(--sandal-50)) 12px) 0 0 / 24px 14px repeat-x;
}
.scallop-bottom::after { bottom: -1px; transform: scaleY(-1); }

/* Labels and headings */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--marigold-deep); font: 600 .78rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
html[lang="hi"] .kicker, html[lang="gu"] .kicker { letter-spacing: .02em; font-size: .9rem; text-transform: none; }
.band--deep .kicker { color: var(--gold-soft); }
.title-xl { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
.title-lg { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.title-md { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.title-xl em, .title-lg em, .title-md em { color: var(--marigold-deep); font-weight: 500; }
.band--deep :is(.title-lg, .title-md) em { color: var(--gold-soft); }
html[lang="hi"] .title-xl, html[lang="gu"] .title-xl { font-size: clamp(2.1rem, 5vw, 3.9rem); }
html[lang="hi"] .title-lg, html[lang="gu"] .title-lg { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
.lede { max-width: 60ch; color: var(--ink-soft); font-size: 1.18rem; }
.band--deep .lede, .band--deep p { color: #ead9bd; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head .title-lg + p, .section-head .title-md + p { margin-top: 16px; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 18px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament span { font-family: "Noto Serif Devanagari", serif; font-size: 1.15rem; line-height: 1; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 4px;
  font: 600 .98rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn i { font-size: .85em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-up-right-from-square { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { color: #fff; background: var(--kumkum-700); box-shadow: 0 10px 22px -12px rgba(122, 22, 34, .8); }
.btn--primary:hover { background: var(--kumkum-800); }
.btn--ghost { color: var(--kumkum-800); border-color: var(--rule-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--kumkum-700); background: rgba(122, 22, 34, .05); }
.btn--gold { color: var(--kumkum-950); background: var(--haldi); }
.btn--gold:hover { background: #ebb43a; }
.btn--light { color: var(--kumkum-900); background: #fff6e6; }
.btn--light:hover { background: #fff; }
.btn--outline-light { color: #fff4df; border-color: rgba(255, 244, 223, .4); }
.btn--outline-light:hover { border-color: #fff4df; background: rgba(255, 244, 223, .07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--kumkum-700); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }

/* ---------- Top strip & header ---------- */
.topstrip { color: #ecd9b9; background: var(--kumkum-950); font-size: .84rem; }
.topstrip .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topstrip__greet { font-family: var(--font-display); font-size: 1.02rem; font-style: italic; color: var(--gold-soft); }
html[lang="hi"] .topstrip__greet, html[lang="gu"] .topstrip__greet { font-style: normal; font-size: .92rem; }
.topstrip__links { display: flex; align-items: center; gap: 18px; }
.topstrip__links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; opacity: .9; transition: opacity .2s, color .2s; }
.topstrip__links a:hover { opacity: 1; color: #fff; }
.topstrip__links i { color: var(--haldi); font-size: .8rem; }
.topstrip__event { color: #fff; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(253, 249, 241, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 10px 30px -24px rgba(59, 10, 18, .6); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; transition: min-height .3s var(--ease); }
.site-header.is-scrolled .wrap { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; transition: width .3s var(--ease), height .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 46px; height: 46px; }
.brand__name { display: grid; gap: 3px; line-height: 1; }
.brand__name strong { color: var(--kumkum-800); font: 700 1.36rem/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -.01em; }
.brand__name small { color: var(--ink-faint); font: 600 .64rem/1.2 "Source Sans 3", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
sup.reg { font-family: "Source Sans 3", Arial, sans-serif; font-size: .42em; font-weight: 600; vertical-align: super; line-height: 0; margin-left: 1px; }

.nav { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 22px); }
.nav a { position: relative; padding: 6px 0; color: var(--ink-soft); font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--marigold); transform: translateX(-50%) scale(0); transition: transform .25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--kumkum-700); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav a.nav__donate { padding: 9px 16px; color: #fff; background: var(--kumkum-700); border-radius: 4px; }
.nav a.nav__donate::after { display: none; }
.nav a.nav__donate:hover { background: var(--kumkum-800); color: #fff; }
.nav__num { display: none; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 4px; background: transparent; color: var(--kumkum-800); font-size: .86rem; font-weight: 600; }
.lang__btn:hover { border-color: var(--rule-strong); }
.lang__btn .fa-chevron-down { font-size: .65rem; transition: transform .2s; }
.lang.is-open .lang__btn .fa-chevron-down { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; min-width: 150px; padding: 6px; border: 1px solid var(--rule); border-radius: 6px; background: #fffaf2; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 9px 12px; border: 0; border-radius: 4px; background: none; text-align: left; font-size: .95rem; }
.lang__menu button:hover { background: var(--sandal-100); }
.lang__menu button[aria-pressed="true"] { color: var(--kumkum-700); font-weight: 700; }
.lang__menu button[aria-pressed="true"]::after { content: "✓"; font-size: .8rem; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 4px; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--kumkum-800); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; right: 18px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.toran { height: 42px; margin-bottom: -42px; position: relative; z-index: 2; pointer-events: none; background: url("../img/toran.svg") 0 0 / 120px 42px repeat-x; transform-origin: top; animation: sway 7s ease-in-out infinite alternate; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero__place { display: block; margin-bottom: 22px; color: var(--ink-faint); font-family: var(--font-display); font-size: 1.28rem; font-style: italic; }
.hero__place strong { color: var(--kumkum-700); font-style: normal; font-weight: 700; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { display: block; }
.hero .lede { margin-bottom: 0; }
.hero__note { display: flex; gap: 14px; align-items: flex-start; max-width: 520px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: .98rem; }
.hero__note i { margin-top: 5px; color: var(--marigold); }

.shrine { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 4 / 5; }
.shrine__arch {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
  background: radial-gradient(ellipse at 50% 92%, rgba(232, 137, 42, .45), transparent 55%), linear-gradient(170deg, var(--kumkum-700), var(--kumkum-950) 78%);
  box-shadow: inset 0 0 0 10px var(--sandal-50), inset 0 0 0 11.5px var(--gold), 0 40px 70px -36px rgba(59, 10, 18, .7);
}
.shrine__mandala { position: absolute; left: 50%; top: 42%; width: 150%; aspect-ratio: 1; opacity: .3; translate: -50% -50%; background: url("../img/mandala.svg") center / contain no-repeat; animation: turn 140s linear infinite; }
.shrine__logo { position: absolute; left: 50%; top: 40%; width: 58%; aspect-ratio: 1; translate: -50% -50%; padding: 6%; border-radius: 50%; background: #fdf6e8; box-shadow: 0 0 0 5px rgba(233, 201, 131, .35), 0 20px 50px -10px rgba(0, 0, 0, .5); }
.shrine__logo img { width: 100%; height: 100%; object-fit: contain; }
.shrine__diya { position: absolute; left: 50%; bottom: 9%; width: 86px; translate: -50% 0; }
.shrine__caption { position: absolute; left: -28px; bottom: 34px; padding: 12px 18px; background: var(--sandal-50); border: 1px solid var(--rule); box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; rotate: -2deg; }
.shrine__caption strong { display: block; color: var(--kumkum-800); font: 700 1.15rem/1.1 var(--font-display); }
.shrine__caption span { color: var(--ink-faint); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* Diya */
.diya svg { width: 100%; height: auto; overflow: visible; }
.diya .flame { transform-origin: 50% 100%; animation: flicker 2.6s ease-in-out infinite; }
.diya .glow { animation: glow 2.6s ease-in-out infinite; }

/* Festival ribbon */
.ribbon { overflow: hidden; padding: 16px 0; color: var(--gold-soft); background: var(--kumkum-800); border-block: 1px solid rgba(233, 201, 131, .3); }
.ribbon__track { display: flex; width: max-content; animation: drift 60s linear infinite; }
.ribbon__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 1.35rem/1 var(--font-display); white-space: nowrap; }
.ribbon__track span::after { content: "✺"; color: var(--marigold); font-size: .8rem; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* Ways-in list (home) */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule-strong); }
.ways a { position: relative; display: grid; gap: 6px; padding: 30px 28px 30px 0; text-decoration: none; transition: background-color .3s; }
.ways a + a { padding-left: 28px; border-left: 1px solid var(--rule); }
.ways__num { color: var(--gold); font: 500 1rem/1 var(--font-display); font-style: italic; }
.ways strong { color: var(--kumkum-800); font: 600 1.6rem/1.15 var(--font-display); }
.ways small { color: var(--ink-faint); font-size: .95rem; }
.ways i { position: absolute; right: 22px; top: 32px; color: var(--marigold); transition: transform .3s var(--ease); }
.ways a:hover i { transform: translate(4px, -4px) rotate(-45deg); }
.ways a:hover strong { color: var(--kumkum-600); }

/* Two-column editorial */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
.sticky-head { position: sticky; top: 130px; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; }
.prose--dropcap > p:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; color: var(--kumkum-700); font: 600 4.2em/.8 "Cormorant Garamond", serif; }
html[lang="hi"] .prose--dropcap > p:first-of-type::first-letter, html[lang="gu"] .prose--dropcap > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; }

.notes { display: grid; gap: 0; }
.note { display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; padding: 26px 0; border-top: 1px solid var(--rule); }
.note:last-child { border-bottom: 1px solid var(--rule); }
.note__mark { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--kumkum-700); background: var(--sandal-200); font-size: 1.05rem; }
.band--tint .note__mark { background: #fff7e8; }
.note h3 { font-size: 1.55rem; }
html[lang="hi"] .note h3, html[lang="gu"] .note h3 { font-size: 1.25rem; }
.note p { color: var(--ink-soft); }

/* Arch-framed quote block */
.arch-quote { position: relative; padding: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 48px) 40px; text-align: center; border: 1px solid var(--gold); border-radius: 50% 50% 4px 4px / 22% 22% 4px 4px; background: rgba(255, 250, 240, .6); }
.arch-quote::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--rule); border-radius: inherit; pointer-events: none; }
.arch-quote img { width: 110px; height: 110px; margin: 0 auto 22px; object-fit: contain; }
.arch-quote p { color: var(--kumkum-800); font: 500 1.45rem/1.35 var(--font-display); font-style: italic; }
html[lang="hi"] .arch-quote p, html[lang="gu"] .arch-quote p { font-style: normal; font-size: 1.15rem; line-height: 1.7; }
.arch-quote small { display: block; margin-top: 18px; color: var(--ink-faint); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

/* Numbered temple-life rows */
.rows { counter-reset: row; }
.row-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: baseline; padding: 34px 0; border-top: 1px solid var(--rule-strong); }
.row-item:last-child { border-bottom: 1px solid var(--rule-strong); }
.row-item__num { color: var(--gold); font: 500 3.4rem/1 "Noto Serif Devanagari", serif; }
.row-item h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.row-item p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Events ---------- */
.event-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.poster { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sandal-200); box-shadow: 0 30px 60px -36px rgba(59, 10, 18, .6); rotate: -1.2deg; transition: rotate .5s var(--ease); }
.event-feature:hover .poster { rotate: 0deg; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster--date { display: grid; place-content: center; text-align: center; color: #fff4df; background: linear-gradient(160deg, var(--kumkum-700), var(--kumkum-900)); }
.poster--date span { font: 600 1rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.poster--date strong { font: 600 8rem/1 var(--font-display); }
.event-when { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--marigold-deep); font-weight: 700; }
.event-feature h3 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; color: var(--ink-soft); font-size: .98rem; }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta i { color: var(--gold); }

.event-list { display: grid; gap: 0; }
.event-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 26px 0; border-top: 1px solid var(--rule); }
.event-row:last-child { border-bottom: 1px solid var(--rule); }
.event-row__date { display: grid; place-items: center; width: 96px; height: 104px; border: 1px solid var(--rule-strong); border-radius: 50% 50% 3px 3px / 30% 30% 3px 3px; background: #fffaf1; text-align: center; }
.event-row__date strong { display: block; color: var(--kumkum-700); font: 600 2.4rem/1 var(--font-display); }
.event-row__date small { color: var(--ink-faint); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event-row__thumb { width: 96px; height: 104px; object-fit: cover; border-radius: 50% 50% 3px 3px / 30% 30% 3px 3px; }
.event-row h3 { font-size: 1.7rem; margin: 4px 0 6px; }
html[lang="hi"] .event-row h3, html[lang="gu"] .event-row h3 { font-size: 1.3rem; }
.event-row p { color: var(--ink-soft); margin-bottom: 6px; }
.event-row .event-when { margin: 0; font-size: .92rem; }
.event-row__actions { display: grid; gap: 8px; justify-items: end; }
.event-row--past { opacity: .82; }
.event-row--past .event-row__thumb { filter: saturate(.75); }
.pill { display: inline-block; padding: 4px 11px; border-radius: 99px; background: var(--sandal-200); color: var(--ink-soft); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.small-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: transparent; color: var(--kumkum-700); font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.small-btn:hover { background: #fff; border-color: var(--kumkum-700); }

.empty { padding: clamp(32px, 5vw, 52px); border: 1px dashed var(--rule-strong); border-radius: 6px; text-align: center; color: var(--ink-soft); background: rgba(255, 250, 240, .55); }
.empty > i { display: block; margin-bottom: 14px; color: var(--gold); font-size: 1.6rem; }
.empty p { max-width: 52ch; margin-inline: auto; }
.empty .btn-row { justify-content: center; margin-top: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(70px, 8vw, 110px); color: #f6e9d3; background: var(--kumkum-900); --scallop: var(--sandal-50); }
.page-hero::before { content: ""; position: absolute; width: 760px; aspect-ratio: 1; right: -220px; top: 50%; translate: 0 -50%; opacity: .14; background: url("../img/mandala.svg") center / contain no-repeat; animation: turn 180s linear infinite; }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; color: #d8c09a; font-size: .86rem; }
.crumbs a { color: #f4e3c2; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-size: .6rem; opacity: .6; }
.page-hero h1 { max-width: 16ch; color: #fff4df; }
html[lang="hi"] .page-hero h1, html[lang="gu"] .page-hero h1 { max-width: 22ch; }
.page-hero h1 em { color: var(--gold-soft); font-weight: 500; }
.page-hero .lede { margin-top: 22px; color: #e6d2b0; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero--shiva { background: #1d2740; }
.page-hero--shiva h1 em { color: #c8d3ea; }

/* ---------- About ---------- */
.mission { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 80px); }
.mission .prose p { font-size: 1.12rem; }
.grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule-strong); }
.grid-list article { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--rule); }
.grid-list article:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.grid-list i { color: var(--marigold); font-size: 1.1rem; }
.grid-list h3 { margin: 14px 0 8px; font-size: 1.55rem; }
html[lang="hi"] .grid-list h3, html[lang="gu"] .grid-list h3 { font-size: 1.2rem; }
.grid-list p { color: var(--ink-soft); }

.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.principle { position: relative; padding: 34px 20px 30px; text-align: center; background: #fffaf1; border: 1px solid var(--rule); border-radius: 50% 50% 4px 4px / 20% 20% 4px 4px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.principle span { display: block; margin-bottom: 10px; color: var(--gold); font: 500 1.2rem/1 "Noto Serif Devanagari", serif; }
.principle h3 { font-size: 1.8rem; margin-bottom: 8px; }
html[lang="hi"] .principle h3, html[lang="gu"] .principle h3 { font-size: 1.3rem; }
.principle p { color: var(--ink-soft); font-size: .97rem; line-height: 1.55; }

.closing { max-width: 760px; margin: 0 auto; text-align: center; }
.closing .title-lg { margin-bottom: 18px; }
.closing p { color: var(--ink-soft); font-size: 1.12rem; }
.closing .signoff { display: block; margin-top: 22px; color: var(--kumkum-700); font: 600 1.7rem/1.2 var(--font-display); font-style: italic; }
html[lang="hi"] .closing .signoff, html[lang="gu"] .closing .signoff { font-style: normal; font-size: 1.35rem; }

/* ---------- Shivalaya ---------- */
body[data-page="shivalaya"] { --accent-cool: #24324f; }
.shiva-art { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #2b3a5c 0%, #1a2238 70%); box-shadow: 0 0 0 10px var(--sandal-50), 0 0 0 11.5px #8a99b8, 0 40px 70px -40px rgba(20, 28, 50, .8); }
.shiva-art::before { content: ""; position: absolute; inset: 6%; opacity: .25; background: url("../img/mandala.svg") center / contain no-repeat; animation: turn 160s linear infinite reverse; }
.shiva-art span { position: relative; color: #e9eefb; font: 500 7.5rem/1 "Noto Serif Devanagari", serif; text-shadow: 0 0 40px rgba(180, 200, 255, .45); }
.shiva-art small { position: absolute; bottom: 20%; color: #b9c5e0; font: 500 1.1rem/1 "Noto Serif Devanagari", serif; letter-spacing: .1em; }
.service-list { columns: 2; column-gap: 56px; }
.service { break-inside: avoid; display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.service i { grid-row: span 2; margin-top: 6px; color: #3c4f78; font-size: 1.1rem; }
.service h3 { font-size: 1.5rem; }
html[lang="hi"] .service h3, html[lang="gu"] .service h3 { font-size: 1.2rem; }
.service p { color: var(--ink-soft); }
.blessing { margin: 32px auto 0; max-width: 640px; padding: 26px 30px; border-left: 3px solid var(--gold); background: rgba(255, 250, 240, .7); color: var(--kumkum-800); font: 500 1.35rem/1.45 var(--font-display); font-style: italic; text-align: left; }
html[lang="hi"] .blessing, html[lang="gu"] .blessing { font-style: normal; font-size: 1.1rem; line-height: 1.75; }
.band--shiva { color: #dfe5f3; background: #1d2740; }
.band--shiva h2 { color: #f2f5fc; }
.band--shiva .kicker { color: #aebbd8; }
.band--shiva p { color: #cfd7ea; }

/* ---------- Schedule / visitor ---------- */
.confirm { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 34px; align-items: center; padding: clamp(28px, 5vw, 52px); background: #fffaf1; border: 1px solid var(--rule); border-left: 4px solid var(--marigold); }
.confirm .btn-row { margin-top: 0; flex-direction: column; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 46px; }
.tip i { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; color: var(--kumkum-700); background: var(--sandal-200); }
.tip h3 { margin-bottom: 6px; font-size: 1.45rem; }
html[lang="hi"] .tip h3, html[lang="gu"] .tip h3 { font-size: 1.15rem; }
.tip p { color: var(--ink-soft); }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { max-width: 20ch; font-size: clamp(2rem, 4vw, 3rem); }
.cta p { max-width: 54ch; margin-top: 12px; }
.cta .btn-row { margin-top: 0; }

/* ---------- Pooja ---------- */
.seva-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seva-card { padding: 30px 28px 26px; background: #fffaf1; border: 1px solid var(--rule); position: relative; }
.seva-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184, 134, 47, .25); pointer-events: none; }
.seva-card header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--rule-strong); }
.seva-card header i { color: var(--marigold); }
.seva-card h3 { font-size: 1.6rem; }
html[lang="hi"] .seva-card h3, html[lang="gu"] .seva-card h3 { font-size: 1.25rem; }
.seva-card ul { list-style: none; margin: 0; padding: 0; }
.seva-card li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; color: var(--ink-soft); }
.seva-card li::after { content: ""; flex: 1; order: 2; border-bottom: 1px dotted var(--sandal-300); }
.seva-card li::before { content: "✦"; order: 3; color: var(--gold); font-size: .6rem; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.direct { display: grid; gap: 10px; margin-top: 26px; }
.direct a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--rule); background: #fffaf1; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.direct a:hover { border-color: var(--kumkum-700); transform: translateX(3px); }
.direct i { color: var(--kumkum-700); width: 18px; text-align: center; }
.form { padding: clamp(24px, 4vw, 40px); background: #fffdf8; border: 1px solid var(--rule); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--kumkum-800); font-size: .9rem; font-weight: 700; }
.field label .req { color: var(--marigold-deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--sandal-300); border-radius: 4px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--kumkum-700); box-shadow: 0 0 0 3px rgba(122, 22, 34, .12); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b42318; }
.form .btn-row { margin-top: 24px; }
.form-note { margin-top: 16px; color: var(--ink-faint); font-size: .9rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 9px 18px; border: 1px solid var(--rule-strong); border-radius: 99px; background: transparent; font-size: .92rem; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
.filters button:hover { border-color: var(--kumkum-700); color: var(--kumkum-700); }
.filters button[aria-pressed="true"] { color: #fff; border-color: var(--kumkum-700); background: var(--kumkum-700); }
.masonry { columns: 3 280px; column-gap: 18px; }
.photo { position: relative; break-inside: avoid; margin: 0 0 18px; overflow: hidden; background: var(--sandal-200); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; text-align: left; }
.photo img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(30, 6, 10, .78)); transform: translateY(8px); opacity: 0; transition: opacity .35s, transform .35s var(--ease); }
.photo:hover figcaption, .photo:focus-visible figcaption { opacity: 1; transform: none; }
.photo figcaption small { display: block; color: var(--gold-soft); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.photo figcaption strong { font: 600 1.25rem/1.2 var(--font-display); }
.photo.is-hidden { display: none; }
.more { display: flex; justify-content: center; margin-top: 18px; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; background: rgba(22, 5, 8, .94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; grid-column: 2; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: #f1e2c6; text-align: center; font-family: var(--font-display); font-size: 1.3rem; }
.lightbox button { width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__prev { grid-column: 1; justify-self: center; }
.lightbox__next { grid-column: 3; justify-self: center; }

.social-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.social-row h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.social-row p { color: var(--ink-soft); }
.socials { display: flex; gap: 10px; }
.socials a { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--rule-strong); border-radius: 50%; color: var(--kumkum-700); text-decoration: none; transition: all .25s var(--ease); }
.socials a:hover { color: #fff; background: var(--kumkum-700); border-color: var(--kumkum-700); transform: translateY(-2px); }

/* ---------- Donate ---------- */
.give { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); overflow: hidden; background: var(--kumkum-900); color: #f3e3c7; box-shadow: 0 40px 80px -50px rgba(59, 10, 18, .9); }
.give__main { position: relative; padding: clamp(32px, 5vw, 60px); }
.give__main::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; left: -140px; bottom: -200px; opacity: .1; background: url("../img/mandala.svg") center / contain no-repeat; }
.give__main > * { position: relative; }
.give h2 { color: #fff4df; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.give p { color: #e3cfad; }
.give__side { display: grid; align-content: center; gap: 0; padding: clamp(26px, 4vw, 44px); background: rgba(0, 0, 0, .18); }
.give__method { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 18px 0; border-bottom: 1px solid rgba(233, 201, 131, .18); }
.give__method:last-child { border-bottom: 0; }
.give__method i { grid-row: span 2; margin-top: 5px; color: var(--haldi); }
.give__method h3 { color: #fff4df; font-size: 1.3rem; }
.give__method p { font-size: .96rem; }
.taxbox { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--rule-strong); background: #fffaf1; }
.taxbox > i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--peacock); background: rgba(20, 92, 88, .1); font-size: 1.15rem; }
.taxbox strong { display: block; margin-top: 10px; color: var(--peacock); }

/* ---------- Contact ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule-strong); background: #fffaf1; }
.contact-strip > * { display: grid; gap: 6px; padding: 28px; text-decoration: none; transition: background-color .25s; }
.contact-strip > * + * { border-left: 1px solid var(--rule); }
.contact-strip a:hover { background: #fff; }
.contact-strip i { color: var(--marigold); font-size: 1.2rem; margin-bottom: 4px; }
.contact-strip small { color: var(--ink-faint); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="hi"] .contact-strip small, html[lang="gu"] .contact-strip small { letter-spacing: 0; font-size: .88rem; }
.contact-strip strong { color: var(--kumkum-800); font: 600 1.3rem/1.3 var(--font-display); overflow-wrap: anywhere; }
.map { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 0; border: 1px solid var(--rule); background: #fffaf1; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: sepia(.18) saturate(.9); }
.map__copy { padding: clamp(26px, 4vw, 44px); align-self: center; }
.map__copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.map__copy p { color: var(--ink-soft); }
.aside-card { padding: 28px; background: #fffaf1; border: 1px solid var(--rule); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card i.fa-circle-info { color: var(--marigold); font-size: 1.2rem; }
.aside-card h3 { margin: 10px 0 8px; font-size: 1.5rem; }
.aside-card p { color: var(--ink-soft); }
.aside-card a.phone { color: var(--kumkum-700); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: #e2cfad; background: var(--kumkum-950); --scallop: var(--kumkum-950); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: radial-gradient(circle at 12px 14px, var(--kumkum-950) 11.5px, transparent 12px) 0 0 / 24px 14px repeat-x; }
.footer-sign { padding: clamp(56px, 7vw, 84px) 0 40px; border-bottom: 1px solid rgba(233, 201, 131, .14); text-align: center; }
.footer-sign p { margin: 0; color: var(--gold-soft); font: 500 clamp(2rem, 5vw, 3.6rem)/1.1 var(--font-display); font-style: italic; }
html[lang="hi"] .footer-sign p, html[lang="gu"] .footer-sign p { font-style: normal; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.4; }
.footer-sign small { display: block; margin-top: 12px; color: #b79b78; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 52px 0; }
.site-footer .brand__name strong { color: #fff4df; }
.site-footer .brand__name small { color: #b79b78; }
.site-footer .brand img { background: #fdf6e8; border-radius: 50%; padding: 3px; }
.footer-grid > div > p { margin-top: 18px; font-size: .97rem; color: #cdb592; }
.footer-title { margin-bottom: 16px; color: #fff4df; font: 600 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
html[lang="hi"] .footer-title, html[lang="gu"] .footer-title { letter-spacing: 0; font-size: .95rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-contact a { color: #e2cfad; text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; font-size: .97rem; }
.footer-contact div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact i { margin-top: 6px; color: var(--haldi); font-size: .85rem; }
.site-footer .socials a { color: var(--gold-soft); border-color: rgba(233, 201, 131, .3); }
.site-footer .socials a:hover { color: var(--kumkum-950); background: var(--gold-soft); border-color: var(--gold-soft); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 22px 0 30px; border-top: 1px solid rgba(233, 201, 131, .14); color: #a88d6c; font-size: .86rem; }
.footer-base p { margin: 0; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--kumkum-700); box-shadow: 0 12px 26px -10px rgba(59, 10, 18, .7); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--kumkum-800); }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .diya { width: 110px; margin: 0 auto 26px; }
.lost h1 { margin-bottom: 14px; }
.lost p { color: var(--ink-soft); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .draw path, .draw.is-in path { animation: draw 2.4s var(--ease) forwards; }
main { animation: pagein .6s var(--ease) both; }
body.is-leaving main { opacity: 0; transform: translateY(-6px); transition: opacity .22s, transform .22s; }

@keyframes turn { to { rotate: 360deg; } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes sway { from { transform: rotate(-.25deg) translateY(0); } to { transform: rotate(.25deg) translateY(1px); } }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) rotate(-1deg); } 25% { transform: scale(.94, 1.06) rotate(2deg); } 50% { transform: scale(1.04, .96) rotate(-2deg); } 75% { transform: scale(.97, 1.04) rotate(1deg); } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: .85; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { font-size: .86rem; }
  .brand__name small { display: none; }
}
@media (max-width: 1080px) {
  .burger { display: inline-block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 110px var(--gutter) 40px; background: var(--sandal-50) var(--paper); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .55s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
  .nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--kumkum-800); font: 600 1.7rem/1.2 var(--font-display); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease); }
  html[lang="hi"] .nav a, html[lang="gu"] .nav a { font-size: 1.35rem; }
  .nav.is-open a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .04s); }
  .nav a::after { display: none; }
  .nav__num { display: inline; color: var(--gold); font: 500 .95rem/1 var(--font-body); }
  .nav a.nav__donate { margin-top: 18px; justify-content: center; padding: 16px; color: #fff; font: 600 1.05rem/1 var(--font-body); }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--sandal-50); }
  .brand, .header-tools { position: relative; z-index: 2; }
}
@media (max-width: 960px) {
  .hero__grid, .split, .split--even, .mission, .event-feature, .form-wrap, .give, .map { grid-template-columns: 1fr; }
  .shrine { width: min(100%, 360px); }
  .sticky-head { position: static; }
  .row-item { grid-template-columns: 70px 1fr; }
  .row-item p { grid-column: 2; }
  .row-item__num { font-size: 2.6rem; grid-row: span 2; }
  .grid-list, .seva-board, .tips { grid-template-columns: 1fr 1fr; }
  .grid-list article:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .grid-list article:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-list { columns: 1; }
  .confirm { grid-template-columns: 1fr; }
  .confirm .btn-row { flex-direction: row; }
  .poster { max-width: 420px; }
  .map iframe { min-height: 320px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topstrip__greet, .topstrip__links .topstrip__hide { display: none; }
  .topstrip .wrap { justify-content: center; }
  .topstrip__links { gap: 16px; font-size: .8rem; }
  .topstrip__links a { white-space: nowrap; }
  .shrine { width: min(100%, 300px); }
  .row-item { grid-template-columns: 48px 1fr; gap: 6px 14px; }
  .row-item__num { font-size: 2rem; }
  .ways { grid-template-columns: 1fr; }
  .ways a, .ways a + a { padding: 24px 40px 24px 0; border-left: 0; }
  .ways a + a { border-top: 1px solid var(--rule); }
  .grid-list, .seva-board, .tips, .form-grid, .contact-strip { grid-template-columns: 1fr; }
  .grid-list article:nth-child(even) { padding-left: 0; border-left: 0; }
  .contact-strip > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:last-child { grid-column: 1 / -1; }
  .event-row { grid-template-columns: 72px 1fr; gap: 18px; }
  .event-row__date, .event-row__thumb { width: 72px; height: 80px; }
  .event-row__date strong { font-size: 1.9rem; }
  .event-row__actions { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; }
  .shrine__caption { left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { grid-template-columns: 1fr 1fr; padding: 70px 14px 24px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-column: 1; grid-row: 2; margin-top: 16px; }
  .lightbox__next { grid-column: 2; grid-row: 2; margin-top: 16px; }
  .brand img { width: 46px; height: 46px; }
  .brand__name strong { font-size: 1.18rem; }
  .lang__btn span { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta .btn-row { width: 100%; }
}
@media (max-width: 380px) {
  .brand__name strong { font-size: 1.02rem; }
  .principles { grid-template-columns: 1fr; }
}
@media print {
  .topstrip, .site-header, .toran, .ribbon, .to-top, .site-footer, .lightbox { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; }
}

/* Text on dark bands */
.band--deep .prose p { color: #ead9bd; }
.band--shiva .prose p { color: #cfd7ea; }
.poster:not(.poster--date) { aspect-ratio: auto; }
.poster:not(.poster--date) img { height: auto; }
@media (max-width: 720px) { .masonry { columns: 2; column-gap: 10px; } .photo { margin-bottom: 10px; } .photo figcaption { display: none; } }
@media (max-width: 1080px) { .nav a.nav__donate { order: 99; } .nav a.nav__donate .nav__num { display: none; } }
[hidden] { display: none !important; }
html[lang="hi"] em, html[lang="gu"] em { font-style: normal; }
