/* =========================================================
   THE MOOLA — Vedic Astrology
   Palette pulled from the gold-leaf logo on a midnight sky
   ========================================================= */

:root {
  --bg: #1a0606;
  --bg-2: #240908;
  --bg-3: #331009;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(226, 168, 74, 0.18);
  --line-strong: rgba(226, 168, 74, 0.45);

  --gold: #e2a84a;
  --gold-2: #f8d486;
  --gold-3: #a8631c;
  --gold-glow: rgba(240, 160, 60, 0.38);
  --violet: #e8812a;
  --violet-glow: rgba(232, 110, 30, 0.28);

  --text: #f8ebd2;
  --text-2: #e9d4b4;
  --muted: #c9a584;

  --ff-display: "Eczar", "Tiro Devanagari Sanskrit", Georgia, serif;
  --ff-serif: "Tiro Devanagari Sanskrit", "Eczar", Georgia, serif;
  --ff-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-glyph: "Segoe UI Symbol", "Noto Sans Symbols", "Noto Sans Symbols 2", "DejaVu Sans", "Apple Symbols", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(232, 110, 30, .22), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(226, 168, 74, .08), transparent 60%),
    radial-gradient(1000px 900px at 50% 120%, rgba(150, 40, 20, .25), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--bg); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.fill { fill: currentColor; stroke: none; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
main, .site-footer { position: relative; z-index: 2; }
section { position: relative; padding: 120px 0; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--gold); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Background sky ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot, .cursor-ring {
    display: block; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
    border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s;
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--gold-2); box-shadow: 0 0 10px var(--gold); }
  .cursor-ring {
    width: 38px; height: 38px; border: 1px solid rgba(201, 158, 72, .75);
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s, opacity .3s;
  }
  body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
  body.cursor-hover .cursor-ring { width: 64px; height: 64px; background: rgba(226, 168, 74, .08); border-color: var(--gold); }
}

/* ---------- Typography helpers ---------- */
.gold-text {
  background: linear-gradient(100deg, #a07a2c 0%, #f1d38b 25%, #d4a64a 45%, #fff2c9 55%, #c8973a 75%, #f1d38b 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% center; } }

em, .serif-em { font-family: var(--ff-serif); font-style: italic; font-weight: 500; color: var(--gold-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display); font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .icon { width: 14px; height: 14px; fill: var(--gold); stroke: none; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .5; transform: scale(.7) rotate(45deg); } }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: ""; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold));
}
.section-head .eyebrow::after { transform: scaleX(-1); }
.section-head h2, .h2 {
  font-family: var(--ff-display); font-size: clamp(32px, 4.6vw, 54px); margin: 18px 0 18px; letter-spacing: .01em;
}
.section-head h2 em, .h2 em { font-size: 1.12em; }
.section-head p { color: var(--text-2); font-size: 18px; }

