/* ===================================================================
   The Ninth House — brand styles
   Palette pulled from the PDF engine:
   plum #2A1A2E / #3D2A42 / #5A4360 · rose-gold #BE8A5C / #D4A574
   cream #F7F1E8 · gold #D4AF37
   =================================================================== */

:root {
  --plum-deep: #2A1A2E;
  --plum-dark: #3D2A42;
  --plum-mid:  #5A4360;
  --rose-gold: #BE8A5C;
  --rose-light:#D4A574;
  --gold:      #D4AF37;
  --cream:     #F7F1E8;
  --cream-2:   #FBF6EE;
  --charcoal:  #3A3340;
  --grey-soft: #6B6470;
  --line-soft: #E4DACB;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --shadow: 0 30px 80px -40px rgba(20,8,24,.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--plum-mid); }

/* ---------- Decorative starfield (hero only) ---------- */
.stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--rose-light); opacity: .0;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.6); }
  50%      { opacity: .8; transform: scale(1); }
}

/* ---------- Layout helpers ---------- */
section { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--rose-gold);
}
.eyebrow--center { text-align: center; }

.section-head {
  max-width: 680px; margin: 0 auto 3.2rem; text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--plum-deep);
  margin: .5rem 0 1rem;
}
.section-sub { color: var(--grey-soft); font-size: 1.05rem; }
.section-newhere { margin-top: 1rem; font-size: 1rem; color: var(--grey-soft); }
.section-newhere a {
  color: var(--rose-gold); font-weight: 500; border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.section-newhere a:hover { border-bottom-color: var(--rose-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  letter-spacing: .02em;
  padding: .85rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--gold {
  background: linear-gradient(135deg, var(--rose-light), var(--rose-gold));
  color: #fff; box-shadow: 0 14px 30px -12px rgba(190,138,92,.7);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(190,138,92,.85); }
.btn--ghost {
  background: transparent; color: var(--plum-deep);
  border-color: var(--rose-gold);
}
.btn--ghost:hover { background: var(--rose-gold); color: #fff; }
/* on the dark hero, the ghost button needs light text to be legible */
.hero .btn--ghost { color: var(--cream); border-color: var(--rose-light); }
.hero .btn--ghost:hover { background: var(--rose-light); color: var(--plum-deep); }
.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 3rem);
  background: rgba(42,26,46,0);
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.nav.is-scrolled {
  background: rgba(42,26,46,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.8);
}
.nav__brand { display: flex; align-items: center; gap: .65rem; }
.nav__logo { width: 38px; height: 38px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,175,55,.4); }
.nav__name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--cream); letter-spacing: .02em;
}
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  color: var(--cream); font-size: .92rem; font-weight: 400;
  letter-spacing: .03em; opacity: .85; transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  border: 1px solid var(--rose-gold); border-radius: 999px;
  padding: .55rem 1.2rem; opacity: 1 !important; color: var(--rose-light) !important;
  transition: background .25s, color .25s;
}
.nav__cta:hover { background: var(--rose-gold); color: #fff !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, #4a2f50 0%, transparent 60%),
    linear-gradient(180deg, var(--plum-deep) 0%, #1d1220 100%);
  color: var(--cream);
  padding: 7rem 1.5rem 4rem;
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  top: -160px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(190,138,92,.35), transparent 65%);
  filter: blur(20px); animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{opacity:.6} 50%{opacity:1} }
