/* ==========================================================================
   Evolve Pune™ — Global Stylesheet (v5 · Direction B "Warm Modern Minimal")
   Single warm terracotta accent (sampled from the 2024 logo) on an off-white
   paper base — more negative space, larger type, thin lines instead of heavy
   shadows/borders. All colors & type live in :root — adjust there.
   ========================================================================== */

:root {
  /* Palette — Direction B */
  --terra: #C1502E;
  --terra-deep: #9A3D20;
  --terra-tint: #F6E3DA;
  --paper: #FDFBF7;
  --sand: #F5EFE6;
  --ink: #221C18;
  --ink-soft: #71655C;
  --white: #FFFFFF;
  --line: #EAE2D6;

  /* Type */
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Sora", -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.03rem;
  --fs-md: 1.22rem;
  --fs-lg: 1.625rem;
  --fs-xl: clamp(2rem, 3.4vw, 2.9rem);
  --fs-hero: clamp(2.6rem, 6vw, 4.4rem);

  /* Layout */
  --container: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(34, 28, 24, 0.09);
  --shadow-soft: 0 4px 14px rgba(34, 28, 24, 0.05);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.14;
  color: var(--ink);
  margin: 0 0 0.55em;
}
h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-md); font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
blockquote { margin: 0; }
sup { font-size: 0.45em; font-weight: 400; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tint { background: var(--sand); }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.lead { font-size: var(--fs-md); color: var(--ink-soft); max-width: 44em; font-weight: 400; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: var(--white); }
.btn-primary:hover { background: var(--terra-deep); color: var(--white); }
.btn-gold { background: var(--ink); color: var(--paper); }
.btn-gold:hover { color: var(--paper); background: var(--terra-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--ink); color: var(--paper); }
.btn-light:hover { background: var(--terra-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-size: var(--fs-sm); font-weight: 500; padding: 6px 2px; }
.nav-list a:hover { color: var(--terra); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--terra); border-bottom: 2px solid var(--terra); }
.nav-list a.nav-highlight {
  background: var(--terra);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  border-bottom: none;
}
.nav-list a.nav-highlight:hover { background: var(--terra-deep); color: var(--white); }
.nav-list a.nav-highlight[aria-current="page"] { border-bottom: none; box-shadow: inset 0 0 0 2px var(--ink-maroon, var(--terra-deep)); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-list .nav-cta-mobile { display: none; }

/* ---------- Nav dropdowns ---------- */
.has-dropdown { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.dropdown-caret { transition: transform 0.15s ease; }
.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 230px;
  margin: 14px 0 0; list-style: none;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
/* Invisible bridge over the visual gap above the menu, so the pointer
   never leaves a hoverable element while moving from the nav link down
   into the dropdown — this is what was causing it to vanish mid-hover. */
.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 14px;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu li { width: auto; }
.dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  color: var(--ink);
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
  background: var(--sand); text-decoration: none; color: var(--terra);
}
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 8px; padding: 0; }
.header-cta .btn { padding: 10px 20px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Hero (light paper base, real photo shown through a warm scrim) ---------- */
.hero {
  background: var(--paper);
  color: var(--ink);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-bg-layer {
  position: absolute;
  inset: -6% -6%;
  z-index: 0;
  will-change: transform;
}
.hero-bg-layer img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.9;
}
/* Muted looping YouTube background video (desktop only — see media queries below) */
.hero-bg-video { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; /* 16:9 */
  min-height: 100%; min-width: 177.78vh; /* 16:9, covers on tall viewports too */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero-bg-fallback-img { display: none; }
@media (max-width: 860px) {
  /* Skip autoplay video on mobile — data usage + performance */
  .hero-bg-video { display: none; }
  .hero-bg-fallback-img { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hero-bg-fallback-img { display: block; }
}
.hero-bg-layer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(253, 251, 247, 0.95) 8%, rgba(253, 251, 247, 0.8) 48%, rgba(245, 239, 230, 0.4) 100%);
}
/* When the hero has a background video, use a much lighter scrim confined to
   the text side only, so the video itself stays clearly visible. */
.hero-bg-layer:has(.hero-bg-video)::after {
  background: linear-gradient(90deg,
    rgba(253, 251, 247, 0.97) 0%,
    rgba(253, 251, 247, 0.9) 26%,
    rgba(253, 251, 247, 0.35) 48%,
    rgba(253, 251, 247, 0) 62%);
}
.hero:has(.hero-bg-video) {
  min-height: min(640px, 82vh);
  display: flex; align-items: center;
  padding-top: 40px; padding-bottom: 40px;
}
.hero:has(.hero-bg-video) .hero-grid { width: 100%; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 640px; }
.hero:has(.hero-bg-video) .hero-copy { max-width: 480px; }
.hero:has(.hero-bg-video) h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hero:has(.hero-bg-video) .lead { font-size: var(--fs-base); }
.hero h1 { color: var(--ink); max-width: 15em; }
.hero .lead { color: var(--ink-soft); }
.hero .eyebrow { color: var(--terra); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; }
.hero--simple { padding-bottom: 90px; }


/* Floating director photo card */
.hero-photo-card {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  will-change: transform;
}
.hero-photo-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}
/* Variant for graphic/diagram images (light line-art on transparent bg) —
   needs a dark card behind it instead of cover-cropping like a photo. */
.hero-photo-card--graphic img {
  object-fit: contain;
  background: var(--ink);
  padding: 32px;
}

/* Five Pillars graphic, now shown inside the "Five Pillars" section itself
   rather than floating in the hero (it has white text baked in, so it still
   needs a dark card behind it for legibility). */
.pillar-graphic-frame {
  max-width: 420px; border-radius: var(--radius); overflow: hidden;
  background: var(--ink);
}
.pillar-graphic-frame img { width: 100%; height: auto; display: block; padding: 20px; }

/* Mute/unmute toggle for background hero videos */
.hero-sound-toggle {
  position: absolute; z-index: 3; right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(34, 28, 24, 0.65); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  padding: 9px 16px; font-size: var(--fs-xs); font-weight: 600;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.hero-sound-toggle:hover { background: rgba(34, 28, 24, 0.85); }
.hero-sound-toggle svg { flex-shrink: 0; }
.hero-photo-tag {
  position: absolute; left: 16px; right: -16px; bottom: -18px;
  background: var(--ink);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--paper);
}
.hero-photo-tag span { display: block; font-weight: 400; color: var(--terra-tint); font-size: 0.72rem; margin-top: 2px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-card { max-width: 220px; margin: 36px auto 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer, .hero-photo-card { transition: none !important; transform: none !important; }
}

/* Page hero (interior pages, full-bleed photo + warm scrim for legibility) */
.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding: 108px 0 88px;
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--ink); max-width: 720px; }
.page-hero .lead { color: var(--ink-soft); max-width: 620px; }
.page-hero .eyebrow { color: var(--terra); }
.breadcrumb { font-size: var(--fs-xs); margin-bottom: 14px; color: var(--terra); }
.breadcrumb a { color: var(--terra); }

