/* =============================================================
   Utsob 2026 — visual system
   Fixed watercolor background + translucent cream panels.
   ============================================================= */

:root {
  --ink:        #2a2017;
  --ink-soft:   #5a4a36;
  --ink-mute:   #8a7656;
  --cream:      #f6ecd6;
  --cream-2:    #efe2c4;
  --paper:      #fffaf0;
  --gold:       #b89149;
  --gold-deep:  #8a6a2e;
  --saffron:    #b8543a;
  --ember:      #9b3a2a;
  --olive:      #4a5d23;
  --rust:       #6b4226;
  --indigo:     #2a3a5c;
  --line:       rgba(138, 106, 46, 0.35);
  --line-soft:  rgba(138, 106, 46, 0.18);
  --panel-bg:   rgba(246, 236, 214, 0.74);
  --panel-bg-strong: rgba(246, 236, 214, 0.88);
  --shadow:     0 12px 40px -16px rgba(60, 36, 12, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
html { background: #e8d8b4; } /* fallback only — bg-layer sits above this */

/* ---------- Fixed background layer ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("assets/bg-watercolor.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
/* ---------- Stacking ---------- */
/* topbar/main/footer above bg-layer; modal-backdrop stays z:100 from its own rule */
.topbar { position: sticky; z-index: 50; }
.main, .site-foot { position: relative; z-index: 1; }

/* ---------- Floating mobile menu (hidden on desktop) ---------- */

.fab-stack {
  display: none;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.fab-stack > * { pointer-events: auto; }

.fab-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(42, 32, 23, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: fadeIn 0.18s ease;
  display: none;
}
@media (max-width: 880px) {
  .fab-scrim { display: block; }
}

.fab-button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 240, 0.45);
  background: rgba(42, 32, 23, 0.85);
  color: var(--cream);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 16px 40px -16px rgba(0, 0, 0, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 -1px 0 0 rgba(0, 0, 0, 0.25) inset;
  transition: transform 0.12s ease;
}
.fab-button:active { transform: scale(0.97); }
.fab-button.is-open {
  background: var(--ember);
  border-color: rgba(255, 250, 240, 0.6);
}

.fab-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 22px;
  height: 22px;
}
.fab-icon span {
  display: block;
  height: 2px;
  width: 16px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.fab-button.is-open .fab-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fab-button.is-open .fab-icon span:nth-child(2) { opacity: 0; }
.fab-button.is-open .fab-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fab-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.fab-sheet {
  width: min(78vw, 320px);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 250, 240, 0.6);
  border-radius: 22px;
  padding: 16px 14px 14px;
  box-shadow:
    0 24px 60px -20px rgba(0, 0, 0, 0.45),
    0 1px 0 0 rgba(255, 255, 255, 0.55) inset;
  animation: fabSheetIn 0.2s ease;
  transform-origin: 100% 100%;
}
@keyframes fabSheetIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.fab-sheet-head {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 8px;
}
.fab-sheet-head .brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.fab-sheet-title { display: flex; flex-direction: column; line-height: 1.1; gap: 2px; min-width: 0; }
.fab-sheet-name { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 600; color: var(--ink); }
.fab-sheet-sub  { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.fab-sheet-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

.fab-sheet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fab-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.fab-sheet-link:hover { background: rgba(184, 145, 73, 0.12); }
.fab-sheet-link.is-active { background: var(--ink); color: var(--cream); }
.fab-sheet-link.is-active .fab-sheet-arrow { color: var(--gold); }
.fab-sheet-link.is-donate { color: var(--ember); font-weight: 600; }
.fab-sheet-link.is-donate.is-active { background: var(--ember); color: var(--cream); }
.fab-sheet-link.is-donate.is-active .fab-sheet-arrow { color: var(--cream); }
.fab-sheet-arrow { color: var(--gold-deep); font-size: 14px; }

@media (max-width: 880px) {
  .topbar { display: none; }
  .fab-stack { display: flex; }
}
/* very light vignette just to keep edges from competing with the panels */
.bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 100% at 50% 35%, transparent 30%, rgba(232, 216, 180, 0.25) 100%);
  pointer-events: none;
}

/* ---------- Typography ---------- */
.display, .hero-title, .modal-title, .section-head h2, .page-header h1 {
  font-family: "Cormorant Garamond", "Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
  line-height: 1.05;
  text-wrap: balance;
}

.kicker {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}

a { color: var(--saffron); text-decoration: none; }
a:hover { color: var(--ember); }
.link { border-bottom: 1px solid var(--line); }

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05), 0 2px 10px -2px rgba(184, 84, 58, 0.5);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-year {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: var(--gold-deep);
  margin-top: 4px;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: rgba(184, 145, 73, 0.12); color: var(--ink); }
