/* ==========================================================================
   SRIDHAM Temple (v4 · Peacock & Brass, photos & sample content) — Common Stylesheet
   One stylesheet for every page. Mobile-first. No frameworks.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Typography · 5 Buttons ·
   6 Top bar & Header · 7 Heroes · 8 Components · 9 Page modules ·
   10 Forms · 11 Footer · 12 Utilities & Motion
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --primary: #0E4A52;        /* peacock teal: headings, nav, dark bands */
  --primary-deep: #082F35;   /* deep teal: hero, footer */
  --accent: #B8322A;         /* kumkum red: primary buttons, highlights */
  --accent-dark: #93241C;
  --brass: #C9973E;          /* brass: borders, ornaments */
  --brass-soft: #EBD39C;
  --bg: #F7F2E8;             /* parchment: page background */
  --bg-alt: #EDE4D3;         /* sandstone: alternate sections */
  --ink: #15282C;            /* body text */
  --surface: #FFFDF8;        /* cards and panels */
  --muted: #56676A;
  --line: rgba(201, 151, 62, .42);
  --f-brand: "Marcellus", "Trajan Pro", Georgia, serif;
  --f-display: "Lora", Georgia, serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  --f-telugu: "Tiro Telugu", "Noto Serif Telugu", serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(8, 47, 53, .08);
  --shadow: 0 16px 40px -18px rgba(8, 47, 53, .4);
  --shadow-lg: 0 30px 70px -30px rgba(8, 47, 53, .6);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --header-h: 72px;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.7;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass-soft); color: var(--primary-deep); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--primary); color: var(--bg); padding: .7rem 1.1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1440px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--ivory { background: var(--bg); }