/* Interior page-hero background photo — shown through a light, directional
   warm scrim so heading/breadcrumb text (left-aligned) stays legible while
   the photo itself reads clearly on the right side of the hero. */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg,
    rgba(253, 251, 247, 1) 0%,
    rgba(253, 251, 247, 0.99) 42%,
    rgba(253, 251, 247, 0.92) 58%,
    rgba(245, 239, 230, 0.55) 78%,
    rgba(245, 239, 230, 0.2) 100%);
}
/* Much lighter, more tightly confined scrim when the hero has a background
   video — keeps text legible on the left third while the video plays
   clearly across the rest of the frame. */
.page-hero-bg:has(.hero-bg-video)::after {
  background: linear-gradient(90deg,
    rgba(253, 251, 247, 0.97) 0%,
    rgba(253, 251, 247, 0.9) 26%,
    rgba(253, 251, 247, 0.35) 48%,
    rgba(253, 251, 247, 0) 62%);
}
/* Video page-heroes: same anatomy as the homepage hero — text pinned to the
   faded left side, bare minimum copy (lead hidden), video clear on the right. */
.page-hero:has(.hero-bg-video) {
  min-height: min(480px, 62vh);
  display: flex; align-items: center;
}
.page-hero:has(.hero-bg-video) .container { width: 100%; }
.page-hero:has(.hero-bg-video) .lead { display: none; }
.page-hero:has(.hero-bg-video) .hero-lotus { display: none; }
.page-hero:has(.hero-bg-video) h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 480px; }
.page-hero:has(.hero-bg-video) .lead { font-size: var(--fs-sm); max-width: 440px; }
.page-hero .container { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .page-hero { padding: 84px 0 60px; min-height: 320px; }
  .page-hero-bg::after {
    background: linear-gradient(180deg, rgba(253, 251, 247, 0.98) 0%, rgba(253, 251, 247, 0.96) 60%, rgba(245, 239, 230, 0.8) 100%);
  }
}

/* Pillars hero — Krishna deity photo backdrop + lotus/pillars graphic and
   a warm accent strip at the base, echoing the client's original homepage
   design (kept within the Direction B light/warm treatment). */