.nav-link.is-active {
  background: var(--ink);
  color: var(--cream);
}
.nav-link.is-active:hover { background: var(--ink); color: var(--cream); }
/* Make the Donate menu item pop */
.nav-link[href="#donate"] {
  color: var(--ember);
  font-weight: 600;
}
.nav-link[href="#donate"]:hover { background: rgba(155, 58, 42, 0.12); color: var(--ember); }
.nav-link[href="#donate"].is-active {
  background: var(--ember);
  color: var(--cream);
}
.nav-link[href="#donate"].is-active:hover { background: var(--ember); color: var(--cream); }

/* ---------- Donate page ---------- */

.donate-shell {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}
.donate-form-col {
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 28px clamp(20px, 4vw, 36px);
}
.donate-cta-row {
  display: flex;
  justify-content: center;
  margin: 8px 0 40px;
}
.btn-lg {
  padding: 18px 44px;
  font-size: 18px;
}
.donate-cta-row .btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.donate-cta-row .btn-primary:hover { background: #1a1108; }

.donate-rail {
  position: sticky;
  top: 84px;
}
.rail-card {
  background: rgba(42, 32, 23, 0.78);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  color: var(--cream);
  border-radius: 18px;
  padding: 26px 24px;
  border: 1px solid rgba(184, 145, 73, 0.3);
  box-shadow: var(--shadow);
}
.rail-card .kicker { color: var(--gold); margin-bottom: 14px; }
.rail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rail-list li {
  font-size: 13.5px;
  color: rgba(246, 236, 214, 0.85);
  line-height: 1.4;
  padding-left: 0;
}
.rail-list strong {
  display: inline-block;
  min-width: 72px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  margin-right: 4px;
}
.rail-card .ornament .line {
  background: linear-gradient(to right, transparent, rgba(184, 145, 73, 0.6), transparent);
}
.rail-card .ornament .diamond { background: var(--gold); }
.rail-fine {
  font-size: 12px;
  color: rgba(246, 236, 214, 0.65);
  margin: 0;
  line-height: 1.5;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.cat-card:hover { border-color: var(--gold); }
.cat-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cat-card .cat-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.cat-card .cat-hint {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
}
.cat-card.is-on {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(184, 84, 58, 0.35);
}
.cat-card.is-on .cat-label { color: var(--cream); }
.cat-card.is-on .cat-hint  { color: rgba(246, 236, 214, 0.72); }

/* Amount block */
.amount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: stretch;
}
.amount-input {
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Cormorant Garamond", serif;
}
.amount-input:focus-within {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(184, 84, 58, 0.18);
}
.amount-input .rupee {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-right: 6px;
}
.amount-input input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 6px;
  -moz-appearance: textfield;
}
.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.amount-tier {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px dashed var(--line);
  min-width: 140px;
}
.amount-tier span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.amount-tier strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
}