.section--pearl { background: var(--surface); }
.section--sand { background: var(--bg-alt) url("../assets/patterns/texture.svg"); }
.section--maroon, .section--deep { background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--kumkum { background: var(--accent) url("../assets/patterns/texture.svg"); color: #FFF6EC; }
.section--kumkum h2, .section--deep h2, .section--deep h3 { color: #FFF6EC; }
.section--deep p, .section--kumkum p { color: rgba(255, 246, 236, .86); }
.section--maroon h2, .section--maroon h3 { color: #FFF6EC; }
.section--maroon p { color: rgba(255, 246, 236, .86); }
.section--maroon a:not(.btn) { color: var(--brass-soft); }
.section--mandala { overflow: hidden; }
.section--mandala::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -160px;
  background: url("../assets/patterns/mandala.svg") center/contain no-repeat; opacity: .55; pointer-events: none;
}
.section--mandala.mandala-left::before { right: auto; left: -240px; top: auto; bottom: -200px; }
.section > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 2rem); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(1.1rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split--reverse > :first-child { order: 2; }
}
.with-sidebar { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 1000px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .with-sidebar .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; color: var(--primary); font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--f-brand); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 600; }
h4 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); }
.section--maroon .lead { color: rgba(255, 246, 236, .82); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin-bottom: .9rem;
  font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.eyebrow::after { display: none; }
.section--maroon .eyebrow, .section--deep .eyebrow, .section--kumkum .eyebrow, .hero .eyebrow, .page-hero--plain .eyebrow { color: var(--brass-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(2.2rem, 5vw, 3.6rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .eyebrow::after { display: none; }
.section-head .divider { margin-top: 1rem; }
.mantra { font-family: var(--f-deva); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.9; color: var(--primary); }
.mantra--light { color: var(--brass-soft); }
.telugu { font-family: var(--f-telugu); }
.translit { font-family: var(--f-display); font-style: italic; font-size: 1.12rem; color: var(--muted); }
.quote { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; font-style: italic; color: var(--primary); margin: 0; }
.quote cite { display: block; margin-top: .8rem; font-family: var(--f-body); font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--brass); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.prose > p:first-of-type::first-letter { font-family: var(--f-brand); float: left; font-size: 3.6em; line-height: .9; padding: .08em .12em 0 0; color: var(--primary); }

/* Ornamental divider */
.divider { height: 26px; background: url("../assets/patterns/divider.svg") center/auto 100% no-repeat; margin: .5rem auto 0; max-width: 240px; }
.divider--left { background-position: left center; margin-left: 0; }
.ornament-rule { border: 0; height: 40px; background: url("../assets/patterns/divider.svg") center/auto 100% no-repeat; margin: clamp(2rem, 5vw, 3.5rem) auto; }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
  --bg: var(--accent); --fg: #fff; --bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .75rem 1.45rem; border-radius: 4px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: .98rem; letter-spacing: .01em; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(147, 36, 28, .6); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--accent-dark); --bd: var(--accent-dark); }
.btn--maroon { --bg: var(--primary); --bd: var(--primary); }
.btn--maroon:hover { --bg: var(--primary-deep); box-shadow: 0 12px 26px -12px rgba(8, 47, 53, .7); }
.btn--outline { --bg: transparent; --fg: var(--primary); --bd: var(--brass); }
.btn--outline:hover { --bg: var(--primary); --fg: var(--bg); --bd: var(--primary); }
.btn--light { --bg: #FFF6EC; --fg: var(--primary-deep); --bd: #FFF6EC; }
.btn--outline-light { --bg: transparent; --fg: #FFF6EC; --bd: rgba(255, 246, 236, .6); }
.btn--outline-light:hover { --bg: #FFF6EC; --fg: var(--primary-deep); }
.btn--ghost { --bg: transparent; --fg: var(--primary); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--primary); --fg: #FFF6EC; --bd: var(--primary); }
.btn--brass { --bg: var(--brass); --bd: var(--brass); --fg: var(--primary-deep); }
.btn--light:hover { --bg: var(--brass-soft); --bd: var(--brass-soft); }
.btn--gold { --bg: var(--brass); --bd: var(--brass); --fg: var(--primary-deep); }
.btn--gold:hover { --bg: var(--brass-soft); --bd: var(--brass-soft); }
.btn--sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--primary); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 6. Top bar & header ---------------------------------------------------- */
.topbar { background: var(--primary-deep); color: rgba(255, 246, 236, .82); font-size: .82rem; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--brass-soft); }
.topbar__info { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__info .icon { color: var(--brass); }
.topbar__right { display: flex; align-items: center; gap: .9rem; }
.topbar select { background: transparent; border: 1px solid rgba(201, 151, 62, .5); border-radius: 4px; padding: .15rem .4rem; font-size: .78rem; color: #FFF6EC; }
.topbar select option { color: var(--ink); }
.topbar__info .hide-sm { display: none; }
@media (max-width: 767px) { .topbar__right .social, .topbar__info .hide-md { display: none; } }
@media (min-width: 1024px) { .topbar__info .hide-sm { display: inline-flex; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: inset 0 -1px 0 var(--line); transition: box-shadow .4s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-top: 1px solid var(--line); pointer-events: none; }
.header-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; min-height: var(--header-h); transition: min-height .4s var(--ease); }
.header-info, .header-cta { display: none; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; transition: width .4s, height .4s; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-brand); font-size: 1.55rem; letter-spacing: .08em; color: var(--primary); }
.brand__sub { font-family: var(--f-body); font-size: .66rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--accent); margin-top: .25rem; }
.brand__tag { font-family: var(--f-display); font-style: italic; font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.brand--stacked .brand__tag { display: none; }
.nav-toggle { display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 .9rem; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--primary); font-weight: 500; justify-self: end; }
.nav-toggle .icon { width: 22px; height: 22px; }
.site-header.is-stuck { box-shadow: inset 0 -1px 0 var(--line), 0 10px 30px -20px rgba(8, 47, 53, .5); }

@media (min-width: 1200px) {
  .header-top { grid-template-columns: 1fr auto 1fr; min-height: 104px; }
  .header-info { display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; }
  .header-info__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .header-info a { color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
  .header-cta { display: flex; gap: .55rem; justify-content: flex-end; }
  .nav-toggle { display: none; }
  .brand--stacked { flex-direction: column; gap: .35rem; text-align: center; }
  .brand--stacked img { width: 52px; height: 52px; }
  .brand--stacked .brand__text { align-items: center; }
  .site-header.is-stuck .header-top { min-height: 62px; }
  .site-header.is-stuck .brand--stacked { flex-direction: row; }
  .site-header.is-stuck .brand--stacked img { width: 36px; height: 36px; }
  .site-header.is-stuck .brand--stacked .brand__text { align-items: flex-start; }
  .site-header.is-stuck .header-info__label { display: none; }
}

/* Navigation: full-screen drawer below 1200px, centred bar above */
.main-nav { position: fixed; inset: 0 auto 0 0; width: min(420px, 92vw); background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: #FFF6EC; z-index: 70; transform: translateX(-100%); transition: transform .45s var(--ease); overflow-y: auto; visibility: hidden; }
.main-nav.is-open { transform: none; visibility: visible; }
.main-nav__wrap { padding-block: 1.2rem 2rem; }
.main-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.main-nav__head .brand__name { color: #FFF6EC; }
.main-nav__head .brand__sub { color: var(--brass-soft); }
.main-nav__close { width: 44px; height: 44px; border-radius: 4px; border: 1px solid rgba(201, 151, 62, .5); background: transparent; color: #FFF6EC; display: grid; place-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid rgba(201, 151, 62, .25); }
.nav-link, .nav-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .4rem; padding: 1rem .2rem; border: 0; background: none; font-family: var(--f-brand); font-size: 1.2rem; color: #FFF6EC; text-decoration: none; text-align: left; white-space: nowrap; }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--brass-soft); }
.nav-trigger .icon { transition: transform .3s; }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown { display: none; padding: 0 0 1rem .6rem; }
.dropdown.is-open { display: block; }
.dropdown a { display: block; padding: .5rem .4rem; color: rgba(255, 246, 236, .78); text-decoration: none; border-radius: 4px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { color: var(--brass-soft); }
.dropdown__group-title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: .8rem 0 .2rem .4rem; }
.dropdown__feature { display: none; }
.main-nav__cta { display: grid; gap: .7rem; margin-top: 1.6rem; }
.main-nav__mantra { font-family: var(--f-deva); color: var(--brass-soft); text-align: center; margin: 1.6rem 0 0; font-size: 1.1rem; }
.nav-overlay { position: fixed; inset: 0; background: rgba(5, 20, 23, .55); z-index: 65; opacity: 0; visibility: hidden; transition: opacity .4s; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1200px) {
  .main-nav__head, .main-nav__cta, .main-nav__mantra, .nav-overlay { display: none; }
  .main-nav { position: static; transform: none; visibility: visible; width: auto; background: none; color: inherit; overflow: visible; border-top: 1px solid var(--line); }
  .main-nav__wrap { padding-block: 0; }
  .nav-list { display: flex; justify-content: center; align-items: center; gap: .3rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link, .nav-trigger { font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--ink); padding: .9rem .85rem; position: relative; }
  .nav-link::after, .nav-trigger::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 6px; background: var(--accent); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .3s var(--ease); }
  .nav-link:hover, .nav-trigger:hover, .nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--accent); }
  .nav-link:hover::after, .nav-trigger:hover::after, .nav-link[aria-current="page"]::after, .nav-trigger.is-current::after { transform: translateX(-50%) rotate(45deg) scale(1); }
  .dropdown { position: absolute; top: 100%; left: 50%; min-width: 250px; padding: .8rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); display: block; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .dropdown a { color: var(--ink); }
  .dropdown a:hover, .dropdown a[aria-current="page"] { color: var(--accent); background: var(--bg); }
  .dropdown__group-title { color: var(--accent); }
  .has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dropdown--mega { display: grid; grid-template-columns: 1fr 1fr 240px; gap: 1rem; width: 720px; padding: 1.2rem; }
  .dropdown--mega .dropdown__feature { display: block; border-radius: var(--radius); overflow: hidden; background: var(--primary); color: #FFF6EC; text-decoration: none; padding: 0; }
  .dropdown__feature img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .dropdown__feature span { display: block; padding: .8rem 1rem; font-family: var(--f-brand); font-size: 1.1rem; }
  .dropdown--mega .dropdown__feature:hover { background: var(--primary-deep); color: #FFF6EC; }
}

/* 7. Heroes -------------------------------------------------------------- */
.hero { position: relative; background: var(--primary-deep); color: #FFF6EC; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: -320px; top: -260px; background: url("../assets/patterns/mandala.svg") center/contain no-repeat; opacity: .45; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--brass) 0 18px, transparent 18px 26px, var(--accent) 26px 34px, transparent 34px 42px); opacity: .9; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__mantra { font-family: var(--f-deva); color: var(--brass-soft); font-size: clamp(1rem, 1.8vw, 1.25rem); margin-bottom: 1.2rem; min-height: 1.9em; transition: opacity .6s; padding-left: 1rem; border-left: 2px solid var(--accent); }
.hero h1 { color: #FFF6EC; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; margin-bottom: .2em; }
.hero__kicker { display: block; font-family: var(--f-display); font-style: italic; font-size: .38em; color: var(--brass-soft); letter-spacing: 0; margin-bottom: .35em; }
.hero__sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--brass-soft); margin-bottom: 1rem; }
.hero__desc { max-width: 560px; font-size: 1.08rem; color: rgba(255, 246, 236, .86); margin-bottom: 1.8rem; }
.hero__links { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.4rem; }
.hero__links a { color: #FFF6EC; display: inline-flex; gap: .45rem; align-items: center; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; }
.hero__links a:hover { color: var(--brass-soft); }
.hero__visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.hero__arch { position: relative; aspect-ratio: 4/5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; border: 1px solid var(--brass); box-shadow: 0 0 0 10px rgba(201, 151, 62, .12), var(--shadow-lg); background: var(--primary); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s linear; }
.hero__slide.is-active img, .hero__slide.is-active video { transform: scale(1); }
.hero__festival { position: relative; z-index: 2; margin: -4.5rem 1rem 0; background: var(--surface); color: var(--ink); padding: 1.3rem 1.4rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 3px solid var(--accent); }
@media (min-width: 1100px) { .hero__festival { position: absolute; left: -4.5rem; bottom: 5.5rem; width: 300px; margin: 0; } }
.hero__festival .eyebrow { color: var(--accent); margin-bottom: .4rem; }
.hero__festival-name { font-size: 1.45rem; color: var(--primary); margin-bottom: .2rem; }
.hero__festival .small { margin-bottom: .8rem; color: var(--muted); }
.hero__festival .countdown { margin-bottom: .8rem; gap: .4rem; }
.hero__festival .countdown div { min-width: 0; flex: 1; background: var(--bg); border-color: var(--line); padding: .5rem .2rem; }
.hero__festival .countdown b { color: var(--primary); font-size: 1.35rem; }
.hero__festival .countdown span { color: var(--muted); font-size: .62rem; }
.hero__controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 151, 62, .6); background: transparent; color: #FFF6EC; display: grid; place-items: center; transition: background .3s; }
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero__dots { display: flex; gap: .5rem; }
.hero__dot { width: 64px; height: 38px; padding: 0; border-radius: 4px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .55; position: relative; transition: opacity .3s, border-color .3s; }
.hero__dot img { width: 100%; height: 100%; object-fit: cover; }
.hero__dot.is-active { opacity: 1; border-color: var(--brass); }
.hero__dot.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform-origin: left; animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero__pause { flex-basis: 100%; text-align: center; font-size: .78rem; color: rgba(255, 246, 236, .75); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-anim > * { opacity: 0; transform: translateY(20px); animation: rise 1s var(--ease) forwards; }
.hero-anim > *:nth-child(2) { animation-delay: .1s; } .hero-anim > *:nth-child(3) { animation-delay: .2s; } .hero-anim > *:nth-child(4) { animation-delay: .3s; } .hero-anim > *:nth-child(5) { animation-delay: .4s; } .hero-anim > *:nth-child(6) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Quick links band */
.quick-band { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.quick-band__inner { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .quick-band__inner { grid-template-columns: repeat(5, 1fr); } }
.quick-band a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.15rem .6rem; text-decoration: none; color: var(--primary); font-weight: 500; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s, color .3s; }
@media (min-width: 760px) { .quick-band a { border-bottom: 0; } .quick-band a:last-child { border-right: 0; } }
.quick-band a:hover { background: var(--primary); color: #FFF6EC; }
.quick-band .icon { color: var(--accent); width: 1.3em; height: 1.3em; }
.quick-band a:hover .icon { color: var(--brass-soft); }

/* Inner page hero */
.page-hero { position: relative; background: var(--bg-alt) url("../assets/patterns/texture.svg"); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--brass) 0 18px, transparent 18px 26px, var(--accent) 26px 34px, transparent 34px 42px); opacity: .8; }
.page-hero__watermark { position: absolute; z-index: -1; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--f-deva); font-size: clamp(9rem, 26vw, 22rem); line-height: 1; color: var(--primary); opacity: .06; pointer-events: none; white-space: nowrap; }
.page-hero__inner { display: grid; gap: 2rem; align-items: center; padding: clamp(2.6rem, 6vw, 4.5rem) var(--gutter) clamp(2.8rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .page-hero__inner { grid-template-columns: 1.15fr .85fr; } }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin: 0; max-width: 620px; }
.page-hero__sanskrit { font-family: var(--f-deva); color: var(--accent); font-size: 1.15rem; margin-bottom: .3rem; }
.page-hero__art { justify-self: center; width: 100%; max-width: 480px; }
.page-hero__art .arch-frame--wide { aspect-ratio: 5/4; box-shadow: var(--shadow); }
.page-hero__art--tall { max-width: 320px; }
.page-hero__art--tall .arch-frame { box-shadow: var(--shadow-lg); }
.page-hero--center .page-hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.page-hero--center .page-hero__text { max-width: 760px; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .breadcrumb ol { justify-content: center; }
.page-hero--center .page-hero__art { max-width: 900px; }
.page-hero--center .page-hero__art .arch-frame--wide { aspect-ratio: 21/8; border-radius: 999px 999px var(--radius) var(--radius) / 220px 220px var(--radius) var(--radius); }
.page-hero--center .page-hero__watermark { right: 50%; transform: translate(50%, -50%); }
.page-hero--plain { background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: #FFF6EC; }
.page-hero--plain h1 { color: #FFF6EC; }
.page-hero--plain .lead { color: rgba(255, 246, 236, .82); }
.page-hero--plain .page-hero__watermark { color: var(--brass); opacity: .1; }
.page-hero--plain .page-hero__inner { grid-template-columns: 1fr; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.1rem; padding: 0; font-size: .85rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero--plain .breadcrumb li { color: rgba(255, 246, 236, .7); }
.page-hero--plain .breadcrumb a { color: var(--brass-soft); }

/* 8. Components ---------------------------------------------------------- */
.arch-frame { position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--bg-alt); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(228, 203, 148, .7); border-radius: inherit; pointer-events: none; }
.arch-frame:hover img { transform: scale(1.05); }
.arch-duo { position: relative; padding: 0 0 3rem 3rem; max-width: 520px; margin-inline: auto; }
.arch-duo .arch-frame:last-child { position: absolute; width: 46%; left: 0; bottom: 0; border: 6px solid var(--bg); box-shadow: var(--shadow); }
.arch-duo::before { content: ""; position: absolute; right: -30px; top: -30px; width: 200px; height: 200px; background: url("../assets/patterns/mandala.svg") center/contain no-repeat; }
.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brass); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .96rem; }
.card__body .link-arrow { margin-top: auto; }
.card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--accent-dark); font-weight: 600; letter-spacing: .04em; margin-bottom: .6rem; }
.card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: rgba(184, 50, 42, .12); color: var(--accent-dark); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card__media .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255, 254, 251, .92); }

.icon-card { padding: 2rem 1.7rem; text-align: left; }
.icon-card__icon { width: 60px; height: 60px; border-radius: 18px 18px 18px 4px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #1B6670); color: var(--brass-soft); margin-bottom: 1.2rem; }
.icon-card__icon .icon { width: 26px; height: 26px; }
.icon-card h3 { margin-bottom: .4rem; }
.icon-card p { color: var(--muted); margin-bottom: 0; }
.section--maroon .icon-card { background: rgba(255, 246, 236, .05); border-color: rgba(201, 151, 62, .35); }
.section--maroon .icon-card p { color: rgba(255, 246, 236, .78); }
.section--maroon .icon-card__icon { background: var(--brass); color: var(--primary-deep); }

/* Seva card */
.seva-card .card__body { padding-top: 1.3rem; }
.seva-card__icon { position: absolute; z-index: 2; right: 1.4rem; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(147, 36, 28, .7); border: 3px solid var(--surface); }
.seva-card__sanskrit { font-family: var(--f-deva); color: var(--brass); font-size: .95rem; margin-bottom: .2rem; }
.seva-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); position: relative; z-index: 2; }

/* Deity card */
.deity-card { text-align: center; text-decoration: none; color: inherit; display: block; }
.deity-card .arch-frame { margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.deity-card h3 { margin-bottom: .1rem; }
.deity-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.deity-card__dev { font-family: var(--f-deva); color: var(--accent-dark); font-size: 1rem; }
.deity-card:hover h3 { color: var(--accent-dark); }
.section--maroon .deity-card p { color: rgba(255, 246, 236, .75); }
.section--maroon .deity-card h3 { color: var(--bg); }
.section--maroon .deity-card__dev { color: var(--brass-soft); }

/* Agenda (event listings) */
.agenda { display: grid; gap: 0; border-top: 1px solid var(--line); }
.agenda-row { position: relative; display: grid; grid-template-columns: 74px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.4rem .4rem; border-bottom: 1px solid var(--line); transition: background .3s; }
.agenda-row:hover { background: var(--surface); }
.agenda-row__date { text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.agenda-row__day { display: block; font-family: var(--f-brand); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.agenda-row__mon { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.agenda-row h3 { margin-bottom: .25rem; }
.agenda-row h3 a { color: var(--primary); text-decoration: none; }
.agenda-row:hover h3 a { color: var(--accent); }
.agenda-row p { margin: 0 0 .4rem; color: var(--muted); font-size: .95rem; }
.agenda-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .84rem !important; color: var(--primary) !important; margin: 0 !important; }
.agenda-row__thumb { display: none; width: 120px; aspect-ratio: 4/3; border-radius: 60px 60px 4px 4px; overflow: hidden; }
.agenda-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.agenda-row__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary); transition: all .3s; }
.agenda-row:hover .agenda-row__go { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(3px); }
@media (min-width: 760px) { .agenda-row { grid-template-columns: 90px 1fr 120px auto; } .agenda-row__thumb { display: block; } }
@media (max-width: 480px) { .agenda-row { grid-template-columns: 60px 1fr; } .agenda-row__go { display: none; } .agenda-row__day { font-size: 1.9rem; } }
.section--deep .agenda-row h3 a { color: #FFF6EC; }

/* Countdown */
.countdown { display: flex; gap: .8rem; flex-wrap: wrap; }
.countdown div { min-width: 74px; text-align: center; padding: .8rem .5rem; border-radius: 14px; background: rgba(255, 246, 236, .08); border: 1px solid rgba(201, 151, 62, .4); }
.countdown b { display: block; font-family: var(--f-brand); font-size: 1.8rem; color: var(--brass-soft); line-height: 1; }
.countdown span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }

/* Notices / TBC */
.tbc { display: inline-flex; align-items: center; gap: .3rem; padding: .05rem .55rem; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent-dark); background: rgba(184, 50, 42, .08); font-size: .78em; font-weight: 600; letter-spacing: .02em; white-space: nowrap; font-family: var(--f-body); font-style: normal; }
.topbar .tbc, .section--maroon .tbc, .site-footer .tbc, .page-hero .tbc { color: var(--brass-soft); border-color: var(--brass); background: rgba(201, 151, 62, .12); }
.notice { display: flex; gap: .9rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: rgba(184, 50, 42, .09); border: 1px solid rgba(184, 50, 42, .35); color: var(--ink); font-size: .94rem; margin-bottom: 1.8rem; }
.notice .icon { color: var(--accent-dark); margin-top: .2rem; }
.notice p:last-child { margin: 0; }
.notice--info { background: rgba(201, 151, 62, .12); border-color: var(--line); }
.notice--pending { background: #FBEDE4; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--f-brand); font-size: clamp(2rem, 4vw, 3rem); color: var(--brass-soft); line-height: 1; }
.stat__label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: .5rem; }

/* Timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--brass), var(--accent), var(--brass)); }
.timeline li { position: relative; padding: 0 0 2.6rem 4.2rem; }
.timeline__dot { position: absolute; left: 6px; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); border: 3px solid var(--brass); color: var(--brass-soft); display: grid; place-items: center; }
.timeline__dot .icon { width: 15px; height: 15px; }
.timeline__when { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.timeline__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-top: .5rem; }
.timeline__card p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .timeline::before { left: 50%; }
  .timeline li { width: 50%; padding: 0 3.2rem 2.8rem 0; text-align: right; }
  .timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 2.8rem 3.2rem; text-align: left; }
  .timeline__dot { left: auto; right: -17px; }
  .timeline li:nth-child(even) .timeline__dot { right: auto; left: -17px; }
}

/* Schedule */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.schedule li:last-child { border-bottom: 0; }
.schedule time, .schedule .time { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--accent-dark); }
.schedule strong { display: block; color: var(--primary); }
.schedule small { color: var(--muted); }
.timing-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; position: relative; overflow: hidden; }
.timing-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--brass)); }
.timing-card__head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.timing-card__head .icon { width: 28px; height: 28px; color: var(--accent); }
.timing-card h3 { margin: 0; }
.timing-big { font-family: var(--f-brand); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--primary); margin: .4rem 0 .2rem; }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
th, td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--primary); color: var(--bg); font-weight: 600; letter-spacing: .04em; font-size: .85rem; text-transform: uppercase; }
tbody tr:nth-child(even) { background: rgba(237, 228, 211, .25); }
tbody tr:last-child td { border-bottom: 0; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: .25rem; }
.section--maroon .check-list .icon { color: var(--brass); }

