/* Akhand Jyot: a Mata ki Chowki at night. Deep sindoor maroon, chunri red, gota gold, marigold.
   Gate (hold to light the jyot -> the chunri unfurls, bells ring, the invocation glows; the gate becomes the hero)
   -> at a glance -> the invitation card -> the programme as lamps on a thread -> bhajan mandali
   -> aarti (circle the thali) -> countdown -> venue -> reply -> footer. --k (0..1) is how lit the jyot is. */

:root {
  --night: #22040a;
  --maroon: #3a060b;
  --maroon-2: #4f0a12;
  --red: #c8102e;
  --red-hi: #e4243c;
  --gold: #e8b04a;
  --gold-hi: #ffe7a3;
  --gold-lo: #8a5a12;
  --marigold: #f39c12;
  --cream: #fff3dc;
  --cream-2: #f8e4bf;
  --ink: #3a0a0e;
  --ink-soft: #6b2a22;
  --text: #fbe9cf;
  --text-soft: #e2c39a;

  --f-deva: "Yatra One", "Rozha One", serif;
  --f-display: "Rozha One", Georgia, serif;
  --f-body: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --ch: clamp(84px, 15svh, 150px);   /* the chunri canopy's height */
  --fx-bg: var(--maroon);
  --fx-music-bg: var(--red);
  --fx-music-ring: var(--gold);
  --fx-music-ink: var(--gold-hi);

  /* a gota-patti border: gold leaves on a ribbon */
  --gota: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Crect width='24' height='12' fill='%23c8902c'/%3E%3Cpath d='M0 6c4-5 8-5 12 0s8 5 12 0' fill='none' stroke='%23ffe7a3' stroke-width='1.4'/%3E%3Ccircle cx='6' cy='3.4' r='1.4' fill='%23fff3c4'/%3E%3Ccircle cx='18' cy='8.6' r='1.4' fill='%23fff3c4'/%3E%3C/svg%3E");
  /* bandhani: the tie-dye dots of a chunri */
  --bandhani: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='%23ffd9a0' fill-opacity='.09'%3E%3Ccircle cx='5' cy='5' r='1.6'/%3E%3Ccircle cx='9' cy='5' r='1.1'/%3E%3Ccircle cx='7' cy='8.4' r='1.1'/%3E%3Ccircle cx='19' cy='19' r='1.6'/%3E%3Ccircle cx='23' cy='19' r='1.1'/%3E%3Ccircle cx='21' cy='22.4' r='1.1'/%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
html.shut, html.shut body { overflow: hidden; }
body {
  background: var(--bandhani), radial-gradient(100% 60% at 50% 0%, var(--maroon-2), var(--night) 80%) fixed, var(--night);
  background-size: 28px 28px, auto, auto;
  color: var(--text);
  font: 400 18px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
[lang="hi"] { font-family: var(--f-body); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
main, .foot { position: relative; z-index: 1; }

.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 400 20px/1.2 var(--f-deva); color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gota) center / auto 100%; border-radius: 2px; }
.sec__title { margin: 6px 0 0; font: 400 clamp(32px, 9vw, 46px)/1.1 var(--f-display); color: var(--cream); text-wrap: balance; }
.sec__sub { margin: 10px auto 0; max-width: 30em; color: var(--text-soft); }
.sec__head { text-align: center; margin-bottom: 30px; }

/* =================================================================== GATE: the darbar */

.gate {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 50% at 50% 56%, rgba(255, 150, 50, calc(var(--k) * .32)), transparent 70%),
    radial-gradient(120% 80% at 50% 30%, var(--maroon-2), var(--night) 75%);
}
.gate::after {                    /* the room warms as the jyot catches */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--bandhani); background-size: 28px 28px; opacity: calc(.4 + var(--k) * .6);
}

