/* Modern homepage extension, intentionally scoped to the homepage. */
body.page-home{--header-h:72px;--ns-gold:#98703e;--ns-ink:#0e203c}



.page-home .hp-wide{max-width:1440px;padding-left:44px;padding-right:44px;margin-left:auto;margin-right:auto}
body.page-home .av-hero{min-height:510px;background-position:center 57%!important}
body.page-home .av-hero-inner{min-height:510px;max-width:1440px;grid-template-columns:1.03fr .9fr 1.05fr;gap:18px;padding:30px 44px 40px}
body.page-home .av-hero h1{font-size:clamp(48px,4.7vw,73px);line-height:.96;letter-spacing:-.045em;margin-bottom:20px}
body.page-home .av-hero h1 em{font-style:italic;color:#98703e}
body.page-home .av-hero-badge{font-size:11px;letter-spacing:.17em;margin-bottom:14px}
body.page-home .av-hero-badge:before{display:none}
body.page-home .av-hero-sub{font-size:21px;line-height:1.3;max-width:385px;margin-bottom:22px}
body.page-home .av-hero-left{min-width:0}
body.page-home .av-hero-btns{gap:10px;flex-wrap:nowrap}
body.page-home .av-hero-btns .btn{padding:12px 16px;font-size:13px;white-space:nowrap}
body.page-home .av-hero-btns .btn-primary{background:linear-gradient(120deg,#b58a55,#855b31);border-color:#a67e50}
body.page-home .av-hero-right{width:100%;min-width:0;position:relative;transform:scale(1.13);z-index:0}
body.page-home #nsZodiacWheel{transform:rotate(-8deg);background:radial-gradient(circle,#ffffffc9, #ffffff52 60%,transparent 72%)}
.ns-hero-calculator{position:relative;z-index:2;min-width:0;background:#fffffffa;padding:24px;border:1px solid #d6dee7;outline:4px solid #ffffff80;border-radius:16px;box-shadow:0 12px 36px #19355223}
.ns-calculator-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.ns-calculator-title>span{font-size:42px;line-height:1;color:#98703e}
.ns-calculator-title h2{font-size:27px;line-height:1.05;letter-spacing:-.025em;margin:0 0 4px}
.ns-calculator-title p{font-size:13px;line-height:1.3;margin:0}
.ns-chart-modes{border:0;display:grid;grid-template-columns:repeat(3,1fr);padding:3px;margin:0 0 15px;border-radius:6px;background:#eff0f3;gap:3px;min-width:0}
.ns-chart-modes label{position:relative;text-align:center;cursor:pointer;min-width:0}
.ns-chart-modes input{position:absolute;width:1px;height:1px;opacity:0}
.ns-chart-modes span{display:block;padding:8px 2px;font-size:12px;border-radius:4px;color:#10172c}
.ns-chart-modes input:checked+span{background:#98703e;color:#fff}
.ns-chart-modes input:focus-visible+span{outline:2px solid #0e203c;outline-offset:2px}
.ns-hero-calculator .form-group{margin:0 0 12px}
.ns-hero-calculator .form-group label{font-size:13px;font-weight:500;margin-bottom:5px;display:block;color:#0e203c}
.ns-hero-calculator .form-group input{width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:14px;border:1px solid #dce1e8;border-radius:5px;background:#fff;color:#0e203c}
.ns-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ns-hero-calculator .btn{width:100%;border-radius:5px;padding:12px 10px;font-size:15px;display:flex;justify-content:center;gap:14px}
.ns-calculator-note{text-align:center;font-size:12px;margin:13px 0 0}
.ns-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-home .ns-section-head{gap:18px;margin-bottom:20px}
.page-home .ns-section-head h2,.page-home .hp-section-title{font-size:37px;line-height:1.1;margin:0}
.page-home .ns-section-head p{font-size:14px;margin:0;line-height:1.5}
.page-home .ns-inline-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.page-home .ns-section-head .btn{font-size:12px;white-space:nowrap;padding:9px 18px;background:white}
.ns-daily{padding-top:26px;padding-bottom:24px}
.ns-day-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.ns-day-actions time{font-size:12px;white-space:nowrap}
.ns-daily-layout{display:grid;grid-template-columns:minmax(0,1fr) 225px;gap:28px}
.ns-sign-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.ns-sign-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid #e0e5ee;border-radius:7px;padding:14px 16px 12px;background:#fff;transition:border-color .2s,box-shadow .2s}
.ns-sign-card:hover{border-color:#ad8757;box-shadow:0 4px 14px #2038540c}
.ns-sign-glyph{font-family:Georgia,serif;font-size:33px;line-height:1;color:#98703e;margin-bottom:7px}
.ns-sign-card h3{font-family:var(--font-body);font-size:14px;letter-spacing:0;margin:0 0 3px;font-weight:500}
.ns-sign-date{font-size:11px;line-height:1.3;color:#18181b}
.ns-sign-card p{font-size:12px;line-height:1.45;margin:9px 0 12px}
.ns-card-arrow{margin-top:auto;color:#98703e;line-height:1}
.ns-chart-promo{border-radius:10px;padding:24px 18px;background:#0e203c url('/img/hero-home-2.webp') center/cover;display:flex;flex-direction:column;justify-content:space-between;color:white;overflow:hidden}
.ns-chart-promo img{width:140px;height:140px;object-fit:contain;align-self:center;filter:drop-shadow(0 0 20px #ffffff35)}
.ns-chart-promo h3{font-size:23px;line-height:1.1;color:white;margin:22px 0 8px}
.ns-chart-promo p{font-size:14px;line-height:1.5;color:white;margin:0 0 16px}
.ns-chart-promo .btn{padding:10px 13px;font-size:12px;background:#a67e50;border-color:white;border-radius:6px;width:100%}
body.page-home .hp-sky{padding:12px 0 30px!important}
.page-home .hp-sky .hp-section-title{margin-bottom:20px}
.page-home .hp-sky-item{padding:22px 18px 18px 75px!important;position:relative;min-height:145px;gap:8px}
.page-home .hp-sky-item:before{content:'☽';position:absolute;left:18px;top:24px;font-size:34px;color:#98703e}
.page-home .hp-sky-item:nth-of-type(2):before{content:'♄'}
.page-home .hp-sky-item:nth-of-type(3):before{content:'☉'}
.page-home .hp-sky-item:nth-of-type(4):before{content:'☊'}
.page-home .hp-sky-label{font-size:21px}
.page-home .hp-sky-value{font-size:13px;line-height:1.5}
.page-home .hp-sky-item:after{font-size:12px}
.ns-why{background:linear-gradient(180deg,#fff8edb8,#ffffff90 60%,#ffffff0a),url('/img/alpine-hero.jpg') center 76%/cover;border-top:1px solid #f3eee6;border-bottom:1px solid #eee}
.ns-why>.hp-wide{display:grid;grid-template-columns:1.25fr 2fr .65fr;gap:26px;padding-top:32px;padding-bottom:48px;align-items:start}
.ns-why h2{font-size:38px;margin:0 0 9px}
.ns-why-intro>p{font-size:15px;line-height:1.5;margin:0 0 15px}
.ns-why .btn,.ns-vedic-intro .btn{font-size:13px;padding:11px 20px;background:#a67e50;border-color:#ad8757}
.ns-why-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;text-align:center}
.ns-why-values span,.ns-vedic-links>a>span,.ns-quick-grid>a>span:first-child{display:flex;width:52px;height:52px;border:1px solid #c8ac88;border-radius:50%;justify-content:center;align-items:center;margin:2px auto 12px;font-family:Georgia,serif;font-size:29px;color:#98703e;background:#ffffff9c}
.ns-why-values h3{font-size:18px;letter-spacing:-.02em;margin:0 0 7px}
.ns-why-values p{font-size:12px;line-height:1.5;margin:0}
.ns-why-quote{font-family:var(--font-display);font-size:22px!important;font-style:italic;line-height:1.2;margin:4px 0}
.page-home .ns-discover{padding-top:25px;padding-bottom:22px}
.page-home .ns-categories{gap:17px}
.page-home .ns-category img{aspect-ratio:1.45}
.page-home .ns-category h3{font-size:22px;margin:9px 0 4px}
.page-home .ns-category p{font-size:13px;line-height:1.4;margin-bottom:5px}
.page-home .ns-category>span{font-size:22px}
.ns-popular{padding-top:12px;padding-bottom:26px}
.ns-quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:18px}
.ns-quick-grid>a{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid #e0e5ee;border-radius:6px;padding:12px 9px;font-size:12px;line-height:1.3}
.ns-quick-grid>a>span:first-child{margin:0 auto 9px;width:42px;height:42px;font-size:26px}
.ns-vedic-band{background:linear-gradient(90deg,#fbf5edaa,#ffffffd9 44%,#ffffffcb),url('/img/alpine-hero.jpg') center 73%/cover}
.ns-vedic-band>.hp-wide{padding-top:30px;padding-bottom:30px;display:grid;grid-template-columns:1.2fr 2fr;gap:40px;align-items:center}
.ns-vedic-intro h2{font-size:33px;margin:0 0 7px}
.ns-vedic-intro p{font-size:14px;line-height:1.4;margin:0 0 13px}
.ns-vedic-links{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;text-align:center}
.ns-vedic-links h3{font:500 13px var(--font-body);letter-spacing:0;margin:0 0 6px}
.ns-vedic-links p{font-size:12px;margin:0;line-height:1.3}
.ns-articles{padding-top:25px;padding-bottom:25px}
.ns-article-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.ns-article-grid>a{border:1px solid #e0e5ee;border-radius:6px;overflow:hidden}
.ns-article-grid img{width:100%;height:auto;aspect-ratio:1.75;object-fit:cover;background:#0e203c}
.ns-article-grid h3{font-size:19px;line-height:1.18;padding:10px 13px 14px;margin:0}
.page-home .av-testimonials{padding:12px 0 25px}
.page-home .av-testimonials .av-wide{max-width:1440px;padding:0 44px}
.page-home .av-testimonials .av-section-header{text-align:left;margin-bottom:18px}
.page-home .av-testimonials h2{font:500 37px var(--font-display);letter-spacing:-.035em;margin:0}
.page-home .av-test-scroll-wrap{overflow:visible;mask-image:none;-webkit-mask-image:none}
.page-home .av-test-scroll{display:flex;gap:18px;overflow-x:auto;width:100%;animation:none!important;padding:0 0 10px;scroll-snap-type:x mandatory}
.page-home .av-test-card{flex:0 0 calc((100% - 36px)/3);min-width:260px;border:1px solid #e0e5ee;border-radius:7px;padding:19px;background:white;scroll-snap-align:start}
.page-home .av-test-card p{font-size:14px;line-height:1.5}
.page-home .av-test-stars{color:#a47434;font-size:14px}
.ns-more{padding-top:4px;padding-bottom:18px}
.ns-more>summary{cursor:pointer;list-style:none;border-top:1px solid #e0e5ee;padding:15px 0;font-family:var(--font-display);font-size:24px;display:flex;align-items:center;justify-content:space-between}
.ns-more .hp-wide{padding-left:0;padding-right:0}
.ns-more .hp-final-cta{padding:26px 0}
.ns-newsletter{background:linear-gradient(90deg,#10234455,#10234477),url('/img/hero-home-2.webp') center 60%/cover}
.ns-newsletter>.hp-wide{padding-top:25px;padding-bottom:25px;display:grid;grid-template-columns:1.2fr 1fr;gap:35px;align-items:center}
.ns-newsletter h2{color:white;font-size:39px;margin:0 0 7px}
.ns-newsletter p{color:white;font-size:14px;line-height:1.4;margin:0}
.ns-newsletter-fields{display:flex;padding:4px;background:white;border-radius:6px;gap:5px}
.ns-newsletter input{width:100%;min-width:0;border:0;border-radius:4px;background:white;font-size:14px;padding:10px;color:#18181b}
.ns-newsletter .btn{background:#a67e50;border:0;border-radius:5px;font-size:14px;opacity:1;padding:12px 26px}
.ns-newsletter #ns-subscribe-note{font-size:12px;margin-top:7px;color:white}
.page-home .footer{padding-top:35px}
@media(max-width:1200px){.page-home .hp-wide{padding-left:30px;padding-right:30px}body.page-home .av-hero-inner{grid-template-columns:1.05fr .55fr 1fr;padding:28px 30px;gap:12px}body.page-home .av-hero h1{font-size:56px}body.page-home .av-hero-btns{flex-wrap:wrap}.ns-hero-calculator{padding:20px}.ns-calculator-title h2{font-size:24px}.ns-daily-layout{grid-template-columns:minmax(0,1fr) 180px;gap:18px}.ns-sign-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.ns-why>.hp-wide{grid-template-columns:1fr 2fr}.ns-why-quote{display:none}.ns-day-actions{flex-wrap:wrap}.ns-quick-grid{gap:10px}.page-home .av-testimonials .av-wide{padding-left:30px;padding-right:30px}}
@media(max-width:900px){body.page-home .av-hero-inner{grid-template-columns:1fr 1fr;gap:28px}body.page-home .av-hero-right{position:absolute;width:200px;left:33%;bottom:5%;opacity:.65}body.page-home .av-hero-left{z-index:1}body.page-home .av-hero h1{font-size:56px}.ns-daily-layout{grid-template-columns:1fr}.ns-sign-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.ns-chart-promo{display:none}.page-home .ns-section-head{align-items:flex-start}.ns-day-actions time{display:none}.ns-why>.hp-wide{grid-template-columns:1fr;gap:22px}.ns-why-intro{max-width:600px}.ns-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ns-vedic-band>.hp-wide{grid-template-columns:1fr;gap:24px}.ns-article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-home .av-test-card{flex-basis:calc((100% - 18px)/2)}.ns-newsletter>.hp-wide{grid-template-columns:1fr;gap:18px}}
@media(max-width:640px){.page-home .hp-wide{padding-left:20px;padding-right:20px}body.page-home .av-hero-inner{display:grid;grid-template-columns:1fr;padding:35px 22px;gap:28px;background:linear-gradient(90deg,#fffffff0,#ffffff60)}body.page-home .av-hero{background-position:67% center!important}body.page-home .av-hero-left{max-width:470px}body.page-home .av-hero h1{font-size:58px}body.page-home .av-hero-sub{font-size:22px}body.page-home .av-hero-right{display:none!important}.ns-hero-calculator{max-width:480px;width:100%;padding:22px;margin:0 auto}.ns-calculator-title h2{font-size:27px}.ns-chart-modes span{font-size:14px}.page-home .ns-section-head{display:block;margin-bottom:16px}.page-home .ns-section-head h2,.page-home .hp-section-title{font-size:33px}.page-home .ns-section-head .btn{margin-top:10px}.ns-inline-heading{gap:6px!important}.ns-day-actions{justify-content:flex-start}.ns-sign-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ns-sign-card{padding:15px}.ns-sign-card p{font-size:14px}.ns-sign-date{font-size:12px}.ns-sign-card h3{font-size:16px}.page-home .hp-sky-strip{grid-template-columns:1fr}.page-home .hp-sky-item{min-height:135px}.ns-why-values{grid-template-columns:repeat(2,1fr);gap:24px}.ns-why>.hp-wide{padding-top:27px;padding-bottom:35px}.ns-why h2{font-size:34px}.ns-why-values h3{font-size:22px}.ns-why-values p{font-size:14px}.page-home .ns-category h3{font-size:23px}.page-home .ns-category p{font-size:14px}.ns-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.ns-quick-grid>a{padding:10px 5px;font-size:12px}.ns-vedic-links{grid-template-columns:repeat(2,1fr);gap:22px}.ns-vedic-links h3{font-size:14px}.ns-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ns-article-grid h3{font-size:20px}.page-home .av-testimonials .av-wide{padding-left:20px;padding-right:20px}.page-home .av-test-card{flex-basis:88%}.page-home .av-testimonials h2{font-size:33px}.ns-newsletter h2{font-size:35px}.ns-newsletter .btn{padding:11px 14px}.ns-newsletter input{font-size:13px}.ns-more>summary{font-size:23px}}
@media(prefers-reduced-motion:reduce){body.page-home #nsZodiacWheel svg{animation:none!important}}
.page-home .hp-sky .ns-section-head .hp-section-title{margin-bottom:0}
.ns-hero-paths{display:flex;gap:20px;flex-wrap:wrap;margin-top:23px}
.ns-hero-paths a{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#0e203c}
.ns-vedic-band{background:linear-gradient(90deg,#ffffff00,#fff8eee8 23%,#fffffff5 70%),url('/img/natalsky-temple.jpg') left center/cover}
.ns-vedic-band .ns-vedic-intro{padding-left:85px}
@media(max-width:900px){.ns-vedic-band .ns-vedic-intro{padding-left:0}.ns-vedic-band{background:linear-gradient(90deg,#fff8eeee,#fffffff5),url('/img/natalsky-temple.jpg') center/cover}}
/* Full-width desktop header and hero, aligned to the outer page edges. */
@media (min-width: 1201px) {
    
    
    
    
    
    body.page-home .av-hero-inner {
        max-width: none;
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
        grid-template-columns: minmax(320px, 1fr) minmax(240px, 1.1fr) minmax(340px, 410px);
        gap: 32px;
    }
    body.page-home .ns-hero-calculator {
        width: 100%;
        justify-self: end;
    }
    body.page-home .av-hero-right {
        justify-self: center;
        max-width: 550px;
    }
}
/* Restore the hero copy inset while keeping the calculator at the right edge. */
@media (min-width: 1201px) {
    body.page-home .av-hero-inner {
        padding-left: max(44px, calc((100vw - 1440px) / 2 + 44px));
    }
}

/* ===== Calculator band under the hero (2026-09-09): hero = text + wheel, form = horizontal card ===== */
body.page-home .av-hero-inner{grid-template-columns:1.05fr 1fr!important;gap:24px;min-height:560px;padding-bottom:90px}
body.page-home .av-hero-right{transform:none;justify-self:center;max-width:560px;width:100%}
.ns-calc-band{position:relative;z-index:3;max-width:1440px;margin:-72px auto 0;padding:0 44px}
.ns-calc-band .ns-hero-calculator{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:12px 32px;align-items:center;padding:22px 28px}
.ns-calc-band .ns-calculator-title{margin:0}
.ns-calc-band .ns-calculator-title>span{font-size:36px}
.ns-calc-band .ns-calculator-title h2{font-size:24px}
.ns-calc-band .ns-chart-modes{grid-column:1;margin:0;max-width:300px}
.ns-calc-band form{grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:1.1fr 1fr .8fr 1.3fr auto;gap:12px;align-items:end}
.ns-calc-band .ns-form-pair{display:contents}
.ns-calc-band .form-group{margin:0;min-width:0}
.ns-calc-band .ns-hero-calculator .btn{width:auto;min-height:40px;padding:0 20px;white-space:nowrap}
.ns-calc-band .ns-calculator-note{grid-column:1 / -1;margin:2px 0 0;text-align:left}
@media(max-width:1200px){.ns-calc-band{padding:0 30px;margin-top:-56px}.ns-calc-band .ns-hero-calculator{grid-template-columns:1fr}.ns-calc-band .ns-chart-modes{grid-column:1}.ns-calc-band form{grid-column:1;grid-row:auto;grid-template-columns:1fr 1fr 1fr 1fr auto}body.page-home .av-hero-inner{grid-template-columns:1.05fr 1fr!important;padding-bottom:80px}}
@media(max-width:900px){.ns-calc-band form{grid-template-columns:1fr 1fr}.ns-calc-band .ns-hero-calculator .btn{width:100%;grid-column:1 / -1}}
@media(max-width:640px){.ns-calc-band{padding:0 16px;margin-top:-30px}.ns-calc-band .ns-hero-calculator{max-width:none;padding:20px}.ns-calc-band form{grid-template-columns:1fr}.ns-calc-band .ns-chart-modes{max-width:none}}
/* Wheel: a bit left and up, more presence (2026-09-09) */
body.page-home .av-hero-right{transform:translate(0,-48px);opacity:1!important;justify-self:end;max-width:600px}
body.page-home #nsZodiacWheel{filter:none;opacity:1;background:radial-gradient(circle,#ffffffe6,#ffffff80 58%,transparent 72%)}
body.page-home #nsZodiacWheel svg{filter:drop-shadow(0 6px 18px #10172c33)}
@media(max-width:1200px){body.page-home .av-hero-right{transform:translate(0,-30px)}}
@media(max-width:900px){body.page-home .av-hero-right{transform:none}}
/* Wheel right edge = content right edge (same as the calculator card), not the screen edge */
@media (min-width: 1201px) { body.page-home .av-hero-inner { padding-right: max(44px, calc((100vw - 1440px) / 2 + 44px)); } }
/* Stronger white halo behind the wheel */
body.page-home #nsZodiacWheel{background:radial-gradient(circle,#ffffff 0,#fffffff2 52%,#ffffffb0 66%,#ffffff40 76%,transparent 86%)}
/* Halo is a circle, not a square: clip the element round and end the gradient at closest side */
body.page-home #nsZodiacWheel{border-radius:50%;background:radial-gradient(circle closest-side,#ffffff 0,#fffffff5 60%,#ffffffcc 80%,#ffffff66 94%,transparent 100%)}
/* Soft round halo, no visible edge */
body.page-home #nsZodiacWheel{border-radius:50%;background:radial-gradient(circle closest-side,#ffffff 0,#ffffff 40%,#ffffffd9 58%,#ffffff8c 74%,#ffffff33 88%,transparent 100%)}
/* Soft fade from the hero photo into the white page, no hard bottom edge */
body.page-home .av-hero{position:relative}
body.page-home .av-hero::after{content:'';position:absolute;left:0;right:0;bottom:0;height:200px;background:linear-gradient(180deg,#ffffff00 0%,#ffffff80 55%,#ffffff 100%);pointer-events:none;z-index:1}
body.page-home .av-hero-inner{position:relative;z-index:2}
/* Vedic band: one even white layer over the whole photo (2026-09-09) */
.ns-vedic-band{background:linear-gradient(#ffffffb3,#ffffffb3),url("/img/natalsky-temple.jpg") center/cover!important}
@media(max-width:900px){.ns-vedic-band{background:linear-gradient(#ffffffd9,#ffffffd9),url('/img/natalsky-temple.jpg') center/cover!important}}