.page-hero--pillars { padding-bottom: 120px; }
.page-hero--pillars::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: var(--terra);
  z-index: 1;
}
.hero-lotus {
  position: absolute;
  right: 6%; bottom: 14px;
  width: min(300px, 26vw);
  z-index: 1;
  text-align: center;
}
.hero-lotus img { width: 100%; height: auto; }
.hero-lotus-arc { width: 82%; margin: -8px auto 0; overflow: visible; }
.hero-lotus-arc text, .hero-lotus-arc textPath {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: var(--ink);
}
@media (max-width: 860px) {
  .hero-lotus { display: none; }
  .page-hero--pillars { padding-bottom: 88px; }
}

/* Standalone banner strip — for client-supplied promo images that already
   carry their own baked-in title/text. */
.hero-banner-strip img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Stat strip at hero base — light glass panel */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-bottom: none;
}
.stat { background: rgba(255, 255, 255, 0.4); padding: 22px 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--terra); font-weight: 500; }
.stat span { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--terra); }
.card h3 a { color: var(--ink); }
.card .card-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra); margin: 0 0 10px;
}
.card p { color: var(--ink-soft); font-size: var(--fs-sm); }
.card .card-link { margin-top: auto; font-weight: 600; font-size: var(--fs-sm); }
.card-img { border-radius: var(--radius-sm); margin: -10px -10px 18px; overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; height: 190px; object-fit: cover; }

/* Pillars — numbered like a masthead index, not a colored badge box */
.pillar {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--terra); }
.pillar-badge {
  width: auto; height: auto;
  background: none;
  color: var(--terra);
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 500;
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.pillar p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

/* Five Pillars — square photo box beside its text, one row per pillar
   (matches the client's original site layout: a square cutout image with
   its copy running alongside it, not stacked on top). */
.pillars-list { display: flex; flex-direction: column; gap: 24px; }
.pillar-row {
  display: flex; gap: 32px; align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.pillar-row:hover { border-color: var(--terra); transform: translateY(-3px); }
.pillar-photo-box {
  flex: 0 0 200px;
  width: 200px; height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pillar-photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar-content { flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .pillar-row { flex-direction: column; }
  .pillar-photo-box { width: 100%; height: auto; aspect-ratio: 1 / 1; flex-basis: auto; }
}

/* ---------- Inspiration cards (About page) ---------- */
.inspiration-card { text-align: center; }
.inspiration-card img {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
  margin: 0 auto 14px;
}
.inspiration-card h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.inspiration-card p { color: var(--ink-soft); font-size: var(--fs-sm); }
.inspiration-placeholder-icon {
  width: 140px; height: 140px; border-radius: 50%;
  border: 2px dashed var(--terra); background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); margin: 0 auto 14px;
}

/* ---------- Split (media + text), simple rounded photo, no offset frame ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img {
  width: 100%; height: 230px; object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.25s;
}
.gallery img:hover { transform: scale(1.02); }
.gallery-item { display: block; transition: opacity 0.3s ease, transform 0.3s ease; }
.gallery-item.is-hidden { display: none; }

/* ---------- Gallery slider ---------- */
.slider-wrap { position: relative; }
.gallery.slider-track {
  display: flex; grid-template-columns: none;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding-bottom: 6px; scrollbar-width: thin;
}
.gallery.slider-track .gallery-item {
  flex: 0 0 auto; scroll-snap-align: start;
  width: calc((100% - 32px) / 3);
}
.gallery.slider-track .gallery-item.is-hidden { display: none; }
.gallery.slider-track::-webkit-scrollbar { height: 6px; }
.gallery.slider-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.slider-btn:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }
.slider-btn.slider-prev { left: -10px; }
.slider-btn.slider-next { right: -10px; }
@media (max-width: 760px) {
  .slider-btn { display: none; }
  .gallery.slider-track .gallery-item { width: calc((100% - 16px) / 1.6); }
}

/* ---------- Team slider (circular headshot + name, no title/role) ---------- */
.team-track { display: flex; }
.team-track .gallery-item {
  width: calc((100% - 5 * 16px) / 6);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.team-track .gallery-item img {
  width: 108px; height: 108px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line);
  margin-bottom: 10px;
}
.team-track .gallery-item span {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  color: var(--ink);
}
@media (max-width: 760px) {
  .team-track .gallery-item { width: calc((100% - 3 * 16px) / 3.2); }
}

/* ---------- Gallery filter tabs ---------- */
.filter-tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 32px;
}
.filter-tab {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 9px 20px; border-radius: 50px;
  border: 1.5px solid var(--line);
  background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all 0.25s ease;
}
.filter-tab:hover { color: var(--ink); border-color: var(--terra); }
.filter-tab.active { background: var(--terra); color: var(--white); border-color: var(--terra); }

