/* ============================================================
   Shri Shirdi Sai Baba Temple — design system
   Palette: parchment + saffron + deep maroon, gold accents.
   Type:    Cormorant Garamond (display) / Inter (UI)
   ============================================================ */

/* ---------- 1. Tokens ---------- */

:root {
  /* Brand */
  --saffron:        #d3762a;
  --saffron-deep:   #b25a17;
  --saffron-soft:   #f0b071;
  --marigold:       #e8a33d;
  --maroon:         #6b2a2a;
  --maroon-deep:    #46191a;
  --gold:           #b8912f;

  /* Surfaces */
  --bg:             #fdf8f0;
  --surface:        #ffffff;
  --surface-2:      #f7eee0;
  --surface-sunk:   #f2e6d4;
  --hairline:       #e7d8c1;
  --hairline-soft:  #f0e4d2;

  /* Text */
  --ink:            #2a2018;
  --ink-2:          #5c4b39;
  --ink-3:          #8a7660;
  --on-dark:        #fbf3e7;
  --on-dark-2:      #d9c5a8;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(70, 40, 15, .06), 0 2px 6px rgba(70, 40, 15, .05);
  --shadow-md:  0 2px 4px rgba(70, 40, 15, .05), 0 10px 26px -8px rgba(70, 40, 15, .16);
  --shadow-lg:  0 4px 8px rgba(70, 40, 15, .05), 0 26px 60px -18px rgba(70, 40, 15, .28);
  --ring:       0 0 0 3px rgba(211, 118, 42, .28);

  /* Geometry */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --arch: 999px 999px 12px 12px;   /* temple-arch corner */

  /* Layout */
  --page:   1180px;
  --narrow: 760px;
  --gut:    clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --deva: "Noto Serif Devanagari", var(--display);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #17110c;
    --surface:       #211812;
    --surface-2:     #2a1e15;
    --surface-sunk:  #1c140e;
    --hairline:      #3b2a1d;
    --hairline-soft: #2e2117;

    --ink:    #f4e8d8;
    --ink-2:  #cbb69b;
    --ink-3:  #9a866d;

    --saffron:      #e79147;
    --saffron-deep: #f0a862;
    --gold:         #d8b45a;
    --maroon:       #8d3a38;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 10px 26px -8px rgba(0,0,0,.6);
    --shadow-lg: 0 26px 60px -18px rgba(0,0,0,.7);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:            #17110c;
  --surface:       #211812;
  --surface-2:     #2a1e15;
  --surface-sunk:  #1c140e;
  --hairline:      #3b2a1d;
  --hairline-soft: #2e2117;
  --ink:    #f4e8d8;
  --ink-2:  #cbb69b;
  --ink-3:  #9a866d;
  --saffron:      #e79147;
  --saffron-deep: #f0a862;
  --gold:         #d8b45a;
  --maroon:       #8d3a38;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 10px 26px -8px rgba(0,0,0,.6);
  --shadow-lg: 0 26px 60px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; color: var(--ink-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--saffron); color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--maroon-deep); color: #fff;
  padding: 10px 18px; border-radius: var(--r-sm); font-weight: 600;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout primitives ---------- */

.wrap { width: min(var(--page), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap--narrow { width: min(var(--narrow), 100% - var(--gut) * 2); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sunk { background: var(--surface-sunk); }
.section--band {
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(232,163,61,.16), transparent 60%),
    var(--surface-2);
}

.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ---------- 4. Section headers ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .74rem; font-weight: 650;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: currentColor; opacity: .55;
}
.center .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: currentColor; opacity: .55;
}

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: 1.06rem; }

.lede { font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.6; color: var(--ink-2); }

/* Sanskrit / Devanagari line */
.sloka {
  font-family: var(--deva);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--maroon);
  line-height: 1.9;
}
/* ---------- 5. Buttons ---------- */

.btn {
  --btn-bg: var(--saffron);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.5em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .16s cubic-bezier(.3,.8,.4,1), box-shadow .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1.5px); box-shadow: var(--shadow-md); background: var(--saffron-deep); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--hairline); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--saffron); color: var(--ink); }

.btn--onDark {
  --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff;
  border-color: rgba(255,255,255,.34);
  backdrop-filter: blur(8px);
}
.btn--onDark:hover { background: rgba(255,255,255,.2); }

.btn--lg { padding: 1em 1.9em; font-size: 1rem; }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--saffron-deep); font-weight: 600; font-size: .93rem;
  text-decoration: none;
}
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 6. Header ---------- */

