@charset "UTF-8";
/* ============================================================
   Sai Astrology — Design System
   Author: Aadi Infotech
   Sections: 1 Tokens · 2 Reset · 3 Type · 4 Layout · 5 Buttons
             6 Header · 7 Hero · 8 Components · 9 Pages
            10 Forms · 11 Footer · 12 Motion · 13 Responsive
   ============================================================ */

/* ─── 1. TOKENS ─────────────────────────────────────────── */
:root {
  /* Palette taken from the Sai Astrology logo: a bright sindoor-red swastika
     on white over a deep crimson field (#990002), with saffron, orange and
     golden-yellow motifs in its quadrants. */

  /* night — black warmed toward the brand crimson */
  --ink:        #190507;
  --ink-2:      #24090A;
  --ink-3:      #33100F;
  --maroon:     #4A120F;
  --maroon-2:   #6B1711;
  --crimson:    #990002;   /* the logo's field red */

  /* parchment */
  --cream:      #FFF9F0;
  --cream-2:    #FBEEDC;
  --cream-3:    #F3DFC4;

  /* flame — gold, saffron, sindoor */
  --gold:       #F0B429;
  --gold-lt:    #FFDA8A;
  --gold-dk:    #B8801A;
  --gold-deep:  #8A5E12;
  --gold-ink:   #85580D;   /* gold that reaches AA as text on parchment */

  --saffron:    #F97316;
  --orange:     #EA6A14;
  --vermilion:  #D7262C;

  /* semantic — dark surfaces */
  --d-text:     #FFF6EB;
  --d-text-2:   rgba(255, 246, 235, .74);
  --d-text-3:   rgba(255, 246, 235, .58);
  --d-line:     rgba(240, 180, 41, .26);
  --d-line-2:   rgba(255, 246, 235, .12);
  --d-card:     rgba(255, 255, 255, .042);

  /* semantic — light surfaces */
  --l-text:     #2A0E0C;
  --l-text-2:   #63463F;
  --l-text-3:   #7E5F56;
  --l-line:     rgba(42, 14, 12, .15);
  --l-card:     #FFFFFF;

  /* type */
  --f-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-deva:    "Tiro Devanagari Hindi", "Noto Serif Devanagari", var(--f-display);

  /* scale */
  --t-xs:   clamp(.69rem, .66rem + .12vw, .75rem);
  --t-sm:   clamp(.81rem, .78rem + .14vw, .875rem);
  --t-base: clamp(.95rem, .92rem + .18vw, 1.0625rem);
  --t-md:   clamp(1.06rem, 1rem + .3vw,  1.1875rem);
  --t-lg:   clamp(1.25rem, 1.14rem + .5vw, 1.5rem);
  --t-xl:   clamp(1.5rem, 1.3rem + .9vw,  2rem);
  --t-2xl:  clamp(1.9rem, 1.55rem + 1.6vw, 2.75rem);
  --t-3xl:  clamp(2.3rem, 1.7rem + 2.7vw, 3.9rem);
  --t-4xl:  clamp(2.2rem, 1.1rem + 5vw, 5.6rem);

  /* space */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.75rem; --s-8: 3.5rem;
  --s-9: 5rem;    --s-10: 7rem;
  --sect: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --wrap: 1240px;
  --wrap-n: 1020px;
  --wrap-t: 760px;

  /* shape */
  --r-sm: 6px;  --r: 12px;  --r-lg: 20px;  --r-xl: 30px;  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 2px 10px rgba(25, 5, 7, .10);
  --sh:    0 12px 36px -12px rgba(25, 5, 7, .22);
  --sh-lg: 0 32px 70px -24px rgba(25, 5, 7, .40);
  --sh-gold: 0 18px 50px -18px rgba(240, 180, 41, .45);

  /* motion */
  --e-out:  cubic-bezier(.16, 1, .3, 1);
  --e-io:   cubic-bezier(.65, 0, .35, 1);
  --e-soft: cubic-bezier(.33, 1, .68, 1);

  --nav-h: 82px;
}

/* ─── 2. RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.72;
  color: var(--d-text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: var(--ink); }

/* thin gold scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--gold-dk) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: rgba(0,0,0,.18); }
*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--gold-dk));
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  z-index: 300; padding: .7rem 1.4rem; background: var(--gold); color: var(--ink);
  font-weight: 600; border-radius: 0 0 var(--r) var(--r); transition: top .25s var(--e-out);
}
.skip-link:focus { top: 0; }

/* ─── 3. TYPOGRAPHY ────────────────────────────────────── */
.display,
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.012em;
}

.h-hero  { font-size: var(--t-4xl); line-height: 1.02; letter-spacing: -.028em; }
.h-1     { font-size: var(--t-3xl); line-height: 1.06; letter-spacing: -.022em; }
.h-2     { font-size: var(--t-2xl); line-height: 1.12; letter-spacing: -.016em; }
.h-3     { font-size: var(--t-xl);  line-height: 1.2; }
.h-4     { font-size: var(--t-lg);  line-height: 1.28; }

.deva {
  font-family: var(--f-deva);
  font-weight: 400;
  letter-spacing: .01em;
}

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::after {
  content: ""; width: 30px; height: 1px; flex: none;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

.lede {
  font-size: var(--t-md);
  line-height: 1.68;
  color: var(--d-text-2);
}
.on-light .lede, .light .lede { color: var(--l-text-2); }

.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--d-text-2); }
.light .prose p, .on-light .prose p { color: var(--l-text-2); }
.prose strong { color: var(--d-text); font-weight: 600; }
.light .prose strong { color: var(--l-text); }

/* shimmering gold text */
.gold-text {
  background: linear-gradient(100deg,
    var(--gold-dk) 0%, var(--gold) 22%, var(--gold-lt) 42%,
    #FFF6E0 50%, var(--gold-lt) 58%, var(--gold) 78%, var(--gold-dk) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  to { background-position: -300% 0; }
}

.ital {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--gold-lt);
}

/* ─── 4. LAYOUT ────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-n); }
.wrap--text   { max-width: var(--wrap-t); }

.section { position: relative; padding-block: var(--sect); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--flush-t { padding-top: 0; }
.section--flush-b { padding-bottom: 0; }

/* light / dark section skins */
.light {
  background: var(--cream);
  color: var(--l-text);
}
.light h1, .light h2, .light h3, .light h4 { color: var(--l-text); }
/* .light-2 is a background variant and must be used WITH .light,
   which supplies the text colours: class="section light light-2" */
.light-2 { background: var(--cream-2); }

.dark   { background: var(--ink); }
.dark-2 { background: var(--ink-2); }

/* soft radial auras */
.aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura::before, .aura::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px);
}
.aura::before {
  width: 54vw; height: 54vw; top: -22%; right: -14%;
  background: radial-gradient(circle, rgba(240,180,41,.17), transparent 68%);
}
.aura::after {
  width: 46vw; height: 46vw; bottom: -24%; left: -12%;
  background: radial-gradient(circle, rgba(215,38,44,.20), transparent 70%);
}
.section > .wrap { position: relative; z-index: 1; }