/* Mantra panel */
.mantra-panel { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--surface) url("../assets/patterns/texture.svg"); border: 1px solid var(--line); position: relative; }
.mantra-panel::before, .mantra-panel::after { content: ""; position: absolute; width: 90px; height: 90px; background: url("../assets/patterns/mandala.svg") center/contain no-repeat; opacity: .9; }
.mantra-panel::before { top: -20px; left: -20px; } .mantra-panel::after { bottom: -20px; right: -20px; }
.mantra-panel .translit { margin: .6rem 0 .3rem; }
.mantra-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.section--maroon .mantra-panel { background: rgba(255, 246, 236, .05); }
.section--maroon .mantra-panel .translit { color: var(--brass-soft); }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(2.2rem, 6vw, 4rem); color: var(--bg); background: var(--primary); isolation: isolate; display: grid; gap: 1.5rem; align-items: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 47, 53, .95), rgba(100, 28, 37, .7)); }
.cta-band h2 { color: var(--bg); margin-bottom: .3rem; }
.cta-band p { color: rgba(255, 246, 236, .85); margin: 0; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* Scroller (horizontal carousel) */
.scroller { position: relative; }
.scroller__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem .2rem 1.2rem; scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
@media (min-width: 640px) { .scroller__track { grid-auto-columns: calc(50% - .6rem); } }
@media (min-width: 1024px) { .scroller__track { grid-auto-columns: calc(33.333% - .8rem); } }
.scroller__track > * { scroll-snap-align: start; }
.scroller__nav { display: flex; gap: .6rem; justify-content: flex-end; margin-bottom: 1rem; }
.scroller__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brass); background: var(--surface); color: var(--primary); display: grid; place-items: center; transition: background .3s, color .3s; }
.scroller__btn:hover { background: var(--primary); color: var(--bg); }
.scroller__btn:disabled { opacity: .35; pointer-events: none; }
.highlight { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; color: var(--bg); display: flex; align-items: flex-end; text-decoration: none; }
.highlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.highlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 20, 23, .88)); }
.highlight:hover img { transform: scale(1.06); }
.highlight__body { position: relative; z-index: 1; padding: 1.5rem; }
.highlight__body h3 { color: var(--bg); margin-bottom: .25rem; }
.highlight__body p { color: rgba(255, 246, 236, .82); font-size: .92rem; margin: 0; }
.highlight__num { font-family: var(--f-brand); color: var(--brass-soft); font-size: .9rem; letter-spacing: .2em; }

