/* Sanatan Hindu International Help Centre
   Bhagwa saffron, marigold and kumkum maroon on sandalwood. */
:root {
  --saffron: #e8641b;
  --saffron-deep: #c24e0e;
  --saffron-soft: #fde3cf;
  --marigold: #f6b93b;
  --marigold-soft: #fff1cf;
  --maroon: #8c1c13;
  --maroon-deep: #4a110b;
  --sandal: #fff8ef;
  --sandal-2: #fcefdc;
  --card: #ffffff;
  --ink: #2b1b14;
  --muted: #7a6455;
  --line: #efdcc4;
  --display: "Rozha One", Georgia, serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sanskrit: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(74, 17, 11, .06), 0 8px 24px rgba(74, 17, 11, .07);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 70px); }
body { margin: 0; background: var(--sandal); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--saffron); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.sanskrit { font-family: var(--sanskrit); }

h1, h2, h3, .h2, .h3 { font-family: var(--display); font-weight: 400; margin: 0; color: var(--maroon-deep); letter-spacing: .005em; }
.h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.2; }
.h3 { font-size: 1.35rem; line-height: 1.3; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 24px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 6px 18px; font-size: .9rem; }
.btn--lg { min-height: 54px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--saffron { background: var(--saffron); color: #fff; box-shadow: 0 6px 16px rgba(232, 100, 27, .28); }
.btn--saffron:hover { background: var(--saffron-deep); }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-deep); }
.btn--line { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--line:hover { background: var(--maroon); color: #fff; }
.btn--ghost { border-color: rgba(255, 241, 207, .6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--muted); font-size: .9rem; }
.textlink { font-weight: 600; color: var(--maroon); text-decoration: underline; text-decoration-color: var(--marigold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- header ---------- */
.topbar { background: var(--maroon-deep); color: var(--marigold-soft); font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar p { margin: 0; }
.topbar .sanskrit { font-size: .95rem; color: var(--marigold); }
.topbar__links { display: flex; gap: 22px; }
.topbar a { text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.masthead { position: sticky; top: 0; z-index: 40; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.masthead__in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand__name { font-family: var(--display); font-size: 1.2rem; line-height: 1.05; color: var(--maroon); }
.brand__name span { display: block; font-family: var(--body); font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.mainnav { display: flex; gap: 26px; }
.mainnav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--saffron-deep); }
.mainnav a[aria-current="page"] { color: var(--saffron-deep); border-bottom-color: var(--saffron); }
.masthead__cta { min-height: 42px; padding: 8px 26px; }
.toran { display: block; width: 100%; height: 26px; position: absolute; left: 0; bottom: -26px; pointer-events: none; background: var(--card); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 24px; height: 2px; background: var(--maroon); position: relative; transition: transform .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobilenav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 30px; background: var(--card); }
.mobilenav a { display: block; padding: 13px 0; text-decoration: none; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.preview-note { background: var(--marigold-soft); color: #6b3d05; text-align: center; font-size: .82rem; padding: 34px var(--gutter) 6px; }

/* ---------- ornaments ---------- */
.mandala { position: absolute; color: var(--saffron); opacity: .16; pointer-events: none; width: 300px; height: 300px; }
.mandala--tl { left: -150px; top: -110px; }
.mandala--tr { right: -150px; top: -110px; }
.mandala--band { right: -120px; bottom: -140px; width: 420px; height: 420px; color: var(--marigold); opacity: .12; }
.mandala--foot { left: 50%; top: -150px; margin-left: -150px; color: var(--marigold); opacity: .08; }

/* ---------- campaign head ---------- */
.camphead { position: relative; overflow: hidden; padding: 52px 0 26px; }
.camphead__in { position: relative; }
.crumbs { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.camphead__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.15; max-width: 24em; }
.camphead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.byline { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.byline img { width: 28px; height: 28px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.badge--tax { background: var(--marigold-soft); color: #7a4a00; border: 1px solid #f3d38a; }
.badge--reg { background: var(--saffron-soft); color: var(--saffron-deep); border: 1px solid #f6c3a0; }

/* ---------- campaign body ---------- */
.camp { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 72px; }
.camp__side { position: sticky; top: calc(var(--head-h) + 40px); }

/* gallery */
.gallery { margin-bottom: 8px; }
.gallery__stage { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sandal-2); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.gallery__slide { margin: 0; position: absolute; inset: 0; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 14px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(43, 14, 8, .7)); }
.gallery__video { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000; width: 100%; }
.gallery__video img { opacity: .85; width: 100%; height: 100%; object-fit: cover; }
.gallery__slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.playbtn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(232, 100, 27, .25); }
.gallery__nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--maroon); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 96px; height: 62px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sandal-2); position: relative; opacity: .7; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-selected="true"] { border-color: var(--saffron); opacity: 1; }
.gallery__thumb.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }

/* tabs */
.tabs { position: sticky; top: calc(var(--head-h) + 26px); z-index: 20; display: flex; gap: 8px; padding: 12px 0; margin: 24px 0 8px; background: var(--sandal); overflow-x: auto; scrollbar-width: none; }
.tabs a { flex: none; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); }
.tabs a:hover { border-color: var(--saffron); }
.tabs a.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* blocks */
.block { padding: 28px 0 8px; }
.block__head { margin-bottom: 22px; }
.block__head p { margin: 6px 0 0; color: var(--muted); max-width: 42em; }
.block__head--center { text-align: center; }
.block__head--center p { margin-left: auto; margin-right: auto; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter { border: 1.5px solid var(--line); background: var(--card); padding: 7px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--saffron); border-color: var(--saffron); color: #fff; }

/* item cards */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.item { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1.5px solid transparent; transition: border-color .15s; }
.item.is-added { border-color: var(--saffron); }
.item__img { aspect-ratio: 4 / 3; background: var(--sandal-2); overflow: hidden; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.item__seva { margin: 0 0 4px; font-size: .74rem; font-weight: 600; color: var(--saffron-deep); }
.item__name { font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--ink); }
.item__unit { margin: 2px 0 12px; font-size: .84rem; color: var(--muted); }
.item__sold { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.item__price { margin: 0; font-weight: 700; font-size: 1.1rem; color: var(--maroon-deep); }
.item__add { min-height: 38px; padding: 6px 22px; border-radius: 999px; border: 0; background: var(--maroon); color: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; }
.item__add:hover { background: var(--maroon-deep); }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--saffron); color: #fff; overflow: hidden; }
.qty button { width: 34px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--saffron-deep); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }

/* bars */
.bar { display: block; height: 10px; border-radius: 99px; background: #f6e7d1; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--marigold), var(--saffron)); }
.bar--sm { height: 6px; }

/* story */
.prose { max-width: 44em; }
.prose p, .prose li { color: #4a362b; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--saffron); }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin: 30px 0 6px; color: var(--maroon-deep); }
.story__fig { margin: 22px 0; }
.story__fig img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.story__fig figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.blessing { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 18px 22px; background: var(--marigold-soft); border: 1px solid #f3d38a; border-radius: var(--r); max-width: 44em; }
.blessing p { margin: 0; color: #5b3a12; }
.blessing__om { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: #fff; font-size: 1.6rem; line-height: 1; }

/* updates */
.feedline { list-style: none; margin: 0 0 18px; padding: 0; }
.feedline__item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 0 0 26px; position: relative; }
.feedline__item::before { content: ""; position: absolute; left: 116px; top: 8px; bottom: 0; width: 2px; background: var(--line); }
.feedline__item::after { content: ""; position: absolute; left: 110px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px var(--saffron-soft); }
.feedline__date { margin: 0; font-size: .85rem; font-weight: 600; color: var(--muted); }
.feedline__card { padding-left: 22px; }
.feedline__title { font-family: var(--body); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.feedline__card p { margin: 4px 0 12px; color: var(--muted); font-size: .95rem; }
.feedline__card img { border-radius: var(--r-sm); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }

/* deities */
.deities { display: grid; gap: 16px; }
.deity { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.deity img { border-radius: var(--r-sm); aspect-ratio: 1; object-fit: cover; background: var(--sandal-2); }
.deity__sa { margin: 0; color: var(--saffron-deep); font-size: 1.1rem; }
.deity__name { font-size: 1.4rem; margin: 0 0 6px; }
.deity p { margin: 0 0 6px; font-size: .94rem; color: #4a362b; }
.deity__why { color: var(--muted) !important; }

/* donate card */
.give { background: var(--card); border-radius: 18px; padding: 24px; box-shadow: 0 2px 4px rgba(74, 17, 11, .05), 0 18px 40px rgba(74, 17, 11, .1); }
.give__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.give__pct { margin: 0; font-weight: 700; font-size: 1.35rem; color: var(--maroon-deep); }
.chip-muted { margin: 0; font-size: .8rem; font-weight: 600; background: var(--sandal-2); color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.give__raised { margin: 12px 0 18px; color: var(--muted); font-size: .92rem; }
.give__raised strong { display: block; font-size: 1.75rem; color: var(--ink); line-height: 1.2; }
.give__label { margin: 0 0 6px; font-weight: 600; font-size: .9rem; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.preset { position: relative; min-height: 52px; padding: 14px 4px 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sandal); font-weight: 600; font-size: .92rem; cursor: pointer; }
.preset em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: .64rem; font-weight: 600; background: var(--maroon); color: #fff; padding: 1px 8px; border-radius: 999px; }
.preset[aria-checked="true"] { border-color: var(--saffron); background: var(--saffron-soft); color: var(--saffron-deep); }
.give__cart { border: 1.5px dashed var(--saffron); border-radius: 12px; padding: 14px; margin-bottom: 14px; background: #fffaf5; }
.give__cart ul { list-style: none; margin: 0 0 10px; padding: 0; font-size: .88rem; }
.give__cart li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.give__carttotal { display: flex; justify-content: space-between; margin: 0 0 12px; font-weight: 600; }
.assure { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .82rem; color: var(--muted); }
.assure li { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { flex: none; color: var(--saffron); margin-top: 2px; }
.donors { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.donors__h { font-family: var(--body); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.donors__h span { font-weight: 500; color: var(--muted); font-size: .9rem; }
.donors__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 6px; border-bottom: 1px solid var(--line); }
.donors__tabs button { background: none; border: 0; padding: 8px 0 10px; font-weight: 500; font-size: .9rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.donors__tabs button[aria-selected="true"] { color: var(--saffron-deep); border-bottom-color: var(--saffron); font-weight: 600; }
.donors__list { list-style: none; margin: 0 0 14px; padding: 0; }
.donors__list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.donors__who { display: flex; flex-direction: column; line-height: 1.3; font-size: .92rem; }
.donors__who span { font-size: .8rem; color: var(--muted); }
.donors__empty { color: var(--muted); font-size: .9rem; }
.donors__all { width: 100%; }
.av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.av--sm { width: 32px; height: 32px; font-size: .74rem; }

/* temple band */
.temple-band { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 75% 60%, #a52a1c, var(--maroon) 55%, var(--maroon-deep)); color: #fff; padding: 72px 0; }
.temple-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; position: relative; }
.temple-band .h2 { color: #fff; }
.temple-band__text p { color: rgba(255, 241, 207, .85); max-width: 32em; }
.tb-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; margin: 26px 0 30px; justify-content: start; }
.tb-stats dt { font-size: .8rem; color: rgba(255, 241, 207, .7); }
.tb-stats dd { margin: 0; font-family: var(--display); font-size: 1.5rem; color: var(--marigold); }
.temple-band__drawing { margin: 0; }
.temple { width: 100%; height: auto; max-height: 520px; display: block; overflow: visible; }
.temple__outline { fill: none; stroke: rgba(246, 185, 59, .55); stroke-width: 1.3; color: rgba(246, 185, 59, .4); }
.temple__solid { fill: var(--saffron); stroke: var(--maroon-deep); stroke-width: 1.2; color: #fff1cf; }
.temple .lamp { fill: currentColor; stroke: none; }
.temple__ground { stroke: rgba(246, 185, 59, .5); stroke-width: 1.5; }
.temple__level line { stroke: #fff; stroke-width: 1.2; stroke-dasharray: 5 5; opacity: .7; }

/* sections */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section--tight { padding-top: clamp(28px, 4vw, 44px); }
.sevalist { background: var(--sandal-2); }
.sevacards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.sevacard { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sevacard__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.sevacard__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sevacard__title { font-size: 1.3rem; line-height: 1.2; }
.sevacard__title a { text-decoration: none; }
.sevacard__sum { margin: 0 0 6px; font-size: .9rem; color: var(--muted); flex: 1; }
.sevacard__nums { margin: 0 0 6px; font-size: .88rem; color: var(--muted); }
.sevacard__nums strong { color: var(--ink); font-size: 1rem; }
.sevacard .btn { align-self: flex-start; }

/* donor wall marquee */
.wall { padding: 72px 0 60px; overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wallchip { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: .88rem; white-space: nowrap; box-shadow: 0 1px 2px rgba(74, 17, 11, .05); }
.wallchip em { font-style: normal; font-weight: 700; color: var(--saffron-deep); }
.wall__link { text-align: center; margin-top: 22px; }

/* faq */
.faqs { background: var(--card); }
.faqs__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--saffron-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%23c24e0e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* visit + contact */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.visit address { font-style: normal; margin: 18px 0; }
.visit address p { margin: 0 0 10px; }
.visit address a { font-weight: 600; color: var(--maroon); }
.map { margin-top: 16px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 280px; border: 0; }
.contact { background: var(--card); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--shadow); }
.contact__done { margin: 0; color: var(--saffron-deep); font-weight: 600; }

/* fields */
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: .88rem; }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .rupee-input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #ecd6bd; border-radius: 12px; background: var(--card); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #bba593; }
.field input:focus, .field select:focus, .field textarea:focus, .rupee-input:focus-within { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(232, 100, 27, .14); }
.field.has-err input, .field.has-err textarea, .field.has-err .rupee-input { border-color: #c0392b; }
.field__err { color: #b3261e; font-size: .84rem; }
.field__err:empty { display: none; }
.rupee-input { display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.rupee-input span { font-weight: 600; font-size: 1.2rem; color: var(--muted); }
.rupee-input input { border: 0; padding: 10px 0; min-height: 52px; font-size: 1.2rem; font-weight: 600; box-shadow: none !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin: 8px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--saffron); flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field--wide { grid-column: 1 / -1; }

/* ---------- inner page heads ---------- */
.pagehead { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.pagehead__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; max-width: 20em; }
.pagehead__lede { color: var(--muted); max-width: 44em; margin: 12px 0 0; font-size: 1.05rem; }
.pagehead--maroon { background: var(--maroon); color: #fff; }
.pagehead--maroon .pagehead__title { color: #fff; }
.pagehead--maroon .pagehead__lede { color: rgba(255, 241, 207, .85); }
.pagehead__split { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.pagehead__emblem { width: clamp(120px, 16vw, 200px); background: #fff; border-radius: 50%; padding: 8px; }
.pagehead__code { font-family: var(--display); font-size: 4rem; color: var(--saffron); margin: 0; line-height: 1; }
.pagehead--error .btn { margin: 20px 8px 0 0; }

/* progress page */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.timeline__item { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding-bottom: 40px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: 0; width: 2px; background: var(--line); }
.timeline__item::after { content: ""; position: absolute; left: 112px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px var(--saffron-soft); }
.timeline__item--next::after { background: var(--sandal); border: 2px dashed var(--saffron); box-shadow: none; }
.timeline__date { font-weight: 600; font-size: .92rem; color: var(--muted); }
.timeline__card { padding-left: 22px; }
.timeline__card img { border-radius: var(--r); margin-bottom: 14px; aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.timeline__card p { color: var(--muted); max-width: 40em; }
.timeline__stage { font-size: .82rem; margin: 0 0 2px; color: var(--saffron-deep) !important; font-weight: 600; }
.timeline__item--next .timeline__card { background: var(--marigold-soft); border: 1.5px dashed var(--saffron); border-radius: var(--r); padding: 22px 24px; margin-left: 22px; }

/* trust page */
.trustpage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.trustpage__side { position: sticky; top: calc(var(--head-h) + 40px); display: grid; gap: 18px; background: var(--card); padding: 20px; border-radius: var(--r); box-shadow: var(--shadow); }
.rounded { border-radius: var(--r-sm); }
.facts { margin: 0; }
.facts div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; font-size: .94rem; }

/* donors page: the name plate in polished black granite with gold letters */
.donorspage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.donorspage .btn { margin-top: 22px; }
.feed { list-style: none; margin: 14px 0 0; padding: 0; }
.feed__item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed__av { width: 40px; height: 40px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-deep); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.feed__who { line-height: 1.35; font-size: .94rem; }
.feed__what { display: block; font-size: .8rem; color: var(--muted); }
.feed__amt { font-weight: 700; color: var(--maroon-deep); white-space: nowrap; }
.plaque { margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: 6px; color: #e9c46a; background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .06), transparent 40%), #1b1714; box-shadow: inset 0 0 0 1px #2e2722, inset 0 0 0 7px #1b1714, inset 0 0 0 8px rgba(233, 196, 106, .4); }
.plaque figcaption { text-align: center; margin-bottom: 28px; }
.plaque__h { font-family: var(--display); font-size: 1.9rem; color: #e9c46a; }
.plaque__sub { color: rgba(233, 196, 106, .7); font-size: .9rem; margin: 8px auto 0; max-width: 30em; }
.plaque__names { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; text-align: center; }
.plaque__names li { font-family: var(--display); font-size: 1.15rem; letter-spacing: .03em; padding: 8px 0; break-inside: avoid; }
.plaque__names span { display: block; font-family: var(--body); font-size: .76rem; color: rgba(233, 196, 106, .6); }
.plaque__empty { text-align: center; color: rgba(233, 196, 106, .75); }

/* thank you */
.thanks { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 50% 40%, #a52a1c, var(--maroon) 60%, var(--maroon-deep)); color: #fff; padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.thanks--fail { background: var(--maroon-deep); }
.thanks__in { max-width: 720px; }
.thanks__om { font-size: 3.2rem; color: var(--marigold); margin: 0; line-height: 1; }
.thanks__title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 16px 0; color: #fff; }
.thanks__lede { font-size: 1.1rem; color: rgba(255, 241, 207, .9); }
.thanks__mats { list-style: none; padding: 0; margin: 0 0 16px; color: var(--marigold); }
.thanks__blessing { color: rgba(255, 241, 207, .75); font-style: italic; max-width: 34em; margin: 16px auto; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 30px 0 18px; }
.thanks__ref { font-size: .86rem; color: rgba(255, 241, 207, .6); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--maroon-deep); color: rgba(255, 241, 207, .78); padding: 64px 0 24px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; position: relative; }
.footer__brand img { background: #fff; border-radius: 50%; padding: 4px; }
.footer__name { font-family: var(--display); font-size: 1.25rem; color: var(--marigold); margin: 14px 0 6px; }
.footer__addr { margin: 0; font-size: .9rem; max-width: 22em; }
.footer__h { font-family: var(--body); font-weight: 600; font-size: .95rem; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 241, 207, .15); margin-top: 48px; padding-top: 20px; font-size: .84rem; position: relative; }
.footer__base p { margin: 0; }
.footer__base a { margin-left: 18px; }

/* cart bar, toast, dock */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--maroon-deep); color: #fff; box-shadow: 0 -8px 30px rgba(74, 17, 11, .25); padding-bottom: env(safe-area-inset-bottom); }
.cartbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.cartbar p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; color: rgba(255, 241, 207, .8); }
.cartbar strong { font-size: 1.25rem; color: #fff; }
.toast { position: fixed; left: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px; max-width: 360px; background: var(--card); border-radius: 14px; padding: 10px 36px 10px 10px; box-shadow: 0 10px 30px rgba(74, 17, 11, .2); border: 1px solid var(--line); font-size: .84rem; line-height: 1.4; transition: opacity .3s, transform .3s; }
.toast.is-out { opacity: 0; transform: translateY(8px); }
.toast p { margin: 0; }
.toast strong { color: var(--maroon-deep); }
.toast__x { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; border-radius: 50%; }
.dock { display: none; }
body.has-cart .toast { bottom: 88px; }

/* ---------- offer dialog ---------- */
.offer { width: min(620px, calc(100vw - 32px)); max-height: min(92vh, 860px); padding: 0; border: 0; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(43, 14, 8, .35); }
.offer::backdrop { background: rgba(43, 14, 8, .6); }
.offer[open] { display: flex; }
.offer__form { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 6px; }
.offer__kicker { margin: 0; color: var(--saffron-deep); font-size: .85rem; font-weight: 600; }
.offer__title { font-size: 1.65rem; line-height: 1.2; }
.offer__close { background: var(--sandal); border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.offer__close:hover { color: var(--ink); }
.offer__steps { list-style: none; display: flex; gap: 6px; margin: 10px 24px 0; padding: 0 0 14px; border-bottom: 1px solid var(--line); counter-reset: step; font-size: .85rem; color: var(--muted); }
.offer__steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; flex: 1; }
.offer__steps li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; background: var(--sandal-2); display: grid; place-items: center; font-size: .78rem; font-weight: 600; flex: none; }
.offer__steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.offer__steps li[aria-current="step"]::before, .offer__steps li.is-done::before { background: var(--saffron); color: #fff; }
.offer__body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.offer__step { display: grid; gap: 18px; }
.seva-pick { display: grid; gap: 8px; }
.seva-pick label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); font-weight: 500; font-size: .94rem; }
.seva-pick label:has(input:checked) { border-color: var(--saffron); background: #fff6ef; }
.seva-pick input { accent-color: var(--saffron); width: 18px; height: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { flex: 1 1 110px; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--line); background: var(--sandal); border-radius: 12px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.chip:hover { border-color: var(--saffron); }
.chip[aria-pressed="true"] { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.mat-summary { background: var(--sandal); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mat-summary p { margin: 0 0 6px; }
.mat-summary ul { margin: 0 0 6px; padding-left: 1.1em; font-size: .92rem; }
.nameplate-hint { margin: 0; padding: 10px 14px; background: var(--marigold-soft); border-radius: 12px; font-size: .9rem; color: #6b3d05; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sandal-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { padding: 9px 12px; text-align: center; cursor: pointer; font-weight: 500; font-size: .92rem; border-radius: 9px; }
.seg label:has(input:checked) { background: var(--card); color: var(--saffron-deep); box-shadow: 0 1px 4px rgba(74, 17, 11, .12); font-weight: 600; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--marigold); }
.review { margin: 0; border-top: 1px solid var(--line); }
.review div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review dt { color: var(--muted); font-size: .9rem; }
.review dd { margin: 0; font-weight: 500; }
.testpay { background: var(--marigold-soft); border: 1.5px dashed #e0a630; border-radius: 12px; padding: 16px; }
.testpay__note { margin: 0 0 12px; font-size: .9rem; color: #6b3d05; }
.testpay__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.testpay .btn--forest { background: var(--saffron); color: #fff; }
.secure { font-size: .84rem; color: var(--muted); margin: 0; }
.offer__error { margin: 16px 0 0; padding: 12px 14px; background: #fdeceb; color: #8a1f17; border-radius: 12px; font-size: .9rem; }
.offer__foot { display: flex; align-items: center; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--sandal); border-radius: 0 0 20px 20px; }
.offer__total { margin: 0 auto 0 0; display: flex; flex-direction: column; line-height: 1.15; }
.offer__total span { font-size: .8rem; color: var(--muted); }
.offer__total strong { font-size: 1.45rem; color: var(--maroon-deep); }
.offer .btn--ochre { background: var(--saffron); color: #fff; }
.offer .btn--ochre:hover { background: var(--saffron-deep); }
.offer .btn--line { border-color: var(--line); color: var(--ink); }
.is-busy { pointer-events: none; opacity: .7; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .camp { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mainnav { gap: 18px; }
}
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .topbar__links { display: none; }
  .mainnav, .masthead__cta { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 1.05rem; }
  .camp { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 0; }
  .camp__main { display: contents; }
  .gallery { order: 1; }
  .camp__side { position: static; order: 2; margin: 18px 0 8px; }
  .tabs { order: 3; }
  .block { order: 4; }
  .camphead { padding: 40px 0 18px; }
  .temple-band__grid, .faqs__grid, .visit__grid, .trustpage, .donorspage { grid-template-columns: 1fr; }
  .temple-band__drawing { max-width: 480px; margin: 0 auto; }
  .trustpage__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .toast { left: 12px; right: 12px; max-width: none; bottom: 84px; }
  body.has-cart .toast { bottom: 150px; }
  .dock { display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 24px rgba(74, 17, 11, .12); transform: translateY(110%); transition: transform .25s; }
  .dock.is-shown { transform: none; }
  body.has-cart .dock { display: none; }
  .dock__call { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); color: var(--maroon); display: grid; place-items: center; }
  .dock__btn { flex: 1; min-height: 48px; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .camphead__title { font-size: 1.65rem; }
  .items { gap: 12px; }
  .item__body { padding: 12px; }
  .item__name { font-size: .92rem; }
  .item__unit { font-size: .78rem; margin-bottom: 8px; }
  .item__foot { flex-wrap: wrap; gap: 8px; }
  .item__add, .qty { width: 100%; justify-content: space-between; }
  .item__add { min-height: 36px; }
  .presets { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .gallery__thumb { flex-basis: 76px; height: 50px; }
  .gallery__nav { display: none; }
  .feedline__item { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .feedline__item::before { left: 6px; }
  .feedline__item::after { left: 0; }
  .feedline__card { padding-left: 0; }
  .deity { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
  .tb-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .tb-stats dd { font-size: 1.15rem; }
  .grid2 { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; }
  .timeline__item::before { left: 6px; }
  .timeline__item::after { left: 0; }
  .timeline__card { padding-left: 0; }
  .timeline__item--next .timeline__card { margin-left: 0; }
  .plaque__names { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base a { margin: 0 16px 0 0; }
  .offer { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .offer__foot { border-radius: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .offer__steps li { font-size: .78rem; }
  .review div { grid-template-columns: 1fr; gap: 0; }
  .mandala { width: 200px; height: 200px; }
  .mandala--tl { left: -100px; top: -80px; }
  .mandala--tr { right: -100px; top: -80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