/* hairline divider with centred diamond */
.rule {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: ""; height: 1px; flex: 1; max-width: 220px;
  background: linear-gradient(90deg, transparent, var(--d-line), transparent);
}
.rule span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex: none; }
.light .rule::before, .light .rule::after {
  background: linear-gradient(90deg, transparent, rgba(184,128,26,.4), transparent);
}

.sect-head { max-width: 680px; }
.sect-head--center { margin-inline: auto; text-align: center; }
.sect-head .eyebrow { margin-bottom: 1rem; }
.sect-head .lede { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.1rem, .8rem + 1vw, 1.9rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* The five product categories: one row on desktop, so the last card never
   strands itself on a row of its own. */
.g-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1140px) { .g-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .g-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .g-cats { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
.split--wide-r { grid-template-columns: .85fr 1.15fr; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.center { text-align: center; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* ─── 5. BUTTONS ───────────────────────────────────────── */
.btn {
  --bg: var(--gold);
  --fg: #2A1400;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.75rem;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--e-out), box-shadow .4s var(--e-out), color .3s;
  will-change: transform;
}
.btn > * { position: relative; z-index: 2; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--gold-lt), #FFF3DC 48%, var(--gold-lt));
  transform: translateY(101%);
  transition: transform .5s var(--e-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-gold); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(-1px) scale(.985); }

.btn .ico { width: 1.05em; height: 1.05em; transition: transform .4s var(--e-out); }
.btn:hover .ico { transform: translateX(4px); }

.btn--ghost {
  --fg: var(--d-text);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--d-line);
}
.btn--ghost::after { background: linear-gradient(100deg, var(--gold), var(--gold-lt)); }
.btn--ghost:hover { --fg: #2A1400; box-shadow: inset 0 0 0 1px transparent, var(--sh-gold); }
.light .btn--ghost { --fg: var(--l-text); box-shadow: inset 0 0 0 1px rgba(42,14,12,.2); }

.btn--dark { --bg: var(--ink-2); --fg: var(--d-text); }
.btn--dark::after { background: linear-gradient(100deg, var(--maroon-2), var(--ink-3)); }
.btn--dark:hover { --fg: var(--gold-lt); box-shadow: var(--sh-lg); }

.btn--wa { --bg: #158542; --fg: #fff; }
.btn--wa::after { background: linear-gradient(100deg, #18944A, #127A3C); }
.btn--wa:hover { --fg: #fff; box-shadow: 0 18px 44px -16px rgba(21,133,66,.6); }

.btn--sm { padding: .7rem 1.25rem; font-size: var(--t-xs); }
.btn--lg { padding: 1.15rem 2.3rem; }
.btn--block { width: 100%; }

/* text link with sliding underline */
.tlink {
  position: relative;
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 3px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right;
  transform: scaleX(0); transition: transform .45s var(--e-out);
}
.tlink:hover::after { transform-origin: left; transform: scaleX(1); }
.tlink .ico { width: 1em; height: 1em; transition: transform .4s var(--e-out); }
.tlink:hover .ico { transform: translateX(5px); }

/* ─── 6. HEADER ────────────────────────────────────────── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  z-index: 120; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  pointer-events: none;
}

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .45s var(--e-out), background .45s, box-shadow .45s, backdrop-filter .45s;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(25,5,7,.82), rgba(25,5,7,0));
  opacity: 1; transition: opacity .45s;
}
.header.is-stuck {
  height: 66px;
  background: rgba(25, 5, 7, .90);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--d-line), 0 18px 40px -26px rgba(0,0,0,.9);
}
.header.is-stuck::before { opacity: 0; }
.header .wrap { display: flex; align-items: center; gap: var(--s-5); width: 100%; }

/* brand */
.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand__mark {
  width: 44px; height: 44px; flex: none;
  transition: transform .9s var(--e-out), width .45s var(--e-out), height .45s var(--e-out);
}
.header.is-stuck .brand__mark { width: 36px; height: 36px; }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.22rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--d-text);
  transition: font-size .45s var(--e-out);
}
.header.is-stuck .brand__name { font-size: 1.08rem; }
.brand__sub {
  font-family: var(--f-deva);
  font-size: .64rem; letter-spacing: .14em;
  color: var(--gold);
  margin-top: .3rem;
  transition: opacity .35s, margin .35s;
}
.header.is-stuck .brand__sub { opacity: 0; margin-top: 0; height: 0; overflow: hidden; }

/* desktop nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.4rem, .1rem + 1vw, 1.35rem); }
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .25rem;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--d-text-2);
  transition: color .3s;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform .42s var(--e-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold-lt); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* dropdown */
.nav__item--has-sub { position: relative; }
.nav__link .caret { display: inline-block; width: .5em; height: .5em; margin-left: .3em;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--e-out); }
.nav__item--has-sub:hover .caret, .nav__item--has-sub:focus-within .caret { transform: translateY(1px) rotate(225deg); }

.sub {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 230px; padding: .6rem;
  background: rgba(36, 9, 10, .97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--d-line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .3s var(--e-out), transform .35s var(--e-out), visibility .3s;
}
.nav__item--has-sub:hover .sub, .nav__item--has-sub:focus-within .sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.sub::before {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
}
.sub a {
  display: flex; align-items: center; gap: .6rem;
  padding: .62rem .8rem; border-radius: var(--r-sm);
  font-size: var(--t-sm); color: var(--d-text-2);
  transition: background .25s, color .25s, padding-left .3s var(--e-out);
}
.sub a::before {
  content: ""; width: 4px; height: 4px; flex: none; border-radius: 50%;
  background: var(--gold); opacity: 0; transition: opacity .25s;
}
.sub a:hover { background: rgba(240,180,41,.10); color: var(--gold-lt); padding-left: 1rem; }
.sub a:hover::before { opacity: 1; }

.header__cta { flex: none; margin-left: .5rem; }

/* burger */
.burger {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; margin-left: auto; flex: none;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--d-line);
  transition: box-shadow .3s, background .3s;
}
.burger:hover { background: rgba(240,180,41,.1); }
.burger span {
  position: absolute; left: 50%; width: 19px; height: 1.5px;
  background: var(--d-text); border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .45s var(--e-out), opacity .3s, width .35s var(--e-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; width: 13px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { top: 22.5px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { top: 22.5px; transform: translateX(-50%) rotate(-45deg); }

/* mobile overlay menu */
.mnav {
  position: fixed; inset: 0; z-index: 105;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.15rem, 5vw, 3rem) 2rem;
  background: linear-gradient(165deg, var(--ink) 0%, var(--maroon) 56%, var(--ink-2) 100%);
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 46px) 42px);
  transition: clip-path .75s var(--e-out);
  visibility: hidden;
}
.mnav.is-open { clip-path: circle(145% at calc(100% - 46px) 42px); visibility: visible; }
.mnav__list { display: flex; flex-direction: column; gap: .15rem; }
.mnav__list > li {
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--e-out), transform .6s var(--e-out);
}
.mnav.is-open .mnav__list > li { opacity: 1; transform: none; }
.mnav__link {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .72rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.3rem);
  color: var(--d-text);
  border-bottom: 1px solid var(--d-line-2);
  transition: color .3s, padding-left .4s var(--e-out);
}
.mnav__link i {
  font-family: var(--f-body); font-style: normal;
  font-size: .62rem; letter-spacing: .14em; color: var(--gold-dk);
}
.mnav__link:hover, .mnav__link[aria-current="page"] { color: var(--gold-lt); padding-left: .6rem; }
.mnav__foot { margin-top: auto; padding-top: 2.2rem; }
.mnav__foot .btn { width: 100%; }
.mnav__meta { margin-top: 1.4rem; display: grid; gap: .5rem; font-size: var(--t-sm); color: var(--d-text-2); }
.mnav__meta a { display: flex; align-items: center; gap: .6rem; }
.mnav__meta a:hover { color: var(--gold-lt); }
.mnav__meta .ico { width: 1.1em; height: 1.1em; color: var(--gold); flex: none; }

/* ─── 7. HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background: radial-gradient(125% 95% at 50% 6%, #4A120F 0%, #2A0A09 44%, var(--ink) 80%);
}
#stars {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero__neb {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/cosmos-trifid.jpg") center 28% / cover no-repeat;
  opacity: .20;
  mix-blend-mode: screen;
  filter: saturate(.75) contrast(1.05);
}
.hero__neb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 70% at 50% 40%, transparent 32%, var(--ink) 92%);
}
.hero__glow {
  position: absolute; left: 50%; top: 44%; z-index: 0;
  width: min(118vw, 1180px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240,180,41,.17) 0%, rgba(240,180,41,.05) 36%, transparent 62%);
  pointer-events: none;
}

/* rotating zodiac wheel behind headline */
.hero__wheel {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: min(96vw, 860px); aspect-ratio: 1;
  transform: translate(-50%, -52%);
  opacity: .42;
  pointer-events: none;
}
.hero__wheel .ring-a { animation: spin 150s linear infinite; transform-origin: 50% 50%; }
.hero__wheel .ring-b { animation: spin 95s linear infinite reverse; transform-origin: 50% 50%; }
.hero__wheel .ring-c { animation: spin 220s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 880px; margin-inline: auto; text-align: center; }

.hero__deva {
  font-family: var(--f-deva);
  font-size: clamp(.9rem, .82rem + .4vw, 1.1rem);
  letter-spacing: .06em;
  color: var(--gold);
  opacity: .9;
}
.hero__title { margin-top: 1.1rem; }
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln > span { display: block; }
.hero__sub {
  margin-top: 1.5rem; margin-inline: auto; max-width: 620px;
  font-size: var(--t-md); color: var(--d-text-2);
}
.hero__cta { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* trust strip */
.trust {
  margin-top: clamp(3rem, 2rem + 3vw, 4.6rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--d-line-2);
  border: 1px solid var(--d-line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.trust__cell {
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.028);
  text-align: center;
  transition: background .35s;
}
.trust__cell:hover { background: rgba(240,180,41,.08); }
.trust__num {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  line-height: 1; color: var(--gold-lt);
}
.trust__lbl {
  margin-top: .55rem;
  font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--d-text-3);
}

/* scroll cue */
.cue {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--d-text-3);
}
.cue__line {
  width: 1px; height: 46px; overflow: hidden;
  background: var(--d-line-2); position: relative;
}
.cue__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.3s var(--e-io) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); }
}

