/* Original Tandem orb styles, sourced from https://tandem-product-demo.vercel.app/styles.css */
.t-orb {
  --orb: 56px;
  --o1: #A79EEC;          /* light pole */
  --o2: #4A41A0;          /* deep pole */
  --oacc: #8B83DA;        /* ring / accent */
  --oglow: rgba(110,100,204,.42);
  position: relative; width: var(--orb); height: var(--orb);
  flex-shrink: 0; display: grid; place-items: center;
  isolation: isolate;
}
.t-orb__halo {
  position: absolute; inset: -22%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--oglow) 0%, rgba(110,100,204,0) 68%);
  opacity: .8; transition: opacity .6s ease, transform .6s ease;
}
.t-orb__body {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    radial-gradient(circle at 34% 26%, var(--o1), var(--o2) 74%);
  box-shadow: inset 0 -2px 8px rgba(34,28,80,.5), inset 0 2px 6px rgba(255,255,255,.28),
              0 6px 18px rgba(60,52,140,.34);
}
.t-orb__spin {
  position: absolute; inset: -30%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,.42) 60deg,
              transparent 130deg, rgba(176,170,231,.55) 220deg, transparent 300deg);
  mix-blend-mode: screen; opacity: 0; transition: opacity .5s ease;
}
.t-orb__core {
  position: absolute; left: 28%; top: 22%; width: 30%; height: 30%;
  border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, rgba(232,229,250,.2) 70%, transparent);
  filter: blur(.4px);
}
.t-orb__scan {
  position: absolute; inset: 8%; border-radius: 50%; opacity: 0;
  background: linear-gradient(90deg, transparent 46%, rgba(255,255,255,.85) 50%, transparent 54%);
  mix-blend-mode: screen;
}
.t-orb__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--oacc); opacity: 0; transform: scale(1);
}
.t-orb__particles { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.t-orb__particles i {
  position: absolute; left: 50%; top: 50%; width: 9%; height: 9%; margin: -4.5% 0 0 -4.5%;
  border-radius: 50%; background: radial-gradient(circle, #fff, var(--oacc));
  box-shadow: 0 0 6px rgba(255,255,255,.8);
}

.t-orb__wave {
  position: absolute; inset: 4%; border-radius: 50%; opacity: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.5), transparent 42%),
    conic-gradient(from 90deg, transparent, rgba(176,170,231,.5) 40%, transparent 60%, rgba(255,255,255,.35) 85%, transparent);
  mix-blend-mode: screen; transition: opacity .5s ease;
}
.t-orb__bloom {
  position: absolute; inset: -16%; border-radius: 50%; z-index: -1; opacity: 0;
  background: radial-gradient(circle, var(--oglow) 0%, rgba(110,100,204,0) 64%);
  transform: scale(.9); pointer-events: none;
}

/* ---- idle: never frozen — layered breathing + slow ambient drift ---- */
.t-orb[data-mode="idle"] .t-orb__body,
.t-orb[data-mode="waiting"] .t-orb__body { animation: orbBreathe 5.6s ease-in-out infinite; }
.t-orb[data-mode="idle"] .t-orb__halo,
.t-orb[data-mode="waiting"] .t-orb__halo { animation: orbDrift 7.5s ease-in-out infinite; }
.t-orb[data-mode="idle"] .t-orb__core,
.t-orb[data-mode="waiting"] .t-orb__core { animation: orbCoreDrift 9s ease-in-out infinite; }
@keyframes orbDrift {
  0%,100% { opacity: .5; transform: scale(1) translate(0,0); }
  50% { opacity: .8; transform: scale(1.07) translate(1%, -1.5%); }
}
@keyframes orbCoreDrift {
  0%,100% { transform: translate(0,0); opacity: 1; }
  33% { transform: translate(8%, 6%); opacity: .85; }
  66% { transform: translate(-6%, 3%); opacity: .95; }
}


@keyframes orbBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
.brand-orb{--orb:28px;width:28px;height:28px}footer .brand-orb{--orb:25px;width:25px;height:25px}@media(prefers-reduced-motion:reduce){.t-orb,.t-orb *{animation:none!important;transition:none!important}}
