/* Tarot Mitra: the inner pages (services, courses, about, awards, gallery, testimonials, blog, contact).
   Builds on site.css (colours, header, buttons, section headings, footer). */

/* ---------- Page header: breadcrumb, title and a turning chakra with the page's emblem ---------- */
.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(24px, 5vw, 80px); max-width: 1240px; min-height: min(84vh, 780px); margin: 0 auto; padding: calc(var(--head) + clamp(28px, 6vh, 70px)) clamp(16px, 4vw, 48px) clamp(36px, 6vh, 70px); }
.page-copy > * { animation: fadeUp .9s ease both; }
.page-copy > :nth-child(2) { animation-delay: .1s; } .page-copy > :nth-child(3) { animation-delay: .2s; } .page-copy > :nth-child(4) { animation-delay: .32s; } .page-copy > :nth-child(5) { animation-delay: .44s; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45em; margin: 0 0 1.1rem; padding: 0; list-style: none; font: 500 .64rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(232, 223, 202, .6); }
.crumbs li + li::before { content: "›"; margin-right: .45em; color: var(--gold); }
.crumbs a { color: inherit; text-decoration: none; transition: color .2s; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--gold-soft); outline: none; }
.crumbs [aria-current] { color: var(--gold-soft); }
.page-title { margin: .12em 0 .32em; font-size: clamp(2.8rem, 5.6vw, 5.2rem); font-weight: 600; line-height: 1.02; color: #fbf2dd; text-wrap: balance; }
.page-title em, .split-title em, .cta-band h2 em, .contact-form h2 em { padding-right: .06em; font-style: italic; background: linear-gradient(180deg, #ffeab0, #eab052 55%, #b9792a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.page-lede { max-width: 34em; margin: 0 0 1.7rem; font-size: clamp(1.2rem, 1.55vw, 1.48rem); line-height: 1.5; color: #ece2ca; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.page-actions .btn-outline { font-size: 1.18rem; padding: .66em 1.6em; }

.page-art { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin: 0 auto; animation: fadeIn 1.2s ease .2s both; }
.page-art::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 90, .24), rgba(255, 160, 70, .06) 60%, transparent); }
.page-wheel { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; animation: turn 150s linear infinite; }
.page-medal { position: absolute; inset: 23%; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(240, 196, 106, .8);
  background: radial-gradient(circle at 50% 35%, rgba(18, 66, 74, .97), rgba(4, 22, 28, .98) 70%);
  box-shadow: inset 0 0 0 7px rgba(4, 22, 28, .9), inset 0 0 0 8px rgba(240, 196, 106, .45), 0 0 60px rgba(255, 190, 90, .28), 0 30px 60px -30px #000; }
.page-medal .ico { width: 68%; aspect-ratio: 1; filter: drop-shadow(0 0 14px rgba(255, 190, 90, .5)); animation: breathe 6s ease-in-out infinite; }
/* three cards of the Tarot Mitra deck, fanned out in front of the chakra */
.page-cards .fan { position: absolute; inset: 12% 14%; }
.page-cards .fan > * { position: absolute; left: 50%; top: 50%; width: 46%; height: auto; aspect-ratio: 7 / 12; border-radius: 10px; box-shadow: 0 24px 50px -18px #000, 0 0 30px rgba(255, 190, 90, .25); transform-origin: 50% 110%; translate: -50% -50%; transition: rotate .6s cubic-bezier(.2, .9, .3, 1.2), translate .6s cubic-bezier(.2, .9, .3, 1.2); }
.page-cards .fan > :nth-child(1) { rotate: -16deg; translate: -78% -47%; }
.page-cards .fan > :nth-child(2) { z-index: 1; translate: -50% -54%; }
.page-cards .fan > :nth-child(3) { rotate: 16deg; translate: -22% -47%; }
.page-cards:hover .fan > :nth-child(1) { rotate: -22deg; translate: -88% -47%; }
.page-cards:hover .fan > :nth-child(3) { rotate: 22deg; translate: -12% -47%; }
.page-mandala .about-art { max-width: none; }

/* ---------- Content blocks ---------- */
.block { position: relative; padding: clamp(50px, 9vh, 100px) clamp(16px, 4vw, 48px); }
.block-tight { padding-block: clamp(30px, 5vh, 56px); }
.block-gallery { padding-top: 0; }
.block-inner { max-width: 1200px; margin: 0 auto; }
.block .sec-head + * { margin-top: 2.6rem; }
.sec-head h2 em { white-space: nowrap; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 26px 24px 24px; border: 1px solid rgba(240, 196, 106, .26); border-radius: 18px; background: linear-gradient(180deg, rgba(10, 40, 48, .72), rgba(4, 18, 24, .86)); box-shadow: 0 24px 40px -30px #000; }
.js .card[data-reveal].in { transition: opacity .8s ease, transform .35s cubic-bezier(.2, .9, .3, 1.4), border-color .25s; }
.card:hover { transform: translateY(-5px); border-color: rgba(240, 196, 106, .6); }
.card-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border: 1px solid rgba(240, 196, 106, .35); border-radius: 14px; background: rgba(240, 196, 106, .1); }
.card-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 .35em; font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: #fbeccb; }
.card p { margin: 0; font-size: 1.1rem; line-height: 1.45; color: #e3d8bf; }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 2.6rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(90deg, rgba(240, 196, 106, .15), rgba(240, 196, 106, .6), rgba(240, 196, 106, .15)); }
.steps li { position: relative; text-align: center; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle at 50% 30%, rgba(18, 66, 74, 1), rgba(4, 22, 28, 1) 75%); box-shadow: 0 0 26px rgba(255, 190, 90, .25); font: 600 1rem Cinzel, Georgia, serif; color: var(--gold-soft); }
.steps h3 { margin: 0 0 .3em; font-size: 1.4rem; font-weight: 600; color: #fbeccb; }
.steps p { margin: 0 auto; max-width: 17em; font-size: 1.08rem; line-height: 1.45; color: #e3d8bf; }
.steps li:nth-child(2) { --rd: .1s; } .steps li:nth-child(3) { --rd: .2s; } .steps li:nth-child(4) { --rd: .3s; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(24px, 5vw, 70px); }
.split-title { margin: .2em 0 .4em; font-size: clamp(2.2rem, 3.6vw, 3.3rem); font-weight: 600; line-height: 1.06; color: #fbf2dd; }
.prose p { margin: 0 0 1em; max-width: 36em; font-size: clamp(1.15rem, 1.35vw, 1.3rem); line-height: 1.58; color: #e9dfc7; }
.ticks { display: grid; gap: 12px; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 36px; font-size: 1.18rem; line-height: 1.45; color: #ece2ca; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 24px; height: 24px; border: 1px solid rgba(240, 196, 106, .6); border-radius: 50%; background: rgba(240, 196, 106, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23ffe2a6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.note { padding: clamp(22px, 2.6vw, 32px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 20px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .32), transparent 60%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .96)); box-shadow: 0 30px 60px -34px #000; }
.note h3 { margin: 0 0 .8em; font: 600 .74rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.note p { margin: 0; font-size: 1.18rem; line-height: 1.52; color: #f3e6c8; }
.note .ticks { margin-top: 0; }
.note a, .faq a, .prose a { color: var(--gold-soft); }

.faq { display: grid; gap: 12px; max-width: 880px; margin: 2.4rem auto 0; }
.faq details { border: 1px solid rgba(240, 196, 106, .28); border-radius: 16px; background: rgba(255, 255, 255, .03); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(240, 196, 106, .6); background: rgba(240, 196, 106, .05); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 1.28rem; font-weight: 600; color: #fbeccb; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid rgba(240, 196, 106, .5); border-radius: 50%; color: var(--gold-soft); font: 400 1.3rem/1 Cinzel, Georgia, serif; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: -2px; border-radius: 16px; }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 1.14rem; line-height: 1.55; color: #e3d8bf; }

.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.minis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid rgba(240, 196, 106, .28); border-radius: 16px; background: linear-gradient(180deg, rgba(10, 40, 48, .72), rgba(4, 18, 24, .86)); color: inherit; text-decoration: none; }
.js .mini[data-reveal].in { transition: opacity .8s ease, transform .3s cubic-bezier(.2, .9, .3, 1.4), border-color .25s, box-shadow .25s; }
.mini:hover, .mini:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 0 24px rgba(255, 190, 90, .2); outline: none; }
.mini .ico { flex: none; width: 58px; height: 58px; filter: drop-shadow(0 0 8px rgba(255, 190, 90, .35)); }
.mini small { display: block; font: .56rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 220, 150, .75); }
.mini b { display: block; font-size: 1.22rem; font-weight: 600; line-height: 1.2; color: #fbeccb; }

.cta-band { max-width: 1100px; margin: 0 auto; padding: clamp(32px, 5vw, 60px); text-align: center; border: 1px solid rgba(240, 196, 106, .55); border-radius: 28px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .16), transparent 60%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .97)); box-shadow: 0 30px 60px -30px #000, 0 0 40px rgba(255, 190, 90, .12); }
.cta-band h2 { margin: .1em 0 .3em; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; line-height: 1.1; color: #fbf2dd; }
.cta-band p { max-width: 34em; margin: 0 auto 1.6rem; font-size: 1.22rem; line-height: 1.5; color: #e9dfc7; }
.cta-band .page-actions { justify-content: center; }
.block-cta { padding-bottom: clamp(70px, 12vh, 130px); }
.empty-note { text-align: center; font-size: 1.15rem; font-style: italic; color: rgba(232, 223, 202, .7); }

/* ---------- Courses: details and syllabus ---------- */
.facts-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts-strip div { padding: 18px 20px; border: 1px solid rgba(240, 196, 106, .26); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.facts-strip dt { font: 600 .6rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.facts-strip dd { margin: .45rem 0 0; font-size: 1.24rem; font-weight: 600; line-height: 1.25; color: #fbeccb; }
.facts-strip .demo-tag { margin-left: .3em; }
.facts-ask { border-color: rgba(240, 196, 106, .6) !important; background: rgba(240, 196, 106, .08) !important; }
.facts-ask a { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); text-decoration: none; }
.facts-ask svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.facts-ask a:hover svg { transform: translateX(4px); }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1100px; margin: 2.6rem auto 0; padding: 0; list-style: none; counter-reset: mod; }
.modules li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; padding: 20px 22px; border: 1px solid rgba(240, 196, 106, .26); border-radius: 18px; background: linear-gradient(180deg, rgba(10, 40, 48, .72), rgba(4, 18, 24, .86)); }
.modules li::before { counter-increment: mod; content: counter(mod, decimal-leading-zero); grid-row: span 2; padding-top: .1em; font: 600 1.9rem/1 Cinzel, Georgia, serif; background: linear-gradient(180deg, #ffeab0, #d99c44); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.modules h3 { margin: 0; font-size: 1.32rem; font-weight: 600; color: #fbeccb; }
.modules p { margin: .25em 0 0; font-size: 1.07rem; line-height: 1.45; color: #e3d8bf; }

/* ---------- Gemstones: the nine planetary gems ---------- */
.gems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1000px; margin: 2.4rem auto 0; padding: 0; list-style: none; }
.gems li { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border: 1px solid rgba(240, 196, 106, .26); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.gems svg { flex: none; width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .18)); }
.gems b { display: block; font-size: 1.2rem; color: #fbeccb; }
.gems small { display: block; font-size: 1rem; font-style: italic; color: rgba(232, 223, 202, .7); }
.gems em { margin-left: auto; font: normal .6rem Cinzel, Georgia, serif; letter-spacing: .12em; text-transform: uppercase; text-align: right; color: var(--gold-soft); }

/* ---------- About ---------- */
.founder-lg { margin: 0 0 1rem; }
.split .about-facts { margin-top: 0; }

/* ---------- Awards ---------- */
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.award { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 22px 24px; text-align: center; border: 1px solid rgba(240, 196, 106, .3); border-radius: 20px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .14), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .8), rgba(4, 18, 24, .92)); }
.award .ico { width: 92px; height: 92px; margin-bottom: 6px; filter: drop-shadow(0 0 12px rgba(255, 190, 90, .45)); }
.award img { width: 100%; max-height: 200px; object-fit: contain; margin-bottom: 8px; border-radius: 10px; }
.award h3 { margin: 0; font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: #fbeccb; }
.award p { margin: 0; font-size: 1.06rem; color: #e3d8bf; }
.award .aw-year { font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .2em; color: var(--gold); }
.reg-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin-top: 2rem; }

/* ---------- Filter chips (gallery, testimonials, blog) ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 2rem; }
.chips button { padding: .5em 1.2em; border: 1px solid rgba(240, 196, 106, .4); border-radius: 999px; background: rgba(255, 255, 255, .03); color: #f1e7d0; cursor: pointer; font: 600 1.05rem "Cormorant Garamond", Georgia, serif; transition: background .2s, border-color .2s, color .2s; }
.chips button:hover, .chips button:focus-visible { border-color: var(--gold); outline: none; }
.chips button[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(180deg, #ffe4a6, #e3aa50); color: #1b1205; }

/* ---------- Gallery and its lightbox ---------- */
.gallery { columns: 4 230px; column-gap: 16px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; overflow: hidden; border: 1px solid rgba(240, 196, 106, .3); border-radius: 14px; background: #06141a; cursor: zoom-in; break-inside: avoid; }
.g-item img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.g-item:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; text-align: left; background: linear-gradient(180deg, transparent, rgba(2, 10, 14, .92)); color: #fbeccb; font-size: 1.08rem; font-weight: 600; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; translate: 0 0; }
.g-item .demo-tag { position: absolute; top: 10px; right: 10px; background: rgba(2, 10, 14, .8); }
.lightbox { width: min(1100px, 94vw); max-width: none; max-height: 94vh; padding: 0; border: 0; background: none; color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: rgba(1, 6, 10, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 14px; animation: fadeIn .25s ease; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.lightbox img { display: block; max-width: 100%; max-height: 78vh; border-radius: 14px; box-shadow: 0 30px 80px -20px #000, 0 0 40px rgba(255, 190, 90, .15); }
.lightbox figcaption { text-align: center; }
.lightbox figcaption b { display: block; font-size: 1.5rem; font-weight: 600; color: #fbeccb; }
.lightbox figcaption span { display: block; font-size: 1.15rem; font-style: italic; color: #e3d8bf; }
.lb-close, .lb-nav { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(240, 196, 106, .6); border-radius: 50%; background: rgba(3, 16, 22, .9); color: var(--gold-soft); cursor: pointer; transition: transform .25s cubic-bezier(.2, .9, .3, 1.5), box-shadow .25s; }
.lb-close { position: absolute; top: -8px; right: -8px; z-index: 1; font: 400 1.8rem/1 Cinzel, Georgia, serif; }
.lb-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close:hover, .lb-nav:hover, .lb-close:focus-visible, .lb-nav:focus-visible { transform: scale(1.1); box-shadow: 0 0 22px rgba(255, 190, 90, .5); outline: none; }

/* ---------- Testimonials ---------- */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.rv-grid .rv-card { flex: none; }

/* ---------- Blog: list and article ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(240, 196, 106, .28); border-radius: 20px; background: linear-gradient(180deg, rgba(10, 40, 48, .8), rgba(4, 18, 24, .92)); color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), border-color .25s; }
.post:hover, .post:focus-visible { transform: translateY(-6px); border-color: rgba(240, 196, 106, .7); outline: none; }
.post-art { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; background: radial-gradient(ellipse at 50% 60%, rgba(255, 190, 90, .2), transparent 60%), radial-gradient(ellipse at 20% 0%, rgba(40, 110, 130, .5), transparent 70%), #061a21; border-bottom: 1px solid rgba(240, 196, 106, .2); }
.post-art .ico { width: 34%; filter: drop-shadow(0 0 14px rgba(255, 190, 90, .5)); transition: transform .5s cubic-bezier(.2, .9, .3, 1.4); }
.post:hover .post-art .ico { transform: scale(1.08) rotate(-4deg); }
.post-art .demo-tag { position: absolute; top: 12px; right: 12px; }
.post-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.post-meta { font: .6rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .8); }
.post h2 { margin: 0; font-size: 1.55rem; font-weight: 600; line-height: 1.15; color: #fbeccb; }
.post p { margin: 0; font-size: 1.1rem; line-height: 1.45; color: #e3d8bf; }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--gold-soft); }
.post-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.post:hover .post-more svg { transform: translateX(4px); }
.article { max-width: 820px; margin: 0 auto; padding-top: 0; }
.article-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.4rem; color: var(--gold-soft); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.article-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.article-card { padding: clamp(24px, 4vw, 52px); border: 1px solid rgba(240, 196, 106, .4); border-radius: 24px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .28), transparent 55%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .97)); }
.article-card h2 { margin: .3em 0 .5em; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; line-height: 1.08; color: #fbf2dd; }
.article-card h3 { margin: 1.6em 0 .4em; font-size: 1.6rem; font-weight: 600; color: var(--gold-soft); }
.article-card p, .article-card li { font-size: 1.24rem; line-height: 1.65; color: #ece2ca; }
.article-card p { margin: 0 0 1em; }
.article-card ul, .article-card ol { margin: 0 0 1em; padding-left: 1.3em; }
.article-card li { margin-bottom: .4em; }
.article-card li::marker { color: var(--gold); }
.article-end { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(240, 196, 106, .2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; gap: clamp(20px, 3vw, 40px); }
.contact-form { padding: clamp(24px, 3.4vw, 44px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 24px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .3), transparent 55%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .97)); box-shadow: 0 30px 60px -30px #000; scroll-margin-top: calc(var(--head) + 20px); }
.contact-form h2 { margin: 0 0 .3em; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 600; color: #fbf2dd; }
.form-intro { margin: 0 0 1.6rem; font-size: 1.12rem; line-height: 1.5; color: rgba(232, 223, 202, .8); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font: 600 .64rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .88); }
.field i { font-style: normal; color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; padding: .7em .9em; border: 1px solid rgba(240, 196, 106, .3); border-radius: 12px; background: rgba(2, 12, 18, .7); color: #f6ecd6; font: 500 1.15rem "Cormorant Garamond", Georgia, serif; transition: border-color .2s, box-shadow .2s; }
.field select option, .field select optgroup { background: #06161c; color: #f6ecd6; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(232, 223, 202, .45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 196, 106, .18); outline: none; }
.field input[aria-invalid="true"] { border-color: #ff8a7a; }
.field input[type="date"] { color-scheme: dark; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-actions .btn-sun { border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 1rem; color: rgba(232, 223, 202, .6); }
.form-error { margin: 0 0 12px; padding: 10px 14px; border-left: 2px solid #ff8a7a; border-radius: 0 10px 10px 0; background: rgba(255, 120, 100, .08); font-size: 1.08rem; color: #ffd5cc; }
.form-done { margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(240, 196, 106, .08); font-size: 1.15rem; line-height: 1.5; color: #f3e6c8; }
.form-done a { color: var(--gold-soft); }
.contact-side { display: grid; gap: 18px; }
.contact-list { margin-bottom: 1rem; }
.contact-list li, .contact-list a { font-size: 1.12rem; }
.contact-side .foot-social { margin-bottom: 0; }
.hours { display: grid; gap: 8px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(240, 196, 106, .2); }
.hours dt { font-size: 1.12rem; color: #e9dfc7; }
.hours dd { margin: 0; font-size: 1.12rem; font-weight: 700; color: #fbeccb; }
.hours-demo { margin: .8rem 0 0 !important; }
.hours-demo .demo-tag { margin-left: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1099px) {
  .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; gap: 10px; padding-top: calc(var(--head) + 20px); }
  .page-art { order: -1; max-width: 300px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .gems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .minis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
@media (max-width: 760px) {
  .modules { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-art { max-width: 240px; }
  .cards, .cards.cols-4, .steps, .gems, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .lightbox[open] { flex-wrap: wrap; }
  .lightbox figure { order: -1; flex-basis: 100%; }
  .split .about-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .page-wheel, .page-medal .ico, .page-copy > *, .page-art { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Healing: Reiki and Lama Fera side by side ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.duo-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 24px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .32), transparent 60%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .97)); box-shadow: 0 30px 60px -34px #000; }
.duo-card .ico { width: 96px; height: 96px; filter: drop-shadow(0 0 12px rgba(255, 190, 90, .45)); }
.duo-card h3 { margin: 0; font-size: clamp(1.8rem, 2.4vw, 2.2rem); font-weight: 600; color: #fbf2dd; }
.duo-card > p { margin: 0; font-size: 1.16rem; line-height: 1.5; color: #e9dfc7; }
.duo-card .duo-best { margin-top: .6rem; font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.duo-card .ticks { margin-top: .2rem; }
.duo-card .page-actions { margin-top: auto; padding-top: 1.2rem; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Where we consult: Delhi NCR and online across India ---------- */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(24px, 4vw, 60px); }
.areas-intro { margin: 0; max-width: 30em; font-size: 1.2rem; line-height: 1.5; color: #e9dfc7; }
.area-lists { padding: clamp(22px, 2.6vw, 32px); border: 1px solid rgba(240, 196, 106, .4); border-radius: 20px; background: linear-gradient(180deg, rgba(8, 32, 40, .9), rgba(3, 14, 20, .95)); }
.area-lists h3 { margin: 0 0 .7em; font: 600 .7rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.area-lists h3 + .area-tags { margin-bottom: 1.4rem; }
.area-lists .area-tags:last-child { margin-bottom: 0; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.area-tags li { padding: .3em .85em; border: 1px solid rgba(240, 196, 106, .3); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: 1.05rem; color: #efe4cb; }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* gallery placeholders (demo entries in gallery.js without a picture) */
.g-ph { display: grid; place-items: center; cursor: help; background: radial-gradient(ellipse at 50% 40%, rgba(240, 196, 106, .12), transparent 60%), linear-gradient(160deg, rgba(16, 60, 70, .9), rgba(6, 22, 34, .95) 60%, rgba(10, 26, 52, .95)); }
.g-ph .ico { width: 34%; max-width: 90px; opacity: .55; filter: drop-shadow(0 0 10px rgba(255, 190, 90, .3)); }
.g-ph .g-cap { opacity: 1; translate: 0 0; }

/* ---------- 10 Mahavidya: the ten goddesses, and the planet each one is linked with ---------- */
.vidyas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.vidya { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid rgba(240, 196, 106, .3); border-radius: 20px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .28), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .78), rgba(4, 18, 24, .9)); box-shadow: 0 24px 40px -30px #000; scroll-margin-top: calc(var(--head) + 16px); }
.vidya-head { display: flex; align-items: center; gap: 16px; }
.vidya-no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(240, 196, 106, .55); border-radius: 50%; background: rgba(240, 196, 106, .1); font: 600 1.1rem Cinzel, Georgia, serif; color: var(--gold-soft); }
.vidya h3 { margin: 0; font-size: clamp(1.6rem, 2vw, 1.95rem); font-weight: 600; line-height: 1.1; color: #fbf2dd; }
.vidya-dev { margin-left: .3em; font: 400 .74em "Tiro Devanagari Hindi", serif; color: var(--gold); }
.sec-chip .chip-dev { font: 400 1.3em/1 "Tiro Devanagari Hindi", serif; letter-spacing: .02em; text-transform: none; }   /* Hindi beside an English chip */
.vidya-title { margin: .25em 0 0; font-size: 1.14rem; font-style: italic; line-height: 1.3; color: var(--gold-soft); }
.vidya > p { margin: 0; font-size: 1.14rem; line-height: 1.55; color: #e9dfc7; }
.vidya-facts { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; margin: auto 0 0; padding-top: 6px; }
.vidya-facts div { padding: 12px 14px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.vidya-facts dt { font: 600 .58rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.vidya-facts dd { margin: .3rem 0 0; font-size: 1.04rem; line-height: 1.35; color: #f3e8d0; }
.grahas { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
.graha-sym { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(240, 196, 106, .4); border-radius: 50%; background: rgba(240, 196, 106, .08); font: 1.3rem/1 "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", "DejaVu Sans", sans-serif; color: var(--gold-soft); }
.graha-txt { font: 600 .6rem Cinzel, Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.grahas em { font: italic 600 1.22rem "Cormorant Garamond", Georgia, serif; letter-spacing: 0; text-transform: none; }
.grahas em a { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(240, 196, 106, .4); transition: color .2s, border-color .2s; }
.grahas em a:hover, .grahas em a:focus-visible { color: #fff3d6; border-color: var(--gold); }
.grahas-note { max-width: 46em; margin: 1.4rem auto 0; text-align: center; font-size: 1.06rem; font-style: italic; color: rgba(232, 223, 202, .72); }
@media (max-width: 900px) { .vidyas { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grahas { grid-template-columns: 1fr; } .vidya-facts { grid-template-columns: 1fr; } .vidya-no { width: 44px; height: 44px; } }

/* ---------- About: the founder, her journey, her philosophy and her honours ---------- */
.founder-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.founder-photo { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.founder-photo::before { content: ""; position: absolute; inset: -9% -12%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 196, 100, .3), rgba(255, 170, 70, .08) 60%, transparent); }   /* a soft golden aura */
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 1.5px solid rgba(240, 196, 106, .85); border-radius: 999px 999px 22px 22px; box-shadow: inset 0 0 0 6px rgba(4, 22, 28, .5), 0 0 0 8px rgba(240, 196, 106, .12), 0 30px 60px -26px #000, 0 0 46px rgba(255, 190, 90, .25); }
.founder-photo figcaption { position: absolute; left: 50%; bottom: -18px; translate: -50% 0; padding: .5em 1.4em; border: 1px solid rgba(240, 196, 106, .6); border-radius: 999px; background: linear-gradient(180deg, rgba(12, 44, 54, .97), rgba(5, 20, 27, .97)); white-space: nowrap; text-align: center; font: 600 1.15rem "Cormorant Garamond", Georgia, serif; color: #fbeccb; }
.founder-photo figcaption small { display: block; font: 500 .56rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.founder-role { margin: -.2em 0 1.2em; font: 600 .7rem/1.7 Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.founder-split .about-facts { margin-bottom: 0; }

.journey { position: relative; max-width: 820px; margin: 2.6rem auto 0; padding: 0; list-style: none; }
.journey::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 21px; width: 1px; background: linear-gradient(180deg, rgba(240, 196, 106, .1), rgba(240, 196, 106, .7), rgba(240, 196, 106, .1)); }
.journey li { position: relative; padding: 0 0 2rem 70px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, #ffe7b0 0 30%, rgba(240, 196, 106, .25) 34%, rgba(4, 22, 28, .9) 60%); box-shadow: 0 0 16px rgba(255, 190, 90, .55); }
.jy-when { display: inline-block; font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.journey h3 { margin: .25em 0 .3em; font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: #fbeccb; }
.journey p { margin: 0; max-width: 40em; font-size: 1.14rem; line-height: 1.55; color: #e3d8bf; }

.philo { max-width: 860px; margin: 0 auto 2.6rem; padding: clamp(28px, 4vw, 52px); text-align: center; border: 1px solid rgba(240, 196, 106, .45); border-radius: 26px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .16), transparent 62%), linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(4, 18, 24, .94)); box-shadow: 0 30px 60px -34px #000; }
.philo-dev { margin: .4rem 0 0; font: 400 clamp(1.4rem, 2.4vw, 2rem) "Tiro Devanagari Hindi", serif; color: var(--gold); text-shadow: 0 0 22px rgba(255, 190, 90, .4); }
.philo h2 { margin: .15em 0 .4em; font-size: clamp(2.3rem, 4vw, 3.6rem); font-weight: 600; line-height: 1.08; color: #fbf2dd; }
.philo h2 em { font-style: italic; background: linear-gradient(180deg, #ffeab0, #eab052 55%, #b9792a); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.philo > p:last-child { margin: 0 auto; max-width: 38em; font-size: clamp(1.15rem, 1.35vw, 1.3rem); line-height: 1.58; color: #e9dfc7; }

.honours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.honour { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(240, 196, 106, .4); border-radius: 22px; background: linear-gradient(180deg, rgba(10, 40, 48, .85), rgba(4, 18, 24, .92)); box-shadow: 0 30px 60px -34px #000; }
.honour-media { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, .25); }
.honour-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.honour-medal { background: radial-gradient(circle at 50% 50%, rgba(240, 196, 106, .22), transparent 60%), url("assets/hero-wheel.webp") center / 78% no-repeat; }
.honour-medal .ico { width: 34%; filter: drop-shadow(0 0 18px rgba(255, 190, 90, .6)); }
.honour-body { display: flex; flex-direction: column; gap: .5rem; padding: clamp(20px, 2.4vw, 30px); }
.honour h3 { margin: 0; font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 600; line-height: 1.15; color: #fbeccb; }
.honour p { margin: 0; font-size: 1.12rem; line-height: 1.5; color: #e3d8bf; }
.honour .aw-year { font: 600 .64rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.honour-link { display: inline-flex; align-items: center; gap: 8px; margin-top: .4rem; width: fit-content; color: var(--gold-soft); text-decoration: none; font-size: 1.08rem; font-weight: 600; border-bottom: 1px solid rgba(240, 196, 106, .4); }
.honour-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.honour-link:hover, .honour-link:focus-visible { color: #fff3d6; border-color: var(--gold); outline: none; }
@media (max-width: 900px) { .founder-split, .honours { grid-template-columns: 1fr; } .founder-photo { max-width: 300px; margin-bottom: 1.6rem; } }
@media (max-width: 560px) { .journey li { padding-left: 56px; } .journey::before { left: 17px; } .journey li::before { left: 8px; } }

/* 10 Mahavidya: which puja for which problem, and Maa Kamakhya */
.puja-list { max-width: 980px; }
.puja-list .graha-sym { font-size: .8rem; letter-spacing: 0; }
.puja-actions { justify-content: center; margin-top: 1.6rem; }
.kamakhya { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(24px, 4vw, 52px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 28px; background: radial-gradient(ellipse at 20% 30%, rgba(200, 60, 60, .16), transparent 60%), radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .14), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(4, 18, 24, .94)); box-shadow: 0 30px 60px -34px #000; }
.kamakhya-art { display: grid; justify-items: center; gap: .6rem; text-align: center; }
.kamakhya-art .ico { width: min(240px, 70%); aspect-ratio: 1; filter: drop-shadow(0 0 22px rgba(255, 190, 90, .5)); }
.kamakhya .ticks { margin: .2rem 0 1.4rem; }
@media (max-width: 900px) { .kamakhya { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .cards:not(.cols-4) > :last-child:nth-child(3n+1):not(:first-child) { grid-column: 2; } }   /* a lone card on the last row of three sits in the middle */

/* healing pages: the areas of life a healing supports */
.life-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 920px; margin: 2.4rem auto 0; padding: 0; list-style: none; }
.life-areas li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(240, 196, 106, .3); border-radius: 16px; background: rgba(255, 255, 255, .035); font-size: 1.18rem; font-weight: 600; color: #fbeccb; }
.life-areas svg { flex: none; width: 40px; height: 40px; padding: 9px; border: 1px solid rgba(240, 196, 106, .4); border-radius: 50%; background: rgba(240, 196, 106, .08); fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .life-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .life-areas li { font-size: 1.05rem; padding: 12px; gap: 10px; } }

/* Gemstones: a consultation for each rashi */
.rashi-gems { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rashi-gem { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 8px 14px; text-align: center; text-decoration: none; border: 1px solid rgba(240, 196, 106, .28); border-radius: 16px; background: linear-gradient(180deg, rgba(10, 40, 48, .72), rgba(4, 18, 24, .86)); color: #f1e7d0; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), border-color .25s; }
.rashi-gem:hover, .rashi-gem:focus-visible { transform: translateY(-5px); border-color: var(--gold); outline: none; }
.rashi-gem .rashi-medal { width: 58px; }
.rashi-gem b { font-size: 1.1rem; font-weight: 600; color: #fbeccb; }
.rashi-gem b span { font: .92rem "Tiro Devanagari Hindi", serif; color: rgba(240, 222, 186, .72); }
.rashi-gem small { font: .56rem Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 150, .8); }
.rashi-gem em { font-size: .98rem; font-style: italic; line-height: 1.25; color: var(--gold-soft); }
.rg-book { margin-top: .4rem; font: 600 .56rem Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.gem-warning { max-width: 880px; margin: 2rem auto 0; }
@media (max-width: 1099px) { .rashi-gems { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rashi-gems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) { .life-areas > :last-child:nth-child(3n+1):not(:first-child) { grid-column: 2; } }
@media (min-width: 561px) { .grahas > :last-child:nth-child(2n+1):not(:first-child) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); } }   /* an odd last item sits in the middle */

/* ---------- Numerology calculator (numerology.js) ---------- */
.numero-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: end; gap: 14px; max-width: 900px; margin: 2.4rem auto 0; padding: clamp(18px, 2.6vw, 30px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 22px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .12), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(4, 18, 24, .94)); }
.numero-form .field { margin: 0; }
.numero-form .btn-sun { border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.numero-form .form-error, .numero-private { grid-column: 1 / -1; margin: 0; }
.numero-private { font-size: .98rem; font-style: italic; color: rgba(232, 223, 202, .62); }
.numero-result { max-width: 980px; margin: 2rem auto 0; scroll-margin-top: calc(var(--head) + 16px); animation: fadeUp .6s ease; }
.nm-medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nm-medal { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; text-align: center; border: 1px solid rgba(240, 196, 106, .45); border-radius: 20px; background: radial-gradient(circle at 50% 38%, rgba(240, 196, 106, .18), transparent 62%), rgba(4, 18, 24, .7); }
.nm-label { font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.nm-num { display: grid; place-items: center; width: 92px; height: 92px; margin: 6px 0; border: 1.5px solid var(--gold); border-radius: 50%; font: 600 2.9rem/1 Cinzel, Georgia, serif; background: linear-gradient(180deg, #ffeab0, #d99c44); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; box-shadow: 0 0 30px rgba(255, 190, 90, .3), inset 0 0 18px rgba(240, 196, 106, .15); }
.nm-planet { font-size: 1.1rem; font-weight: 600; color: #fbeccb; }
.nm-sub { font-size: .95rem; font-style: italic; color: rgba(232, 223, 202, .7); }
.nm-panel { margin-top: 14px; padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(240, 196, 106, .4); border-radius: 22px; background: linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(4, 18, 24, .94)); }
.nm-panel h3 { margin: 0 0 .4em; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 600; color: #fbf2dd; }
.nm-panel h3:not(:first-child) { margin-top: 1.4em; }
.nm-panel h3 em { font-style: italic; color: var(--gold-soft); }
.nm-panel > p { margin: 0; font-size: 1.16rem; line-height: 1.55; color: #e9dfc7; }
.nm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1rem 0 0; }
.nm-lucky-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nm-facts div { padding: 12px 16px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.nm-facts dt { font: 600 .6rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.nm-facts dd { margin: .3rem 0 0; font-size: 1.08rem; line-height: 1.35; color: #f3e8d0; }
.nm-panel > p.nm-harmony { margin-top: 1.2rem; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(240, 196, 106, .3); }
.nm-harmony.is-good { background: rgba(80, 170, 120, .1); border-color: rgba(120, 210, 160, .35); }
.nm-harmony.is-check { background: rgba(240, 196, 106, .08); }
.nm-harmony b { color: #fbeccb; }
.nm-panel .page-actions { margin-top: 1.4rem; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nm-card { display: flex; gap: 16px; padding: 20px; border: 1px solid rgba(240, 196, 106, .26); border-radius: 18px; background: linear-gradient(180deg, rgba(10, 40, 48, .72), rgba(4, 18, 24, .86)); }
.nm-big { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%; font: 600 1.7rem/1 Cinzel, Georgia, serif; color: var(--gold-soft); background: rgba(240, 196, 106, .08); }
.nm-card h3 { margin: 0; font-size: 1.35rem; font-weight: 600; color: #fbeccb; }
.nm-card p { margin: .3rem 0 0; font-size: 1.04rem; line-height: 1.45; color: #e3d8bf; }
.nm-card .nm-ruler { margin: 0; font: 600 .58rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nm-card .nm-lucky { font-size: .96rem; font-style: italic; color: rgba(232, 223, 202, .72); }
@media (max-width: 900px) { .numero-form { grid-template-columns: 1fr 1fr; } .numero-form .btn-sun { grid-column: 1 / -1; justify-content: center; } .numbers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .numero-form, .nm-facts, .nm-lucky-row, .numbers-grid { grid-template-columns: 1fr; } .nm-medals { gap: 8px; } .nm-medal { padding: 14px 6px; } .nm-num { width: 64px; height: 64px; font-size: 2rem; } .nm-label { letter-spacing: .12em; } }

/* ---------- Angel Message of the Day (angels.js) ---------- */
.angel-app { max-width: 1000px; margin: 2.4rem auto 0; }
.angel-sky { position: relative; height: clamp(500px, 48vw, 560px); overflow: hidden; border: 1px solid rgba(240, 196, 106, .45); border-radius: 28px; background: radial-gradient(ellipse 55% 42% at 50% 0%, rgba(255, 232, 178, .55), rgba(255, 214, 140, .12) 60%, transparent 75%), radial-gradient(ellipse 90% 55% at 50% 105%, rgba(120, 200, 205, .22), transparent 70%), linear-gradient(180deg, #164a55 0%, #0f3a45 38%, #0a2a34 70%, #071c24 100%); box-shadow: inset 0 0 90px rgba(0, 0, 0, .35), 0 30px 60px -30px #000; }
.angel-rays { position: absolute; inset: -20% -10% 30%; background: repeating-conic-gradient(from 180deg at 50% 0%, rgba(255, 236, 190, .12) 0deg 3deg, transparent 3deg 12deg); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 30%, transparent 75%); animation: raysGlow 7s ease-in-out infinite; pointer-events: none; }
@keyframes raysGlow { 50% { opacity: .55; } }
.angel-clouds { position: absolute; left: -10%; right: -10%; bottom: -6%; height: 34%; background: radial-gradient(ellipse 22% 60% at 12% 80%, rgba(255, 250, 238, .16), transparent 70%), radial-gradient(ellipse 26% 70% at 38% 90%, rgba(255, 250, 238, .14), transparent 70%), radial-gradient(ellipse 24% 60% at 66% 85%, rgba(255, 250, 238, .15), transparent 70%), radial-gradient(ellipse 22% 65% at 90% 80%, rgba(255, 250, 238, .13), transparent 70%); filter: blur(6px); pointer-events: none; }
.angel-sky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1.2px 1.2px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 30% 64%, #fff8e0, transparent), radial-gradient(1.4px 1.4px at 72% 18%, #fff, transparent), radial-gradient(1px 1px at 86% 58%, #fff, transparent), radial-gradient(1.2px 1.2px at 58% 40%, #ffeec8, transparent), radial-gradient(1px 1px at 44% 12%, #fff, transparent), radial-gradient(1px 1px at 8% 80%, #fff, transparent), radial-gradient(1.3px 1.3px at 94% 86%, #fff3d0, transparent); opacity: .8; pointer-events: none; }
.angel-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 16px rgba(255, 220, 150, .6)); }
.angel-svg .wing { transform-box: fill-box; transform-origin: 100% 45%; animation: wingFlap 1.7s ease-in-out infinite; }
.angel-svg .feather { fill: none; stroke: rgba(176, 122, 42, .55); stroke-width: 1; stroke-linecap: round; }
.angel-svg .halo { fill: none; stroke: #f5c75a; stroke-width: 2.4; }
.angel-svg .head { fill: #fff6e6; stroke: #d9a748; stroke-width: 1.1; }
.angel-svg .robe { fill: url(#agRobe); stroke: #d9a748; stroke-width: 1.1; }
.angel-svg .hands { fill: #fff6e6; stroke: #d9a748; stroke-width: .9; }
.angel-svg .fold { fill: none; stroke: rgba(201, 150, 70, .45); stroke-width: 1; stroke-linecap: round; }
@keyframes wingFlap { 50% { transform: rotate(-11deg) scaleX(.93); } }
.angel-float { position: absolute; width: 74px; opacity: .85; animation: angelDrift 14s ease-in-out infinite; }
.angel-float.a1 { left: 7%; top: 14%; }
.angel-float.a2 { right: 8%; top: 9%; width: 62px; animation-delay: -6s; animation-duration: 17s; }
@keyframes angelDrift { 0%, 100% { translate: 0 0; } 25% { translate: 18px -14px; } 50% { translate: -10px -24px; } 75% { translate: -20px -6px; } }
.angel-guide { position: absolute; left: 50%; top: 10px; width: clamp(120px, 14vw, 156px); margin-left: calc(clamp(120px, 14vw, 156px) / -2); transform: translate(-60vw, -280px) scale(.45) rotate(-16deg); transition: transform 2.4s cubic-bezier(.3, .6, .25, 1); z-index: 3; }
.angel-sky.arriving .angel-guide { transform: none; }
.angel-sky.landed .angel-guide .wing { animation-duration: 3.2s; }   /* the wings slow down once the angel has landed */
.angel-glow { position: absolute; left: 50%; top: clamp(168px, 18vw, 188px); width: 260px; height: 46px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 180, .75), rgba(255, 214, 140, .25) 60%, transparent); opacity: 0; transition: opacity 1s ease; }
.angel-sky.landed .angel-glow { opacity: 1; }
.angel-deck { position: absolute; left: 16px; right: 16px; top: clamp(228px, 25vw, 258px); height: 210px; opacity: 0; transition: opacity .6s ease; }
.angel-deck.open { opacity: 1; }
.acard { position: absolute; left: 0; top: 0; width: clamp(58px, 7.6vw, 90px); aspect-ratio: 7 / 12; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; -webkit-tap-highlight-color: transparent; }
.angel-deck.shuffling .acard { transition-duration: .26s; cursor: default; }
.acard-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, .7, .2, 1), translate .25s ease; }
.acard:hover .acard-in, .acard:focus-visible .acard-in { translate: 0 -10px; }
.acard:focus-visible { outline: none; }
.acard:focus-visible .aside { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.acard.flipped .acard-in { transform: rotateY(180deg); }
.acard.dim { opacity: .18; pointer-events: none; }
.aside { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 9px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(200, 145, 58, .9); }
.aback { background: radial-gradient(circle at 50% 46%, rgba(255, 226, 160, .7), transparent 52%), linear-gradient(160deg, #fffaf0, #f5e6c6 55%, #e8cf9c); }
.ab-frame { position: absolute; inset: 6%; border: 1px solid rgba(176, 122, 42, .65); border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(255, 250, 240, .6), inset 0 0 0 3px rgba(176, 122, 42, .3); pointer-events: none; }
.ab-emblem { position: relative; width: 78%; filter: drop-shadow(0 1px 2px rgba(150, 100, 30, .35)); }
.ab-star { position: absolute; bottom: 10%; font-size: .55rem; font-style: normal; color: #c8913a; }
.aface { transform: rotateY(180deg); padding: 8% 8% 10%; overflow: hidden; background: linear-gradient(180deg, #fffdf7, #f6e7c9); color: #3a2a10; text-align: center; }
.aface .af-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 33%, var(--c), transparent 58%); opacity: .45; }
.aface .angel-svg { position: relative; width: 82%; filter: drop-shadow(0 0 6px rgba(255, 200, 110, .7)); }
.aface small { position: relative; font: 600 .3rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: #8a6420; }
.aface b { position: relative; font: 600 .62rem Cinzel, Georgia, serif; letter-spacing: .06em; color: #4a3210; }
.aface em { position: relative; font-size: .42rem; font-style: italic; line-height: 1.15; color: #6a5030; }
.acard.chosen { z-index: 40; }
.angel-hint { min-height: 1.6em; margin: 1.1rem 0 0; text-align: center; font-size: 1.2rem; font-style: italic; color: rgba(232, 223, 202, .85); }
.angel-actions { display: flex; justify-content: center; margin-top: .8rem; }
.angel-actions button { cursor: pointer; font-family: inherit; }
.angel-actions button:disabled { opacity: .55; cursor: default; }
.angel-read { margin-top: 1.4rem; }
.angel-message { padding: clamp(22px, 3vw, 38px); border: 1px solid rgba(240, 196, 106, .5); border-radius: 22px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 60%), radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 226, 160, .12), transparent 70%), linear-gradient(180deg, rgba(14, 52, 62, .95), rgba(6, 24, 32, .96)); box-shadow: 0 30px 60px -30px #000; animation: fadeUp .6s ease; text-align: center; }
.am-pos { margin: 0; font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.angel-message h3 { margin: .25em 0 .3em; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.1; color: #fbf2dd; }
.angel-message h3 span { display: block; margin-top: .2em; font-size: .5em; font-style: italic; font-weight: 500; color: var(--gold-soft); }
.am-text { max-width: 36em; margin: 0 auto; font-size: clamp(1.22rem, 1.6vw, 1.45rem); font-style: italic; line-height: 1.5; color: #f6ead0; }
.am-affirm { max-width: 34em; margin: 1rem auto 0; font-size: 1.1rem; color: #e9dfc7; }
.am-affirm b { display: block; font: 600 .6rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.am-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 1.2rem auto 0; }
.am-facts div { padding: 10px 12px; border: 1px solid rgba(240, 196, 106, .22); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.am-facts dt { font: 600 .56rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.am-facts dd { margin: .25rem 0 0; font-size: 1.05rem; color: #f3e8d0; }
.angel-message .reading-note { max-width: 40em; margin-inline: auto; text-align: left; }
.angel-message .page-actions { justify-content: center; margin-top: 1.3rem; }
.angel-chart-wrap { overflow-x: auto; border: 1px solid rgba(240, 196, 106, .35); border-radius: 20px; background: linear-gradient(180deg, rgba(10, 40, 48, .85), rgba(4, 18, 24, .92)); }
.angel-chart { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 1.06rem; color: #e9dfc7; }
.angel-chart th, .angel-chart td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(240, 196, 106, .14); }
.angel-chart thead th { font: 600 .6rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); background: rgba(240, 196, 106, .06); }
.angel-chart tbody th { font-weight: 600; color: #fbeccb; white-space: nowrap; }
.angel-chart tbody th i { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.angel-chart tbody tr:last-child th, .angel-chart tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .angel-sky { height: 470px; } .angel-deck { top: 210px; } .am-facts { grid-template-columns: 1fr; } .angel-float { width: 52px; } }
@media (prefers-reduced-motion: reduce) { .angel-float, .angel-svg .wing, .angel-rays { animation: none !important; } .angel-guide, .acard, .acard-in { transition: none !important; } }

/* ---------- Vastu tools (vastu.js): the element wheel, the five elements chart and the Vastu Compass ---------- */
.vastu-wheel { display: block; width: 100%; height: auto; }
.vastu-wheel .vw-dir { font: 700 14px Cinzel, Georgia, serif; fill: #fffaf0; paint-order: stroke; stroke: rgba(10, 8, 30, .55); stroke-width: 2.6px; }
.vastu-wheel .vw-el { font: italic 600 8.5px "Cormorant Garamond", Georgia, serif; fill: #fff3d6; letter-spacing: .03em; paint-order: stroke; stroke: rgba(10, 8, 30, .5); stroke-width: 1.8px; }
.vastu-wheel .vw-c { font: 700 8px Cinzel, Georgia, serif; fill: #3a2a55; letter-spacing: .04em; }
.vastu-wheel .vw-c2 { font: italic 600 8px "Cormorant Garamond", Georgia, serif; fill: #5b4fa6; }
/* the wheel turns slowly; each label turns back the same amount, so it always stays upright */
.vastu-wheel .vw-spin { transform-box: view-box; transform-origin: 0 0; animation: vwSpin 90s linear infinite; }
.vastu-wheel .vw-up { transform-box: fill-box; transform-origin: 50% 50%; animation: vwSpin 90s linear infinite reverse; }
@keyframes vwSpin { to { transform: rotate(360deg); } }
.ec-wheel:hover .vw-spin, .ec-wheel:hover .vw-up { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .vastu-wheel .vw-spin, .vastu-wheel .vw-up { animation: none; } }
.elements-chart { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(20px, 3vw, 40px); border: 1px solid rgba(240, 196, 106, .4); border-radius: 26px; background: linear-gradient(180deg, rgba(10, 40, 48, .88), rgba(4, 18, 24, .93)); }
.ec-wheel { max-width: 440px; justify-self: center; width: 100%; filter: drop-shadow(0 0 28px rgba(255, 196, 110, .3)) drop-shadow(0 0 60px rgba(120, 110, 230, .18)); }
.ec-legend { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ec-legend li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 14px; background: rgba(255, 255, 255, .035); font-size: 1.05rem; line-height: 1.4; color: #e3d8bf; }
.ec-legend i { flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); border: 1px solid rgba(255, 240, 205, .7); }
.ec-legend b { display: block; font-size: 1.2rem; color: #fbeccb; }
.ec-legend b small { font: .58rem Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ec-legend em { display: block; margin-top: .2rem; font-size: .95rem; color: var(--gold-soft); }
.wealth-blocks { max-width: 880px; margin: 2rem auto 0; }
.wealth-blocks .page-actions { margin-top: 1.2rem; }
@media (max-width: 900px) { .elements-chart { grid-template-columns: 1fr; } }

/* ---------- Vastu Home Check (vastu.js): six questions on a 3 x 3 map of the home ---------- */
.vastu-check { max-width: 980px; margin: 2.4rem auto 0; scroll-margin-top: calc(var(--head) + 16px); }
.vh { padding: clamp(20px, 3vw, 38px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 26px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .12), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .9), rgba(4, 18, 24, .94)); box-shadow: 0 30px 60px -34px #000; text-align: center; }
.vh-top { max-width: 420px; margin: 0 auto 1rem; }
.vh-count { margin: 0; font: 600 .64rem Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.vh-bar { height: 6px; margin-top: .6rem; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vh-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c58a36, #ffe4a6); transition: width .4s ease; }
.vh-q { margin: .2em 0 .3em; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 600; line-height: 1.15; color: #fbf2dd; }
.vh-tip { max-width: 34em; margin: 0 auto; font-size: 1.12rem; line-height: 1.5; color: #e3d8bf; }
.vh-house { position: relative; width: min(100%, 440px); margin: 1.4rem auto 0; padding-top: 26px; }
.vh-n { position: absolute; top: 0; left: 50%; translate: -50% 0; font: 700 .8rem Cinzel, Georgia, serif; letter-spacing: .14em; color: var(--gold-soft); }
.vh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border: 2px solid rgba(240, 196, 106, .7); border-radius: 14px; background: rgba(240, 196, 106, .08); }
.vh-cell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1; padding: 6px; border: 1px solid rgba(255, 240, 205, .25); border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 14%, transparent)); color: #fbf2dd; cursor: pointer; font: inherit; transition: transform .2s cubic-bezier(.2, .9, .3, 1.5), border-color .2s, background .2s; }
.vh-cell:not([disabled]):not([aria-disabled]):hover, .vh-cell:focus-visible { transform: scale(1.05); border-color: var(--gold); outline: none; }
.vh-cell.chosen { border-color: #fff3cf; background: color-mix(in srgb, var(--c) 55%, transparent); transform: scale(1.06); }
.vh-cell[disabled] { opacity: .3; cursor: not-allowed; }
.vh-cell[aria-disabled] { cursor: default; }
.vh-dir { font: 600 .74rem Cinzel, Georgia, serif; letter-spacing: .04em; line-height: 1.2; }
.vh-pick { font-size: 1.3rem; color: #fff3cf; }
.vh-nav { display: flex; justify-content: space-between; align-items: center; max-width: 440px; margin: 1.2rem auto 0; }
.vh-nav .btn-outline { font-size: 1rem; padding: .5em 1.2em; cursor: pointer; font-family: inherit; background: none; }
.vh-skip { padding: .4em .2em; border: 0; background: none; color: rgba(232, 223, 202, .75); font: italic 1.05rem "Cormorant Garamond", Georgia, serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.vh-help { margin: 1rem auto 0; font-size: .98rem; font-style: italic; color: rgba(232, 223, 202, .6); }
.vh-result { text-align: left; }
.vh-score { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.vh-ring { flex: none; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, #0b2a33 79%, transparent 80% 100%), conic-gradient(#f0c46a calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }
.vh-ring b { font: 600 1.9rem Cinzel, Georgia, serif; color: #ffe4a6; }
.vh-score .vh-tip { margin: 0; }
.vh-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 36px); align-items: start; margin-top: 1rem; }
.vh-split .vh-house { margin: 0; }
.vh-chip { display: block; max-width: 100%; padding: .15em .5em; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.3; color: #1b1205; }
.vh-chip.is-good { background: #8fe0a8; } .vh-chip.is-ok { background: #ffd98a; } .vh-chip.is-bad { background: #ff9c86; }
.vh-findings { display: grid; gap: 10px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.vh-findings li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(240, 196, 106, .2); background: rgba(255, 255, 255, .035); font-size: 1.04rem; line-height: 1.45; color: #e3d8bf; }
.vh-findings li > b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .95rem; color: #1b1205; }
.vh-findings .is-good > b { background: #8fe0a8; } .vh-findings .is-ok > b { background: #ffd98a; } .vh-findings .is-bad > b { background: #ff9c86; }
.vh-findings strong { color: #fbeccb; }
.vh-findings em { font-style: normal; font-weight: 700; color: var(--gold-soft); }
.vh-result .reading-note { margin-top: 1.4rem; }
.vh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 1.4rem; }
@media (max-width: 760px) { .vh-split { grid-template-columns: 1fr; } .vh-score { flex-direction: column; text-align: center; } .vh-dir { font-size: .62rem; } .vh-chip { font-size: .66rem; } }

/* ---------- Astrology page: the planets and zodiac in the background ---------- */
.astro-bg { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.az { position: absolute; right: -22vmin; top: 50%; width: min(96vmin, 900px); translate: 0 -50%; opacity: .16; animation: azSpin 260s linear infinite; }
.az-l { fill: none; stroke: #f0c46a; stroke-width: .6; }
.az-l.thin { stroke-width: .3; stroke-dasharray: 1 2; }
.az-g path { fill: none; stroke: #ffe2a6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes azSpin { to { rotate: 360deg; } }
.ap { position: absolute; display: block; border-radius: 50%; opacity: .5; animation: apFloat 20s ease-in-out infinite; box-shadow: inset -9px -7px 16px rgba(0, 0, 0, .5), 0 0 26px rgba(240, 196, 106, .18); }
.ap-saturn { left: 5vw; top: 24vh; width: 64px; height: 64px; background: radial-gradient(circle at 34% 32%, #f8e6b4, #cfa45a 55%, #6e4b1c); }
.ap-saturn::before { content: ""; position: absolute; left: -38%; top: 38%; width: 176%; height: 24%; border-radius: 50%; border: 3px solid rgba(240, 214, 160, .75); border-top-color: transparent; transform: rotate(-16deg); }
.ap-jupiter { right: 9vw; bottom: 12vh; width: 92px; height: 92px; background: radial-gradient(circle at 34% 32%, rgba(255, 255, 255, .25), transparent 45%), repeating-linear-gradient(172deg, #ecd2ab 0 8px, #c3925f 8px 13px, #f3e1c6 13px 20px, #b07a4c 20px 23px); animation-duration: 26s; animation-delay: -8s; }
.ap-mars { left: 42vw; top: 9vh; width: 28px; height: 28px; background: radial-gradient(circle at 34% 32%, #ffab7e, #c64b2b 60%, #5a170c); animation-duration: 17s; animation-delay: -4s; }
.ap-venus { left: 16vw; bottom: 16vh; width: 24px; height: 24px; background: radial-gradient(circle at 34% 32%, #fffaf0, #ead9ad 60%, #8a7144); animation-duration: 15s; animation-delay: -11s; }
.ap-moon { right: 28vw; top: 14vh; width: 38px; height: 38px; background: radial-gradient(circle at 34% 32%, #f6f3ec, #cbc6ba 58%, #6b675f); animation-duration: 22s; animation-delay: -2s; }
@keyframes apFloat { 0%, 100% { translate: 0 0; } 33% { translate: 14px -18px; } 66% { translate: -12px 10px; } }
@media (max-width: 760px) { .az { width: 130vmin; right: -60vmin; opacity: .12; } .ap { transform: scale(.7); } .ap-mars, .ap-moon { display: none; } }
@media (prefers-reduced-motion: reduce) { .az, .ap { animation: none; } }

/* the help cards open their tool */
.card-try { display: inline-flex; margin-top: .9rem; color: var(--gold-soft); text-decoration: none; font-size: 1.04rem; font-weight: 700; border-bottom: 1px solid rgba(240, 196, 106, .45); }
.card-try:hover, .card-try:focus-visible { color: #fff3d6; border-color: var(--gold); outline: none; }

/* ---------- Free astrology tools (astro-tools.js) ---------- */
.astro-app { max-width: 1080px; margin: 2.4rem auto 0; scroll-margin-top: calc(var(--head) + 16px); }
.at { border: 1px solid rgba(240, 196, 106, .45); border-radius: 26px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .1), transparent 60%), linear-gradient(180deg, rgba(10, 40, 48, .92), rgba(4, 18, 24, .95)); box-shadow: 0 30px 60px -34px #000; overflow: hidden; }
.at-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; border-bottom: 1px solid rgba(240, 196, 106, .25); background: rgba(0, 0, 0, .18); }
.at-tabs button { flex: 1 1 auto; padding: .55em 1em; border: 1px solid rgba(240, 196, 106, .3); border-radius: 999px; background: none; color: #e9dfc7; cursor: pointer; font: 600 1.02rem "Cormorant Garamond", Georgia, serif; transition: background .2s, color .2s, border-color .2s; }
.at-tabs button:hover, .at-tabs button:focus-visible { border-color: var(--gold); color: #fff3d6; outline: none; }
.at-tabs button[aria-selected="true"] { border-color: transparent; background: linear-gradient(180deg, #ffe4a6, #e3aa50); color: #1b1205; }
.at-body { padding: clamp(18px, 3vw, 34px); }
.at-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.at-fields .field { margin: 0; }
.at-small { display: block; margin-top: .25rem; font-size: .88rem; font-style: italic; color: rgba(232, 223, 202, .6); }
.at-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.at-two fieldset { margin: 0; padding: 14px; border: 1px solid rgba(240, 196, 106, .25); border-radius: 16px; }
.at-two legend { padding: 0 .4em; font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.at-two .at-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.at-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 1.1rem; }
.at-actions .btn-sun { border: 0; cursor: pointer; font-family: inherit; }
.at-actions .form-error { margin: 0; }
.at-note { margin: .8rem 0 0; font-size: .98rem; font-style: italic; color: rgba(232, 223, 202, .6); }
.at-result { scroll-margin-top: calc(var(--head) + 16px); }
.at-result:not(:empty) { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(240, 196, 106, .25); animation: fadeUp .5s ease; }
.at-h { margin: 0 0 .6rem; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; color: #fbf2dd; }
.at-warn { margin: 0 0 1rem; padding: 10px 14px; border-radius: 12px; background: rgba(240, 196, 106, .08); border: 1px solid rgba(240, 196, 106, .3); font-size: 1rem; color: #f3e6c8; }
.at-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.at-chart { text-align: center; }
.kundli { display: block; width: 100%; max-width: 380px; margin: 0 auto; }
.kc-box { fill: rgba(255, 240, 205, .04); stroke: #f0c46a; stroke-width: 1.6; }
.kc-line { fill: none; stroke: #f0c46a; stroke-width: 1; opacity: .8; }
.kc-num { font: 600 10px Cinzel, Georgia, serif; fill: rgba(255, 220, 150, .7); }
.kc-pl { font: 700 12.5px "Cormorant Garamond", Georgia, serif; fill: #fbf2dd; }
.kc-as { fill: #ffd27a; }
.at-cap { margin: .5rem 0 0; font-size: .92rem; font-style: italic; color: rgba(232, 223, 202, .6); }
.at-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 1rem; }
.at-facts div { padding: 10px 14px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 12px; background: rgba(255, 255, 255, .035); }
.at-facts dt { font: 600 .58rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.at-facts dd { margin: .25rem 0 0; font-size: 1.08rem; line-height: 1.35; color: #f3e8d0; }
.at-p { margin: 0 0 .7rem; font-size: 1.12rem; line-height: 1.55; color: #e9dfc7; }
.at-p b { color: #fbeccb; }
.at-p a { color: var(--gold-soft); }
.at-more { margin-top: 1rem; }
.at-more summary { cursor: pointer; font: 600 .7rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.at-table { width: 100%; margin-top: .8rem; border-collapse: collapse; font-size: 1.02rem; color: #e9dfc7; }
.at-table th, .at-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(240, 196, 106, .14); }
.at-table thead th { font: 600 .58rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.at-table tbody th { color: #fbeccb; font-weight: 600; }
.at-doshas { display: grid; gap: 10px; margin: .4rem 0 0; padding: 0; list-style: none; }
.at-doshas li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(240, 196, 106, .2); background: rgba(255, 255, 255, .035); font-size: 1.04rem; line-height: 1.45; color: #e3d8bf; }
.at-doshas li > b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #1b1205; }
.at-doshas .is-on > b { background: #ff9c86; } .at-doshas .is-off > b { background: #8fe0a8; }
.at-doshas strong { color: #fbeccb; } .at-doshas em { font-style: normal; font-weight: 700; color: var(--gold-soft); }
.at-score { display: flex; align-items: center; gap: 20px; margin-bottom: 1rem; }
.at-score .vh-ring b { font-size: 2.2rem; }
.at-kicker { margin: 0; font: 600 .62rem Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.at-verdict { margin: .2em 0 .3em; font-size: 1.7rem; font-weight: 600; color: #fbf2dd; }
.at-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.at-dates li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid rgba(120, 210, 160, .35); border-radius: 14px; background: rgba(80, 170, 120, .08); }
.at-dates b { font-size: 1.15rem; color: #fbeccb; } .at-dates span { font-size: 1.02rem; color: #e3d8bf; } .at-dates small { font-size: .92rem; font-style: italic; color: rgba(232, 223, 202, .65); }
.at-today { margin-top: .4rem; }
.at-today .at-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .6rem; }
.at-result .page-actions { margin-top: 1.2rem; }
@media (max-width: 900px) { .at-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .at-split, .at-two { grid-template-columns: 1fr; } .at-today .at-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .at-fields, .at-two .at-fields, .at-facts, .at-dates { grid-template-columns: 1fr; } .at-tabs button { font-size: .95rem; padding: .45em .8em; } .at-score { flex-direction: column; text-align: center; } }
