/* ==========================================================================
   भक्ति Vilas, inner pages (Sessions, Community, Profile)
   --------------------------------------------------------------------------
   Loaded after site.css on the three signed-in pages.

   These are product surfaces, not a landing page. Someone is here to book a
   session, find a circle, or change a plan. So "bolder" here means stronger
   hierarchy and clearer weight contrast, not drama: the brand's dark band
   heads each page, then the work happens on cream where it can be scanned.

   Hand-written on purpose. The Tailwind CDN only emits rules for classes
   present at its first scan, so nothing here may depend on a utility class.
   ========================================================================== */

/* ------------------------------------------------------- mounted headings */
/* mountWeek() and friends write their own heading row with an inline
   display:flex, and an inline style outranks any selector. Where the page
   already states the heading, hide the mounted one. Same bug as the
   duplicated "Launching soon" on home; it needs !important for the same
   reason. Scoped to [data-mounted-head-off] so it never fires by accident. */
[data-mounted-head-off] .bv > div:first-child { display: none !important; }

/* ================================================================ SESSIONS */

.bv-sessions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.bv-session {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--bv-line);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease, border-color 0.35s ease;
}
.bv-session:hover {
  transform: translateY(-5px);
  border-color: rgba(60, 3, 12, 0.22);
  box-shadow: 0 28px 56px -32px rgba(42, 2, 8, 0.5);
}

.bv-session__media {
  position: relative;
  height: clamp(200px, 22vw, 252px);
  overflow: hidden;
  background: var(--bv-cream-3);
}
.bv-session__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bv-session:hover .bv-session__media img { transform: scale(1.05); }
.bv-session__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 2, 8, 0.5), transparent 45%);
}

.bv-session__tag {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(42, 2, 8, 0.82);
  color: var(--bv-gold-soft);
  font-family: Manrope, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* time and duration, set into the foot of the photograph */
.bv-session__when {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bv-cream);
  font-family: Manrope, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}
.bv-session__when svg { width: 15px; height: 15px; opacity: 0.75; }

.bv-session__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: clamp(20px, 2.2vw, 26px);
}
.bv-session__body h3 {
  margin: 0 0 10px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--bv-maroon);
}
.bv-session__body p {
  margin: 0 0 20px;
  font-family: Manrope, sans-serif;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #4a3b38;
}

/* The old footer crammed avatars, a text link and a Book button onto one
   justify-between row and they collided. Now the roster sits on its own
   line above a ruled action row. */
.bv-session__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bv-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bv-session__who {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Manrope, sans-serif;
  font-size: 0.82rem;
  color: var(--bv-faint);
}
.bv-session__avs { display: flex; }
.bv-session__avs span {
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border-radius: 999px;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--bv-maroon);
  background: var(--bv-cream-3);
}
.bv-session__avs span:first-child { margin-left: 0; }
.bv-session__avs span:nth-child(2) { background: var(--bv-rose); }
.bv-session__avs span:last-child   { background: #dfe7d5; }

.bv-session__acts { display: flex; align-items: center; gap: 8px; }
.bv-session__learn {
  padding: 0 0 3px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(60, 3, 12, 0.28);
  font-family: Manrope, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bv-maroon);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.bv-session__learn:hover { border-color: var(--bv-maroon); }
.bv-session__learn:focus-visible { outline: 2px solid var(--bv-maroon); outline-offset: 4px; }

/* ============================================================== COMMUNITY */

/* featured member + upcoming circle */
.bv-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
@media (max-width: 900px) { .bv-feature { grid-template-columns: 1fr; } }

.bv-feature__main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 42vw, 460px);
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bv-maroon-deep);
}
.bv-feature__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.bv-feature__main:hover .bv-feature__img { transform: scale(1.05); }
.bv-feature__main::after {
  content: "";
  position: absolute;
  inset: 0;
  /* deep enough at the copy end that the gold kicker still reads where the
     photograph happens to be bright */
  background: linear-gradient(to top, rgba(42, 2, 8, 0.95) 4%, rgba(42, 2, 8, 0.72) 34%, rgba(42, 2, 8, 0.3) 58%, rgba(42, 2, 8, 0.04) 82%);
}
.bv-feature__body { position: relative; z-index: 1; color: var(--bv-cream); }