/* page banner (inner pages) */
.banner {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 2rem + 6vw, 7rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  background: radial-gradient(115% 100% at 50% 0%, #4A120F 0%, #290A08 48%, var(--ink) 86%);
  text-align: center;
}
.banner__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .22; filter: saturate(.7);
}
.banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25,5,7,.55), rgba(25,5,7,.88) 72%, var(--ink));
}
.banner .wrap { position: relative; z-index: 2; }
.banner__title { margin-top: .9rem; }
.banner__sub { margin: 1.2rem auto 0; max-width: 620px; color: var(--d-text-2); font-size: var(--t-md); }

.crumbs {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.6rem;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--d-text-3);
}
.crumbs a { color: var(--d-text-3); transition: color .25s; }
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-style: normal; color: var(--gold-dk); }
.crumbs [aria-current] { color: var(--gold); }

/* ─── 8. COMPONENTS ────────────────────────────────────── */

/* 8.1 Marquee ribbon */
.ribbon {
  position: relative;
  padding-block: 1.05rem;
  border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
  background: linear-gradient(90deg, rgba(240,180,41,.07), rgba(215,38,44,.09), rgba(240,180,41,.07));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ribbon__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; flex: none; }
.ribbon__item {
  display: flex; align-items: center; gap: 1.5rem;
  padding-inline: 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(.95rem, .88rem + .3vw, 1.2rem);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--d-text-2);
  white-space: nowrap;
}
.ribbon__item::after {
  content: ""; width: 5px; height: 5px; flex: none;
  background: var(--gold); transform: rotate(45deg);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* 8.2 Cards — generic */
.card {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem);
  border-radius: var(--r-lg);
  background: var(--d-card);
  border: 1px solid var(--d-line-2);
  overflow: hidden;
  isolation: isolate;
  transition: transform .55s var(--e-out), border-color .45s, background .45s, box-shadow .55s var(--e-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240,180,41,.13), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--d-line);
  box-shadow: var(--sh-lg);
}
.card:hover::before { opacity: 1; }

.light .card {
  background: var(--l-card);
  border-color: var(--l-line);
  box-shadow: var(--sh-sm);
}
.light .card::before { background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(240,180,41,.17), transparent 62%); }
.light .card:hover { border-color: rgba(184,128,26,.35); box-shadow: var(--sh); }

/* gold top-edge sweep */
.card--edge::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .6s var(--e-out);
}
.card--edge:hover::after { transform: scaleX(1); }

/* 8.3 Service card */
.svc { display: flex; flex-direction: column; height: 100%; }
.svc__ico {
  position: relative;
  width: 60px; height: 60px; flex: none;
  display: grid; place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  color: var(--gold-lt);
  background: linear-gradient(145deg, rgba(240,180,41,.17), rgba(240,180,41,.04));
  box-shadow: inset 0 0 0 1px var(--d-line);
  transition: transform .6s var(--e-out), color .4s, box-shadow .4s;
}
.svc__ico svg { width: 29px; height: 29px; }
.svc:hover .svc__ico { transform: translateY(-3px) rotate(-7deg) scale(1.06); box-shadow: inset 0 0 0 1px rgba(240,180,41,.5); }
.light .svc__ico { background: linear-gradient(145deg, rgba(240,180,41,.2), rgba(240,180,41,.06)); color: var(--gold-dk); box-shadow: inset 0 0 0 1px rgba(184,128,26,.28); }