/* --- the marigold toran and the chunri canopy --- */
.chunri { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; }
.chunri__cloth {
  height: var(--ch); margin: 0 -4%;
  transform-origin: 50% 0; transform: scaleY(0); opacity: 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45));
}
.chunri__svg { display: block; width: 100%; height: 100%; }
.gate[data-phase="lit"] .chunri__cloth { animation: unfurl 1.6s var(--ease) .15s both, billow 6s ease-in-out 1.8s infinite alternate; }
.gate.instant .chunri__cloth { animation: billow 6s ease-in-out infinite alternate; transform: none; opacity: 1; }
@keyframes unfurl {
  0% { transform: scaleY(0) skewX(0); opacity: 0; }
  12% { opacity: 1; }
  60% { transform: scaleY(1.08) skewX(-2deg); }
  80% { transform: scaleY(.96) skewX(1deg); }
  100% { transform: scaleY(1) skewX(0); opacity: 1; }
}
@keyframes billow { from { transform: scaleY(1) skewX(0); } to { transform: scaleY(1.03) skewX(-1.2deg); } }
.tassel { animation: swing 3.2s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 0; }
.tassel:nth-child(odd) { animation-delay: -1.4s; }
@keyframes swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.chunri__toran { position: absolute; left: 0; right: 0; top: -2px; }
.toran { display: block; width: 100%; height: auto; max-height: 64px; }

/* --- bells: hang either side, swing and ring when the jyot is lit (and when tapped) --- */
.bells { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ghanti {
  position: absolute; top: clamp(28px, 6svh, 52px); width: 44px; height: 96px; padding: 0;
  background: none; border: 0; cursor: pointer; pointer-events: auto;
  transform-origin: 50% 0; -webkit-tap-highlight-color: transparent;
}
.ghanti svg { width: 100%; height: 100%; display: block; }
.ghanti--l { left: max(10px, 4vw); }
.ghanti--r { right: max(10px, 4vw); }
.ghanti.ring { animation: ring 1.6s cubic-bezier(.3, 0, .3, 1); }
.ghanti--r.ring { animation-delay: .12s; }
@keyframes ring { 0% { transform: rotate(0); } 15% { transform: rotate(18deg); } 35% { transform: rotate(-14deg); } 55% { transform: rotate(9deg); } 75% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }

/* --- the column --- */
.gate__in {
  position: relative; z-index: 2; min-height: 100svh; max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--ch) - 6px) 16px calc(76px + env(safe-area-inset-bottom));   /* bottom row: Skip left, music button right */
}
.gate__jai {
  font: 400 clamp(42px, 13vw, 70px)/1.15 var(--f-deva);
  background: linear-gradient(180deg, #fff3c4, #f2c45a 45%, #c8862a); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: calc(.12 + var(--k) * .4); filter: drop-shadow(0 0 calc(var(--k) * 14px) rgba(255, 190, 80, .55));
  transition: opacity .6s;
}
.gate[data-phase="lit"] .gate__jai { opacity: 1; animation: glow 3.4s ease-in-out .6s infinite alternate; }
@keyframes glow { from { filter: drop-shadow(0 0 8px rgba(255, 190, 80, .45)); } to { filter: drop-shadow(0 0 22px rgba(255, 200, 90, .85)); } }

.gate__scene { width: min(82vw, 360px); max-height: 48svh; aspect-ratio: 400 / 470; margin: 4px auto 0; }
.darbar { display: block; width: 100%; height: 100%; overflow: visible; }

/* --- the darbar's light --- */
.darbar__arch { filter: brightness(calc(.55 + var(--k) * .45)); }
.darbar__halo { opacity: var(--k); }
.darbar--lit .darbar__halo { opacity: 1; }
.trishul { opacity: calc(.42 + var(--k) * .58); }
.darbar--lit .trishul { opacity: 1; }
.trishul__tail { transform-box: fill-box; transform-origin: 0 0; animation: flutter 2.6s ease-in-out infinite alternate; }
.trishul__tail--b { transform-origin: 100% 0; animation-duration: 3.1s; }
@keyframes flutter { from { transform: skewY(-4deg) scaleX(.94); } to { transform: skewY(5deg) scaleX(1.06); } }
.kalash, .chowki { filter: brightness(calc(.5 + var(--k) * .5)); }
.darbar--lit :is(.kalash, .chowki) { filter: none; }

.flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--k)); opacity: min(1, calc(var(--k) * 3)); }
.darbar--lit .flame { transform: none; opacity: 1; }
.flame__dance { transform-box: fill-box; transform-origin: 50% 100%; animation: dance 1.4s ease-in-out infinite alternate; }
@keyframes dance {
  0% { transform: scale(1, 1) skewX(0); }
  30% { transform: scale(.96, 1.05) skewX(2deg); }
  60% { transform: scale(1.03, .97) skewX(-2deg); }
  100% { transform: scale(.98, 1.03) skewX(1deg); }
}
.jyot__ember { animation: ember 1.8s ease-in-out infinite alternate; }
@keyframes ember { from { opacity: .35; } to { opacity: 1; } }

