/* ==========================================================================
   YOGa text testimonials — floating bubbles (yb-bubbles.css)
   Everything is scoped to .yb-* classes. Nothing here touches body, html,
   header, footer or any existing class, so the rest of the site is unaffected.
   ========================================================================== */
.yb-wrap{
  --yb-cyan:#20C4F2; --yb-mid:#5268f8; --yb-violet:#7B49FF;
  --yb-ink:#161d2d; --yb-muted:#606a78; --yb-line:#e3e6f0;
  --yb-on:#ffffff; --yb-on-soft:rgba(255,255,255,.86);
  position:relative; margin:clamp(20px,3vw,40px) 0 0; color:var(--yb-on);
}
.yb-wrap *, .yb-ov *{ box-sizing:border-box; }

.yb-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:12px 32px; flex-wrap:wrap; }
.yb-label{ margin:0; font-family:var(--ff-display,'Bricolage Grotesque',sans-serif); font-weight:600; font-size:clamp(20px,1.8vw,26px); letter-spacing:-.01em; color:var(--yb-on); }
.yb-hint{ margin:0; font-size:14px; line-height:1.5; color:var(--yb-on-soft); max-width:34ch; }

/* stage: desktop = floating cluster, phone = 2-column grid */
.yb-stage{ position:relative; height:clamp(560px,52vw,700px); margin-top:8px; touch-action:pan-y; }
.yb-bb{ border-radius:50%; padding:0; margin:0; font:inherit; color:var(--yb-on); cursor:pointer;
  border:1px solid rgba(255,255,255,.6);
  background:radial-gradient(circle at 30% 24%, rgba(255,255,255,.5) 0%, rgba(255,255,255,.15) 30%, rgba(255,255,255,.05) 62%, rgba(255,255,255,.2) 100%);
  -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px);
  box-shadow:inset -8px -10px 24px rgba(123,73,255,.25), inset 6px 8px 18px rgba(32,196,242,.18), 0 16px 40px rgba(30,20,110,.15);
  display:grid; place-items:center; text-align:center; transition:border-color .3s, opacity .6s; }
.yb-bb:hover{ border-color:#fff; }
.yb-bb:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.yb-in{ width:70%; display:grid; gap:8px; }
.yb-q{ display:block; font-family:var(--ff-display,'Bricolage Grotesque',sans-serif); font-weight:600; letter-spacing:-.015em; line-height:1.14; }
.yb-n{ display:block; font-size:12px; font-weight:400; color:var(--yb-on-soft); line-height:1.3; }
.yb-stage:not(.yb-grid) .yb-bb{ position:absolute; left:0; top:0; will-change:transform; }

.yb-stage.yb-grid{ height:auto; margin-top:20px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; padding-bottom:28px; }
.yb-grid .yb-bb{ position:relative; width:100%; aspect-ratio:1; max-width:100%; --yb-o:0px;
  animation:yb-bob 6.5s ease-in-out var(--yb-d,0s) infinite, yb-rise .9s cubic-bezier(.2,.8,.2,1) var(--yb-r,0s) backwards; }
.yb-grid .yb-bb:nth-child(even){ --yb-o:26px; }
.yb-grid .yb-in{ width:74%; gap:6px; }
.yb-grid .yb-q{ font-size:clamp(13px,3.9vw,16px); }
.yb-grid .yb-n{ font-size:11.5px; }
@keyframes yb-bob{ 0%,100%{ transform:translateY(var(--yb-o)); } 50%{ transform:translateY(calc(var(--yb-o) - 9px)); } }
@keyframes yb-rise{ from{ opacity:0; transform:translateY(calc(var(--yb-o) + 70px)); } }

.yb-ctrl{ display:flex; align-items:center; justify-content:center; gap:14px 18px; flex-wrap:wrap; margin-top:clamp(12px,2vw,24px); }
.yb-count{ font-size:14px; font-weight:400; color:var(--yb-on-soft); font-variant-numeric:tabular-nums; }
.yb-more{ padding:12px 24px; border-radius:100px; border:1.5px solid #fff; background:transparent; color:#fff; font-family:var(--ff-body,'Inter',sans-serif); font-size:14px; font-weight:500; cursor:pointer; transition:background .2s, color .2s; }
.yb-more:hover{ background:#fff; color:var(--yb-mid); }
.yb-more:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.yb-more[hidden]{ display:none; }

/* divider between text stories and the existing video slider */
.yb-videos-label{ display:flex; align-items:center; gap:16px; margin:clamp(48px,6vw,80px) 0 0; font-size:13px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:#fff; }
.yb-videos-label::after{ content:''; flex:1; height:1px; background:rgba(255,255,255,.3); }

/* story card (appended to <body> by the script) */
.yb-ov{ position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:16px;
  background:rgba(20,24,70,.45); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); opacity:0; transition:opacity .35s; }
.yb-ov[hidden]{ display:none; }
.yb-ov.yb-on{ opacity:1; }
.yb-card{ position:relative; width:min(640px,100%); max-height:min(86vh,760px); display:flex; flex-direction:column; background:#fff; color:var(--yb-ink, #161d2d);
  border-radius:28px; box-shadow:0 30px 80px rgba(20,10,90,.32); overflow:hidden; font-family:var(--ff-body,'Inter',sans-serif); }
.yb-body{ overflow-y:auto; overscroll-behavior:contain; padding:clamp(56px,6vw,64px) clamp(22px,4vw,40px) clamp(22px,4vw,36px); min-height:0; transition:opacity .25s; }
.yb-body.yb-fade{ opacity:0; }
.yb-card h3{ margin:0 0 18px; font-family:var(--ff-display,'Bricolage Grotesque',sans-serif); font-size:clamp(25px,3vw,34px); font-weight:600; line-height:1.12; letter-spacing:-.025em;
  background:linear-gradient(115deg,#20C4F2 0%,#5268f8 50%,#7B49FF 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.yb-txt p{ margin:0 0 14px; font-size:16.5px; font-weight:400; line-height:1.65; color:#606a78; max-width:62ch; }
.yb-who{ margin-top:22px; padding-top:18px; border-top:1px solid #e3e6f0; }
.yb-who strong{ display:block; font-family:var(--ff-display,'Bricolage Grotesque',sans-serif); font-size:17px; font-weight:600; color:#161d2d; }
.yb-who span{ font-size:14px; color:#606a78; }
.yb-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px clamp(16px,3vw,24px); border-top:1px solid #e3e6f0; background:#fff; }
.yb-cb{ width:44px; height:44px; flex:none; border-radius:50%; border:1.5px solid #161d2d; background:#fff; color:#161d2d; cursor:pointer; display:grid; place-items:center; padding:0; }
.yb-cb:hover{ background:#161d2d; color:#fff; }
.yb-cb:focus-visible{ outline:2px solid #7B49FF; outline-offset:3px; }
.yb-cb svg{ width:17px; height:17px; }
.yb-x{ position:absolute; top:14px; right:14px; z-index:2; }
.yb-num{ font-size:14px; font-weight:500; font-variant-numeric:tabular-nums; color:#606a78; }
.yb-ghost{ position:fixed; z-index:1001; background:#fff; pointer-events:none; }

@media (max-width:640px){ .yb-hint{ display:none; } }
@media (prefers-reduced-motion: reduce){ .yb-grid .yb-bb{ animation:none; transform:translateY(var(--yb-o)); } }