.amount-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip {
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.chip:hover { background: var(--cream); border-color: var(--gold); }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Confirmation */
.donate-thanks {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 32px;
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.donate-thanks-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--paper);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px -6px rgba(184, 84, 58, 0.5);
}
.thanks-title {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}
.thanks-lede {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0 auto 8px;
  max-width: 52ch;
}
.thanks-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px auto 24px;
  text-align: left;
}
.thanks-meta div {
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
}
.thanks-meta span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2px;
}
.thanks-meta strong {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.thanks-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .donate-shell { grid-template-columns: 1fr; }
  .donate-rail { position: static; }
  .cat-grid { grid-template-columns: 1fr; }
  .amount-row { grid-template-columns: 1fr; }
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Page shell ---------- */

.main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 28px 96px;
}

.page-header {
  text-align: center;
  margin: 8px auto 36px;
  max-width: 760px;
  padding: 28px 32px 26px;
  background: rgba(246, 236, 214, 0.78);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.page-header h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 14px; }
.page-header .lede { margin: 0 auto; }

/* ---------- Panel surface ----------
   Panels are now bare containers — the painting shows through.
   Individual cards and headers carry their own translucent backgrounds. */

.panel {
  position: relative;
  padding: 20px 0;
  margin-bottom: 32px;
}
.panel.has-scrim {
  background: var(--panel-bg);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 36px clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow);
}

/* ---------- Ornament ---------- */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 18px;
}
.ornament .line {
  width: 56px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.ornament .diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s, background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: #1a1108; color: var(--cream); }
.btn-primary:disabled { background: rgba(42,32,23,0.35); cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255,250,240,0.6); }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25D366; color: #06210f; }
.btn-whatsapp:hover { background: #1fbd5a; color: #06210f; }

/* ---------- HOME ---------- */

/* Hero — stacked vertical band along the top */
.hero {
  text-align: center;
  padding: 0;
  margin-bottom: 24px;
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
}
.hero-inner::before, .hero-inner::after { display: none; }

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-row .kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.26em;
  font-weight: 700;
  color: var(--ember);
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.85),
    0 0 14px rgba(255, 250, 240, 0.85);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.7),
    0 0 22px rgba(255, 250, 240, 0.75);
}
.hero-title em {
  display: inline;
  font-style: italic;
  color: var(--saffron);
}
.hero-lede {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.7),
    0 0 18px rgba(255, 250, 240, 0.7);
  max-width: 56ch;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.hero-cta .btn { padding: 10px 18px; font-size: 13px; }
.hero-cta .btn-ghost {
  background: rgba(255, 250, 240, 0.55);
  border-color: rgba(184, 145, 73, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-cta .btn-ghost:hover { background: rgba(255, 250, 240, 0.85); }

.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.tile {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 12px;
  padding: 22px 22px 20px;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.tile:hover { border-color: var(--gold); background: rgba(255,250,240,0.95); transform: translateY(-2px); }

.tile-featured {
  background: rgba(155, 58, 42, 0.88);
  border-color: rgba(255, 250, 240, 0.55);
  color: var(--cream);
  box-shadow:
    0 14px 36px -16px rgba(155, 58, 42, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.25) inset;
}
.tile-featured:hover {
  background: var(--ember);
  border-color: rgba(255, 250, 240, 0.7);
  color: var(--cream);
}
.tile-featured .tile-label { color: var(--cream); }
.tile-featured .tile-hint  { color: rgba(246, 236, 214, 0.78); }
.tile-featured .tile-arrow { color: var(--gold); }
.tile-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 600;
  grid-column: 1;
}
.tile-hint {
  font-size: 12.5px;
  color: var(--ink-mute);
  grid-column: 1;
}
.tile-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 22px;
  color: var(--gold-deep);
}

.section-head {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 760px;
  padding: 24px 32px;
  background: rgba(246, 236, 214, 0.78);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); margin: 0 0 12px; }
.section-head .lede { margin: 0 auto; }

/* ---------- Donor tickers (replaces .donor-rail) ---------- */

.donor-tickers {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 4px;
}

.ticker {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: stretch;
  gap: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.42), rgba(246, 236, 214, 0.32));
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid rgba(184, 145, 73, 0.18);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 16px -10px rgba(60, 36, 12, 0.18);
}
.ticker-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(155, 58, 42, 0.88);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-right: 1px solid rgba(255, 250, 240, 0.25);
  white-space: nowrap;
}