/* --- before: the hold --- */
.gate__ask { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gate__to { font: 500 16px/1.3 var(--f-body); color: var(--gold); }
.gate__lead { max-width: 24em; font-size: 18px; color: var(--text); }
.gate__lead b { color: var(--gold-hi); font-weight: 700; }
.hold {
  position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 24px 8px 10px;
  border-radius: 999px; border: 1.5px solid rgba(255, 215, 140, .55); cursor: pointer;
  background: linear-gradient(180deg, rgba(200, 16, 46, .9), rgba(140, 10, 30, .9));
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 220, 160, .35);
  color: var(--cream); font: 500 17px/1.2 var(--f-body);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;
}
.hold__ring {
  position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: conic-gradient(var(--gold-hi) calc(var(--k) * 360deg), rgba(255, 230, 190, .22) 0);
  -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px); mask: radial-gradient(circle, transparent 15px, #000 16px);
}
.hold::before {               /* a small flame inside the ring */
  content: ""; position: absolute; left: 26px; top: calc(50% - 9px); width: 12px; height: 17px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 70%, #fff1a8, #ffb02e 55%, #e2461a);
  animation: dance 1.2s ease-in-out infinite alternate;
}
.hold__busy { display: none; }
.gate[data-phase="lighting"] .hold__idle { display: none; }
.gate[data-phase="lighting"] .hold__busy { display: inline; }
.gate[data-phase="idle"] .hold { animation: beckon 2.8s ease-in-out 1.2s infinite; }
@keyframes beckon { 0%, 100% { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7), 0 0 0 0 rgba(255, 190, 80, .45); } 50% { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7), 0 0 0 12px rgba(255, 190, 80, 0); } }

.gate[data-phase="lit"] .gate__ask { opacity: 0; transition: opacity .8s; }
.gate__skip {
  position: absolute; left: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6;
  min-width: 64px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: rgba(20, 2, 4, .45); border: 1px solid rgba(255, 220, 160, .3); color: rgba(255, 236, 205, .85);
  font: 500 14px/1 var(--f-body); letter-spacing: .08em;
}

/* --- after: the hero --- */
.hero { display: none; margin-top: auto; padding-top: 10px; }
.gate.open .gate__ask, .gate.open .gate__skip, .gate[data-phase="lit"] .gate__skip { display: none; }
.gate.open .hero { display: block; animation: rise 1.2s var(--ease) both; }
.gate.instant .hero { animation: none; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
.hero__hi { font: 400 clamp(22px, 6.4vw, 30px)/1.3 var(--f-deva); color: var(--gold); }
.hero__title { margin: 0; font: 400 clamp(38px, 11.5vw, 60px)/1.05 var(--f-display); color: var(--cream); text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.hero__by { margin-top: 10px; font-size: 18px; color: var(--text-soft); }
.hero__by b { color: var(--gold-hi); font-weight: 700; font-size: 1.12em; }
.hero__when {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 14px; padding: 10px 18px;
  border-top: 1px solid rgba(232, 176, 74, .5); border-bottom: 1px solid rgba(232, 176, 74, .5);
  font: 500 18px/1.3 var(--f-body); color: var(--cream);
}
.hero__when span { color: var(--gold-hi); font-weight: 700; }
.hero__down {
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; min-height: 44px;
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); text-decoration: none;
}
.hero__down::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); rotate: 45deg; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 6px; } }

