:root {
  --stone: #160a0e;
  --garbha: #2a1218;
  --sill: #3d1c22;
  --sindoor: #d92b1a;
  --kesar: #f2c14e;
  --leaf: #1f6b3a;
  --chandan: #f0d9a8;
  --doodh: #f7f0e4;
  --dhuaan: #c4b4a0;
  --display: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --body: "Anek Devanagari", "Noto Sans Devanagari", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
html.fs-125 { font-size: 112.5%; }
html.fs-150 { font-size: 125%; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  background: var(--stone);
  color: var(--doodh);
  line-height: 1.55;
}
body.leaving { opacity: 0; transition: opacity .28s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.leaving { opacity: 1; }
}
a { color: var(--kesar); }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--kesar); outline-offset: 3px; }

.skip {
  position: absolute; left: .8rem; top: -3rem; z-index: 50;
  background: var(--kesar); color: #1a0a0c; padding: .4rem .8rem; border-radius: 8px;
}
.skip:focus { top: .8rem; }

.sky {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(217,43,26,.22), transparent 58%),
    radial-gradient(700px 380px at 92% 6%, rgba(242,193,78,.12), transparent 52%),
    radial-gradient(480px 280px at 6% 88%, rgba(31,107,58,.16), transparent 62%),
    #160a0e;
}
.sky::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 63% 14%, #fff7, transparent),
    radial-gradient(1px 1px at 81% 22%, #fff5, transparent),
    radial-gradient(1px 1px at 91% 9%, #fff6, transparent),
    radial-gradient(1px 1px at 44% 6%, #fff5, transparent);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='80' height='80' filter='url(%23n)'/></svg>");
}

.page { position: relative; z-index: 1; max-width: 74rem; margin: 0 auto; padding: 0 .7rem 4.5rem; }
.toran-hang { line-height: 0; margin: 0 -.7rem 0; }
.toran-svg { width: 100%; height: 48px; display: block; overflow: visible; }
.toran-svg .leaf { transform-box: fill-box; transform-origin: 50% 0; animation: sway 3.6s ease-in-out infinite; }
@keyframes sway {
  50% { transform: rotate(6deg); }
}
.bell { fill: var(--kesar); animation: ring .9s ease-in-out 2; transform-origin: 50% 0; transform-box: fill-box; }
@keyframes ring {
  25% { transform: rotate(-14deg); }
  50% { transform: rotate(12deg); }
  75% { transform: rotate(-8deg); }
}

.toran {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem 0 .75rem;
  background: linear-gradient(to bottom, rgba(22,10,14,.97), rgba(22,10,14,.78) 72%, transparent);
  backdrop-filter: blur(8px);
}
.toran .brand { margin-right: auto; }
.brand {
  font-family: var(--display); font-size: 1.15rem; color: var(--kesar);
  text-decoration: none; white-space: nowrap;
}
.brand small {
  display: none; font-family: var(--body); font-size: .68rem;
  color: var(--chandan); letter-spacing: .12em;
}
.drawer a {
  color: var(--chandan); text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid transparent; padding-bottom: .12rem;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.drawer a:hover, .drawer a.on { color: var(--kesar); border-bottom-color: var(--sindoor); }
.nav-toggle {
  display: inline-flex; align-items: center; background: var(--sindoor); color: #fff;
  border: 0; border-radius: 999px; padding: .4rem .9rem;
  flex-shrink: 0; cursor: pointer; z-index: 22; font-weight: 600;
}
.font-tools { display: inline-flex; gap: .28rem; margin-left: .2rem; }
.font-tools button {
  background: var(--garbha); color: var(--kesar); border: 1px solid rgba(242,193,78,.45);
  border-radius: 999px; padding: .12rem .34rem; cursor: pointer; font-size: .8rem;
}
.font-tools button.on { background: var(--sindoor); color: #fff; border-color: var(--sindoor); }
.drawer {
  display: none; position: absolute; right: .7rem; top: 3.6rem;
  flex-direction: column; align-items: stretch;
  background: var(--garbha); padding: .8rem 1rem; border-radius: 16px;
  border: 1px solid var(--sill); min-width: 12.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.drawer.open { display: flex; }
@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .page { padding-left: 1.1rem; padding-right: 1.1rem; }
  .toran-hang { margin-left: -1.1rem; margin-right: -1.1rem; }
  .brand { font-size: 1.35rem; }
  .brand small { display: block; }
  .diya { width: 1.7rem; height: 2.1rem; }
  .mala a { font-size: .78rem; }
  .font-tools button { padding: .15rem .5rem; }
  .drawer {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; padding: 0; border: 0; box-shadow: none;
    min-width: 0; gap: .15rem .9rem;
  }
}

.mala {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .15rem;
  padding: .15rem 0 1.1rem;
}
.mala a {
  text-decoration: none; color: var(--dhuaan);
  display: grid; justify-items: center; gap: .2rem; font-size: .68rem;
  min-width: 0;
}
.mala a .label { letter-spacing: .04em; }
.diya { width: 1.25rem; height: 1.55rem; display: block; }
.diya .flame { fill: #ffd36a; transform-origin: 16px 22px; }
.diya .inner { fill: #fff6c8; }
.diya .bowl { fill: #c45a1a; }
.diya .glow { fill: rgba(242,193,78,.0); }
.mala a.on, .mala a:hover { color: var(--kesar); }
.mala a.on .flame, .mala a:hover .flame {
  animation: flicker 1.5s ease-in-out infinite;
}
.mala a.on .glow, .mala a:hover .glow { fill: rgba(242,193,78,.45); }
@keyframes flicker {
  40% { transform: scaleY(1.12) scaleX(.96); filter: brightness(1.15); }
  70% { transform: scaleY(.92) scaleX(1.04); filter: brightness(.9); }
}

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: center;
  background:
    radial-gradient(500px 220px at 80% 20%, rgba(242,193,78,.12), transparent 60%),
    linear-gradient(165deg, var(--garbha), #1a0c10 72%);
  border-radius: 28px; padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid rgba(242,193,78,.28);
  box-shadow: inset 0 0 0 1px rgba(217,43,26,.12);
  overflow: hidden;
}
.garbha {
  position: relative; display: grid; place-items: center;
  min-height: 20rem;
}
.garbha img {
  width: min(22rem, 100%);
  filter: drop-shadow(0 12px 36px rgba(242,193,78,.32));
  position: relative; z-index: 1;
}
.prabha {
  position: absolute; inset: 8% 10%;
  border: 2px dashed rgba(242,193,78,.45);
  border-radius: 50% 50% 46% 46%;
  animation: glow 3.4s ease-in-out infinite;
  pointer-events: none;
}
.prabha::before, .prabha::after {
  content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px;
  background: var(--kesar); border-radius: 50%; transform: translateX(-50%);
  box-shadow: 0 0 12px var(--kesar);
}
@keyframes glow { 50% { opacity: .55; transform: scale(1.04); } }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .garbha { min-height: 16rem; } }

.kicker {
  color: var(--sindoor); letter-spacing: .16em; font-size: .74rem;
  margin: 0 0 .35rem; text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); color: var(--kesar); font-weight: 400; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .45rem; line-height: 1.12; }
h2 { font-size: 1.45rem; margin: 0 0 .45rem; }
h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.lede { color: var(--chandan); font-size: 1.12rem; margin: 0 0 1rem; max-width: 38rem; }
.muted { color: var(--dhuaan); font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .6rem; }

.btn {
  display: inline-block; background: var(--sindoor); color: #fff; text-decoration: none;
  border-radius: 999px; padding: .72rem 1.25rem; font-weight: 600; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(217,43,26,.32); }
.btn.ghost { background: transparent; border: 1px solid var(--kesar); color: var(--kesar); }
.btn.soon { opacity: .92; cursor: default; box-shadow: none; }

.kolam {
  height: 18px; margin: 1.6rem 0 1.1rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='18' fill='none'><circle cx='36' cy='9' r='2.2' fill='%23f2c14e'/><circle cx='24' cy='9' r='1.4' fill='%23d92b1a'/><circle cx='48' cy='9' r='1.4' fill='%23d92b1a'/><circle cx='12' cy='9' r='1' fill='%23f0d9a8'/><circle cx='60' cy='9' r='1' fill='%23f0d9a8'/></svg>");
  background-repeat: repeat-x; background-position: center; opacity: .85;
}

.paths {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; margin: .4rem 0 1.6rem;
}
@media (max-width: 960px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .paths { grid-template-columns: 1fr; } }
.path {
  display: block; text-decoration: none; color: inherit;
  background: var(--garbha); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--sill);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.path:hover { transform: translateY(-4px); border-color: rgba(242,193,78,.5); }
.path img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.path .pad { padding: .85rem 1rem 1.05rem; }
.path h2 { font-size: 1.2rem; }
.path p { margin: 0; color: var(--dhuaan); font-size: .92rem; }
.path .step { color: var(--sindoor); font-size: .72rem; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { animation: rise .7s var(--ease) forwards; }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .loader, html:not(.js) .flash { display: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

.card {
  background: var(--garbha); border-radius: 20px; padding: 1.15rem 1.2rem;
  border: 1px solid var(--sill); margin: 1rem 0;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0; }
@media (max-width: 800px) { .grid3 { grid-template-columns: 1fr; } }

.aaj-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem;
  margin: 1.2rem 0 0;
}
@media (max-width: 800px) { .aaj-strip { grid-template-columns: repeat(2, 1fr); } }
.aaj-cell {
  background: rgba(42,18,24,.8); border: 1px solid var(--sill);
  border-radius: 16px; padding: .7rem .85rem;
}
.aaj-cell b { display: block; font-family: var(--display); color: var(--kesar); font-size: 1.15rem; font-weight: 400; }
.aaj-cell span { color: var(--dhuaan); font-size: .78rem; letter-spacing: .06em; }

.gods-rail {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: .8rem 0;
}
.gods-rail img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px;
  border: 1px solid rgba(242,193,78,.35);
}
.gods-rail figcaption { text-align: center; margin-top: .3rem; font-size: .8rem; }
@media (max-width: 720px) { .gods-rail { grid-template-columns: repeat(3, 1fr); } }

.upcoming { display: grid; gap: 0; }
.hit { border-top: 1px solid var(--sill); padding: .7rem 0; }
.hit b { color: var(--kesar); }
.search-row { display: flex; gap: .5rem; margin-top: .8rem; }
.search-row input {
  flex: 1; padding: .7rem .85rem; border-radius: 12px;
  border: 1px solid var(--sill); background: var(--stone); color: var(--chandan);
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: radial-gradient(120px 60px at 50% 0, rgba(242,193,78,.16), transparent 70%), var(--garbha);
  border-radius: 20px; padding: 1.2rem 1.1rem 1.3rem;
  border: 1px solid var(--sill);
  text-align: center;
}
.plan.featured {
  border-color: var(--kesar);
  box-shadow: 0 0 0 1px rgba(242,193,78,.28), 0 12px 32px rgba(0,0,0,.25);
}
.plan .price { font-family: var(--display); color: var(--kesar); font-size: 2.2rem; margin: .25rem 0; }
.chip {
  display: inline-block; margin: .2rem .25rem 0 0; padding: .28rem .7rem;
  border-radius: 999px; background: var(--sill); color: var(--kesar); text-decoration: none;
  border: 0; cursor: pointer;
}
.chip:hover, .chip.on { background: var(--sindoor); color: #fff; }

.compass {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem;
  max-width: 22rem; margin: 1rem auto;
}
.compass .cell {
  aspect-ratio: 1; display: grid; place-items: center; text-align: center;
  background: var(--garbha); border: 1px solid var(--sill); border-radius: 16px;
  color: var(--chandan); font-size: .9rem; padding: .4rem;
}
.compass .cell b { display: block; color: var(--kesar); font-family: var(--display); font-weight: 400; }
.compass .home {
  background: radial-gradient(circle, rgba(242,193,78,.2), var(--garbha) 70%);
  border-color: rgba(242,193,78,.5);
}
.compass .shool {
  background: var(--sindoor); color: #fff; border-color: var(--sindoor);
  box-shadow: 0 0 18px rgba(217,43,26,.45);
}
.compass .shool b { color: #fff; }
.shool-table { width: 100%; border-collapse: collapse; margin-top: .6rem; }
.shool-table th, .shool-table td {
  text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--sill);
}
.shool-table tr.on td { color: var(--kesar); }

.grahan-card { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.grahan-mark {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--sill);
}
.grahan-card.solar .grahan-mark { background: #c45a1a; }
.grahan-card.lunar .grahan-mark { background: #3a4060; }

.loader {
  position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
  background: rgba(22,10,14,.96); color: var(--kesar); text-align: center;
  cursor: pointer;
  animation: fadeout .5s ease 1.35s forwards;
}
body[data-loader="home"] .loader { animation-delay: 1.55s; }
body[data-loader="none"] .loader { display: none; animation: none; }
.loader img {
  width: min(14rem, 70vw); background: transparent;
  animation: ganeshPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(242,193,78,.45));
}
.loader.done { animation: fadeout .45s forwards; pointer-events: none; }
.loader.skip { display: none; }
@keyframes ganeshPulse { 50% { transform: scale(1.04); filter: brightness(1.1); } }
@keyframes fadeout { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.flash {
  position: fixed; inset: 0; z-index: 30; display: grid; place-items: center;
  background: rgba(22,10,14,.72); padding: 1rem;
}
.flash[hidden] { display: none; }
.flash .sheet {
  background: var(--garbha); border-radius: 20px; padding: 1.2rem; max-width: 28rem; width: 100%;
  border: 1px solid rgba(242,193,78,.4);
}
.flash .sheet img { width: 100%; height: 10rem; object-fit: cover; border-radius: 12px; margin-bottom: .8rem; }

body.granth { background: #1a0c10; }
.paper {
  background: #fff7ea; color: #1a1228; border-radius: 22px; padding: 1.5rem 1.4rem 2.4rem;
  margin-top: .4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.paper h1, .paper h2 { color: #8b1e16; }
.paper a { color: #8b1e16; }
.paper p, .paper li { color: #2a1a1c; }

.flow {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.4rem;
}

footer { margin-top: 2.4rem; color: var(--dhuaan); font-size: .88rem; }
.ver { color: var(--kesar); }
code { font-size: .86em; }

.hero.teaser { position: relative; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; }
.teaser-points { margin: .8rem 0 1.1rem; padding: 0 0 0 1.1rem; color: var(--chandan); }
.teaser-points li { margin: .28rem 0; }
.garbha img { will-change: transform; }
.waitlist { margin-top: 1.6rem; }
.wait-form { display: grid; gap: .7rem; max-width: 32rem; }
.wait-form label { display: grid; gap: .28rem; color: var(--chandan); font-size: .92rem; }
.wait-form input {
  background: var(--stone); color: var(--doodh); border: 1px solid var(--sill);
  border-radius: 12px; padding: .55rem .7rem;
}
.wait-form input:focus { border-color: var(--kesar); }