.hero__inner { position: relative; max-width: 760px; }
.hero__title {
  font-size: clamp(3rem, 9vw, 6rem); font-weight: 600;
  background: linear-gradient(180deg, #fff 10%, var(--rose-light) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: .4rem 0 .2rem; letter-spacing: .01em;
}
.hero__tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--rose-light);
  margin-bottom: 1.6rem;
}
.hero__lead { color: #e7dced; font-size: 1.08rem; max-width: 620px; margin: 0 auto 2.2rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.stats {
  margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; max-width: 640px; margin-inline: auto;
}
.stat {
  border: 1px solid rgba(212,175,55,.22); border-radius: 14px;
  padding: 1rem .6rem; background: rgba(255,255,255,.03);
  backdrop-filter: blur(4px);
}
.stat__num {
  display: block; font-family: var(--font-display); font-size: 1.9rem;
  color: var(--rose-light); font-weight: 600;
}
.stat__label { font-size: .72rem; letter-spacing: .04em; color: #c9bcd1; }

/* ---------- Vedic band ---------- */
.band { padding: 6rem clamp(1.2rem,5vw,3rem); max-width: var(--maxw); margin: 0 auto; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.pillar {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2.2rem 1.8rem; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: var(--rose-gold);
  background: radial-gradient(circle at 30% 30%, #fff, var(--cream));
  border: 1px solid var(--line-soft);
}
.pillar h3 { color: var(--plum-deep); font-size: 1.5rem; margin-bottom: .6rem; }
.pillar p { color: var(--grey-soft); font-size: .98rem; }

/* ---------- Products ---------- */
.products {
  padding: 6rem clamp(1.2rem,5vw,3rem);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(190,138,92,.10), transparent 60%),
    var(--cream-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- Home product cards (link to dedicated pages) ---------- */
.prodgrid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.prodcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2.4rem 2rem 1.8rem; box-shadow: 0 22px 55px -40px rgba(20,8,24,.55);
  color: var(--charcoal); overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.prodcard::before {   /* a thin coloured top edge, brand-tinted per product */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--rose-light), var(--rose-gold));
}
.prodcard--gold::before { background: linear-gradient(90deg, var(--gold), var(--rose-gold)); }
.prodcard:hover {
  transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--rose-gold);
}
.prodcard__badge {
  align-self: flex-start; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--rose-light), var(--rose-gold));
  padding: .32rem .75rem; border-radius: 999px; margin-bottom: 1.1rem; font-weight: 600;
}
.prodcard__badge--soft { background: var(--plum-mid); }
.prodcard__glyph {
  font-size: 2.6rem; color: var(--rose-gold); line-height: 1; margin-bottom: .5rem;
}
.prodcard__name { font-size: 1.6rem; color: var(--plum-deep); }
.prodcard__kicker {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-gold); margin: .35rem 0 .9rem;
}
.prodcard__lead { color: var(--grey-soft); font-size: 1rem; flex: 1; }
.prodcard__foot {
  margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.prodcard__price {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--plum-deep);
}
.prodcard__go { color: var(--rose-gold); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.prodcard__go { transition: transform .2s; }
.prodcard:hover .prodcard__go { transform: translateX(3px); }

/* small "learn the basics" nudge under the pillars */
.band__more { text-align: center; margin-top: 2.4rem; color: var(--grey-soft); }
.band__more a { color: var(--rose-gold); font-weight: 500; }
.band__more a:hover { text-decoration: underline; }

.tabs {
  display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 999px;
  padding: .4rem; max-width: 560px; margin: 0 auto 3rem; box-shadow: var(--shadow);
}
.tab {
  flex: 1; min-width: 130px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  color: var(--grey-soft); padding: .8rem 1rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  transition: color .25s, background .25s;
}
.tab__glyph { color: var(--rose-gold); }
.tab:hover { color: var(--plum-deep); }
.tab.is-active {
  background: linear-gradient(135deg, var(--plum-dark), var(--plum-deep));
  color: var(--cream);
}
.tab.is-active .tab__glyph { color: var(--rose-light); }

.panels { max-width: var(--maxw); margin: 0 auto; }
.panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: stretch;
  animation: fade .45s ease;
}
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.panel__copy {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.badge {
  align-self: flex-start; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--rose-light), var(--rose-gold));
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; font-weight: 600;
}
.badge--soft { background: var(--plum-mid); }
.panel__copy h3 { font-size: clamp(1.8rem,3vw,2.4rem); color: var(--plum-deep); }
.panel__lead { color: var(--grey-soft); margin: .8rem 0 1.4rem; font-size: 1.05rem; }

/* plain-language "You'll discover…" line — eases beginners in before the feature ticks */
.panel__discover {
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--rose-gold); border-radius: 12px;
  padding: .9rem 1.1rem; margin: 0 0 1.4rem; font-size: 1rem;
  color: var(--charcoal); line-height: 1.55;
}
.panel__discover-tag {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-gold); margin-right: .5rem;
}