/* Filters / chips */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.2rem; }
.filter-btn { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--brass); background: transparent; color: var(--primary); font-weight: 600; font-size: .88rem; min-height: 42px; transition: all .3s; }
.filter-btn:hover { background: rgba(201, 151, 62, .15); }
.filter-btn.is-active, .filter-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--bg); }
[data-filter-item].is-hidden { display: none; }

/* Gallery */
.gallery { columns: 1; column-gap: 1rem; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; } }
.gallery__item { break-inside: avoid; margin: 0 0 1rem; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: block; border: 0; padding: 0; width: 100%; background: var(--bg-alt); }
.gallery__item img { width: 100%; transition: transform .9s var(--ease); }
.gallery__item.tall img { aspect-ratio: 3/4; object-fit: cover; }
.gallery__item.wide img { aspect-ratio: 16/10; object-fit: cover; }
.gallery__item.square img { aspect-ratio: 1; object-fit: cover; }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; color: var(--bg); text-align: left; font-size: .9rem; background: linear-gradient(transparent, rgba(5, 20, 23, .85)); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.05); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }
.gallery-preview { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery-preview { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery-preview > :first-child { grid-column: span 2; grid-row: span 2; } }
.gallery-preview .gallery__item { margin: 0; height: 100%; }
.gallery-preview .gallery__item img { height: 100%; object-fit: cover; aspect-ratio: auto; min-height: 160px; }

/* Lightbox / modal */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 8, 10, .94); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.is-open { display: flex; animation: fadein .35s var(--ease); }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; text-align: center; }
.lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: var(--brass-soft); margin-top: 1rem; font-family: var(--f-display); font-size: 1.2rem; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 246, 236, .35); background: rgba(255, 246, 236, .08); color: var(--bg); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 1.6rem; left: 1.4rem; color: rgba(255, 246, 236, .7); font-size: .85rem; letter-spacing: .1em; }
.modal__panel { background: var(--bg); border-radius: var(--radius-lg); max-width: 760px; width: 100%; overflow: hidden; }
.modal__video { aspect-ratio: 16/9; background: var(--primary-deep) url("../assets/images/hero-night.svg") center/cover; display: grid; place-items: center; color: var(--bg); text-align: center; padding: 1.5rem; }
.modal__video iframe, .modal__video video { width: 100%; height: 100%; border: 0; }
.modal__body { padding: 1.4rem 1.6rem; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Video cards */
.video-card .card__media::before { content: ""; position: absolute; inset: 0; background: rgba(5, 20, 23, .25); z-index: 1; transition: background .3s; }
.video-card:hover .card__media::before { background: rgba(5, 20, 23, .45); }
.play-btn { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 246, 236, .92); color: var(--primary); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 246, 236, .2); transition: transform .3s var(--ease); }
.play-btn .icon { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-card button.stretched { position: static; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.duration { position: absolute; z-index: 2; right: .8rem; bottom: .8rem; background: rgba(5, 20, 23, .8); color: var(--bg); font-size: .75rem; padding: .15rem .5rem; border-radius: 6px; }

/* Accordion */
.accordion { display: grid; gap: .8rem; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.accordion__item.is-open { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.accordion__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; border: 0; background: none; text-align: left; font-weight: 600; font-size: 1.02rem; color: var(--primary); min-height: 56px; }
.accordion__btn .icon { transition: transform .35s var(--ease); color: var(--accent); flex: none; }
.accordion__item.is-open .accordion__btn .icon { transform: rotate(45deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding: 0 1.3rem; color: var(--muted); }
.accordion__panel p:last-child { padding-bottom: 1.2rem; margin: 0; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); display: flex; align-items: center; gap: .7rem; }
.faq-group h2 .icon { color: var(--accent); }

/* Calendar */
.calendar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.calendar__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--primary); color: var(--bg); }
.calendar__title { font-family: var(--f-brand); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--brass-soft); margin: 0; }
.calendar__nav { display: flex; gap: .4rem; }
.calendar__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 246, 236, .4); background: transparent; color: var(--bg); display: grid; place-items: center; }
.calendar__nav button:hover { background: var(--accent); border-color: var(--accent); }
.calendar__nav .cal-today { width: auto; padding: 0 .9rem; border-radius: 999px; font-size: .82rem; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar__dow { padding: .6rem .2rem; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(237, 228, 211, .4); }
.calendar__day { min-height: 64px; padding: .4rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); font-size: .85rem; position: relative; background: none; border-left: 0; border-bottom: 0; text-align: left; display: flex; flex-direction: column; gap: .25rem; color: var(--ink); }
.calendar__day:nth-child(7n) { border-right: 0; }
.calendar__day.is-muted { color: #9AA6A4; background: rgba(237, 228, 211, .15); }
.calendar__day.is-today .calendar__num { background: var(--accent); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.calendar__day.has-event { cursor: pointer; }
.calendar__day.has-event:hover, .calendar__day.is-selected { background: rgba(184, 50, 42, .1); }
.calendar__ev { display: block; font-size: .68rem; line-height: 1.25; padding: .15rem .35rem; border-radius: 5px; background: var(--primary); color: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .calendar__ev { width: 8px; height: 8px; padding: 0; border-radius: 50%; font-size: 0; background: var(--accent); } .calendar__day { min-height: 52px; align-items: center; } }
@media (min-width: 900px) { .calendar__day { min-height: 96px; } }
.calendar__detail { padding: 1.3rem; border-top: 1px solid var(--line); background: var(--bg); min-height: 80px; }
.calendar__detail h3 { margin-bottom: .2rem; }
.cal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.cal-list li { display: flex; gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cal-list .date-badge { width: 60px; padding: .6rem .3rem .5rem; }
.cal-list .date-badge__day { font-size: 1.4rem; }

/* Steps / journey */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.8rem 1.5rem 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--f-brand); font-size: 2.4rem; color: var(--brass); opacity: .55; position: absolute; top: .6rem; right: 1.1rem; line-height: 1; }
.step h3 { padding-right: 2.6rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.section--maroon .step { background: rgba(255, 246, 236, .05); border-color: rgba(201, 151, 62, .35); }

/* Architecture diagram */
.arch-diagram { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; }
.arch-diagram svg { width: 100%; height: auto; }
.arch-diagram .hotspot { cursor: pointer; }
.arch-diagram .hotspot circle { fill: var(--accent); stroke: #fff; stroke-width: 3; transition: r .3s; }
.arch-diagram .hotspot text { fill: #fff; font: 700 15px var(--f-body); }
.arch-diagram .hotspot:hover circle, .arch-diagram .hotspot.is-active circle { fill: var(--primary); }
.arch-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: legend; }
.arch-legend li { padding: .9rem 1rem .9rem 3.4rem; position: relative; border-radius: var(--radius); border: 1px solid transparent; transition: all .3s; }
.arch-legend li::before { counter-increment: legend; content: counter(legend); position: absolute; left: .9rem; top: .95rem; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .88rem; }
.arch-legend li.is-active { border-color: var(--brass); background: var(--surface); box-shadow: var(--shadow-sm); }
.arch-legend strong { display: block; color: var(--primary); font-family: var(--f-display); font-size: 1.2rem; }
.arch-legend span { color: var(--muted); font-size: .93rem; }

/* Donation */
.donate-box { background: var(--surface); border: 1px solid var(--brass); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.amount-btn { min-height: 54px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; color: var(--primary); font-size: 1.05rem; transition: all .25s; }
.amount-btn:hover { border-color: var(--brass); }
.amount-btn[aria-pressed="true"] { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-alt); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.segmented input:checked + span { background: var(--primary); color: var(--bg); }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); }
.purpose-card { display: flex; gap: 1rem; padding: 1.4rem; align-items: flex-start; }
.purpose-card .icon-card__icon { margin: 0; width: 52px; height: 52px; flex: none; }
.purpose-card h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.purpose-card p { margin-bottom: .6rem; color: var(--muted); font-size: .94rem; }
.tier { padding: 2rem 1.7rem; text-align: center; }
.tier__name { font-family: var(--f-brand); font-size: 1.35rem; color: var(--primary); letter-spacing: .08em; }
.tier__badge { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; color: #fff; }
.tier__badge .icon { width: 30px; height: 30px; }
.tier--platinum .tier__badge { background: linear-gradient(135deg, #8F8A86, #D8D3CE); }
.tier--diamond .tier__badge { background: linear-gradient(135deg, var(--primary), #1B6670); }
.tier--gold .tier__badge { background: linear-gradient(135deg, #A8792A, var(--brass-soft)); }
.tier--silver .tier__badge { background: linear-gradient(135deg, #8A7F78, #C9C1BA); }
.tier .check-list { text-align: left; margin-top: 1.2rem; }
.donor-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 768px) { .donor-wall { grid-template-columns: repeat(4, 1fr); } }
.donor-tile { aspect-ratio: 1; border-radius: 12px; border: 1px dashed var(--brass); display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); font-size: .85rem; background: var(--surface) url("../assets/patterns/texture.svg"); }

/* Map placeholder */
.map-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; background: var(--bg-alt) url("../assets/patterns/texture.svg"); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 2rem; }
.map-box::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 58px, rgba(100, 28, 37, .07) 58px 60px), repeating-linear-gradient(90deg, transparent 0 58px, rgba(100, 28, 37, .07) 58px 60px); }
.map-box__pin { position: relative; width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); display: grid; place-items: center; margin: 0 auto 1.2rem; box-shadow: var(--shadow); }
.map-box__pin .icon { transform: rotate(45deg); color: var(--brass-soft); width: 26px; height: 26px; }
.map-box > div { position: relative; max-width: 420px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Info list */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .icon-wrap { width: 44px; height: 44px; border-radius: 50%; background: rgba(201, 151, 62, .18); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-list strong { display: block; color: var(--primary); }
.info-list span, .info-list a { color: var(--muted); }
.section--maroon .info-list .icon-wrap { background: rgba(201, 151, 62, .25); color: var(--brass-soft); }
.section--maroon .info-list strong { color: var(--brass-soft); }
.section--maroon .info-list span { color: rgba(255, 246, 236, .8); }

/* Side panel */
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.side-card + .side-card { margin-top: 1.2rem; }
.side-card h3 { font-size: 1.3rem; }
.side-card--maroon { background: var(--primary); color: var(--bg); border-color: var(--primary); }
.side-card--maroon h3 { color: var(--brass-soft); }
.side-card--maroon p { color: rgba(255, 246, 236, .82); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--accent-dark); }
.side-links li:last-child a { border-bottom: 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; margin: 0; font-size: .94rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

/* Social */
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 151, 62, .45); color: inherit; transition: all .3s; }
.social a:hover { background: var(--brass); color: var(--primary-deep); border-color: var(--brass); }
.topbar .social a { width: 28px; height: 28px; border: 0; }
.topbar .social .icon { width: 14px; height: 14px; }

/* Step indicator */
.stepper { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: st; }
.stepper li { flex: 1; text-align: center; font-size: .8rem; font-weight: 600; color: var(--muted); position: relative; padding-top: 2.6rem; }
.stepper li::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; color: var(--primary); font-weight: 700; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 16px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--bg-alt); }
.stepper li:last-child::after { display: none; }
.stepper li.is-active::before, .stepper li.is-done::before { background: var(--primary); color: var(--brass-soft); }
.stepper li.is-active { color: var(--primary); }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fadein .4s var(--ease); }
.review-list { background: var(--bg); border-radius: var(--radius); padding: 1.2rem 1.4rem; border: 1px solid var(--line); }

/* 10. Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--primary); }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid #D5C7AE; background: var(--surface); font-size: 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 50, 42, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: .82rem; min-height: 0; }
.field__hint { color: var(--muted); font-size: .8rem; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; }
.checkbox input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--primary); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-group label { position: relative; }
.chip-group input { position: absolute; opacity: 0; }
.chip-group span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: .9rem; cursor: pointer; transition: all .25s; }
.chip-group input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--bg); }
.chip-group input:focus-visible + span { outline: 3px solid var(--accent); }
.form-status { display: none; padding: 1.1rem 1.3rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-visible { display: block; animation: fadein .4s; }
.form-status--pending { background: #FBEDE4; border: 1px solid var(--accent); color: var(--ink); }
.form-status--error { background: #FCEDEC; border: 1px solid #B3261E; color: #7A1A14; }
.form-status strong { color: var(--primary); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.newsletter { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 200px; min-height: 48px; border-radius: 999px; border: 1px solid rgba(201, 151, 62, .5); background: rgba(255, 246, 236, .06); color: var(--bg); padding: 0 1.2rem; }
.newsletter input::placeholder { color: rgba(255, 246, 236, .55); }
.newsletter .form-status { flex-basis: 100%; }

/* 11. Footer ------------------------------------------------------------- */
.site-footer { background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: rgba(255, 246, 236, .78); font-size: .95rem; position: relative; }
.footer-ribbon { background: var(--accent); color: #FFF6EC; position: relative; overflow: hidden; }
.footer-ribbon::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: url("../assets/patterns/mandala.svg") center/contain no-repeat; opacity: .6; }
.footer-ribbon__inner { position: relative; display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .footer-ribbon__inner { grid-template-columns: 1fr auto; } }
.footer-ribbon h2 { color: #FFF6EC; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3rem; }
.footer-ribbon p { margin: 0; color: rgba(255, 246, 236, .88); }
.footer-ribbon__dev { font-family: var(--f-deva); color: var(--brass-soft) !important; margin-bottom: .4rem !important; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr .9fr .9fr 1.2fr; } }
.site-footer h2 { font-family: var(--f-brand); font-size: 1.2rem; color: var(--brass-soft); margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 246, 236, .8); text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-brand .brand__name { color: #FFF6EC; }
.footer-brand .brand__sub { color: var(--brass-soft); }
.footer-brand .brand__tag { color: var(--brass-soft); }
.footer-brand p { margin: 1.2rem 0 .8rem; }
.footer-brand__mantra { font-family: var(--f-deva); color: var(--brass-soft); font-size: 1.1rem; margin: 1rem 0 .2rem !important; }
.footer-brand__tr { font-family: var(--f-display); font-style: italic; font-size: .9rem; margin: 0 0 1.2rem !important; opacity: .75; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-links a::before { content: ""; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }
.footer-hours { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed rgba(201, 151, 62, .3); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact .icon { color: var(--brass); margin-top: .2rem; }
.footer-news { display: grid; gap: 1.2rem; align-items: center; padding-block: 2rem; border-top: 1px solid rgba(201, 151, 62, .3); }
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr 1.1fr; } }
.footer-news h2 { margin-bottom: .2rem; }
.footer-news p { margin: 0; }
.newsletter { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-start; }
.newsletter .field { flex: 1 1 220px; }
.newsletter input { width: 100%; min-height: 48px; border-radius: 4px; border: 1px solid rgba(201, 151, 62, .55); background: rgba(255, 246, 236, .06); color: #FFF6EC; padding: 0 1rem; }
.newsletter input::placeholder { color: rgba(255, 246, 236, .55); }
.newsletter .form-status { flex-basis: 100%; }
.footer-bottom { border-top: 1px solid rgba(201, 151, 62, .3); padding: 1.4rem 0; font-size: .84rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-note { opacity: .7; font-size: .8rem; }

/* Floating actions */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; transform: translateY(150%); transition: transform .5s var(--ease); }
.float-actions.is-visible { transform: none; }
.float-btn { display: inline-flex; align-items: center; gap: .5rem; height: 50px; padding: 0 1.1rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; box-shadow: var(--shadow); border: 0; }
.float-btn--donate { background: var(--accent); }
.float-btn--seva { background: var(--primary); }
.float-btn--top { width: 50px; padding: 0; justify-content: center; background: var(--surface); color: var(--primary); border: 1px solid var(--brass); }
.float-btn:hover { color: #fff; filter: brightness(1.08); }
.float-btn--top:hover { color: var(--primary); }
@media (max-width: 560px) { .float-btn span { display: none; } .float-btn { width: 50px; padding: 0; justify-content: center; } }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { width: 84px; height: 84px; animation: breathe 1.8s var(--ease) infinite; }
.preloader__text { font-family: var(--f-brand); letter-spacing: .3em; color: var(--primary); font-size: .8rem; margin-top: 1rem; text-align: center; }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
body.is-leaving main, body.is-leaving .page-hero { opacity: 0; transition: opacity .3s; }

/* 12. Utilities & motion -------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.stack > * + * { margin-top: 1rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: .35rem .85rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; }
.section--maroon .pill-list li { background: rgba(255, 246, 236, .06); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

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

@media print {
  .topbar, .site-header, .float-actions, .site-footer, .preloader, .hero__controls { display: none !important; }
  body { background: #fff; }
}


/* ==========================================================================
   v2 layout components
   ========================================================================== */
/* Card refinements: squared corners with brass corner ornament */
.card::after { content: ""; position: absolute; top: 9px; left: 9px; width: 18px; height: 18px; border-top: 1.5px solid var(--brass); border-left: 1.5px solid var(--brass); pointer-events: none; z-index: 3; }
.card h3 a, .card h2 a { text-decoration: none; color: inherit; }
.card:hover h3 a { color: var(--accent); }
.icon-card__icon { border-radius: 50%; background: var(--bg); border: 1px solid var(--brass); color: var(--primary); }
.section--maroon .icon-card__icon, .section--deep .icon-card__icon { background: transparent; color: var(--brass-soft); }
.arch-frame { border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); }
.seva-card .card__body { position: relative; }
.seva-card__icon { top: -28px; background: var(--accent); }
.date-badge { border-radius: 4px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.date-badge__day { color: var(--accent); }
.tag { border-radius: 3px; background: rgba(184, 50, 42, .1); color: var(--accent); }
.filter-btn { border-radius: 4px; }
.timing-card::before { background: linear-gradient(90deg, var(--primary), var(--brass), var(--accent)); }
.notice { border-left: 4px solid var(--accent); border-radius: 4px; }
.cta-band { border-radius: var(--radius-lg); }
.cta-band::before { background: linear-gradient(90deg, rgba(8, 47, 53, .96), rgba(14, 74, 82, .72)); }
.lightbox, .lightbox.is-open { background: rgba(5, 20, 23, .95); }
.float-btn { border-radius: 4px; }
.float-btn--donate { background: var(--accent); }
.float-btn--seva { background: var(--primary); }
.float-btn--top { border-radius: 50%; }
.preloader__text { font-family: var(--f-brand); letter-spacing: .3em; }
.h3 { font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: 0; }
@media (min-width: 1100px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 300; max-width: min(92vw, 520px); box-shadow: var(--shadow); animation: fadein .3s; }
.arch-frame--sm { max-width: 380px; justify-self: center; width: 100%; }
.mx-auto { margin-inline: auto; }
.pad-lg { padding: clamp(1.5rem, 4vw, 3rem); }
.event-card__body--pad { padding: 1.6rem; }
.media-fill { aspect-ratio: auto; min-height: 280px; }
.split--flush { gap: 0; }
.split--top { align-items: start; }
.pill-list--center { justify-content: center; }
.map-box--sm { min-height: 260px; }
.no-underline { text-decoration: none; }
.tier__badge--saffron { background: var(--accent); }
.event-card--feature { display: grid; position: relative; }
@media (min-width: 900px) { .event-card--feature { grid-template-columns: 1.1fr 1fr; } .event-card--feature .card__media { aspect-ratio: auto; height: 100%; } }

/* Section header with title left, action right */
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.split-head h2 { margin-bottom: 0; max-width: 640px; }
.split-head .lead { max-width: 440px; margin: 0; }
.split-head .scroller__nav { margin: 0; }

/* Welcome: editorial intro with watermark and triptych */
.welcome { overflow: hidden; }
.welcome__watermark { position: absolute; left: 50%; top: 2rem; transform: translateX(-50%); font-family: var(--f-deva); font-size: clamp(6rem, 18vw, 15rem); line-height: 1; color: var(--primary); opacity: .05; pointer-events: none; white-space: nowrap; }
.welcome__head { text-align: center; max-width: 760px; margin: 0 auto 2.4rem; }
.welcome__head .eyebrow { justify-content: center; }
.welcome__cols { display: grid; gap: 1.5rem 3rem; max-width: 1000px; margin: 0 auto 3.5rem; }
@media (min-width: 860px) { .welcome__cols { grid-template-columns: 1fr 1fr; } }
.welcome__cols .lead { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--primary); line-height: 1.5; }
.triptych { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 760px) { .triptych { grid-template-columns: 1fr 1.25fr 1fr; } }
.triptych__item { margin: 0; text-align: center; }
.triptych__item .arch-frame { aspect-ratio: 3/4; box-shadow: var(--shadow); margin-bottom: 1rem; }
.triptych__item--main .arch-frame { aspect-ratio: 3/4.2; }
.triptych figcaption { font-size: .92rem; color: var(--muted); }
.triptych figcaption strong { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--primary); margin-bottom: .15rem; }

/* Darshan board */
.board { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .board { grid-template-columns: 1fr 1fr; } }
.board__sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.5rem 0 2rem; }
.board__sessions > div { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid rgba(201, 151, 62, .4); border-radius: var(--radius); font-size: .9rem; }
.board__sessions .icon { color: var(--brass); width: 1.5em; height: 1.5em; }
.board__sessions strong { color: #FFF6EC; font-weight: 500; }
@media (max-width: 520px) { .board__sessions { grid-template-columns: 1fr; } }
.board h3 { color: var(--brass-soft); }
.board__list { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); border-top: 4px solid var(--brass); }
.board__list .board__title { color: var(--primary); }
.board__list .schedule li { grid-template-columns: 80px 1fr; }
.board__list .schedule strong { color: var(--primary); }

/* Sevas bento */
.seva-bento { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .seva-bento { grid-template-columns: 1.05fr 1fr; } }
.seva-feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.seva-feature__media { aspect-ratio: 16/9; overflow: hidden; }
.seva-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.seva-feature:hover .seva-feature__media img { transform: scale(1.05); }
.seva-feature__body { padding: clamp(1.4rem, 3vw, 2rem); }
.seva-feature__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.seva-feature__body h3 a { color: var(--primary); text-decoration: none; }
.seva-feature__body p { color: var(--muted); }
.seva-feature .btn-row { position: relative; z-index: 2; align-items: center; }
.seva-list { display: grid; border-top: 1px solid var(--line); }
.seva-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem .3rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .3s, padding .3s; }
.seva-row:hover { background: var(--surface); padding-inline: .8rem; color: var(--ink); }
.seva-row__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); border: 1px solid var(--line); }
.seva-row__icon .icon { width: 22px; height: 22px; }
.seva-row__text { display: flex; flex-direction: column; }
.seva-row__dev { font-family: var(--f-deva); color: var(--brass); font-size: .9rem; margin: 0; }
.seva-row strong { font-family: var(--f-display); font-size: 1.15rem; color: var(--primary); font-weight: 600; }
.seva-row small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.seva-row__go { color: var(--accent); transition: transform .3s; }
.seva-row:hover .seva-row__go { transform: translateX(4px); }

