.ba-showcase {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: var(--sec) 0;
  background: var(--navy);
  color: #fff;
}
.ba-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 90% 80%, rgba(31,111,209,.22), transparent 65%), radial-gradient(ellipse at 4% 10%, rgba(255,201,60,.06), transparent 45%);
}
.ba-showcase__grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(32px,4.5vw,72px); align-items: center; }
@media (min-width:1200px) {
  .ba-showcase__grid {
    /* Preserve the original copy width; give the narrower gap to the photo. */
    grid-template-columns: minmax(0,calc((min(100vw,var(--wrap)) - 2 * var(--pad) - clamp(32px,4.5vw,72px)) * 5 / 12)) minmax(0,1fr);
    column-gap: 30px;
  }
}
.ba-showcase__copy { min-width: 0; }
.ba-showcase__compare { min-width: 0; }
.ba-showcase__frame { position: relative; }
.ba-tabs { position: absolute; z-index: 5; left: 50%; bottom: 16px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: max-content; max-width: calc(100% - 32px); gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; background: rgba(18,38,74,.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ba-tabs[hidden], .ba-panel[hidden] { display: none; }
.ba-tabs button { min-width: 0; min-height: 44px; padding: 8px 12px; border-radius: 99px; color: #fff; font: 600 13px/1.2 var(--display); }
.ba-tabs button[aria-selected="true"] { background: var(--sun); color: var(--navy); }
.ba-tabs button:focus-visible { outline: 3px solid var(--sky-lt); outline-offset: 2px; }
.ba-tabs button:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width:900px) { .ba-tabs button { min-height: 38px; padding: 10px 18px; font-size: 14px; } }
.ba-showcase .h2 { color: #fff; }
.ba-showcase .h2 em { color: var(--sky-lt); }
.ba-showcase .lede { margin: 22px 0 0; color: rgba(255,255,255,.85); max-width: 29em; }
.ba-showcase .checks li { color: #fff; }
.ba-showcase .btn { margin-top: 30px; }
.ba-showcase__sparks svg { position: absolute; z-index: -1; fill: var(--sun); pointer-events: none; }
.ba-showcase__sparks svg:nth-child(1) { width: 26px; height: 26px; left: 3%; top: 32px; }
.ba-showcase__sparks svg:nth-child(2) { width: 14px; height: 14px; left: 46%; top: 48px; fill: rgba(255,255,255,.45); }
.ba-showcase__sparks svg:nth-child(3) { width: 20px; height: 20px; right: 5%; bottom: 28px; fill: rgba(255,201,60,.6); }
.ba {
  --ba-position: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy-deep);
  box-shadow: 0 24px 56px rgba(0,0,0,.3), 0 3px 12px rgba(0,0,0,.18);
}
.ba__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--ba-position)); }
.ba__chip { position: absolute; z-index: 3; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #fff; background: rgba(13,28,56,.88); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; line-height: 1.35; pointer-events: none; }
.ba__chip--before { top: 14px; left: 14px; }
.ba__chip--after { top: 14px; right: 14px; }
.ba__example-caption { margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.4; text-align: center; }
.ba .ba__range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: 16px; background: transparent; appearance: none; -webkit-appearance: none; cursor: ew-resize; touch-action: pan-y; }
.ba__range::-webkit-slider-runnable-track { height: 100%; background: transparent; border: 0; }
.ba__range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 1px; height: 100%; border: 0; background: transparent; }
.ba__range::-moz-range-track { height: 100%; background: transparent; border: 0; }
.ba__range::-moz-range-thumb { width: 1px; height: 52px; border: 0; background: transparent; }
.ba .ba__range:focus-visible { outline: 3px solid var(--sun); outline-offset: -5px; }
.ba__divider { position: absolute; z-index: 2; inset: 0; transform: translateX(var(--ba-position)); pointer-events: none; }
.ba__divider::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: #fff; transform: translateX(-50%); }
.ba__handle { position: absolute; left: 0; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 3px 16px rgba(0,0,0,.25); transform: translate(-50%,-50%); transition: transform .2s ease; }
.ba__handle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ba.is-dragging .ba__handle, .ba:focus-within .ba__handle { transform: translate(-50%,-50%) scale(1.08); }
@media (hover:hover) { .ba:hover .ba__handle { transform: translate(-50%,-50%) scale(1.08); } }
@media (max-width:900px) { .ba-showcase__grid { grid-template-columns: minmax(0,1fr); gap: 38px; } }
@media (max-width:640px) { .ba__chip { padding: 5px 10px; } .ba__chip--before { top: 12px; left: 12px; } .ba__chip--after { top: 12px; right: 12px; } }
@media (prefers-reduced-motion:reduce) {
  .ba__handle { transition: none; }
  .ba:hover .ba__handle, .ba.is-dragging .ba__handle, .ba:focus-within .ba__handle { transform: translate(-50%,-50%); }
}