.svc__num {
  position: absolute; top: clamp(1.2rem,1vw,1.8rem); right: clamp(1.3rem,1.1vw,2rem);
  font-family: var(--f-display); font-size: 2.6rem; line-height: 1;
  color: var(--d-text); opacity: .07;
  transition: opacity .45s, transform .6s var(--e-out);
}
.svc:hover .svc__num { opacity: .16; transform: translateY(-3px); }
.light .svc__num { color: var(--l-text); opacity: .08; }

.svc__title { font-size: var(--t-lg); }
.svc__title .deva { display: block; font-size: .64em; color: var(--gold); margin-top: .3rem; letter-spacing: .02em; }
.svc__body { margin-top: .85rem; font-size: var(--t-sm); color: var(--d-text-2); line-height: 1.68; }
.light .svc__body { color: var(--l-text-2); }
.svc__foot { margin-top: auto; padding-top: 1.4rem; }

/* 8.4 Figure / image frames */
.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.3s var(--e-out), filter .8s;
}
.frame:hover img { transform: scale(1.055); }
.frame--tall  { aspect-ratio: 3 / 4; }
.frame--port  { aspect-ratio: 4 / 5; }
.frame--sq    { aspect-ratio: 1; }
.frame--wide  { aspect-ratio: 16 / 10; }
.frame--pano  { aspect-ratio: 21 / 9; }

/* thin gold inset border */
.frame--gilt::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(255,218,138,.35);
  border-radius: calc(var(--r-lg) - 8px);
}
.frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(25,5,7,.9));
  font-size: var(--t-sm); color: var(--d-text-2);
}

/* decorative offset stack for portraits */
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: -14px -14px 14px 14px;
  border: 1px solid var(--d-line);
  border-radius: var(--r-lg);
  z-index: -1;
  transition: inset .6s var(--e-out);
}
.portrait:hover::before { inset: -20px -20px 8px 8px; }
.light .portrait::before { border-color: rgba(184,128,26,.4); }

/* image placeholder for the client's forthcoming photos */
.photo-slot {
  position: relative;
  display: grid; place-items: center;
  gap: .6rem;
  padding: 2rem;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(240,180,41,.05) 0 11px, transparent 11px 22px),
    var(--ink-2);
  border: 1px dashed rgba(240,180,41,.4);
  border-radius: var(--r-lg);
  color: var(--d-text-3);
}
.photo-slot svg { width: 34px; height: 34px; color: var(--gold-dk); }
.photo-slot b { display: block; font-size: var(--t-sm); color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.photo-slot span { font-size: var(--t-xs); max-width: 24ch; }

/* 8.5 Stats row */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--d-line-2); }
.stat { padding: 1.6rem 1.2rem; background: var(--ink); }
.light .stats { background: var(--l-line); }
.light .stat { background: var(--cream); }
.stat__num { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1; color: var(--gold); }
.stat__num small { font-size: .5em; vertical-align: super; margin-left: .1em; }
.stat__lbl { margin-top: .5rem; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--d-text-3); }
.light .stat__lbl { color: var(--l-text-3); }

/* 8.6 Zodiac rail */
.rashi-rail {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .6rem .3rem 1.6rem;
  margin-inline: calc(-1 * clamp(1.15rem, 4vw, 2.5rem));
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.rashi {
  position: relative;
  flex: 0 0 clamp(190px, 44vw, 232px);
  scroll-snap-align: center;
  padding: 1.6rem 1.3rem;
  text-align: center;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--d-line-2);
  overflow: hidden;
  transition: transform .55s var(--e-out), border-color .4s, box-shadow .55s;
}
.rashi:hover { transform: translateY(-8px); border-color: var(--d-line); box-shadow: var(--sh-lg); }
.rashi__glyph {
  font-size: 2.5rem; line-height: 1; color: var(--gold);
  transition: transform .6s var(--e-out), text-shadow .5s;
}
.rashi:hover .rashi__glyph { transform: scale(1.14) rotate(-5deg); text-shadow: 0 0 26px rgba(240,180,41,.6); }
.rashi__name { margin-top: .85rem; font-family: var(--f-display); font-size: var(--t-md); }
.rashi__deva { font-family: var(--f-deva); font-size: var(--t-sm); color: var(--gold); margin-top: .2rem; }
.rashi__date { margin-top: .45rem; font-size: var(--t-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--d-text-3); }
.rashi__meta {
  margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--d-line-2);
  display: grid; gap: .4rem;
  font-size: var(--t-xs); color: var(--d-text-2);
}
.rashi__meta b { color: var(--gold-lt); font-weight: 500; }
.light .rashi { background: var(--l-card); border-color: var(--l-line); box-shadow: var(--sh-sm); }
.light .rashi__meta { border-color: var(--l-line); color: var(--l-text-2); }
.light .rashi__meta b { color: var(--gold-dk); }
.light .rashi__date { color: var(--l-text-3); }

.rail-nav { display: flex; gap: .55rem; }
.rail-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--d-line);
  transition: background .3s, transform .3s var(--e-out), opacity .3s;
}
.rail-btn:hover { background: rgba(240,180,41,.13); transform: scale(1.07); }
.rail-btn[disabled] { opacity: .3; pointer-events: none; }
.rail-btn svg { width: 17px; height: 17px; }
.light .rail-btn { box-shadow: inset 0 0 0 1px rgba(184,128,26,.35); color: var(--gold-dk); }

/* 8.7 Process timeline with self-drawing rail */
.flow { position: relative; padding-left: clamp(2.6rem, 5vw, 4rem); }
.flow__rail {
  position: absolute; left: clamp(.8rem, 1.6vw, 1.25rem); top: .5rem; bottom: .5rem;
  width: 2px; border-radius: 2px;
  background: var(--d-line-2);
}
.flow__rail i {
  position: absolute; inset: 0;
  background: linear-gradient(var(--gold-lt), var(--gold), var(--gold-dk));
  transform-origin: top; transform: scaleY(var(--p, 0));
  transition: transform .18s linear;
  border-radius: 2px;
}
.light .flow__rail { background: var(--l-line); }

.step { position: relative; padding-bottom: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: absolute;
  left: calc(-1 * clamp(2.6rem, 5vw, 4rem) + clamp(.8rem, 1.6vw, 1.25rem) - 10px);
  top: .3rem;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--d-line);
  transition: box-shadow .5s, background .5s;
}
.light .step__dot { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--l-line); }
.step__dot::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--d-text-3);
  transition: background .5s, transform .5s var(--e-out);
}
.step.is-on .step__dot { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 5px rgba(240,180,41,.14); }
.step.is-on .step__dot::after { background: var(--gold); transform: scale(1.25); }

.step__n {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dk);
  transition: color .4s;
}
.step.is-on .step__n { color: var(--gold); }
.step__title { margin-top: .4rem; font-size: var(--t-lg); }
.step__body { margin-top: .6rem; font-size: var(--t-sm); color: var(--d-text-2); max-width: 54ch; }
.light .step__body { color: var(--l-text-2); }

