@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{--ink:#25221f;--muted:#6d655d;--cream:#fbf7ef;--paper:#fffdf8;--saffron:#b76b2a;--gold:#d7a24a;--line:#e7ddd0;--deep:#31251d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,system-ui,sans-serif;line-height:1.7}a{color:inherit}.container{width:min(1120px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(251,247,239,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(231,221,208,.8)}.nav{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--deep);color:#f6d18d;font-size:22px}.brand-text{display:block}.brand strong{display:flex;align-items:center;gap:5px;font-family:"Cormorant Garamond",serif;font-size:24px;line-height:1;white-space:nowrap}.brand small{display:flex;align-items:center;gap:4px;font-size:9px;letter-spacing:.2px;color:var(--muted);margin-top:3px;line-height:1.15;white-space:nowrap}.handwritten-sivan{display:inline-block!important;height:20px!important;width:96px!important;max-width:96px!important;min-width:96px!important;object-fit:contain;object-position:left center;vertical-align:middle;mix-blend-mode:multiply}.handwritten-mohan{display:inline-block!important;height:18px!important;width:112px!important;max-width:112px!important;min-width:112px!important;object-fit:contain;object-position:left center;vertical-align:middle;mix-blend-mode:multiply}.brand-text{min-width:0}.nav nav{display:flex;gap:22px}.nav nav a{text-decoration:none;font-size:13px;color:#4e463f}.nav nav a:hover{color:var(--saffron)}.menu-btn{display:none;border:0;background:none;font-size:25px}.hero{position:relative;overflow:hidden;padding:100px 0 90px;background:radial-gradient(circle at 80% 25%,#f4dfbd 0,transparent 30%),linear-gradient(135deg,#fbf7ef,#f3e6d2)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px}.eyebrow{font-size:11px;letter-spacing:2.2px;color:var(--saffron);font-weight:700;margin-bottom:14px}.hero h1{font-family:"Cormorant Garamond",serif;font-size:76px;line-height:.9;margin:0;color:var(--deep);font-weight:600}.hero h1 span{color:var(--saffron)}.subtitle{font-family:"Cormorant Garamond",serif;font-size:28px;margin:22px 0 12px}.lead{font-size:17px;color:var(--muted);max-width:600px}.actions{display:flex;gap:12px;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:12px 21px;font-size:13px;font-weight:700;border:1px solid var(--line);cursor:pointer}.btn.primary{background:var(--deep);color:#fff;border-color:var(--deep)}.btn.secondary{background:transparent;color:var(--deep)}.btn.small{padding:9px 15px;border-radius:9px}.edition{font-size:11px;color:#8a7766;margin-top:16px}.hero-card,.image-card{background:#fff;border:1px solid var(--line);padding:10px;box-shadow:0 20px 50px rgba(55,35,18,.1);transform:rotate(1.2deg)}.hero-card img,.image-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.caption{padding:9px 5px 3px;text-align:center;font-family:"Cormorant Garamond",serif;font-size:17px;color:var(--muted)}.quote-band{background:var(--deep);color:#fff;padding:44px 0;text-align:center}.quote-band p{font-family:"Cormorant Garamond",serif;font-size:38px;margin:0}.quote-band span{font-size:12px;color:#d8c7b3}.section{padding:90px 0}.section.alt{background:#f4eadc}.two-col{display:grid;grid-template-columns:1fr .8fr;gap:70px;align-items:center}.section h2{font-family:"Cormorant Garamond",serif;font-size:50px;line-height:1.05;margin:0 0 22px;color:var(--deep)}.section p{color:#625a53}.image-card{transform:rotate(-1deg)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.card{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:18px}.card .num{font-family:"Cormorant Garamond",serif;font-size:46px;color:var(--saffron)}.card h3{margin:0 0 6px}.card p{font-size:14px}.book-note{margin-top:22px;background:#fffaf2;border-left:4px solid var(--gold);padding:22px 26px}.book-note h3{margin-top:0}.section-intro{max-width:760px}.levels{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:32px}.levels div{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:17px}.levels b{display:block;font-size:10px;color:var(--gold);letter-spacing:1px}.levels strong{display:block;font-family:"Cormorant Garamond",serif;font-size:23px}.levels span{font-size:12px;color:var(--muted)}.contents-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:28px 0}.content-item{background:var(--paper);border:1px solid var(--line);padding:13px 16px;border-radius:10px;font-size:13px;display:flex;gap:10px;cursor:pointer}.content-item:hover{border-color:var(--gold);transform:translateY(-1px)}.content-item b{color:var(--saffron);min-width:32px}.content-item.no-page{cursor:default}.center{text-align:center}.reader-section{background:linear-gradient(#fffaf2,#fbf7ef)}.reader-tools{display:grid;grid-template-columns:1fr 150px auto;gap:10px;margin:25px 0}.reader-tools input,.reader-tools select{border:1px solid var(--line);background:white;padding:12px 14px;border-radius:9px;font:inherit}.results{display:grid;gap:8px;margin-bottom:18px}.result{background:white;border:1px solid var(--line);padding:12px 15px;border-radius:9px;cursor:pointer}.result:hover{border-color:var(--gold)}.result small{color:var(--saffron);font-weight:700}.result mark{background:#f7dda4;padding:0 2px}.reader-card{background:#201b17;border-radius:16px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.15)}.reader-head{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;color:#fff;font-size:13px}.reader-head a{color:#f0c985;text-decoration:none}.reader-card iframe{display:block;width:100%;height:760px;border:0;background:white}footer{background:var(--deep);color:#eee0d0;padding:42px 0}.footer-grid{display:flex;justify-content:space-between;gap:30px}.footer-grid p{color:#c9b9a8;font-size:13px}@media(max-width:800px){.nav nav{display:none;position:absolute;top:76px;left:0;right:0;background:var(--cream);padding:18px 4%;border-bottom:1px solid var(--line);flex-direction:column;gap:12px}.nav nav.open{display:flex}.menu-btn{display:block}.brand strong{font-size:20px}.handwritten-sivan{height:17px}.handwritten-mohan{height:15px}.brand small{font-size:8px}.hero{padding:65px 0}.hero-grid,.two-col{grid-template-columns:1fr;gap:35px}.hero h1{font-size:58px}.cards{grid-template-columns:1fr}.levels{grid-template-columns:repeat(2,1fr)}.contents-list{grid-template-columns:1fr}.reader-tools{grid-template-columns:1fr}.reader-card iframe{height:620px}.footer-grid{display:block}}


.update-section{background:#f8f2e8}.upload-card{max-width:850px;margin:26px auto 0;padding:28px;border:1px solid rgba(60,42,28,.15);border-radius:18px;background:#fffdf8;box-shadow:0 10px 30px rgba(50,35,20,.06)}.upload-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.file-picker{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:10px;background:#3b2a1f;color:#fff;cursor:pointer;font-weight:700}.file-picker input{display:none}.admin-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.admin-row input{flex:1;min-width:220px;min-height:44px;padding:0 12px;border:1px solid rgba(60,42,28,.2);border-radius:10px;background:#fff;font:inherit}.admin-row .btn:disabled{opacity:.6;cursor:wait}.upload-status{margin-top:16px;padding:13px 15px;border-radius:10px;background:#f4eadb;color:#4b3829}.status-warn{font-size:.9em}.upload-note{margin-top:18px;font-size:.93rem;line-height:1.65;color:#67594d}.upload-note code{background:#eee5d8;padding:2px 5px;border-radius:4px}@media(max-width:600px){.upload-card{padding:20px}.upload-row{align-items:stretch}.file-picker,.upload-row .btn{width:100%}}

/* Prevent stale cached versions of the public site assets after wording updates. */

/* Header wording/layout — matched to the supplied reference image. */
.site-header{height:148px;position:sticky;top:0;z-index:20;background:rgba(251,247,239,.97);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .nav{height:100%;align-items:flex-start;padding-top:13px}
.brand{align-items:flex-start;gap:22px;min-width:0;text-decoration:none}
.brand-mark{width:82px;height:82px;min-width:82px;border-radius:50%;font-size:40px;margin-top:10px}
.brand-text{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0}
.brand-title{display:flex!important;align-items:center;gap:7px;font-family:Georgia,"Times New Roman",serif;font-size:38px!important;line-height:1!important;font-weight:400;white-space:nowrap;color:var(--ink)}
.sivan-parentheses{display:flex;align-items:center;gap:4px;font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1;font-weight:400}
.handwritten-sivan{display:block!important;width:285px!important;height:54px!important;max-width:285px!important;min-width:285px!important;object-fit:contain!important;object-position:left center!important;margin:0!important;mix-blend-mode:multiply}
.credit-line{display:flex;align-items:center;min-height:24px;font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.15;color:var(--ink);white-space:nowrap}
.handwritten-mohan{display:block!important;width:190px!important;height:40px!important;max-width:190px!important;min-width:190px!important;object-fit:contain!important;object-position:left center!important;margin-left:4px!important;mix-blend-mode:multiply}
.nav nav{margin-top:20px;white-space:nowrap}
@media(max-width:1050px){.nav nav{gap:14px}.brand-title,.sivan-parentheses{font-size:32px!important}.handwritten-sivan{width:235px!important;min-width:235px!important;height:46px!important}.brand-mark{width:68px;height:68px;min-width:68px;font-size:32px}.site-header{height:132px}}
@media(max-width:800px){.site-header{height:auto;min-height:92px}.site-header .nav{padding-top:12px;padding-bottom:12px}.brand{gap:12px}.brand-mark{width:52px;height:52px;min-width:52px;font-size:25px;margin-top:4px}.brand-title,.sivan-parentheses{font-size:24px!important}.handwritten-sivan{width:165px!important;min-width:165px!important;height:34px!important}.credit-line{font-size:11px;min-height:19px}.handwritten-mohan{width:125px!important;min-width:125px!important;height:25px!important}.nav nav{top:92px}}

/* Final header refinement: handwritten artwork visually merges into the cream background. */
.site-header{height:145px;background:#fbf7ef;border-bottom:1px solid #e7ddd0;}
.site-header .nav{height:100%;align-items:flex-start;padding-top:14px;}
.brand{align-items:flex-start;gap:20px;}
.brand-mark{width:82px;height:82px;min-width:82px;margin-top:9px;font-size:40px;}
.brand-text{padding-top:5px;}
.brand-title{font-family:Georgia,"Times New Roman",serif!important;font-size:34px!important;font-weight:400!important;line-height:1.05!important;display:flex!important;align-items:center!important;gap:3px!important;white-space:nowrap;}
.sivan-parentheses{font-family:Georgia,"Times New Roman",serif!important;font-size:34px!important;font-weight:400!important;display:flex!important;align-items:center!important;gap:2px!important;}
.handwritten-sivan{width:285px!important;min-width:285px!important;height:43px!important;max-width:285px!important;object-fit:contain!important;object-position:center!important;margin:0!important;mix-blend-mode:normal!important;}
.credit-line{font-family:Georgia,"Times New Roman",serif!important;font-size:16px!important;line-height:1.18!important;min-height:25px!important;display:flex!important;align-items:center!important;white-space:nowrap;}
.handwritten-mohan{width:172px!important;min-width:172px!important;height:33px!important;max-width:172px!important;object-fit:contain!important;object-position:center!important;margin-left:3px!important;mix-blend-mode:normal!important;}
.nav nav{margin-top:20px;white-space:nowrap;}
@media(max-width:1050px){.site-header{height:128px}.brand-mark{width:68px;height:68px;min-width:68px;font-size:32px}.brand-title,.sivan-parentheses{font-size:29px!important}.handwritten-sivan{width:235px!important;min-width:235px!important;height:36px!important}.credit-line{font-size:14px!important}.handwritten-mohan{width:145px!important;min-width:145px!important;height:28px!important}.nav nav{gap:13px;margin-top:18px}}
@media(max-width:800px){.site-header{height:auto;min-height:92px}.site-header .nav{padding-top:10px;padding-bottom:10px}.brand{gap:10px}.brand-mark{width:52px;height:52px;min-width:52px;font-size:25px;margin-top:3px}.brand-title,.sivan-parentheses{font-size:22px!important}.handwritten-sivan{width:155px!important;min-width:155px!important;height:27px!important}.credit-line{font-size:10px!important;min-height:18px!important}.handwritten-mohan{width:120px!important;min-width:120px!important;height:22px!important}.nav nav{top:92px}}


/* Final transparent handwriting treatment — matched to supplied reference */
.handwritten-sivan{object-fit:contain!important;mix-blend-mode:normal!important;background:transparent!important;width:285px!important;min-width:285px!important;height:43px!important;}
.handwritten-mohan{object-fit:contain!important;mix-blend-mode:normal!important;background:transparent!important;width:172px!important;min-width:172px!important;height:33px!important;}
@media(max-width:1050px){.handwritten-sivan{width:235px!important;min-width:235px!important;height:36px!important}.handwritten-mohan{width:145px!important;min-width:145px!important;height:28px!important}}
@media(max-width:800px){.handwritten-sivan{width:155px!important;min-width:155px!important;height:27px!important}.handwritten-mohan{width:120px!important;min-width:120px!important;height:22px!important}}

/* Exact header treatment from the supplied reference image — 2026-10-07 */
.site-header{height:145px;background:#fbf7ef;border-bottom:1px solid #e7ddd0;}
.site-header .nav{height:100%;align-items:flex-start;padding-top:14px;}
.brand{align-items:flex-start;gap:20px;}
.brand-mark{width:82px;height:82px;min-width:82px;margin-top:9px;font-size:40px;}
.brand-text{padding-top:5px;}
.brand-title{font-family:Georgia,"Times New Roman",serif!important;font-size:34px!important;font-weight:400!important;line-height:1.05!important;display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap;}
.handwritten-sivan{display:block!important;width:205px!important;min-width:205px!important;height:43px!important;max-width:205px!important;object-fit:contain!important;object-position:center!important;margin:0!important;background:transparent!important;mix-blend-mode:normal!important;}
.credit-line{font-family:Georgia,"Times New Roman",serif!important;font-size:16px!important;line-height:1.18!important;min-height:25px!important;display:flex!important;align-items:center!important;white-space:nowrap;}
.handwritten-mohan{display:block!important;width:165px!important;min-width:165px!important;height:34px!important;max-width:165px!important;object-fit:contain!important;object-position:center!important;margin-left:4px!important;background:transparent!important;mix-blend-mode:normal!important;}
.nav nav{margin-top:20px;white-space:nowrap;}
@media(max-width:1050px){.site-header{height:128px}.brand-mark{width:68px;height:68px;min-width:68px;font-size:32px}.brand-title{font-size:29px!important}.handwritten-sivan{width:175px!important;min-width:175px!important;height:36px!important}.credit-line{font-size:14px!important}.handwritten-mohan{width:145px!important;min-width:145px!important;height:29px!important}.nav nav{gap:13px;margin-top:18px}}
@media(max-width:800px){.site-header{height:auto;min-height:92px}.site-header .nav{padding-top:10px;padding-bottom:10px}.brand{gap:10px}.brand-mark{width:52px;height:52px;min-width:52px;font-size:25px;margin-top:3px}.brand-title{font-size:22px!important}.handwritten-sivan{width:135px!important;min-width:135px!important;height:27px!important}.credit-line{font-size:10px!important;min-height:18px!important}.handwritten-mohan{width:120px!important;min-width:120px!important;height:22px!important}.nav nav{top:92px}}

/* Final alignment fix: keep handwritten SIVAN SIR on the same baseline as “Sri”. */
.brand-title{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  font-size:34px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.handwritten-sivan{
  display:inline-block!important;
  width:170px!important;
  min-width:170px!important;
  height:34px!important;
  max-width:170px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  margin:0!important;
  align-self:baseline!important;
  transform:translateY(1px)!important;
  background:transparent!important;
  mix-blend-mode:normal!important;
}
@media(max-width:1050px){
  .brand-title{font-size:29px!important;}
  .handwritten-sivan{width:150px!important;min-width:150px!important;height:30px!important;}
}
@media(max-width:800px){
  .brand-title{font-size:22px!important;}
  .handwritten-sivan{width:125px!important;min-width:125px!important;height:25px!important;}
}
