:root { --brand-gold: #a66b00; --brand-deep-gold: #865400; --brand-cream: #fffbf4; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.brand-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px 4vw; color: white; background: linear-gradient(105deg,#865500,#a16b06 60%,#875600); font-size: 15px; }
.topbar-contact, .social-links { display: flex; align-items: center; gap: 20px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 9px; }
.topbar-contact a + a { border-left: 1px solid #ffffff70; padding-left: 20px; }
.social-links { gap: 16px; }
.social-links a, .social-links .social-soon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 28px; }
.social-soon { cursor: default; }
.social-links .icon { width: 21px; height: 21px; }
.brand-header { position: relative; z-index: 30; display: flex; align-items: center; gap: clamp(16px,2vw,32px); padding: 13px 3vw; background: var(--brand-cream); border-bottom: 1px solid #d7b5795c; }
.brand-home { display: block; flex-shrink: 0; width: clamp(210px,19vw,310px); padding-right: 25px; border-right: 1px solid #bda78c; }
.brand-home img { display: block; width: 100%; height: auto; }
.primary-nav { display: flex; gap: clamp(18px,2.1vw,36px); align-items: center; flex: 1; font-size: clamp(15px,1.25vw,20px); font-weight: 500; color: #17120b; }
.primary-nav > a, .nav-dropdown > summary { white-space: nowrap; padding: 12px 0; cursor: pointer; }
.primary-nav > a.active { color: var(--brand-gold); text-decoration: underline; text-underline-offset: 12px; text-decoration-thickness: 2px; }
.nav-dropdown { position: relative; }
.nav-dropdown > summary, .mobile-nav > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
summary::-webkit-details-marker { display: none; }
.nav-dropdown .icon { width: 15px; height: 15px; }
.dropdown-menu { position: absolute; top: 100%; right: 0; min-width: 235px; padding: 10px; border: 1px solid #e7d2b0; border-radius: 10px; background: #fffcf7; box-shadow: 0 16px 40px #492d1625; }
.dropdown-menu a { display: block; padding: 10px 12px; font-size: 15px; border-radius: 5px; }
.dropdown-menu a:hover { background: #f8edd9; }
.header-actions { display: flex; align-items: center; gap: 19px; }
.gold-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid #96610a; border-radius: 10px; background: linear-gradient(#bd8307,#956000); color: white; font-size: 17px; font-weight: 600; line-height: 1.4; box-shadow: inset 0 1px #ffd58055; }
.header-book { white-space: nowrap; }
.account-dropdown { padding-left: 18px; border-left: 1px solid #baa88e; font-size: 16px; }
.account-dropdown > summary { gap: 9px; padding: 12px 0; }
.account-dropdown > summary > .icon:first-child { width: 28px; height: 28px; }
.mobile-nav { display: none; }
.reference-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(540px,37.5vw,760px); padding: 64px 7vw; background: #fff8eb url('../images/vedic-hero.webp') center/cover no-repeat; overflow: hidden; }
.reference-hero-copy { position: relative; z-index: 1; width: 55%; max-width: 900px; }
.reference-hero h1 { font-family: Georgia,'Times New Roman',serif; font-weight: 500; font-size: clamp(48px,5.7vw,108px); line-height: 1.06; letter-spacing: -2px; color: #190f09; }
.reference-hero h1 span { display: block; color: var(--brand-gold); }
.celestial-divider { display: flex; align-items: center; gap: 18px; width: 92%; margin: 23px 0 20px; color: #b47b19; font-size: 32px; line-height: 1; }
.celestial-divider::before, .celestial-divider::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg,transparent,#b47b19); }
.celestial-divider::after { transform: rotate(180deg); }
.reference-hero-copy > p { max-width: 650px; color: #2b2520; font-size: clamp(19px,1.85vw,31px); line-height: 1.4; }
.reference-hero .actions { gap: 22px; margin-top: 32px; }
.reference-hero .gold-button, .outline-button { min-height: 54px; padding: 14px 23px; font-size: clamp(16px,1.3vw,22px); border-radius: 10px; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; color: #753400; border: 1px solid #85421d; background: #fffcf5b8; font-weight: 500; line-height: 1.4; }
.reference-hero + .stats-strip { margin-top: 0; }
.reference-footer { position: relative; color: #211a13; background: #fffcf7 url('../images/vedic-footer.webp') center/cover no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .88fr .95fr 1fr 1.65fr; gap: 22px; padding: 72px 3vw 92px; }
.footer-intro { padding-right: 8px; }
.footer-logo { display: block; width: 100%; max-width: 320px; margin: 0 0 30px; }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-intro p { font-size: 15px; line-height: 1.8; max-width: 310px; }
.footer-column { padding-left: 18px; border-left: 1px solid #bd8c3738; min-width: 0; }
.footer-column h2 { display: flex; align-items: center; gap: 8px; margin: 3px 0 26px; font: 700 clamp(17px,1.35vw,24px)/1.3 Arial,Helvetica,sans-serif; color: var(--brand-gold); }
.footer-column h2 .icon { width: 25px; height: 25px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.footer-column li a { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; }
.footer-column li a::before { content: '\203A'; color: var(--brand-gold); font-size: 25px; line-height: 1; }
.reference-footer a:hover { color: var(--brand-gold); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact address { font-style: normal; display: grid; gap: 13px; font-size: 15px; overflow-wrap: anywhere; }
.footer-contact address a, .footer-address { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact address .icon { color: var(--brand-gold); margin-top: 2px; }
.newsletter { border-top: 1px solid #b67a29; margin-top: 25px; padding-top: 22px; }
.newsletter h3 { margin-bottom: 14px; font: 700 19px/1.4 Arial,Helvetica,sans-serif; color: var(--brand-gold); }
.newsletter-field { display: flex; border: 1px solid #b59b7a; border-radius: 9px; overflow: hidden; background: #fffdf9; align-items: center; }
.newsletter-field > .icon { color: var(--brand-gold); margin-left: 12px; width: 21px; }
.newsletter-field input { min-width: 0; width: 100%; padding: 13px 10px; border: 0; background: transparent; border-radius: 0; font-size: 14px; }
.newsletter-field button { align-self: stretch; border: 0; padding: 12px; background: linear-gradient(#bd8307,#956000); color: #fff; cursor: pointer; }
.newsletter-field button .icon { width: 23px; }
.newsletter-message { font-size: 14px; margin-top: 10px; color: #345e24; }
.newsletter-error { color: #962819; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 25px 3.5vw; color: white; background: linear-gradient(100deg,#865500,#a36b05 60%,#865500); font-size: 14px; }
.footer-policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; font-weight: 400; color: inherit; }
.footer-policies a { padding: 0 18px; border-left: 1px solid #ffffff99; }
.footer-bottom a:hover { color: white; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #c68b26; outline-offset: 4px; }
.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; }
@media (min-width: 1600px) { .footer-column li a, .footer-contact address, .footer-intro p { font-size: 17px; } }
@media (max-width: 1250px) {
    .brand-home { width: 210px; padding-right: 15px; }
    .brand-header { gap: 18px; }
    .primary-nav { gap: 19px; font-size: 16px; }
    .header-actions { gap: 12px; }
    .header-book { font-size: 14px; padding: 12px; }
    .account-dropdown { font-size: 14px; padding-left: 12px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; padding: 55px 5vw 85px; }
    .footer-intro { grid-row: span 2; }
    .footer-contact { grid-column: span 2; }
}
@media (max-width: 1020px) {
    .primary-nav, .header-actions { display: none; }
    .brand-header { justify-content: space-between; padding: 12px 5vw; }
    .brand-home { width: 230px; padding: 0; border: 0; }
    .mobile-nav { display: block; }
    .mobile-nav > summary { color: #805400; border: 1px solid #c5a475; border-radius: 6px; padding: 9px 12px; cursor: pointer; }
    .mobile-menu { left: 5vw; right: 5vw; top: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .mobile-menu .gold-button { grid-column: 1 / -1; }
    .reference-hero { min-height: 560px; padding: 60px 6vw; background-position: 58% center; }
    .reference-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#fffcf6f5 0%,#fffcf6d4 40%,#fffaf200 75%); z-index: -1; }
    .reference-hero-copy { width: 65%; }
    .reference-hero h1 { font-size: clamp(45px,6.5vw,67px); }
    .reference-hero-copy > p { font-size: 22px; }
    .reference-hero .actions { gap: 12px; }
    .reference-hero .gold-button, .outline-button { font-size: 16px; padding: 13px 18px; }
}
@media (max-width: 640px) {
    .brand-topbar { padding: 8px 5vw; gap: 8px; font-size: 12px; }
    .topbar-contact { flex-wrap: wrap; gap: 3px; }
    .topbar-contact a { gap: 6px; }
    .topbar-contact a + a { padding: 0; border: 0; }
    .topbar-contact .icon { width: 15px; height: 15px; }
    .brand-topbar .social-links { gap: 7px; }
    .brand-topbar .social-links .social-soon { display: none; }
    .brand-home { width: 205px; }
    .mobile-nav > summary { font-size: 0; padding: 9px; }
    .mobile-nav > summary .icon { width: 24px; height: 24px; }
    .mobile-menu a { font-size: 16px; }
    .reference-hero { min-height: 720px; padding: 38px 6vw 330px; align-items: flex-start; background-size: auto 400px; background-position: 79% bottom; background-color: #fffbf4; }
    .reference-hero::before { background: linear-gradient(#fffbf4 0%,#fffbf4 45%,#fffbf400 64%); }
    .reference-hero-copy { width: 100%; }
    .reference-hero h1 { font-size: clamp(37px,10.4vw,58px); letter-spacing: -1.2px; }
    .celestial-divider { width: 100%; margin: 17px 0 14px; font-size: 25px; }
    .reference-hero-copy > p { max-width: 440px; font-size: 18px; line-height: 1.5; }
    .reference-hero .actions { gap: 10px; margin-top: 22px; }
    .reference-hero .gold-button, .outline-button { min-height: 47px; padding: 11px 12px; font-size: 14px; gap: 7px; border-radius: 7px; }
    .reference-hero .actions .icon { width: 18px; height: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; padding: 40px 6vw 80px; }
    .footer-intro { grid-column: 1 / -1; grid-row: auto; }
    .footer-logo { width: 260px; margin-bottom: 18px; }
    .footer-intro p { max-width: 100%; font-size: 16px; }
    .footer-column { padding-left: 0; border: 0; }
    .footer-column h2 { font-size: 18px; margin-bottom: 18px; gap: 7px; }
    .footer-column h2 .icon { width: 23px; }
    .footer-column ul { gap: 12px; }
    .footer-column li a { font-size: 15px; gap: 5px; }
    .footer-contact { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #c69b5d70; }
    .footer-contact address { font-size: 16px; }
    .reference-footer { background-size: auto 100%; background-position: center; }
    .footer-bottom { justify-content: center; text-align: center; padding: 24px 5vw; gap: 19px; font-size: 13px; }
    .footer-policies { gap: 10px 0; }
    .footer-policies a { padding: 0 10px; }
    .footer-policies a:first-child { border-left: 0; }
}