.topbar {
  background: var(--maroon-deep);
  color: var(--on-dark-2);
  font-size: .82rem;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 40px; padding-block: 8px;
}
.topbar__motto {
  font-family: var(--display); font-size: 1.02rem; font-style: italic;
  color: var(--marigold); letter-spacing: .01em;
}
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
@media (max-width: 780px) { .topbar__links { display: none; } .topbar__in { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--hairline);
  box-shadow: 0 6px 24px -14px rgba(70,40,15,.35);
}
.site-header__in {
  display: flex; align-items: center; gap: 24px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--display); font-size: 1.24rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.01em;
}
.brand__sub {
  font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; white-space: nowrap;
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.02rem; }
  .brand__sub { letter-spacing: .1em; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: .55em .85em; border-radius: 999px;
  font-size: .92rem; font-weight: 550; color: var(--ink-2);
  text-decoration: none; transition: color .16s, background .16s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--saffron-deep); font-weight: 650; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 42px; height: 42px; flex: none; padding: 0;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--hairline);
  border-radius: 50%; cursor: pointer; color: var(--ink-2);
  transition: color .16s, border-color .16s, background .16s;
}
.icon-btn:hover { color: var(--saffron-deep); border-color: var(--saffron-soft); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: block; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .icon-moon { display: none; }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hairline);
  border-radius: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 114px 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 12px var(--gut) 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    max-height: calc(100dvh - 114px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8em .6em; font-size: 1.05rem; border-radius: var(--r-sm); }
  .header-cta .btn { display: none; }
}

/* ---------- 7. Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(90% 70% at 50% 108%, rgba(232,163,61,.55), transparent 62%),
    linear-gradient(178deg, #3d1512 0%, #6b2a2a 42%, #a24d1c 78%, #d3762a 100%);
  color: var(--on-dark);
  padding-block: clamp(72px, 12vw, 140px) 0;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  /* soft vignette */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(75% 65% at 50% 35%, transparent 40%, rgba(30,10,5,.42) 100%);
}
.hero__halo {
  position: absolute; z-index: -2;
  top: 8%; left: 50%; translate: -50% 0;
  width: min(760px, 120vw); aspect-ratio: 1;
  opacity: .17; color: var(--marigold);
  animation: spin 140s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .hero__halo { animation: none; } }

.hero__in { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: .28em; }
.hero__om {
  font-family: var(--deva); font-size: 1.15rem; letter-spacing: .04em;
  color: var(--marigold); margin-bottom: 1.1rem;
}
.hero__tag {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.86); max-width: 56ch; margin: 0 auto 2rem;
}
.hero .btn-row { margin-bottom: clamp(48px, 7vw, 76px); }
.hero .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

.hero__pill {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .5em 1.1em .5em .7em;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(10px);
  font-size: .87rem; color: rgba(255,255,255,.94);
}
.hero__pill b { font-weight: 650; color: #fff; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ee7a8; flex: none;
  box-shadow: 0 0 0 0 rgba(110,231,168,.7);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 70%,100% { box-shadow: 0 0 0 9px rgba(110,231,168,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.hero__silhouette {
  display: block; width: 100%; height: auto;
  margin-bottom: -1px;
  color: var(--bg);
}

/* ---------- 8. Cards ---------- */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform .2s cubic-bezier(.3,.8,.4,1), box-shadow .24s, border-color .24s;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--saffron-soft); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .96rem; }

.card__icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(232,163,61,.26), rgba(211,118,42,.14));
  color: var(--saffron-deep);
}
.card__icon svg { width: 23px; height: 23px; }

/* Aarti / schedule cards */
.aarti {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .24s, box-shadow .24s, transform .2s;
}
.aarti__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.aarti__num {
  font-family: var(--display); font-size: 2.6rem; line-height: 1;
  color: var(--hairline); font-weight: 700;
}
.aarti__time {
  font-family: var(--display); font-size: 2rem; font-weight: 700;
  color: var(--saffron-deep); line-height: 1; letter-spacing: -.02em;
}
.aarti__time small { font-size: .95rem; font-weight: 600; letter-spacing: .04em; }
.aarti h3 { font-size: 1.28rem; margin-bottom: .25em; }
.aarti__hi {
  font-family: var(--deva); font-size: .95rem; color: var(--ink-3); margin-bottom: .6em;
}
.aarti p { font-size: .92rem; margin: 0; }