/* ---------- Divider (single accent line, no gold) ---------- */
.gold-rule { width: 80px; height: 2px; background: var(--terra); margin: 24px 0; border: none; }
.gold-rule--center { margin-left: auto; margin-right: auto; }
.gold-rule--wide { width: 120px; }

/* ---------- Quotes / pillars ---------- */
.pillar-quote {
  font-style: italic; color: var(--ink-soft); font-size: var(--fs-sm);
  border-left: 2px solid var(--terra); padding-left: 14px; margin: 12px 0 8px;
}
.pillar-quote cite { display: block; font-style: normal; font-size: var(--fs-xs); margin-top: 6px; color: var(--terra); }

/* ---------- Testimonials carousel — big, centered, minimal ---------- */
.carousel { position: relative; max-width: 780px; margin: 0 auto; }
.carousel-track { overflow: hidden; }
.testimonial {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
}
.testimonial.is-active { display: block; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--terra);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 auto 22px;
}
.testimonial p { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 400; line-height: 1.5; color: var(--ink); text-align: center; }
.testimonial cite { font-style: normal; font-size: var(--fs-sm); color: var(--ink-soft); display: block; margin-top: 18px; text-align: center; }
.testimonial cite strong { color: var(--terra); display: block; font-size: var(--fs-md); }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 28px; align-items: center; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 18px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: var(--terra); border-color: var(--terra); color: var(--white); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; }
.carousel-dots button.is-active { background: var(--terra); }

/* ---------- Program detail ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 28px 0; }
.fact { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.fact .fact-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.fact .fact-value { font-weight: 700; color: var(--ink); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--terra);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 12L2 7.5l1.4-1.4 3.1 3.1 6.1-6.1L14 4.5z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.5 12L2 7.5l1.4-1.4 3.1 3.1 6.1-6.1L14 4.5z"/></svg>') center/contain no-repeat;
}
.notice {
  background: var(--sand);
  border-left: 3px solid var(--terra);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.placeholder-note {
  background: var(--terra-tint);
  border: 1px dashed var(--terra);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: var(--fs-xs);
  color: var(--terra-deep);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.form-grid label { font-weight: 600; font-size: var(--fs-sm); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); font: inherit; color: var(--ink);
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: 2px solid var(--terra); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-status { font-size: var(--fs-sm); font-weight: 600; }

/* ---------- CTA band — light bordered panel, not a dark gradient ---------- */
.cta-band {
  background: var(--sand);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: var(--ink); margin: 0; }