.divider-star {
  display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 22px 0;
}
.divider-star::before, .divider-star::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.divider-star::after { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 500; font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-gold {
  color: #2a0804;
  background: linear-gradient(135deg, #ffdc8e 0%, #f0a23a 45%, #c9661c 100%);
  box-shadow: 0 10px 30px -10px rgba(226, 168, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(228, 184, 92, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--gold-2); border: 1px solid var(--line-strong); background: rgba(226, 168, 74, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(226, 168, 74, .12); border-color: var(--gold); }
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #3a0f0b 0%, var(--bg) 60%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { position: relative; display: grid; place-items: center; gap: 26px; }
.preloader-logo { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader-logo img { width: 112px; animation: breathe 2.4s ease-in-out infinite; filter: drop-shadow(0 0 24px var(--gold-glow)); }
.preloader-logo::before, .preloader-logo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold); border-right-color: rgba(226, 168, 74, .3);
  animation: spin 1.6s linear infinite;
}
.preloader-logo::after { inset: -14px; border-top-color: rgba(241, 211, 139, .5); border-right-color: transparent; border-left-color: rgba(232, 110, 30, .6); animation-duration: 2.6s; animation-direction: reverse; }
.preloader-word { font-family: var(--ff-display); letter-spacing: .5em; font-size: 15px; color: var(--gold-2); padding-left: .5em; animation: fadeword 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeword { 0%, 100% { opacity: .45; letter-spacing: .5em; } 50% { opacity: 1; letter-spacing: .62em; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, height .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  --header-h: 70px;
  background: rgba(26, 6, 6, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; transition: transform .8s var(--ease); filter: drop-shadow(0 0 10px rgba(226, 168, 74, .35)); }
.brand:hover img { transform: rotate(360deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-serif); font-weight: 600; font-size: 30px; letter-spacing: .02em; color: var(--gold-2); }
.brand-tag { font-family: var(--ff-body); font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .22em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); box-shadow: 0 0 8px var(--gold);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold-2); transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  background: radial-gradient(circle at 50% 30%, #44120c, var(--bg) 70%);
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.nav-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu a {
  font-family: var(--ff-display); font-size: 26px; letter-spacing: .12em; color: var(--text); padding: 6px 20px;
  opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s;
}
.mobile-menu a:hover { color: var(--gold-2); }
.nav-open .mobile-menu a { opacity: 1; transform: none; }
.nav-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
.nav-open .mobile-menu a:nth-child(2) { transition-delay: .2s; }
.nav-open .mobile-menu a:nth-child(3) { transition-delay: .25s; }
.nav-open .mobile-menu a:nth-child(4) { transition-delay: .3s; }
.nav-open .mobile-menu a:nth-child(5) { transition-delay: .35s; }
.nav-open .mobile-menu a:nth-child(6) { transition-delay: .4s; }
.nav-open .mobile-menu a:nth-child(7) { transition-delay: .45s; }
.nav-open .mobile-menu a:nth-child(8) { transition-delay: .5s; }
.mobile-menu .btn { margin-top: 24px; font-family: var(--ff-body); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--ff-display); font-weight: 500; font-size: clamp(42px, 6.2vw, 82px); line-height: 1.06; margin: 26px 0 26px; letter-spacing: -.005em;
}
.hero-title em { font-size: 1.15em; font-weight: 500; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms + 200ms); }
.is-loaded .split-word > span { transform: none; }

.hero-sub { font-size: 19px; color: var(--text-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-modes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 46px; color: var(--muted); font-size: 14px; letter-spacing: .06em; }
.hero-modes li { display: flex; align-items: center; gap: 8px; }
.hero-modes .icon { color: var(--gold); width: 18px; height: 18px; }

.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .fade-up { opacity: 1; transform: none; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.wheel-wrap { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.halo {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 211, 139, .28) 0%, rgba(226, 168, 74, .1) 35%, transparent 70%);
  animation: halo 6s ease-in-out infinite; filter: blur(10px);
}
@keyframes halo { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.zodiac-wheel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; transform: scale(.85) rotate(-30deg); transition: opacity 1.6s var(--ease) .3s, transform 2s var(--ease) .3s; }
.is-loaded .zodiac-wheel { opacity: 1; transform: none; }
.zodiac-wheel .rot-slow { animation: spin 160s linear infinite; transform-origin: 0 0; }
.zodiac-wheel .rot-rev { animation: spin 220s linear infinite reverse; transform-origin: 0 0; }
.zodiac-wheel .rot-fast { animation: spin 60s linear infinite; transform-origin: 0 0; }
.zodiac-wheel circle, .zodiac-wheel line, .zodiac-wheel path { vector-effect: non-scaling-stroke; }
.zodiac-wheel .glyph { font-family: var(--ff-serif); fill: var(--gold-2); font-size: 21px; text-anchor: middle; dominant-baseline: central; }
.zodiac-wheel .label { font-family: var(--ff-serif); fill: var(--muted); font-size: 12px; text-anchor: middle; dominant-baseline: central; }
.zodiac-wheel .nak { font-family: var(--ff-serif); fill: rgba(248, 212, 134, .72); font-size: 10.5px; text-anchor: middle; dominant-baseline: central; }
.zodiac-wheel .nak.moola { fill: #ffd27a; font-size: 12px; font-weight: 700; }
.zodiac-wheel .graha { font-family: var(--ff-serif); fill: var(--gold-2); font-size: 10px; text-anchor: middle; dominant-baseline: central; }

.hero-logo {
  position: absolute; left: 50%; top: 50%; width: 46%; translate: -50% -50%;
  filter: drop-shadow(0 0 30px rgba(226, 168, 74, .45)) drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
  animation: float 7s ease-in-out infinite; opacity: 0; scale: .7; transition: opacity 1.4s var(--ease) .2s, scale 1.6s var(--ease) .2s;
}
.is-loaded .hero-logo { opacity: 1; scale: 1; }
@keyframes float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }

.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(226, 168, 74, .16); animation: spin linear infinite; }
.orbit::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; translate: -50% 0; }
.orbit.o1 { inset: 4%; animation-duration: 28s; }
.orbit.o1::before { background: var(--gold-2); box-shadow: 0 0 14px 3px var(--gold); }
.orbit.o2 { inset: 13%; animation-duration: 44s; animation-direction: reverse; border-style: solid; border-color: rgba(232, 110, 30, .18); }
.orbit.o2::before { width: 7px; height: 7px; background: #ffb867; box-shadow: 0 0 12px 3px var(--violet); top: auto; bottom: -3.5px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-cue span { width: 24px; height: 38px; border: 1px solid var(--line-strong); border-radius: 20px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold); translate: -50% 0; animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-band { padding: 0; position: relative; z-index: 3; overflow-x: clip; }
.marquee {
  overflow: hidden; padding: 20px 0; transform: rotate(-2deg); margin: 0 -3%;
  background: linear-gradient(90deg, #a8521a, #eea545 25%, #ffd98a 50%, #e8963a 75%, #a8521a);
  box-shadow: 0 20px 60px -20px rgba(226, 168, 74, .5);
}
.marquee.alt { transform: rotate(1.4deg); margin-top: -50px; background: var(--bg-3); border-block: 1px solid var(--line); box-shadow: none; position: relative; z-index: -1; }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 60s; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--ff-serif); font-size: 23px; letter-spacing: .02em; color: #3a0c06; white-space: nowrap;
}
.marquee.alt .marquee-track span { color: var(--gold-2); font-family: var(--ff-serif); letter-spacing: .02em; font-size: 24px; }
.marquee-track span::after { content: "॥"; font-size: 22px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; }
.reveal.in { animation: rv-up 1.1s var(--ease) var(--d, 0s) both; }
.reveal.from-left.in { animation-name: rv-left; }
.reveal.from-right.in { animation-name: rv-right; }
.reveal.zoom.in { animation-name: rv-zoom; }
@keyframes rv-up { from { opacity: 0; translate: 0 46px; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-left { from { opacity: 0; translate: -60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-right { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes rv-zoom { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.about-visual .ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.about-visual .ring.r1 { inset: 0; animation: spin 50s linear infinite; border-style: dashed; }
.about-visual .ring.r2 { inset: 9%; border-color: rgba(232, 110, 30, .25); }
.about-visual .ring.r3 { inset: 18%; background: radial-gradient(circle, rgba(226, 168, 74, .14), transparent 70%); }
.about-visual .ring .planet { position: absolute; width: 14px; height: 14px; border-radius: 50%; top: 50%; left: -7px; translate: 0 -50%; background: radial-gradient(circle at 30% 30%, #fff2c9, var(--gold) 60%, #6b4c12); box-shadow: 0 0 18px var(--gold); }
.about-visual .ring.r2 .planet-wrap { position: absolute; inset: 0; animation: spin 18s linear infinite reverse; }
.about-visual .ring.r2 .planet { width: 9px; height: 9px; left: auto; right: -4.5px; background: radial-gradient(circle at 30% 30%, #fff0d9, #f08a2c 60%, #7a2a08); box-shadow: 0 0 14px var(--violet); }
.about-visual img { position: absolute; inset: 24%; width: 52%; filter: drop-shadow(0 0 40px rgba(226, 168, 74, .35)); animation: float 8s ease-in-out infinite; }
.sanskrit-badge {
  position: absolute; right: 2%; bottom: 8%; padding: 16px 22px; border-radius: 18px; text-align: center;
  background: rgba(38, 10, 8, .8); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite reverse;
}
.sanskrit-badge b { display: block; font-family: var(--ff-serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--gold-2); }
.sanskrit-badge small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.about-copy .h2 { margin-top: 18px; }
.about-copy > p { color: var(--text-2); margin-bottom: 18px; }
.about-copy .lead { font-family: var(--ff-serif); font-size: 25px; line-height: 1.45; color: var(--text); font-style: italic; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pillar { padding: 22px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.pillar:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-2); }
.pillar .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.pillar h4 { font-family: var(--ff-display); font-size: 15px; letter-spacing: .06em; margin-bottom: 6px; color: var(--gold-2); }
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Cosmic numbers ---------- */
.numbers { padding: 40px 0 100px; }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); overflow: hidden; backdrop-filter: blur(4px);
}
.num { padding: 44px 20px; text-align: center; position: relative; }
.num + .num::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--line-strong), transparent); }
.num strong { display: block; font-family: var(--ff-display); font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; }
.num span { display: block; margin-top: 12px; font-family: var(--ff-display); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.num small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- Services ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px auto 52px; }
.filter-btn {
  padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); font-size: 14px; letter-spacing: .08em; color: var(--text-2);
  background: var(--surface); transition: all .35s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); color: var(--gold-2); }
.filter-btn.active { background: linear-gradient(135deg, #ffd88a, #e08a2c); color: #2a0804; border-color: transparent; box-shadow: 0 8px 26px -10px var(--gold); font-weight: 500; }
.filter-btn .count { opacity: .6; margin-left: 4px; font-size: 12px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.service-card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 26px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(226, 168, 74, .16), transparent 45%);
}
.service-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; z-index: -1;
  border: 1px solid var(--line); transition: transform .7s var(--ease), border-color .4s;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(226, 168, 74, .08), 0 0 50px -20px var(--gold-glow); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scale(1.6); border-color: rgba(226, 168, 74, .3); }
.service-card.hide { display: none; }
.service-card.pop { animation: pop .6s var(--ease) var(--pd, 0s) both; }
@keyframes pop { from { opacity: 0; translate: 0 24px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }

.sc-icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; color: var(--gold-2);
  background: linear-gradient(145deg, rgba(226, 168, 74, .2), rgba(226, 168, 74, .03)); border: 1px solid var(--line-strong);
  transition: transform .6s var(--ease), background .4s;
}
.sc-icon .icon { width: 30px; height: 30px; stroke-width: 1.3; }
.service-card:hover .sc-icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(145deg, rgba(226, 168, 74, .35), rgba(226, 168, 74, .06)); }
.sc-tag { position: absolute; top: 26px; right: 24px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.service-card h3 { font-family: var(--ff-display); font-size: 19px; letter-spacing: .02em; margin-bottom: 10px; color: var(--text); }
.service-card h3 small { display: block; font-family: var(--ff-serif); font-style: italic; font-size: 16px; color: var(--gold); letter-spacing: 0; margin-top: 4px; }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(226, 168, 74, .12); }
.sc-price { font-size: 14px; color: var(--text-2); }
.sc-price b { color: var(--gold-2); font-weight: 500; font-size: 16px; }
.sc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); transition: gap .3s var(--ease), color .3s; }
.sc-link .icon { width: 16px; height: 16px; }
.sc-link:hover { gap: 12px; color: var(--gold-2); }

/* ---------- Rashi explorer ---------- */
.rashi { overflow: hidden; }
.rashi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.rashi-ring { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.rashi-ring::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed var(--line); animation: spin 90s linear infinite; }
.rashi-ring::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(232, 110, 30, .2); }
.rashi-btn {
  position: absolute; width: 15%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  display: grid; place-items: center; background: rgba(38, 10, 8, .85); border: 1px solid var(--line);
  transition: background .4s, border-color .4s, box-shadow .4s, scale .4s var(--ease); z-index: 2;
}
.rashi-btn .g { font-family: var(--ff-serif); font-size: clamp(12px, 1.35vw, 17px); color: var(--gold-2); line-height: 1.2; transition: color .3s; }
.rashi-btn:hover { border-color: var(--gold); scale: 1.1; box-shadow: 0 0 30px -6px var(--gold-glow); }
.rashi-btn.active { background: linear-gradient(145deg, #ffd88a, #d0701e); border-color: transparent; box-shadow: 0 0 40px -4px var(--gold); scale: 1.12; }
.rashi-btn.active .g { color: #2a0804; }
.rashi-center {
  position: absolute; inset: 27%; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(226, 168, 74, .2), rgba(38, 10, 8, .9) 70%); border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 60px rgba(226, 168, 74, .12), 0 0 80px -20px var(--gold-glow);
}
.rashi-center .big-g { font-family: var(--ff-serif); font-size: clamp(40px, 5.4vw, 66px); line-height: 1.25; color: var(--gold-2); text-shadow: 0 0 30px var(--gold-glow); }
.rashi-center .num { font-family: var(--ff-serif); color: var(--muted); font-size: 18px; margin-top: 2px; }
.rashi-center .nm { font-family: var(--ff-display); letter-spacing: .14em; font-size: 14px; margin-top: 2px; color: var(--text-2); text-transform: uppercase; }
.rashi-center .swap { animation: swapIn .6s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: scale(.7) rotate(-20deg); filter: blur(6px); } }

.rashi-panel {
  padding: 40px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.rashi-panel::before { content: ""; position: absolute; top: -100px; right: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--violet-glow), transparent 70%); }
.rp-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.rp-head h3 { font-family: var(--ff-display); font-size: 32px; }
.rp-head .skt { font-family: var(--ff-serif); font-style: italic; font-size: 24px; color: var(--gold); }
.rp-dates { color: var(--muted); font-size: 14px; margin-top: 6px; }
.rp-dates b { color: var(--text-2); font-weight: 400; }
.rp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0; }
.rp-fact { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(226, 168, 74, .1); }
.rp-fact small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rp-fact span { display: block; color: var(--gold-2); font-size: 15px; margin-top: 2px; }
.rp-traits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rp-traits span { padding: 5px 14px; border-radius: 100px; font-size: 13px; border: 1px solid var(--line); color: var(--text-2); }
.rp-note { font-family: var(--ff-serif); font-size: 21px; line-height: 1.5; font-style: italic; color: var(--text); padding-left: 18px; border-left: 2px solid var(--gold); }
.rp-note-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.rp-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 26px; }
.meter small { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); letter-spacing: .06em; margin-bottom: 6px; }
.meter .bar { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); box-shadow: 0 0 12px var(--gold); transition: width 1.2s var(--ease); }
.rp-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rp-foot small { color: var(--muted); font-size: 13px; max-width: 300px; line-height: 1.5; }
.rashi-panel .fade-swap { animation: fadeSwap .55s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Free reading ---------- */
.free-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(226, 168, 74, .1), rgba(232, 110, 30, .1)); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9);
}
.free-copy { padding: 60px; position: relative; }
.free-copy .h2 { margin: 16px 0; font-size: clamp(30px, 3.6vw, 44px); }
.free-copy > p { color: var(--text-2); margin-bottom: 30px; }
.free-form { padding: 60px; background: rgba(26, 6, 6, .6); backdrop-filter: blur(10px); position: relative; }
.free-result { display: none; }
.free-result.show { display: block; animation: fadeSwap .7s var(--ease); }
.fr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.fr-item { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.fr-item small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fr-item strong { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 500; font-size: 20px; color: var(--gold-2); margin-top: 6px; }
.fr-item strong .g { font-family: var(--ff-serif); font-size: 22px; }
.fr-item p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.fr-hello { font-family: var(--ff-serif); font-size: 28px; font-style: italic; color: var(--gold-2); }
.fr-locked { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line-strong); margin-bottom: 22px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.fr-locked .icon { width: 28px; height: 28px; color: var(--gold); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--text-2); }
.check-list .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 4px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label .opt { text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(226, 168, 74, .2); color-scheme: dark;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(149, 143, 174, .7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(226, 168, 74, .06); box-shadow: 0 0 0 4px rgba(226, 168, 74, .12); }
.field.invalid input, .field.invalid select { border-color: #e07a7a; box-shadow: 0 0 0 4px rgba(224, 122, 122, .12); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note .icon { color: var(--gold); width: 16px; height: 16px; }
.mode-pills { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mode-pills label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--line); font-size: 14px; letter-spacing: .02em; text-transform: none; color: var(--text-2); transition: all .3s;
}
.mode-pills label .icon { width: 16px; height: 16px; color: var(--gold); }
.mode-pills input:checked + label { background: rgba(226, 168, 74, .16); border-color: var(--gold); color: var(--gold-2); }
.mode-pills input:focus-visible + label { outline: 2px solid var(--gold-2); outline-offset: 2px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps-line { position: absolute; top: 44px; left: 12%; right: 12%; height: 1px; background: rgba(226, 168, 74, .15); }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease) .3s; box-shadow: 0 0 12px var(--gold); }
.steps.in .steps-line i { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-num {
  width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--bg-2); border: 1px solid var(--line-strong); font-family: var(--ff-display); font-size: 28px; color: var(--gold-2);
  box-shadow: 0 0 0 10px rgba(26, 6, 6, .9), 0 0 40px -10px var(--gold-glow); transition: transform .5s var(--ease), background .4s, color .4s;
}
.step-num::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(226, 168, 74, .35); animation: spin 20s linear infinite; }
.step:hover .step-num { transform: scale(1.08); background: linear-gradient(145deg, #ffd88a, #d0701e); color: #2a0804; }
.step h4 { font-family: var(--ff-display); font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 250px; margin: 0 auto; }

/* ---------- Pricing ---------- */
.modes-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: -20px 0 60px; }
.mode-chip { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; transition: transform .3s var(--ease), border-color .3s; }
.mode-chip:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.mode-chip .icon { width: 20px; height: 20px; color: var(--gold); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; padding: 44px 36px 38px; border-radius: 28px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.price-card.featured { border-color: transparent; background: none; transform: scale(1.04); box-shadow: 0 40px 100px -40px var(--gold-glow); }
.price-card.featured:hover { transform: scale(1.04) translateY(-10px); }
.price-card.featured::before {
  content: ""; position: absolute; inset: -60%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--gold-2) 70%, var(--gold) 78%, transparent 90%);
  animation: spin 5s linear infinite;
}
.price-card.featured::after { content: ""; position: absolute; inset: 1.5px; border-radius: 27px; z-index: -1; background: linear-gradient(170deg, #3a0f0b, #220807 60%); }
.badge { position: absolute; top: 22px; right: 22px; padding: 5px 14px; border-radius: 100px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(135deg, #ffd88a, #e08a2c); color: #2a0804; font-weight: 500; }
.price-card .tier { font-family: var(--ff-display); letter-spacing: .2em; font-size: 14px; text-transform: uppercase; color: var(--gold); }
.price-card h3 { font-family: var(--ff-serif); font-size: 30px; font-weight: 500; margin: 8px 0 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price b { font-family: var(--ff-display); font-size: 52px; font-weight: 500; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.price-card .desc { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.price-card ul { flex: 1; margin-bottom: 32px; }
.price-card li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(226, 168, 74, .08); color: var(--text-2); font-size: 15px; }
.price-card li .icon { color: var(--gold); width: 18px; height: 18px; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi { overflow: hidden; }
.testi-stage { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.testi-quote-mark { font-family: var(--ff-serif); font-size: 160px; line-height: .6; color: var(--gold); opacity: .35; height: 70px; }
.testi-track { display: grid; }
.testi-slide { grid-area: 1 / 1; opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.testi-slide blockquote { margin: 0; font-family: var(--ff-serif); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.45; font-style: italic; color: var(--text); }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-display); font-size: 20px; color: #2a0804; background: linear-gradient(145deg, #ffd88a, #d0701e); box-shadow: 0 0 0 4px rgba(226, 168, 74, .15); }
.testi-person div { text-align: left; }
.testi-person b { display: block; font-weight: 500; }
.testi-person small { color: var(--muted); font-size: 14px; }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 16px; margin-top: 2px; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; }
.testi-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold-2); transition: background .3s, transform .3s var(--ease); }
.testi-arrow:hover { background: rgba(226, 168, 74, .14); transform: scale(1.08); }
.testi-arrow .icon { width: 20px; height: 20px; }
.testi-arrow.prev .icon { transform: scaleX(-1); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgba(226, 168, 74, .3); transition: width .4s var(--ease), background .3s; }
.testi-dots button.active { width: 30px; background: var(--gold); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side > p { color: var(--text-2); margin: 0 0 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-family: var(--ff-serif); font-size: 23px; font-weight: 500; color: var(--text); transition: color .3s; }
.faq-q:hover { color: var(--gold-2); }
.faq-q .plus { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .5s var(--ease), background .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-2); translate: -50% -50%; transition: transform .4s var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.open .plus { transform: rotate(180deg); background: rgba(226, 168, 74, .14); }
.faq-item.open .plus::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 50px 26px 0; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), background .3s; }
a.info-card:hover { border-color: var(--line-strong); transform: translateX(6px); background: var(--surface-2); }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(226, 168, 74, .12); color: var(--gold-2); flex-shrink: 0; }
.info-card .ic .icon { width: 24px; height: 24px; }
.info-card small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-card span { font-size: 17px; color: var(--text); }
.hours { padding: 24px; border-radius: 18px; border: 1px dashed var(--line-strong); }
.hours h4 { font-family: var(--ff-display); font-size: 15px; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text-2); font-size: 15px; }
.hours li span:last-child { color: var(--muted); }
.booking-card { padding: 44px; border-radius: 28px; background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); }
.booking-card h3 { font-family: var(--ff-display); font-size: 28px; margin-bottom: 6px; }
.booking-card > p { color: var(--muted); margin-bottom: 28px; }
.form-section-label { grid-column: 1 / -1; font-family: var(--ff-serif); font-style: italic; color: var(--gold); font-size: 19px; margin-top: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(226, 168, 74, .12); }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0 120px; }
.cta-box {
  position: relative; border-radius: 36px; padding: 80px 40px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 0%, rgba(241, 211, 139, .25), transparent 60%), linear-gradient(135deg, #44120c, #220807);
  border: 1px solid var(--line-strong);
}
.cta-box::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; z-index: -1; background: url("../assets/logo-512.png") center / contain no-repeat; opacity: .05; animation: spin 120s linear infinite; }
.cta-box h2 { font-family: var(--ff-display); font-size: clamp(30px, 4.4vw, 52px); max-width: 820px; margin: 18px auto; }
.cta-box p { color: var(--text-2); max-width: 600px; margin: 0 auto 36px; font-size: 18px; }
.cta-box .hero-cta { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(26, 6, 6, .4), rgba(26, 6, 6, .95)); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; }
.footer-grid h5 { font-family: var(--ff-display); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; font-weight: 500; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--muted); font-size: 15px; transition: color .3s, padding .3s var(--ease); }
.footer-grid li a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-about p { color: var(--muted); font-size: 15px; margin: 18px 0 24px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-2); transition: background .3s, transform .4s var(--ease), border-color .3s; }
.socials a:hover { background: rgba(226, 168, 74, .14); border-color: var(--gold); transform: translateY(-4px); }
.socials .icon { width: 18px; height: 18px; }
.newsletter p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.newsletter form { display: flex; padding: 5px; border-radius: 100px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; padding: 0 16px; color: var(--text); font: inherit; font-size: 15px; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffd88a, #d0701e); color: #2a0804; flex-shrink: 0; transition: transform .3s var(--ease); }
.newsletter button:hover { transform: rotate(-30deg) scale(1.06); }
.newsletter button .icon { width: 18px; height: 18px; }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(226, 168, 74, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.disclaimer { max-width: 720px; line-height: 1.6; }

/* ---------- Floating UI ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #3ee07a, #1aa851); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease);
}
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #3ee07a; animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
.float-wa:hover { transform: scale(1.1); }
.float-wa .icon { width: 28px; height: 28px; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(38, 10, 8, .8); backdrop-filter: blur(8px); color: var(--gold-2);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(226, 168, 74, .18); }
.to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 500; translate: -50% calc(100% + 60px); padding: 14px 24px; border-radius: 100px;
  background: rgba(44, 12, 9, .95); border: 1px solid var(--line-strong); color: var(--text); display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); transition: translate .6s var(--ease); max-width: calc(100% - 32px);
}
.toast.show { translate: -50% 0; }
.toast .icon { color: var(--gold); width: 20px; height: 20px; }

.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 3, 3, .75); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; max-width: 480px; width: 100%; padding: 44px 36px 36px; border-radius: 28px; text-align: center;
  background: linear-gradient(170deg, #3a0f0b, #220807); border: 1px solid var(--line-strong); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: translateY(30px) scale(.95); transition: transform .5s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-card img { width: 84px; margin: 0 auto 16px; animation: breathe 3s ease-in-out infinite; filter: drop-shadow(0 0 20px var(--gold-glow)); }
.modal-card h3 { font-family: var(--ff-display); font-size: 26px; margin-bottom: 10px; }
.modal-card p { color: var(--text-2); margin-bottom: 26px; }
.modal-card .btns { display: flex; flex-direction: column; gap: 12px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); font-size: 24px; line-height: 1; }
.modal-close:hover { color: var(--gold-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav .btn-header { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-10px); }
}
@media (max-width: 960px) {
  section { padding: 90px 0; }
  .hero-grid, .about-grid, .rashi-grid, .faq-grid, .contact-grid, .free-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-modes { justify-content: center; }
  .hero-visual { max-width: 460px; order: -1; margin-bottom: -10px; }
  .scroll-cue { display: none; }
  .about-grid { gap: 50px; }
  .about-visual { max-width: 400px; }
  .rashi-grid { gap: 40px; }
  .rashi-ring { max-width: 440px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps-line { display: none; }
  .faq-side { position: static; text-align: center; }
  .free-copy, .free-form { padding: 44px 32px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3)::before { display: none; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .brand-tag { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 26px; }
  .hero-title { font-size: clamp(36px, 10vw, 48px); }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .marquee-track span { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .rp-facts { grid-template-columns: 1fr 1fr; }
  .rashi-panel { padding: 28px 22px; }
  .rp-meters { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid, .fr-grid { grid-template-columns: 1fr; }
  .free-copy, .free-form, .booking-card { padding: 32px 22px; }
  .price-card { padding: 38px 26px 30px; }
  .faq-q { font-size: 20px; }
  .faq-a p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-box { padding: 60px 22px; border-radius: 26px; }
  .filters { gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
  .float-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .to-top { right: 21px; bottom: 80px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up { opacity: 1; transform: none; animation: none !important; }
  .split-word > span { transform: none; }
}

/* ---------- Signature pillars: Vedic Jyotish + Spiritual Guidance ---------- */
.signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sig-card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 52px 44px 44px; border-radius: 32px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(226, 168, 74, .12), rgba(38, 10, 8, .6) 55%);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.sig-card.spirit { background: linear-gradient(160deg, rgba(232, 110, 30, .22), rgba(38, 10, 8, .6) 55%); }
.sig-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(241, 211, 139, .14), transparent 45%); }
.sig-card:hover { transform: translateY(-8px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 70px -30px var(--gold-glow); }
.sig-card:hover::before { opacity: 1; }
.sig-art { position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; z-index: -1; opacity: .5; color: var(--gold); }
.sig-art svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }
.sig-card.spirit .sig-art { color: #ffb867; }
.sig-card.spirit .sig-art svg { animation-direction: reverse; }
.sig-num { font-family: var(--ff-display); font-size: 13px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.sig-card h3 { font-family: var(--ff-display); font-size: clamp(28px, 3vw, 40px); margin: 14px 0 6px; }
.sig-card .skt { font-family: var(--ff-serif); font-style: italic; font-size: 22px; color: var(--gold-2); }
.sig-card > p { color: var(--text-2); margin: 18px 0 26px; max-width: 480px; }
.sig-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 34px; }
.sig-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.sig-list .icon { width: 16px; height: 16px; color: var(--gold); margin-top: 4px; fill: var(--gold); stroke: none; }
.sig-card.spirit .sig-list .icon { color: #ffb867; fill: #ffb867; }
.sig-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.om-mark { font-family: var(--ff-serif); }

@media (max-width: 960px) {
  .signature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sig-card { padding: 40px 24px 32px; }
  .sig-list { grid-template-columns: 1fr; }
  .sig-actions .btn { width: 100%; }
}


/* =========================================================
   Brand layer: ivory panels, deep green ink and gold,
   echoing the Moolā business card
   ========================================================= */
[hidden] { display: none !important; }
.deva { font-family: "Tiro Devanagari Sanskrit", var(--ff-serif); font-style: normal; }

.light {
  --text: #5a1410; --text-2: #6b3a26; --muted: #8a6448;
  --gold: #a8541a; --gold-2: #8f3a0e; --gold-3: #6b2a08;
  --gold-glow: rgba(168, 84, 26, .25);
  --line: rgba(110, 30, 15, .14); --line-strong: rgba(168, 84, 26, .45);
  --surface: #fbf0d6; --surface-2: #ffffff;
  position: relative; z-index: 2; isolation: isolate;
  margin: 0 clamp(8px, 1.6vw, 24px);
  border-radius: clamp(22px, 3vw, 44px);
  color: var(--text);
  background: radial-gradient(900px 500px at 100% 0%, #fbf0d8, transparent 60%), linear-gradient(180deg, #f7f1e3, #f1e8d4);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .75);
  overflow: hidden; overflow: clip;
}
.light::before { /* silver-foil roots in the corner, like the card */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(640px, 75vw); aspect-ratio: 1; right: -14%; top: -16%;
  background: url("../assets/logo-512.png") center / contain no-repeat;
  filter: grayscale(1) contrast(.9); opacity: .09;
}
.light::after { /* thin green frame */
  content: ""; position: absolute; inset: clamp(8px, 1.3vw, 18px); pointer-events: none;
  border: 1px solid rgba(110, 30, 15, .38); border-radius: clamp(16px, 2.3vw, 32px);
}
.light em, .light .serif-em { color: #8f3a0e; }
.light .gold-text { background-image: linear-gradient(100deg, #6b2008 0%, #c0621c 25%, #8f3a0e 45%, #d9822a 55%, #7a2a0a 75%, #c0621c 100%); }
.light .eyebrow .icon { fill: #a8541a; }
.light .btn-ghost { color: #5a1410; border-color: rgba(110, 30, 15, .35); background: rgba(110, 30, 15, .03); }
.light .btn-ghost:hover { background: #5a1410; color: #f8ecd2; border-color: #5a1410; }
.light .pillar { box-shadow: 0 20px 40px -30px rgba(90, 25, 10, .4); }
.light .sanskrit-badge { background: #fbf0d6; box-shadow: 0 20px 50px -24px rgba(90, 25, 10, .45); }
.light .numbers-grid { background: #fbf0d6; box-shadow: 0 30px 70px -45px rgba(90, 25, 10, .45); backdrop-filter: none; }
.light .step-num { background: #fbf0d6; box-shadow: 0 0 0 10px #efdcb2, 0 20px 40px -20px rgba(168, 84, 26, .5); }
.light .steps-line { background: rgba(110, 30, 15, .14); }
.light .about-visual .ring.r2 { border-color: rgba(110, 30, 15, .18); }

/* ---------- Hero motto ---------- */
.hero-motto { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 24px; font-family: var(--ff-serif); font-style: italic; font-size: 21px; color: var(--muted); }
.hero-motto .deva { font-size: 25px; color: var(--gold-2); }
.hero-copy .hero-title { margin-top: 8px; }
.hero-sub b { font-weight: 500; color: var(--gold-2); }

/* ---------- Guide ---------- */
.guide-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.portrait-wrap { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; padding: 10px; border-radius: 999px 999px 26px 26px;
  background: linear-gradient(160deg, #ecd69f, #a8541a 50%, #ecd69f);
  box-shadow: 0 40px 80px -30px rgba(90, 25, 10, .55);
}
.portrait::before { content: ""; position: absolute; inset: -18px; border: 1px solid rgba(110, 30, 15, .3); border-radius: 999px 999px 40px 40px; }
.portrait-inner {
  position: relative; height: 100%; border-radius: 999px 999px 18px 18px; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 18px;
  background:
    radial-gradient(1.2px 1.2px at 18% 22%, #f1d38b, transparent),
    radial-gradient(1px 1px at 72% 16%, #f3ecda, transparent),
    radial-gradient(1.4px 1.4px at 84% 44%, #f1d38b, transparent),
    radial-gradient(1px 1px at 30% 70%, #f3ecda, transparent),
    radial-gradient(1.2px 1.2px at 62% 82%, #f1d38b, transparent),
    radial-gradient(circle at 50% 32%, #5a1a0e, #1a0606 78%);
}
.portrait-inner img { width: 58%; filter: drop-shadow(0 0 30px rgba(226, 168, 74, .5)); animation: float 7s ease-in-out infinite; }
.portrait-inner img.photo { width: 100%; height: 100%; object-fit: cover; animation: none; filter: none; }
.portrait-name { font-family: var(--ff-serif); font-size: 28px; color: #f1d38b; letter-spacing: .02em; }
.portrait-tag {
  position: absolute; right: -34px; top: 22%; padding: 12px 20px; border-radius: 16px; text-align: center;
  background: #fbf0d6; border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -20px rgba(90, 25, 10, .5);
  animation: float 6s ease-in-out infinite reverse;
}
.portrait-tag .deva { display: block; font-size: 19px; color: #5a1410; }
.portrait-tag small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.guide-copy .h2 { margin-bottom: 6px; }
.guide-role { font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.guide-copy > p { color: var(--text-2); margin-bottom: 16px; }
.guide-quote { margin: 28px 0; padding: 26px 30px; border-radius: 20px; background: linear-gradient(135deg, #5a1410, #3a0c08); color: #f3ecda; box-shadow: 0 30px 60px -30px rgba(90, 25, 10, .7); }
.guide-quote .deva { display: block; font-size: 26px; color: #f1d38b; margin-bottom: 6px; }
.guide-quote p { font-family: var(--ff-serif); font-style: italic; font-size: 21px; line-height: 1.45; }
.guide-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 34px; }
.guide-points li { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 15px; }
.guide-points .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Small extras ---------- */
.footer-motto { font-family: var(--ff-serif); font-style: italic; color: var(--gold) !important; margin-top: -10px !important; font-size: 17px !important; }
.footer-motto .deva { font-size: 18px; }
.fr-again { margin-top: 10px; }
.field select.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(226, 168, 74, .35); } }
.sig-card .skt .deva { font-size: 20px; }
.rp-head .skt .deva { font-size: 21px; }

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; gap: 60px; }
  .portrait-wrap { max-width: 340px; }
  .portrait-tag { right: -10px; }
  .hero-motto { justify-content: center; }
  .guide-copy { text-align: left; }
}
@media (max-width: 640px) {
  .guide-points { grid-template-columns: 1fr; }
  .guide-copy .btn { width: 100%; }
  .portrait-tag { right: 0; top: 18%; }
  .guide-quote { padding: 22px; }
}
@media (max-width: 640px) {
  .light .container { width: calc(100% - 48px); }
  .light::after { inset: 8px; border-radius: 16px; }
}
@media (max-width: 640px) {
  .portrait-wrap { max-width: 290px; }
  .portrait::before { inset: -10px; }
}

/* =========================================================
   Vedic layer: saffron, kumkum and gold, palm-leaf parchment,
   temple friezes, lotus ornaments and Devanagari typography
   ========================================================= */
:root {
  --lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 28'%3E%3Cg fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M4 17h56M120 17h56'/%3E%3Cpath d='M90 3c5 5 6 11 0 17-6-6-5-12 0-17z' fill='black' fill-opacity='.35'/%3E%3Cpath d='M90 20c-5-1-11-5-14-11 6 0 11 3 14 8M90 20c5-1 11-5 14-11-6 0-11 3-14 8'/%3E%3Cpath d='M74 23c7 3 25 3 32 0'/%3E%3C/g%3E%3Cg fill='black'%3E%3Ccircle cx='64' cy='17' r='2'/%3E%3Ccircle cx='116' cy='17' r='2'/%3E%3Ccircle cx='4' cy='17' r='1.4'/%3E%3Ccircle cx='176' cy='17' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
  --frieze-maroon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='20' viewBox='0 0 44 20'%3E%3Cg fill='none' stroke='%238f3a0e' stroke-width='1'%3E%3Cpath d='M0 1.5h44M0 18.5h44'/%3E%3Cpath d='M0 10c5.5-6 16.5-6 22 0s16.5 6 22 0' stroke-opacity='.6'/%3E%3Cpath d='M22 4c3 2.5 3 9.5 0 12-3-2.5-3-9.5 0-12z' fill='%23c0621c' fill-opacity='.35'/%3E%3C/g%3E%3Ccircle cx='0' cy='10' r='1.8' fill='%238f3a0e'/%3E%3Ccircle cx='44' cy='10' r='1.8' fill='%238f3a0e'/%3E%3C/svg%3E");
  --frieze-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='20' viewBox='0 0 44 20'%3E%3Cg fill='none' stroke='%23e2a84a' stroke-width='1'%3E%3Cpath d='M0 1.5h44M0 18.5h44'/%3E%3Cpath d='M0 10c5.5-6 16.5-6 22 0s16.5 6 22 0' stroke-opacity='.6'/%3E%3Cpath d='M22 4c3 2.5 3 9.5 0 12-3-2.5-3-9.5 0-12z' fill='%23f0a23a' fill-opacity='.35'/%3E%3C/g%3E%3Ccircle cx='0' cy='10' r='1.8' fill='%23e2a84a'/%3E%3Ccircle cx='44' cy='10' r='1.8' fill='%23e2a84a'/%3E%3C/svg%3E");
  --rosette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle r='9'/%3E%3Ccircle r='47'/%3E%3Ccircle r='31' stroke-dasharray='2 4'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(45)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(90)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(135)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(180)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(225)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(270)'/%3E%3Cpath d='M0-11C7-19 7-33 0-43C-7-33-7-19 0-11z' transform='rotate(315)'/%3E%3C/g%3E%3C/svg%3E");
}

body {
  background:
    radial-gradient(1100px 760px at 85% -10%, rgba(232, 110, 30, .22), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(200, 54, 31, .14), transparent 60%),
    radial-gradient(1000px 900px at 50% 120%, rgba(150, 40, 20, .28), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

/* Devanagari must never be letter-spaced: it breaks the shirorekha */
.deva, [lang="sa"] { letter-spacing: normal !important; font-family: var(--ff-serif); }

h1, h2, h3, h4 { font-weight: 500; }
.section-head h2, .h2 { letter-spacing: 0; font-weight: 500; }

/* Om mark in eyebrows */
.om {
  font-family: var(--ff-serif); font-size: 1.6em; line-height: 0; letter-spacing: 0; text-transform: none;
  color: var(--gold); text-shadow: 0 0 14px var(--gold-glow); position: relative; top: .08em;
}

/* Large Devanagari section titles */
.skt-title {
  display: block; font-family: var(--ff-serif); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.35; margin-bottom: 4px;
  background: linear-gradient(100deg, #c0621c 0%, #f8d486 35%, #e2a84a 55%, #ffe8b0 65%, #c0621c 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 9s linear infinite;
}
.skt-title.reveal.in { animation: rv-up 1.1s var(--ease) var(--d, 0s) both, shimmer 9s linear infinite; }
.light .skt-title { background-image: linear-gradient(100deg, #6b2008 0%, #c0621c 35%, #8f3a0e 55%, #d9822a 65%, #6b2008 100%); }

/* Lotus ornament under every section heading */
.section-head::after {
  content: ""; display: block; width: 180px; height: 28px; margin: 26px auto 0;
  background: var(--gold); -webkit-mask: var(--lotus) center / contain no-repeat; mask: var(--lotus) center / contain no-repeat;
}

/* Hero */
.hero-mandala { position: absolute; left: -24%; top: 50%; width: min(1150px, 95vw); translate: 0 -50%; color: var(--gold); opacity: .07; animation: spin 300s linear infinite; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; }
.hero-shloka { font-family: var(--ff-serif); font-size: clamp(50px, 6.8vw, 96px); line-height: 1.18; margin: 20px 0 0; }
.hero-shloka small { display: block; font-style: italic; font-size: 19px; color: var(--muted); margin-top: 4px; }
.hero-copy .hero-title { font-size: clamp(32px, 4.4vw, 60px); margin: 12px 0 24px; }
.hero-title em { font-size: 1.05em; }

/* Numbers in Devanagari */
.num strong { font-family: var(--ff-serif); font-weight: 400; }
.step-num { font-family: var(--ff-serif); font-size: 34px; line-height: 1; padding-top: 6px; }

/* Palm-leaf parchment panels with a temple frieze */
.light {
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(120, 50, 10, .16) 100%),
    repeating-linear-gradient(0deg, rgba(110, 60, 20, .035) 0 1px, transparent 1px 5px),
    radial-gradient(900px 500px at 100% 0%, #fbf0d8, transparent 60%),
    linear-gradient(180deg, #f6e6c2, #ecd4a2);
}
.light::before { filter: sepia(1) saturate(1.6) hue-rotate(-18deg); opacity: .1; }
.light::after {
  border: 3px double rgba(110, 30, 15, .42);
  background: var(--frieze-maroon) left top 10px / 44px 20px repeat-x, var(--frieze-maroon) left bottom 10px / 44px 20px repeat-x;
  opacity: .9;
}

/* Rosette corner ornament on cards */
.service-card::after {
  right: -34px; top: -34px; width: 130px; height: 130px; border: 0; border-radius: 0;
  background: var(--gold); opacity: .16; -webkit-mask: var(--rosette) center / contain no-repeat; mask: var(--rosette) center / contain no-repeat;
  transition: transform 1s var(--ease), opacity .4s;
}
.service-card:hover::after { transform: rotate(45deg) scale(1.25); opacity: .32; border-color: transparent; }

/* Rashi panel */
.rp-deva { display: block; width: 100%; font-family: var(--ff-serif); font-size: clamp(36px, 4vw, 48px); line-height: 1.2; color: var(--gold-2); }
.rp-head { align-items: baseline; }
.rashi-btn { width: 16%; }

/* Kundli chart */
.kundli-art { display: block; width: 210px; max-width: 70%; margin-top: 34px; color: rgba(226, 168, 74, .5); }
.kundli-art .k-num { font-family: var(--ff-serif); font-size: 19px; fill: rgba(248, 212, 134, .75); text-anchor: middle; dominant-baseline: central; }
.kundli-art .k-lagna { font-family: var(--ff-serif); font-size: 24px; fill: #ffd27a; text-anchor: middle; dominant-baseline: central; }

/* Diya with a flickering flame */
.diya { position: relative; width: 72px; height: 64px; margin: 0 auto 6px; }
.diya-base {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  background: linear-gradient(180deg, #f3c56a, #b8661a 70%, #7a3a0c); border-radius: 4px 4px 40px 40px / 4px 4px 24px 24px;
  box-shadow: 0 10px 30px -6px rgba(240, 140, 40, .6);
}
.diya-base::before { content: ""; position: absolute; left: 50%; top: -4px; width: 10px; height: 8px; translate: -50% 0; border-radius: 50%; background: #5a2a0a; }
.flame {
  position: absolute; left: 50%; bottom: 22px; width: 16px; height: 34px; translate: -50% 0; transform-origin: 50% 100%;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 72%, #fffbe6 0 18%, #ffe08a 34%, #ff9a2e 62%, rgba(255, 110, 20, 0) 74%);
  box-shadow: 0 0 34px 12px rgba(255, 150, 40, .4);
  animation: flicker 1.8s ease-in-out infinite alternate;
}
@keyframes flicker {
  0% { transform: scale(1, 1) rotate(-2deg); }
  25% { transform: scale(1.06, .94) rotate(1.5deg); }
  50% { transform: scale(.94, 1.08) rotate(-1deg); }
  75% { transform: scale(1.03, .96) rotate(2deg); }
  100% { transform: scale(1, 1.04) rotate(0); }
}

/* Footer: gold frieze + Upanishad shloka */
.site-footer { border-top: 0; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; background: var(--frieze-gold) center / 44px 20px repeat-x; opacity: .55; }
.footer-shloka { text-align: center; font-family: var(--ff-serif); font-size: clamp(18px, 2.2vw, 26px); line-height: 1.6; color: var(--gold-2); margin: 60px auto 0; max-width: 900px; }
.footer-shloka small { display: block; font-family: var(--ff-serif); font-style: italic; font-size: 15px; color: var(--muted); margin-top: 6px; }

/* Preloader */
.preloader { background: radial-gradient(circle at 50% 45%, #44120c 0%, var(--bg) 60%); }
.preloader-word .deva { font-size: 20px; }

/* Guide quote & portrait in kumkum tones */
.guide-quote .deva { color: #ffd27a; }
.portrait-inner { background:
    radial-gradient(1.2px 1.2px at 18% 22%, #f8d486, transparent),
    radial-gradient(1px 1px at 72% 16%, #f8ebd2, transparent),
    radial-gradient(1.4px 1.4px at 84% 44%, #f8d486, transparent),
    radial-gradient(1px 1px at 30% 70%, #f8ebd2, transparent),
    radial-gradient(1.2px 1.2px at 62% 82%, #f8d486, transparent),
    radial-gradient(circle at 50% 32%, #6a1c10, #1a0606 78%); }
.portrait-name { color: #f8d486; }

@media (max-width: 960px) {
  .hero-mandala { left: 50%; translate: -50% -50%; top: 30%; }
  .kundli-art { margin-inline: auto; }
  .free-copy { text-align: left; }
}
@media (max-width: 640px) {
  .hero-shloka { font-size: clamp(44px, 13vw, 60px); }
  .rashi-btn { width: 17%; }
  .rashi-btn .g { font-size: 11px; }
}
@media (max-width: 960px) {
  .hero-copy .eyebrow { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .hero-copy .eyebrow .om { line-height: 1; top: 0; }
}
