/* Shubh-Labh: a devotional griha pravesh at the doorstep before dawn, in lamplight, kumkum, haldi and brass.
   Gate (dark doorstep -> strike the match -> the diya lights -> its glow spreads over Ganesh, Shubh, Labh and the name)
   -> panchang muhurat with four lamps -> sankalp -> the rituals -> nivedak -> the place -> offer a modak, reply. */

@property --r { syntax: "<length>"; inherits: true; initial-value: 34px; }

:root {
  --night: #160b24;
  --plum: #241233;
  --plum-2: #321a44;
  --maroon: #4a1424;
  --saffron: #ff9933;
  --kumkum: #d01c2a;
  --haldi: #f6c453;
  --brass: #d9a441;
  --brass-dk: #8a5a18;
  --cream: #fff6e6;
  --text: #f4e6cc;
  --text-soft: #cdb89a;
  --ink: #2b1a10;
  --line: rgba(246, 196, 83, .3);

  --f-display: "Eczar", "Noto Serif Devanagari", Georgia, serif;
  --f-body: "Spectral", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --fx-music-bg: var(--maroon);
  --fx-music-ring: var(--haldi);
  --fx-music-ink: var(--haldi);
  --fx-bg: var(--plum);
}

html { scroll-behavior: smooth; }
html.shut { overflow: hidden; }
body {
  background: radial-gradient(120% 50% at 50% 0%, var(--plum-2), transparent 60%), var(--night);
  color: var(--text); font: 400 19px/1.6 var(--f-body);
}
a { color: inherit; }
[lang="hi"] { font-family: var(--f-display); }

/* =================================================================== GATE */

