/* Tarot Mitra: the styles every page shares (colours, header, buttons, section headings, cards, footer).
   Page-specific styles stay in each page (the home page keeps its own in index.html). */
:root { color-scheme: dark; --gold: #f0c46a; --gold-soft: #ffe2a6; --ink: #f3ead6; --head: 84px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: #03101a; font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 18px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
#nebula, #cosmos, #dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#nebula { z-index: 0; } #cosmos { z-index: 1; } #dust { z-index: 30; }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 95% 90% at 50% 45%, transparent 55%, rgba(1, 6, 10, .65) 100%); }
main { position: relative; z-index: 3; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; padding: .6em 1em; border-radius: 8px; background: var(--gold); color: #1b1205; }
.skip:focus { top: 10px; }
/* ---------- Header ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--head); display: flex; align-items: center; gap: clamp(10px, 2vw, 30px); padding-inline: clamp(16px, 3vw, 48px); background: linear-gradient(180deg, rgba(2, 12, 18, .82), rgba(2, 12, 18, .3)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(240, 196, 106, .3); transition: background .35s; }
.site-head.scrolled { background: rgba(2, 12, 18, .92); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); text-decoration: none; }
.brand svg { width: 56px; height: 40px; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
.brand b { font-size: clamp(1.5rem, 2.1vw, 2.1rem); font-weight: 600; letter-spacing: .01em; color: #fbf2dd; }
.brand:hover svg { transform: scale(1.15) rotate(-5deg); }
.brand-logo { display: block; height: 56px; width: auto; border-radius: 5px; box-shadow: 0 0 0 1px rgba(240, 196, 106, .5), 0 6px 18px -6px rgba(0, 0, 0, .7), 0 0 20px rgba(255, 190, 90, .2); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s; }   /* the Tarot Mitra gold plaque logo */
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { transform: scale(1.05); box-shadow: 0 0 0 1px rgba(240, 196, 106, .8), 0 8px 22px -6px rgba(0, 0, 0, .7), 0 0 28px rgba(255, 190, 90, .4); }
.foot-brand .brand-logo { height: 80px; }
@media (max-width: 1099px) { .site-head .brand-logo { height: 46px; } }
.main-nav { flex: 1; display: flex; align-items: center; gap: 16px; }
.nav-list { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 26px); margin: 0 auto; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; background: none; border: 0; cursor: pointer; color: #f1e7d0; text-decoration: none; white-space: nowrap; font: 600 clamp(1.02rem, 1.2vw, 1.22rem) "Cormorant Garamond", Georgia, serif; transition: transform .26s cubic-bezier(.2, .9, .3, 1.5), color .2s, text-shadow .2s; }
.nav-link svg { width: 10px; height: 10px; transition: transform .22s; }
.nav-link::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 4px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform .26s; }
.nav-link.is-current { color: var(--gold); }
.nav-link.is-current::after { transform: scaleX(1); }
.nav-list > li:hover > .nav-link, .nav-link:focus-visible { transform: scale(1.2); color: var(--gold-soft); text-shadow: 0 0 14px rgba(255, 190, 90, .9); outline: none; z-index: 2; }
.nav-list > li:hover > .nav-link::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.has-sub.open > .nav-link svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 50%; min-width: 240px; margin: 8px 0 0; padding: 10px; list-style: none; background: linear-gradient(180deg, rgba(6, 30, 38, .98), rgba(3, 14, 20, .98)); border: 1px solid rgba(240, 196, 106, .55); border-radius: 12px; box-shadow: 0 22px 44px -14px #000; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub.open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 8px 12px; border-radius: 7px; color: #f1e7d0; text-decoration: none; white-space: nowrap; font-size: 1.12rem; font-weight: 600; transform-origin: left center; transition: transform .22s cubic-bezier(.2, .9, .3, 1.5), color .2s, background .2s; }
.sub a:hover, .sub a:focus-visible { transform: scale(1.1); color: var(--gold-soft); background: rgba(240, 196, 106, .12); outline: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: .62em 1.25em; border: 1px solid var(--gold); border-radius: 999px; color: #fbe6b6; background: rgba(240, 196, 106, .06); text-decoration: none; white-space: nowrap; font: 600 clamp(1rem, 1.1vw, 1.12rem) "Cormorant Garamond", Georgia, serif; transition: transform .26s cubic-bezier(.2, .9, .3, 1.5), box-shadow .2s, background .2s; }
.nav-cta svg { width: 18px; height: 18px; }
.nav-cta:hover, .nav-cta:focus-visible { transform: scale(1.1); background: rgba(240, 196, 106, .16); box-shadow: 0 0 24px rgba(255, 190, 90, .55); outline: none; }
.menu-btn { display: none; flex: none; margin-left: auto; width: 46px; height: 46px; padding: 12px 10px; background: none; border: 1px solid rgba(240, 196, 106, .55); border-radius: 8px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 4px 0; background: var(--gold-soft); transition: transform .22s, opacity .22s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1100px) { .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .has-sub:hover > .nav-link svg { transform: rotate(180deg); } }
@media (max-width: 1099px) {
  :root { --head: 68px; }
  .brand svg { width: 46px; height: 34px; }
  .menu-btn { display: block; }
  .main-nav { position: fixed; top: var(--head); left: 0; right: 0; max-height: calc(100vh - var(--head)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 12px; padding: 10px 18px 22px; background: rgba(3, 14, 20, .98); border-bottom: 1px solid rgba(240, 196, 106, .4); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 6px; }
  .nav-list > li:hover > .nav-link, .nav-link:focus-visible { transform: none; }
  .sub { position: static; display: none; min-width: 0; margin: 0 0 6px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .sub::before { display: none; }
  .has-sub.open > .sub { display: block; transform: none; }
  .nav-cta { justify-content: center; }
}
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* ---------- Section headings ---------- */
.sec-head { text-align: center; padding-inline: 18px; }
.sec-head h2 { margin: .12em 0 .22em; font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 600; line-height: 1.12; color: #fbf2dd; text-wrap: balance; }
.sec-head p { margin: 0 auto; max-width: 40em; font-size: clamp(1.12rem, 1.4vw, 1.4rem); color: #e8dfca; }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; padding: .72em 1.8em; border: 1px solid var(--gold); border-radius: 999px; color: #fbe6b6; text-decoration: none; font-size: 1.3rem; font-weight: 600; background: rgba(240, 196, 106, .05); transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .25s; }
.btn-outline:hover, .btn-outline:focus-visible { transform: scale(1.08); box-shadow: 0 0 26px rgba(255, 190, 90, .55); outline: none; }
.ico .g { fill: none; stroke: url(#ig); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico .gf { fill: url(#ig); }
.ico .dk { fill: #062228; stroke: url(#ig); stroke-width: 2.4; }
.rv-card { position: relative; flex: 0 0 min(370px, 82vw); display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 30px 26px 22px; scroll-snap-align: start; border: 1px solid rgba(240, 196, 106, .3); border-radius: 20px; background: radial-gradient(ellipse at 0% 0%, rgba(40, 110, 130, .3), transparent 55%), linear-gradient(180deg, rgba(10, 40, 48, .8), rgba(4, 18, 24, .92)); box-shadow: 0 24px 40px -26px #000; transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), border-color .25s; }
.rv-card:hover { transform: translateY(-6px); border-color: rgba(240, 196, 106, .6); }
.rv-q { width: 34px; height: 26px; fill: url(#ig); opacity: .85; }
.rv-text { margin: 0; }
.rv-text p { margin: 0; font-size: 1.2rem; font-style: italic; line-height: 1.5; color: #f3e8cf; }
.rv-person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(240, 196, 106, .18); }
.rv-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #ffe4a6, #c58a36); color: #1b1205; font: 600 .95rem Cinzel, Georgia, serif; }
.rv-name { display: block; font-size: 1.14rem; font-weight: 700; color: #fbeccb; }
.rv-meta { display: block; font: .6rem Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 150, .75); }
.rv-sample { position: absolute; top: 14px; right: 14px; padding: .25em .7em; border: 1px dashed rgba(255, 220, 150, .6); border-radius: 999px; font: .55rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .85); }
.about-art { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin: 0 auto; }
.about-art::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 90, .22), rgba(255, 160, 70, .05) 60%, transparent); }
.about-art svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.about-art .spin { transform-box: view-box; transform-origin: 50% 50%; animation: turn 120s linear infinite; }
.about-art .spin.rev { animation-duration: 170s; animation-direction: reverse; }
.about-art .ln { fill: none; stroke: url(#ig); stroke-width: 1.2; }
.about-art .ln.dash { stroke-dasharray: 2 7; opacity: .7; }
.about-art .md { fill: rgba(6, 26, 32, .92); stroke: url(#ig); stroke-width: 1.2; }
.about-art .glyph { fill: none; stroke: url(#ig); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.about-art .lotus { fill: none; stroke: url(#ig); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255, 190, 90, .6)); }
.about-founder { display: flex; align-items: center; gap: 16px; max-width: 36em; margin: .3rem 0 1.4rem; padding: 16px 18px; border: 1px solid rgba(240, 196, 106, .3); border-radius: 16px; background: rgba(255, 255, 255, .035); text-align: left; }
.af-avatar { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(180deg, #ffe4a6, #c58a36); color: #1b1205; font: 600 1.05rem Cinzel, Georgia, serif; box-shadow: 0 0 22px rgba(255, 190, 90, .35); }
.af-photo { object-fit: cover; padding: 0; border: 2px solid rgba(240, 196, 106, .75); background: none; }   /* the founder's photo in place of initials */
.af-name { margin: 0; font-size: 1.28rem; font-weight: 700; color: #fbeccb; }
.af-role { margin: .1rem 0 0; font: .62rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.af-note { margin: .4rem 0 0; font-size: 1.06rem; line-height: 1.4; color: #e3d8bf; }
/* marks demo content, so it can never pass for the real thing */
.demo-tag { display: inline-block; margin-left: .5em; padding: .2em .65em; border: 1px dashed rgba(255, 220, 150, .6); border-radius: 999px; font: .54rem/1.4 Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 220, 150, .85); vertical-align: middle; white-space: nowrap; }
.foot-demo { margin: 0 0 .8rem !important; }
.foot-demo .demo-tag { margin-left: 0; }
[data-demo] { cursor: help; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 1.6rem 0; padding: 0; list-style: none; }
.about-facts li { padding: 16px 14px; border: 1px solid rgba(240, 196, 106, .25); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.about-facts b { display: block; font: 600 2.2rem/1 Cinzel, Georgia, serif; background: linear-gradient(180deg, #ffeab0, #d99c44); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.about-facts span { display: block; margin-top: .4rem; font-size: 1.02rem; line-height: 1.3; color: rgba(232, 223, 202, .78); }
.btn-sun { display: inline-flex; align-items: center; gap: 12px; padding: .72em 1.7em; border-radius: 999px; color: #1b1205; text-decoration: none; font-size: 1.22rem; font-weight: 700; background: linear-gradient(180deg, #ffe4a6, #e3aa50 55%, #c58a36); box-shadow: 0 10px 30px -10px rgba(255, 180, 80, .75), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .25s cubic-bezier(.2, .9, .3, 1.4), box-shadow .25s; }
.btn-sun svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.btn-sun:hover, .btn-sun:focus-visible { transform: scale(1.06); box-shadow: 0 14px 40px -8px rgba(255, 190, 90, .95); outline: none; }
.btn-sun:hover svg { transform: translateX(4px); }
/* ---------- Footer: highlights or registrations, five columns, and a bottom bar ---------- */
.site-foot { position: relative; padding: 0 clamp(18px, 5vw, 70px) 22px; border-top: 1px solid rgba(240, 196, 106, .3); background: linear-gradient(180deg, rgba(2, 10, 14, .55), rgba(2, 8, 12, .97)); }
.foot-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; max-width: 1240px; margin: 0 auto; padding: 40px 0 34px; border-bottom: 1px solid rgba(240, 196, 106, .16); }
.foot-badge { display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border: 1px solid rgba(240, 196, 106, .22); border-radius: 14px; background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s cubic-bezier(.2, .9, .3, 1.4); }
a.foot-badge:hover, a.foot-badge:focus-visible { transform: translateY(-3px); border-color: rgba(240, 196, 106, .6); outline: none; }
.fb-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; overflow: hidden; border-radius: 10px; background: rgba(240, 196, 106, .1); }
.fb-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fb-ico img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.foot-badge b { display: block; font-size: 1.06rem; font-weight: 700; color: #fbeccb; }
.foot-badge small { display: block; font-size: .92rem; color: rgba(232, 223, 202, .6); }
.foot-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1.2fr; gap: 36px; max-width: 1240px; margin: 0 auto; padding: 46px 0 40px; }
.site-foot h4 { margin: .4rem 0 1em; font: 600 .74rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot-brand p { margin: 1rem 0 1.2rem; max-width: 22em; font-size: 1.1rem; line-height: 1.5; color: #ddd3bd; }
.foot-col a { display: block; width: fit-content; padding: .3em 0; color: #e6dbc3; text-decoration: none; font-size: 1.08rem; transition: color .2s, translate .2s; }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--gold-soft); translate: 4px 0; outline: none; }
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.1rem; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(240, 196, 106, .35); border-radius: 50%; color: var(--gold-soft); transition: transform .25s cubic-bezier(.2, .9, .3, 1.5), background .25s; }
.foot-social a:hover, .foot-social a:focus-visible { transform: scale(1.12); background: rgba(240, 196, 106, .14); outline: none; }
.foot-social svg, .foot-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-contact { display: grid; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.foot-contact li, .foot-contact a { display: flex; align-items: center; gap: 10px; color: #e6dbc3; text-decoration: none; font-size: 1.05rem; }
.foot-contact svg { flex: none; color: var(--gold); }
.foot-contact a:hover { color: var(--gold-soft); }
.foot-book { font-size: 1.08rem; padding: .55em 1.4em; }
.foot-rashi { display: grid; grid-template-columns: repeat(4, minmax(0, 46px)); gap: 8px; }
.foot-rashi button { aspect-ratio: 1; padding: 9px; border: 1px solid rgba(240, 196, 106, .25); border-radius: 10px; background: rgba(255, 255, 255, .03); cursor: pointer; transition: transform .25s cubic-bezier(.2, .9, .3, 1.5), border-color .2s, background .2s; }
.foot-rashi button:hover, .foot-rashi button:focus-visible { transform: translateY(-3px); border-color: var(--gold); background: rgba(240, 196, 106, .12); outline: none; }
.foot-rashi svg { display: block; width: 100%; height: 100%; }
.foot-rashi .glyph { fill: none; stroke: url(#ig); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-small { margin: .8rem 0 0; font-size: .98rem; color: rgba(232, 223, 202, .6); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 1240px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(240, 196, 106, .16); }
.foot-bottom p { margin: 0; font-size: 1rem; color: rgba(230, 220, 195, .6); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom a { color: rgba(230, 220, 195, .7); text-decoration: none; font-size: 1rem; transition: color .2s; }
.foot-bottom a:hover, .foot-bottom a:focus-visible { color: var(--gold-soft); outline: none; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 70; max-width: calc(100vw - 32px); padding: .7em 1.2em; border-radius: 999px; background: rgba(3, 18, 24, .97); border: 1px solid rgba(240, 196, 106, .6); color: #ffeccb; font-size: 1.08rem; text-align: center; opacity: 0; transform: translate(-50%, 10px); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1099px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } .foot-badge { flex: 1 1 100%; } .foot-bottom { justify-content: center; text-align: center; } }
.rashi-chip, .sec-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .7rem; padding: .45em 1.15em; border: 1px solid rgba(240, 196, 106, .45); border-radius: 999px; background: rgba(240, 196, 106, .08); font: 600 .7rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.rashi-chip span, .sec-chip span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: livePulse 2.2s ease-out infinite; }
@media (max-width: 560px) { .sec-head .sec-chip { font-size: .86rem; letter-spacing: .16em; } }   /* long labels stay on one line on phones */
@keyframes livePulse { from { box-shadow: 0 0 0 0 rgba(240, 196, 106, .65); } to { box-shadow: 0 0 0 10px rgba(240, 196, 106, 0); } }
.sec-head h2 em, .about-copy 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; }
/* the services menu: Reiki and Lama Fera sit under Healing */
.sub-kids { margin: 0 0 4px 16px; padding: 0 0 0 8px; list-style: none; border-left: 1px solid rgba(240, 196, 106, .35); }
.sub .sub-kids a { padding: 6px 12px; font-size: 1.04rem; color: #e3d8bf; }
.foot-col a.foot-kid { position: relative; padding-left: 16px; font-size: 1rem; color: #d9cfb8; }
.foot-col a.foot-kid::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 1px; background: rgba(240, 196, 106, .55); }

/* ---------- Ask the Cards: shuffle the deck and draw a card (draw.js) ---------- */
.draw-sec { position: relative; padding: 12vh clamp(16px, 4vw, 48px) 6vh; }
.draw-app { --cw: clamp(58px, 8.6vw, 112px); max-width: 1100px; margin: 2.4rem auto 0; }
.draw-table { position: relative; height: 480px; overflow: hidden; border: 1px solid rgba(240, 196, 106, .3); border-radius: 28px; background: radial-gradient(ellipse at 50% 45%, rgba(18, 66, 74, .6), rgba(3, 14, 20, .88) 72%); box-shadow: inset 0 0 90px rgba(0, 0, 0, .6), 0 30px 60px -30px #000; touch-action: manipulation; }
.draw-table { transition: height .7s cubic-bezier(.2, .8, .2, 1); }   /* it grows to fit the reading */
.draw-table::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(92%, 520px); aspect-ratio: 1; background: url("assets/hero-wheel.webp") center / contain no-repeat; opacity: .13; translate: -50% -50%; animation: drawSpin 160s linear infinite; pointer-events: none; transition: left .7s cubic-bezier(.2, .8, .2, 1), top .7s cubic-bezier(.2, .8, .2, 1); }
.draw-table.reading::before { left: var(--wx, 50%); top: var(--wy, 50%); }   /* the wheel stays behind the revealed card */
.draw-table.instant, .draw-table.instant::before { transition: none; }
@keyframes drawSpin { to { rotate: 360deg; } }
.dcard { position: absolute; left: 0; top: 0; width: var(--cw); aspect-ratio: 7 / 12; padding: 0; border: 0; background: none; cursor: default; perspective: 900px; transform-origin: 50% 50%; transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .45s ease; -webkit-tap-highlight-color: transparent; }
.draw-table.slow .dcard { transition-duration: .7s, .5s; }
.draw-table.instant .dcard { transition: none !important; }
.dcard-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; }
.dcard.flipped .dcard-in { transform: rotateY(180deg); }
.dside { position: absolute; inset: 0; border-radius: 6.4% / 3.75%; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .85); }
.dside .tcard { width: 100%; height: 100%; }
.dface { transform: rotateY(180deg); }
.dcard.rev .dface { transform: rotateY(180deg) rotate(180deg); }
.draw-table.spread .dcard { cursor: pointer; }
.draw-table.spread .dcard:hover .dcard-in, .draw-table.spread .dcard:focus-visible .dcard-in { translate: 0 -16px; }
.dcard:focus-visible { outline: none; }
.dcard:focus-visible .dside { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.dcard.picked .dside { box-shadow: 0 0 0 1px rgba(240, 196, 106, .6), 0 0 40px rgba(255, 190, 90, .4), 0 18px 40px -12px #000; }
.draw-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, .82); }
.draw-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 1rem; }
.draw-actions button { cursor: pointer; font-family: inherit; }
.draw-actions .btn-sun { border: 0; }
.draw-actions .btn-outline { font-size: 1.2rem; padding: .66em 1.6em; }
.draw-actions button:disabled { cursor: default; opacity: .55; transform: none; box-shadow: none; }
/* the reading sits on the table beside the revealed card (below it on narrow tables); draw.js places it */
.draw-read { position: absolute; z-index: 120; opacity: 0; visibility: hidden; translate: 0 18px; transition: opacity .5s ease, translate .5s ease, visibility 0s linear .5s; }
.draw-read.show { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .7s ease .1s, translate .8s cubic-bezier(.2, .8, .2, 1) .1s, visibility 0s; }
.draw-read .dread { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; }
.dread { padding: clamp(22px, 3vw, 40px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 22px; background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .14), transparent 60%), linear-gradient(180deg, rgba(8, 32, 40, .94), rgba(3, 14, 20, .97)); box-shadow: 0 30px 60px -30px #000; animation: fadeUp .6s ease; }
.dread-pos { margin: 0; font: 600 .66rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.dread h3 { margin: .2em 0 .1em; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.1; color: #fbf2dd; }
.dread-rev { display: inline-block; margin-left: .6em; padding: .25em .75em; border: 1px solid rgba(255, 175, 145, .6); border-radius: 999px; vertical-align: middle; font: 600 .56rem Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; color: #ffcdb9; }
.dread-msg { margin: 0 0 .8rem; font-size: 1.3rem; font-style: italic; color: var(--gold-soft); }
.dread-keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1rem; padding: 0; list-style: none; }
.dread-keys li { padding: .3em .8em; border: 1px solid rgba(240, 196, 106, .45); border-radius: 999px; background: rgba(240, 196, 106, .08); font: .6rem Cinzel, Georgia, serif; letter-spacing: .1em; text-transform: uppercase; color: #ffe2a8; }
.dread-main { margin: 0; font-size: clamp(1.18rem, 1.4vw, 1.32rem); line-height: 1.55; color: #f3e8d0; }
.dread-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 1.2rem 0 0; }
.dread-areas div { padding: 14px 16px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.dread-areas dt { font: 600 .62rem Cinzel, Georgia, serif; letter-spacing: .17em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.dread-areas dd { margin: .35rem 0 0; font-size: 1.08rem; line-height: 1.4; color: #eadfc6; }
.dread-meta { margin: 1rem 0 0; font: .6rem/2 Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 150, .7); }
.dread-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(240, 196, 106, .2); }
.dread-end p { flex: 1 1 280px; margin: 0; font-size: 1.05rem; font-style: italic; color: rgba(232, 223, 202, .72); }
.dread-end .btn-outline { font-size: 1.1rem; padding: .6em 1.5em; }
@media (prefers-reduced-motion: reduce) { .dcard, .dcard-in { transition: none !important; } .draw-table::before { animation: none; } }

/* ---------- The tarot cards, drawn in the site's colours (tarot-art.js) ---------- */
.tcard { display: block; width: 100%; height: auto; aspect-ratio: 7 / 12; }
.tcard .te { fill: none; stroke: url(#tmGoldE); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tcard .tt { fill: none; stroke: url(#tmGoldE); stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.tcard .tf { fill: url(#tmGoldE); }

/* a short note under a general reading (rashifal, a drawn card): it is general, a consultation is personal */
.reading-note { margin: 1rem 0 0; padding: .7em 1em; border-left: 2px solid rgba(240, 196, 106, .6); border-radius: 0 10px 10px 0; background: rgba(240, 196, 106, .06); font-size: 1rem; font-style: italic; line-height: 1.45; color: rgba(236, 226, 204, .82); }

/* ---------- Daily Rashifal (rashifal.js): the home page and the Astrology page ---------- */
.rashi { position: relative; padding: 10vh clamp(16px, 4vw, 48px) 12vh; }
.rashi-head .rashi-date { margin-top: .2rem; font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; color: #f3e6c8; }
.rashi-head .rashi-note { margin-top: .5rem; font-size: 1.05rem; color: rgba(232, 223, 202, .7); }
.rashi-next { white-space: nowrap; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.rashi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); max-width: 1180px; margin: 2.8rem auto 0; }
.rashi-card { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 18px 6px 15px; border: 1px solid rgba(240, 196, 106, .28); border-radius: 16px; background: linear-gradient(180deg, rgba(18, 60, 72, .74), rgba(10, 36, 46, .86)); color: #f1e7d0; cursor: pointer; font: inherit; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), border-color .25s, box-shadow .25s; }
.rashi-card:hover, .rashi-card:focus-visible { transform: translateY(-5px); border-color: rgba(240, 196, 106, .75); box-shadow: 0 16px 34px -14px #000, 0 0 26px rgba(255, 190, 90, .22); outline: none; }
.rashi-card[aria-pressed="true"] { border-color: var(--gold); background: radial-gradient(ellipse at 50% 0%, rgba(240, 196, 106, .16), transparent 60%), linear-gradient(180deg, rgba(26, 62, 102, .9), rgba(12, 26, 52, .95)); box-shadow: 0 0 0 1px rgba(240, 196, 106, .5), 0 0 30px rgba(255, 190, 90, .3); }
.rashi-medal { display: block; width: clamp(50px, 5vw, 70px); aspect-ratio: 1; margin-bottom: 6px; transition: transform .5s cubic-bezier(.2, .9, .3, 1.4); }
.rashi-card:hover .rashi-medal { transform: rotate(-8deg) scale(1.06); }
.rashi-medal .ring { fill: rgba(240, 196, 106, .07); stroke: url(#ig); stroke-width: 1.5; }
.rashi-medal .ring2 { fill: none; stroke: url(#ig); stroke-width: .8; stroke-dasharray: 1 3; opacity: .75; }
.rashi-medal .glyph { fill: none; stroke: url(#ig); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.rashi-en { font-size: 1.12rem; font-weight: 600; color: #fbeccb; }
.rashi-hi { font: .98rem "Tiro Devanagari Hindi", "Nirmala UI", serif; color: rgba(240, 222, 186, .72); }
.rashi-card[aria-pressed="true"] .rashi-en { color: var(--gold-soft); }
.rashi-read { max-width: 1180px; margin: 2.2rem auto 0; scroll-margin: calc(var(--head) + 20px); }
.rashi-hint { margin: 0; text-align: center; font-size: 1.15rem; font-style: italic; color: rgba(232, 223, 202, .62); }
.rashi-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); padding: clamp(20px, 3vw, 38px); border: 1px solid rgba(240, 196, 106, .45); border-radius: 20px; background: radial-gradient(ellipse at 12% 0%, rgba(40, 110, 130, .32), transparent 60%), linear-gradient(180deg, rgba(16, 52, 62, .94), rgba(10, 34, 46, .96)); box-shadow: 0 30px 60px -30px #000; animation: fadeUp .6s ease; }
.rashi-side { width: clamp(150px, 15vw, 200px); text-align: center; }
.rashi-side .rashi-medal { width: 100%; max-width: 130px; margin: 0 auto; }
.rashi-side h3 { margin: .5rem 0 0; font-size: 2rem; font-weight: 600; line-height: 1; color: #fbeccb; }
.rashi-side .rashi-hi { font-size: 1.2rem; }
.rashi-meta { margin: .8rem 0 0; font: .64rem/2 Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 220, 150, .78); }
.rashi-stars { display: block; margin-top: .3rem; font-size: 1.15rem; letter-spacing: .18em; color: var(--gold); }
.rashi-main h4 { margin: 0; font: 600 .72rem Cinzel, Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.rashi-text { margin: .55rem 0 0; font-size: clamp(1.22rem, 1.5vw, 1.42rem); line-height: 1.45; color: #f6ead2; }
.rashi-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 1.3rem 0 0; }
.rashi-areas div { padding: 14px 16px; border: 1px solid rgba(240, 196, 106, .2); border-radius: 14px; background: rgba(255, 255, 255, .035); }
.rashi-areas dt, .rashi-lucky b { font: 600 .64rem Cinzel, Georgia, serif; letter-spacing: .17em; text-transform: uppercase; color: rgba(255, 220, 150, .86); }
.rashi-areas dd { margin: .35rem 0 0; font-size: 1.08rem; line-height: 1.4; color: #eadfc6; }
.rashi-lucky { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 1.2rem 0 0; font-size: 1.1rem; color: #eadfc6; }
.rashi-lucky b { margin-right: .6em; }
.rashi-swatch { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; vertical-align: -2px; }
.rashi-remedy { margin: 1.1rem 0 0; padding: 12px 16px; border-left: 2px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(240, 196, 106, .06); font-size: 1.1rem; color: #f3e6c8; }
.rashi-remedy b { color: var(--gold-soft); }
.rashi-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.3rem; }
.rashi-actions .btn-outline { font-size: 1.1rem; padding: .6em 1.5em; }
@media (max-width: 1099px) { .rashi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rashi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rashi-panel { grid-template-columns: 1fr; } .rashi-side { width: auto; } .rashi-areas { grid-template-columns: 1fr; } }
