:root {
  --ink: #24191f;
  --ink-soft: #4f4145;
  --cream: #fbf4e7;
  --paper: #f2e3c7;
  --saffron: #d97324;
  --gold: #e4b64e;
  --maroon: #6f2428;
  --indigo: #26365d;
  --green: #3f654b;
  --white: #fffdf8;
  --line: rgba(70, 45, 35, .16);
  --shadow: 0 24px 70px rgba(50, 30, 24, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --ui: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--ui); line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 100px 0; }
.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; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(31, 23, 32, .96); box-shadow: 0 8px 35px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(236, 190, 94, .55); color: var(--gold); border-radius: 50% 50% 45% 55%; font-family: var(--serif); font-size: 23px; box-shadow: inset 0 0 0 5px rgba(228, 182, 78, .07); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 18px/1.05 var(--serif); letter-spacing: .03em; }
.brand small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 13px; letter-spacing: .04em; }
.site-nav > a { position: relative; color: rgba(255,255,255,.84); }
.site-nav > a::after { content: ''; position: absolute; height: 1px; left: 0; right: 100%; bottom: -8px; background: var(--gold); transition: right .25s; }
.site-nav > a:hover::after { right: 0; }
.nav-search input { width: 145px; padding: 9px 12px; color: white; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; background: rgba(255,255,255,.08); outline: none; }
.nav-search input::placeholder { color: rgba(255,255,255,.56); }
.nav-search input:focus { border-color: var(--gold); width: 190px; }
.language-toggle { padding: 7px 9px; color: var(--gold); background: transparent; border: 0; font-size: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; transition: transform .2s; }