/* 8.8 Accordion */
.acc { border-top: 1px solid var(--d-line-2); }
.light .acc { border-color: var(--l-line); }
.acc__item { border-bottom: 1px solid var(--d-line-2); }
.light .acc__item { border-color: var(--l-line); }
.acc__btn {
  display: flex; align-items: flex-start; gap: 1.1rem;
  width: 100%; padding: 1.4rem .25rem;
  text-align: left;
  font-family: var(--f-display); font-size: var(--t-md); line-height: 1.4;
  color: inherit;
  transition: color .3s;
}
.acc__btn:hover { color: var(--gold-lt); }
.light .acc__btn:hover { color: var(--gold-dk); }
.acc__q { flex: 1; }
.acc__sign {
  position: relative; flex: none;
  width: 30px; height: 30px; margin-top: .1rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--d-line);
  transition: background .35s, box-shadow .35s, transform .5s var(--e-out);
}
.light .acc__sign { box-shadow: inset 0 0 0 1px rgba(184,128,26,.35); }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--gold); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .45s var(--e-out), opacity .3s;
}
.acc__sign::before { width: 11px; height: 1.5px; }
.acc__sign::after  { width: 1.5px; height: 11px; }
.acc__item.is-open .acc__sign { background: rgba(240,180,41,.15); transform: rotate(180deg); }
.acc__item.is-open .acc__sign::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.acc__panel {
  overflow: hidden; height: 0;
  transition: height .5s var(--e-out);
}
.acc__inner {
  padding: 0 3rem 1.6rem .25rem;
  font-size: var(--t-sm); line-height: 1.75;
  color: var(--d-text-2);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s .08s, transform .45s .08s var(--e-out);
}
.light .acc__inner { color: var(--l-text-2); }
.acc__item.is-open .acc__inner { opacity: 1; transform: none; }
.acc__inner p + p { margin-top: .8em; }
.acc__inner ul { margin-top: .7em; display: grid; gap: .4rem; }
.acc__inner li { position: relative; padding-left: 1.2rem; }
.acc__inner li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}

/* 8.9 Testimonial slider */
.quotes { position: relative; }
.quotes__viewport { overflow: hidden; }
.quotes__track {
  display: flex;
  transition: transform .75s var(--e-out);
  will-change: transform;
}
.quote {
  flex: 0 0 100%;
  padding-inline: clamp(.2rem, 2vw, 1.5rem);
  text-align: center;
}
.quote__mark {
  font-family: var(--f-display); font-size: 4.5rem; line-height: .6;
  color: var(--gold); opacity: .35;
}
.quote__body {
  margin-top: 1.2rem;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, .98rem + .8vw, 1.6rem);
  line-height: 1.52;
  max-width: 740px; margin-inline: auto;
}
.quote__by { margin-top: 1.6rem; font-size: var(--t-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.quote__loc { margin-top: .25rem; font-size: var(--t-xs); color: var(--d-text-3); letter-spacing: .08em; }
.light .quote__loc { color: var(--l-text-3); }

.dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.2rem; }
.dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--d-line); transition: all .4s var(--e-out);
}
.light .dots button { background: rgba(42,14,12,.22); }
.dots button[aria-selected="true"] { width: 26px; border-radius: var(--r-pill); background: var(--gold); }

/* 8.10 Products */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  padding: .6rem 1.15rem;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-pill);
  color: var(--d-text-2);
  box-shadow: inset 0 0 0 1px var(--d-line-2);
  transition: all .35s var(--e-out);
}
.chip:hover { color: var(--gold-lt); box-shadow: inset 0 0 0 1px var(--d-line); }
.chip[aria-pressed="true"] { background: var(--gold); color: #2A1400; box-shadow: none; }
.light .chip { color: var(--l-text-2); box-shadow: inset 0 0 0 1px var(--l-line); }
.light .chip:hover { color: var(--gold-dk); box-shadow: inset 0 0 0 1px rgba(184,128,26,.4); }
.light .chip[aria-pressed="true"] { color: #2A1400; }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: clamp(1rem, .7rem + .9vw, 1.6rem); }
.prod {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--l-card);
  border: 1px solid var(--l-line);
  overflow: hidden;
  transition: transform .55s var(--e-out), box-shadow .55s var(--e-out), border-color .4s, opacity .4s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(184,128,26,.35); }
.prod.is-hidden { display: none; }
.prod__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-3); }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.prod:hover .prod__media img { transform: scale(1.07); }
.prod__tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  padding: .32rem .7rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  background: rgba(25,5,7,.78); color: var(--gold-lt);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
}
.prod__quick {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: .85rem;
  background: linear-gradient(transparent, rgba(25,5,7,.75) 42%, rgba(25,5,7,.95));
  display: flex; justify-content: center;
  transform: translateY(100%); opacity: 0;
  transition: transform .5s var(--e-out), opacity .4s;
}
.prod:hover .prod__quick, .prod:focus-within .prod__quick { transform: none; opacity: 1; }
.prod__quick button {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-lt); padding: .35rem .2rem;
  border-bottom: 1px solid rgba(255,218,138,.45);
}
.prod__quick button:hover { color: #fff; border-color: #fff; }
.prod__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.prod__name { font-family: var(--f-display); font-size: var(--t-md); line-height: 1.3; color: var(--l-text); }
.prod__note { margin-top: .4rem; font-size: var(--t-xs); color: var(--l-text-3); line-height: 1.6; }
.prod__foot {
  margin-top: auto; padding-top: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.prod__price { font-family: var(--f-display); font-size: var(--t-md); color: var(--gold-dk); }
.prod__price small { display: block; font-family: var(--f-body); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--l-text-3); }
.prod__wa {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  color: #11713A;
  box-shadow: inset 0 0 0 1px rgba(17,113,58,.35);
  transition: all .35s var(--e-out);
}
.prod__wa:hover { background: #158542; color: #fff; transform: scale(1.08); box-shadow: none; }
.prod__wa svg { width: 18px; height: 18px; }

/* 8.11 Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--e-out), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__veil {
  position: absolute; inset: 0;
  background: rgba(16, 3, 5, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.modal__box {
  position: relative;
  width: min(880px, 100%);
  max-height: min(88svh, 760px);
  overflow-y: auto;
  border-radius: var(--r-lg);
  background: var(--cream);
  color: var(--l-text);
  box-shadow: var(--sh-lg);
  transform: translateY(26px) scale(.97);
  transition: transform .55s var(--e-out);
}
.modal.is-open .modal__box { transform: none; }
.modal__x {
  position: absolute; top: .85rem; right: .85rem; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,249,240,.9); color: var(--l-text);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--e-out), background .3s;
}
.modal__x:hover { transform: rotate(90deg); background: var(--gold); }
.modal__x svg { width: 17px; height: 17px; }
.modal__grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.modal__media { aspect-ratio: 1; background: var(--cream-3); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__pane { padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem); }
.modal__kicker { font-size: var(--t-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dk); }
.modal__title { margin-top: .6rem; font-size: var(--t-xl); }
.modal__price { margin-top: 1rem; font-family: var(--f-display); font-size: var(--t-lg); color: var(--gold-dk); }
.modal__desc { margin-top: 1.1rem; font-size: var(--t-sm); color: var(--l-text-2); line-height: 1.75; }
.modal__spec { margin-top: 1.4rem; display: grid; gap: .55rem; }
.modal__spec div { display: flex; gap: .8rem; font-size: var(--t-sm); padding-bottom: .55rem; border-bottom: 1px solid var(--l-line); }
.modal__spec dt { flex: 0 0 110px; color: var(--l-text-3); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; padding-top: .18em; }
.modal__spec dd { margin: 0; color: var(--l-text); }
.modal__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* 8.12 Pull quote / verse band */
.verse {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  text-align: center;
  overflow: hidden;
}
.verse__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .16; filter: saturate(.6);
}
.verse__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 50%, rgba(25,5,7,.55), var(--ink) 88%);
}
.verse .wrap { position: relative; z-index: 1; }
.verse__deva {
  font-family: var(--f-deva);
  font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem);
  line-height: 1.75;
  color: var(--gold-lt);
}
.verse__tr {
  margin: 1.4rem auto 0; max-width: 620px;
  font-family: var(--f-display); font-style: italic;
  font-size: var(--t-md);
  color: var(--d-text-2);
}
.verse__src { margin-top: 1.2rem; font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dk); }

