/* FlowLogicX theme: fraser_valley. Mobile first. Order-independent blocks. */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");
:root { --kumkum: #b3122e; --kumkum-dark: #8c0d23; --purple: #783c93; --purple-deep: #4a2c74; --navy: #262262; --purple-dark: #1e1a4f; --saffron: #f08a24; --marigold: #e9a81e; --gold-soft: #f6d98b; --cream: #fff8ec; --cream-2: #fbeeda; --sand: #f5e3c6; --ink: #2b1a12; --ink-soft: #5a4334; --line: #ead3ad; --white: #ffffff; --font-head: "Marcellus", "Cormorant Garamond", Georgia, serif; --font-body: "Poppins", "Segoe UI", system-ui, sans-serif; --font-accent: var(--font-head); --radius: 18px; --radius-sm: 10px; --shadow: 0 10px 30px -14px rgba(75, 28, 94, 0.35); --gap: clamp(1rem, 3vw, 2rem); --section-y: clamp(3rem, 7vw, 6rem); --toran-h: 36px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream) linear-gradient(180deg, #efe3f5 0, #f6e9f0 360px, #fbeeda 760px, var(--cream) 1100px) no-repeat; color: var(--ink); font-family: var(--font-body); line-height: 1.7; overflow-x: hidden; font-size: 1.125rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kumkum); text-underline-offset: 3px; }
a:hover { color: var(--kumkum-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* ---------- scaffold ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }
.section.spacing--compact { padding-top: calc(var(--section-y) * 0.55); padding-bottom: calc(var(--section-y) * 0.55); }
.section.spacing--spacious { padding-top: calc(var(--section-y) * 1.1); padding-bottom: calc(var(--section-y) * 1.1); }
.section.highlight { background: var(--cream-2); }
.grid-no-hover .deity-card:hover, .grid-no-hover .service-card__link:hover, .grid-no-hover .event-card__link:hover { transform: none; box-shadow: none; }
/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--font-body); font-weight: 600; color: var(--kumkum); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
.section-head .section-title::after { content: ""; display: block; width: 180px; height: 24px; margin-top: 0.6rem; background: url("/assets/rangoli-divider.938014065248.svg") no-repeat left center / contain; }
.section-head--center .section-title::after { margin-inline: auto; background-position: center; }
.section-intro, .lead { color: var(--ink-soft); font-size: 1.125rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1em; }
.prose > :last-child { margin-bottom: 0; }
.section-foot { margin-top: 2rem; text-align: center; }
.section-foot:empty { display: none; }
/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0.65rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: 600 0.95rem/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn--primary { background: var(--kumkum); color: var(--white); }
.btn--primary:hover { background: var(--kumkum-dark); color: var(--white); }
.btn--outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--ghost { padding-inline: 0; padding: 0.65rem 1.5rem; min-height: 48px; border-color: var(--kumkum); color: var(--kumkum); background: transparent; margin-top: 1.75rem; }
.btn--ghost:hover { color: var(--kumkum-dark); }
.btn--light { background: var(--cream); color: var(--purple-dark); }
.btn--light:hover { background: var(--white); color: var(--kumkum-dark); }
.btn--gold { background: var(--marigold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0.5rem 1.25rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }
/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: transparent; }
.topbar { background: transparent; color: var(--ink); font-size: 0.875rem; border-bottom: 1px solid rgba(120, 60, 147, 0.18); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.4rem; }
.topbar__item { margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.topbar__hours { display: none; }
.topbar__item a { color: var(--ink); text-decoration: none; }
.topbar__item a:hover { color: var(--kumkum); }
.topbar .fa-solid { color: var(--kumkum); }
.topbar__item:first-child { display: none; }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; position: relative; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; }
.brand__logo { width: auto; height: 48px; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-head); font-size: 1.25rem; color: var(--kumkum); line-height: 1.15; }
.brand__sub { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.3; }
.toran { height: 28px; background: url("/assets/toran.ca4099ae0688.svg") repeat-x left top / auto 28px; margin-bottom: -28px; position: relative; pointer-events: none; }
.nav--desktop { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; list-style: none; }
.nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0.4rem 0.7rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: 999px; }
.nav__link:hover { color: var(--kumkum); background: var(--cream-2); }
.nav__caret { font-size: 0.7rem; }
.nav__sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 5; }
.nav__item--parent:hover > .nav__sub, .nav__item--parent:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__subitem { list-style: none; }
.nav__sublink { display: block; color: var(--ink); text-decoration: none; border-radius: 8px; padding: 0.35rem 0.75rem; line-height: 1.4; font-size: 0.9rem; font-weight: 500; }
.nav__sublink:hover { background: var(--cream-2); color: var(--kumkum); }
.nav__item--button { margin-left: 0.5rem; }
.nav__item--button .btn { color: var(--white); }
.drawer { position: static; }
.drawer__toggle { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4rem 1rem; border: 2px solid var(--purple); border-radius: 999px; color: var(--purple); font-weight: 700; cursor: pointer; }
.drawer__toggle::-webkit-details-marker { display: none; }
.drawer[open] .drawer__toggle { background: var(--purple); color: var(--white); }
.drawer__panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 120px); overflow-y: auto; background: var(--cream); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; z-index: 60; }
.drawer__list, .drawer__buttons { list-style: none; }
.drawer__list .nav__item { border-bottom: 1px solid var(--line); }
.drawer__list .nav__link { font-size: 1.125rem; min-height: 40px; padding-block: 0.25rem; display: flex; width: 100%; padding-inline: 0.75rem; border-radius: 8px; }
.drawer__list .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0.5rem 1rem; min-width: 0; }
.drawer__buttons { margin-top: 1rem; }
.drawer__buttons .nav__item--button { margin: 0; }
.drawer__buttons .btn { width: 100%; }
/* ---------- hero ---------- */
.hero { overflow: hidden; background: transparent; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; left: -330px; bottom: -330px; background: url("/assets/om-ring.5852406da3c8.webp") no-repeat center / contain; pointer-events: none; display: none; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4rem); line-height: 1.08; color: var(--navy); }
.hero__intro { font-size: 1.1875rem; color: var(--ink-soft); max-width: 34rem; }
.hero__hours { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.6rem; margin: 1.25rem 0 1.5rem; padding: 0.6rem 1.1rem; border-radius: 16px; background: var(--white); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.hero__hours .fa-clock { color: var(--kumkum); }
.hero__hours-label { font-weight: 700; color: var(--navy); }
.hero__media { width: 100%; }
/* darshan photo: full-height panel that dissolves into the background. Never under text.
   Kept at 16:9 so the group darshan is never cropped at the sides; fades sit over garlands and floor only. */
.section.hero { padding-bottom: 0; }
.arch-frame { position: relative; margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); }
.arch-frame__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%); }
/* ---------- hours list (business_hours setting) ---------- */
.hours { margin: 0; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; }
.hours--inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1rem; font-size: 0.95rem; flex-basis: 100%; }
.hours--inline .hours__row { gap: 0.5rem; justify-content: flex-start; }
.hours--inline.hours--today-picked { display: block; flex-basis: auto; font-size: 1rem; }
.hours--inline.hours--today-picked .hours__row { display: none; }
.hours--inline.hours--today-picked .hours__row.is-today { display: flex; }
.hours--inline dt { color: var(--ink-soft); }
.hours--compact { font-size: 0.95rem; width: 100%; }
.hours--compact .hours__row { display: grid; grid-template-columns: 7.5rem 1fr; justify-content: start; padding-block: 0.1rem; }
.hours .is-today { color: var(--kumkum); font-weight: 700; }
.site-footer .hours .is-today, .contact-card .hours .is-today { color: var(--marigold); }
.hours--table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 1.25rem; box-shadow: var(--shadow); }
.hours--table .hours__row { padding-block: 0.75rem; border-bottom: 1px dashed var(--line); font-size: 1.0625rem; }
.hours--table .hours__row:last-child { border-bottom: 0; }
/* ---------- page hero ---------- */
.page-hero { padding-top: calc(var(--section-y) * 0.9); padding-bottom: calc(var(--section-y) * 0.7 + 24px); background: linear-gradient(115deg, var(--navy), var(--purple-deep) 55%, var(--purple)); color: var(--cream); overflow: hidden; background-image: url("/assets/mandala-tile.0f84acf6d30d.svg"), linear-gradient(115deg, var(--navy), var(--purple-deep) 55%, var(--purple)); background-size: 120px 120px, auto; background-blend-mode: soft-light, normal; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: url("/assets/petal-white.38722a13bcac.webp") repeat-x center bottom / auto 26px; opacity: 0.35; pointer-events: none; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -150px; background: url("/assets/om-ring-white.e876de65660e.webp") no-repeat center / contain; pointer-events: none; }
.page-hero__inner { max-width: 44rem; position: relative; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero__title { font-size: clamp(2rem, 6vw, 3.25rem); }
.page-hero .page-hero__title { color: var(--white); }
.page-hero__intro { font-size: 1.1875rem; color: var(--cream-2); margin: 0; }
/* ---------- split ---------- */
.split { padding: 0; }
.split .tone-plain, .split .tone-highlight { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.split .tone-highlight { background: var(--cream-2); }
.split__inner > .image-right, .split__inner > .image-left { display: grid; gap: 2rem; align-items: center; }
.split__media { position: relative; }
.split__media::before { content: ""; position: absolute; width: 110px; height: 66px; left: -18px; bottom: -26px; background: url("/assets/lotus.62f33f4ff4b3.svg") no-repeat center / contain; z-index: 1; }
.framed { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white); outline: 2px solid var(--marigold); box-shadow: var(--shadow); }
/* ---------- deities ---------- */
.deity-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.deity-card { text-align: center; }
.shrine { padding: 8px; border-radius: 999px 999px 14px 14px; margin-bottom: 0.9rem; background: linear-gradient(180deg, var(--marigold), var(--saffron)); box-shadow: var(--shadow); }
.shrine__img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 999px 999px 9px 9px; background: radial-gradient(circle at 50% 30%, var(--purple-deep), var(--purple-dark)); }
.deity-card__name { font-size: 1.25rem; margin-bottom: 0.3rem; color: var(--kumkum); }
.deity-card__text { font-size: 0.975rem; color: var(--ink-soft); }
/* ---------- events ---------- */
.event-grid { list-style: none; display: grid; gap: 1.5rem; align-items: stretch; }
.event-card { list-style: none; display: flex; }
.event-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; flex: 1; }
.event-card__link:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.event-card__poster { aspect-ratio: 4 / 3; overflow: hidden; background: var(--purple-dark); }
.event-card__img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 1.25rem 1.25rem 1.5rem; position: relative; }
.date-badge { display: inline-block; font-weight: 700; font-size: 0.9375rem; background: var(--saffron); color: var(--ink); padding: 0.2rem 0.8rem; border-radius: 999px; margin-bottom: 0.75rem; }
.event-card__title { font-size: 1.35rem; margin-bottom: 0.35rem; }
.event-card__time { color: var(--ink-soft); font-weight: 500; margin-bottom: 0.5rem; display: flex; gap: 0.4rem; align-items: center; }
.event-card__text { color: var(--ink-soft); margin: 0; }
/* ---------- services ---------- */
.service-groups { margin: -0.75rem 0 2rem; color: var(--ink-soft); }
.services .section-head { max-width: none; }
.service-groups strong { color: var(--purple); }
.service-grid { list-style: none; display: grid; gap: 1rem; }
.service-card__link { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.service-card__link:hover { color: var(--ink); border-color: var(--marigold); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__title { margin: 0.25rem 0 0; color: var(--white); font-size: 1.35rem; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.45s ease, -webkit-text-stroke-width 0.45s ease, text-shadow 0.45s ease; -webkit-text-stroke: 0.55px currentColor; paint-order: stroke fill; }
.service-card__text { margin: 0; flex: 1; color: rgba(239, 228, 247, 0.88); }
.service-card__more { display: inline-flex; gap: 0.4rem; align-items: center; color: var(--gold-soft); margin-top: 0.4rem; font-weight: 400; font-size: 0.875rem; letter-spacing: 0.02em; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--kumkum); font-size: 1.3rem; flex: none; background: url("/assets/emblem.314e29d8c85b.webp") no-repeat center / 100% 100%; border: 0; box-shadow: 0 4px 12px -6px rgba(74, 44, 116, 0.55); }
.icon-badge--lg { width: 72px; height: 72px; font-size: 1.8rem; }
/* ---------- service detail ---------- */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 700; text-decoration: none; margin-bottom: 1rem; }
.service-detail__head { max-width: 44rem; margin-bottom: 2rem; }
.service-detail__head .icon-badge { margin-bottom: 1rem; }
.service-detail__grid { display: grid; gap: 2rem; align-items: start; }
.prose--detail h2 { color: var(--kumkum); font-size: 1.3rem; margin-top: 1.4em; }
.prose--detail h2:first-child { margin-top: 0; }
.service-detail__aside { display: grid; gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card--cta { background: var(--cream-2); }
.card__title { font-size: 1.4rem; }
/* ---------- donate ---------- */
.donate-grid { display: grid; gap: 1.5rem; max-width: 980px; margin-inline: auto; }
.donate-card { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 2rem 1.5rem 1.75rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.donate-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--kumkum); }
.donate-card--meals::before, .donate-grid > .donate-card:nth-child(even)::before { background: var(--saffron); }
.donate-card--meals .icon-badge, .donate-grid > .donate-card:nth-child(even) .icon-badge { color: var(--purple); }
.donate-card__title { font-size: 1.6rem; margin: 0.5rem 0 0; color: var(--white); -webkit-text-stroke: 0.55px currentColor; paint-order: stroke fill; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.donate-card .btn { margin-top: auto; }
.tick-list ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.tick-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.4rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%; background: var(--marigold); box-shadow: inset 0 0 0 4px var(--gold-soft); }
.offline-note { max-width: 980px; margin: 2rem auto 0; padding: 1.25rem 1.5rem; border: 2px dashed var(--marigold); border-radius: var(--radius); background: var(--cream); }
.offline-note__title { margin-bottom: 0.3rem; margin: 0; font-size: 1.35rem; -webkit-text-stroke: 0.5px currentColor; color: var(--white); grid-column: 2; }
/* ---------- CTA band ---------- */
.cta .tone-purple, .cta .tone-red, .cta .tone-saffron { position: relative; border-radius: var(--radius); overflow: hidden; }
.cta .tone-purple::after, .cta .tone-red::after, .cta .tone-saffron::after { content: ""; position: absolute; width: 440px; height: 440px; right: -130px; top: -60px; background: url("/assets/om-ring-white.e876de65660e.webp") no-repeat center / contain; pointer-events: none; }
.cta .tone-purple::before, .cta .tone-red::before, .cta .tone-saffron::before { content: ""; position: absolute; width: 360px; height: 360px; left: -150px; bottom: -170px; background: url("/assets/om-ring-white.e876de65660e.webp") no-repeat center / contain; pointer-events: none; z-index: 1; }
.cta .tone-purple::after, .cta .tone-red::after, .cta .tone-saffron::after { z-index: 1; }
.cta__panel { position: relative; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem); border-radius: var(--radius); text-align: center; overflow: hidden; }
.cta__panel::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 0.75rem; background: url("/assets/diya.2e91030af5f2.svg") no-repeat center / contain; }
.cta__panel::after { position: absolute; inset: 0 0 auto 0; height: 28px; background: url("/assets/toran.ca4099ae0688.svg") repeat-x left top / auto 28px; opacity: 0.9; content: none; }
.cta__title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.cta__text { max-width: 36rem; margin: 0 auto 1.5rem; font-size: 1.125rem; }
.tone-purple .cta__panel { background: linear-gradient(115deg, var(--navy), var(--purple-deep) 55%, var(--purple)); color: var(--cream); }
.tone-purple .cta__title { color: var(--white); }
.tone-purple .eyebrow { color: var(--gold-soft); }
.tone-red .cta__panel { background: var(--kumkum); color: var(--white); }
.tone-red .cta__title { color: var(--white); }
.tone-red .eyebrow { color: var(--gold-soft); }
.tone-red .cta__panel::before { filter: brightness(1.6) saturate(0.6); }
.tone-saffron .cta__panel { background: var(--saffron); color: var(--ink); }
.tone-saffron .cta__title { color: var(--purple-dark); }
.tone-saffron .eyebrow { color: var(--purple-dark); }
.tone-saffron .btn--light { background: var(--purple-dark); color: var(--white); }
.tone-saffron .btn--light:hover { background: var(--purple); color: var(--white); }
/* ---------- location / contact ---------- */
.location__grid, .contact__grid { display: grid; gap: 2rem; align-items: center; }
.contact__grid { align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0.9rem; margin-bottom: 1.75rem; }
.contact-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; }
.contact-list .fa-solid { color: var(--kumkum); margin-top: 0.35em; }
.contact-list a { color: inherit; }
.map-card { display: block; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--white); outline: 2px solid var(--marigold); box-shadow: var(--shadow); }
.map-card__img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform 0.3s; }
.map-card:hover .map-card__img { transform: scale(1.02); }
.contact-card { background: var(--purple-deep); color: var(--cream); border-radius: var(--radius); font-size: 0.95rem; padding: 1.5rem 1.35rem; }
.contact-card .contact-list { margin: 0; gap: 0.65rem; }
.contact-card .fa-solid { color: var(--marigold); }
.contact-card a { color: var(--white); }
/* ---------- hours page ---------- */
.hours-panel { max-width: 46rem; }
.notice { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.5rem 0 0; padding: 1rem 1.25rem; background: var(--cream-2); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.notice .fa-solid { color: var(--kumkum); margin-top: 0.3em; }
.notice__link { font-weight: 700; }
/* ---------- schedule ---------- */
.schedule { list-style: none; display: grid; gap: 0.75rem; max-width: 46rem; }
.schedule__row { display: grid; grid-template-columns: minmax(6.5rem, auto) 1fr; gap: 1rem; align-items: baseline; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.schedule__time { margin: 0; font-weight: 700; color: var(--kumkum); }
.schedule__name { margin: 0; font-weight: 500; font-size: 1.125rem; }
.schedule__note { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
/* ---------- features ---------- */
.feature-grid { list-style: none; display: grid; gap: 1rem; }
.feature { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature__title { font-size: 1.25rem; margin: 0.75rem 0 0.3rem; }
.feature p { color: var(--ink-soft); margin: 0; }
/* ---------- gallery ---------- */
.gallery { list-style: none; display: grid; gap: 1rem; }
.gallery__item { list-style: none; }
.gallery figure { margin: 0; }
.gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery__caption { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }
/* ---------- people ---------- */
.people-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.person { list-style: none; text-align: center; }
.person__photo { width: min(160px, 100%); margin: 0 auto 0.75rem; padding: 5px; border-radius: 50%; background: linear-gradient(160deg, var(--purple-deep), var(--purple) 55%, var(--marigold)); }
.person__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--cream); }
.person__name { font-size: 1.15rem; margin-bottom: 0.15rem; }
.person__role { color: var(--kumkum); font-weight: 700; margin-bottom: 0.4rem; }
.person__bio { color: var(--ink-soft); font-size: 0.95rem; }
.person--small .person__photo { width: min(120px, 100%); }
.term__head { text-align: center; margin-bottom: 2rem; }
.term__mark { margin: 0 auto 0.5rem; }
/* ---------- forms ---------- */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow); max-width: 860px; margin-inline: auto; }
.contact__grid .form-panel { margin: 0; max-width: none; }
.form-panel--split { display: grid; gap: 2rem; }
.form { display: grid; gap: 1.25rem; }
.form__grid { display: grid; gap: 1rem; }
.field__label { display: grid; gap: 0.35rem; font-weight: 500; }
.field__text { font-size: 0.975rem; }
.field__input { width: 100%; min-height: 48px; padding: 0.6rem 0.9rem; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid #c9ab82; border-radius: var(--radius-sm); }
textarea.field__input { min-height: 120px; resize: vertical; }
.field__input:focus { outline: 3px solid var(--gold-soft); border-color: var(--purple); }
.form .btn { justify-self: start; }
.form__success { padding: 1.25rem; background: var(--cream-2); border-radius: var(--radius-sm); border: 1px solid var(--marigold); text-align: center; }
.form__success-icon { margin: 0 auto 0.5rem; }
.form__success-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--purple); margin-bottom: 0.25rem; }
/* ---------- legal / 404 ---------- */
.legal { max-width: 46rem; }
.legal__updated { color: var(--ink-soft); }
.not-found { text-align: center; max-width: 36rem; margin-inline: auto; }
.not-found__mark { margin: 0 auto 1rem; }
/* ---------- footer ---------- */
.site-footer { color: var(--cream-2); margin-top: 0; position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 85% 20%, rgba(120, 60, 147, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(179, 18, 46, 0.18), transparent 70%),
    linear-gradient(180deg, #1e1a4f 0%, #241b56 55%, #1a1544 100%); isolation: isolate; }
.site-footer::before { width: 460px; height: 460px; right: -230px; top: 40px; content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("/assets/mandala-tile.0f84acf6d30d.svg") repeat 0 0 / 120px 120px; opacity: 0.1; }
.footer__grid, .footer__legal { position: relative; }
.brand__plate { display: inline-block; padding: 0.6rem 0.9rem; background: var(--cream); border-radius: 14px; }
.brand--footer { flex-direction: row; align-items: center; gap: 0.85rem; }
.brand--footer .brand__logo { height: 52px; }
.footer__skyline { margin-top: -1px; height: 112px; background: url("/assets/shikhara.923366821c54.svg?v=3") no-repeat center bottom / auto 112px, url("/assets/skyline-band.e6ff4cb43112.svg?v=2") repeat-x left bottom / auto 18px; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand, .footer__visit, .footer__newsletter { grid-column: 1 / -1; }
.footer__nav, .footer__cols { display: contents; }
.footer__col { list-style: none; }
.footer__links { list-style: none; display: grid; gap: 0; }
.footer__links li { list-style: none; }
.footer__heading { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--marigold); text-decoration: none; margin-bottom: 0.6rem; }
a.footer__heading:hover { color: var(--gold-soft); }
.footer__link { display: inline-block; padding-block: 0.3rem; color: var(--cream-2); text-decoration: none; }
.footer__link:hover { color: var(--white); text-decoration: underline; }
.brand--footer .brand__name { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; color: var(--white); max-width: 12ch; }
.brand--footer .brand__sub { color: var(--gold-soft); font-size: 0.82rem; }
.footer__about { margin-top: 1rem; max-width: 28rem; }
.footer__signature { font-family: var(--font-head); color: var(--marigold); font-size: 1.2rem; }
.footer__signature::before { content: ""; display: inline-block; width: 28px; height: 28px; margin-right: 0.5rem; vertical-align: -6px; background: url("/assets/om.7b3168d63333.svg") no-repeat center / contain; }
.footer__small { font-size: 0.95rem; }
.social { list-style: none; display: flex; gap: 0.6rem; }
.social li { list-style: none; }
.social__link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 248, 236, 0.1); color: var(--cream); font-size: 1.15rem; text-decoration: none; }
.social__link:hover { background: var(--marigold); color: var(--purple-dark); }
.contact-list--footer .fa-solid { color: var(--marigold); }
.contact-list--footer a { color: var(--cream-2); }
.form--footer .field__input { background: rgba(255, 248, 236, 0.08); border-color: rgba(246, 217, 139, 0.5); color: var(--white); }
.form--footer .field__label { color: var(--cream-2); }
.form--footer .form__success { background: rgba(255, 248, 236, 0.08); color: var(--cream); }
.form--footer .form__success-title { color: var(--gold-soft); }
.footer__legal { border-top: 1px solid rgba(246, 217, 139, 0.25); font-size: 0.9rem; }
.legal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.legal-bar__copy { margin: 0; }
.legal-bar__links { list-style: none; display: flex; gap: 1.25rem; }
.legal-bar__links li { list-style: none; }
.legal-bar__links a { color: var(--cream-2); display: inline-block; padding-block: 0.1rem; }
/* ---------- calendar (built by main.js) ---------- */
.event-list { list-style: none; display: grid; gap: 0.75rem; }
.event-list .event-card__link { flex-direction: row; }
.event-list .event-card__body { padding: 1rem 1.25rem; }
.event-list .date-badge { margin-bottom: 0.4rem; }
.cal-date { list-style: none; font-family: var(--font-head); color: var(--purple); font-size: 1.2rem; margin-top: 0.75rem; padding-bottom: 0.25rem; border-bottom: 2px solid var(--gold-soft); }
.cal-date:first-child { margin-top: 0; }
.cal-empty { padding: 1.25rem; text-align: center; background: var(--cream-2); border-radius: var(--radius-sm); color: var(--ink-soft); }
.cal-month { display: none; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-title { margin: 0; font-size: 1.6rem; }
.cal-nav { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple); background: transparent; color: var(--purple); cursor: pointer; font: inherit; font-size: 1.25rem; }
.cal-nav:hover { background: var(--purple); color: var(--white); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cal-dow { padding: 0.5rem; text-align: center; font-weight: 700; color: var(--white); background: var(--purple-deep); font-size: 0.9rem; }
.cal-cell { min-height: 110px; padding: 0.4rem 0.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-cell:nth-child(7n + 1) { border-left: 0; }
.cal-cell--out { background: var(--cream); color: #8a7462; }
.cal-cell--today { box-shadow: inset 0 0 0 2px var(--saffron); }
.cal-day { font-weight: 700; font-size: 0.9rem; }
.cal-event { display: block; margin-top: 0.25rem; padding: 0.2rem 0.4rem; border-radius: 6px; background: var(--kumkum); color: var(--white); font-size: 0.8rem; line-height: 1.3; text-decoration: none; }
.cal-event:hover { background: var(--kumkum-dark); color: var(--white); }
.cal-month .cal-empty { margin-top: 1rem; }
/* ---------- events by month / event detail ---------- */
.event-month { grid-column: 1 / -1; list-style: none; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); padding-bottom: 0.35rem; border-bottom: 2px solid var(--gold-soft); margin-top: 0.5rem; }
.event-month:first-child { margin-top: 0; }
.event-empty { grid-column: 1 / -1; list-style: none; padding: 1.25rem; text-align: center; background: var(--cream-2); border-radius: var(--radius-sm); color: var(--ink-soft); }
.event-detail__grid { display: grid; gap: 2rem; align-items: start; }
.framed--poster { aspect-ratio: 4 / 5; }
.date-badge--lg { font-size: 1.05rem; padding: 0.3rem 1rem; }
.event-detail__meta { margin: 0.5rem 0 1.5rem; }
.event-detail__info .prose { margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .event-detail__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
}
/* ---------- reveal (motion only when allowed) ---------- */
@keyframes om-turn { to { transform: rotate(360deg); } }
@keyframes om-breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: om-turn 120s linear infinite, om-breathe 8s ease-in-out infinite; will-change: transform; }
  .cta .tone-purple::after, .cta .tone-red::after, .cta .tone-saffron::after { animation: om-turn 150s linear infinite; }
  .cta .tone-purple::before, .cta .tone-red::before, .cta .tone-saffron::before { animation: om-turn 150s linear infinite reverse; }
  [data-reveal="pending"] { opacity: 0; transform: translateY(18px); }
  [data-reveal="shown"] { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* ---------- 600 px ---------- */
@media (min-width: 600px) {
  .topbar__item:first-child { display: flex; }
  .event-grid, .service-grid, .feature-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__grid--stack { grid-template-columns: 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ---------- 768 px ---------- */
@media (min-width: 768px) {
  .deity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .donate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__inner > .image-right, .split__inner > .image-left { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .split__inner > .image-left .split__media { order: -1; }
  .location__grid { grid-template-columns: 1fr 1.2fr; }
  .contact__grid { grid-template-columns: 1.5fr 1fr; }
  .service-detail__grid { grid-template-columns: 1.6fr 1fr; }
  .form-panel--split { grid-template-columns: 1fr 1fr; align-items: start; }
  .cal-month { display: block; }
  .calendar--js .event-list { display: none; }
}
/* ---------- 1024 px ---------- */
@media (min-width: 1024px) {
  .location .contact-list li { display: block; position: relative; }
  .location .contact-list li > .fa-solid { position: absolute; left: -1.9rem; top: 0.1em; margin: 0; }
  .hero__grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
  .section.hero { padding-top: 0; padding-bottom: 0; }
  .hero__copy { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
  .hero__title { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }
  .hero__media { width: auto; align-self: stretch; display: flex; align-items: center; }
  .arch-frame { margin-inline: 0; width: 100%; }
  .arch-frame__img { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%); mask-composite: intersect; }
  .site-header .brand__logo { height: 60px; }
  .service-grid, .feature-grid, .event-grid, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
  .footer__visit, .footer__newsletter { grid-column: span 2; }
}
/* ---------- 1200 px ---------- */
@media (min-width: 1200px) {
  .nav--desktop { display: block; }
  .drawer { display: none; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 0.6rem; }
  .brand__sub { white-space: nowrap; }
}
/* ---------- full-width hero (overrides the split layout above) ----------
   The darshan photo fills the whole width behind the copy; a left-weighted
   scrim keeps text readable while Mata Rani at the centre stays visible. */
.section.hero { position: relative; isolation: isolate; padding: 0; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; }
.hero .hero__grid { display: block; position: static; width: 100%; }
.hero .hero__copy { position: relative; z-index: 2; max-width: 36rem; padding-block: clamp(3rem, 8vw, 5rem); }
.hero .hero__media { position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; display: block; }
.hero .arch-frame { position: absolute; inset: 0; margin: 0; width: 100%; }
.hero .arch-frame__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: none; mask-image: none; border-radius: 0; }
.hero .hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 16, 58, 0.88) 0%, rgba(20, 16, 58, 0.72) 32%, rgba(20, 16, 58, 0.2) 62%, rgba(20, 16, 58, 0.05) 100%),
    linear-gradient(to top, rgba(20, 16, 58, 0.45), transparent 35%); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .hero__title { color: var(--white); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero .hero__intro { color: var(--cream); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.hero .btn--outline { border-color: var(--cream); color: var(--cream); }
.hero .btn--outline:hover { background: var(--cream); color: var(--purple-dark); }
@media (max-width: 1023px) {
  .section.hero { min-height: clamp(520px, 90vh, 720px); align-items: flex-end; }
  .hero .hero__media::after { background: linear-gradient(to top, rgba(20, 16, 58, 0.92) 0%, rgba(20, 16, 58, 0.78) 55%, rgba(20, 16, 58, 0.35) 100%); }
}
@media (min-width: 1024px) {
  /* keep Mata Rani clear of the headline: photo starts a little in from the left and fades into the navy */
  .hero .hero__media { background: #14103a; }
  .hero .arch-frame { left: 24%; }
  .hero .arch-frame__img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .hero .hero__copy { max-width: 33rem; }
  .hero .hero__media::after { background: linear-gradient(90deg, rgba(20, 16, 58, 0.9) 0%, rgba(20, 16, 58, 0.7) 30%, rgba(20, 16, 58, 0.15) 55%, rgba(20, 16, 58, 0) 100%),
      linear-gradient(to top, rgba(20, 16, 58, 0.4), transparent 30%); }
}
/* hero hours pill: frosted glass instead of solid white */
.hero .hero__hours { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .hero__hours .fa-clock { color: var(--gold-soft); }
.hero .hero__hours-label { color: var(--white); }
.hero .hero__hours dt { color: var(--cream); }
.hero .hero__hours dd { color: var(--gold-soft); }
.hero .hero__hours .is-today, .hero .hero__hours .is-today dd { color: var(--gold-soft); }
.hero .hero__hours .is-today dt { color: var(--cream); }
/* ---------- sticky header ----------
   The bar background lives on ::before and stops above the toran, so the
   garland hangs over the page with no strip behind it. */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: var(--toran-h, 28px); z-index: -1; pointer-events: none; background: rgba(241, 230, 244, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 18px -14px rgba(38, 34, 98, 0.45); transition: background-color 0.3s ease, box-shadow 0.3s ease, -webkit-backdrop-filter 0.3s ease, backdrop-filter 0.3s ease; }
.site-header .toran { height: var(--toran-h); background-size: auto var(--toran-h); margin-bottom: 0; filter: saturate(1.25) drop-shadow(0 2px 2px rgba(38, 34, 98, 0.35)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.6)); z-index: 1; }
@media (max-width: 767px) {
  :root { --toran-h: 30px; }
}
.site-header + main { margin-top: calc(-1 * var(--toran-h, 28px)); }
html { scroll-padding-top: 140px; scroll-behavior: smooth; }
/* glass effect once the page scrolls */
.site-header.is-scrolled::before { background: rgba(241, 230, 244, 0.84); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -18px rgba(38, 34, 98, 0.55); }
.site-header.is-scrolled .topbar { border-bottom-color: rgba(120, 60, 147, 0.12); }
/* ---------- festival animations (scheduled in main.js) ---------- */
.festival { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; }
.festival.is-on { opacity: 1; }
.festival.is-leaving { opacity: 0; }
.festival::before { content: ""; position: absolute; inset: 0; background: var(--festival-bg, rgba(12, 9, 34, 0.9)); }
.festival.is-flash::after { content: ""; position: absolute; inset: 0; background: rgba(255, 220, 140, 0.35); animation: festival-flash 0.5s ease-out forwards; }
.festival__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.festival__greeting { position: absolute; left: 50%; top: 18%; transform: translate(-50%, 12px); text-align: center; width: min(92vw, 40rem); opacity: 0; animation: festival-greet 1s ease-out 1.2s forwards; }
.festival--dussehra .festival__greeting, .festival--sankranti .festival__greeting { top: 8%; }
.festival__title { margin: 0; font-family: var(--font-head); font-size: clamp(2.2rem, 7vw, 4.5rem); color: var(--gold-soft); text-shadow: 0 0 24px rgba(240, 138, 36, 0.7), 0 2px 6px rgba(0, 0, 0, 0.5); line-height: 1.1; }
.festival__sub { margin: 0.4rem 0 0; color: var(--cream); font-size: clamp(1rem, 2.4vw, 1.25rem); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.festival__skip { position: absolute; right: 1rem; bottom: 1rem; pointer-events: auto; font: 600 0.9rem var(--font-body); color: var(--cream); background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.festival__skip:hover, .festival__skip:focus-visible { background: rgba(255, 255, 255, 0.28); }
/* light morning sky: dark lettering */
.festival--sankranti .festival__title { color: var(--navy); text-shadow: 0 0 18px rgba(255, 255, 255, 0.8); }
.festival--sankranti .festival__sub { color: var(--purple-dark); text-shadow: 0 0 10px rgba(255, 255, 255, 0.9); }
@keyframes festival-greet { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes festival-flash { to { opacity: 0; } }
/* ---------- larger reading text ----------
   Body copy was 16px; it is now 18px on phones and 19px from tablet up.
   Section intros and the smaller card/caption text scale up with it. */
.deity-card__text, .schedule__note, .gallery__caption, .person__bio, .field__text, .footer__small, .hours--inline, .hours--compact { font-size: 1.0625rem; }
@media (min-width: 768px) {
  body { font-size: 1.1875rem; }
  .section-intro, .lead { font-size: 1.1875rem; }
  .deity-card__text, .schedule__note, .gallery__caption, .person__bio, .field__text, .footer__small, .hours--inline, .hours--compact { font-size: 1.125rem; }
}
/* replay button shown on festival days */
.festival-play { position: fixed; bottom: 1rem; z-index: 90; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem 0.5rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; background: rgba(30, 26, 79, 0.42); color: var(--cream); font: 600 0.875rem var(--font-body); cursor: pointer; opacity: 0.6; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5); transition: opacity 0.25s ease, background-color 0.25s ease, transform 0.25s ease; right: 4.6rem; }
.festival-play svg { color: var(--gold-soft); }
.festival-play:hover, .festival-play:focus-visible { opacity: 1; background: rgba(30, 26, 79, 0.85); transform: translateY(-2px); }
.festival-play:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
/* "Read our story"-style links: a real outlined button with an arrow */
.btn--ghost > i { display: none; }
.btn--ghost::after { content: "\2192"; font-size: 1.1em; line-height: 1; transition: transform 0.2s; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--kumkum); color: var(--white); }
.btn--ghost:hover::after { transform: translateX(3px); }
.prose + .btn--ghost { margin-top: 1.75rem; }
/* footer skyline: illustrated mandir with lamp-lit arches over a lotus-scallop band */
@media (min-width: 768px) {
  .footer__skyline { height: 150px; background-size: auto 150px, auto 22px; }
}
/* footer: more breathing room on top, logo straight on the navy (no plate) */
.footer__grid { padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: 3rem; }
.brand--footer .brand__plate { padding: 0; background: none; border-radius: 0; flex: none; }
.brand--footer .brand__logo { height: 60px; filter: invert(1) hue-rotate(180deg) brightness(1.2); }
/* footer: fourth column with pujas, events, social links and a subscribe button */
.footer__heading--spaced { margin-top: 1.6rem; }
.social--labelled { flex-direction: column; gap: 0.45rem; padding: 0; margin: 0 0 1.5rem; }
.social--labelled .social__link { width: auto; height: auto; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0; background: none; border-radius: 0; color: var(--cream-2); font-size: 0.92em; padding-block: 0.15rem; line-height: 1.3; }
.social--labelled .social__link svg { flex: none; border-radius: 50%; background: rgba(255, 248, 236, 0.1); color: var(--cream); transition: background-color 0.2s, color 0.2s; width: 28px; height: 28px; padding: 7px; }
.social--labelled .social__link:hover { background: none; color: var(--white); }
.social--labelled .social__link:hover svg { background: var(--marigold); color: var(--purple-dark); }
.footer__subscribe { gap: 0.5rem; }
/* subscribe page form */
.form--subscribe { display: grid; gap: 1.1rem; }
.field__req { color: var(--kumkum); }
.choice-group { border: 0; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.choice-group legend { margin-bottom: 0.4rem; font-weight: 600; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; line-height: 1.5; }
.choice input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--kumkum); flex: none; }
.choice--consent { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 0.95em; }
.captcha__placeholder { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.6); color: var(--ink-soft); font-size: 0.9em; }
.captcha__box { width: 22px; height: 22px; border: 2px solid #b9a98d; border-radius: 4px; background: var(--white); border-color: #b9a3cf; }
.form__error { margin: 0; color: var(--kumkum); font-weight: 600; }
.form__fine { margin: 0; color: var(--ink-soft); font-size: 0.85em; }
.form--subscribe .btn { justify-self: start; }
/* the gallery section shares the .gallery class with its photo grid; keep the section itself a normal block */
.section.gallery { display: block; }
/* optional CMS links with no URL set stay hidden (mirrors data-flx-if on the live site) */
a[data-flx-if][href=""], a[data-flx-if]:not([href]) { display: none !important; }
/* dropdowns and the mobile drawer open above the toran garland */
.site-header .header__bar { position: relative; z-index: 3; }
/* sections that share a class name with an inner list/grid stay normal blocks */
.section.schedule { display: block; max-width: none; }
/* grid children may shrink below their content width (stops sideways scroll on phones) */
.contact__grid > *, .location__grid > *, .split__inner > *, .form__grid > * { min-width: 0; }
.contact__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
/* ---------- smooth scrolling ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 89; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--purple-dark); color: var(--gold-soft); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.55); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background-color 0.2s; }
.to-top.is-visible { opacity: 0.9; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { opacity: 1; background: var(--kumkum); color: var(--white); }
/* narrow, single-column content is centred in the page frame instead of hugging the left edge */
.legal, .hours-panel { margin-inline: auto; }
.section.schedule .container > .section-head, .section.schedule .schedule { max-width: 46rem; margin-inline: auto; }
.section.hours .container > .hours-panel { width: 100%; }
/* ---------- light purple surfaces (from the logo) instead of cream/yellow ---------- */
:root { --cream: #faf6fd; --cream-2: #f1e8f8; --sand: #e8dcf3; --line: #dccbea; }
body { background: var(--cream) linear-gradient(180deg, #efe3f5 0, #f4ecfa 520px, #f8f3fc 1000px, var(--cream) 1400px) no-repeat; }
.field__input { border-color: #c4add9; }
.field__input:focus { border-color: var(--purple); outline: 2px solid rgba(120, 60, 147, 0.25); outline-offset: 1px; }
/* footer: deep purple gradient, faint gold mandala pattern and a large Om-ring watermark */
.site-footer::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(620px, 70vw); aspect-ratio: 1; right: -12%; bottom: -18%; background: url("/assets/om-ring-white.e876de65660e.webp") no-repeat center / contain; opacity: 0.08; }
.site-footer > * { position: relative; }
.footer__skyline { position: relative; z-index: 1; height: var(--sky-h); background-color: transparent !important; }
/* light highlighted sections: soft lilac gradient with a faint purple mandala pattern */
.section.highlight { background: url("/assets/mandala-tile-purple.ae6d044b33d8.svg") repeat 0 0 / 120px 120px,
    linear-gradient(160deg, #f4ecfa 0%, #efe4f7 60%, #f6eef9 100%); background-blend-mode: normal; position: relative; }
.section.highlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(244, 236, 250, 0.82), rgba(239, 228, 247, 0.78)); }
.section.highlight > * { position: relative; }
/* ---------- footer blends out of the page ----------
   The skyline strip is transparent, so the temple rises straight out of the page background;
   the purple footer starts behind the skyline's scalloped edge, and the last section fades out. */
.site-footer { --sky-h: 112px; background: none; margin-top: clamp(1rem, 3vw, 2.5rem); }
@media (min-width: 768px) {
  .site-footer { --sky-h: 150px; }
}
.site-footer::before { inset: calc(var(--sky-h) - 2px) 0 0 0; opacity: 1; background: url("/assets/mandala-tile-faint.d3159bc346b2.svg") repeat 0 0 / 120px 120px,
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(120, 60, 147, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(179, 18, 46, 0.18), transparent 70%),
    linear-gradient(180deg, #1e1a4f 0%, #241b56 55%, #1a1544 100%); width: auto; height: auto; right: 0; left: 0; bottom: 0; transform: none; }
.footer__skyline::before { content: ""; position: absolute; left: 50%; bottom: 10%; width: min(560px, 80vw); height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(120, 60, 147, 0.12), rgba(120, 60, 147, 0) 70%); pointer-events: none; z-index: -1; }
/* last *visible* section fades into the footer (hidden data sections such as .fv-festival-dates are skipped) */
main > section:last-of-type, main > section:not([hidden]):not(:has(~ section:not([hidden]))) { padding-bottom: calc(var(--section-y) + 3rem); -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 9rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 9rem), transparent); }
/* time zone with opening hours */
.hours__tz { margin: 0.6rem 0 0; font-size: 0.85em; color: var(--ink-soft); line-height: 1.5; }
.hours__tz-now { font-weight: 600; color: var(--purple); }
.site-footer .hours__tz, .contact-card .hours__tz { color: rgba(255, 248, 236, 0.75); }
.site-footer .hours__tz-now, .contact-card .hours__tz-now { color: var(--gold-soft); }
.hours__tz-tag { font-size: 0.75em; font-weight: 700; letter-spacing: 0.04em; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.18); color: var(--cream); cursor: help; }
/* the time-zone note sits under the hours, in the text column next to the clock icon */
.contact-list li > .hours__tz { grid-column: 2; margin-top: 0.4rem; }
/* live mandir clock in the top bar */
.topbar__clock { gap: 0.45rem; font-variant-numeric: tabular-nums; }
.topbar__status { margin-left: 0.5rem; padding: 0.05rem 0.55rem; border-radius: 999px; font-size: 0.8em; font-weight: 700; }
.topbar__status:empty { display: none; }
.topbar__status.is-open { background: rgba(46, 125, 50, 0.14); color: #1f6b2a; }
.topbar__status.is-closed { background: rgba(179, 18, 46, 0.1); color: var(--kumkum); }
@media (max-width: 479px) {
  .topbar__clock .topbar__time { font-size: 0.92em; }
}
/* icon badges show the mandir's Om emblem (from the logo) instead of generic icons */
.icon-badge > i, .icon-badge > svg { display: none; }
/* emblem badges "breathe": a soft brand-purple pulse radiates behind them */
.icon-badge { position: relative; isolation: isolate; --pulse: 120, 60, 147; }
.icon-badge::before, .icon-badge::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(120, 60, 147, 0.35); z-index: -1; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .icon-badge::before { animation: emblem-pulse 2.8s ease-out infinite; }
  .icon-badge::after { animation: emblem-pulse 2.8s ease-out 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-badge::before { box-shadow: 0 0 0 6px rgba(120, 60, 147, 0.15); }
  .icon-badge::after { display: none; }
}
@keyframes emblem-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.75); opacity: 0; } }
/* ---------- service cards: full-cover brand gradient with living pattern ---------- */
.service-card__link { position: relative; overflow: hidden; isolation: isolate; padding: 1.75rem 1.6rem 1.5rem; border: 0; border-radius: var(--radius); color: #efe4f7; box-shadow: 0 14px 30px -18px rgba(38, 34, 98, 0.75); transition: transform 0.35s ease, box-shadow 0.35s ease; --svc-bg: linear-gradient(150deg, #241b56 0%, #4a2c74 55%, #783c93 100%); --svc-motif: url("/assets/om-ring-white.e876de65660e.webp"); background: var(--svc-bg) !important; padding-top: 1.6rem; min-height: 15rem; }
.service-grid > li:nth-child(3n+2) .service-card__link { background: linear-gradient(150deg, #2e1a5c 0%, #5b2a78 55%, #9a3a87 100%); }
.service-grid > li:nth-child(3n) .service-card__link { background: linear-gradient(150deg, #1e1a4f 0%, #3a2a6e 50%, #6a3f9a 100%); }
/* drifting gold mandala pattern */
.service-card__link::before { content: ""; position: absolute; inset: -60px; z-index: -1; pointer-events: none; background: url("/assets/mandala-tile.0f84acf6d30d.svg") repeat 0 0 / 110px 110px; opacity: 0.09; }
/* slowly turning Om-ring watermark */
.service-card__link::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 170px; height: 170px; right: -26px; bottom: -26px; background: var(--svc-motif) no-repeat center / contain; opacity: 0.16; transition: opacity 0.4s ease, transform 0.6s ease; }
.service-card__link:hover, .service-card__link:focus-visible { color: #fff; transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(74, 44, 116, 0.85), 0 0 0 1px rgba(246, 217, 139, 0.35); }
.service-card__more::after { content: "\2192"; transition: transform 0.25s; }
.service-card__link:hover .service-card__more::after { transform: translateX(4px); }
.service-card__link .icon-badge::before, .service-card__link .icon-badge::after { background: rgba(214, 186, 240, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .service-card__link::before { animation: card-drift 40s linear infinite; }
  .service-card__link::after { animation: card-spin 50s linear infinite; }
  .service-card__link:hover::after { opacity: 0.22; }
}
@keyframes card-drift { to { transform: translate(110px, 110px); } }
@keyframes card-spin { to { transform: rotate(360deg); } }
/* pulse drawn with box-shadow so it stays behind the emblem (pseudo layers were tinting it) */
.icon-badge::before, .icon-badge::after { content: none !important; animation: none !important; }
.service-card__link .icon-badge { --pulse: 214, 186, 240; }
@media (prefers-reduced-motion: no-preference) {
  .icon-badge { animation: emblem-ring 2.8s ease-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-badge { box-shadow: 0 0 0 6px rgba(var(--pulse), 0.2); }
}
@keyframes emblem-ring {
  0% { box-shadow: 0 0 0 0 rgba(var(--pulse), 0.55), 0 0 0 0 rgba(var(--pulse), 0.35); }
  60% { box-shadow: 0 0 0 12px rgba(var(--pulse), 0), 0 0 0 6px rgba(var(--pulse), 0.18); }
  100% { box-shadow: 0 0 0 16px rgba(var(--pulse), 0), 0 0 0 14px rgba(var(--pulse), 0); }
}
/* icons removed from all cards */
.service-card .icon-badge, .donate-card .icon-badge, .feature-card .icon-badge, .value-card .icon-badge, .card .icon-badge { display: none; }
/* theme: background tint + a large line-art motif that suits the puja */
.svc--fire { --svc-bg: linear-gradient(150deg, #3a1450 0%, #7a1f4f 55%, #c2410c 100%); --svc-motif: url("/assets/fire.31a0f80ffb2a.svg"); }
.svc--shiva { --svc-bg: linear-gradient(150deg, #13224f 0%, #24407a 55%, #4a6fb0 100%); --svc-motif: url("/assets/trishul.86e719ab10e1.svg"); }
.svc--wedding { --svc-bg: linear-gradient(150deg, #4a1238 0%, #8a1f4f 55%, #c2185b 100%); --svc-motif: url("/assets/rings.0c3208c6d7d1.svg"); }
.svc--home { --svc-bg: linear-gradient(150deg, #2e1a5c 0%, #6a2c6e 55%, #b4541f 100%); --svc-motif: url("/assets/home.a72a8e452ae2.svg"); }
.svc--music { --svc-bg: linear-gradient(150deg, #4a0f2e 0%, #8c0d23 50%, #b3122e 100%); --svc-motif: url("/assets/music.3629284a6e1e.svg"); }
.svc--night { --svc-bg: linear-gradient(150deg, #0d0b2b 0%, #1e1a4f 55%, #3a2a6e 100%); --svc-motif: url("/assets/moon.7fde127a8cfe.svg"); }
.svc--child { --svc-bg: linear-gradient(150deg, #3a2a6e 0%, #6a3f9a 55%, #b06fb8 100%); --svc-motif: url("/assets/star.a7b699796f9a.svg"); }
.svc--remember { --svc-bg: linear-gradient(150deg, #1c1b2e 0%, #2f2c48 55%, #4a4566 100%); --svc-motif: url("/assets/diya.f53d1a0b0a60.svg"); }
.svc--prosper { --svc-bg: linear-gradient(150deg, #3a1d5c 0%, #6a2c74 50%, #b7791f 100%); --svc-motif: url("/assets/lotus-coins.ed7d6f2b96f4.svg"); }
.svc--ganesh { --svc-bg: linear-gradient(150deg, #4a1d2e 0%, #9a3412 55%, #d9480f 100%); --svc-motif: url("/assets/modak.14216a9002c5.svg"); }
.svc--scripture { --svc-bg: linear-gradient(150deg, #241b56 0%, #4a2c74 55%, #8a4b9a 100%); --svc-motif: url("/assets/book.23e2a535a590.svg"); }
@media (prefers-reduced-motion: no-preference) {
  .service-card__link::after { animation: none; }
}
/* hover: heading slides right and turns bolder, motif brightens and grows */
.service-card__text, .service-card__more { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.service-card__link:hover .service-card__title, .service-card__link:focus-visible .service-card__title { transform: translateX(8px); letter-spacing: 0.01em; text-shadow: 0 0 12px rgba(246, 217, 139, 0.35); -webkit-text-stroke-width: 0.9px; }
.service-card__link:hover .service-card__text, .service-card__link:focus-visible .service-card__text { transform: translateX(4px); }
.service-card__link:hover::after, .service-card__link:focus-visible::after { opacity: 0.3; transform: scale(1.08) rotate(-4deg); }
/* ---------- donation cards: same lively, modern treatment as the service cards ---------- */
.donate-card { overflow: hidden; isolation: isolate; border: 0; color: #efe4f7; background: linear-gradient(150deg, #241b56 0%, #4a2c74 55%, #783c93 100%); box-shadow: 0 18px 36px -20px rgba(38, 34, 98, 0.8); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease; }
.donate-card--meals, .donate-grid > .donate-card:nth-child(even) { background: linear-gradient(150deg, #4a1d2e 0%, #8c2f39 50%, #d9480f 100%); }
.donate-card::before { inset: -60px; height: auto; z-index: -1; background: url("/assets/mandala-tile.0f84acf6d30d.svg") repeat 0 0 / 110px 110px; opacity: 0.09; }
.donate-card--meals::before, .donate-grid > .donate-card:nth-child(even)::before { background: url("/assets/mandala-tile.0f84acf6d30d.svg") repeat 0 0 / 110px 110px; }
.donate-card::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 210px; height: 210px; right: -30px; bottom: 40px; background: url("/assets/lotus-coins.ed7d6f2b96f4.svg") no-repeat center / contain; opacity: 0.16; transition: opacity 0.4s ease, transform 0.6s ease; }
.donate-card--meals::after, .donate-grid > .donate-card:nth-child(even)::after { background-image: url("/assets/bowl.d4b9fed5f24b.svg"); }
.donate-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px rgba(74, 44, 116, 0.9), 0 0 0 1px rgba(246, 217, 139, 0.35); }
.donate-card:hover::after { opacity: 0.28; transform: scale(1.08) rotate(-4deg); }
.donate-card:hover .donate-card__title { transform: translateX(8px); }
.donate-card p, .donate-card .tick-list li { color: rgba(239, 228, 247, 0.9); }
.donate-card .tick-list li::before { background: var(--gold-soft); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25); }
.donate-card .btn--primary { background: var(--gold-soft); color: var(--purple-dark); }
.donate-card .btn--primary:hover { background: var(--white); color: var(--kumkum); }
@media (prefers-reduced-motion: no-preference) {
  .donate-card::before { animation: card-drift 40s linear infinite; }
}
/* ---------- "Other ways to give": glowing diya + slowly circling gradient border ---------- */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.offline-note { position: relative; isolation: isolate; display: grid; grid-template-columns: 86px 1fr; gap: 0.4rem 1.4rem; align-items: center; padding: 1.6rem 1.8rem; border: 2px solid transparent; border-radius: 22px; background: linear-gradient(120deg, rgba(250, 246, 253, 0.97), rgba(241, 232, 248, 0.97)) padding-box,
    conic-gradient(from var(--ring), #783c93, #f6d98b, #b3122e, #4a2c74, #f6d98b, #783c93) border-box; box-shadow: 0 18px 40px -26px rgba(74, 44, 116, 0.7); }
.offline-note::before { content: ""; grid-row: 1 / span 2; width: 86px; height: 86px; border-radius: 50%; background: url("/assets/diya.f53d1a0b0a60.svg") no-repeat center 46% / 62% auto, radial-gradient(circle at 50% 45%, #6a3f9a 0%, #4a2c74 55%, #241b56 100%); box-shadow: 0 0 0 6px rgba(120, 60, 147, 0.12), 0 10px 24px -10px rgba(36, 27, 86, 0.8); }
.offline-note::after { content: ""; position: absolute; left: calc(1.8rem + 43px - 9px); top: calc(50% - 30px); width: 18px; height: 22px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fffbe0 0%, #ffd36b 45%, rgba(240, 138, 36, 0) 75%); filter: blur(0.3px); pointer-events: none; }
.offline-note .prose { grid-column: 2; color: rgba(239, 228, 247, 0.85); font-size: 0.95em; }
.offline-note .prose p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .offline-note { animation: ring-turn 9s linear infinite; }
  .offline-note::after { animation: flame-flicker 1.6s ease-in-out infinite; }
}
@keyframes ring-turn { to { --ring: 360deg; } }
@keyframes flame-flicker { 0%, 100% { transform: scale(1) translateY(0); opacity: 0.95; } 35% { transform: scale(1.08, 1.15) translateY(-1px); opacity: 1; } 70% { transform: scale(0.94, 1.02) translateY(0.5px); opacity: 0.85; } }
@media (max-width: 599px) {
  .offline-note { grid-template-columns: 64px 1fr; padding: 1.25rem; }
  .offline-note::before { width: 64px; height: 64px; }
  .offline-note::after { left: calc(1.25rem + 32px - 8px); width: 16px; height: 19px; top: calc(50% - 24px); }
}
/* ---------- "Other ways to give" v2: a dark ribbon with numbered ways ---------- */
.offline-note { grid-template-columns: 86px minmax(0, 1fr) auto; gap: 0.5rem 1.6rem; padding: 1.8rem 2rem; overflow: hidden; background: url("/assets/mandala-tile-faint.d3159bc346b2.svg") repeat 0 0 / 110px 110px padding-box,
    linear-gradient(120deg, #1e1a4f 0%, #4a2c74 60%, #783c93 100%) padding-box,
    conic-gradient(from var(--ring), #783c93, #f6d98b, #b3122e, #4a2c74, #f6d98b, #783c93) border-box; color: #efe4f7; }
.offline-note::before { grid-row: 1 / span 3; background: url("/assets/diya.f53d1a0b0a60.svg") no-repeat center 46% / 62% auto, radial-gradient(circle at 50% 45%, rgba(246,217,139,.25) 0%, rgba(246,217,139,.08) 60%, transparent 100%); box-shadow: 0 0 0 1px rgba(246,217,139,.35), 0 0 40px -6px rgba(246,217,139,.5); }
.offline-note::after { left: calc(2rem + 43px - 9px); }
.offline-note__ways { grid-column: 2; list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.offline-note__ways li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.45rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(246, 217, 139, 0.3); color: var(--white); font-size: 0.9em; transition: background-color .3s, transform .3s; border-radius: 18px; }
.offline-note__ways li:hover { background: rgba(246, 217, 139, 0.18); transform: translateY(-2px); }
.offline-note__ways span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--purple-dark); font-size: 0.75em; font-weight: 700; flex: none; }
.offline-note__cta { grid-column: 3; grid-row: 1 / span 3; align-self: center; padding: 0.75rem 1.4rem; border-radius: 999px; background: var(--gold-soft); color: var(--purple-dark); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, transform .25s; }
.offline-note__cta::after { content: " \2192"; }
.offline-note__cta:hover { background: var(--white); color: var(--kumkum); transform: translateX(3px); }
@media (max-width: 899px) {
  .offline-note { grid-template-columns: 1fr; text-align: left; padding: 1.5rem; }
  .offline-note::before { grid-row: auto; width: 64px; height: 64px; }
  .offline-note::after { left: calc(1.5rem + 32px - 8px); top: calc(1.5rem + 14px); width: 16px; height: 19px; }
  .offline-note__title, .offline-note .prose, .offline-note__ways, .offline-note__cta { grid-column: 1; grid-row: auto; }
  .offline-note__cta { justify-self: start; margin-top: 0.4rem; }
}
/* equal breathing room above and below the "Other ways to give" ribbon */
.offline-note { margin: clamp(2.5rem, 4vw, 3.5rem) auto 0; }
.section:has(> .container > .offline-note:last-child) { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
/* ---------- CTA bands: full-width, edge to edge, square corners ---------- */
.section.cta { padding: 0; }
.section.cta > .container { max-width: none; padding-inline: 0; }
.cta .tone-purple, .cta .tone-red, .cta .tone-saffron, .cta__panel { border-radius: 0; }
.cta__panel { padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 3.5rem); min-height: clamp(380px, 44vw, 520px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.cta__panel > * { max-width: 46rem; margin-inline: auto; }
.tone-purple .cta__panel { background: url("/assets/mandala-tile-faint.d3159bc346b2.svg") repeat 0 0 / 110px 110px, linear-gradient(115deg, var(--navy), var(--purple-deep) 55%, var(--purple)); }
.section.cta + .section, .section + .section.cta { margin-top: 0; }
/* CTA band: taller, no garland, a softly flickering lit diya above "Seva" */
.cta__panel::before { width: 96px; height: 96px; margin-bottom: 1rem; background: url("/assets/diya-lit.b878396c06c2.svg") no-repeat center / contain; }
@media (prefers-reduced-motion: no-preference) {
  .cta__panel::before { animation: diya-float 4s ease-in-out infinite; }
}
@keyframes diya-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* taller header: more room around the logo, menu and top bar */
.header__bar { padding-block: 1rem; }
.site-header .brand__logo { height: 56px; width: auto; }
@media (min-width: 1024px) {
  .header__bar { padding-block: 1.15rem; }
  .site-header .brand__logo { height: 72px; }
}
html { scroll-padding-top: 160px; }
/* ---------- calendar views: day / week / month / year / list ---------- */
.calendar--views .cal-month { display: block; }
.calendar--views .event-list { display: grid !important; }
.calendar--views .event-list[hidden], .calendar--views .cal-body[hidden] { display: none !important; }
.cal-toolbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.cal-title { text-align: center; }
.cal-navgroup { display: inline-flex; align-items: center; gap: 0.4rem; }
.cal-nav[hidden], .cal-today[hidden] { display: none; }
.cal-today { height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--purple); background: transparent; color: var(--purple); font: 600 0.9rem var(--font-body); cursor: pointer; }
.cal-today:hover { background: var(--purple); color: var(--white); }
.cal-views { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); }
.cal-view { border: 0; background: transparent; padding: 0.45rem 0.9rem; border-radius: 999px; font: 600 0.88rem var(--font-body); color: var(--purple-dark); cursor: pointer; transition: background-color .2s, color .2s; }
.cal-view:hover { color: var(--purple); }
.cal-view.is-active { background: var(--purple); color: var(--white); box-shadow: 0 4px 10px -6px rgba(74, 44, 116, 0.8); }
@media (max-width: 899px) {
  .cal-toolbar { grid-template-columns: 1fr auto; }
  .cal-title { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .cal-views { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; overflow-x: auto; }
}
.cal-event { display: flex; gap: 0.35rem; align-items: baseline; flex-wrap: wrap; }
.cal-event__time { font-weight: 700; opacity: 0.85; font-size: 0.92em; }
/* week */
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cal-wday { min-height: 260px; padding: 0.5rem; border-left: 1px solid var(--line); }
.cal-wday:first-child { border-left: 0; }
.cal-wday__head { display: flex; flex-direction: column; align-items: center; padding-bottom: 0.5rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.cal-wday__dow { font-size: 0.8rem; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.06em; }
.cal-wday__num { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); }
@media (max-width: 767px) {
  .cal-week { grid-template-columns: 1fr; }
  .cal-wday { min-height: 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; }
  .cal-wday:first-child { border-top: 0; }
  .cal-wday__head { border: 0; margin: 0; }
}
/* day */
.cal-dayview { display: grid; gap: 0.75rem; }
.cal-agenda { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: linear-gradient(120deg, #241b56, #4a2c74 60%, #783c93); color: var(--white); text-decoration: none; box-shadow: 0 12px 24px -18px rgba(38, 34, 98, 0.8); transition: transform .3s; }
.cal-agenda:hover { color: var(--white); transform: translateX(4px); }
.cal-agenda .cal-event__time { color: var(--gold-soft); font-size: 1rem; }
.cal-agenda .cal-event__title { font-family: var(--font-head); font-size: 1.35rem; }
.cal-jump { margin-top: 0.5rem; padding: 0.8rem 1.2rem; border-radius: 999px; border: 1px dashed var(--purple); background: var(--white); color: var(--purple); font: 600 0.95rem var(--font-body); cursor: pointer; }
.cal-jump:hover { background: var(--purple); color: var(--white); border-style: solid; }
/* year */
.cal-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.cal-ymonth { padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.cal-ymonth__name { display: block; width: 100%; margin-bottom: 0.4rem; border: 0; background: none; text-align: left; font: 400 1.15rem var(--font-head); color: var(--navy); cursor: pointer; }
.cal-ymonth__name:hover { color: var(--kumkum); }
.cal-grid--mini { border: 0; border-radius: 0; background: none; }
.cal-grid--mini .cal-dow { background: none; color: var(--ink-soft); padding: 0.15rem; font-size: 0.7rem; }
.cal-grid--mini .cal-cell { min-height: 0; padding: 0.1rem; border: 0; text-align: center; }
.cal-grid--mini .cal-cell--out { visibility: hidden; }
.cal-grid--mini .cal-day { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; font: 600 0.78rem var(--font-body); color: var(--ink); }
.cal-grid--mini .cal-cell--has .cal-day { background: var(--kumkum); color: var(--white); cursor: pointer; }
.cal-grid--mini .cal-cell--today .cal-day { box-shadow: inset 0 0 0 2px var(--saffron); }
.cal-grid--mini .cal-cell--today { box-shadow: none; }
/* rolling-digit live clock */
.topbar__time { display: inline-flex; align-items: center; gap: 0.15rem; }
.topbar__label { margin-right: 0.25rem; }
.flip { position: relative; display: inline-block; height: 1.35em; line-height: 1.35em; overflow: hidden; vertical-align: middle; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--purple-dark); min-width: 1.25ch; text-align: center; }
.flip--ampm { min-width: 2.4ch; font-size: 0.9em; }
.flip__v { display: block; }
.flip__v.is-out { position: absolute; inset: 0; }
.flip__sep { font-weight: 600; color: var(--purple); }
.topbar__tz { margin-left: 0.2rem; color: var(--ink-soft); font-size: 0.9em; }
@media (prefers-reduced-motion: no-preference) {
  .flip__v.is-in { animation: flip-in 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
  .flip__v.is-out { animation: flip-out 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .flip__sep { animation: sep-blink 1s steps(1) infinite; }
}
@keyframes flip-in { from { transform: translateY(-100%) rotateX(70deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes flip-out { from { transform: none; opacity: 1; } to { transform: translateY(100%) rotateX(-70deg); opacity: 0; } }
@keyframes sep-blink { 50% { opacity: 0.35; } }
/* open / closing soon / closed pill with a live rippling dot */
.topbar__status { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.15rem 0.7rem 0.15rem 0.55rem; }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-dot::before, .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0; }
.topbar__status.is-open { background: rgba(46, 125, 50, 0.13); color: #1f7a2e; }
.topbar__status.is-soon { background: rgba(240, 138, 36, 0.16); color: #c25a00; }
.topbar__status.is-closed { background: rgba(179, 18, 46, 0.1); color: var(--kumkum); }
@media (prefers-reduced-motion: no-preference) {
  .is-open .status-dot::before, .is-soon .status-dot::before { animation: status-ripple 2s ease-out infinite; }
  .is-open .status-dot::after, .is-soon .status-dot::after { animation: status-ripple 2s ease-out 1s infinite; }
  .is-soon .status-dot { animation: soon-blink 1.2s ease-in-out infinite; }
  .is-open, .is-soon { animation: pill-glow 2s ease-in-out infinite; }
}
@keyframes status-ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes soon-blink { 50% { opacity: 0.45; } }
@keyframes pill-glow { 50% { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03), 0 0 12px -2px currentColor; } }
/* ---------- this week at the mandir ---------- */
.section.this-week .container > * { max-width: 46rem; margin-inline: auto; }
.week-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.week-list .event-card__link { flex-direction: row; }
.week-list .event-card__poster { flex: 0 0 120px; }
.week-list .event-card__body { padding: 1rem 1.25rem; }
.week-date { list-style: none; margin-top: 0.75rem; padding-bottom: 0.3rem; border-bottom: 2px solid var(--gold-soft); font-family: var(--font-head); font-size: 1.2rem; color: var(--purple); }
.week-date:first-child { margin-top: 0; }
.week-festival { list-style: none; display: grid; gap: 0.2rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: linear-gradient(120deg, #4a1d2e, #8c2f39 55%, #d9480f); color: var(--white); cursor: pointer; box-shadow: 0 12px 24px -18px rgba(74, 29, 46, 0.8); transition: transform .3s; }
.week-festival:hover { transform: translateX(4px); }
.week-festival__tag { justify-self: start; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--gold-soft); color: var(--purple-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.week-festival__title { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; }
.week-festival__sub { color: rgba(255, 255, 255, 0.85); }
.week-empty { list-style: none; padding: 1.25rem; text-align: center; border-radius: var(--radius-sm); background: var(--cream-2); color: var(--ink-soft); }
/* footer reads smaller than body copy */
.site-footer { font-size: 0.95rem; }
@media (min-width: 768px) {
  .site-footer { font-size: 1rem; }
}
.site-footer .footer__link { font-size: 0.95em; padding-block: 0.22rem; }
.site-footer .footer__heading { font-size: 1.1rem; margin-bottom: 0.45rem; }
.footer__connect .footer__link { font-size: 0.92em; }
.footer__connect .footer__heading--spaced { margin-top: 1rem; }
.footer__connect .footer__connect-group + .footer__connect-group .footer__heading { margin-top: 1rem; }
.footer__subscribe { font-size: 0.85rem; min-height: 42px; padding: 0.5rem 1.1rem; margin-top: 1.2rem; }
.site-footer .hours--compact, .site-footer .footer__small, .site-footer .footer__about { font-size: 0.95em; }
/* footer brand: the original Om emblem in full colour + live text name (no recoloured logo image) */
.brand--footer .brand__logo.brand__mark { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.brand--footer .brand__text { gap: 0.15rem; }
/* tighter vertical rhythm in all nav lists */
.site-footer .footer__link { padding-block: 0.12rem; line-height: 1.4; }
.social--labelled { gap: 0.15rem; }
.contact-list--footer { gap: 0.45rem; }
.site-footer .hours--compact .hours__row { padding-block: 0; line-height: 1.55; }
.nav__sub { padding: 0.35rem; min-width: 190px; }
.drawer__list .nav__sub { padding-bottom: 0.25rem; padding: 0.15rem 0 0.4rem 0.75rem; }
.drawer__list .nav__sublink { padding-block: 0.25rem; font-size: 1rem; display: block; width: 100%; padding-inline: 0.75rem; }
.social--labelled li { display: flex; }
/* header logo: a soft brand-purple pulse radiating from behind the Om emblem */
.site-header .brand { position: relative; isolation: isolate; --logo-h: 56px; }
@media (min-width: 1024px) {
  .site-header .brand { --logo-h: 72px; }
}
.site-header .brand::before, .site-header .brand::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: calc(var(--logo-h) * 0.08); top: 50%; width: calc(var(--logo-h) * 0.84); height: calc(var(--logo-h) * 0.84); margin-top: calc(var(--logo-h) * -0.42); border-radius: 50%; background: radial-gradient(circle, rgba(120, 60, 147, 0.25) 0%, rgba(155, 107, 192, 0.18) 60%, rgba(155, 107, 192, 0) 71%); box-shadow: 0 0 0 1px rgba(120, 60, 147, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  .site-header .brand::before { animation: logo-pulse 3s ease-out infinite; }
  .site-header .brand::after { animation: logo-pulse 3s ease-out 1.5s infinite; }
}
@keyframes logo-pulse { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes logo-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
/* subtler logo pulse */
@keyframes logo-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
/* ---------- cosmic background: drifting nebula, twinkling stars, slow-turning mandala ---------- */
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before { background: radial-gradient(ellipse 45% 35% at 15% 25%, rgba(155, 107, 192, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 70%, rgba(120, 60, 147, 0.13), transparent 70%),
    radial-gradient(ellipse 30% 25% at 70% 15%, rgba(233, 168, 30, 0.07), transparent 70%),
    url("/assets/stars-tile.527b54344fb0.svg") repeat 0 0 / 420px 420px; background-size: 140% 140%, 140% 140%, 140% 140%, 420px 420px; opacity: 0.7; }
body::after { inset: auto; width: min(900px, 120vw); aspect-ratio: 1; right: -18vw; top: 18vh; background: url("/assets/om-ring.5852406da3c8.webp") no-repeat center / contain; opacity: 0.045; }
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: nebula-drift 40s ease-in-out infinite alternate, stars-drift 180s linear infinite; }
  body::after { animation: card-spin 240s linear infinite; }
}
@keyframes nebula-drift { to { background-position: 30% 20%, 70% 80%, 40% 60%, 0 0; } }
@keyframes stars-drift { to { background-position: 0 0, 0 0, 0 0, -420px 840px; } }
/* no social media on the site */
.social, [data-flx-social] { display: none !important; }
/* header a bit shorter */
.header__bar { padding-block: 0.75rem; }
.site-header .brand { --logo-h: 52px; }
.site-header .brand__logo { height: 52px; }
@media (min-width: 1024px) {
  .header__bar { padding-block: 0.85rem; }
  .site-header .brand { --logo-h: 64px; }
  .site-header .brand__logo { height: 64px; }
}
/* Contact page info card: smaller, tighter type */
.contact-card .hours--compact { font-size: 0.875rem; }
.contact-card .hours--compact .hours__row { grid-template-columns: 6.25rem 1fr; padding-block: 0.05rem; }
.contact-card .hours__tz { font-size: 0.8rem; }
/* Home split section: Donate + Read our story button row */
.split__actions { margin-top: 1.75rem; align-items: center; }
.split__actions .btn--ghost { margin-top: 0; }
.split__actions .btn { min-height: 48px; }
.split__actions .btn svg { flex: none; }
/* Footer emblem: same staggered pulse as the header logo, in a light tone for the dark footer */
.brand--footer .brand__plate { position: relative; isolation: isolate; border-radius: 50%; }
.brand--footer .brand__plate::before, .brand--footer .brand__plate::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 8%; top: 8%; width: 84%; height: 84%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 248, 236, 0.3) 0%, rgba(246, 217, 139, 0.2) 60%, rgba(246, 217, 139, 0) 71%); box-shadow: 0 0 0 1px rgba(255, 248, 236, 0.22); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .brand--footer .brand__plate::before { animation: logo-pulse 3s ease-out infinite; }
  .brand--footer .brand__plate::after { animation: logo-pulse 3s ease-out 1.5s infinite; }
}
/* Header toran style, set on the home page <body data-flx-toran="marigold|mango|mixed|diwali|none">; main.js switches to diwali automatically during Diwali
   marigold (default) = marigold garland; mango = South Indian mango-leaf thoranam; mixed = mango leaves with marigold strings */
[data-flx-toran="mango"] .site-header .toran { background-image: url("/assets/toran-mango.d6f2210959d4.svg"); }
[data-flx-toran="mixed"] .site-header .toran { background-image: url("/assets/toran-mixed.6de542e5760e.svg"); }
[data-flx-toran="none"] .site-header .toran { background-image: none; filter: none; animation: none; }
[data-flx-toran="mango"] .site-header .toran, [data-flx-toran="mixed"] .site-header .toran { filter: drop-shadow(0 2px 2px rgba(38, 34, 98, 0.3)); animation: none; transform: none; }
/* Diwali: hanging firecracker strings; each string sways and its wick sparkles inside the SVG artwork */
[data-flx-toran="diwali"] { --toran-h: 60px; }
@media (max-width: 767px) {
  [data-flx-toran="diwali"] { --toran-h: 46px; }
}
[data-flx-toran="diwali"] .site-header .toran { background-image: url("/assets/toran-diwali.771a69775c4b.svg"); animation: none; transform: none; filter: drop-shadow(0 2px 2px rgba(38, 34, 98, 0.3)); }
/* Header toran garland: flowers swaying gently in a light breeze (pinned at the top string) */
@media (prefers-reduced-motion: no-preference) {
  .site-header .toran { transform-origin: 50% 0; animation: toran-breeze 7s ease-in-out infinite; will-change: transform; }
}
@keyframes toran-breeze {
  0%   { transform: skewX(0deg) scaleY(1); background-position: 0 0; }
  18%  { transform: skewX(-2.2deg) scaleY(0.985); background-position: 2px 0; }
  34%  { transform: skewX(-1deg) scaleY(0.995); background-position: 1px 0; }
  52%  { transform: skewX(1.6deg) scaleY(0.99); background-position: -2px 0; }
  70%  { transform: skewX(0.6deg) scaleY(1); background-position: -1px 0; }
  85%  { transform: skewX(-0.8deg) scaleY(0.995); background-position: 1px 0; }
  100% { transform: skewX(0deg) scaleY(1); background-position: 0 0; }
}
/* About page: milestone timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 960px; }
.timeline::before { content: ""; position: absolute; top: 0.5rem; bottom: 0.5rem; left: 15px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--saffron), var(--kumkum) 45%, var(--purple)); }
.timeline__item { position: relative; padding: 0 0 1.75rem 3rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 6px; top: 1.15rem; width: 21px; height: 21px; border-radius: 50%; background: var(--white); border: 4px solid var(--kumkum); box-shadow: 0 0 0 4px rgba(179, 18, 46, 0.12); z-index: 1; }
.timeline__item:last-child .timeline__dot { border-color: var(--purple); background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(120, 60, 147, 0.18); }
.timeline__card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.2rem; box-shadow: var(--shadow); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.timeline__card:hover { transform: translateY(-3px); }
.timeline__year { display: inline-block; margin: 0 0 0.4rem; padding: 0.15rem 0.7rem; border-radius: 999px; background: rgba(120, 60, 147, 0.1); color: var(--purple); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.timeline__title { font-size: 1.25rem; margin: 0 0 0.3rem; }
.timeline__text { margin: 0; font-size: 0.975rem; color: var(--ink-soft); line-height: 1.55; }
.timeline__text a { color: var(--kumkum); font-weight: 600; white-space: nowrap; }
.timeline__item:last-child .timeline__card { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); border-color: transparent; }
.timeline__item:last-child .timeline__title { color: var(--white); }
.timeline__item:last-child .timeline__text { color: rgba(239, 228, 247, 0.92); }
.timeline__item:last-child .timeline__text a { color: var(--gold-soft); }
.timeline__item:last-child .timeline__year { background: rgba(246, 217, 139, 0.2); color: var(--gold-soft); }
@media (min-width: 900px) {
  .timeline::before { left: 50%; margin-left: -1.5px; }
  .timeline__item { width: 50%; padding: 0 2.5rem 2rem 0; }
  .timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 2rem 2.5rem; }
  .timeline__item .timeline__dot { left: auto; right: -10.5px; }
  .timeline__item:nth-child(even) .timeline__dot { right: auto; left: -10.5px; }
  .timeline__item:nth-child(odd) .timeline__card { text-align: right; }
  .timeline__item + .timeline__item { margin-top: -3.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .timeline__item:last-child .timeline__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--purple); animation: status-ripple 2.4s ease-out infinite; }
}
/* Page hero titles: allow the full container width so titles sit on one line on tablet/desktop */
.page-hero__inner { max-width: none; }
.page-hero__intro, .page-hero .eyebrow { max-width: 44rem; }
@media (min-width: 768px) {
  .page-hero__title { font-size: clamp(2rem, 4.4vw, 3.25rem); text-wrap: balance; }
}
/* Page hero Om ring (all inner pages): slow rotation with a soft glowing breath */
@media (prefers-reduced-motion: no-preference) {
  .page-hero::before { animation: om-turn 90s linear infinite, om-hero-glow 6s ease-in-out infinite; will-change: transform, opacity; }
}
@keyframes om-hero-glow {
  0%, 100% { opacity: 0.75; filter: drop-shadow(0 0 0 rgba(246, 217, 139, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(246, 217, 139, 0.55)); }
}
/* Mobile drawer: sub-menus collapsed by default, chevron toggle on items with children */
.drawer__list .nav__item--parent:has(> .drawer__subtoggle) { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.drawer__list .nav__item--parent:has(> .drawer__subtoggle) > .nav__link { grid-area: 1 / 1; padding-right: 2.75rem; cursor: pointer; }
.drawer__list .nav__item--parent:has(> .drawer__subtoggle) > .drawer__subtoggle { grid-area: 1 / 1; justify-self: end; pointer-events: none; margin-right: 0.25rem; }
.drawer__list .nav__item--parent:has(> .drawer__subtoggle) > .nav__sub { grid-column: 1; display: none; }
/* Full-width hover rows in the mobile drawer */
.drawer__list .nav__link:hover, .drawer__list .nav__item--parent.is-open > .nav__link { background: var(--cream-2); color: var(--kumkum); }
.drawer__list .nav__item--parent:hover > .drawer__subtoggle, .drawer__list .nav__item--parent.is-open > .drawer__subtoggle { color: var(--kumkum); background: none; }
.drawer__list .nav__item--parent.is-open > .nav__sub { display: block; animation: drawer-sub-in 0.25s ease-out; }
.drawer__subtoggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: -0.4rem; border: 0; border-radius: 50%; background: none; color: var(--purple); cursor: pointer; }
.drawer__subtoggle:hover, .drawer__subtoggle:focus-visible { background: rgba(120, 60, 147, 0.1); }
.drawer__subtoggle svg { transition: transform 0.25s ease; }
.nav__item--parent.is-open > .drawer__subtoggle svg { transform: rotate(180deg); }
@keyframes drawer-sub-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* Topbar status: Opening soon (within an hour of opening) */
.topbar__status.is-opening { background: rgba(120, 60, 147, 0.12); color: var(--purple); }
@media (prefers-reduced-motion: no-preference) {
  .is-opening .status-dot::before { animation: status-ripple 2s ease-out infinite; }
  .is-opening .status-dot::after { animation: status-ripple 2s ease-out 1s infinite; }
}
/* Event cards: smaller description text */
.event-card__text { font-size: 0.95rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; min-height: calc(3 * 1.55em); }
.event-card__time { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Event cards: equal height, long text clipped with an ellipsis */
.event-card__body { flex: 1; display: flex; flex-direction: column; }
.event-card__body > .date-badge { align-self: flex-start; width: auto; }
.event-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; line-height: 1.25; margin-bottom: 0.2rem; }
.event-list .event-card__title, .week-list .event-card__title { min-height: 0; }
.event-list .event-card__text, .week-list .event-card__text { min-height: 0; }
/* Hero buttons centred on mobile */
@media (max-width: 767px) {
  .hero__copy .btn-row { justify-content: center; }
}
/* Mobile topbar: clock, status and phone on a single line */
@media (max-width: 599px) {
  .topbar { font-size: 0.75rem; }
  .topbar__inner { flex-wrap: nowrap; align-items: center; gap: 0.6rem; padding-block: 0.3rem; white-space: nowrap; }
  .topbar__item { gap: 0.3rem; min-width: 0; flex: none; }
  .topbar__clock .fa-solid, .topbar__clock > svg, .topbar__label { display: none; }
  .topbar__time { gap: 0.05rem; }
  .topbar__tz { margin-left: 0.15rem; font-size: 0.85em; }
  .topbar__status { margin-left: 0.35rem; padding: 0.05rem 0.5rem 0.05rem 0.4rem; gap: 0.3rem; font-size: 0.85em; }
  .status-dot { width: 6px; height: 6px; }
  .topbar__item:last-child { margin-left: auto; }
  .topbar__clock .flip { height: 1.25em; line-height: 1.25em; }
}
@media (max-width: 359px) {
  .topbar { font-size: 0.6875rem; }
  .topbar__tz { display: none; }
  .topbar__item:last-child .fa-solid, .topbar__item:last-child > svg { display: none; }
}
/* Red CTA panels (e.g. Donate page seva): richer layered background */
.tone-red .cta__panel { background: radial-gradient(ellipse 60% 70% at 50% 38%, rgba(255, 190, 90, 0.32), transparent 70%),
    radial-gradient(circle at 12% 88%, rgba(120, 60, 147, 0.55), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(217, 72, 15, 0.6), transparent 42%),
    url("/assets/mandala-tile-faint.d3159bc346b2.svg") repeat 0 0 / 110px 110px,
    linear-gradient(135deg, #3d0f1e 0%, #7a1c2c 35%, #a8262f 62%, #d9480f 100%); background-blend-mode: normal, normal, normal, soft-light, normal; }
@media (prefers-reduced-motion: no-preference) {
  .tone-red .cta__panel { background-size: auto, auto, auto, 110px 110px, 220% 220%; animation: red-cta-shift 18s ease-in-out infinite alternate; }
  @keyframes red-cta-shift { 0% { background-position: 0 0, 0 0, 0 0, 0 0, 0% 50%; } 100% { background-position: 0 0, 0 0, 0 0, 110px 110px, 100% 50%; } }
}
/* Contact page: Donate now cards */
.contact-donate { margin-top: clamp(2rem, 5vw, 3.25rem); }
.contact-donate .donate-card { padding: 1.75rem 1.5rem 1.5rem; min-height: 15rem; }
.contact-donate .donate-card__title { font-size: 1.45rem; }
.contact-donate .donate-card p { font-size: 0.975rem; margin: 0 0 1rem; }
.contact-donate__more { text-align: center; margin: 1.25rem 0 0; font-weight: 600; }
.contact-donate__more a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
/* Contact page: compact layout (main content only; header/footer untouched) */
.fv-compact { font-size: 1rem; }
.section.fv-compact { --section-y: clamp(2rem, 4.5vw, 3.75rem); }
.page-hero.fv-compact { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: calc(clamp(1.5rem, 3.5vw, 2.5rem) + 24px); }
.page-hero.fv-compact::before { width: 380px; height: 380px; right: -120px; top: -120px; }
.fv-compact .page-hero__title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.fv-compact .page-hero__intro { font-size: 1.0625rem; }
.fv-compact .section-head { margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.fv-compact .section-title { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.fv-compact .section-intro { font-size: 1.0625rem; }
.fv-compact .contact__grid, .fv-compact .location__grid { gap: 1.5rem; }
.fv-compact .form-panel { padding: clamp(1.1rem, 3vw, 1.75rem); }
.fv-compact .form__grid { gap: 0.75rem; }
.fv-compact .field__text { font-size: 0.9rem; }
.fv-compact .field__label { gap: 0.25rem; }
.fv-compact .field__input { min-height: 42px; padding: 0.45rem 0.8rem; font-size: 0.95rem; }
.fv-compact textarea.field__input { min-height: 100px; }
.fv-compact .form .btn { margin-top: 0.85rem; }
.location.fv-compact .contact-list { gap: 0.6rem; margin-bottom: 1.25rem; font-size: 0.95rem; }
.location.fv-compact .hours--compact { font-size: 0.875rem; }
.location.fv-compact .hours--compact .hours__row { grid-template-columns: 6.25rem 1fr; padding-block: 0.05rem; }
.fv-compact .map-card { border-width: 4px; }
.fv-compact .map-card__img { aspect-ratio: 16 / 9; }
/* Newsletter page: compact layout, wider form, smaller text */
.fv-compact-form { font-size: 1rem; }
.section.fv-compact-form { --section-y: clamp(2rem, 4.5vw, 3.5rem); }
.page-hero.fv-compact-form { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: calc(clamp(1.5rem, 3.5vw, 2.5rem) + 24px); }
.fv-compact-form .page-hero__title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.fv-compact-form .page-hero__intro { font-size: 1.0625rem; }
.fv-compact-form .form-panel { max-width: 1040px; padding: clamp(1.1rem, 3vw, 1.75rem); }
.fv-compact-form .form-panel--split { gap: 1.5rem; }
.fv-compact-form .section-head { margin-bottom: 1rem; }
.fv-compact-form .section-title { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.fv-compact-form .section-intro { font-size: 1rem; }
.fv-compact-form .tick-list { font-size: 0.95rem; }
.fv-compact-form .tick-list li { margin-bottom: 0.3rem; }
.fv-compact-form .form--subscribe { gap: 0.85rem; font-size: 0.9375rem; }
.fv-compact-form .form__grid { gap: 0.75rem; }
.fv-compact-form .field__label { gap: 0.25rem; }
.fv-compact-form .field__text { font-size: 0.875rem; }
.fv-compact-form .field__input { min-height: 42px; padding: 0.45rem 0.8rem; font-size: 0.95rem; }
.fv-compact-form .choice-group { gap: 0.25rem; }
.fv-compact-form .choice-group legend { font-size: 0.875rem; margin-bottom: 0.3rem; }
.fv-compact-form .choice { font-size: 0.9rem; line-height: 1.4; gap: 0.5rem; }
.fv-compact-form .choice input { width: 1rem; height: 1rem; margin-top: 0.15rem; }
.fv-compact-form .choice--consent { padding: 0.7rem 0.85rem; font-size: 0.85rem; }
.fv-compact-form .captcha__placeholder { padding: 0.6rem 0.85rem; font-size: 0.85rem; }
.fv-compact-form .form__fine { font-size: 0.8rem; }
@media (min-width: 900px) {
  .fv-compact-form .form-panel--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.25rem; }
  .fv-compact-form .choice-group { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .fv-compact-form .choice-group legend { grid-column: 1 / -1; }
}
/* FlowLogicX event page (/events/<slug>): FlowLogicX prints this markup inside the theme header and footer */
.wm-event-detail { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; max-width: 1200px; margin-inline: auto; padding-block: clamp(2rem, 5vw, 4rem); padding-inline: clamp(1rem, 4vw, 2rem); }
.section .wm-event-detail { padding-inline: 0; padding-top: 0; }
@media (min-width: 900px) {
  .wm-event-detail { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.wm-event-detail h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.75rem; color: var(--purple-dark); }
.wm-event-detail-hero { border-radius: var(--radius); overflow: hidden; border: 6px solid var(--white); outline: 2px solid var(--marigold); box-shadow: var(--shadow); }
.wm-event-detail-hero img { display: block; width: 100%; height: auto; }
.wm-event-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 1.5rem; color: var(--ink-soft); font-weight: 500; }
.wm-event-meta > * { display: inline-flex; align-items: center; gap: 0.5rem; }
.wm-icon-calendar, .wm-icon-pin, .wm-icon-user { display: inline-block; width: 1.1em; text-align: center; color: var(--kumkum); font-style: normal; }
.wm-icon-calendar::before, .wm-icon-pin::before, .wm-icon-user::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.wm-icon-calendar::before { content: "\f133"; }
.wm-icon-pin::before { content: "\f3c5"; }
.wm-icon-user::before { content: "\f007"; }
.wm-event-description { line-height: 1.7; margin-bottom: 1.5rem; }
.wm-event-description h2 { font-size: 1.35rem; margin: 1.5rem 0 0.5rem; }
.wm-event-description ul { padding-left: 1.25rem; }
.wm-event-cta-btn, .wm-event-rsvp-form button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.65rem 1.5rem; border: 0; border-radius: 999px; background: var(--kumkum); color: var(--white); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.wm-event-cta-btn:hover, .wm-event-rsvp-form button:hover { background: var(--kumkum-dark, #8f0d24); color: var(--white); transform: translateY(-1px); }
.wm-event-add-to-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.95rem; color: var(--ink-soft); }
.wm-cal-link { display: inline-flex; align-items: center; padding: 0.3rem 0.85rem; border: 1.5px solid var(--purple); border-radius: 999px; color: var(--purple); font-weight: 600; text-decoration: none; }
.wm-cal-link:hover { background: var(--purple); color: var(--white); }
.wm-event-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.wm-gallery-item { border-radius: var(--radius-sm, 10px); overflow: hidden; box-shadow: var(--shadow); }
.wm-gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s; }
.wm-gallery-item:hover img { transform: scale(1.04); }
.wm-event-sponsors { max-width: 1200px; margin: 0 auto clamp(2rem, 5vw, 3rem); }
.wm-event-sponsors h2, .wm-event-rsvp-form h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.wm-event-sponsors-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.wm-event-sponsors-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.wm-event-sponsor-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.wm-event-sponsor-name { font-weight: 600; }
.wm-event-rsvp-form { display: grid; gap: 0.85rem; max-width: 560px; margin: 0 auto clamp(2rem, 5vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wm-event-rsvp-form label { display: grid; gap: 0.3rem; font-weight: 500; font-size: 0.95rem; }
.wm-event-rsvp-form input, .wm-event-rsvp-form textarea, .wm-event-rsvp-form select { width: 100%; min-height: 44px; padding: 0.5rem 0.85rem; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid #c4add9; border-radius: var(--radius-sm, 10px); }
.wm-event-rsvp-form input:focus, .wm-event-rsvp-form textarea:focus, .wm-event-rsvp-form select:focus { border-color: var(--purple); outline: 2px solid rgba(120, 60, 147, 0.25); outline-offset: 1px; }
.wm-event-rsvp-msg { margin: 0; padding: 0.75rem 1rem; border-radius: var(--radius-sm, 10px); background: rgba(46, 125, 50, 0.12); color: #1f6b2a; font-weight: 600; }
.wm-event-cancelled-banner { max-width: 1200px; margin: 0 auto 1.5rem; padding: 0.85rem 1.25rem; border-radius: var(--radius-sm, 10px); background: var(--kumkum); color: var(--white); font-weight: 700; text-align: center; letter-spacing: 0.02em; }
/* Donation campaigns (FlowLogicX collection): description may hold paragraphs and a list; optional progress */
.donate-card__desc > * { margin: 0 0 0.6rem; }
.donate-card__desc > :last-child { margin-bottom: 1rem; }
.donate-card__progress { margin: 0 0 1rem; }
.donate-card__progress progress { display: block; width: 100%; height: 10px; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.18); appearance: none; -webkit-appearance: none; }
.donate-card__progress progress::-webkit-progress-bar { background: rgba(255, 255, 255, 0.18); border-radius: 999px; }
.donate-card__progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--gold-soft), var(--marigold)); border-radius: 999px; }
.donate-card__progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--gold-soft), var(--marigold)); border-radius: 999px; }
.donate-card__figures { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0.45rem 0 0; font-size: 0.9rem; }
.donate-card__raised { font-weight: 700; color: var(--gold-soft); }
.donate-card__currency { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; opacity: 0.8; }
.contact-donate-band { padding-top: 0; }
.contact-donate-band .contact-donate { margin-top: 0; }
.deity-card__sub { margin: -0.15rem 0 0.35rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--purple); }
.deity-card__sub:empty { display: none; }
/* Board history (FlowLogicX team_terms): terms stack with spacing; initials show when a member has no photo */
.board-history .board-term + .board-term { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px dashed var(--line); }
.person__photo { position: relative; }
.person__initials { position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--purple); font-family: var(--font-display, serif); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; letter-spacing: 0.04em; }
.person__photo .person__img { position: relative; z-index: 1; }
.timeline__link[href=""] { display: none; }
/* Upcoming festival hours (FlowLogicX special_dates); the section hides itself when there are none */
.special-hours:not(:has(.special-hours__item)) { display: none; }
.special-hours__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.special-hours__item { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem 1.25rem 1.35rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--marigold); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.special-hours__item:hover { transform: translateY(-3px); }
.special-hours__item .date-badge { align-self: flex-start; }
.special-hours__name { font-size: 1.25rem; margin: 0.25rem 0 0; color: var(--purple-dark); }
.special-hours__hours { display: flex; align-items: center; gap: 0.45rem; margin: 0; font-weight: 600; color: var(--kumkum); font-size: 0.95rem; line-height: 1.4; }
.special-hours__text { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.special-hours .container > * { max-width: 46rem; margin-inline: auto; }
/* ---------- hero: left-side ornament (fills the navy space beside the darshan photo) ---------- */
.hero__ornament { display: none; }
@media (min-width: 1024px) {
  .hero__ornament { display: block; position: absolute; inset: 0 auto 0 0; width: min(46%, 760px); z-index: 1; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
  .hero__glow { position: absolute; left: -12%; top: 50%; width: 70vh; height: 70vh; max-width: 720px; max-height: 720px; transform: translate(-20%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(246, 217, 139, 0.22) 0%, rgba(197, 120, 200, 0.12) 38%, rgba(20, 16, 58, 0) 70%); }
  .hero__mandala { position: absolute; left: 0; top: 50%; width: min(92vh, 860px); height: auto; aspect-ratio: 1; translate: -50% -50%; opacity: 0.28; }
  .hero__mandala--inner { width: min(46vh, 430px); opacity: 0.32; }
  .hero__stars { position: absolute; inset: 0; opacity: 0.55; background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff8ec 50%, transparent 51%),
      radial-gradient(1px 1px at 34% 9%, #f6d98b 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 58% 26%, #fff8ec 50%, transparent 51%),
      radial-gradient(1px 1px at 22% 44%, #f6d98b 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 7% 71%, #fff8ec 50%, transparent 51%),
      radial-gradient(1px 1px at 41% 83%, #f6d98b 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 66% 64%, #fff8ec 50%, transparent 51%),
      radial-gradient(1px 1px at 29% 92%, #fff8ec 50%, transparent 51%),
      radial-gradient(1px 1px at 52% 48%, #f6d98b 50%, transparent 51%),
      radial-gradient(1.5px 1.5px at 3% 35%, #f6d98b 50%, transparent 51%); }
  .hero__ember { position: absolute; left: var(--x); bottom: -10px; width: 5px; height: 5px; border-radius: 50%; opacity: 0; background: #ffd27a; box-shadow: 0 0 8px 2px rgba(255, 190, 90, 0.7); }
  .hero__ember:nth-child(5) { --x: 8%; --d: 11s; --delay: 0s; }
  .hero__ember:nth-child(6) { --x: 18%; --d: 14s; --delay: 3s; }
  .hero__ember:nth-child(7) { --x: 27%; --d: 12s; --delay: 6s; }
  .hero__ember:nth-child(8) { --x: 4%; --d: 16s; --delay: 8s; }
  .hero__ember:nth-child(9) { --x: 14%; --d: 13s; --delay: 1.5s; }
  .hero__ember:nth-child(10) { --x: 22%; --d: 15s; --delay: 10s; }
  .hero__ember:nth-child(11) { --x: 31%; --d: 12.5s; --delay: 4.5s; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero__mandala { animation: hero-mandala-turn 160s linear infinite; }
  .hero__mandala--inner { animation: hero-mandala-turn 90s linear infinite reverse, hero-mandala-breathe 7s ease-in-out infinite; }
  .hero__glow { animation: hero-glow 9s ease-in-out infinite; }
  .hero__stars { animation: hero-twinkle 5s ease-in-out infinite alternate; }
  .hero__ember { animation: hero-ember var(--d) linear var(--delay) infinite; }
}
@keyframes hero-mandala-turn { to { rotate: 360deg; } }
@keyframes hero-mandala-breathe { 0%, 100% { opacity: 0.24; } 50% { opacity: 0.4; } }
@keyframes hero-glow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes hero-twinkle { from { opacity: 0.3; } to { opacity: 0.7; } }
@keyframes hero-ember {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  10% { opacity: 0.9; }
  50% { transform: translate(18px, -45vh) scale(1); opacity: 0.7; }
  100% { transform: translate(-10px, -95vh) scale(0.4); opacity: 0; }
}
/* ---------- inner-page hero: standard height on every page ----------
   Top padding always clears the toran (its height changes with the admin toran setting),
   with equal breathing room above and below the heading. */
main > .section.page-hero { padding-top: calc(var(--toran-h, 28px) + clamp(2.5rem, 5vw, 4.25rem)); padding-bottom: calc(clamp(2.5rem, 5vw, 4.25rem) + 26px); min-height: clamp(260px, 32vh, 360px); display: flex; align-items: center; }
main > .section.page-hero > .container { width: 100%; }

/* ---------- festival cards ("Upcoming festival hours") ----------
   Each festival gets its own themed, animated art panel (built by festival-cards.js). */
.special-hours .container > .special-hours__list { max-width: 72rem; }
.special-hours__list:has(.fest-card) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 22rem)); justify-content: center; gap: 1.5rem; }
.fest-card { --fc-a: #4a2c74; --fc-b: #783c93; --fc-accent: #f6d98b; padding: 0; gap: 0; overflow: hidden; border: 0; border-top: 0; box-shadow: 0 18px 40px -22px rgba(38, 34, 98, 0.55); transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s; }
.fest-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(38, 34, 98, 0.65); }
.fest-card__art { position: relative; height: 170px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 70% 10%, var(--fc-b), var(--fc-a)); color: var(--fc-accent); }
.fest-card__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; z-index: 3; background: url("/assets/petal-white.38722a13bcac.webp") repeat-x center bottom / auto 22px; opacity: 0.9; }
.fest-card__fx { position: absolute; inset: 0; z-index: 1; }
.fest-card__fx i, .fest-card__fx span { position: absolute; display: block; font-style: normal; }
.fest-card__date { position: absolute; z-index: 4; left: 1rem; top: 1rem; width: 58px; padding: 0.35rem 0 0.4rem; text-align: center; border-radius: 12px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.45); line-height: 1; }
.fest-card__day { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--kumkum); }
.fest-card__mon { display: block; margin-top: 0.15rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-dark); }
.fest-card__count { position: absolute; z-index: 4; right: 0.9rem; top: 1rem; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fest-card__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1.25rem 1.3rem; flex: 1; background: var(--white); }
.fest-card__body .date-badge { margin: 0; padding: 0; background: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.fest-card .special-hours__name { margin: 0; font-size: 1.4rem; color: var(--purple-dark); transition: color 0.3s, transform 0.3s; }
.fest-card:hover .special-hours__name { color: var(--kumkum); transform: translateX(4px); }
.fest-card .special-hours__hours { margin-top: 0.15rem; font-size: 0.9rem; }
.fest-card .special-hours__text { font-size: 0.9rem; line-height: 1.55; }

/* shared art pieces */
.fc-symbol { z-index: 2; right: 50%; bottom: 18px; width: 64px; height: 110px; translate: 50% 0; filter: drop-shadow(0 0 10px rgba(255, 220, 150, 0.55)); }
.fc-symbol svg, .fc-moon svg, .fc-kite svg, .fc-leaf svg, .fc-diya svg { width: 100%; height: 100%; display: block; }
.fc-symbol--right { right: 14%; translate: 0 0; width: 96px; height: 96px; bottom: 28px; }
.fc-symbol--wide { width: 120px; height: 70px; bottom: 34px; }
.fc-star { width: 3px; height: 3px; border-radius: 50%; background: #fff; left: calc(6% + var(--i) * 6.6%); top: calc(38% + sin(calc(var(--i) * 2.3rad)) * 28%); box-shadow: 0 0 6px #fff; }
.fc-moon { width: 54px; height: 54px; right: 16%; top: 16px; filter: drop-shadow(0 0 14px rgba(255, 240, 190, 0.9)); }
.fc-cloud { width: 120px; height: 120px; border-radius: 50%; filter: blur(18px); opacity: 0.85; left: calc(var(--i) * 17% - 8%); top: calc(10% + sin(calc(var(--i) * 1.9rad)) * 30%); }
.fc-cloud:nth-child(6n+1) { background: #ff4fa3; } .fc-cloud:nth-child(6n+2) { background: #ffd23f; } .fc-cloud:nth-child(6n+3) { background: #2ec4b6; }
.fc-cloud:nth-child(6n+4) { background: #5b5bff; } .fc-cloud:nth-child(6n+5) { background: #ff7a2f; } .fc-cloud:nth-child(6n) { background: #8ce04b; }
.fc-dot { width: 6px; height: 6px; border-radius: 50%; left: calc(4% + var(--i) * 6%); bottom: 10px; background: hsl(calc(var(--i) * 47), 90%, 62%); }
.fc-dot--gold { background: #ffd27a; box-shadow: 0 0 8px #ffbf5a; }
.fc-fire { left: 50%; bottom: 14px; width: 120px; height: 120px; translate: -50% 0; z-index: 2; }
.fc-flame { bottom: 0; left: calc(10px + var(--i) * 20px); width: 34px; height: calc(84px + sin(calc(var(--i) * 2.1rad)) * 20px); border-radius: 50% 50% 20% 20% / 70% 70% 30% 30%;
  background: radial-gradient(ellipse at 50% 80%, #fff3b0 0 18%, #ffb52e 40%, #ff5a1f 70%, rgba(255, 60, 20, 0) 75%); transform-origin: 50% 100%; filter: blur(0.5px); mix-blend-mode: screen; }
.fc-ember { width: 4px; height: 4px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 6px #ff9a3c; left: calc(30% + var(--i) * 4%); bottom: 30px; opacity: 0; }
.fc-rays { inset: -60%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.18) 0 6deg, transparent 6deg 18deg); }
.fc-sun { width: 84px; height: 84px; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, #fff6d0 0 30%, #ffd166 55%, rgba(255, 180, 60, 0) 72%); }
.fc-diyas { left: 0; right: 0; bottom: 18px; display: flex !important; justify-content: center; gap: 14px; z-index: 2; }
.fc-diya { position: relative !important; width: 40px; height: 26px; }
.fc-diya__flame { left: 50%; top: -20px; width: 12px; height: 22px; translate: -50% 0; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: radial-gradient(ellipse at 50% 75%, #fff 0 20%, #ffd24a 45%, #ff7a1a 75%, transparent 78%); box-shadow: 0 0 18px 6px rgba(255, 190, 70, 0.5); transform-origin: 50% 100%; }
.fc-spark { width: 3px; height: 3px; border-radius: 50%; background: #fff2c2; box-shadow: 0 0 6px 1px #ffd27a; left: calc(5% + var(--i) * 8%); top: calc(32% + sin(calc(var(--i) * 2.7rad)) * 24%); }
.fc-ring { left: 50%; top: 50%; width: 150px; height: 150px; translate: -50% -50%; border-radius: 50%; border: 2px dashed rgba(246, 217, 139, 0.6); }
.fc-ring--2 { width: 96px; height: 96px; border-style: dotted; border-width: 3px; }
.fc-petal { left: 50%; top: 50%; width: 14px; height: 38px; margin: -46px 0 0 -7px; border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%; background: linear-gradient(#ffd27a, #ff7a2f); transform-origin: 50% 46px; rotate: calc(var(--i) * 40deg); }
.fc-note { color: #d9f3e8; font-size: 1.1rem; left: calc(8% + var(--i) * 11%); bottom: 10px; opacity: 0; }
.fc-kite { width: 46px; height: 70px; left: calc(14% + var(--i) * 30%); top: calc(26% + sin(calc(var(--i) * 3rad)) * 14%); }
.fc-kite:nth-child(1) { color: #ff4f7b; } .fc-kite:nth-child(2) { color: #ffd23f; } .fc-kite:nth-child(3) { color: #2ec4b6; }
.fc-leaf { width: 22px; height: 33px; left: calc(6% + var(--i) * 13%); top: -40px; }

/* per-festival palettes */
.fest-card--shivaratri { --fc-a: #0b0f33; --fc-b: #23306b; }
.fest-card--holi { --fc-a: #fff4fa; --fc-b: #ffe9c7; }
.fest-card--holi .fest-card__count { background: rgba(60, 20, 70, 0.45); }
.fest-card--lohri, .fest-card--dussehra, .fest-card--holika { --fc-a: #2a0d12; --fc-b: #7a1d1d; }
.fest-card--ramnavami { --fc-a: #c94f0c; --fc-b: #f6a531; }
.fest-card--hanuman { --fc-a: #a8320b; --fc-b: #f08a24; }
.fest-card--diwali, .fest-card--newyear { --fc-a: #1b0f3c; --fc-b: #4a2c74; }
.fest-card--navratri, .fest-card--karwa { --fc-a: #6d0a1f; --fc-b: #c2183a; }
.fest-card--janmashtami { --fc-a: #06334a; --fc-b: #0f7c86; }
.fest-card--ganesh { --fc-a: #b8400f; --fc-b: #f28c28; }
.fest-card--sankranti { --fc-a: #4fa8e8; --fc-b: #bfe6ff; }
.fest-card--tulsi { --fc-a: #1f5e2e; --fc-b: #6db56e; }
.fest-card--raksha { --fc-a: #8a1450; --fc-b: #e3456b; }

/* motion (only when visitors allow it) */
@media (prefers-reduced-motion: no-preference) {
  .fc-star { animation: fc-twinkle 2.6s ease-in-out calc(var(--i) * -0.37s) infinite alternate; }
  .fc-moon { animation: fc-glow 5s ease-in-out infinite; }
  .fc-symbol--sway { animation: fc-sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
  .fc-symbol--bob { animation: fc-bob 3.6s ease-in-out infinite; }
  .fc-cloud { animation: fc-cloud 7s ease-in-out calc(var(--i) * -1.1s) infinite alternate; }
  .fc-dot { animation: fc-rise 4.5s ease-in calc(var(--i) * -0.3s) infinite; }
  .fc-flame { animation: fc-flicker 0.9s ease-in-out calc(var(--i) * -0.17s) infinite alternate; }
  .fc-ember { animation: fc-ember 3.2s linear calc(var(--i) * -0.33s) infinite; }
  .fc-rays { animation: fc-spin 40s linear infinite; }
  .fc-sun { animation: fc-glow 4s ease-in-out infinite; }
  .fc-diya__flame { animation: fc-flicker 0.8s ease-in-out calc(var(--i) * -0.2s) infinite alternate; }
  .fc-spark { animation: fc-twinkle 1.6s ease-in-out calc(var(--i) * -0.21s) infinite alternate; }
  .fc-ring { animation: fc-spin 18s linear infinite; }
  .fc-ring--2 { animation-duration: 11s; animation-direction: reverse; }
  .fc-petal { animation: fc-petal 3s ease-in-out calc(var(--i) * -0.33s) infinite; }
  .fc-note { animation: fc-note 5s ease-out calc(var(--i) * -0.62s) infinite; }
  .fc-kite { animation: fc-kite 4.5s ease-in-out calc(var(--i) * -1.4s) infinite alternate; }
  .fc-leaf { animation: fc-leaf 7s linear calc(var(--i) * -1s) infinite; }
  .fest-card:hover .fc-rays, .fest-card:hover .fc-ring { animation-duration: 8s; }
}
@keyframes fc-twinkle { from { opacity: 0.2; transform: scale(0.6); } to { opacity: 1; transform: scale(1.2); } }
@keyframes fc-glow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 236, 180, 0.6)); opacity: 0.9; } 50% { filter: drop-shadow(0 0 22px rgba(255, 236, 180, 1)); opacity: 1; } }
@keyframes fc-sway { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
@keyframes fc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fc-cloud { from { transform: translate(0, 0) scale(0.85); } to { transform: translate(18px, 10px) scale(1.15); } }
@keyframes fc-rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(14px, -150px); opacity: 0; } }
@keyframes fc-flicker { from { transform: scaleY(0.9) scaleX(1.05) rotate(-3deg); opacity: 0.85; } to { transform: scaleY(1.12) scaleX(0.92) rotate(3deg); opacity: 1; } }
@keyframes fc-ember { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(calc((var(--i) - 5) * 6px), -140px); opacity: 0; } }
@keyframes fc-spin { to { rotate: 360deg; } }
@keyframes fc-petal { 0%, 100% { opacity: 0.55; scale: 0.9; } 50% { opacity: 1; scale: 1.08; } }
@keyframes fc-note { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(20px, -140px) rotate(15deg); opacity: 0; } }
@keyframes fc-kite { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(12px, -10px) rotate(8deg); } }
@keyframes fc-leaf { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(30px, 230px) rotate(240deg); opacity: 0.2; } }

/* festival cards: deity artwork (same images as the festival previews) */
.fest-card__art { height: 190px; }
.fc-halo { left: 50%; bottom: 10px; width: 190px; height: 190px; translate: -50% 18%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(255, 226, 150, 0.55) 0%, rgba(255, 190, 90, 0.22) 40%, rgba(255, 190, 90, 0) 70%); }
.fest-card--shivaratri .fc-halo { background: radial-gradient(circle, rgba(170, 205, 255, 0.55) 0%, rgba(120, 160, 255, 0.2) 40%, rgba(120, 160, 255, 0) 70%); }
.fc-deity { z-index: 2; left: 50%; bottom: 20px; height: 160px; translate: -50% 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 100%; }
.fc-deity img { height: 100%; width: auto; display: block; }
.fc-deity--hanuman { height: 158px; }
.fest-card:hover .fc-deity { transform: scale(1.06); }
.fest-card--ganesh .fc-rays, .fest-card--hanuman .fc-rays { inset: -80%; }
@media (prefers-reduced-motion: no-preference) {
  .fc-halo { animation: fc-halo 4.5s ease-in-out infinite; }
  .fc-deity { animation: fc-float 6s ease-in-out infinite; }
}
@keyframes fc-halo { 0%, 100% { opacity: 0.7; scale: 0.94; } 50% { opacity: 1; scale: 1.06; } }
@keyframes fc-float { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -4px; } }

main > section[hidden] { display: none !important; }
/* image halo tint follows the festival palette */
.fest-card { --fc-halo: 255, 214, 130; }
.fest-card--shivaratri, .fest-card--janmashtami { --fc-halo: 170, 205, 255; }
.fest-card--navratri, .fest-card--karwa, .fest-card--raksha { --fc-halo: 255, 170, 190; }
.fest-card--tulsi { --fc-halo: 200, 255, 190; }
.fc-halo, .fest-card--shivaratri .fc-halo { background: radial-gradient(circle, rgba(var(--fc-halo), 0.55) 0%, rgba(var(--fc-halo), 0.2) 40%, rgba(var(--fc-halo), 0) 70%); }
.fest-card--has-image .fc-sun { opacity: 0.55; }

/* ==========================================================================
   FlowLogicX additions (FLX-2427, ported onto the 2026-11-27 design export).
   Everything above this line is the designer's file, unchanged.
   ========================================================================== */

/* ---------- motion controls ----------
   Block settings are classes on the block root. A missing class keeps the design's own look:
   om_ring om-turn | om-still | om-hidden and om_speed om-normal | om-slow (2x) | om-fast (0.5x) on the hero
   (the mandala ornament), the page hero and the call-to-action band (their Om rings);
   reveal reveal-each | reveal-stagger | reveal-all | reveal-off on the hero, text and picture, icon card,
   timeline and call-to-action bands. Website > Settings > Animations off puts motion-off on body. */
.hero, .page-hero, .cta { --om-speed: 1; }
.om-normal { --om-speed: 1; }
.om-slow { --om-speed: 2; }
.om-fast { --om-speed: 0.5; }
.hero.om-hidden .hero__ornament, .hero.om-hidden::before,
.page-hero.om-hidden::before,
.cta.om-hidden .tone-purple::before, .cta.om-hidden .tone-red::before, .cta.om-hidden .tone-saffron::before,
.cta.om-hidden .tone-purple::after, .cta.om-hidden .tone-red::after, .cta.om-hidden .tone-saffron::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: om-turn calc(120s * var(--om-speed, 1)) linear infinite, om-breathe 8s ease-in-out infinite; }
  .page-hero::before { animation: om-turn calc(90s * var(--om-speed, 1)) linear infinite, om-hero-glow 6s ease-in-out infinite; }
  .cta .tone-purple::after, .cta .tone-red::after, .cta .tone-saffron::after { animation: om-turn calc(150s * var(--om-speed, 1)) linear infinite; }
  .cta .tone-purple::before, .cta .tone-red::before, .cta .tone-saffron::before { animation: om-turn calc(150s * var(--om-speed, 1)) linear infinite reverse; }
  .hero.om-still::before, .page-hero.om-still::before,
  .cta.om-still .tone-purple::before, .cta.om-still .tone-red::before, .cta.om-still .tone-saffron::before,
  .cta.om-still .tone-purple::after, .cta.om-still .tone-red::after, .cta.om-still .tone-saffron::after { animation: none; will-change: auto; }
  [data-reveal="shown"] { transition: opacity 0.7s ease var(--reveal-delay, 0s), transform 0.7s ease var(--reveal-delay, 0s); }
  .reveal-off [data-reveal="pending"] { opacity: 1; transform: none; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero__mandala { animation: hero-mandala-turn calc(160s * var(--om-speed, 1)) linear infinite; }
  .hero__mandala--inner { animation: hero-mandala-turn calc(90s * var(--om-speed, 1)) linear infinite reverse, hero-mandala-breathe 7s ease-in-out infinite; }
  .hero.om-still .hero__mandala, .hero.om-still .hero__glow, .hero.om-still .hero__stars, .hero.om-still .hero__ember { animation: none; }
}
.fc-still, .fc-still *, .fc-still *::before, .fc-still *::after { animation: none !important; }
html:has(> body.motion-off) { scroll-behavior: auto; }
body.motion-off *, body.motion-off *::before, body.motion-off *::after { transition: none !important; animation: none !important; }
body.motion-off [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- empty states (FLX-2439) ---------- */
.donate-empty { margin: 0; padding: 1.25rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); }
.event-empty--block { margin: 0; }

/* ---------- campaign points (FLX-2438): the design's tick list under the description ---------- */
.donate-card__desc [data-flx-list] { margin-top: 0.5rem; }

/* ---------- the theme's own /events/{slug} page (FLX-2437, block fvtemple_event_detail) ---------- */
.event-detail__sessions { margin: 0 0 1.5rem; }
.event-detail__sessions .wm-event-sessions-list { --flx-line: var(--line); --flx-radius-sm: var(--radius-sm); background: var(--white); }
.event-detail__tz { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.event-detail__gallery { margin: 0 0 1.5rem; }
.event-detail .wm-event-cancelled-banner { margin-top: 1rem; background: var(--cream-2); color: var(--kumkum-dark); border-color: var(--kumkum); }
.event-detail__rsvp { --flx-accent: var(--kumkum); --flx-on-accent: var(--white); --flx-line: var(--line); --flx-radius: var(--radius); --flx-radius-sm: var(--radius-sm); margin-top: 2rem; }
.event-detail__rsvp .wm-event-rsvp-form { background: var(--white); }
.event-detail__rsvp .wm-event-rsvp-form h2 { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; }
.event-detail__sponsors { margin-top: 2rem; }
.event-detail__subhead { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; margin-bottom: 1rem; }
.event-detail__sponsors .wm-event-sponsors-list { margin: 0; padding: 0; }
.event-detail__sponsor { list-style: none; }
.event-detail__sponsor a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--purple-dark); text-decoration: none; }
/* FLX-2480 - the event page reads at 16px beside the poster, not the 19px body size, with a smaller title. */
.event-detail .page-hero__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.event-detail__meta { font-size: 1rem; }
.event-detail__info .prose { font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.event-detail__info .prose h2 { font-size: 1.3rem; }
.event-detail__info .prose h3 { font-size: 1.15rem; }
.event-detail__info .prose :is(h4, h5, h6) { font-size: 1rem; }
.event-detail__info .prose li > p { margin: 0; }
.event-detail__info .prose img { max-width: 100%; height: auto; }
.event-detail__info .prose table { display: block; overflow-x: auto; }