/* Deity scroller */
.scroller--deities .scroller__track { grid-auto-columns: minmax(220px, 70%); }
@media (min-width: 640px) { .scroller--deities .scroller__track { grid-auto-columns: calc(33.333% - .8rem); } }
@media (min-width: 1024px) { .scroller--deities .scroller__track { grid-auto-columns: calc(25% - .9rem); } }
.deity-card .arch-frame { box-shadow: var(--shadow); }
.deity-card__dev { color: var(--accent); }

/* Discover mosaic */
.mosaic { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; } .mosaic__tile--big { grid-row: span 2; } .mosaic__tile--wide { grid-column: span 2; } }
.mosaic__tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 220px; display: flex; align-items: flex-end; text-decoration: none; color: #FFF6EC; }
.mosaic__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 20, 23, .85)); }
.mosaic__tile:hover img { transform: scale(1.06); }
.mosaic__label { position: relative; z-index: 1; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; }
.mosaic__label strong { font-family: var(--f-brand); font-weight: 400; font-size: 1.4rem; }
.mosaic__label small { color: rgba(255, 246, 236, .82); font-size: .9rem; }
.mosaic__tile:hover { color: #FFF6EC; }

/* Events layout */
.events-layout { display: grid; gap: 2rem 4rem; }
@media (min-width: 1000px) { .events-layout { grid-template-columns: .8fr 1.6fr; } .events-layout__side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* Articles split */
.article-split { display: grid; gap: 2rem 3rem; }
@media (min-width: 960px) { .article-split { grid-template-columns: 1.2fr 1fr; } }
.article-lead, .article-item { position: relative; }
.article-lead__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.1rem; aspect-ratio: 16/10; }
.article-lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-lead:hover img { transform: scale(1.04); }
.article-lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.article-lead h3 a, .article-item h3 a { color: var(--primary); text-decoration: none; }
.article-lead:hover h3 a, .article-item:hover h3 a { color: var(--accent); }
.article-lead p:last-child, .article-item p:last-child { color: var(--muted); }
.article-list { display: grid; align-content: start; }
.article-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.article-item:first-child { padding-top: 0; }
.article-item .tag, .article-lead .tag { margin-bottom: .5rem; }
.sloka { margin: 1.4rem 0 0; padding: 1.3rem 1.4rem; background: var(--surface); border-left: 3px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0; }
.sloka .mantra { font-size: 1.15rem; margin: 0; }
.sloka .translit { margin: .3rem 0 0; font-size: 1rem; }

/* Give band */
.give { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 960px) { .give { grid-template-columns: 1fr 1fr; } }
.give .quote { color: #FFF6EC; margin: 1rem 0 1.6rem; }
.give .quote cite { color: var(--brass-soft); }
.give__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 560px) { .give__list { grid-template-columns: 1fr 1fr; } }
.give__list a { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255, 246, 236, .08); border: 1px solid rgba(255, 246, 236, .25); color: #FFF6EC; text-decoration: none; font-weight: 500; transition: background .3s, color .3s; }
.give__list a:hover { background: #FFF6EC; color: var(--accent-dark); }
.give__list .icon:first-child { color: var(--brass-soft); }
.give__list a:hover .icon:first-child { color: var(--accent); }

/* Duo panels */
.duo { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .duo { grid-template-columns: 1.15fr .85fr; } }
.duo__panel { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.duo__media { aspect-ratio: 16/7; overflow: hidden; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__body { padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.duo__panel--deep { background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: #FFF6EC; border-color: var(--primary-deep); }
.duo__panel--deep h2 { color: #FFF6EC; }
.duo__panel--deep .eyebrow { color: var(--brass-soft); }
.duo__panel--deep .info-list .icon-wrap { background: rgba(201, 151, 62, .2); color: var(--brass-soft); }
.duo__panel--deep .info-list strong { color: var(--brass-soft); }
.duo__panel--deep .info-list span { color: rgba(255, 246, 236, .82); }
.duo__panel--deep .tbc { color: var(--brass-soft); border-color: var(--brass); background: rgba(201, 151, 62, .12); }
.hero .tbc, .section--deep .tbc, .section--kumkum .tbc, .page-hero--plain .tbc { color: var(--brass-soft); border-color: var(--brass); background: rgba(201, 151, 62, .12); }
.hero__festival .tbc { color: var(--accent); border-color: var(--accent); background: rgba(184, 50, 42, .07); }
.gallery-preview .gallery__item { border-radius: var(--radius-lg); }
.board__list .tbc, .seva-feature .tbc { color: var(--accent); border-color: var(--accent); background: rgba(184, 50, 42, .07); }
.site-footer .footer-ribbon h2 { font-family: var(--f-brand); color: #FFF6EC; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.site-footer .btn--light { color: var(--primary-deep); }
.site-footer .btn--outline-light { color: #FFF6EC; }
.site-footer .btn--outline-light:hover, .site-footer .btn--light:hover { color: var(--primary-deep); }
@media (max-width: 759px) { .quick-band a:last-child { grid-column: span 2; border-right: 0; } }

/* ==========================================================================
   v3: section carousels
   ========================================================================== */
.carousel { position: relative; min-width: 0; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); outline-offset: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; min-width: 0; }
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.carousel__dots { display: flex; gap: .4rem; flex: 1; min-width: 0; }
.carousel__dot { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .7rem 0 0; border: 0; border-top: 2px solid var(--line); background: none; text-align: left; color: var(--muted); transition: border-color .3s, color .3s; position: relative; }
.carousel__dot::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.carousel__dot.is-active { color: var(--primary); }
.carousel__dot.is-active::before { width: 100%; }
.carousel__dot-num { font-family: var(--f-brand); font-size: .85rem; color: var(--accent); }
.carousel__dot-label { font-size: .86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.carousel__nav { display: flex; gap: .5rem; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--primary); display: grid; place-items: center; transition: all .3s; }
.carousel__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.carousel--dark .carousel__dot { color: rgba(255, 246, 236, .7); border-color: rgba(255, 246, 236, .3); }
.carousel--dark .carousel__dot.is-active { color: #FFF6EC; }
.carousel--dark .carousel__dot::before { background: var(--brass-soft); }
.carousel--dark .carousel__dot-num { color: var(--brass-soft); }
.carousel--dark .carousel__btn { background: transparent; color: #FFF6EC; border-color: rgba(255, 246, 236, .45); }
.carousel--dark .carousel__btn:hover { background: #FFF6EC; color: var(--accent); }
@media (max-width: 560px) { .carousel__dot-label { display: none; } }

/* Feature slide (image + text) */
.fslide { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.2rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); height: 100%; }
@media (min-width: 860px) { .fslide { grid-template-columns: .9fr 1.1fr; } }
.fslide__media .arch-frame { aspect-ratio: 5/4; max-width: 520px; margin-inline: auto; }
.fslide__media .arch-frame--tall { aspect-ratio: 3/4; max-width: 340px; }
.fslide__body h3 { font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--primary); }
.fslide__body > p { color: var(--muted); font-size: 1.05rem; }
.fslide .sloka { margin: 0 0 1.4rem; }
.section--alt .fslide { background: var(--bg); }

/* Darshan slides */
.dslide__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .6rem; }
.dslide__head > .icon { width: 2.2rem; height: 2.2rem; color: var(--accent); flex: none; margin-top: .2rem; }
.dslide__head h3 { margin-bottom: .2rem; color: var(--primary); }
.dslide__head p { margin: 0 0 .3rem; color: var(--muted); font-size: .95rem; }
.board__list .carousel__track { border-radius: 0; }

/* Seva slides */
.sslide { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .sslide { grid-template-columns: 1.05fr 1fr; } }

/* Discover slides */
.bslide { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 46vw, 520px); border-radius: var(--radius-lg); overflow: hidden; color: #FFF6EC; text-decoration: none; }
.bslide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bslide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 23, .85) 0%, rgba(5, 20, 23, .35) 55%, transparent); }
.bslide:hover img { transform: scale(1.04); }
.bslide:hover { color: #FFF6EC; }
.bslide__label { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 3rem); max-width: 560px; display: flex; flex-direction: column; gap: .4rem; }
.bslide__label small { color: var(--brass-soft); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 600; }
.bslide__label strong { font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.bslide__label span { color: rgba(255, 246, 236, .85); }

/* Event slides */
.eslide { position: relative; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; }
@media (min-width: 760px) { .eslide { grid-template-columns: .9fr 1.1fr; } }
.eslide__media { position: relative; min-height: 220px; }
.eslide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eslide__date { position: absolute; left: 1rem; top: 1rem; background: var(--surface); border-top: 3px solid var(--accent); border-radius: 4px; padding: .6rem .9rem; text-align: center; box-shadow: var(--shadow); }
.eslide__date b { display: block; font-family: var(--f-brand); font-weight: 400; font-size: 2rem; color: var(--accent); line-height: 1; }
.eslide__date span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eslide__body { padding: clamp(1.4rem, 3vw, 2rem); }
.eslide__body h3 a { color: var(--primary); text-decoration: none; }
.eslide__body > p { color: var(--muted); }
.eslide .btn-row, .eslide .tbc { position: relative; z-index: 2; }
.eslide .check-list { margin: .8rem 0 1rem; }

/* Gallery slides */
.gslide { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .gslide { grid-template-columns: 1.6fr 1fr; grid-template-rows: 220px 220px; } .gslide > :first-child { grid-row: span 2; } }
.gslide .gallery__item { margin: 0; height: 100%; border-radius: var(--radius-lg); }
.gslide .gallery__item img { height: 100%; aspect-ratio: auto; object-fit: cover; min-height: 150px; }
.gslide > :first-child { grid-column: span 2; }
@media (min-width: 760px) { .gslide > :first-child { grid-column: auto; } }

/* Article slides */
.aslide { position: relative; display: grid; gap: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; }
@media (min-width: 760px) { .aslide { grid-template-columns: 1.1fr 1fr; } }
.aslide__media { min-height: 240px; position: relative; }
.aslide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.aslide:hover img { transform: scale(1.04); }
.aslide__body { padding: clamp(1.4rem, 4vw, 2.6rem); align-self: center; }
.aslide__body h3 { font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.aslide__body h3 a { color: var(--primary); text-decoration: none; }
.aslide:hover h3 a { color: var(--accent); }
.aslide__body > p:not(.tag) { color: var(--muted); }

/* Giving slides */
.vslide { padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: var(--radius-lg); background: rgba(255, 246, 236, .08); border: 1px solid rgba(255, 246, 236, .28); min-height: 100%; }
.vslide__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #FFF6EC; color: var(--accent); margin-bottom: 1.2rem; }
.vslide__icon .icon { width: 26px; height: 26px; }
.vslide h3 { color: #FFF6EC; font-family: var(--f-brand); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* Volunteer slides */
.duo__panel > .carousel { margin: 0; }
.duo__panel > .carousel .carousel__track { border-radius: 0; }
.duo__panel > .carousel .carousel__bar { padding: 0 clamp(1.5rem, 3.5vw, 2.4rem); }
.volslide { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.volslide img { width: 100%; height: 100%; object-fit: cover; }
.volslide__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.4rem 1rem; background: linear-gradient(transparent, rgba(5, 20, 23, .85)); color: #FFF6EC; display: flex; flex-direction: column; }
.volslide__cap strong { font-family: var(--f-brand); font-weight: 400; font-size: 1.35rem; }
.volslide__cap span { font-size: .92rem; color: rgba(255, 246, 236, .85); }

/* Deity chips */
.deity-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; justify-content: center; }
.deity-chips a { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .9rem .3rem .3rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--primary); font-weight: 500; font-size: .92rem; transition: all .3s; }
.deity-chips img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.deity-chips a:hover { border-color: var(--accent); color: var(--accent); }
.deity-chips__all { padding: .55rem 1rem !important; background: var(--primary) !important; color: #FFF6EC !important; border-color: var(--primary) !important; }
.welcome__head .lead { margin-top: 1.2rem; font-family: var(--f-display); color: var(--primary); }
.articles-carousel-sloka { margin-top: 1.6rem; }

/* ==========================================================================
   v3: chat help desk
   ========================================================================== */
.chat-launcher { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.2rem 0 1rem; border-radius: 999px; border: 0; background: var(--primary); color: #FFF6EC; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(8, 47, 53, .7), 0 0 0 4px rgba(201, 151, 62, .35); transition: transform .3s var(--ease); }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .icon { width: 22px; height: 22px; color: var(--brass-soft); }
.chat-launcher[aria-expanded="true"] { background: var(--accent); }
.float-actions { bottom: 5.4rem; }
@media (max-width: 560px) { .chat-launcher span { display: none; } .chat-launcher { width: 54px; padding: 0; justify-content: center; } }
.chat-panel { position: fixed; right: 1rem; bottom: 5.4rem; z-index: 90; width: min(390px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 7rem)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.chat-panel.is-open { opacity: 1; transform: none; }
.chat-panel[hidden] { display: none; }
@media (max-width: 560px) { .chat-panel { right: .5rem; left: .5rem; width: auto; bottom: 4.8rem; height: calc(100vh - 6rem); } }
.chat-panel__head { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--primary-deep) url("../assets/patterns/texture.svg"); color: #FFF6EC; }
.chat-panel__head h2 { font-family: var(--f-brand); font-size: 1.15rem; color: #FFF6EC; margin: 0; }
.chat-panel__head > div { flex: 1; min-width: 0; }
.chat-panel__status { margin: 0; font-size: .78rem; color: var(--brass-soft); display: flex; align-items: center; gap: .35rem; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #6FCF97; }
.chat-panel__btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201, 151, 62, .45); background: transparent; color: #FFF6EC; display: grid; place-items: center; }
.chat-panel__btn:hover { background: rgba(255, 246, 236, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--bg) url("../assets/patterns/texture.svg"); }
.chat-msg { display: flex; flex-direction: column; max-width: 86%; }
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: .7rem .9rem; border-radius: 14px; font-size: .94rem; line-height: 1.5; }
.chat-msg--bot .chat-bubble { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-msg--user .chat-bubble { background: var(--primary); color: #FFF6EC; border-bottom-right-radius: 4px; }
.chat-time { font-size: .68rem; color: var(--muted); margin: .2rem .3rem 0; }
.chat-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.chat-link { font-size: .82rem; font-weight: 600; color: var(--accent); text-decoration: none; padding: .2rem .55rem; border-radius: 999px; background: rgba(184, 50, 42, .08); }
.chat-link:hover { background: var(--accent); color: #fff; }
.chat-typing .chat-bubble { display: flex; gap: 4px; padding: .8rem .9rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); animation: chatdot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem 1rem; border-top: 1px solid var(--line); background: var(--surface); scrollbar-width: none; }
.chat-chips:empty { display: none; }
.chat-chip { flex: none; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--brass); background: var(--bg); color: var(--primary); font-size: .82rem; font-weight: 500; white-space: nowrap; }
.chat-chip:hover { background: var(--primary); color: #FFF6EC; border-color: var(--primary); }
.chat-form { display: flex; gap: .5rem; padding: .7rem; background: var(--surface); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 1rem; background: var(--bg); font-size: 16px; }
.chat-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 50, 42, .15); }
.chat-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.chat-send:hover { background: var(--accent-dark); }
.chat-panel__note { margin: 0; padding: .45rem 1rem .6rem; font-size: .7rem; color: var(--muted); background: var(--surface); text-align: center; }
@media print { .chat-launcher, .chat-panel { display: none !important; } }
.sslide__side { display: grid; gap: 1.2rem; align-content: start; }
.sslide__steps { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; border-left: 3px solid var(--brass); }
.sslide__steps h4 { display: flex; gap: .5rem; align-items: center; color: var(--primary); margin-bottom: .6rem; }
.sslide__steps h4 .icon { color: var(--accent); }
.sslide__steps ol { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .94rem; display: grid; gap: .35rem; }
@media (max-width: 560px) { .float-btn--donate, .float-btn--seva { display: none; } .float-actions { bottom: 4.9rem; } }
/* v4: sample-content text (replaces "to be confirmed" badges) */
.sample { font: inherit; color: inherit; }
img[data-fallback] { background: var(--bg-alt); }
.lightbox__figure img { min-width: 120px; }