.ticker-track-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 14px 0;
  animation-name: ticker-scroll-left;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 40s;
}
.ticker-right .ticker-track { animation-name: ticker-scroll-right; }

.ticker-name {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.ticker-dot {
  display: inline-block;
  font-size: 9px;
  color: var(--gold);
  opacity: 0.7;
  transform: translateY(-1px);
}

@keyframes ticker-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ticker-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* pause on hover */
.ticker:hover .ticker-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

@media (max-width: 720px) {
  .ticker { grid-template-columns: 1fr; border-radius: 16px; }
  .ticker-label {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 145, 73, 0.18);
    padding: 8px 16px 6px;
    font-size: 14px;
  }
  .ticker-name { font-size: 17px; padding: 0 12px; gap: 18px; }
  .ticker-track { padding: 10px 0; }
}

/* ─── Sponsor logo marquee (reuses .ticker-track-wrap / .ticker-track scroll mechanics) ─── */
.sponsor-ticker {
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.42), rgba(246, 236, 214, 0.32));
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border: 1px solid rgba(184, 145, 73, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px -10px rgba(60, 36, 12, 0.18);
}
.sponsor-ticker:hover .ticker-track { animation-play-state: paused; }

.sponsor-static-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 20px 16px;
}

.sponsor-logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  width: 160px;
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 14px;
  transition: transform 0.2s ease;
}
.sponsor-logo-tile:hover { transform: translateY(-2px); }
.sponsor-logo-tile img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .sponsor-logo-tile { height: 56px; width: 120px; padding: 6px 14px; }
  .sponsor-static-row { gap: 16px; padding: 14px 10px; }
}

.donor-foot {
  text-align: center;
  margin: 28px auto 0;
}
.donor-foot-inner {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.insta {
  text-align: center;
}
.insta .insta-grid { margin-top: 4px; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.insta-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.insta-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(184,145,73,0.15) 0 8px, rgba(184,145,73,0.05) 8px 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink-mute);
}
.insta-handle { font-size: 12px; color: var(--saffron); font-weight: 600; }
.insta-caption { font-size: 10px; font-family: ui-monospace, "SF Mono", monospace; letter-spacing: 0.04em; }

/* ---------- Time grid ---------- */