/* no JS: show the lit darbar and the hero */
html:not(.js) .gate { --k: 1 !important; }
html:not(.js) .chunri__cloth { transform: none; opacity: 1; }
html:not(.js) :is(.gate__ask, .gate__skip) { display: none; }
html:not(.js) .hero { display: block; }
html:not(.js) .gate__jai { opacity: 1; }
.gate.instant * { transition: none !important; }

/* =================================================================== AT A GLANCE */

.glance { position: relative; z-index: 2; max-width: 560px; margin: -8px auto 0; padding: 0 16px; }
.glance__list {
  list-style: none; margin: 0; padding: 6px 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 243, 220, .06), rgba(255, 243, 220, .02));
  border: 1px solid rgba(232, 176, 74, .4);
}
.glance__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 18px; }
.glance__list li + li { border-top: 1px dashed rgba(232, 176, 74, .28); }
.glance__k { flex: 0 1 auto; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.glance__v { flex: none; white-space: nowrap; text-align: right; font: 700 19px/1.3 var(--f-body); color: var(--cream); }
.glance__feast { background: linear-gradient(90deg, rgba(243, 156, 18, .22), rgba(200, 16, 46, .2)); }
.glance__feast .glance__v { color: var(--gold-hi); }

/* =================================================================== SECTIONS */

.sec { max-width: 560px; margin: 0 auto; padding: 72px 16px 0; }

/* --- the invitation card: cream paper, red and gold borders --- */
.card {
  position: relative; padding: 34px 22px 30px; text-align: center; color: var(--ink);
  background: radial-gradient(120% 80% at 50% 0%, #fffaf0, var(--cream) 60%, var(--cream-2));
  border-radius: 6px;
  box-shadow: 0 0 0 6px var(--red), 0 0 0 8px var(--gold), 0 0 0 10px var(--red), 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.card .eyebrow { color: var(--red); }
.card__corner { position: absolute; width: 38px; height: 38px; border: 2px solid var(--gold); }
.card__corner--tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.card__corner--br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.card__kripa { margin-top: 12px; font-size: 16px; color: var(--ink-soft); }
.card__kripa b { color: var(--red); }
.card__msg { margin: 14px auto 0; max-width: 26em; font-size: 19px; line-height: 1.6; color: var(--ink); }
.card__hi { margin-top: 16px; font: 400 21px/1.4 var(--f-deva); color: var(--red); }
.card__hosts { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(200, 16, 46, .25); }
.card__names { font: 400 clamp(21px, 6vw, 26px)/1.3 var(--f-display); color: var(--ink); text-wrap: balance; }
.card__family { margin-top: 6px; font: 700 17px/1.3 var(--f-body); letter-spacing: .04em; color: var(--red); }

/* --- the programme: lamps on a gold thread --- */
.thread { list-style: none; margin: 0; padding: 0; position: relative; }
.thread::before {
  content: ""; position: absolute; left: 21px; top: 20px; bottom: 30px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 10px);
}
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 26px; transition-delay: calc(var(--i) * 80ms); }
.step__lamp { width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(232, 176, 74, .5), 0 0 22px rgba(255, 160, 60, .35); }
.step__lamp svg { width: 32px; height: 32px; }
.step.in .step__lamp svg path:first-child { animation: dance 1.3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.step__body {
  padding: 16px 18px 18px; border-radius: 14px;
  background: rgba(255, 243, 220, .05); border: 1px solid rgba(232, 176, 74, .25);
}
.step__time { font: 700 20px/1.2 var(--f-body); color: var(--gold-hi); }
.step__name { margin: 6px 0 0; font: 400 24px/1.2 var(--f-display); color: var(--cream); }
.step__name span { display: block; margin-top: 2px; font: 400 18px/1.3 var(--f-deva); color: var(--gold); }
.step__date { margin-top: 6px; font-size: 16px; color: var(--text-soft); }
.step__note { margin-top: 8px; font-size: 17px; color: var(--text); }
.step__where { margin-top: 6px; font-size: 16px; color: var(--text-soft); }
.step__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.step--feast .step__body { background: linear-gradient(135deg, rgba(243, 156, 18, .2), rgba(200, 16, 46, .22)); border-color: rgba(255, 200, 100, .6); }
.step--feast .step__lamp { background: var(--marigold); }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 500 15px/1 var(--f-body); text-decoration: none; color: var(--cream);
  border: 1px solid rgba(232, 176, 74, .5); background: rgba(0, 0, 0, .15);
}
.chip--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; }

