/* Final material and spacing pass. The existing Indian type families and artwork remain. */
:root{--finish-edge:#d9b87930;--finish-shadow:0 18px 48px #03071138;--finish-soft-shadow:0 8px 24px #03071124;--finish-control:#101a2ce8;--finish-control-hover:#202d42;--finish-label:#c4cfdd}
html[data-theme=light]{--finish-edge:#95713b40;--finish-shadow:0 18px 48px #72553612;--finish-soft-shadow:0 8px 24px #7255360d;--finish-control:#fffdf8ed;--finish-control-hover:#eee3d0;--finish-label:#425364}

/* One continuous landscape: no separate rectangular matte behind the map. */
.hero.spiritual-section{--section-veil:linear-gradient(90deg,#090e1bef 0%,#090e1be0 25%,#090e1b86 49%,#090e1b30 77%,#090e1b55),linear-gradient(180deg,#090e1b9c,transparent 39%,#090e1b4a)}
.astrology-map{position:relative;isolation:isolate}
.astrology-map::before{content:none}
.hero.spiritual-section .astrology-map .cosmos:before{content:none}
.hero.spiritual-section .astrology-map .cosmos,html[data-theme=light] .hero.spiritual-section .astrology-map .cosmos{background:transparent}
.astrology-map .map-toolbar{background:linear-gradient(100deg,#0d1626e6,#121e31e6);border:1px solid #d9b87920;border-radius:12px;box-shadow:0 5px 18px #00000012;padding-inline:10px}
.astrology-map .map-help{color:#bac6d6}
:root .astrology-map .graha-button{background:var(--finish-control);border-color:var(--finish-edge);box-shadow:none;transition:background .2s,border-color .2s,color .2s}
:root .astrology-map .graha-button:hover{background:var(--finish-control-hover);border-color:var(--gold)}
:root .astrology-map .graha-button[aria-pressed=true]{background:#483d29;color:#f6dfb0;border-color:#dbbb7a;box-shadow:inset 0 1px 0 #ffe7b526,0 2px 9px #00000012}
.astrology-map #graha-description,html:not([lang=en]) .astrology-map #graha-description{background:#0e1829ed;border:1px solid #d9b8791f;border-radius:10px;color:#c4cfdd;padding-inline:14px}
.astrology-map .map-note{color:#b4c0d1;text-shadow:0 1px 5px #060b15}
html[data-theme=light] .hero.spiritual-section{--section-veil:linear-gradient(90deg,#f7f3ebf5 0%,#f7f3ebef 24%,#f7f3ebad 46%,#f7f3eb24 75%,#f7f3eb33),linear-gradient(180deg,#f7f3ebc2,transparent 37%,#f7f3eb4d)}
html[data-theme=light] .astrology-map .map-toolbar{background:linear-gradient(100deg,#fffdf8f0,#f3e9d9ed);border-color:#95713b30;box-shadow:0 5px 18px #79562908}
html[data-theme=light] .astrology-map .map-help{color:#566577}
html[data-theme=light] .astrology-map .graha-button[aria-pressed=true]{background:#ebdaba;color:#573b17;border-color:#9a753b;box-shadow:inset 0 1px 0 #fff9,0 2px 9px #7053290a}
html[data-theme=light] .astrology-map #graha-description{background:#fffdf8f0;border-color:#95713b30;color:#425364}
html[data-theme=light] .astrology-map .map-note{color:#425364;text-shadow:0 1px 5px #fffdf9}

/* A larger instrument, with its invitation in the open sky at its side. */
.astrology-map .cosmos{height:clamp(330px,calc((100svh - 280px) * 1.1),572px)}

@media(max-width:700px){.astrology-map .cosmos{height:calc(clamp(310px,78vw,420px) + 44px)}}
@media(max-width:460px){.astrology-map .cosmos{height:calc(clamp(290px,86vw,360px) + 44px)}}

/* A quieter, consistent finish for the navigation and primary invitations. */
.site-header{background:linear-gradient(180deg,#080e1a59,transparent)}
.header-inner nav a{position:relative;text-underline-offset:7px;transition:color .2s,text-decoration-color .2s}
.header-inner nav a:hover{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--gold)}
.brand img{box-shadow:0 3px 18px #04091420}
:root .header-inner :is(.language-switch select,.theme-toggle,.menu-toggle){border-color:#d9b87959;background:#101a2ce8;box-shadow:inset 0 1px 0 #ffffff08,0 3px 12px #00000010}
:root body button[data-get-app]{box-shadow:inset 0 1px 0 #fff6,0 7px 22px #bb935527;border-radius:11px}
:root body button[data-get-app]:hover{box-shadow:inset 0 1px 0 #fff7,0 10px 28px #bb93553d;transform:translateY(-2px)}
:root body button[data-get-app]:active{box-shadow:inset 0 1px 3px #5f421d30,0 3px 10px #bb935525;transform:translateY(0)}
:root .hero-copy .counsel-note{background:#111c2ddb;border-color:#d9b87935;box-shadow:var(--finish-soft-shadow);border-radius:12px}
html[data-theme=light] .site-header{background:linear-gradient(180deg,#fffdf940,transparent)}
html[data-theme=light] .header-inner :is(.language-switch select,.theme-toggle,.menu-toggle){border-color:#9b7b4e66;background:#fffdf9ed;box-shadow:inset 0 1px 0 #fff9,0 3px 12px #7155340a}
html[data-theme=light] body button[data-get-app]{box-shadow:inset 0 1px 0 #fff3,0 7px 22px #79552120}
html[data-theme=light] body button[data-get-app]:hover{box-shadow:inset 0 1px 0 #fff4,0 10px 28px #79552130}
html[data-theme=light] body button[data-get-app]:active{box-shadow:inset 0 1px 3px #40230830,0 3px 10px #79552115}
html[data-theme=light] .hero-copy .counsel-note{background:#fffdf9e3;border-color:#a6895b4d;box-shadow:var(--finish-soft-shadow)}

/* Consistent section rhythm and surfaces, without replacing the mythology. */
.section{padding-block:clamp(78px,7.1vw,106px)}
.section-heading h2,.kingdom-copy h2,.chanakya-copy h2,.sim-heading h2,.final-cta h2{text-wrap:balance}
.section-heading>p:last-child,.sim-heading>p:last-child{max-width:620px;margin-inline:auto;text-wrap:pretty}
:root body :is(.kingdom-display,.readings-layout,.sim-shell,.chat-preview){border-radius:18px;border-color:var(--finish-edge);box-shadow:var(--finish-shadow)}
:root body :is(.journey-invitation,.sim-insight){border-color:var(--finish-edge);box-shadow:var(--finish-soft-shadow)}
.province-grid{gap:10px}
:root .province-button{border-radius:12px;border-color:var(--finish-edge);transition:background .2s,border-color .2s,box-shadow .2s}
:root .province-button:hover{border-color:var(--gold);box-shadow:0 5px 16px #00000012}
.province-icon{border-radius:50%;background:radial-gradient(circle,#d9b87912,transparent 72%)}
.reading-tab{border-radius:0;transition:background .2s,color .2s}
:root .reading-tab[aria-selected=true]{box-shadow:inset 3px 0 var(--gold),inset 0 0 32px #d9b8790a}
.reading-text{border-top-color:var(--finish-edge)}
.reading-text li{line-height:1.65}
.sim-tabs [role=tab]{transition:background .2s,color .2s,box-shadow .2s}
.sim-tabs [role=tab][aria-selected=true] .sim-tab-number{background:#d9b87917;border-color:#d9b87999}
.sim-number-card{border-radius:12px}
.sim-panel :is(input[type=date],textarea){border-radius:10px}
.chat-question{border-radius:12px 12px 3px 12px}
.chat-response{gap:16px}
.prompt-chips{gap:8px;flex-wrap:wrap}
.prompt-chips button{border-radius:18px}
.how-section.spiritual-section .steps article{border-top-color:#d9b8796b;border-radius:14px 14px 0 0;padding:26px 22px 20px;background:linear-gradient(180deg,#111c2acc,#0c152366 78%,transparent)}
.steps h3{margin-top:16px}
.portrait-core{box-shadow:0 15px 50px #02061438,0 0 0 9px #d9b87905,0 0 0 10px #d9b87938}
.portrait-brand-seal{box-shadow:0 8px 25px #05080f66}
.story-content>p,.reading-text>p,.journey-invitation-copy{text-wrap:pretty}
html[data-theme=light] .sim-tabs [role=tab][aria-selected=true] .sim-tab-number{background:#d6bc8b30;border-color:#94713d99}
html[data-theme=light] .how-section.spiritual-section .steps article{border-top-color:#94713d7a;background:linear-gradient(180deg,#fffdf9e0,#fffdf999 78%,transparent)}
html[data-theme=light] .portrait-core{box-shadow:0 15px 50px #72553618,0 0 0 9px #98744408,0 0 0 10px #98744438}

@media(min-width:701px){
 .section-heading{margin-bottom:42px}
 .story-content{padding-block:54px}
}
@media(min-width:701px) and (max-height:820px){
 .astrology-map .cosmos{height:clamp(308px,calc((100svh - 340px) * 1.1),528px)}
}
@media(max-width:1050px){
 .header-inner nav{backdrop-filter:blur(16px)}
 .province-grid{gap:7px}
}
@media(max-width:700px){
 .hero.spiritual-section{--section-veil:linear-gradient(180deg,#090e1bf2,#090e1bdf 32%,#090e1b87 56%,#090e1b63 78%,#090e1bb5)}
 html[data-theme=light] .hero.spiritual-section{--section-veil:linear-gradient(180deg,#f7f3ebf2,#f7f3ebe6 32%,#f7f3eb94 55%,#f7f3eb52 76%,#f7f3eba6)}
 .astrology-map::before{inset:0 -5% -2%}
 .astrology-map .map-toolbar{padding-inline:8px}
 .astrology-map .map-note{padding-inline:4px}
 .section{padding-block:68px}
 .section-heading{margin-bottom:30px}
 :root body :is(.kingdom-display,.readings-layout,.sim-shell,.chat-preview){border-radius:15px}
 .province-grid{gap:8px}
 .journey-invitation{margin-bottom:0}
 :root .reading-tab[aria-selected=true]{box-shadow:inset 0 -3px var(--gold),inset 0 0 32px #d9b8790a}
 .how-section.spiritual-section .steps article{padding:24px 18px 22px 65px}
 .steps article>span{left:18px;top:24px}
 .steps h3{margin-top:0}
 .footer-bottom{row-gap:18px}
 .mobile-dock{border-top-color:var(--finish-edge);box-shadow:0 -8px 30px #0307111f}
 :root .mobile-dock button[data-get-app]:hover{transform:none}
}
@media(max-width:359px){
 .astrology-map .map-toolbar{padding-inline:6px}
 .astrology-map .map-controls{gap:6px}
 .province-grid{gap:6px}
 .how-section.spiritual-section .steps article{padding-left:60px}
}
@media(prefers-reduced-motion:reduce){
 :root body button[data-get-app]:hover{transform:none}
 .header-inner nav a,.province-button,.reading-tab,.sim-tabs [role=tab],.astrology-map .graha-button{transition:none}
}
body.motion-paused :is(.header-inner nav a,.province-button,.reading-tab,.sim-tabs [role=tab],.astrology-map .graha-button){transition:none}
@media(forced-colors:active){
 .astrology-map::before{display:none}
 :root body button[data-get-app]{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}
 :root .astrology-map :is(.map-toolbar,#graha-description){background:Canvas;color:CanvasText;border-color:CanvasText}
 :root .astrology-map :is(.map-note,.map-help){color:CanvasText;text-shadow:none}
 :root .astrology-map .graha-button[aria-pressed=true]{background:Highlight;color:HighlightText;border-color:Highlight;box-shadow:none}
 :root body :is(.kingdom-display,.readings-layout,.sim-shell,.chat-preview,.journey-invitation,.sim-insight){border-color:CanvasText;box-shadow:none}
}