.grid-wrap { overflow: hidden; border-radius: 14px; border: 1px solid var(--line-soft); }
.grid-scroll {
  overflow-x: auto;
  background: rgba(255, 250, 240, 0.55);
}
.time-grid {
  display: grid;
  min-width: 760px;
  position: relative;
}
.cell { position: relative; }
.cell-corner {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  /* liquid glass — same recipe as the time column */
  position: sticky;
  left: 0;
  z-index: 4;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.30), rgba(246, 236, 214, 0.22));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.cell-day {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  background: rgba(184, 145, 73, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.day-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.day-date {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.cell-hour {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px dashed var(--line-soft);
  padding: 4px 10px 0 0;
  text-align: right;
  font-size: 11px;
  font-family: ui-monospace, "SF Mono", monospace;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
  /* freeze the time column — liquid glass to match the rest of the page */
  position: sticky;
  left: 0;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.30), rgba(246, 236, 214, 0.22));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.cell-slot {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px dashed var(--line-soft);
}

.event {
  margin: 3px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.25;
  transition: transform 0.1s, box-shadow 0.15s;
}
.event:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0,0,0,0.3); }
.event-time {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.event-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.05;
}
.event-tag {
  align-self: flex-start;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  color: var(--ember);
  margin-top: 2px;
  font-weight: 700;
}
.event-saffron { background: #c4664a; color: #fff5e6; border-color: rgba(0,0,0,0.08); }
.event-saffron .event-time { color: #fde2c8; opacity: 0.95; }
.event-gold    { background: #d9b86a; color: #2a2017; }
.event-gold    .event-time { color: #5a4a36; opacity: 0.85; }
.event-ember   { background: #8e2f23; color: #fceedf; }
.event-ember   .event-time { color: #fbd7b8; opacity: 0.95; }

.legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(255,250,240,0.5);
  border-top: 1px solid var(--line-soft);
}
.legend .dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-saffron { background: #c4664a; }
.dot-gold    { background: #d9b86a; }
.dot-ember   { background: #8e2f23; }
.legend-hint { margin-left: auto; color: var(--ink-mute); font-style: italic; }

/* ---------- Modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(42, 32, 23, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.18s ease;
  /* Forces its own GPU compositing layer — works around a long-standing iOS Safari bug where
     position: fixed elements repaint at a stale scroll offset (appearing off-center, needing a
     scroll to "catch up") when opened during or right after a scroll/momentum gesture. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px clamp(20px, 3.5vw, 32px) 24px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  border: 1px solid var(--line-soft);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  animation: modalIn 0.22s ease;
}
.modal-wide { max-width: 560px; }
.modal-title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.modal-kicker { margin-bottom: 6px; }
.modal-meta { font-size: 12.5px; }
.modal-desc { font-size: 14.5px; margin: 4px 0 16px; }
.modal .ornament { margin: 10px 0 12px; }
.modal .ornament .line { width: 40px; }

/* tighter form within modals */
.modal .form { gap: 12px; }
.modal .form-row { gap: 12px; }
.modal .field input {
  font-size: 14px;
  padding: 9px 12px;
}
.modal .field-label { font-size: 10.5px; }
.modal .field-help { font-size: 12px; margin: -1px 0 6px; }
.modal .day-coupon-row {
  padding: 9px 14px;
  gap: 12px;
}
.modal .day-coupon-label { font-size: 19px; }
.modal .day-coupon-sub   { font-size: 10.5px; letter-spacing: 0.14em; }
.modal .day-coupon-subtotal { font-size: 16px; width: 100px; min-width: 100px; }
.modal .counter-sm { padding: 3px 6px; gap: 8px; }
.modal .counter-sm button { width: 24px; height: 24px; font-size: 13px; }
.modal .counter-sm span { font-size: 16px; min-width: 20px; }
.modal .form-total {
  padding: 10px 14px;
}
.modal .form-total strong { font-size: 22px; }
.modal .btn { padding: 10px 18px; font-size: 13px; }
.modal .rzp-mock { margin-bottom: 14px; }
.modal .rzp-body { padding: 14px; gap: 8px; }
.modal .rzp-line { font-size: 13px; }
@keyframes modalIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.modal-close:hover { background: var(--cream); }
.modal-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.modal-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.modal-meta { font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px; }
.modal-desc { font-size: 16px; color: var(--ink-soft); margin: 4px 0 22px; }
.modal .btn { margin-top: 6px; }

.type-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.type-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--cream);
  white-space: nowrap;
}
.type-pill-worship      { background: var(--gold-deep); }
.type-pill-drama        { background: var(--ember); }
.type-pill-music        { background: var(--saffron); }
.type-pill-dance        { background: var(--ink); }
.type-pill-fashion-show { background: var(--gold); }
.type-pill-workshop     { background: var(--rust); }
.type-pill-activities   { background: var(--olive); }
.type-pill-performances { background: var(--ink-soft); }

/* ---------- BHOG ---------- */

.bhog-info { display: grid; gap: 28px; }
.bhog-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.bhog-card {
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px 22px;
}
.bhog-head { border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 12px; }
.bhog-day {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}
.bhog-date {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 6px;
}
.bhog-time { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.bhog-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bhog-menu li {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding-left: 14px;
}
.bhog-menu li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 4px;
  background: var(--gold);
  transform: rotate(45deg);
}

.bhog-cta {
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}

.volunteer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed rgba(184,145,73,0.3);
}
.volunteer-cta-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---------- Form ---------- */

.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.field input, .field select {
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  width: 100%;
}
.field select { cursor: pointer; }
.field select:disabled { opacity: 0.55; cursor: not-allowed; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(184, 84, 58, 0.18);
}

.day-toggles { display: flex; gap: 10px; flex-wrap: wrap; }

/* per-day coupon picker */
.field-help {
  margin: -2px 0 8px;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.day-coupons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.day-coupon-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
}
.day-coupon-row.is-on {
  border-color: var(--gold);
  background: rgba(255, 250, 240, 1);
}
.day-coupon-info { display: flex; flex-direction: column; gap: 3px; }
.day-coupon-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.day-coupon-sub {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.day-coupon-subtotal {
  width: 120px;
  min-width: 120px;
  text-align: right;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.day-coupon-subtotal .muted {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.counter-sm { padding: 4px 8px; gap: 10px; }
.counter-sm button {
  width: 26px; height: 26px;
  font-size: 14px;
}
.counter-sm button:disabled {
  color: var(--ink-mute);
  background: rgba(184, 145, 73, 0.08);
  cursor: not-allowed;
}
.counter-sm span {
  font-size: 18px;
  min-width: 22px;
}

@media (max-width: 560px) {
  .day-coupon-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }
  .day-coupon-info { grid-row: 1; }
  .counter-sm { grid-row: 1; grid-column: 2; }
  .day-coupon-subtotal { grid-row: 2; grid-column: 1 / -1; text-align: left; width: auto; min-width: 0; }
}
.day-toggle {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  text-align: left;
}
.day-toggle span:first-child {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
}
.day-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; }
.day-toggle.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.day-toggle.is-on .day-sub { color: rgba(246,236,214,0.7); }

.counter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.counter button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  cursor: pointer;
  font-size: 16px;
}
.counter span {
  min-width: 24px; text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
}

.form-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--cream);
  border-radius: 10px;
  border: 1px dashed var(--line);
}
.form-total span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.form-total strong { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 600; }

/* Payment (UPI QR + UTR) */
.upi-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 18px;
}
.upi-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 14px;
}
.upi-secure { font-weight: 400; opacity: 0.85; font-size: 12px; }
.upi-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.upi-line { display: flex; justify-content: space-between; font-size: 14px; }
.upi-line span { color: var(--ink-mute); }
.paying-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* QR */
.bhog-voucher-list { display: flex; flex-direction: column; gap: 12px; max-height: 50vh; overflow-y: auto; }
.qr-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: var(--cream);
  border-radius: 12px;
}
.qr {
  width: 160px; height: 160px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.25);
}
.qr img { width: 100%; height: 100%; object-fit: contain; }
.qr-meta { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.qr-meta div { display: flex; flex-direction: column; }
.qr-meta span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.qr-meta strong { font-size: 14px; color: var(--ink); font-weight: 600; }

.upi-copy-steps {
  margin: 10px auto 0;
  padding-left: 20px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: left;
}
.upi-copy-steps li + li { margin-top: 4px; }
.upi-copy-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.upi-disclaimer {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- Stall groups ---------- */

.stall-group .group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 14px 22px;
  background: rgba(246, 236, 214, 0.82);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.group-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.group-count {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.stall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
}
.stall-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  padding: 12px 8px;
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.12s, background 0.15s;
}
.stall-card .stall-pills { justify-content: center; margin-top: 0; }
.stall-card:hover { border-color: var(--gold); transform: translateY(-2px); background: var(--paper); }
.stall-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  flex-shrink: 0;
}
.stall-logo img { width: 100%; height: 100%; object-fit: cover; }
.stall-logo-food { background: var(--saffron); color: #fff7e8; }
.stall-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stall-arrow { color: var(--gold-deep); font-size: 14px; }

/* Morning/Evening + Veg/Non-Veg pills, shared by stall cards, the detail modal, and the
   quad-grid cell labels below. */
.pill-base {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--cream);
  white-space: nowrap;
}
.stall-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.slot-pill-morning { background: var(--gold); }
.slot-pill-evening { background: var(--indigo); }
.slot-pill-allday  { background: var(--ink-soft); }
.food-pill-veg     { background: var(--olive); }
.food-pill-nonveg  { background: var(--ember); }
.food-pill-both    { background: linear-gradient(90deg, var(--olive) 50%, var(--ember) 50%); }
/* Vendor's category (e.g. "Garment", "Auto"), set when they were registered as a partner in
   Partner Payments — an open-ended value, so it gets a neutral color rather than one of the
   fixed slot/foodtype palette entries. */