/* --- mandali --- */
.mandali__list { display: grid; gap: 14px; }
.artist {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: rgba(255, 243, 220, .05); border: 1px solid rgba(232, 176, 74, .25);
}
.artist__mark { grid-row: 1 / span 3; width: 64px; height: 44px; }
.artist__mark svg { width: 100%; height: 100%; }
.artist__name { margin: 0; font: 400 22px/1.2 var(--f-display); color: var(--cream); }
.artist__role { font-size: 16px; color: var(--gold-hi); }
.artist__from { font-size: 15px; color: var(--text-soft); }

/* --- aarti: circle the thali --- */
.aarti { text-align: center; }
.aarti__stage {
  position: relative; width: min(84vw, 320px); aspect-ratio: 1; margin: 0 auto; --a: -90deg; --r: 40%;
  border-radius: 50%; touch-action: none; cursor: grab;
  background: radial-gradient(circle, rgba(255, 170, 60, .28), transparent 62%);
}
.aarti__stage.is-dragging { cursor: grabbing; }
.aarti__ring { position: absolute; inset: 10%; border-radius: 50%; border: 2px dashed rgba(232, 176, 74, .45); }
.aarti__lamp { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; translate: -50% -50%; }
.aarti__lamp svg { width: 100%; height: 100%; filter: drop-shadow(0 0 18px rgba(255, 170, 60, .7)); }
.aarti__lamp svg path:first-child { animation: dance 1.3s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.aarti__thali {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; pointer-events: none;
  transform: rotate(var(--a)) translate(calc(min(84vw, 320px) * .4)) rotate(calc(var(--a) * -1));
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5));
}
.aarti__thali svg { width: 100%; height: 100%; }
.aarti__thali svg path { animation: dance 1.1s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
.aarti__count { list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; bottom: -6px; translate: -50% 0; display: flex; gap: 10px; }
.aarti__count li { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--gold); transition: background .4s, box-shadow .4s; }
.aarti__count li.on { background: var(--gold-hi); box-shadow: 0 0 10px var(--gold); }
.aarti__btn {
  margin-top: 26px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: none; border: 1px solid rgba(232, 176, 74, .5); color: var(--text-soft); font: 500 15px/1 var(--f-body);
}
.aarti.done .aarti__btn { display: none; }
.aarti__done { margin-top: 22px; font-size: 18px; color: var(--cream); }
.aarti__done span { display: block; font: 400 30px/1.3 var(--f-deva); color: var(--gold-hi); }
.aarti.done .aarti__stage { background: radial-gradient(circle, rgba(255, 190, 80, .5), transparent 66%); }

/* --- countdown --- */
.count-sec { text-align: center; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.count span {
  display: flex; flex-direction: column; align-items: center; padding: 14px 4px 10px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(200, 16, 46, .4), rgba(120, 8, 20, .4)); border: 1px solid rgba(232, 176, 74, .35);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft);
}
.count b { font: 400 clamp(30px, 9vw, 42px)/1.1 var(--f-display); color: var(--gold-hi); letter-spacing: 0; }
.count__done { margin-top: 18px; font: 400 26px/1.3 var(--f-display); color: var(--gold-hi); }