.cta-band p { color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- Evolve Universe (cross-site) — light bordered panel + cards ---------- */
.universe {
  background: var(--sand);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 56px;
}
.universe h2 { color: var(--ink); }
.universe .eyebrow { color: var(--terra); }
.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.ucard {
  display: block;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.ucard:hover { border-color: var(--terra); transform: translateY(-3px); text-decoration: none; }
.ucard b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.ucard span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Blog ---------- */
.post-meta { font-size: var(--fs-xs); color: var(--ink-soft); margin-bottom: 6px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose img { border-radius: var(--radius); margin: 28px 0; }
.prose h2 { margin-top: 1.6em; }
.prose blockquote { border-left: 2px solid var(--terra); padding-left: 18px; font-style: italic; color: var(--ink-soft); margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: var(--fs-sm); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--sand); font-weight: 600; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; margin: 28px 0; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Blog search ---------- */
.blog-search {
  display: flex; align-items: center; gap: 12px;
  max-width: 520px; margin: 0 auto;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 14px 22px;
  color: var(--ink-soft);
}
.blog-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink);
}
.blog-search input::placeholder { color: var(--ink-soft); }
.blog-search:focus-within { border-color: var(--terra); }
.blog-search-empty { text-align: center; color: var(--ink-soft); margin: 28px 0 0; }
.card.is-hidden { display: none; }

/* ---------- Gita Insight of the Day — full-width quote band ---------- */
.gita-insight-band {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 60px;
  position: relative;
  overflow: hidden;
}
.gita-insight { max-width: 780px; margin: 0 auto; text-align: center; position: relative; }
.gita-insight-mark {
  display: block;
  font-family: var(--font-head);
  font-size: 5.5rem; line-height: 0.4;
  color: var(--terra); opacity: 0.35;
  margin-bottom: 18px;
}
.gita-insight-label { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 700; color: var(--terra); margin: 0 0 16px; }
.gita-insight-text { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.45; color: var(--ink); margin: 0 0 14px; }
.gita-insight-chapter { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0; }

/* ---------- Blog author bio (end of every post) ---------- */
.author-bio {
  display: flex; gap: 22px; align-items: flex-start;
  max-width: 720px; margin: 48px auto 0;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.author-bio img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 700; color: var(--terra); margin: 0 0 4px; }
.author-bio h3 { margin: 0 0 8px; }
.author-bio p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0 0 14px; }
@media (max-width: 560px) {
  .author-bio { flex-direction: column; align-items: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #B8ACA2;
  padding: 64px 0 0;
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h3 { color: var(--terra); font-size: var(--fs-sm); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer a { color: #B8ACA2; }
.site-footer a:hover { color: var(--terra-tint); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-logo { height: 44px; width: auto; filter: none; }
/* ---------- Social icon row for light backgrounds (e.g. director bio) ---------- */
.social-row { display: flex; gap: 12px; margin: 18px 0; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.social-row a:hover { border-color: var(--terra); color: var(--terra); }

.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(193, 80, 46, 0.4);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--terra); background: rgba(193, 80, 46, 0.12); }
.footer-universe { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: var(--fs-xs); }
.footer-universe p { margin: 0 0 8px; color: var(--terra); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; }
.footer-universe ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(184, 172, 162, 0.8);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Sticky mobile CTA (program pages) ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: var(--ink);
  padding: 10px 16px; gap: 10px;
  align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(110%);
  transition: transform 0.25s;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .sticky-cta-label { color: var(--paper); font-size: var(--fs-xs); font-weight: 600; }
.sticky-cta .btn { padding: 9px 20px; white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .pillar, .btn, .ucard, .gallery img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stat-strip, .universe-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .universe { padding: 40px 32px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; z-index: 1001; position: relative; }
  .header-cta { display: none; }

  /* Full-page mobile navigation overlay */
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: var(--paper, #FDFBF7);
    z-index: 999;
    display: none;
    flex-direction: column;
    padding: 84px 20px 140px;
    overflow-y: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open {
    display: flex;
    animation: fadeInNav 0.22s ease-out;
  }
  body.mobile-nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; margin-bottom: 20px; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 13px 4px;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line, #EAE2D6);
  }
  .nav-list .nav-cta-mobile {
    margin-top: 28px;
    margin-bottom: 70px;
    padding: 0;
    display: flex;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-list .nav-cta-mobile a.btn {
    flex: 1 1 0%;
    width: 50%;
    text-align: center;
    justify-content: center;
    padding: 14px 10px;
    font-size: var(--fs-sm);
    box-sizing: border-box;
    border-bottom: none;
  }
  .dropdown-menu {
    position: static; display: none !important; flex-direction: column;
    box-shadow: none; border: none; background: transparent;
    padding: 4px 0 6px 16px; margin-top: 4px; min-width: 0;
    border-left: 2px solid var(--terra-tint, #F6E3DA);
    margin-left: 4px;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { display: none !important; }
  .has-dropdown.is-open .dropdown-menu,
  .has-dropdown.is-open:hover .dropdown-menu,
  .has-dropdown.is-open:focus-within .dropdown-menu { display: flex !important; }
  .has-dropdown { padding-bottom: 0; margin-bottom: 0; }
  .dropdown-caret { display: inline-block; margin-left: 6px; transition: transform 0.25s ease; }
  .has-dropdown.is-open .dropdown-caret { transform: rotate(180deg); }
  .dropdown-menu a { padding: 10px 4px; font-size: var(--fs-sm); font-weight: 500; border-bottom: none; }
  .grid-2, .grid-3, .grid-4, .stat-strip, .universe-grid, .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .hero { padding-top: 72px; }
  .testimonial { padding: 0; }
  .universe { padding: 32px 22px; }
  body.has-sticky-cta .sticky-cta { display: flex; }
  body.has-sticky-cta .whatsapp-float { bottom: 76px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Video lightbox trigger (play button) ---------- */
.hero-video-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
  color: var(--ink);
  font-weight: 600; font-size: var(--fs-sm);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.hero-video-btn:hover { transform: translateY(-2px); border-color: var(--terra); }
.hero-video-btn .play-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terra);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-video-btn .play-circle svg { margin-left: 3px; color: var(--white); }

/* ---------- Video modal (lightbox) ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(34, 28, 24, 0.85);
  padding: 24px;
}
.video-modal.is-open { display: flex; }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; }
.video-modal-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm); overflow: hidden;
  background: #000;
}
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: var(--white);
  border: none; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.25); }
body.modal-open { overflow: hidden; }

/* ---------- Lead nudge — low-pressure corner card, scroll-triggered (sitewide) ---------- */
.lead-nudge {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  max-width: 300px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.34,1.4,.64,1), opacity 0.35s ease;
}
.lead-nudge.visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.lead-nudge-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; color: rgba(253, 251, 247, 0.45);
  font-size: 18px; cursor: pointer; line-height: 1; padding: 4px;
}
.lead-nudge-close:hover { color: var(--terra-tint); }
.lead-nudge-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra-tint); margin-bottom: 8px; }
.lead-nudge-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--paper); line-height: 1.3; margin-bottom: 6px; }
.lead-nudge-sub { font-size: 0.82rem; color: #B8ACA2; line-height: 1.5; margin-bottom: 14px; }
.lead-nudge-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--white); background: var(--terra);
  border: none; border-radius: 999px; padding: 10px 18px;
  cursor: pointer; transition: transform 0.2s ease, background 0.2s ease;
}
.lead-nudge-btn:hover { transform: translateY(-2px); background: var(--terra-deep); }
@media (max-width: 600px) { .lead-nudge { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Modal that opens when the nudge is clicked — never appears on its own */
.lead-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9998;
  background: rgba(34, 28, 24, 0.6); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.lead-modal-overlay.active { display: flex; }
.lead-modal {
  background: var(--paper); border-radius: 20px; max-width: 440px; width: 100%;
  padding: 36px 32px 32px; position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  transform: scale(0.92); opacity: 0;
  transition: transform 0.3s cubic-bezier(.34,1.4,.64,1), opacity 0.25s ease;
}
.lead-modal-overlay.active .lead-modal { transform: scale(1); opacity: 1; }
.lead-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 24px; color: var(--ink-soft);
  cursor: pointer; line-height: 1; padding: 6px;
}
.lead-modal-close:hover { color: var(--terra); }
.lead-modal h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.lead-modal p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; }
.lead-modal-form { display: flex; flex-direction: column; gap: 12px; }
.lead-modal-form input {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: var(--white);
}
.lead-modal-form input:focus { outline: 2px solid var(--terra); outline-offset: 1px; }
.lead-modal-note { font-size: var(--fs-xs); color: var(--ink-soft); margin: 0; }
@media (prefers-reduced-motion: reduce) { .lead-nudge, .lead-modal { transition: none; } }

/* ---------- Announce bar (app launch) ---------- */
.announce-bar {
  background: linear-gradient(90deg, var(--terra-deep), var(--terra));
  color: #fff;
  font-size: var(--fs-xs);
}
.announce-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px;
  text-align: center;
  position: relative;
}
.announce-text strong { font-weight: 700; }
.announce-link {
  color: #fff; font-weight: 700; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.5);
}
.announce-link:hover { text-decoration: none; border-bottom-color: #fff; }
.announce-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.announce-close:hover {
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.15);
}
@media (max-width: 600px) {
  .announce-inner { padding-right: 36px; }
  .announce-close { right: 8px; }
}