/* 8.13 Feature list with gold ticks */
.ticks { display: grid; gap: .85rem; }
.ticks li { position: relative; display: flex; gap: .85rem; font-size: var(--t-sm); color: var(--d-text-2); line-height: 1.65; }
.light .ticks li { color: var(--l-text-2); }
.ticks li > svg {
  flex: none; width: 20px; height: 20px; margin-top: .22em;
  color: var(--gold);
}
.ticks b { color: var(--d-text); font-weight: 600; }
.light .ticks b { color: var(--l-text); }

/* 8.14 CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  overflow: hidden;
  background: linear-gradient(130deg, var(--maroon) 0%, var(--ink-2) 55%, var(--ink) 100%);
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/diya-single.jpg") center 36% / cover no-repeat;
  opacity: .20; filter: saturate(.85);
}
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(25,5,7,.93) 8%, rgba(25,5,7,.55) 58%, rgba(25,5,7,.8));
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.8rem, 1rem + 3vw, 4rem);
  flex-wrap: wrap;
}
.cta-band__txt { max-width: 560px; }
.cta-band__act { display: flex; flex-wrap: wrap; gap: .8rem; }

/* 8.15 Contact tiles */
.ctile {
  display: flex; gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--r);
  border: 1px solid var(--d-line-2);
  background: var(--d-card);
  transition: border-color .4s, transform .5s var(--e-out), background .4s;
}
.ctile:hover { border-color: var(--d-line); transform: translateY(-4px); }
.light .ctile { background: var(--l-card); border-color: var(--l-line); box-shadow: var(--sh-sm); }
.ctile__ico {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; color: var(--gold-lt);
  background: linear-gradient(145deg, rgba(240,180,41,.18), rgba(240,180,41,.05));
  box-shadow: inset 0 0 0 1px var(--d-line);
}
.light .ctile__ico { color: var(--gold-dk); box-shadow: inset 0 0 0 1px rgba(184,128,26,.26); }
.ctile__ico svg { width: 20px; height: 20px; }
.ctile__lbl { font-size: var(--t-xs); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.ctile__val { margin-top: .4rem; font-size: var(--t-sm); line-height: 1.6; color: var(--d-text-2); }
.light .ctile__val { color: var(--l-text-2); }
.ctile__val a:hover { color: var(--gold); }

/* 8.16 Floating WhatsApp */
.fab {
  position: fixed; right: clamp(1rem, 2.5vw, 1.8rem); bottom: clamp(1rem, 2.5vw, 1.8rem);
  z-index: 95;
  display: flex; align-items: center; gap: .65rem;
  padding: .8rem 1.1rem;
  border-radius: var(--r-pill);
  background: #158542; color: #fff;
  font-size: var(--t-sm); font-weight: 600;
  box-shadow: 0 14px 34px -12px rgba(21,133,66,.65);
  /* Visible from the first paint — it used to be parked off-screen and
     only slid in past 500px of scroll, which hid it on the landing view. */
  transform: none;
  animation: fab-in .65s var(--e-out) .45s both;
  transition: box-shadow .4s, transform .35s var(--e-out);
}
.fab:active { transform: scale(.96); }
@keyframes fab-in {
  from { transform: translateY(135%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.fab:hover { box-shadow: 0 18px 44px -12px rgba(21,133,66,.85); }
.fab svg { width: 22px; height: 22px; flex: none; }
.fab__txt { white-space: nowrap; }
.fab::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: #158542;
  animation: ripple 2.6s var(--e-io) infinite;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* 8.17 Cursor glow (desktop pointer only) */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,.10), transparent 62%);
  pointer-events: none; opacity: 0;
  transition: opacity .6s;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* 8.18 Preloader */
.preload {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--e-out), visibility .7s;
}
.preload.is-done { opacity: 0; visibility: hidden; }
.preload__mark { width: 78px; height: 78px; animation: spin 7s linear infinite; }
.preload__bar {
  position: absolute; bottom: 24%; left: 50%; transform: translateX(-50%);
  width: 140px; height: 1px; background: var(--d-line-2); overflow: hidden;
}
.preload__bar i {
  position: absolute; inset: 0; background: var(--gold);
  transform-origin: left; transform: scaleX(0);
  animation: fill 1.3s var(--e-out) forwards;
}
@keyframes fill { to { transform: scaleX(1); } }

/* 8.19 Page-transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 390;
  pointer-events: none;
  background: linear-gradient(170deg, var(--ink) 0%, var(--maroon) 100%);
  transform: translateY(100%);
  transition: transform .62s var(--e-out);
}
.curtain.is-up { transform: translateY(0); }
.curtain.is-away { transform: translateY(-100%); }
.curtain__mark {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  opacity: 0; transition: opacity .35s;
  animation: spin 6s linear infinite;
}
.curtain.is-up .curtain__mark { opacity: .9; }

/* ─── 9. PAGE-SPECIFIC ─────────────────────────────────── */

/* 9.1 About — lineage timeline */
.life { display: grid; gap: 0; }
.life__row {
  display: grid; grid-template-columns: 108px 1fr;
  gap: clamp(1.2rem, .8rem + 1.6vw, 2.4rem);
  padding-block: clamp(1.6rem, 1.2rem + 1.2vw, 2.6rem);
  border-bottom: 1px solid var(--d-line-2);
}
.life__row:first-child { border-top: 1px solid var(--d-line-2); }
.light .life__row { border-color: var(--l-line); }
.light .life__row:first-child { border-top-color: var(--l-line); }
.life__yr {
  font-family: var(--f-display);
  font-size: var(--t-lg); line-height: 1.1;
  color: var(--gold);
}
.life__yr small { display: block; font-family: var(--f-body); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--d-text-3); margin-top: .35rem; }
.light .life__yr small { color: var(--l-text-3); }
.life__t { font-family: var(--f-display); font-size: var(--t-md); }
.life__d { margin-top: .55rem; font-size: var(--t-sm); color: var(--d-text-2); max-width: 62ch; }
.light .life__d { color: var(--l-text-2); }