.ticks { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--charcoal); }
.ticks li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--rose-gold);
}

.panel__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px dashed var(--line-soft);
}
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--plum-deep); }
.price__cur { font-size: 1.4rem; vertical-align: super; color: var(--rose-gold); margin-right: 2px; }
.price--soon { font-size: 1.2rem; color: var(--grey-soft); font-style: italic; }

/* product art side */
.panel__art {
  border-radius: var(--radius); display: grid; place-items: center; padding: 2rem;
  min-height: 360px; position: relative; overflow: hidden;
}
.panel__art--plum { background: linear-gradient(160deg, var(--plum-dark), var(--plum-deep)); }
.panel__art--gold { background: linear-gradient(160deg, #4a3326, #2A1A2E); }
.chart-card { position: relative; text-align: center; color: var(--cream); z-index: 1; }
.chart-card__halo {
  position: absolute; inset: -40% ; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 60%);
  animation: breathe 7s ease-in-out infinite;
}
.chart-card__glyph {
  display: block; font-size: 5rem; color: var(--rose-light);
  text-shadow: 0 0 30px rgba(212,175,55,.6); margin-bottom: 1rem;
}
.chart-card__kicker { letter-spacing: .2em; font-size: .72rem; text-transform: uppercase; color: #d9c9b6; }
.chart-card__title { font-family: var(--font-display); font-size: 2.4rem; color: #fff; }

/* ---------- Process ---------- */
.process {
  max-width: var(--maxw); margin: 0 auto; padding: 6rem clamp(1.2rem,5vw,3rem);
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem;
}
.process__step { position: relative; padding-top: 1rem; }
.process__n {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--rose-gold); opacity: .55;
}
.process__step h4 { color: var(--plum-deep); font-size: 1.25rem; margin: .3rem 0 .5rem; }
.process__step p { color: var(--grey-soft); font-size: .95rem; }

/* ---------- About ---------- */
.about {
  background: linear-gradient(180deg, #1d1220, var(--plum-deep));
  color: var(--cream);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center;
  padding: 6rem clamp(1.2rem,5vw,3rem);
}
.about__art { display: grid; place-items: center; }
.about__art img {
  width: 230px; height: 230px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 0 80px -10px rgba(212,175,55,.5);
}
.about__copy h2 { font-size: clamp(2rem,4vw,2.8rem); margin: .4rem 0 1.2rem; color: #fff; }
.about__copy p { color: #ddd0e2; margin-bottom: 1rem; max-width: 60ch; }
.about__copy .eyebrow { color: var(--rose-light); }
.about__pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.about__pills span {
  font-size: .8rem; letter-spacing: .04em; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.35); color: var(--rose-light);
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 6rem 1.5rem;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(190,138,92,.18), transparent 60%),
    var(--cream-2);
}
.cta-band h2 { font-size: clamp(2.2rem,5vw,3.4rem); color: var(--plum-deep); }
.cta-band p { color: var(--grey-soft); margin: .6rem 0 2rem; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-deep); color: var(--cream); padding: 3.5rem clamp(1.2rem,5vw,3rem) 2rem; }
.footer__top {
  max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(212,175,55,.4); }
.footer__name { font-family: var(--font-display); font-size: 1.3rem; }
.footer__tag { font-style: italic; color: var(--rose-light); font-size: .9rem; }
.footer__nav { display: flex; gap: 1.6rem; }
.footer__nav a { color: #d9cce0; opacity: .85; }
.footer__nav a:hover { opacity: 1; color: var(--rose-light); }
.footer__bottom {
  max-width: var(--maxw); margin: 1.5rem auto 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: #b7a9bf;
}

/* ---------- Birth-details modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center; padding: 5vh 1rem;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__overlay {
  position: fixed; inset: 0; background: rgba(20,8,24,.66);
  backdrop-filter: blur(4px); animation: fade .3s ease;
}
.modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 680px;
  background: var(--cream-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 2.4rem clamp(1.4rem, 4vw, 2.6rem); margin: auto;
  animation: pop .35s cubic-bezier(.2,.8,.3,1);
}
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 1rem; right: 1.1rem; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: #fff; color: var(--plum-mid);
  font-size: 1.5rem; line-height: 1; cursor: pointer; border: 1px solid var(--line-soft);
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--plum-deep); color: #fff; }
.modal__head { margin-bottom: 1.6rem; }
.modal__head h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--plum-deep); margin: .3rem 0 .5rem; }
.modal__sub { color: var(--grey-soft); font-size: .95rem; }

/* product picker */
.form__products { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.6rem; }
.form__products legend { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-gold); margin-bottom: .7rem; }
.prodpick { cursor: pointer; }
.prodpick input { position: absolute; opacity: 0; pointer-events: none; }
.prodpick__box {
  display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem;
  border: 1.5px solid var(--line-soft); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.prodpick__glyph { font-size: 1.4rem; color: var(--rose-gold); }
.prodpick__name { font-weight: 500; color: var(--plum-deep); }
.prodpick__price { margin-left: auto; font-family: var(--font-display); font-size: 1.2rem; color: var(--plum-mid); }
.prodpick input:checked + .prodpick__box {
  border-color: var(--rose-gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(190,138,92,.18);
}
.prodpick input:focus-visible + .prodpick__box { outline: 2px solid var(--rose-gold); outline-offset: 2px; }

/* form fields */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; } /* min-width:0 lets grid cells shrink instead of overflowing */
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--charcoal); }
.field__tag { color: var(--grey-soft); font-weight: 400; font-size: .78rem; }
.field input, .field select {
  width: 100%; max-width: 100%; min-width: 0;
  font-family: var(--font-body); font-size: .98rem; color: var(--charcoal);
  padding: .7rem .85rem; border: 1.5px solid var(--line-soft); border-radius: 11px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
/* keep the long State/UT option names from stretching the closed select */
.field select { text-overflow: ellipsis; }
.field input::placeholder { color: #b3a9bb; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.15);
}
.field__hint { font-size: .76rem; color: var(--grey-soft); }
.field__err { font-size: .78rem; color: #b3402f; min-height: 0; }
.field.is-invalid input, .field.is-invalid select { border-color: #d4654f; }

/* calendar date-of-birth picker */
.datepick { position: relative; min-width: 0; }
.datepick__field {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  text-align: left; font-family: var(--font-body); font-size: .98rem; color: var(--charcoal);
  padding: .7rem .85rem; border: 1.5px solid var(--line-soft); border-radius: 11px;
  background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.datepick.is-open .datepick__field, .datepick__field:focus {
  outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.15);
}
.datepick__value.is-placeholder { color: #b3a9bb; }
.datepick__cal { color: var(--rose-gold); }
.datepick__pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 290px; max-width: 88vw;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: .8rem;
  box-shadow: 0 24px 60px -22px rgba(20,8,24,.55); animation: fade .18s ease;
}
.dp__head { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.dp__nav {
  width: 32px; height: 32px; flex: none; border: 1px solid var(--line-soft); background: var(--cream);
  border-radius: 8px; color: var(--plum-mid); font-size: 1.15rem; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s;
}
.dp__nav:hover { background: var(--plum-deep); color: #fff; }
.dp__label {
  flex: 1; border: 0; background: transparent; cursor: pointer; border-radius: 8px; padding: .35rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--plum-deep);
}
.dp__label:hover { background: var(--cream); }
.dp__dows { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 3px; }
.dp__dows span { text-align: center; font-size: .66rem; color: var(--grey-soft); font-weight: 500; }
.dp__grid { display: grid; gap: 3px; }
.dp__grid--days { grid-template-columns: repeat(7,1fr); }
.dp__grid--months, .dp__grid--years { grid-template-columns: repeat(3,1fr); }
.dp__cell {
  border: 0; background: var(--cream); border-radius: 8px; cursor: pointer; color: var(--charcoal);
  font-family: var(--font-body); font-size: .9rem; padding: .5rem 0; transition: background .15s, color .15s;
}
.dp__grid--days .dp__cell { aspect-ratio: 1; padding: 0; }
.dp__grid--months .dp__cell, .dp__grid--years .dp__cell { padding: .7rem 0; }
.dp__cell:hover:not(:disabled):not(.is-empty) { background: var(--rose-light); color: #fff; }
.dp__cell:disabled { background: transparent; color: #cfc6d2; cursor: not-allowed; }
.dp__cell.is-empty { background: transparent; cursor: default; }
.dp__cell.is-selected { background: var(--plum-deep); color: #fff; font-weight: 600; }
.dp__cell.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--rose-gold); }

/* custom select dropdown (premium replacement for native <select>) */
.selct { position: relative; min-width: 0; }
.field select.selct__native {   /* keep it submittable but visually hidden */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: 0;
  opacity: 0; pointer-events: none; border: 0;
}
.selct__field {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  text-align: left; font-family: var(--font-body); font-size: .98rem; color: var(--charcoal);
  padding: .7rem .85rem; border: 1.5px solid var(--line-soft); border-radius: 11px;
  background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.selct.is-open .selct__field, .selct__field:focus {
  outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.15);
}
.selct__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selct__value.is-placeholder { color: #b3a9bb; }
.selct__chev { flex: none; color: var(--rose-gold); transition: transform .2s; }
.selct.is-open .selct__chev { transform: rotate(180deg); }
.selct__pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 12px; padding: .4rem; box-shadow: 0 24px 60px -22px rgba(20,8,24,.55);
  animation: fade .18s ease;
}
.selct__searchwrap { padding: .15rem .15rem .4rem; }
.selct__search {
  width: 100%; padding: .55rem .65rem; border: 1.5px solid var(--line-soft); border-radius: 8px;
  font-family: var(--font-body); font-size: .92rem; color: var(--charcoal); background: var(--cream);
}
.selct__search:focus { outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.15); background: #fff; }
.selct__list { max-height: 220px; overflow-y: auto; }
.selct__empty { padding: .8rem .6rem; color: var(--grey-soft); font-size: .9rem; text-align: center; }
.selct__group {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rose-gold);
  font-weight: 600; padding: .55rem .6rem .25rem;
}
.selct__opt {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  border-radius: 8px; padding: .55rem .6rem; font-family: var(--font-body); font-size: .95rem;
  color: var(--charcoal); cursor: pointer; transition: background .12s, color .12s;
}
.selct__opt:hover, .selct__opt.is-active { background: var(--cream); }
.selct__opt.is-selected { background: linear-gradient(135deg, var(--rose-light), var(--rose-gold)); color: #fff; font-weight: 500; }

/* phone with a fixed +91 prefix */
.phone { display: flex; }
.phone__prefix {
  display: flex; align-items: center; gap: .2rem; padding: 0 .8rem;
  border: 1.5px solid var(--line-soft); border-right: 0; border-radius: 11px 0 0 11px;
  background: var(--cream); color: var(--plum-mid); font-weight: 600; font-size: .95rem;
}
.phone input { flex: 1; border-radius: 0 11px 11px 0 !important; min-width: 0; }
.phone:focus-within .phone__prefix { border-color: var(--rose-gold); }

.form__privacy { font-size: .82rem; color: var(--grey-soft); margin: 1.4rem 0; text-align: center; }
.btn--block { width: 100%; }

/* summary step */
.summary { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; margin-bottom: 1.8rem; }
.summary dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-soft); }
.summary dd { color: var(--plum-deep); font-weight: 500; }
.summary__actions { display: flex; gap: .8rem; }
.summary__actions .btn { flex: 1; }

@media (max-width: 560px) {
  .form__grid, .form__products { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; gap: .2rem 0; }
  .summary dd { margin-bottom: .7rem; }
  .summary__actions { flex-direction: column; }
}

/* ---------- Consultation booking modal ---------- */
.modal__card--wide { max-width: 760px; }

.form__legend {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-gold); font-weight: 600; margin: 1.6rem 0 .8rem;
}
.form__legend:first-of-type { margin-top: 0; }

.field textarea {
  width: 100%; max-width: 100%; min-width: 0;
  font-family: var(--font-body); font-size: .98rem; color: var(--charcoal);
  padding: .7rem .85rem; border: 1.5px solid var(--line-soft); border-radius: 11px;
  background: #fff; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.15); }

/* session mode picker */
.modepick { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.mode { cursor: pointer; }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode__box {
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1rem; border: 1.5px solid var(--line-soft); border-radius: 12px;
  background: #fff; font-weight: 500; color: var(--plum-deep);
  transition: border-color .2s, box-shadow .2s;
}
.mode__glyph { color: var(--rose-gold); }
.mode input:checked + .mode__box { border-color: var(--rose-gold); box-shadow: 0 0 0 3px rgba(190,138,92,.18); }

/* booking = calendar + slots side by side */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }

.cal {
  background: #fff; border: 1.5px solid var(--line-soft); border-radius: 14px; padding: 1rem;
}
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal__month { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--plum-deep); }
.cal__nav {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-soft);
  background: var(--cream); color: var(--plum-mid); font-size: 1.2rem; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s;
}
.cal__nav:hover:not(:disabled) { background: var(--plum-deep); color: #fff; }
.cal__nav:disabled { opacity: .35; cursor: not-allowed; }
.cal__dows { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 4px; }
.cal__dows span { text-align: center; font-size: .68rem; letter-spacing: .04em; color: var(--grey-soft); font-weight: 500; }
.cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal__day {
  aspect-ratio: 1; border: 0; background: var(--cream); border-radius: 8px; cursor: pointer;
  font-family: var(--font-body); font-size: .9rem; color: var(--charcoal);
  transition: background .15s, color .15s, transform .15s;
}
.cal__day:hover:not(:disabled) { background: var(--rose-light); color: #fff; }
.cal__day:disabled { background: transparent; color: #cfc6d2; cursor: not-allowed; }
.cal__day.is-empty { background: transparent; cursor: default; }
.cal__day.is-selected { background: var(--plum-deep); color: #fff; font-weight: 600; }
.cal__day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--rose-gold); }

.slots-wrap { display: flex; flex-direction: column; }
.slots-wrap__label { font-size: .85rem; color: var(--grey-soft); margin-bottom: .7rem; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.slot {
  border: 1.5px solid var(--line-soft); background: #fff; border-radius: 10px; cursor: pointer;
  padding: .6rem .4rem; font-family: var(--font-body); font-size: .9rem; color: var(--plum-deep);
  transition: border-color .15s, background .15s, color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--rose-gold); }
.slot.is-selected { background: linear-gradient(135deg, var(--rose-light), var(--rose-gold)); color: #fff; border-color: transparent; }
.slot:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.field__err--booking { display: block; margin-top: .5rem; }

@media (max-width: 560px) {
  .modepick, .booking { grid-template-columns: 1fr; }
  /* larger calendar tap targets for thumbs (touch-guideline ~44px) */
  .cal__day { aspect-ratio: auto; min-height: 44px; }
  .slot { padding: .8rem .4rem; }
}

/* ===================================================================
   Learn / Astrology 101 page (learn.html)
   =================================================================== */
.learn-page { background: var(--cream); }

.learn-hero {
  background: linear-gradient(160deg, var(--plum-dark), var(--plum-deep));
  color: var(--cream); padding: 9rem clamp(1.2rem,5vw,3rem) 5rem;
  text-align: center;
}
.learn-hero__inner { max-width: 760px; margin: 0 auto; }
.learn-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; margin: .6rem 0 1.2rem;
}
.learn-hero__lead { color: #e6d9c9; font-size: 1.12rem; line-height: 1.7; }

.learn-band { padding: 5rem clamp(1.2rem,5vw,3rem); max-width: var(--maxw); margin: 0 auto; }
.learn-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.learn-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: 0 20px 50px -38px rgba(20,8,24,.5);
  transition: transform .2s, box-shadow .2s;
}
.learn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.learn-card__icon {
  font-size: 2rem; color: var(--rose-gold); margin-bottom: .7rem; line-height: 1;
}
.learn-card h3 { color: var(--plum-deep); font-size: 1.35rem; margin-bottom: .5rem; }
.learn-card p { color: var(--grey-soft); font-size: .98rem; }
.learn-card strong { color: var(--charcoal); font-weight: 600; }

.learn-faq { padding: 1rem clamp(1.2rem,5vw,3rem) 5rem; max-width: 820px; margin: 0 auto; }
.faq { display: grid; gap: .9rem; }
.faq__item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 0 1.4rem; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--rose-gold); box-shadow: 0 18px 40px -34px rgba(20,8,24,.55); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--plum-deep); display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.6rem;
  color: var(--rose-gold); line-height: 1; transition: transform .25s;
}
.faq__item[open] summary::after { content: "–"; transform: rotate(0deg); }
.faq__body { padding: 0 0 1.25rem; }
.faq__body p { color: var(--grey-soft); font-size: 1rem; line-height: 1.65; }

.learn-cta { text-align: center; margin-top: 3.5rem; }
.learn-cta h2 { font-size: clamp(1.8rem,4vw,2.6rem); color: var(--plum-deep); }
.learn-cta p { color: var(--grey-soft); margin: .5rem 0 1.6rem; font-size: 1.05rem; }

/* ===================================================================
   Product landing pages (past-life.html / yogas.html / consultation.html)
   =================================================================== */
.prodhero {
  background: linear-gradient(160deg, var(--plum-dark), var(--plum-deep));
  color: var(--cream); padding: 8rem clamp(1.2rem,5vw,3rem) 4.5rem;
}
.prodhero__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.prodhero__copy .eyebrow { color: var(--rose-light); }
.prodhero__crumb { color: var(--rose-light); }
.prodhero__crumb:hover { text-decoration: underline; }
.prodhero__title { font-size: clamp(2.4rem,5vw,3.6rem); color: #fff; margin: .5rem 0 .3rem; }
.prodhero__tagline {
  letter-spacing: .2em; text-transform: uppercase; font-size: .74rem;
  color: var(--rose-light); font-family: var(--font-body); margin-bottom: 1.2rem;
}
.prodhero__lead { color: #e6d9c9; font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.4rem; }
.prodhero__cta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.6rem 0 1rem;
}
.prodhero__cta .price { color: #fff; }
.prodhero__cta .price__cur { color: var(--rose-light); }
.prodhero .btn--ghost { color: var(--cream); border-color: var(--rose-light); }
.prodhero .btn--ghost:hover { background: var(--rose-light); color: var(--plum-deep); }
.prodhero__note { font-size: .85rem; color: #c9b8a6; }
.prodhero__art {
  min-height: 340px; border-radius: var(--radius); display: grid; place-items: center;
  padding: 2rem; position: relative; overflow: hidden;
}

.prodsection { max-width: var(--maxw); margin: 0 auto; padding: 5rem clamp(1.2rem,5vw,3rem) 2rem; }
.inside-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; margin-bottom: 2.5rem;
}
.inside-item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 1.6rem 1.4rem; box-shadow: 0 18px 44px -38px rgba(20,8,24,.5);
}
.inside-item__n { font-family: var(--font-display); font-size: 1.4rem; color: var(--rose-gold); font-weight: 600; }
.inside-item h3 { color: var(--plum-deep); font-size: 1.15rem; margin: .3rem 0 .4rem; }
.inside-item p { color: var(--grey-soft); font-size: .92rem; }
.ticks--center {
  max-width: 680px; margin: 0 auto; grid-template-columns: 1fr 1fr; gap: .7rem 1.6rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .prodhero__inner { grid-template-columns: 1fr; }
  .prodhero__art { order: -1; min-height: 240px; }
  .inside-grid { grid-template-columns: 1fr 1fr; }
  .ticks--center { grid-template-columns: 1fr; max-width: 460px; }
  .learn-cards { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 1.2rem; position: absolute;
    top: 100%; right: clamp(1.2rem,5vw,3rem); background: rgba(42,26,46,.97);
    padding: 1.4rem 1.8rem; border-radius: 14px; border: 1px solid rgba(212,175,55,.25);
  }
  .pillars, .process { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel__art { min-height: 240px; order: -1; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__copy p { margin-inline: auto; }
  .about__pills { justify-content: center; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .pillars, .process { grid-template-columns: 1fr; }
  .learn-cards, .prodgrid, .inside-grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 820px) {
  .prodgrid { grid-template-columns: 1fr; max-width: 460px; }
}