/* ---------- Bhakti Roadmap ---------- */
.roadmap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 26px; text-align: left; counter-reset: step;
}
.roadmap-step {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  transition: transform .2s, border-color .2s;
}
.roadmap-step:hover { transform: translateY(-4px); border-color: var(--terra); }
.roadmap-step:not(:last-child)::after {
  content: "\2192";
  position: absolute; right: -22px; top: 50%;
  transform: translateY(-50%);
  color: var(--terra); font-size: 1.2rem; font-weight: 700;
}
.roadmap-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--terra-tint); color: var(--terra-deep);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-family: var(--font-head); font-size: 1.15rem;
}
.roadmap-step p { color: var(--ink-soft); font-size: var(--fs-sm); margin: 0; }

/* ---------- Card bullets (featured program details) ---------- */
.card-bullets {
  list-style: none; padding: 0; margin: 0 0 16px;
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.card-bullets li {
  padding-left: 22px; position: relative; margin-bottom: 6px;
}
.card-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra-tint); border: 2px solid var(--terra);
}

/* ---------- Video testimonial cards ---------- */
.video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.video-card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  padding: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--terra); box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; inset: 0; margin: auto;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(34, 28, 24, 0.72); color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  transition: background .2s, transform .2s;
}
.video-card:hover .play-badge { background: var(--terra); transform: scale(1.08); }
.video-title {
  display: block; padding: 14px 16px 16px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.45;
}

@media (max-width: 960px) {
  .roadmap-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-step::after { display: none; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .roadmap-grid, .video-grid { grid-template-columns: 1fr; }
}

/* ---------- Five-pillar grid ---------- */
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid-5 { grid-template-columns: 1fr; } }