/* A bare kicker over photography is fragile: wherever the picture happens to
   be bright, small gold letterforms disappear. On this card it becomes a
   chip, which holds regardless of what is behind it. */
.bv-feature__body .bv-kicker {
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(42, 2, 8, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.42);
  color: var(--bv-gold-soft);
}
.bv-feature__body .bv-kicker::before { display: none; }
.bv-feature__body h3 {
  margin: 16px 0 12px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}
.bv-feature__body blockquote {
  margin: 0 0 22px;
  max-width: 44ch;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 248, 245, 0.86);
}

.bv-upnext {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 22px;
  background: var(--bv-cream);
  border: 1px solid var(--bv-line);
}
.bv-upnext h4 {
  margin: 0 0 12px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--bv-maroon);
}
.bv-upnext__blurb {
  margin: 0 0 20px;
  font-family: Manrope, sans-serif;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #4a3b38;
}
.bv-upnext__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid var(--bv-line);
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
  color: var(--bv-ink);
}
.bv-upnext__row svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--bv-maroon); }
.bv-upnext__going {
  margin: 18px 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 0.85rem;
  color: var(--bv-faint);
}
.bv-upnext .bv-cta { width: 100%; justify-content: center; margin-top: auto; }

/* wisdom voices */
.bv-wisdom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}
.bv-voice {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--bv-line);
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}
.bv-voice:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 3, 12, 0.22);
  box-shadow: 0 24px 46px -30px rgba(42, 2, 8, 0.45);
}
.bv-voice:focus-visible { outline: 2px solid var(--bv-maroon); outline-offset: 3px; }

.bv-voice__q {
  margin: 0 0 22px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.5;
  color: var(--bv-ink);
  text-wrap: pretty;
}
.bv-voice__q::before {
  content: "\201C";
  display: block;
  margin-bottom: -6px;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(60, 3, 12, 0.2);
}
.bv-voice__by {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--bv-line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.bv-voice__av {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(60, 3, 12, 0.15);
}
.bv-voice__by b {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bv-ink);
}
.bv-voice__by span {
  display: block;
  margin-top: 1px;
  font-family: Manrope, sans-serif;
  font-size: 0.79rem;
  color: var(--bv-faint);
}

/* local circles: list beside map */
.bv-circles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}
@media (max-width: 940px) { .bv-circles { grid-template-columns: 1fr; } }

.bv-circles__list {
  max-height: 460px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bv-circles__list::-webkit-scrollbar { width: 6px; }
.bv-circles__list::-webkit-scrollbar-thumb {
  background: rgba(60, 3, 12, 0.2);
  border-radius: 999px;
}

.bv-circles__map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream-3);
  min-height: 420px;
}
.bv-circles__map > [data-location] {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  /* was 0.45, which faded to almost nothing against cream and left the panel
     reading as an empty box until you scrolled to the darker half */
  opacity: 0.82;
}
/* warm the photograph toward the brand and darken its foot so the white
   locator card sitting on it keeps its contrast */
.bv-circles__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(42, 2, 8, 0.42), rgba(42, 2, 8, 0.06) 46%),
    linear-gradient(rgba(60, 3, 12, 0.1), rgba(60, 3, 12, 0.1));
}
.bv-circles__card { z-index: 1; }
.bv-circles__card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 15px;
  background: rgba(255, 248, 245, 0.94);
  border: 1px solid rgba(60, 3, 12, 0.1);
  box-shadow: 0 18px 40px -24px rgba(42, 2, 8, 0.5);
}
.bv-circles__card small {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a6a12;
}
.bv-circles__card b {
  display: block;
  margin-top: 3px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--bv-maroon);
}

