/* ============================================
   DR. SATISH MODH — Premium Brand Site
   Stylesheet
   ============================================ */

/* ============ ROOT TOKENS ============ */
:root {
  --bg: #fbfaf6;
  --bg-alt: #f3f0e8;
  --surface: #ffffff;
  --ink: #0e1730;
  --ink-soft: #2a3553;
  --muted: #6b7488;
  --line: #e6e1d2;
  --navy: #0e1730;
  --navy-deep: #08102b;
  --gold: #b8924b;
  --gold-light: #d6b27a;
  --gold-soft: #f0e4c8;
  --saffron: #c8794a;
  --accent: var(--gold);

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-sans: 'Noto Serif Devanagari', 'Playfair Display', serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 12px rgba(14, 23, 48, 0.05);
  --shadow-md: 0 12px 40px rgba(14, 23, 48, 0.08);
  --shadow-lg: 0 30px 80px rgba(14, 23, 48, 0.12);

  --container-pad: clamp(20px, 5vw, 48px);
}

[data-theme="dark"] {
  --bg: #08102b;
  --bg-alt: #0e1730;
  --surface: #111a35;
  --ink: #f3f0e8;
  --ink-soft: #d8d3c4;
  --muted: #9aa3b8;
  --line: #1e2a4d;
  --navy: #f3f0e8;
  --navy-deep: #ffffff;
  --gold-soft: #2a2014;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ============ RESET ============ */
* { box-sizing: border-box; }
*::selection { background: var(--gold); color: var(--bg); }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

em { font-style: italic; color: var(--gold); font-weight: 500; }

.sanskrit {
  font-family: var(--ff-sans);
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ============ UTILITIES ============ */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}

.container { padding-inline: var(--container-pad); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 18ch;
}
.section-title.light { color: var(--bg); }

.section-lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.7;
}
.section-lead.light { color: rgba(243, 240, 232, 0.7); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.section-link:hover { color: var(--gold); }

/* ============ BUTTONS ============ */
.btn-primary-modh,
.btn-ghost-modh,
.btn-gold-modh,
.btn-link-modh {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary-modh {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary-modh:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 146, 75, 0.35);
}
.btn-primary-modh svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn-primary-modh:hover svg { transform: translateX(4px); }

.btn-ghost-modh {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-modh:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-gold-modh {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(184, 146, 75, 0.3);
}
.btn-gold-modh:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(184, 146, 75, 0.45);
}

.btn-link-modh {
  padding: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  font-weight: 500;
}
.btn-link-modh:hover { color: var(--gold); }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============ LOADER ============ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.loader-glyph {
  font-size: 3rem;
  color: var(--gold);
  animation: spin 2s linear infinite;
}
.loader-text {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.02em;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ NAVIGATION ============ */
.site-nav {
  background: transparent;
  padding: 1.4rem 0;
  transition: all 0.4s var(--ease);
  z-index: 1000;
}
.site-nav.scrolled {
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .site-nav.scrolled {
  background: rgba(8, 16, 43, 0.85);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0.65rem;
  padding: 0.4rem 0 !important;
  position: relative;
  letter-spacing: 0.01em;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--gold); }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.navbar-toggler {
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  transition: 0.3s;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(184, 146, 75, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(14, 23, 48, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] .hero-grain { mix-blend-mode: overlay; opacity: 0.2; }

.float-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
}
.orb-1 {
  width: 320px; height: 320px;
  top: 10%; left: -80px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
}
.orb-2 {
  width: 260px; height: 260px;
  bottom: 10%; right: 10%;
  background: radial-gradient(circle, var(--saffron) 0%, transparent 70%);
  opacity: 0.3;
  animation-delay: -4s;
}
.orb-3 {
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.2;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-mandala {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  color: var(--gold);
  opacity: 0.15;
  animation: rotate 80s linear infinite;
}
@keyframes rotate {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero-container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.9s var(--ease-out) 0.3s forwards;
}
.hero-eyebrow .line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.5s forwards;
}
.title-script {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 0.9s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 1.1s forwards;
}
.meta-item { display: flex; flex-direction: column; }
.meta-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.meta-num sup { font-size: 1rem; color: var(--gold); }
.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.4rem;
}
.meta-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
}

/* Hero portrait */
.hero-portrait-col {
  position: relative;
  opacity: 0;
  animation: heroFadeUp 1.2s var(--ease-out) 0.6s forwards;
}
.portrait-wrap {
  position: relative;
  max-width: 440px;
  margin-left: auto;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 280px 280px 32px 32px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.portrait-image {
  width: 100%;
  height: 100%;
}
.portrait-image svg { width: 100%; height: 100%; }
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-md);
  animation: floatBadge 6s ease-in-out infinite;
}
.badge-glyph {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.1rem;
}
.portrait-badge strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}
.portrait-badge small {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.portrait-quote {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md);
  animation: floatBadge 7s ease-in-out infinite -2s;
}
.portrait-quote .sanskrit {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}
.portrait-quote small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  position: relative;
  overflow: hidden;
}
.scroll-cue span::before {
  content: '';
  position: absolute;
  top: -40px;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  to { transform: translateY(80px); }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 1.4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
}
.marquee-track span {
  color: var(--gold-light);
  letter-spacing: 0.02em;
}
.marquee-track span:nth-child(even) {
  color: var(--gold);
  font-size: 1.1rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about-section .about-prose .lead {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.8rem;
}
.about-prose p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}