/* ---------- Five Pillars — card scheme (About page): 3 cards + 2 centered ---------- */
.pillar-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  text-align: left;
}
.pillar-card {
  grid-column: span 2;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pillar-card:hover { transform: translateY(-5px); border-color: var(--terra); box-shadow: var(--shadow); }
.pillar-card:nth-child(4) { grid-column: 2 / span 2; }
.pillar-card:nth-child(5) { grid-column: 4 / span 2; }
.pillar-card-media { position: relative; aspect-ratio: 16 / 10; }
.pillar-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar-chip {
  position: absolute; left: 18px; bottom: -18px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--terra); color: #fff;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(154, 61, 32, 0.35);
  border: 3px solid var(--paper);
}
.pillar-card-body { padding: 30px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pillar-card-body h3 { margin-bottom: 10px; font-size: 1.35rem; }
.pillar-card-body h3 span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terra); margin-top: 4px;
}
.pillar-card-body > p { color: var(--ink-soft); font-size: var(--fs-sm); }
.pillar-card-body .pillar-quote { margin-top: auto; }
@media (max-width: 1024px) {
  .pillar-cards { grid-template-columns: 1fr 1fr; }
  .pillar-card, .pillar-card:nth-child(4) { grid-column: auto; }
  .pillar-card:nth-child(5) { grid-column: 1 / -1; max-width: 520px; justify-self: center; width: 100%; }
}
@media (max-width: 640px) {
  .pillar-cards { grid-template-columns: 1fr; }
  .pillar-card:nth-child(5) { grid-column: auto; max-width: none; }
}

/* ---------- Image lightbox ---------- */
.lightbox-cursor { cursor: zoom-in; position: relative; }
.gallery-item.lightbox-cursor::after {
  content: "";
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(34,28,24,.62) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3M11 8v6M8 11h6"/></svg>') center/16px no-repeat;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.gallery-item.lightbox-cursor:hover::after,
.gallery-item.lightbox-cursor:focus::after { opacity: 1; }
.gallery-item.lightbox-cursor img { transition: transform .3s; }
.gallery-item.lightbox-cursor:hover img { transform: scale(1.04); }
.gallery-item { overflow: hidden; }

.img-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 14, 11, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.img-lightbox.is-open { display: flex; }
.img-lightbox-fig { margin: 0; max-width: min(1100px, 88vw); text-align: center; }
.img-lightbox-fig img {
  max-width: 100%; max-height: 82vh;
  width: auto; height: auto;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.img-lightbox-fig figcaption { color: rgba(255,255,255,.75); font-size: var(--fs-xs); margin-top: 12px; }
.img-lightbox-close, .img-lightbox-prev, .img-lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.img-lightbox-close:hover, .img-lightbox-prev:hover, .img-lightbox-next:hover { background: var(--terra); border-color: var(--terra); }
.img-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.img-lightbox-prev, .img-lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 28px; }
.img-lightbox-prev { left: 18px; }
.img-lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .img-lightbox-prev { left: 8px; } .img-lightbox-next { right: 8px; }
  .img-lightbox-prev, .img-lightbox-next { width: 40px; height: 40px; }
}

/* ---------- Course unit cards (program pages) ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.unit-card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 24px 16px;
  transition: transform .2s, border-color .2s;
}
.unit-card:hover { transform: translateY(-4px); border-color: var(--terra); }
.unit-num {
  display: block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 8px;
}
.unit-card h3 { font-size: 1.02rem; margin: 0; }
.roadmap-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .unit-grid { grid-template-columns: repeat(3, 1fr); } .roadmap-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .unit-grid { grid-template-columns: 1fr 1fr; } .roadmap-grid--5 { grid-template-columns: 1fr; } }
.unit-grid--2 { grid-template-columns: repeat(2, minmax(220px, 320px)); justify-content: center; }
@media (max-width: 640px) { .unit-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Bhakti Life level cards ---------- */
.level-list { display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin-left: auto; margin-right: auto; }
.level-card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 26px 28px;
  transition: border-color .2s;
}
.level-card:hover { border-color: var(--terra); }
.level-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.level-head h3 { margin: 0; }
.level-badge {
  background: var(--terra); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.level-card > p { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: 12px; }
.level-details summary {
  cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--terra);
  list-style: none; display: inline-flex; align-items: center; gap: 8px;
}
.level-details summary::-webkit-details-marker { display: none; }
.level-details summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.level-details[open] summary::after { content: "\2212"; }
.level-details[open] summary { margin-bottom: 10px; }
.level-details p { font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- Album chips (yatras) ---------- */
.album-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.album-chips a {
  border: 1.5px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 8px 18px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink);
  transition: .2s;
}
.album-chips a:hover { border-color: var(--terra); color: var(--terra); text-decoration: none; transform: translateY(-2px); }

