:root {
    --bg: #FCFAF2; --ink: #1A1F2C; --saffron: #D97706; --gold: #B45309; --ash: #71717A;
    --paper: #FFFFFF; --line: rgba(26, 31, 44, 0.08);
    --f-head: 'Eczar', serif; --f-dev: 'Martel', serif; --f-sans: 'Plus Jakarta Sans', sans-serif; --f-mono: 'Space Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-sans); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* Bhurjapatra (Birch Bark) Texture Overlay */
body::after {
    content: ""; position: fixed; inset: 0;
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    opacity: 0.5; pointer-events: none; z-index: 1000;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
section { padding: 100px 0; border-bottom: 1px solid var(--line); }

/* SPIRITUAL REVEAL */
.rv { opacity: 0; transform: translateY(30px); transition: all 1.2s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }

/* --- NAVIGATION --- */
.nav { position: fixed; top: 0; width: 100%; height: 90px; background: rgba(252, 250, 242, 0.85); backdrop-filter: blur(15px); z-index: 100; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.nav-in { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--saffron); }
.menu { display: flex; gap: 25px; }
.menu a { text-decoration: none; color: var(--ink); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.6; transition: 0.3s; }
.menu a:hover, .menu a.active { opacity: 1; color: var(--saffron); }

/* --- HERO SECTION --- */
.hero { min-height: 100svh; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: none; overflow: visible; padding-top: 90px; }
.hero-content { width: 100%; max-width: 900px; z-index: 10; text-align: center; }
.tag { font-family: var(--f-mono); font-size: 0.7rem; color: var(--saffron); text-transform: uppercase; letter-spacing: 5px; margin-bottom: 25px; display: block; font-weight: 700; }
.hero h1 { font-family: var(--f-head); font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 1.1; margin-bottom: 30px; font-weight: 800; }
.hero h1 em { font-family: var(--f-dev); font-style: normal; color: var(--gold); font-weight: 600; }
.hero-p { font-size: 1.3rem; color: var(--ash); margin: 0 auto 45px; max-width: 750px; font-family: var(--f-dev); }

/* Mandala Visualizer Animation */
.mandala-box { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70vh; height: 80vh; z-index: 1; opacity: 0.05; pointer-events: none; }
.mandala-svg { width: 100%; height: 100%; animation: spin 60s linear infinite; fill: none; stroke: var(--saffron); stroke-width: 0.2; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- STATS (The Sadhana Counters) --- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.stat-item { text-align: center; }
.stat-item b { font-family: var(--f-head); font-size: 3.5rem; display: block; color: var(--ink); line-height: 1; }
.stat-item span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--gold); letter-spacing: 2px; }

/* --- ABOUT (The Literary Preface) --- */
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.letter-box { font-family: var(--f-dev); font-size: 1.25rem; line-height: 1.8; color: #333; border-left: 3px solid var(--saffron); padding-left: 40px; }
.letter-box p { margin-bottom: 25px; }
.sig { font-family: var(--f-head); font-size: 2.5rem; color: var(--ink); margin-top: 50px; }

/* --- EXPERIENCE (The Mala Thread) --- */
.mala-thread { position: relative; padding-left: 50px; }
.mala-thread::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--saffron); opacity: 0.5; }
.bead { position: relative; margin-bottom: 100px; }
.bead::before { content: ""; position: absolute; left: -58px; top: 12px; width: 16px; height: 16px; background: var(--bg); border: 3px solid var(--saffron); border-radius: 50%; z-index: 10; }
.time-label { font-family: var(--f-mono); font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; display: block; }
.bead h3 { font-family: var(--f-head); font-size: 2.4rem; font-weight: 600; margin-bottom: 8px; }
.bead .org { font-weight: 800; font-size: 0.95rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; display: block; }

/* --- SKILLS (The Sutras) --- */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.skill-card { background: var(--paper); padding: 45px; border: 1px solid var(--line); border-radius: 2px; transition: 0.5s var(--ease); }
.skill-card:hover { transform: translateY(-10px); border-color: var(--saffron); }
.skill-card h4 { font-family: var(--f-head); font-size: 1.6rem; margin-bottom: 20px; }
.skill-level { display: flex; gap: 8px; }
.rudraksha { width: 14px; height: 14px; border: 1.5px solid var(--saffron); border-radius: 50%; }
.rudraksha.fill { background: var(--saffron); }

/* --- RECRUITER BOARD (Linguistic Metadata) --- */
.dashboard { background: var(--ink); color: #fff; padding: 80px; border-radius: 4px; position: relative; overflow: hidden; }
.dashboard::after { content: "आधिकारिक"; position: absolute; bottom: 20px; right: 20px; font-family: var(--f-dev); font-size: 4rem; opacity: 0.03; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 50px; }
.dash-item label { font-family: var(--f-mono); font-size: 0.65rem; text-transform: uppercase; color: var(--saffron); display: block; margin-bottom: 12px; letter-spacing: 2.5px; }
.dash-item span { font-weight: 400; font-size: 1.2rem; color: #E0E0E0; font-family: var(--f-dev); }

/* --- GALLERY --- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gal-item { aspect-ratio: 4/5; overflow: hidden; background: #ddd; border: 1px solid var(--line); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: sepia(30%) grayscale(50%); transition: 1s var(--ease); }
.gal-item:hover img { filter: none; transform: scale(1.05); }

/* --- BLOG --- */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post { text-decoration: none; color: inherit; padding: 35px; border: 1px solid var(--line); transition: 0.3s; }
.post:hover { background: var(--paper); border-color: var(--saffron); }
.post h4 { font-family: var(--f-head); font-size: 1.4rem; margin-bottom: 15px; }

/* --- CONTACT --- */
.contact-flex { display: flex; justify-content: space-between; align-items: flex-end; }
.contact-link { font-family: var(--f-head); font-size: clamp(2rem, 6vw, 4.5rem); color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--saffron); line-height: 1.1; transition: 0.3s; display: inline-block; }
.contact-link:hover { color: var(--saffron); }

footer { padding: 60px 0; text-align: center; font-family: var(--f-mono); font-size: 0.7rem; color: var(--ash); opacity: 0.6; text-transform: uppercase; letter-spacing: 4px; }

@media (max-width: 850px) {
    .about-grid, .stat-grid, .dash-grid, .gal-grid, .skills-grid, .blog-list { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .nav-in .menu, .mandala-box { display: none; }
}
.contact-form-wrap{margin-top:22px;max-width:520px;margin-left:auto;margin-right:auto}
.contact-form .form_group{margin-bottom:12px}
.contact-form input,.contact-form textarea{width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(0,0,0,.12);font:inherit;background:#fff}
.contact-form textarea{min-height:110px;resize:vertical}
.text-danger{color:#c0392b;font-size:.8rem;margin-top:4px}