/* 9.2 Vastu — self-drawing yantra */
.yantra { width: 100%; max-width: 420px; margin-inline: auto; }
.yantra [data-draw] {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 2.4s var(--e-soft);
}
.yantra.is-drawn [data-draw] { stroke-dashoffset: 0; }
.yantra .pulse { animation: pulse 3.4s var(--e-io) infinite; transform-origin: 50% 50%; }
@keyframes pulse {
  0%, 100% { opacity: .35; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* 9.3 Puja offering cards */
.puja-card { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 420px; display: flex; }
.puja-card__bg { position: absolute; inset: 0; z-index: 0; }
.puja-card__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--e-out); }
.puja-card:hover .puja-card__bg img { transform: scale(1.08); }
.puja-card__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 18%, rgba(25,5,7,.62) 52%, rgba(25,5,7,.96));
}
.puja-card__in {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  color: var(--d-text);
}
.puja-card__name { font-size: var(--t-xl); }
.puja-card__name .deva { display: block; font-size: .56em; color: var(--gold); margin-top: .35rem; }
.puja-card__for {
  margin-top: .9rem; display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .75rem; border-radius: var(--r-pill);
  font-size: .62rem; letter-spacing: .13em; text-transform: uppercase;
  background: rgba(240,180,41,.17); color: var(--gold-lt);
  box-shadow: inset 0 0 0 1px rgba(240,180,41,.3);
}
.puja-card__d {
  margin-top: .95rem; font-size: var(--t-sm); color: var(--d-text-2); line-height: 1.68;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--e-out), opacity .45s, margin .5s;
}
.puja-card:hover .puja-card__d, .puja-card:focus-within .puja-card__d { max-height: 220px; opacity: 1; }

/* 9.4 Prasad list */
.prasad { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: .9rem; }
.prasad li {
  padding: 1.1rem .9rem; text-align: center;
  border-radius: var(--r);
  background: var(--d-card);
  border: 1px solid var(--d-line-2);
  font-size: var(--t-sm);
  transition: border-color .4s, transform .5s var(--e-out);
}
.prasad li:hover { border-color: var(--d-line); transform: translateY(-4px); }
.light .prasad li { background: var(--l-card); border-color: var(--l-line); }
.prasad .deva { display: block; font-size: var(--t-xs); color: var(--gold); margin-top: .25rem; }

/* 9.5 Note / callout */
.note {
  display: flex; gap: .9rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r);
  border-left: 2px solid var(--gold);
  background: rgba(240,180,41,.07);
  font-size: var(--t-sm); line-height: 1.68;
  color: var(--d-text-2);
}
.light .note { color: var(--l-text-2); background: rgba(240,180,41,.11); }
.note svg { flex: none; width: 19px; height: 19px; margin-top: .22em; color: var(--gold); }
.note strong { color: var(--d-text); }
.light .note strong { color: var(--l-text); }

/* 9.6 Map */
.map {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--d-line-2);
  background: var(--ink-2);
  aspect-ratio: 16 / 11;
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.light .map { border-color: var(--l-line); }

/* 9.7 Credits table */
.ctable { font-size: var(--t-sm); }
.ctable th, .ctable td { padding: .8rem .7rem; text-align: left; border-bottom: 1px solid var(--d-line-2); vertical-align: top; }
.ctable th { font-size: var(--t-xs); letter-spacing: .13em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.ctable td { color: var(--d-text-2); }
.ctable a { color: var(--gold-lt); text-decoration: underline; text-decoration-color: rgba(255,218,138,.35); text-underline-offset: 3px; }
.ctable a:hover { text-decoration-color: currentColor; }
.table-scroll { overflow-x: auto; }


/* Devanagari sub-heading under an English heading. */
.h-deva { display: block; font-size: .58em; color: var(--gold); margin-top: .3rem; }
.light .h-deva, .light-2 .h-deva { color: var(--gold-ink); }

/* Gold reads as low-contrast on parchment, so every place gold is used as
   TEXT (not as a fill or a rule) steps down to --gold-ink inside a light
   surface. Filled elements — buttons, pressed chips — keep the bright gold,
   since their own text is near-black. */
.light .eyebrow, .light-2 .eyebrow, .modal__box .eyebrow,
.light .svc__title .deva, .light-2 .svc__title .deva,
.light .rashi__deva, .light-2 .rashi__deva,
.light .prasad .deva, .light-2 .prasad .deva,
.light .step__n, .light-2 .step__n,
.light .step.is-on .step__n, .light-2 .step.is-on .step__n,
.light .ctile__lbl, .light-2 .ctile__lbl,
.light .quote__by, .light-2 .quote__by,
.light .tlink, .light-2 .tlink,
.light .field > label, .light-2 .field > label,
.light .rashi__meta b, .light-2 .rashi__meta b,
.light .chip:hover, .light-2 .chip:hover,
.light .acc__btn:hover, .light-2 .acc__btn:hover,
.light .note a, .light-2 .note a,
.light .life__yr, .light-2 .life__yr,
.prod__price, .modal__kicker, .modal__price,
.modal__box .tab, .modal__box .tab[aria-selected="true"] { color: var(--gold-ink); }

.light .ticks li > svg, .light-2 .ticks li > svg,
.light .note svg, .light-2 .note svg { color: var(--gold-ink); }

/* ─── 10. FORMS ────────────────────────────────────────── */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { position: relative; display: flex; flex-direction: column; gap: .45rem; }
.field > label {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.field > label .req { color: #E8705C; }
.light .field > label .req { color: #A8321F; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--d-line-2);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--d-text);
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.65; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F0B429' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px;
  padding-right: 2.4rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--d-text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--d-line); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(240,180,41,.06);
  box-shadow: 0 0 0 3px rgba(240,180,41,.13);
}
.field__hint { font-size: var(--t-xs); color: var(--d-text-3); }

.light .field input, .light .field select, .light .field textarea {
  background: #fff; border-color: var(--l-line); color: var(--l-text);
}
.light .field > label { color: var(--gold-dk); }
.light .field input::placeholder, .light .field textarea::placeholder { color: var(--l-text-3); }
.light .field__hint { color: var(--l-text-3); }
.light .field input:focus, .light .field select:focus, .light .field textarea:focus {
  background: #fff; box-shadow: 0 0 0 3px rgba(240,180,41,.18);
}

.form__act { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.form__note { font-size: var(--t-xs); color: var(--d-text-3); line-height: 1.6; }
.light .form__note { color: var(--l-text-3); }

.form-card {
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.8rem);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--d-line-2);
}
.light .form-card { background: var(--l-card); border-color: var(--l-line); box-shadow: var(--sh); }

/* tabs for the two enquiry forms */
.tabs { display: flex; gap: .4rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--d-line-2); }
.light .tabs { border-color: var(--l-line); }
.tab {
  position: relative;
  padding: .8rem 1.1rem;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .05em;
  color: var(--d-text-3);
  transition: color .3s;
}
.light .tab { color: var(--l-text-3); }
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .45s var(--e-out);
}
.tab:hover { color: var(--gold); }
.tab[aria-selected="true"] { color: var(--gold); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanel[hidden] { display: none; }

/* ─── 11. FOOTER ───────────────────────────────────────── */
.footer {
  position: relative;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: linear-gradient(180deg, var(--ink) 0%, #0E0203 100%);
  border-top: 1px solid var(--d-line);
  overflow: hidden;
}
.footer__aura {
  position: absolute; left: 50%; top: -40%; width: 90vw; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240,180,41,.09), transparent 62%);
  pointer-events: none;
}
.footer .wrap { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 1rem + 3vw, 3.5rem);
}
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__about { font-size: var(--t-sm); color: var(--d-text-2); max-width: 36ch; line-height: 1.7; }
.footer__h {
  font-family: var(--f-body);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__list { display: grid; gap: .6rem; }
.footer__list a {
  font-size: var(--t-sm); color: var(--d-text-2);
  transition: color .3s, padding-left .35s var(--e-out);
}
.footer__list a:hover { color: var(--gold-lt); padding-left: .35rem; }
.footer__contact { display: grid; gap: .9rem; font-size: var(--t-sm); color: var(--d-text-2); }
.footer__contact div { display: flex; gap: .7rem; line-height: 1.6; }
.footer__contact svg { flex: none; width: 16px; height: 16px; margin-top: .3em; color: var(--gold); }
.footer__contact a:hover { color: var(--gold-lt); }

.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; color: var(--d-text-2);
  box-shadow: inset 0 0 0 1px var(--d-line-2);
  transition: all .4s var(--e-out);
}
.socials a:hover { color: #2A1400; background: var(--gold); transform: translateY(-3px); box-shadow: var(--sh-gold); }
.socials svg { width: 17px; height: 17px; }

.footer__bot {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--d-line-2);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: var(--t-xs); color: var(--d-text-3);
}
.footer__bot a { color: var(--d-text-3); transition: color .3s; }
.footer__bot a:hover { color: var(--gold); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* back to top */
.totop {
  position: absolute; right: clamp(1.15rem, 4vw, 2.5rem); top: -22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold); color: #2A1400;
  box-shadow: var(--sh-gold);
  transition: transform .45s var(--e-out);
}
.totop:hover { transform: translateY(-4px); }
.totop svg { width: 18px; height: 18px; }