/* --- venue --- */
.sthan__card {
  text-align: center; padding: 30px 20px; border-radius: 18px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(232, 176, 74, .16), transparent 70%), rgba(255, 243, 220, .04);
  border: 1px solid rgba(232, 176, 74, .35);
}
.sthan__addr { margin: 10px auto 22px; max-width: 22em; font-size: 18px; color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 17px/1 var(--f-body); text-decoration: none; letter-spacing: .02em;
}
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.btn--wa { background: linear-gradient(180deg, var(--red-hi), var(--red)); color: var(--cream); border: 1.5px solid var(--gold); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .7); }

/* --- reply --- */
.reply { text-align: center; padding-bottom: 20px; }
.reply__jai { font: 400 clamp(36px, 11vw, 54px)/1.2 var(--f-deva); color: var(--gold-hi); text-shadow: 0 0 20px rgba(255, 180, 60, .4); }
.reply .btn { margin-top: 24px; }
.reply__share { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--text-soft); font-size: 16px; text-underline-offset: 4px; }
.reply__share { display: flex; justify-content: center; }

/* --- footer --- */
.foot { max-width: 560px; margin: 70px auto 0; padding: 34px 16px calc(84px + env(safe-area-inset-bottom)); text-align: center; border-top: 2px solid transparent; border-image: var(--gota) 0 0 100% 0 / 6px 0 0 0 / 0 round; }
.foot__jai { font: 400 26px/1.2 var(--f-deva); color: var(--gold); }
.foot__hosts { margin-top: 8px; font: 400 22px/1.3 var(--f-display); color: var(--cream); }
.foot__date { margin-top: 4px; color: var(--text-soft); font-size: 16px; }
.foot__music, .foot__credit { margin-top: 14px; font-size: 14px; color: var(--text-soft); opacity: .85; }
.foot__music + .foot__credit { margin-top: 4px; }
.foot__up { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--gold); font-size: 15px; }

/* =================================================================== DESKTOP */
@media (min-width: 900px) {
  .gate__scene { width: 380px; }
  .ghanti { width: 56px; height: 120px; }
  .ghanti--l { left: calc(50% - 360px); }
  .ghanti--r { right: calc(50% - 360px); }
  .sec { padding-top: 96px; }
  .mandali__list { grid-template-columns: 1fr; }
}
@media (max-height: 700px) {
  .gate__jai { font-size: 40px; }
  .gate__scene { max-height: 40svh; }
}

/* =================================================================== REDUCED MOTION: end states */
@media (prefers-reduced-motion: reduce) {
  .gate[data-phase="lit"] .chunri__cloth, .gate.open .chunri__cloth { transform: none; opacity: 1; }
  .gate.open .hero { opacity: 1; translate: none; }
}

/* =================================================================== OG CARD (1200 x 630) */
.ogcard { background: radial-gradient(90% 120% at 25% 60%, #6a0f18, var(--night) 75%); color: var(--cream); font-family: var(--f-body); --k: 1; }
.ogcard::after { content: ""; position: absolute; inset: 0; background: var(--bandhani); background-size: 34px 34px; pointer-events: none; }
.og__chunri { position: absolute; left: -2%; right: -2%; top: 0; height: 128px; z-index: 2; }
.og__art { position: absolute; left: 50px; top: 100px; width: 430px; height: 510px; z-index: 1; }
.og__text { position: absolute; left: 500px; right: 50px; top: 150px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; justify-content: center; }
.og__jai { font: 400 70px/1.1 var(--f-deva); color: var(--gold-hi); text-shadow: 0 0 24px rgba(255, 180, 60, .5); }
.og__title { margin-top: 2px; font: 400 76px/1.02 var(--f-display); color: var(--cream); }
.og__hosts { margin-top: 12px; font: 700 38px/1.2 var(--f-body); color: var(--gold); }
.og__when { margin-top: 16px; font: 500 34px/1.2 var(--f-body); color: var(--cream); }
.og__feast { margin-top: 10px; align-self: flex-start; padding: 6px 18px; border-radius: 999px; background: var(--marigold); color: var(--ink); font: 700 28px/1.2 var(--f-body); }
.og__venue { margin-top: 10px; font: 400 26px/1.2 var(--f-body); color: var(--text-soft); }