.pill-vendor-type  { background: var(--rust); }

/* Invisible layout for Food stalls under each day: Column 1 Morning / Column 2 Evening,
   Row 1 Veg / Row 2 Non-Veg. No visible grid lines — just consistent placement. Morning+Non-Veg
   is never a real combination (Morning is always Veg by rule), so that quadrant is omitted —
   named areas keep Evening/Non-Veg under Evening/Veg instead of falling back to column 1. */
.stall-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}
.stall-quad-grid-3 { grid-template-areas: "mv ev" ". en"; }
.stall-quad-cell { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stall-quad-label { display: flex; gap: 6px; align-items: center; }
.stall-quad-empty {
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-mute);
  opacity: 0.7;
  padding: 10px 2px;
}
.stall-quad-cell .stall-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
@media (max-width: 640px) {
  .stall-quad-grid { grid-template-columns: 1fr; }
  .stall-quad-grid-3 { grid-template-areas: "mv" "ev" "en"; }
}

.collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.collage-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(184,145,73,0.18) 0 8px, rgba(184,145,73,0.06) 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  border: 1px solid var(--line-soft);
  /* Now a <button> so the collage photo can open a lightbox — reset default button chrome. */
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s, border-color 0.15s;
}
.collage-tile:hover { border-color: var(--gold); transform: scale(1.02); }
.collage-tile img { width: 100%; height: 100%; object-fit: cover; }
.stall-menu {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.stall-menu li {
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 8px;
  font-size: 14px;
}

/* ---------- Mosaic ---------- */

.mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.mosaic-tile {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
  animation: mosaic-fade-in 0.7s ease both;
}
@keyframes mosaic-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic-tile { animation: none; }
}
.mosaic-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(0,0,0,0.35); }
.mosaic-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-2);
}
.mosaic-photo-incoming {
  animation: mosaic-crossfade-in 0.8s ease forwards;
}
@keyframes mosaic-crossfade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic-photo-incoming { animation: none; }
}