.aarti.is-next {
  border-color: var(--saffron);
  box-shadow: 0 0 0 1px var(--saffron), var(--shadow-md);
  transform: translateY(-3px);
}
.aarti.is-next::before {
  content: "Up next";
  position: absolute; top: 0; right: 0;
  background: var(--saffron); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .45em 1em; border-bottom-left-radius: 12px;
}
.aarti.is-now { border-color: #3f9e6b; box-shadow: 0 0 0 1px #3f9e6b, var(--shadow-md); }
.aarti.is-now::before {
  content: "Happening now"; background: #3f9e6b; color: #fff;
  position: absolute; top: 0; right: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .45em 1em; border-bottom-left-radius: 12px;
}

/* Hours strip beneath the aarati grid */
.hours-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: 20px clamp(20px, 2.6vw, 30px);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.hours-note > div { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hours-note__k { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.hours-note__k b { color: var(--saffron-deep); }
.hours-note__v { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.hours-note p { flex: 1 1 260px; }
.hours-note .link-arrow { margin-left: auto; }

/* Highlighted row in the weekly-hours table */
tr.is-today td, tr.is-today th { background: rgba(211,118,42,.09); }
tr.is-today td:first-child { position: relative; font-weight: 650; color: var(--ink); }
tr.is-today td:first-child::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--saffron);
}

/* Quick-action tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--saffron-soft); }
.tile svg { width: 22px; height: 22px; color: var(--saffron-deep); flex: none; }
.tile b { display: block; font-size: .97rem; font-weight: 650; color: var(--ink); }
.tile span { font-size: .82rem; color: var(--ink-3); }

/* ---------- 9. Media plates (swap for real photos) ---------- */

.plate {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, var(--maroon) 0%, var(--saffron) 100%);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: rgba(255,255,255,.9);
  isolation: isolate;
}
.plate::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 30%, transparent, rgba(40,15,5,.35));
}
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate svg { width: 46%; opacity: .5; }
.plate--arch { border-radius: var(--arch); aspect-ratio: 3 / 4; }
.plate--tall { aspect-ratio: 3 / 4; }
.plate--wide { aspect-ratio: 16 / 9; }
.plate figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(transparent, rgba(30,12,4,.8));
  color: #fff; font-size: .88rem; font-weight: 550;
}

/* ---------- 10. Lists ---------- */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 34px; margin-bottom: 14px;
  color: var(--ink-2); font-size: .98rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(211,118,42,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b25a17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist li b { color: var(--ink); font-weight: 650; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.facts li, .facts__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: .96rem;
}
.facts li:last-child, .facts__row:last-child { border-bottom: 0; }
.facts dt, .facts .k { color: var(--ink-3); flex: none; }
.facts dd, .facts .v { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.facts a { color: var(--saffron-deep); text-decoration: none; }
.facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 460px) {
  .facts li, .facts__row { flex-direction: column; gap: 4px; }
  .facts dd, .facts .v { text-align: left; }
}

/* Seva / price rows */
.seva-list { display: grid; gap: 0; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.seva {
  display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center;
  padding: 20px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--hairline-soft);
  transition: background .16s;
}
.seva:last-child { border-bottom: 0; }
.seva:hover { background: var(--surface-2); }
.seva__name { font-weight: 650; color: var(--ink); font-size: 1.02rem; }
.seva__desc { font-size: .88rem; color: var(--ink-3); margin-top: 2px; }
.seva__price { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--saffron-deep); white-space: nowrap; }
@media (max-width: 640px) {
  .seva { grid-template-columns: 1fr auto; }
  .seva .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 11. Festival cards ---------- */

.fest {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform .22s cubic-bezier(.3,.8,.4,1), box-shadow .24s;
}
.fest:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fest::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, var(--c1, #6b2a2a), var(--c2, #d3762a));
}
.fest::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(transparent 30%, rgba(28,10,4,.78));
}
.fest__date {
  display: inline-block; align-self: flex-start;
  padding: .35em .85em; margin-bottom: auto;
  border-radius: 999px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.26);
  font-size: .78rem; font-weight: 650; letter-spacing: .04em;
}
.fest h3 { color: #fff; margin-bottom: .3em; }
.fest p { color: rgba(255,255,255,.84); font-size: .92rem; margin: 0; }

/* ---------- 12. Quote / teaching ---------- */

.quote {
  position: relative;
  max-width: 46ch; margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.35; font-style: italic;
  color: var(--ink);
}
.quote cite {
  font-style: normal; font-size: .8rem; font-weight: 650;
  letter-spacing: .17em; text-transform: uppercase; color: var(--saffron-deep);
}

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  text-align: center; padding: clamp(26px, 3.4vw, 40px) 24px;
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  background: var(--surface);
}
.pillar__word {
  font-family: var(--deva); font-size: 2rem; color: var(--saffron-deep);
  line-height: 1.2; margin-bottom: .2em;
}
.pillar h3 { margin-bottom: .3em; }
.pillar p { font-size: .95rem; }