/* the mosaic that closes the page */
.bv-spirit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
@media (max-width: 780px) { .bv-spirit { grid-template-columns: repeat(2, 1fr); } }
.bv-spirit > div {
  height: clamp(180px, 22vw, 280px);
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bv-spirit > div:nth-child(even) { margin-top: clamp(16px, 3vw, 40px); }
.bv-spirit > div:hover { transform: scale(1.04); }

/* ================================================================ PROFILE */

/* the identity now lives inside the dark page-header band */
.bv-idcard {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
}
.bv-idcard__av {
  position: relative;
  width: clamp(84px, 10vw, 124px);
  height: clamp(84px, 10vw, 124px);
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(201, 162, 39, 0.55);
  background: var(--bv-maroon);
}
.bv-idcard__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bv-idcard__mood {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.12);
  font-family: Manrope, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bv-gold-soft);
}
.bv-idcard__mood svg { width: 15px; height: 15px; }

/* journey stats and level */
.bv-journey {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
@media (max-width: 900px) { .bv-journey { grid-template-columns: 1fr; } }

.bv-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 38px);
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--bv-line);
}
.bv-panel--dark {
  background: var(--bv-maroon-deep);
  border-color: transparent;
  color: var(--bv-cream);
}
.bv-panel__h {
  margin: 0 0 22px;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--bv-maroon);
}
.bv-panel--dark .bv-panel__h { color: var(--bv-cream); }

/* the three journey numbers. A ruled row, not three nested cards inside a
   card, which is what this was. */
.bv-jstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.bv-jstat {
  padding: 6px 18px 18px;
  border-left: 1px solid var(--bv-line);
}
.bv-jstat:first-child { border-left: 0; padding-left: 0; }
.bv-jstat b {
  display: block;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bv-maroon);
  font-variant-numeric: tabular-nums;
}
.bv-jstat span {
  display: block;
  margin-top: 8px;
  font-family: Manrope, sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--bv-faint);
}

.bv-level { margin-top: auto; padding-top: 26px; border-top: 1px solid var(--bv-line); }
.bv-level__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
}
.bv-level__row b { font-weight: 700; color: var(--bv-ink); }
.bv-level__row span { color: #8a6a12; font-weight: 700; }
.bv-level__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bv-cream-3);
  overflow: hidden;
}
.bv-level__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bv-maroon), var(--bv-gold));
  transform-origin: left center;
}

/* recent activity */
.bv-acts { display: flex; flex-direction: column; gap: 18px; }
.bv-act { display: flex; gap: 14px; align-items: flex-start; }
.bv-act__ic {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 245, 0.1);
  color: var(--bv-gold-soft);
}
.bv-act__ic svg { width: 19px; height: 19px; }
.bv-act b {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--bv-cream);
}
.bv-act span {
  display: block;
  margin-top: 2px;
  font-family: Manrope, sans-serif;
  font-size: 0.79rem;
  color: rgba(255, 248, 245, 0.6);
}

/* membership settings */
.bv-set { border-top: 1px solid var(--bv-line); }
.bv-setrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--bv-line);
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.22s ease;
}
/* the row nudges on hover by translating its contents, not by animating
   padding, which would relayout the whole list on every pointer move */
.bv-setrow > * { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.bv-setrow:hover { background: rgba(60, 3, 12, 0.028); }
.bv-setrow:hover > *:first-child { transform: translateX(10px); }
.bv-setrow:hover > svg { transform: translateX(-4px); }
.bv-setrow:focus-visible { outline: 2px solid var(--bv-maroon); outline-offset: -2px; }
.bv-setrow b {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bv-ink);
}
.bv-setrow span {
  display: block;
  margin-top: 3px;
  font-family: Manrope, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--bv-faint);
}
.bv-setrow svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--bv-faint); }
.bv-setrow--danger b { color: #9a1d1d; }
.bv-setrow--danger svg { color: #9a1d1d; }

@media (prefers-reduced-motion: reduce) {
  .bv-session, .bv-session__media img,
  .bv-voice, .bv-feature__img, .bv-spirit > div,
  .bv-setrow, .bv-setrow > * { transition: none !important; }
}