/* ---------- Photo grid (Our Graduates & galleries) — editorial mosaic ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.photo-grid .gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.photo-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } .photo-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .photo-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; } }


/* ---------- Stat band (own section below hero — no overlap with video) ---------- */
.stat-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.stat-strip--band {
  border-radius: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  gap: 0;
}
.stat-strip--band .stat {
  background: transparent;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
}
.stat-strip--band .stat:last-child { border-right: none; }
@media (max-width: 960px) {
  .stat-strip--band { grid-template-columns: repeat(3, 1fr); }
  .stat-strip--band .stat:nth-child(3n) { border-right: none; }
  .stat-strip--band .stat { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stat-strip--band { grid-template-columns: 1fr 1fr; }
  .stat-strip--band .stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .stat-strip--band .stat:nth-child(2n) { border-right: none; }
}

/* ---------- FAQ (details/summary accordion) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--paper);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3em;
  color: var(--terra);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a {
  padding: 0 22px 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ---------- Video testimonials (YouTube Shorts, portrait) — added 19 Jul 2026 ---------- */
.video-card--short .video-thumb { aspect-ratio: 9 / 16; border-radius: 14px; }
.video-testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 980px; margin: 36px auto 0; }
@media (max-width: 960px) { .video-testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.video-modal.is-portrait .video-modal-inner { max-width: 400px; }
.video-modal.is-portrait .video-modal-frame { aspect-ratio: 9 / 16; }

/* ---------- Reading progress bar (blog posts) — added 19 Jul 2026 ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--terra, #C1502E); z-index: 200; transition: width 0.1s linear; }

/* ---------- Gentle page fade-in — added 19 Jul 2026 ---------- */
@media (prefers-reduced-motion: no-preference) {
  body { animation: page-fade 0.35s ease-out; }
  @keyframes page-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Self-hosted hero loop videos (replace YouTube iframes) — added 19 Jul 2026 ---------- */
.hero-bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-bg-video video.hero-video-top { object-position: center 15%; }

/* ---------- Integrated Zoho Contact Form Styling ---------- */
.card.zoho-card-container {
  padding: 32px 28px;
}
.zf-templateWrapper, .zf-subContWrap, .zf-tempHeadBdr {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
.zf-tempHeadBdr {
  display: none !important; /* Hide Zoho Form Header */
}
.zf-subContWrap > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.zf-tempFrmWrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.zf-labelName {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  display: block;
}
.zf-important {
  color: var(--terra) !important;
  font-weight: 700;
  margin-left: 2px;
}
.zf-tempContDiv input[type="text"],
.zf-tempContDiv select,
.zf-tempContDiv textarea,
.zf-tempContDiv input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.zf-tempContDiv select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23221C18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.zf-tempContDiv input[type="text"]:focus,
.zf-tempContDiv select:focus,
.zf-tempContDiv textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(193, 80, 46, 0.15);
}
.zf-tempContDiv textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.zf-nameWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.zf-nameWrapper span label,
.zf-phwrapper span label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  margin-top: 4px;
}
.zf-phwrapper {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}
.zf-errorMessage {
  color: #d93025;
  font-size: var(--fs-xs);
  font-weight: 500;
  margin-top: 4px;
}
.zf-fmFooter {
  list-style: none;
  margin-top: 10px;
  padding: 0;
}
.zf-submitColor {
  display: inline-block;
  width: 100%;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  background: var(--terra);
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.zf-submitColor:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .zf-nameWrapper,
  .form-responsive-grid,
  .form-responsive-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Form Stepper (Multi-step Wizard) ---------- */
.form-stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--line, #EAE2D6);
}
.stepper-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.stepper-item.is-active {
  color: var(--terra);
}
.stepper-item.is-complete {
  color: var(--ink);
}
.stepper-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--line);
  transition: all 0.2s;
}
.stepper-item.is-active .stepper-num {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.stepper-item.is-complete .stepper-num {
  background: var(--sand);
  color: var(--terra);
  border-color: var(--terra);
}
.form-step {
  display: none;
}
.form-step.is-active {
  display: block;
  animation: page-fade 0.3s ease-out;
}
.form-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #EAE2D6);
}
@media (max-width: 600px) {
  .stepper-label { display: none; }
  .form-stepper-bar { justify-content: space-around; }
}