.gate { position: relative; min-height: 100svh; overflow: hidden; }
.shrine {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: max(26px, env(safe-area-inset-top)) 16px 34px; text-align: center;
  background:
    radial-gradient(70% 46% at 50% 60%, rgba(255, 170, 70, .42), transparent 75%),
    radial-gradient(40% 24% at 50% 70%, rgba(255, 210, 120, .5), transparent 80%),
    repeating-radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .025) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #2a1230, #4a1a26 55%, #2c0f1a);
}
.shrine__om { font-size: 18px; color: var(--haldi); }
.shrine__kicker { margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--text-soft); }
.shrine__kicker span { display: block; letter-spacing: .08em; text-transform: none; font-size: 17px; color: var(--text); }
.shrine__home { margin: 2px 0 0; font: 600 clamp(40px, 12vw, 76px)/1.05 var(--f-display); color: var(--haldi); text-shadow: 0 0 30px rgba(255, 153, 51, .45); text-wrap: balance; }
.shrine__hi { font-size: clamp(22px, 6vw, 30px); line-height: 1.3; color: #ffd9a0; }

.shrine__wall { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 4vw, 30px); margin-top: 52px; }
.shrine__word {
  font: 700 clamp(30px, 9vw, 48px)/1 var(--f-display); color: var(--kumkum);
  text-shadow: 0 0 18px rgba(208, 28, 42, .55), 0 1px 0 rgba(255, 200, 150, .3);
}
.niche { position: relative; width: min(46vw, 27svh, 240px); }
.niche__arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px;
  background: radial-gradient(70% 60% at 50% 78%, rgba(255, 190, 90, .55), #2a0f14 80%);
  box-shadow: 0 0 0 4px var(--brass), 0 0 0 7px #5a2a10, 0 0 0 9px var(--brass-dk), 0 20px 40px rgba(0, 0, 0, .5), inset 0 -10px 30px rgba(0, 0, 0, .5);
}
.ganesh { position: absolute; left: 6%; right: 6%; bottom: 2%; width: 88%; height: auto; filter: drop-shadow(0 4px 10px rgba(255, 180, 80, .45)); }
.niche__swastik { position: absolute; left: 50%; bottom: calc(100% + 12px); width: 38px; translate: -50% 0; color: var(--kumkum); filter: drop-shadow(0 0 8px rgba(208, 28, 42, .5)); }
.niche__bell {
  position: absolute; top: 12%; width: 14px; height: 36px; transform-origin: 50% 0; animation: bellsway 3.2s ease-in-out infinite alternate;
  background: linear-gradient(var(--brass-dk), var(--brass-dk)) 50% 0 / 2px 16px no-repeat, radial-gradient(circle at 50% 100%, var(--brass-dk) 0 3px, transparent 3.5px) 50% 100% / 14px 8px no-repeat;
}
.niche__bell::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 16px; border-radius: 7px 7px 2px 2px; background: linear-gradient(90deg, #8a5a18, #f6dc95, #b9822a); }
.niche__bell--l { left: -26px; } .niche__bell--r { right: -26px; animation-delay: -1.6s; }
@keyframes bellsway { from { rotate: -5deg; } to { rotate: 5deg; } }

.shrine__floor { position: relative; width: 100%; height: 96px; margin-top: 6px; display: flex; justify-content: center; align-items: flex-end; }
.shrine__rangoli {
  position: absolute; left: 50%; bottom: 0; width: 220px; height: 54px; translate: -50% 0; border-radius: 50%;
  background:
    radial-gradient(ellipse at center, transparent 0 34%, var(--saffron) 35% 40%, transparent 41% 52%, #f6c453 53% 58%, transparent 59% 68%, var(--kumkum) 69% 74%, transparent 75%);
  opacity: .75;
}

/* the diya: clay bowl, cotton wick, a flame that blooms when lit */
.diya { position: relative; display: inline-block; width: 66px; height: 46px; z-index: 6; }
.diya__bowl {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  border-radius: 6px 30px 50% 50% / 6px 20px 100% 100%;
  background: linear-gradient(180deg, #d5733a, #8e3a14); box-shadow: inset 0 3px 0 #f0a060, 0 6px 8px rgba(0, 0, 0, .5);
}
.diya__bowl::before { content: ""; position: absolute; left: 10%; right: 18%; top: 2px; height: 7px; border-radius: 50%; background: #4a1e08; }
.diya__flame {
  position: absolute; left: 70%; bottom: 20px; width: 16px; height: 30px; translate: -50% 0; transform-origin: 50% 100%;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 78%, #fff 0, #fff2b0 25%, #ffc23a 50%, #ff7a12 78%, rgba(255, 90, 0, 0) 100%);
  box-shadow: 0 0 26px 10px rgba(255, 170, 60, .6), 0 0 80px 30px rgba(255, 140, 40, .3);
  animation: flicker 1.4s ease-in-out infinite alternate; transition: opacity .5s, scale .7s cubic-bezier(.3, 1.6, .5, 1);
}
.diya.is-out .diya__flame { opacity: 0; scale: 0; }
@keyframes flicker { 0% { transform: scale(1) rotate(-2deg); } 40% { transform: scale(.93, 1.08) rotate(2deg); } 100% { transform: scale(1.04, .95) rotate(-1deg); } }

.shrine__bottom { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shrine__lead { max-width: 24em; font-style: italic; font-size: 18px; line-height: 1.45; color: var(--text); text-wrap: balance; }
.shrine__date { font-weight: 600; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--haldi); }
.shrine__muhurat {
  display: flex; align-items: baseline; gap: 10px; padding: 10px 24px; border-radius: 999px;
  background: linear-gradient(180deg, #ffb35c, var(--saffron)); color: #3a1204;
  font: 700 clamp(26px, 7.4vw, 34px)/1.1 var(--f-display);
  box-shadow: 0 0 30px rgba(255, 153, 51, .5), 0 0 0 3px rgba(255, 246, 230, .25);
}
.shrine__muhurat span { font-size: .62em; font-weight: 600; color: #7a1010; }
.shrine__down { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; max-width: calc(100vw - 2 * 76px); text-align: center; margin-top: 8px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text-soft); }
.shrine__down::after { content: ""; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; rotate: 45deg; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 5px; } }

/* the darkness, with a hole of light around the diya that grows to fill the doorstep */
.dark {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 70%), rgba(8, 3, 14, 0) 0, rgba(8, 3, 14, .3) var(--r), rgba(8, 3, 14, .985) calc(var(--r) + 120px));
}
.gate.is-done .dark, html:not(.js) .dark { display: none; }

/* the matchbox and match: a real button */
.striker { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.striker__hint {
  position: absolute; left: 50%; top: calc(100% + 22px); translate: -50% 0; width: min(92vw, 24em);
  display: flex; flex-direction: column; align-items: center; color: var(--text); transition: opacity .5s;
  animation: hint 3.6s ease-in-out infinite alternate;
}
.striker__hint span { font: 600 clamp(26px, 7.4vw, 34px)/1.15 var(--f-display); color: #ffe2b0; text-shadow: 0 0 20px rgba(255, 153, 51, .5); }
.striker__hint small { font-size: 16px; font-style: italic; color: var(--text-soft); }
@keyframes hint { to { translate: -50% -5px; } }
.match {
  position: absolute; left: calc(50% + 44px); bottom: 2px; width: 118px; height: 66px; pointer-events: auto;
  padding: 0; border: 0; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.match:focus-visible { outline: 3px solid var(--haldi); outline-offset: 4px; border-radius: 10px; }
.match__box {
  position: absolute; right: 4px; bottom: 6px; width: 84px; height: 36px; border-radius: 3px;
  background:
    linear-gradient(90deg, #5a2c14 0 12px, transparent 12px),
    repeating-linear-gradient(45deg, #e8b43a 0 6px, #d23a24 6px 12px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 240, 200, .35);
  display: grid; place-items: center;
}
.match__box::before {    /* the striking strip, grainy */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; border-radius: 3px 0 0 3px;
  background: repeating-radial-gradient(circle at 30% 30%, #3a1a0a 0 1px, #6a3a1c 1px 2px);
}
.match__label { margin-left: 12px; padding: 0 6px; border-radius: 3px; background: #fff6e6; color: #a01818; font-size: 15px; font-weight: 700; line-height: 1.4; }
.match__stick {
  position: absolute; right: 10px; bottom: 46px; width: 70px; height: 5px; border-radius: 2px;
  background: linear-gradient(180deg, #f3d9a8, #c9a46a); box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
  translate: var(--mx, 0px) var(--my, 0px); rotate: -8deg;
}
.match.dragging .match__stick { transition: none; }
.match:not(.dragging) .match__stick { transition: translate .35s var(--ease); }
.match.flying .match__stick { transition: translate .8s cubic-bezier(.4, 0, .2, 1), rotate .8s, opacity .4s ease .9s; rotate: -40deg; }
.match.spent .match__stick { opacity: 0; }
.match__head { position: absolute; left: -7px; top: -3px; width: 12px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ff6a5a, #9c1010); }
.match__flame {
  position: absolute; left: -9px; bottom: 4px; width: 14px; height: 26px; border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 78%, #fff 0, #ffe9a0 30%, #ff9a2a 70%, rgba(255, 90, 0, 0)); box-shadow: 0 0 20px 8px rgba(255, 170, 60, .6);
  opacity: 0; scale: .2; transform-origin: 50% 100%; transition: opacity .2s, scale .4s cubic-bezier(.3, 1.8, .5, 1);
}
.match.lit .match__flame { opacity: 1; scale: 1; animation: flicker 1s ease-in-out infinite alternate; }
.gate:not([data-phase="dark"]) .striker__hint { opacity: 0; }
.gate.is-done .striker { display: none; }

.gate__skip {
  position: absolute; right: 12px; top: max(12px, env(safe-area-inset-top)); z-index: 8;
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); background: rgba(22, 11, 36, .6); border: 1px solid rgba(246, 196, 83, .45);
}
.gate:not([data-phase="dark"]) .gate__skip { opacity: 0; pointer-events: none; transition: opacity .3s; }
.gate.is-done .gate__skip, html:not(.js) .striker, html:not(.js) .gate__skip { display: none; }

/* until lit, the words wait; as the glow passes they warm up */
html.js .gate:not(.is-lit) :is(.shrine__word, .niche__swastik) { opacity: .25; }
:is(.shrine__word, .niche__swastik) { transition: opacity 1.6s ease .6s; }

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

.sec { position: relative; max-width: 640px; margin: 0 auto; padding: 84px 16px; text-align: center; }
.deva-k { font: 600 clamp(26px, 7vw, 34px)/1.3 var(--f-display); color: var(--saffron); }
.deva-k--sm { margin-top: 26px; font-size: 22px; }
.sec__title { margin: 6px 0 26px; font: 600 clamp(30px, 8.4vw, 42px)/1.15 var(--f-display); color: var(--cream); text-wrap: balance; }

/* ---------- panchang + lamps ---------- */
.panchang {
  position: relative; padding: 40px clamp(18px, 6vw, 40px) 30px; border-radius: 14px; color: var(--ink);
  background: radial-gradient(120% 70% at 50% 0%, #fffaf0, #f7e6c4);
  box-shadow: 0 0 0 2px var(--brass), 0 0 0 8px var(--plum), 0 0 0 9px var(--line), 0 30px 50px -30px rgba(0, 0, 0, .8);
}
.panchang .deva-k { color: var(--kumkum); }
.panchang__swastik { position: absolute; left: 50%; top: -22px; width: 44px; translate: -50% 0; color: var(--kumkum); background: var(--night); border-radius: 50%; padding: 4px; box-shadow: 0 0 0 2px var(--brass); }
.panchang__time { margin-top: 2px; font: 700 clamp(60px, 18vw, 92px)/1 var(--f-display); color: #a0151f; }
.panchang__rows { margin: 22px 0 0; text-align: left; }
.panchang__rows div { display: grid; grid-template-columns: 5.2em 1fr; gap: 14px; padding: 10px 0; border-top: 1px dashed rgba(138, 90, 24, .4); }
.panchang__rows dt { font-size: 18px; font-weight: 600; color: var(--brass-dk); }
.panchang__rows dd { margin: 0; font-size: 18px; line-height: 1.45; }
.panchang__note { margin-top: 14px; font-style: italic; color: #7a1010; }
.count { display: flex; justify-content: center; gap: clamp(10px, 4vw, 22px); margin-top: 52px; }
.count span {
  position: relative; display: flex; flex-direction: column; align-items: center; width: 66px; padding-top: 8px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft);
}
.count span::before {     /* a flame over each number */
  content: ""; position: absolute; left: 50%; top: -34px; width: 14px; height: 26px; translate: -50% 0;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 78%, #fff 0, #ffe9a0 30%, #ff9a2a 70%, rgba(255, 90, 0, 0));
  box-shadow: 0 0 22px 8px rgba(255, 170, 60, .45); animation: flicker 1.5s ease-in-out infinite alternate;
}
.count span:nth-child(2)::before { animation-delay: -.4s; } .count span:nth-child(3)::before { animation-delay: -.9s; } .count span:nth-child(4)::before { animation-delay: -1.2s; }
.count b {
  display: grid; place-items: center; width: 66px; height: 40px; margin-bottom: 6px;
  border-radius: 6px 6px 33px 33px / 6px 6px 26px 26px; background: linear-gradient(180deg, #d5733a, #8e3a14);
  font: 700 22px/1 var(--f-display); color: #fff3d6; box-shadow: inset 0 3px 0 #f0a060, 0 6px 10px rgba(0, 0, 0, .5);
}
.count__done { margin-top: 24px; font: 600 24px var(--f-display); color: var(--haldi); }

/* ---------- sankalp ---------- */
.sankalp { margin: 18px 0 0; padding: 0; }
.sankalp p { font: italic 400 clamp(24px, 6.6vw, 30px)/1.45 var(--f-body); color: var(--cream); }
.sankalp p::before, .sankalp p::after { content: "“"; color: var(--saffron); font-style: normal; }
.sankalp p::after { content: "”"; }
.sankalp__body { margin: 22px auto 0; max-width: 28em; color: var(--text-soft); }
.sankalp__body strong { color: var(--haldi); font-weight: 600; }

/* ---------- vidhi ---------- */
.vidhi { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; text-align: left; }
.vidhi__item { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 16px 20px 14px; border-radius: 14px; background: rgba(255, 246, 230, .05); box-shadow: inset 0 0 0 1px var(--line); }
.vidhi__mark { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 153, 51, .2), rgba(255, 153, 51, .05)); box-shadow: inset 0 0 0 1.5px var(--brass); }
.vidhi__icon { width: 38px; height: 38px; }
.vidhi__mark span { position: absolute; right: -4px; top: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--kumkum); color: #fff; font: 700 13px/1 var(--f-display); }
.vidhi__hi { font: 600 22px/1.3 var(--f-display); color: var(--saffron); }
.vidhi__name { margin: 2px 0 0; font: 600 20px/1.3 var(--f-body); color: var(--cream); }
.vidhi__when, .vidhi__where { margin-top: 4px; font-size: 16px; color: var(--text-soft); }
.vidhi__note { margin-top: 8px; font-size: 16px; font-style: italic; color: var(--haldi); }
.vidhi__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px;
  border: 1.5px solid var(--haldi); border-radius: 999px; color: var(--haldi); background: transparent; text-decoration: none;
  font: 600 13.5px/1 var(--f-body); letter-spacing: .02em; transition: background .2s, transform .2s;
}
.btn:hover { background: rgba(246, 196, 83, .1); }
.btn:active { transform: scale(.96); }
.btn--solid { background: var(--saffron); border-color: var(--saffron); color: #2a0e02; }
.btn--solid:hover { background: #ffad5c; }
.btn--wide { min-height: 52px; padding: 0 28px; margin-top: 22px; font-size: 17px; }

/* ---------- nivedak ---------- */
.nivedak {
  padding: 34px clamp(18px, 6vw, 40px); border-radius: 14px; color: var(--ink);
  background: radial-gradient(120% 70% at 50% 0%, #fffaf0, #f7e6c4);
  box-shadow: 0 0 0 2px var(--brass), 0 30px 50px -30px rgba(0, 0, 0, .8);
}
.nivedak .deva-k { color: var(--kumkum); }
.nivedak__elders { margin-top: 14px; font-size: 19px; font-weight: 600; color: var(--brass-dk); }
.nivedak__hosts { margin-top: 6px; font: 700 clamp(28px, 7.6vw, 36px)/1.2 var(--f-display); color: #a0151f; }
.nivedak__fam { margin-top: 4px; font-size: 20px; color: var(--ink); }
.nivedak__kids { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.nivedak__kids span { display: block; font-weight: 600; font-size: 20px; }
.nivedak__kids small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dk); }

/* ---------- sthan ---------- */
.sec--sthan .sec__title { margin-bottom: 8px; }
.sthan__line { font-weight: 600; color: var(--haldi); }
.sthan__addr { color: var(--text-soft); }

.gallery { columns: 2 160px; column-gap: 10px; }
.gallery img { display: block; width: 100%; margin-bottom: 10px; border-radius: 10px; break-inside: avoid; }

/* ---------- modak offering ---------- */
.modak__ask { color: var(--text-soft); }
.offering { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; margin-top: 26px; }
.offering__bowl { position: relative; width: 150px; height: 56px; }
.offering__bowl::before { content: ""; position: absolute; inset: auto 0 0; height: 30px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(90deg, #8a5a18, #f6dc95 40%, #b9822a); }
.offering__bowl::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 24px; height: 12px; border-radius: 50%; background: linear-gradient(90deg, #b9822a, #fff0b8, #b9822a); }
.offering__heap {
  position: absolute; left: 50%; bottom: 30px; width: 90px; height: 40px; translate: -50% 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 100%, #fbe7b8 0 55%, transparent 56%);
  transform-origin: 50% 100%; scale: 1 var(--heap, 0); transition: scale .6s cubic-bezier(.3, 1.6, .5, 1);
}
.offering__plate {
  position: relative; display: flex; justify-content: center; gap: 6px; width: 230px; padding: 18px 16px 22px; cursor: pointer;
  border: 0; border-radius: 50%; background: radial-gradient(ellipse, #f6dc95 0 55%, #b9822a 56% 68%, #8a5a18 69%);
  box-shadow: 0 14px 20px -8px rgba(0, 0, 0, .7); -webkit-tap-highlight-color: transparent;
}
.offering__plate:focus-visible { outline: 3px solid var(--haldi); outline-offset: 6px; }
.offering__plate.tapped { animation: tap .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tap { 40% { scale: .96; } }
.modak, .modak-fly {
  width: 30px; height: 34px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(150, 100, 40, .35) 4px 5px),
    radial-gradient(circle at 40% 30%, #fffaf0, #f3d9a2 60%, #d9b06a);
  clip-path: polygon(50% 0, 64% 18%, 100% 55%, 100% 100%, 0 100%, 0 55%, 36% 18%);
}
.modak.gone { visibility: hidden; }
.modak-fly { position: fixed; z-index: 80; pointer-events: none; }
.modak__count { min-height: 1.6em; margin-top: 14px; font-style: italic; color: var(--text-soft); }
.modak__done { font: 700 clamp(28px, 8vw, 36px)/1.3 var(--f-display); color: var(--saffron); animation: rise .9s var(--ease); }
.modak__done small { display: block; font: italic 400 18px/1.4 var(--f-body); color: var(--text-soft); }
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
.modak__tag { margin-top: 16px; font: 600 22px var(--f-display); color: var(--haldi); }

/* =================================================================== FOOTER */

.foot { padding: 60px 16px calc(44px + env(safe-area-inset-bottom)); text-align: center; background: linear-gradient(180deg, var(--night), #0d0616); border-top: 1px solid var(--line); }
.foot__swastik { width: 40px; color: var(--kumkum); }
.foot__words { display: flex; justify-content: center; gap: 70px; margin-top: -36px; font: 700 26px var(--f-display); color: var(--kumkum); }
.foot__home { margin-top: 18px; font: 600 clamp(30px, 8vw, 40px)/1.1 var(--f-display); color: var(--haldi); }
.foot__date { margin-top: 6px; letter-spacing: .2em; color: var(--text-soft); }
.foot__cal { margin-top: 16px; }
.foot__music { margin-top: 18px; font-size: 15px; font-style: italic; color: rgba(244, 230, 204, .6); }
.foot__credit { margin-top: 8px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 230, 204, .6); }
.foot a { color: inherit; text-underline-offset: 3px; }
.foot__up { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }

@media (min-width: 900px) {
  .sec { padding: 110px 16px; }
  .niche { width: min(24vw, 30svh, 250px); }
}

/* =================================================================== OG CARD */

html.og .ogcard {
  align-items: center; gap: 30px; padding: 40px 60px;
  background:
    radial-gradient(45% 70% at 26% 60%, rgba(255, 170, 70, .45), transparent 75%),
    linear-gradient(180deg, #2a1230, #4a1a26 60%, #2c0f1a);
  color: var(--text);
}
.og__shrine { position: relative; flex: 0 0 470px; height: 540px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.og__word { font: 700 64px/1 var(--f-display); color: var(--kumkum); text-shadow: 0 0 20px rgba(208, 28, 42, .55); }
.og__niche {
  position: relative; width: 260px; height: 330px; border-radius: 50% 50% 10px 10px / 38% 38% 10px 10px;
  background: radial-gradient(70% 60% at 50% 78%, rgba(255, 190, 90, .55), #2a0f14 80%);
  box-shadow: 0 0 0 5px var(--brass), 0 0 0 9px #5a2a10, 0 0 0 11px var(--brass-dk);
}
.og__niche .ganesh { bottom: 4px; }
.og__swastik { position: absolute; left: 50%; top: -64px; width: 46px; translate: -50% 0; color: var(--kumkum); }
.og__diya { position: absolute; left: 50%; bottom: 6px; translate: -50% 0; scale: 1.3; }
.og__text { flex: 1; text-align: center; }
.og__om { font-size: 28px; color: var(--haldi); }
.og__kicker { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--text-soft); }
.og__home { margin-top: 4px; font: 600 92px/1.02 var(--f-display); color: var(--haldi); text-shadow: 0 0 30px rgba(255, 153, 51, .45); }
.og__date { margin-top: 18px; font-size: 30px; font-weight: 600; letter-spacing: .06em; color: var(--cream); }
.og__muhurat { margin: 20px auto 0; width: fit-content; padding: 10px 30px; border-radius: 999px; background: var(--saffron); color: #3a1204; font: 700 40px/1.1 var(--f-display); }
.og__muhurat span { font-size: .62em; color: #7a1010; }

@media (prefers-reduced-motion: reduce) {
  .gate :is(.shrine__word, .niche__swastik) { opacity: 1 !important; }
}
