:root {
  --paper: #F2E8D5;
  --paper-deep: #E9DCC0;
  --paper-card: #FBF6EA;
  --ink: #241812;
  --ink-soft: #4a3c30;
  --maroon: #7A2331;
  --maroon-deep: #5C1A24;
  --gold: #B8892B;
  --gold-soft: #d9b878;
  --teal: #1F4B43;
  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-dev: 'Noto Sans Devanagari', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(122,35,49,0.03), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(184,137,43,0.05), transparent 45%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,232,213,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(36,24,18,0.12);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1160px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.seal {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-dev); color: var(--maroon); font-weight: 700; font-size: 18px;
  background: var(--paper-card);
  position: relative;
}
.seal::after {
  content: ''; position: absolute; inset: 4px;
  border: 1px solid var(--gold); border-radius: 50%;
}
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: 0.2px; }
.logo-text span { display: block; font-family: var(--font-body); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--maroon); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--maroon); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 3px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--maroon); color: var(--paper-card); }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(122,35,49,0.3); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); }

/* ---------- HERO ---------- */
.hero { padding: 88px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--gold); }

.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 56px; line-height: 1.06; letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--maroon); font-weight: 500; }

.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 460px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 46px; flex-wrap: wrap; }

.stats-row { display: flex; gap: 40px; }
.stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--maroon-deep); }
.stat-label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.manuscript {
  background: var(--paper-card);
  border: 1px solid rgba(36,24,18,0.15);
  border-radius: 4px;
  padding: 40px 34px;
  position: relative;
  box-shadow: 0 24px 48px rgba(36,24,18,0.12);
}
.manuscript::before, .manuscript::after {
  content: ''; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--gold);
}
.manuscript::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.manuscript::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.shloka {
  font-family: var(--font-dev); font-size: 25px; line-height: 1.75; color: var(--maroon-deep);
  text-align: center; font-weight: 500; margin-bottom: 18px;
}
.shloka-divider { width: 50px; height: 1.5px; background: var(--gold); margin: 0 auto 18px; }
.translation { text-align: center; font-style: italic; color: var(--ink-soft); font-size: 15px; margin-bottom: 6px; }
.translation-src { text-align: center; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.photo-frame {
  margin-top: 28px; border-radius: 3px; overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal), var(--maroon-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,232,213,0.6); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
}

/* ---------- SECTION BASE ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--paper-deep); }
h2 { font-family: var(--font-display); font-size: 36px; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.3px; }

/* ---------- ABOUT SNIPPET ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.about-photo {
  aspect-ratio: 3/4; border-radius: 4px;
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,232,213,0.55); font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  position: relative;
}
.about-photo::after { content: ''; position: absolute; inset: 14px; border: 1px solid var(--gold-soft); border-radius: 3px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15.5px; }
.credentials { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.credential { border-left: 2px solid var(--gold); padding-left: 14px; }
.credential-title { font-weight: 600; font-size: 14.5px; }
.credential-sub { font-size: 13px; color: var(--ink-soft); }

/* ---------- SECTION HEAD ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; gap: 20px; flex-wrap: wrap; }
.section-head p { color: var(--ink-soft); max-width: 420px; font-size: 15px; }

/* ---------- VIDEOS ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
  background: var(--paper-card); border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(36,24,18,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(36,24,18,0.14); }
.video-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ink), #3a2c22);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.play-btn {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(242,232,213,0.9);
  display: flex; align-items: center; justify-content: center; color: var(--maroon);
}
.video-info { padding: 16px 18px; }
.video-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.video-info span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- COURSES ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  background: var(--paper-card); border: 1px solid rgba(36,24,18,0.12); border-radius: 4px;
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.course-card:hover { border-color: var(--maroon); transform: translateY(-3px); }
.course-level {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--teal); background: rgba(31,75,67,0.1); padding: 5px 12px; border-radius: 20px; margin-bottom: 18px; width: fit-content;
}
.course-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.course-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; flex-grow: 1; }
.course-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(36,24,18,0.1); }
.course-price { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--maroon-deep); }
.course-link { font-size: 13.5px; font-weight: 600; color: var(--maroon); }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--paper-card); border-radius: 4px; padding: 30px 26px; border: 1px solid rgba(36,24,18,0.1); }
.testi-quote { font-size: 14.5px; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-soft); }
.testi-name { font-weight: 600; font-size: 14px; }
.testi-role { font-size: 12px; color: var(--ink-soft); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--maroon-deep); color: var(--paper); padding: 70px 0; text-align: center; }
.cta-band h2 { color: var(--paper); font-size: 32px; }
.cta-band p { color: rgba(242,232,213,0.75); margin-bottom: 30px; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--gold-soft); }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: rgba(242,232,213,0.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--paper); }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 260px; color: rgba(242,232,213,0.55); }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-soft); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(242,232,213,0.75); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(242,232,213,0.15); padding-top: 22px; font-size: 12.5px; display: flex; justify-content: space-between; color: rgba(242,232,213,0.5); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--gold-soft); }
.footer-bottom a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .video-grid, .course-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}