/* ─── 12. MOTION SYSTEM ────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .85s var(--e-out) var(--d, 0ms),
    transform .95s var(--e-out) var(--d, 0ms),
    clip-path 1.05s var(--e-out) var(--d, 0ms),
    filter .85s var(--e-out) var(--d, 0ms);
  /* Deliberately no `will-change` here. There are ~50 of these per page, and
     pinning a compositor layer on every one of them starves the GPU on long
     pages — sections then fail to paint. The browser promotes them for the
     duration of the transition on its own, which is all that is needed. */
}
[data-reveal="rise"]   { transform: translateY(38px); }
[data-reveal="fall"]   { transform: translateY(-28px); }
[data-reveal="left"]   { transform: translateX(-44px); }
[data-reveal="right"]  { transform: translateX(44px); }
[data-reveal="scale"]  { transform: scale(.93); }
[data-reveal="blur"]   { transform: translateY(24px); filter: blur(9px); }
[data-reveal="wipe"]   { clip-path: inset(0 0 100% 0); transform: translateY(18px); }
[data-reveal="zoom"]   { transform: scale(1.1); clip-path: inset(6% 6% 6% 6%); }
[data-reveal="fade"]   { transform: none; }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0 0 0 0);
}

/* hero word mask animation */
.hero__title .ln > span {
  transform: translateY(105%);
  opacity: 0;
  transition: transform 1.1s var(--e-out) var(--d, 0ms), opacity .8s var(--d, 0ms);
}
body.is-ready .hero__title .ln > span { transform: none; opacity: 1; }

.hero__deva, .hero__sub, .hero__cta, .trust, .cue {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--e-out) var(--d, 0ms), transform 1s var(--e-out) var(--d, 0ms);
}
body.is-ready .hero__deva,
body.is-ready .hero__sub,
body.is-ready .hero__cta,
body.is-ready .trust,
body.is-ready .cue { opacity: 1; transform: none; }
body.is-ready .cue { opacity: .85; }

/* parallax layer */
[data-para] { will-change: transform; }

/* diya flame */
.flame { transform-origin: 50% 92%; animation: flicker 2.6s var(--e-io) infinite; }
@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1) rotate(0deg); opacity: .92; }
  25% { transform: scaleY(1.09) scaleX(.95) rotate(-2.5deg); opacity: 1; }
  50% { transform: scaleY(.95) scaleX(1.04) rotate(1.5deg); opacity: .86; }
  75% { transform: scaleY(1.06) scaleX(.97) rotate(2deg); opacity: 1; }
}

/* floating drift for decorative bits */
.drift { animation: drift 9s var(--e-io) infinite; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

/* ─── 13. RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1140px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  :root { --nav-h: 74px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .split, .split--wide-l, .split--wide-r { grid-template-columns: 1fr; }
  .split--rev-m > :first-child { order: 2; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 780px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .life__row { grid-template-columns: 1fr; gap: .5rem; }
  .life__yr { font-size: var(--t-md); }
  .life__yr small { display: inline; margin-left: .6rem; }
  .quote__body { font-size: var(--t-md); }
  .acc__inner { padding-right: 1rem; }
}

@media (max-width: 620px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bot { flex-direction: column; align-items: flex-start; }
  .fab__txt { display: none; }
  .fab { padding: .95rem; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem); }
  .cue { display: none; }
  .modal__spec dt { flex-basis: 86px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
  .card:hover, .prod:hover, .rashi:hover, .ctile:hover { transform: none; }
  .puja-card__d { max-height: 220px; opacity: 1; }
}

/* ─── MOTION PREFERENCES ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .hero__title .ln > span, .hero__deva, .hero__sub,
  .hero__cta, .trust, .cue {
    opacity: 1 !important; transform: none !important;
    filter: none !important; clip-path: none !important;
  }
  .ribbon__track { animation: none; }
  .fab { transform: none; opacity: 1; animation: none; }
  .fab::before { display: none; }
  .curtain, .preload { display: none; }
  .yantra [data-draw] { stroke-dashoffset: 0; }
  .flow__rail i { transform: scaleY(1); }
}

/* ─── PRINT ────────────────────────────────────────────── */
@media print {
  .header, .mnav, .fab, .cue, .curtain, .preload, .cursor-glow,
  .progress, .totop, .ribbon { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
}