.lightbox {
  position: relative;
  max-height: 72vh;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-photo {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.testimonial-video {
  display: block;
  width: 100%;
  max-height: 72vh;
}

/* ---------- Testimonials ---------- */

.testimonials-head { text-align: center; margin: 36px 0 18px; }
.testimonials-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.testimonials-sub { font-size: 14px; color: var(--ink-soft); margin: 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.testimonial-tile {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 250, 240, 0.7);
  font-family: inherit;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonial-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(0,0,0,0.35); }
.testimonial-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,12,4,0.75) 0%, rgba(20,12,4,0.15) 45%, rgba(20,12,4,0.25) 100%);
}
.testimonial-play {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--cream);
  flex-shrink: 0;
}
.testimonial-label {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  text-align: center;
}
@media (max-width: 700px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .topbar { padding: 12px 18px; }
  .nav {
    position: fixed;
    inset: 64px 12px auto 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, transform 0.15s;
  }
  .nav-link { padding: 11px 14px; }
  .nav.nav-open { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: inline-flex; margin-left: auto; }
  .main { padding: 32px 16px 60px; }
  .panel { padding: 26px 18px; border-radius: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .qr-wrap { grid-template-columns: 1fr; text-align: center; }
  .qr { margin: 0 auto; }
  .bg-layer {
    background-image: url("assets/bg-watercolor.png");
    background-attachment: scroll;
  }
}