/* ---------- 13. Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 4px; } }
.stat__n {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1;
  color: var(--saffron-deep); letter-spacing: -.02em;
}
.stat__l { font-size: .84rem; color: var(--ink-3); margin-top: .5em; letter-spacing: .04em; }

/* ---------- 14. Donate band ---------- */

.band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--maroon-deep), var(--maroon) 55%, var(--saffron-deep));
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5.5vw, 64px);
}
.band::after {
  content: ""; position: absolute; z-index: -1; inset: auto -10% -60% auto;
  right: -8%; width: 460px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,163,61,.42), transparent 68%);
}
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.84); }
.band__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.amount {
  padding: .7em 1.15em; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.09);
  color: #fff; font-weight: 650; font-size: .95rem;
  cursor: pointer; font-family: inherit;
  transition: background .16s, border-color .16s, transform .16s;
}
.amount:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.amount.is-active { background: #fff; color: var(--maroon-deep); border-color: #fff; }

/* ---------- 15. Accordion ---------- */

.acc { border-top: 1px solid var(--hairline); }
.acc details { border-bottom: 1px solid var(--hairline); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.05rem; color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; font-family: var(--display); font-size: 1.7rem; font-weight: 400;
  color: var(--saffron-deep); line-height: 1; transition: transform .2s;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > *:not(summary) { padding-bottom: 22px; max-width: 72ch; }

/* ---------- 16. Footer ---------- */

.site-footer {
  background: var(--maroon-deep);
  color: var(--on-dark-2);
  padding-block: clamp(56px, 7vw, 88px) 32px;
  font-size: .93rem;
}
.site-footer h4 {
  color: #fff; font-size: .76rem; letter-spacing: .17em; text-transform: uppercase;
  margin-bottom: 1.2em; font-weight: 650;
}
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--marigold); }
.footer-brand p { color: var(--on-dark-2); font-size: .92rem; margin-top: 16px; max-width: 34ch; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  transition: background .16s, border-color .16s;
}
.socials a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.socials svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13);
  font-size: .84rem; color: rgba(217,197,168,.75);
}

.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: .75em 1em; font: inherit; font-size: .92rem;
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  background: rgba(255,255,255,.08); color: #fff;
}
.newsletter input::placeholder { color: rgba(217,197,168,.6); }
.newsletter input:focus { outline: none; border-color: var(--marigold); background: rgba(255,255,255,.14); }
.newsletter button { flex: none; }

/* ---------- 17. Page header (inner pages) ---------- */

.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, var(--maroon-deep), var(--maroon) 60%, var(--saffron-deep));
  color: var(--on-dark);
  padding-block: clamp(56px, 8vw, 96px);
  text-align: center;
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; inset: -40% -20% auto 50%;
  translate: -50% 0; width: 700px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,163,61,.34), transparent 66%);
}
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-head p { color: rgba(255,255,255,.85); max-width: 60ch; margin-inline: auto; }
.page-head .eyebrow { color: var(--marigold); }

.crumbs { font-size: .84rem; color: rgba(255,255,255,.66); margin-bottom: 1rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- 18. Prose (article pages) ---------- */

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--saffron);
  font-family: var(--display); font-size: 1.3rem; font-style: italic; color: var(--ink);
}
.prose blockquote p { color: inherit; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 2px solid var(--hairline); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -37px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--saffron); box-shadow: 0 0 0 4px var(--bg);
}
.timeline .yr {
  display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  color: var(--saffron-deep); margin-bottom: .2em;
}

/* ---------- 19. Tables ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--hairline); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; min-width: 520px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--hairline-soft); }
th { background: var(--surface-2); font-weight: 650; color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }
td strong { color: var(--ink); }

/* ---------- 20. Utilities & motion ---------- */

.muted { color: var(--ink-3); }
.small { font-size: .87rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Divider ornament */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--saffron); opacity: .6; margin-block: clamp(28px, 4vw, 44px); }
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: min(140px, 22vw);
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament svg { width: 20px; height: 20px; }

/* Print */
@media print {
  .site-header, .topbar, .site-footer, .nav-toggle, .hero__halo { display: none !important; }
  body { background: #fff; color: #000; }
}
