/* Sandalwood & Saffron — a quiet, reading-first identity. */
:root{--paper:#faf6ed;--panel:#fffdf8;--ink:#302b25;--muted:#706355;--maroon:#93401f;--accent:#a94720;--gold:#9a713a;--line:#e3d4bd;--soft:#f3ebdc;--shadow:0 8px 28px #58422208}
:root[data-theme=dark]{--paper:#231f1b;--panel:#2d2822;--ink:#f5ecdf;--muted:#cbbda9;--maroon:#f0bc93;--accent:#efad7c;--gold:#cba46e;--line:#625340;--soft:#352e26}
body{font-family:Arial,'BhaktiDeva',sans-serif;line-height:1.65}h1,h2,h3{font-family:Georgia,'BhaktiDeva',serif;font-weight:400;letter-spacing:-.025em;color:var(--ink)}html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] h3{font-family:'BhaktiDeva',sans-serif;letter-spacing:0}h1{line-height:1.15}p{color:var(--muted)}a{color:var(--maroon)}#header{background:var(--paper);border-top:3px double var(--gold);box-shadow:none}.header-inner{max-width:1320px;min-height:88px;padding:12px 28px}.brand>.icon{width:40px;height:40px;color:var(--accent);stroke-width:1.1}.brand-word.brand-global{font-size:25px;letter-spacing:1.4px}.brand small{font-size:9px;letter-spacing:1.1px}.desktop-nav{gap:26px}.desktop-nav a{font-size:14px}.language-button{border:0;background:transparent}#main{max-width:1280px;padding:28px 28px 64px}button,.button,input,select{min-height:44px}.button{border-radius:6px;font-size:14px;padding:13px 21px}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.secondary{background:var(--panel);color:var(--maroon)}.eyebrow{font-size:11px;font-weight:500;letter-spacing:2px;color:var(--accent)}.sandalwood-hero{position:relative;isolation:isolate;min-height:530px;display:flex;align-items:center;border-bottom:1px solid var(--line);overflow:hidden;margin:-28px -28px 0;padding:60px 40px}.heritage-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.sandalwood-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#faf6edf5 0%,#faf6edda 32%,#faf6ed00 68%)}.heritage-copy{width:54%;max-width:610px}.heritage-copy h1{font-size:clamp(42px,4.3vw,66px);margin:18px 0;color:#302b25}.heritage-copy>p{font:20px/1.6 Georgia,serif;color:#514538;max-width:450px}.heritage-copy .search-form{margin:25px 0 18px;max-width:480px;background:#fffdf8ed;border:1px solid #bba88c;box-shadow:none;border-radius:6px}.hero-actions{gap:10px}.three-paths{display:grid;grid-template-columns:repeat(3,1fr);padding:35px 0;border-bottom:1px solid var(--line);margin-bottom:42px}.three-paths>a{display:flex;gap:19px;padding:6px 28px;text-decoration:none;border-right:1px solid var(--line)}.three-paths>a:first-child{padding-left:5px}.three-paths>a:last-child{border:0}.three-paths .icon{width:46px;height:46px;flex-shrink:0;color:var(--gold);stroke-width:1}.three-paths h2{font-size:25px;line-height:1.25;margin:8px 0}.three-paths p{font-size:14px;margin:10px 0}.path-arrow{display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid var(--gold);border-radius:50%}.section-head{align-items:end;margin:35px 0 23px}.section-head h2{font-size:34px;margin:5px 0}.section-head>a{font-size:14px}.home-deities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.home-deities>a{text-decoration:none;border:1px solid var(--line);padding:7px 7px 15px;border-radius:6px;background:var(--panel)}.home-deities img{display:block;width:100%;height:230px;object-fit:cover;object-position:50% 22%;border-radius:3px}.home-deities h3{font-size:24px;margin:12px 9px 2px}.home-deities span{font-size:12px;margin-left:9px}.daily-invitation{display:grid;grid-template-columns:1.3fr 1fr;gap:55px;background:var(--soft);padding:35px 40px;margin-top:48px;border-radius:6px}.daily-invitation h2{font-size:34px;margin:10px 0}.daily-invitation .icon{color:var(--gold);width:30px;height:30px;margin-bottom:10px}.daily-links{display:flex;flex-direction:column;justify-content:center}.daily-links a{padding:15px 0;border-bottom:1px solid var(--line);text-decoration:none}.continue-reading{display:flex;align-items:center;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line);background:var(--soft);text-decoration:none}.continue-reading>.icon:last-child{margin-left:auto}.page-heading{padding:18px 0 20px}.page-heading h1{font-size:clamp(34px,4vw,48px)}.explore-card,.text-card,.article-card,.panel,.book-card,.temple-card{border-radius:7px;box-shadow:none}.explore-card h2{font-size:26px}.grantha-card{padding-bottom:18px;border:1px solid var(--line);border-radius:7px;overflow:hidden}.grantha-card .text-card{border:0}.grantha-card>p,.grantha-card>.badge{margin:10px 20px}.grantha-card>p{font-size:13px}.chapter-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;margin:25px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.whole-text{width:100%;text-align:center}.reader-context{font-size:13px}.reader-tabs{flex-wrap:wrap}.reader-tab{font-size:13px}.reader-toolbar{flex-wrap:wrap}.reader-main{min-width:0}.verse{padding:28px 18px}.verse-text{line-height:1.95}.reader-sidebar{max-height:calc(100vh - 140px);overflow:auto}.reader-end h3{font-size:25px}.correction-link{display:inline-block;font-size:13px;margin:12px 0}.feedback-form{display:grid;gap:20px;margin-top:35px}.feedback-form label{display:grid;gap:8px;font-size:14px}.feedback-form input,.feedback-form textarea,.feedback-form select{width:100%;padding:12px;border:1px solid var(--gold);border-radius:5px;background:var(--panel);color:var(--ink);font:inherit}.feedback-form .consent{display:flex;align-items:center}.consent input{width:22px;flex-shrink:0}.feedback-form .honeypot{display:none}.feedback-form button{justify-self:start}.help-faq details{border-bottom:1px solid var(--line);padding:18px 0}.help-faq summary{cursor:pointer;min-height:30px}.help-faq p{font-size:15px}.feedback-form button:disabled{opacity:.6}.help-page{max-width:760px}#footer{margin-top:0;padding:35px 20px;border-top:3px double var(--line);font-size:12px}#footer>div{margin:12px 0}.contents-link{min-height:44px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
:root[data-theme=dark] .sandalwood-hero:after{background:linear-gradient(90deg,#231f1bf8 0%,#231f1bd9 38%,#231f1b40 100%)}:root[data-theme=dark] .heritage-copy h1,:root[data-theme=dark] .heritage-copy>p{color:var(--ink)}:root[data-theme=dark] .heritage-copy .search-form{background:var(--panel)}:root[data-theme=dark] .button.primary{color:#231f1b}
@media(max-width:1000px){.header-inner{padding:10px 20px}.desktop-nav{gap:15px}.brand small{display:none}.sandalwood-hero{padding:42px 28px;min-height:480px}.heritage-copy{width:60%}.three-paths>a{padding:4px 15px}.three-paths .icon{width:30px;height:30px}.home-deities img{height:200px}.daily-invitation{gap:25px}}
@media(max-width:700px){#main{padding:18px 18px 85px}.header-inner{min-height:72px;padding:12px 18px}.brand-word.brand-global{font-size:21px;letter-spacing:.6px}.brand>.icon{width:30px;height:30px}.language-button{font-size:11px;padding:6px}.sandalwood-hero{margin:-18px -18px 0;padding:250px 22px 28px;min-height:0}.heritage-art{height:300px;object-position:75% 45%}.sandalwood-hero:after{background:linear-gradient(0deg,var(--paper) 0%,var(--paper) 48%,#faf6ed00 77%)}.heritage-copy{width:100%;max-width:none}.heritage-copy h1{font-size:43px;margin:10px 0 15px}.heritage-copy>p{font-size:18px}.heritage-copy .search-form{margin:22px 0 16px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .button{font-size:12px;padding:12px 8px;justify-content:center}.three-paths{grid-template-columns:1fr;padding:12px 0;margin-bottom:28px}.three-paths>a,.three-paths>a:first-child{border:0;border-bottom:1px solid var(--line);padding:23px 4px;gap:22px}.three-paths h2{font-size:25px}.three-paths .icon{width:40px;height:40px;margin-top:5px}.three-paths p{margin:7px 0}.path-arrow{display:none}.home-deities{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-deities img{height:200px}.home-deities h3{font-size:22px}.section-head h2{font-size:29px}.section-head>a{font-size:12px;white-space:nowrap}.daily-invitation{grid-template-columns:1fr;padding:27px 22px;gap:10px;margin-top:30px}.daily-invitation h2{font-size:30px}.chapter-pager{gap:8px}.chapter-pager .button{font-size:12px;padding:10px}.reader-tab{font-size:11px;padding:10px}.reader-toolbar{position:static}.reader-page .reader-main{width:100%}.verse{padding:23px 5px}#mobile-nav{background:var(--panel);border-top:1px solid var(--line)}#mobile-nav a{font-size:10px;padding:10px 4px;min-height:60px}#mobile-nav a.active{color:var(--accent)}:root[data-theme=dark] .sandalwood-hero:after{background:linear-gradient(0deg,#231f1b 0%,#231f1b 48%,#231f1b00 85%)}.continue-reading{font-size:13px;padding:16px 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.reading-supplement{padding:1.2rem 1.4rem;margin:1rem 0;border-block:1px solid var(--line)}

.grantha-intake{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}.grantha-shelf{margin:2rem 0}.grantha-shelf>h3{font-size:1.7rem}.grantha-pending{padding:1.4rem}.grantha-pending h4{font:1.35rem/1.4 Georgia,'BhaktiDeva',serif;color:var(--ink);margin:.9rem 0 .3rem}.grantha-pending ul{padding-left:1.2rem}.grantha-pending li{margin:.75rem 0;font-size:.9rem}.grantha-pending li span{color:var(--muted)}