.hero { position: relative; min-height: 780px; display: grid; align-items: center; color: var(--white); background: radial-gradient(circle at 75% 37%, #594044 0, #312334 33%, #1e1825 67%, #16131a 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(30deg, transparent 48%, rgba(239,195,96,.18) 49%, transparent 51%), linear-gradient(-30deg, transparent 48%, rgba(239,195,96,.12) 49%, transparent 51%); background-size: 62px 108px; }
.hero-pattern { position: absolute; width: 590px; height: 590px; right: -160px; top: 80px; border: 1px solid rgba(232,184,82,.15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(232,184,82,.025), 0 0 0 140px rgba(232,184,82,.018); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center; padding-top: 90px; }
.eyebrow { margin: 0 0 18px; color: var(--saffron); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow, .light .eyebrow, .community .eyebrow, .topic-hero .eyebrow { color: #efbd67; }
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.1; }
.hero h1 { max-width: 720px; font-size: clamp(54px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.045em; }
.hero h1 em { display: block; color: #efbd67; font-weight: 400; }
.hero-lead { max-width: 670px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-family: var(--serif); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 12px 22px; border: 0; border-radius: 3px; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #261917; background: linear-gradient(120deg, var(--saffron), #edba53); box-shadow: 0 12px 28px rgba(217,115,36,.22); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(217,115,36,.34); }
.button-quiet { color: inherit; border: 1px solid currentColor; background: transparent; }
.hero .button-quiet { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.28); }
.hero-stats { display: flex; gap: 35px; margin: 42px 0 0; }
.hero-stats div { padding-left: 15px; border-left: 1px solid rgba(239,189,103,.35); }
.hero-stats dt { color: #efbd67; font: 600 22px var(--serif); }
.hero-stats dd { margin: 3px 0 0; color: rgba(255,255,255,.52); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-art { position: relative; min-height: 540px; display: grid; place-items: center; }
.sun-disc { position: absolute; width: 270px; height: 270px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(235,187,91,.45); background: radial-gradient(circle, rgba(220,148,57,.35), rgba(65,42,52,.15) 64%, transparent 65%); box-shadow: 0 0 80px rgba(220,148,57,.12); }
.sun-disc::before, .sun-disc::after { content: ''; position: absolute; inset: 18px; border: 1px dashed rgba(235,187,91,.28); border-radius: 50%; animation: spin 30s linear infinite; }
.sun-disc::after { inset: 50px; animation-direction: reverse; animation-duration: 20s; }
.sun-disc span { color: rgba(255,225,159,.75); font: 42px var(--serif); }
.orbit { position: absolute; border: 1px solid rgba(236,190,94,.23); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 410px; height: 160px; }
.orbit-two { width: 350px; height: 460px; transform: rotate(52deg); }
.orbit::after { content: ''; position: absolute; width: 8px; height: 8px; left: 18%; top: 3%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.temple { position: absolute; bottom: 37px; width: 380px; height: 180px; display: flex; align-items: end; justify-content: center; gap: 8px; border-bottom: 12px solid rgba(229,184,91,.64); filter: drop-shadow(0 14px 24px rgba(0,0,0,.3)); }
.temple::before { content: ''; position: absolute; width: 330px; height: 75px; bottom: 116px; background: rgba(229,184,91,.55); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.temple i { width: 42px; height: 118px; background: linear-gradient(90deg, rgba(181,124,57,.45), rgba(239,198,111,.75), rgba(159,101,49,.45)); clip-path: polygon(12% 0, 88% 0, 78% 9%, 78% 91%, 100% 100%, 0 100%, 22% 91%, 22% 9%); }
.hero-quote { position: absolute; right: 0; bottom: -5px; padding: 17px 20px; border-left: 2px solid var(--gold); background: rgba(20,15,22,.7); backdrop-filter: blur(8px); }
.hero-quote span, .hero-quote small { display: block; }
.hero-quote span { color: #f0c878; font: 20px var(--serif); }
.hero-quote small { margin-top: 4px; color: rgba(255,255,255,.58); }
.scroll-cue { position: absolute; z-index: 3; bottom: 24px; left: 50%; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; }
.scroll-cue span { position: absolute; width: 4px; height: 8px; left: 10px; top: 9px; border-radius: 4px; background: var(--gold); animation: scrollCue 1.8s infinite; }

.welcome { position: relative; background: var(--cream); }
.welcome h2, .section-heading h2, .quiz-intro h2, .community h2, .newsletter h2, .article-content h2, .next-path h2 { font-size: clamp(38px, 4vw, 58px); font-weight: 500; letter-spacing: -.03em; }
.welcome .narrow > p:last-child { color: var(--ink-soft); font: 18px/1.85 var(--serif); }
.feature-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border: 1px solid var(--line); background: rgba(255,255,255,.4); box-shadow: var(--shadow); }
.feature-ribbon div { padding: 26px; text-align: center; border-right: 1px solid var(--line); }
.feature-ribbon div:last-child { border: 0; }
.feature-ribbon span, .feature-ribbon strong, .feature-ribbon small { display: block; }
.feature-ribbon span { color: var(--saffron); font-size: 24px; }
.feature-ribbon strong { margin-top: 7px; font: 600 18px var(--serif); }
.feature-ribbon small { color: #776a67; }

.domains { background: #eadcc4; background-image: radial-gradient(rgba(113,74,46,.08) 1px, transparent 1px); background-size: 18px 18px; }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 45px; }
.section-heading > p { max-width: 370px; margin: 0; color: #6e5d59; font-family: var(--serif); font-size: 17px; }
.domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.domain-card { position: relative; min-height: 335px; padding: 32px; overflow: hidden; border: 1px solid rgba(80,50,37,.12); background: rgba(255,250,240,.82); box-shadow: 0 14px 35px rgba(84,49,29,.07); transition: transform .3s, box-shadow .3s, border-color .3s; transition-delay: var(--delay); }
.domain-card.has-image { min-height: 430px; padding-top: 210px; }
.domain-card::before { content: ''; position: absolute; width: 170px; height: 170px; right: -70px; top: -70px; border: 1px solid color-mix(in srgb, var(--accent), transparent 68%); border-radius: 50%; box-shadow: 0 0 0 25px color-mix(in srgb, var(--accent), transparent 94%), 0 0 0 50px color-mix(in srgb, var(--accent), transparent 96%); }
.domain-card::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.domain-thumb { position: absolute; inset: 0 0 auto; width: 100%; height: 185px; object-fit: cover; object-position: center 32%; filter: saturate(.92) contrast(1.03); transition: transform .45s ease; }
.domain-card.has-image::before { top: 118px; background: rgba(255,250,240,.5); }
.domain-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent), transparent 55%); box-shadow: 0 20px 50px rgba(84,49,29,.14); }
.domain-card:hover::after { transform: scaleX(1); }
.domain-card:hover .domain-thumb { transform: scale(1.045); }
.domain-icon { width: 59px; height: 59px; display: grid; place-items: center; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent), transparent 55%); border-radius: 50%; font: 25px var(--serif); }
.domain-card.has-image .domain-icon { position: absolute; top: 155px; left: 28px; z-index: 1; background: #fffaf0; box-shadow: 0 10px 22px rgba(45,28,20,.14); }
.domain-card small { display: block; margin-top: 28px; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.domain-card h3 { margin-top: 8px; font-size: 27px; font-weight: 500; }
.domain-card p { color: #685a56; font-family: var(--serif); line-height: 1.7; }
.card-link { position: absolute; bottom: 28px; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.card-link b { display: inline-block; margin-left: 8px; transition: transform .2s; }
.domain-card:hover .card-link b { transform: translateX(5px); }
.empty-state { padding: 60px 24px; background: rgba(255,255,255,.4); text-align: center; }
.empty-state > span { color: var(--saffron); font-size: 44px; }
.empty-state h3, .empty-state h1 { font-size: 36px; margin-top: 12px; }
.empty-state p { color: var(--ink-soft); }

.timeline-section { color: var(--white); background: #202b28; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; }
.section-heading.light > p { color: rgba(255,255,255,.58); }
.timeline { position: relative; max-width: 940px; margin: 70px auto 0; }
.timeline::before { content: ''; position: absolute; left: 45px; top: 12px; bottom: 60px; width: 1px; background: linear-gradient(var(--gold), rgba(228,182,78,.08)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 34px; padding-bottom: 55px; }
.timeline-item > span { position: relative; z-index: 2; width: 90px; height: 90px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(228,182,78,.38); border-radius: 50%; background: #202b28; font: 20px var(--serif); box-shadow: 0 0 0 8px #202b28; }
.timeline-item div { padding: 10px 0 0 20px; border-top: 1px solid rgba(255,255,255,.12); }
.timeline-item small { color: #dbad5c; text-transform: uppercase; letter-spacing: .12em; }
.timeline-item h3 { margin-top: 7px; font-size: 30px; font-weight: 500; }
.timeline-item p { max-width: 710px; color: rgba(255,255,255,.64); font-family: var(--serif); font-size: 17px; }

.quiz-section { background: var(--cream); }
.quiz-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.quiz-intro p:not(.eyebrow) { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; }
.mandala-mini { width: 90px; height: 90px; display: grid; place-items: center; margin-top: 26px; color: var(--saffron); border: 1px solid rgba(217,115,36,.25); border-radius: 50%; font-size: 45px; animation: spin 25s linear infinite; }
.quiz-card { min-height: 475px; padding: 38px; background: #fffaf0; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quiz-top { display: flex; justify-content: space-between; color: #7a6d67; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.progress { height: 3px; margin: 13px 0 35px; background: #e3d6c0; }
.progress i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--saffron), var(--gold)); transition: width .3s; }
.quiz-kicker { color: var(--saffron); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.quiz-card h3 { font-size: 29px; font-weight: 500; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.quiz-options button { padding: 14px 16px; text-align: left; color: var(--ink); border: 1px solid #d9c9ae; background: transparent; transition: border .2s, background .2s; }
.quiz-options button:hover:not(:disabled) { border-color: var(--saffron); background: #fff3df; }
.quiz-options button.correct { border-color: var(--green); background: #e3efe5; }
.quiz-options button.wrong { border-color: #a83d3d; background: #f6dfdb; }
.quiz-feedback { min-height: 50px; margin: 18px 0; color: #655750; font-size: 14px; }
.quiz-feedback.is-correct { color: var(--green); }
.quiz-feedback.is-wrong { color: #873632; }
.quiz-next { margin-left: auto; }
.quiz-next:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.quiz-result { padding: 50px 20px; text-align: center; }
.quiz-result > span { color: var(--saffron); font-size: 54px; }
.quiz-result p { color: var(--ink-soft); }

.community { padding: 0; color: white; background: var(--maroon); }
.community-grid { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; }
.community-art { min-height: 620px; display: grid; place-items: end center; background: linear-gradient(rgba(30,13,19,.1), rgba(30,13,19,.65)), radial-gradient(circle at 50% 30%, #bc7952, #5c2b31 68%); overflow: hidden; }
.arch { width: 60%; height: 78%; display: grid; place-items: center; padding: 30px; border: 12px solid rgba(237,195,111,.45); border-bottom: 0; border-radius: 50% 50% 0 0; box-shadow: 0 0 0 28px rgba(47,20,27,.28), inset 0 0 80px rgba(20,10,12,.45); background: radial-gradient(circle, rgba(238,188,104,.17), rgba(24,10,14,.5)); }
.arch span { color: #f3cf88; text-align: center; font: 32px/1.65 var(--serif); text-shadow: 0 4px 22px rgba(0,0,0,.6); }
.community-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px max(50px, 8vw); }
.community-copy > p:not(.eyebrow) { color: rgba(255,255,255,.67); font: 17px/1.8 var(--serif); }
.check-list { padding: 0; margin: 18px 0 28px; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255,255,255,.13); }
.check-list li::before { content: '✦'; position: absolute; left: 0; color: #efbd67; }
.light-button { align-self: flex-start; color: #f3cf88; border-color: rgba(243,207,136,.5); }

.newsletter { background: #e8dbc5; }
.newsletter-box { position: relative; padding: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; border: 1px solid rgba(96,61,35,.18); background: rgba(255,250,240,.66); }
.newsletter-box::before { content: 'ॐ'; position: absolute; right: 35px; top: -42px; color: rgba(112,63,33,.08); font: 160px var(--serif); }
.newsletter h2 { font-size: 40px; }
.newsletter-box p:not(.eyebrow):not(.form-message) { color: #6d5c55; }
.newsletter-form { position: relative; display: flex; z-index: 2; }
.newsletter-form input { min-width: 0; flex: 1; padding: 15px 18px; border: 1px solid #cdbb9d; border-right: 0; background: rgba(255,255,255,.5); outline: none; }
.newsletter-form input:focus { border-color: var(--saffron); }
.form-message { grid-column: 1 / -1; margin: 0; padding: 11px 14px; }
.form-message.success { color: #315c3b; background: #dce9dd; }
.form-message.error { color: #7d2f2b; background: #f1dcd7; }

.site-footer { color: rgba(255,255,255,.65); background: #19171c; }
.verse-strip { padding: 22px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.09); background: #25202a; }
.verse-strip p { margin: 0; }
.verse-strip span { margin-right: 18px; color: #e9bd66; font: 20px var(--serif); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; padding-top: 70px; padding-bottom: 50px; }
.footer-grid p { max-width: 520px; font-family: var(--serif); }
.footer-grid h3 { margin-bottom: 16px; color: white; font-size: 17px; }
.footer-grid > div > a:not(.brand) { display: block; margin: 9px 0; }
.footer-brand { color: white; }
.footer-bottom { padding: 20px 0 30px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }

.topic-hero { position: relative; min-height: 570px; display: grid; align-items: center; padding-top: 100px; color: white; background: linear-gradient(115deg, #211921, color-mix(in srgb, var(--topic-accent), #1f1920 65%)); overflow: hidden; }
.topic-pattern { position: absolute; inset: 0; opacity: .15; background: repeating-radial-gradient(circle at 85% 45%, transparent 0 32px, #fff 33px 34px, transparent 35px 66px); }
.topic-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 60px; }
.topic-hero h1 { font-size: clamp(52px, 7vw, 88px); font-weight: 500; letter-spacing: -.04em; }
.topic-hindi { margin: 8px 0 0; color: #efc875; font: 25px var(--serif); }
.back-link { display: inline-block; margin-bottom: 42px; color: rgba(255,255,255,.6); font-size: 13px; }
.topic-visual { justify-self: center; width: min(380px, 100%); }
.topic-visual img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 32%; border: 1px solid rgba(255,255,255,.22); border-radius: 28px 28px 4px 4px; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.topic-symbol { width: 310px; height: 310px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.035), 0 0 0 60px rgba(255,255,255,.02); }
.topic-symbol span { color: #efc875; font: 100px var(--serif); }
.article-layout { display: grid; grid-template-columns: 1fr 360px; gap: 80px; }
.article-content > p:not(.eyebrow) { color: var(--ink-soft); font: 18px/1.9 var(--serif); }
.note-card { margin-top: 35px; padding: 28px; border-left: 4px solid var(--saffron); background: #eee0c8; }
.note-card span { color: var(--saffron); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.note-card p { margin-bottom: 0; }
.article-content > p.source-note { margin-top: 18px; color: #8a766e; font: 13px/1.6 var(--ui); }
.lesson-card { padding: 32px; color: white; background: var(--indigo); box-shadow: var(--shadow); }
.lesson-card small { color: #efc875; text-transform: uppercase; letter-spacing: .13em; }
.lesson-card h3 { margin-top: 8px; font-size: 28px; }
.lesson-card ul { padding: 0; margin: 24px 0; list-style: none; }
.lesson-card li { padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.lesson-card li::before { content: '◆'; position: absolute; left: 0; color: #efc875; font-size: 8px; top: 17px; }
.lesson-aside blockquote { position: relative; margin: 35px 0 0; padding: 25px; color: #5e504b; border: 1px solid var(--line); font: italic 18px/1.6 var(--serif); }
.lesson-aside blockquote span { color: var(--saffron); font-size: 46px; line-height: 0; }
.next-path { background: #e9dcc6; }
.topic-trivia { background: #f1e2c7; }
.quiz-save-form { display: inline-flex; margin: 18px 10px 0 0; }

.contact-hero { padding-top: 170px; padding-bottom: 80px; color: white; background: #282033; }
.contact-hero h1 { font-size: clamp(48px, 7vw, 78px); font-weight: 500; }
.contact-hero p:not(.eyebrow) { color: rgba(255,255,255,.68); font: 19px var(--serif); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.large-symbol { color: var(--saffron); font: 70px var(--serif); }
.contact-note h2 { font-size: 38px; }
.contact-note p { color: var(--ink-soft); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 35px; background: #f2e4cc; border: 1px solid var(--line); }
.contact-form label { color: #5d4e49; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.contact-form label:nth-of-type(3), .contact-form label:nth-of-type(4) { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; display: block; margin-top: 7px; padding: 13px 14px; color: var(--ink); border: 1px solid #c9b89b; background: rgba(255,255,255,.56); outline: none; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(217,115,36,.1); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.auth-form { grid-template-columns: 1fr; }
.auth-form h2 { grid-column: 1 / -1; font-size: 34px; }
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.badge-card { padding: 32px; background: #fffaf0; border: 1px solid color-mix(in srgb, var(--accent), transparent 72%); box-shadow: var(--shadow); }
.badge-medal { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent), transparent 90%); font-size: 30px; }
.badge-card small { display: block; margin-top: 20px; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge-card h2 { margin-top: 8px; font-size: 30px; }
.badge-card p { color: var(--ink-soft); }
.badge-card dl { margin: 22px 0; border-top: 1px solid var(--line); }
.badge-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.badge-card dt { color: #75645f; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.badge-card dd { margin: 0; font-weight: 700; text-align: right; }
.admin-panel, .admin-form { padding: 34px; background: #fffaf0; border: 1px solid var(--line); box-shadow: var(--shadow); }
.admin-panel + .admin-panel { margin-top: 28px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: #6c5c56; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.admin-table small { color: #7b6b65; }
.admin-form { display: grid; gap: 28px; }
.admin-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); }
.admin-form legend { padding: 0 8px; color: var(--saffron); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-form label { color: #5d4e49; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.admin-form label small { display: block; margin: 4px 0; color: #7b6b65; font-weight: 400; letter-spacing: 0; text-transform: none; }
.admin-form input, .admin-form textarea { width: 100%; display: block; margin-top: 7px; padding: 12px 13px; color: var(--ink); border: 1px solid #c9b89b; background: rgba(255,255,255,.62); outline: none; resize: vertical; }
.admin-form textarea[name="summary"], .admin-form textarea[name="intro"], .admin-form textarea[name="body"], .admin-form textarea[name="key_points"], .admin-form textarea[name="summary_hi"], .admin-form textarea[name="intro_hi"], .admin-form textarea[name="body_hi"] { grid-column: 1 / -1; }
.admin-form .check-field { display: flex; align-items: center; gap: 10px; }
.admin-form .check-field input { width: auto; margin: 0; }
.translation-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: end; }
.translation-locale-form { margin: 0; }
.translation-locale-form label, .translation-search span, .translation-upload label { color: #5d4e49; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.translation-locale-form select, .translation-search input, .translation-upload input { width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid #c9b89b; background: rgba(255,255,255,.7); }
.translation-actions { display: flex; justify-content: end; }
.translation-upload { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; }
.translation-upload label { flex: 1 1 340px; }
.translation-jumps { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.translation-jumps a { padding: 8px 11px; border: 1px solid var(--line); background: #fffaf0; color: #6a554b; font-size: 12px; }
.translation-jumps small { color: var(--saffron); font-weight: 700; }
.translation-group { margin-bottom: 28px; scroll-margin-top: 96px; }
.translation-group-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.translation-group-heading h2 { font-size: 34px; }
.translation-group-heading > span { color: #7b6b65; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.translation-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.translation-table { width: 100%; border-collapse: collapse; min-width: 920px; background: rgba(255,255,255,.35); }
.translation-table th, .translation-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.translation-table th { position: sticky; top: 0; z-index: 2; background: #efe0c7; color: #6c5c56; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.translation-key-cell { width: 25%; }
.translation-key-cell code { display: block; white-space: normal; word-break: break-word; color: #5c433c; background: rgba(217,115,36,.08); padding: 7px 8px; border-radius: 4px; }
.translation-fallback-cell { width: 34%; color: #6b5a54; font-family: var(--serif); line-height: 1.55; }
.translation-table textarea { width: 100%; min-height: 54px; padding: 11px 12px; color: var(--ink); border: 1px solid #c9b89b; background: rgba(255,255,255,.72); resize: vertical; }
.translation-savebar { position: sticky; z-index: 20; bottom: 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; align-items: center; padding: 16px; border: 1px solid var(--line); background: rgba(255,250,240,.95); box-shadow: 0 -12px 30px rgba(60,35,24,.1); }
.translation-savebar span { margin-right: auto; color: #6c5c56; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(15px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 82px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 30px 24px; background: #201a24; transform: translateX(100%); transition: transform .3s; }
  .site-nav.open { transform: translateX(0); }
  .site-nav > a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); font: 24px var(--serif); }
  .nav-search { margin-top: 24px; }
  .nav-search input { width: 100%; padding: 14px 16px; }
  .language-toggle { align-self: flex-start; margin-top: 16px; }
  .hero { min-height: 900px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 135px; }
  .hero-art { min-height: 400px; }
  .sun-disc { width: 220px; height: 220px; }
  .orbit-one { width: 350px; }
  .orbit-two { width: 280px; height: 360px; }
  .temple { width: 310px; transform: scale(.85); }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz-layout, .article-layout, .contact-grid, .auth-grid { grid-template-columns: 1fr; gap: 50px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-art { min-height: 470px; }
  .newsletter-box { grid-template-columns: 1fr; gap: 24px; }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-hero-grid { grid-template-columns: 1fr 250px; }
  .topic-symbol { width: 230px; height: 230px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 16px; }
  .site-nav { top: 72px; }
  .hero { min-height: 890px; align-items: start; }
  .hero-grid { padding-top: 132px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-stats { gap: 15px; justify-content: space-between; }
  .hero-stats div { padding-left: 9px; }
  .hero-stats dt { font-size: 18px; }
  .hero-art { min-height: 330px; }
  .sun-disc { width: 180px; height: 180px; }
  .sun-disc span { font-size: 30px; }
  .orbit-one { width: 290px; height: 130px; }
  .orbit-two { width: 220px; height: 300px; }
  .temple { bottom: 15px; transform: scale(.68); }
  .hero-quote { right: 5px; bottom: -12px; }
  .hero-quote span { font-size: 16px; }
  .welcome h2, .section-heading h2, .quiz-intro h2, .community h2, .newsletter h2, .article-content h2, .next-path h2 { font-size: 37px; }
  .feature-ribbon { grid-template-columns: 1fr 1fr; }
  .feature-ribbon div:nth-child(2) { border-right: 0; }
  .feature-ribbon div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .domain-grid { grid-template-columns: 1fr; }
  .domain-card { min-height: 320px; }
  .domain-card.has-image { min-height: 420px; }
  .timeline::before { left: 27px; }
  .timeline-item { grid-template-columns: 55px 1fr; gap: 15px; }
  .timeline-item > span { width: 55px; height: 55px; font-size: 14px; }
  .timeline-item div { padding-top: 4px; padding-left: 10px; }
  .timeline-item h3 { font-size: 25px; }
  .quiz-card { padding: 24px; }
  .quiz-options { grid-template-columns: 1fr; }
  .community-copy { padding: 65px 28px; }
  .community-art { min-height: 400px; }
  .arch { width: 75%; }
  .arch span { font-size: 25px; }
  .newsletter-box { padding: 32px 22px; }
  .newsletter-form { display: grid; gap: 10px; }
  .newsletter-form input { border-right: 1px solid #cdbb9d; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: grid; gap: 5px; }
  .verse-strip span { display: block; margin: 0; }
  .topic-hero { min-height: 650px; }
  .topic-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .topic-symbol { width: 160px; height: 160px; justify-self: center; }
  .topic-symbol span { font-size: 65px; }
  .topic-hero h1 { font-size: 50px; }
  .back-link { margin-bottom: 25px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .contact-form label { grid-column: 1 !important; }
  .admin-panel, .admin-form { padding: 22px; }
  .admin-form fieldset { grid-template-columns: 1fr; padding: 18px; }
  .translation-toolbar { grid-template-columns: 1fr; }
  .translation-actions { justify-content: start; }
  .translation-group-heading { display: block; }
  .translation-table { min-width: 760px; }
  .badge-grid { grid-template-columns: 1fr; }
  .quiz-save-form { display: grid; margin-right: 0; }
}