.about-pillars {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.pillar {
  position: relative;
}
.pillar-num {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: inline-block;
}
.pillar h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.pillar p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* ============ BOOKS ============ */
.books-section { background: var(--bg-alt); }

.featured-book {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 56px);
  margin-bottom: 80px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.cover-art {
  aspect-ratio: 2/3;
  border-radius: 4px;
  padding: 1.8rem 1.4rem;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  transition: transform 0.6s var(--ease-out);
}
.cover-art::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  pointer-events: none;
}
.cover-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.cover-publisher {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}
.cover-art h3,
.cover-art h4 {
  font-family: var(--ff-display);
  color: var(--bg);
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}
.cover-art h4 { font-size: 1.1rem; }
.cover-line {
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.cover-author {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 500;
}

.cover-featured { background: linear-gradient(160deg, #1a2848 0%, #0a1428 100%); }
.cover-1 { background: linear-gradient(160deg, #1a2848 0%, #0a1428 100%); }
.cover-2 { background: linear-gradient(160deg, #6e3b1a 0%, #3a1d0a 100%); }
.cover-3 { background: linear-gradient(160deg, #2a3a2a 0%, #142014 100%); }
.cover-4 { background: linear-gradient(160deg, #4a2a2a 0%, #2a1414 100%); }
.cover-5 { background: linear-gradient(160deg, #3a2a4a 0%, #1a142a 100%); }
.cover-6 { background: linear-gradient(160deg, #b8924b 0%, #6e5520 100%); }

.featured-cover {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.featured-cover .cover-art {
  transform: rotate(-3deg);
}
.featured-cover:hover .cover-art {
  transform: rotate(0deg) translateY(-8px);
}
.cover-shadow {
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 30px;
  background: rgba(0,0,0,0.15);
  filter: blur(20px);
  border-radius: 50%;
  z-index: -1;
}

.featured-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.featured-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.2rem;
}
.featured-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.featured-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.featured-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.featured-list li span { color: var(--gold); font-size: 0.8rem; }
.featured-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.slider-head h3 {
  font-size: 1.6rem;
  font-style: italic;
}
.slider-controls { display: flex; gap: 0.8rem; }
.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  pointer-events: auto;
  z-index: 10;
  padding: 0;
  font-size: 0;
}
.ctrl-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.ctrl-btn svg { width: 18px; height: 18px; }

/* books-swiper base — controlled by appended section below */
.book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  height: 100%;
  transition: all 0.4s var(--ease-out);
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.book-cover-wrap {
  max-width: 200px;
  margin: 0 auto 1.5rem;
  perspective: 1000px;
}
.book-card:hover .cover-art {
  transform: rotateY(-8deg) translateZ(20px);
}

.book-meta { text-align: center; }
.book-cat {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.book-title {
  font-size: 1.15rem;
  margin: 0.7rem 0 0.6rem;
  font-style: italic;
}
.book-meta p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  min-height: 50px;
}
.book-buy {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.book-buy:hover { color: var(--gold); }

/* ============ EXPERTISE ============ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.exp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy-deep) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: 0;
}
.exp-card:hover::before { opacity: 1; }
.exp-card:hover { transform: translateY(-6px); }
.exp-card > * { position: relative; z-index: 1; }

.exp-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: color 0.5s var(--ease);
}
.exp-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--ink);
  transition: color 0.5s var(--ease);
}
.exp-icon svg { width: 100%; height: 100%; }
.exp-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  transition: color 0.5s var(--ease);
}
.exp-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  transition: color 0.5s var(--ease);
}
.exp-card:hover .exp-icon,
.exp-card:hover h3 { color: var(--gold); }
.exp-card:hover p { color: rgba(255,255,255,0.7); }

.exp-card-cta {
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.exp-card-cta h3 {
  color: var(--bg);
  font-style: italic;
  font-size: 1.5rem;
}
.exp-card-cta:hover::before { opacity: 0; }
.exp-cta-link {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.exp-cta-link span { transition: transform 0.3s var(--ease); }
.exp-card-cta:hover .exp-cta-link span { transform: translateX(6px); }

/* ============ FRAMEWORK ============ */
.framework-section {
  background: var(--navy);
  color: var(--bg);
  overflow: hidden;
  position: relative;
}
.framework-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(184, 146, 75, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 146, 75, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.framework-section .container { position: relative; z-index: 2; }

.triguna-diagram {
  position: relative;
  max-width: 700px;
  margin: 4rem auto;
  aspect-ratio: 1.15/1;
  color: var(--gold);
}
.triguna-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.triguna-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 60px rgba(184, 146, 75, 0.4);
  z-index: 3;
}
.center-glyph { font-size: 1.4rem; margin-bottom: 0.3rem; }
.triguna-center strong {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
}
.triguna-center small {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  opacity: 0.85;
}

.triguna-node {
  position: absolute;
  width: 200px;
  text-align: center;
  z-index: 2;
}
.node-s { top: 0; left: 50%; transform: translateX(-50%); }
.node-r { bottom: 0; left: 0; }
.node-t { bottom: 0; right: 0; }

.node-letter {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--gold);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold);
  font-style: italic;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease);
}
.triguna-node:hover .node-letter {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}
.triguna-node h4 {
  color: var(--bg);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}
.triguna-node p {
  color: rgba(243, 240, 232, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

/* Timeline */
.framework-timeline { margin-top: 6rem; }
.timeline-title {
  color: var(--bg);
  font-size: 1.5rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 3rem;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.4;
}
.tl-item { text-align: center; position: relative; }
.tl-num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.tl-item h4 {
  color: var(--bg);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.tl-item p {
  font-size: 0.88rem;
  color: rgba(243, 240, 232, 0.6);
  margin: 0;
}

.framework-cta {
  margin-top: 5rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184, 146, 75, 0.3);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.framework-cta h3 {
  color: var(--bg);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.3rem;
}
.framework-cta p {
  color: rgba(243, 240, 232, 0.6);
  margin: 0;
}

/* ============ MEDIA ============ */
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  height: 100%;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-card-lg .video-thumb { aspect-ratio: 16/10; }

.thumb-1 { background: linear-gradient(135deg, #1a2848 0%, #0a1428 60%, #b8924b 100%); }
.thumb-2 { background: linear-gradient(135deg, #6e3b1a 0%, #3a1d0a 100%); }
.thumb-3 { background: linear-gradient(135deg, #2a3a2a 0%, #142014 100%); }
.thumb-4 { background: linear-gradient(135deg, #4a2a2a 0%, #2a1414 100%); }
.thumb-5 { background: linear-gradient(135deg, #3a2a4a 0%, #1a142a 100%); }
.thumb-6 { background: linear-gradient(135deg, #b8924b 0%, #6e5520 100%); }

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.02) 20px 22px);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.4s var(--ease-out);
  z-index: 2;
}
.play-btn::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}
.video-card:hover .play-btn {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  z-index: 2;
}

.video-info { padding: 1.5rem; }
.video-info.compact { padding: 1rem 1.25rem; }
.video-cat {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.video-info h3 {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.video-info h4 {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
}
.video-info p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.media-appearances {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.appearances-title {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--ff-body);
  font-weight: 500;
}
.appearances-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}
.appearances-row span:nth-child(even) { color: var(--gold); }

/* ============ WORKSHOPS ============ */
.workshops-section { background: var(--bg-alt); }

.workshop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.workshop-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.workshop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.workshop-card:hover::after { width: 100%; }

.ws-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.ws-icon svg { width: 100%; height: 100%; }
.workshop-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.workshop-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.workshop-stats {
  margin-top: 5rem;
  padding: 3rem 2rem;
  background: var(--ink);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.stat {
  text-align: center;
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num,
.stat-suffix {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix { display: inline; }
.stat > span { display: inline; }
.stat p {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.6);
}

.client-logos {
  margin-top: 4rem;
  text-align: center;
}
.logos-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.logo-pill {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  transition: all 0.3s var(--ease);
}
.logo-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============ BLOG ============ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  height: 100%;
  transition: all 0.4s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-feature { flex-direction: column; }

.blog-thumb {
  flex-shrink: 0;
  width: 180px;
  position: relative;
  overflow: hidden;
}
.blog-card-feature .blog-thumb {
  width: 100%;
  aspect-ratio: 16/10;
}
.blog-thumb-1 { background: linear-gradient(135deg, #1a2848, #0a1428 60%, #b8924b); }
.blog-thumb-2 { background: linear-gradient(135deg, #6e3b1a, #3a1d0a); }
.blog-thumb-3 { background: linear-gradient(135deg, #2a3a2a, #142014); }
.blog-thumb-4 { background: linear-gradient(135deg, #b8924b, #6e5520); }
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,0.03) 30px 32px);
}
.blog-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}

.blog-meta {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.blog-card-feature .blog-meta { padding: 2rem; }
.blog-tags {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.blog-tags span { color: var(--gold); font-weight: 500; }
.blog-meta h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-style: italic;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.blog-meta h4 {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.blog-meta p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.blog-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: auto;
}
.blog-link:hover { color: var(--gold); }

/* ============ CONTACT ============ */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184, 146, 75, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--bg);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 18ch;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.cta-banner > * { position: relative; z-index: 1; }

.contact-info h3 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  border-top: 1px solid var(--line);
}
.contact-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ci-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a, .contact-list li > span:last-child {
  color: var(--ink);
  font-weight: 500;
}
.contact-list a:hover { color: var(--gold); }

.newsletter {
  padding: 1.8rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.newsletter h4 {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}
.newsletter p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.6rem 0.9rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--ink);
}
.newsletter-form button {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.newsletter-form button:hover {
  background: var(--gold);
  color: var(--navy);
}

.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; }

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(184, 146, 75, 0.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 0 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.footer-brand .brand-mark {
  border-color: var(--gold);
  color: var(--gold);
}
.footer-brand .brand-name { color: var(--bg); }

.footer-tag {
  font-size: 1.05rem;
  font-family: var(--ff-display);
  font-style: italic;
  color: rgba(243, 240, 232, 0.8);
  max-width: 35ch;
  margin-bottom: 1.5rem;
}
.footer-sanskrit {
  font-size: 1.1rem;
  color: var(--gold);
}

.site-footer h5 {
  color: var(--bg);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: var(--ff-body);
  font-weight: 500;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer ul a {
  color: rgba(243, 240, 232, 0.6);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.site-footer ul a:hover { color: var(--gold); }

.site-footer .newsletter-form {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.site-footer .newsletter-form input { color: var(--bg); }
.site-footer .newsletter-form input::placeholder { color: rgba(243,240,232,0.4); }
.site-footer .newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.site-footer p {
  color: rgba(243, 240, 232, 0.7);
  font-size: 0.92rem;
}
.site-footer .col-md-6 > p { margin-bottom: 1rem; font-size: 0.88rem; }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(243, 240, 232, 0.5);
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--surface);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .navbar-nav .nav-link { margin: 0; padding: 0.6rem 0 !important; }

  .hero { padding-top: 110px; }
  .hero-portrait-col { margin-top: 3rem; }
  .portrait-wrap { max-width: 380px; margin: 0 auto; }
  .portrait-badge { left: 0; }
  .portrait-quote { right: 0; }
  .hero-mandala { width: 500px; height: 500px; right: -30%; opacity: 0.08; }
  .scroll-cue { display: none; }

  .triguna-diagram { aspect-ratio: 1/1.1; }
  .triguna-center { width: 130px; height: 130px; }
  .triguna-center strong { font-size: 1.2rem; }
  .triguna-node { width: 150px; }
  .node-letter { width: 60px; height: 60px; font-size: 1.4rem; }

  .blog-card { flex-direction: column; }
  .blog-thumb { width: 100%; aspect-ratio: 16/10; }

  .cta-banner { text-align: left; }
  .timeline::before { display: none; }
}

@media (max-width: 575.98px) {
  .hero-meta { gap: 1rem; }
  .meta-divider { display: none; }
  .meta-num { font-size: 1.6rem; }

  .featured-cta { flex-direction: column; align-items: stretch; }
  .featured-cta .btn { justify-content: center; }
  .featured-cover .cover-art { transform: none; }

  .portrait-badge { left: -15px; padding: 0.7rem 0.9rem; }
  .portrait-quote { right: -15px; padding: 0.8rem 1rem; }
  .portrait-quote .sanskrit { font-size: 0.95rem; }

  .triguna-node { width: 120px; }
  .triguna-node h4 { font-size: 1rem; }
  .triguna-node p { font-size: 0.75rem; }
  .node-letter { width: 50px; height: 50px; font-size: 1.2rem; }
  .triguna-center { width: 110px; height: 110px; }
  .triguna-center strong { font-size: 1rem; }

  .workshop-stats { padding: 2rem 1rem; }
  .stat-num, .stat-suffix { font-size: 2rem; }

  .framework-cta { text-align: left; }
  .framework-cta > div { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   NEW SECTIONS — ADDITIONS
   ============================================ */

/* ---- Nav Assessment Button ---- */
.nav-assessment-btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-assessment-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 146, 75, 0.3);
}

/* ---- Footer Assessment CTA ---- */
.footer-assessment-cta {
  margin-top: 1.5rem;
}
.btn-sm-modh {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}
.btn-sm-modh svg {
  width: 14px;
  height: 14px;
}

/* ============ IMPACT STATS SECTION ============ */
.impact-section {
  padding: 0;
  overflow: hidden;
}

.impact-inner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #0e1730 40%, #1a2848 100%);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.impact-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(184, 146, 75, 0.07) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(200, 121, 74, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.impact-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.impact-stat {
  position: relative;
}

.impact-stat + .impact-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.impact-stat-inner {
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 75, 0.3);
  border-radius: var(--radius-sm);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.impact-icon svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}

.impact-count-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.impact-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.impact-suffix {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.impact-label {
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  color: rgba(243, 240, 232, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .impact-stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .impact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-stat-inner {
    padding: 1.5rem 1.25rem;
  }
  .impact-num {
    font-size: 2rem;
  }
}

/* ============ SWIPER FIXED ============ */
.books-slider-wrap {
  overflow: hidden;
  position: relative;
}

.books-swiper {
  overflow: hidden !important;
  width: 100%;
  padding-bottom: 3rem !important;
}

.books-swiper .swiper-wrapper {
  align-items: stretch;
  box-sizing: border-box;
}

.books-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.book-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-meta p {
  flex: 1;
}

.books-pagination {
  bottom: 0 !important;
}

.books-pagination .swiper-pagination-bullet {
  background: var(--line);
  opacity: 1;
}

.books-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ============ ACADEMIC PUBLICATIONS ============ */
.publications-section {
  background: var(--bg);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.pub-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}

.pub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.pub-card:hover::before {
  transform: scaleX(1);
}

.pub-card-inner {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.25rem;
}

.pub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pub-source {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.pub-type {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pub-body {
  flex: 1;
}

.pub-title {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.pub-abstract {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.pub-footer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pub-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pub-journal {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  max-width: 30ch;
}

.pub-year {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.pub-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1px solid rgba(184, 146, 75, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  flex-shrink: 0;
}

.pub-read-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.pub-read-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateX(2px);
}

.pub-read-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .pub-grid {
    grid-template-columns: 1fr;
  }
  .pub-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .pub-journal {
    max-width: 100%;
  }
}

/* ============ TRUSTED BY — LOGOS GRID ============ */
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.logo-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Legacy logos-row fallback */
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  margin-top: 1rem;
}

/* ============ HERO CTA ENHANCEMENTS ============ */
.hero-cta-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 100%);
  color: var(--navy-deep);
  border: none;
  font-weight: 600;
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.hero-cta-primary:hover {
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(184, 146, 75, 0.45);
}

.hero-cta-primary:hover::before {
  opacity: 1;
}

.hero-cta-primary span,
.hero-cta-primary svg {
  position: relative;
  z-index: 1;
}

/* Swiper consolidated above */

/* ============ FOOTER ADDITIONS ============ */
.footer-assessment-cta .btn {
  margin-top: 0;
}

/* ============ RESPONSIVE ADDITIONS ============ */
@media (max-width: 991.98px) {
  .impact-inner {
    border-radius: var(--radius-md);
  }
  
  .nav-assessment-btn {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .pub-card-inner {
    padding: 1.5rem;
  }
  
  .impact-stat + .impact-stat::before {
    display: none;
  }
}


/* ============ SIMPLE SCROLL CAROUSEL (replaces Swiper) ============ */
.books-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--line);
}

.books-scroll::-webkit-scrollbar {
  height: 6px;
}
.books-scroll::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: 3px;
}
.books-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.books-scroll .book-card {
  min-width: calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .books-scroll .book-card {
    min-width: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
  }
}

@media (max-width: 575.98px) {
  .books-scroll .book-card {
    min-width: 85%;
    max-width: 85%;
  }
}

/* ============ BOOK COVER FALLBACK ============ */
.cover-art {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Fallback covers for books without images */
.cover-art.cover-4::before,
.cover-art.cover-5::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
  z-index: 1;
}

.cover-art.cover-4::after,
.cover-art.cover-5::after {
  content: attr(data-title);
  position: absolute;
  z-index: 2;
  color: #f3f0e8;
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: 2rem;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-featured {
  aspect-ratio: 2 / 3;
}

.book-cover-wrap {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  perspective: 1000px;
}

.book-card:hover .cover-art {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
