/* Regular (client) case studies. 2026-11-22a
   Scoped to main.bx-cs:not(.bx-bb) from page-templates/bx-case-study.php. */
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) {
  --cs-plum: #2D033B;
  --cs-purple: #8A3DDB;
  --cs-gold: #FFB039;
  overflow-x: clip;
  position: relative;
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(232, 214, 250, 0.5) 0%, rgba(232, 214, 250, 0) 62%),
    linear-gradient(180deg, #F7F1FB 0%, #FBF8F3 32%, #FBF8F3 100%);
}

html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-progress {
  position: fixed; top: 0; left: 0; z-index: 80;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #8A39E1, #F49D1A);
  pointer-events: none;
  animation: cs-progress linear forwards;
  animation-timeline: scroll();
}
@keyframes cs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-dots {
  position: absolute; width: 110px; height: 110px;
  background-image: radial-gradient(circle, rgba(138, 61, 219, 0.22) 1.15px, transparent 1.3px);
  background-size: 16px 16px;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-dots--tl { top: 24px; left: 20px; }
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-dots--tr { top: 36px; right: 6%; }
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-bub {
  position: absolute; border-radius: 50%; background: #C9A6F0; opacity: .7;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-bub--1 { width: 18px; height: 18px; left: 8%; top: 240px; }
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-page-deco .cs-bub--2 { width: 12px; height: 12px; right: 14%; top: 200px; background: #E0C8F6; }

html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 100% 0%, rgba(232, 214, 250, 0.9) 0%, rgba(232, 214, 250, 0) 64%),
    radial-gradient(520px 320px at 0% 100%, rgba(255, 244, 228, 0.5) 0%, rgba(255, 244, 228, 0) 70%),
    linear-gradient(180deg, #F4ECFB 0%, #F8F3FC 60%, #FBF8F3 100%) !important;
  padding: 56px 0 48px !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .csx-hero-grid,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero-in {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: 32px 40px !important;
  align-items: center !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .csx-hero-copy,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-h1 {
  min-width: 0 !important;
  text-wrap: pretty !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-h1,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-h1 .t-main,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-h1 .t-sub {
  font-family: Merriweather, "BX Merriweather", Georgia, serif !important;
  color: #2D033B !important;
  -webkit-text-fill-color: #2D033B !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero h1 {
  font-size: clamp(28px, 1.8rem + 1.1vw, 50px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero .hl {
  color: #8A3DDB !important;
  -webkit-text-fill-color: #8A3DDB !important;
  font-style: italic;
  background-color: transparent !important;
  background-image: url("../images/brush-cta-swoosh.svg") !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 100% 11px !important;
  padding: 0 0 5px 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero .hl::before,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero .hl::after {
  content: none !important;
  display: none !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-eyebrow,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-ind {
  color: #8A3DDB !important;
  -webkit-text-fill-color: #8A3DDB !important;
  font-weight: 700 !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-feat-photo,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-feat-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 22px 40px rgba(45, 3, 59, 0.14);
  min-width: 0;
}

/* Snapshot + body cards */
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-snap,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-block,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-card {
  background: #fff;
  border-radius: 22px;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-snap {
  box-shadow: 0 12px 32px rgba(45, 3, 59, 0.07);
  padding: 8px 8px 16px;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-snap-t,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-block h2,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-more h2,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-more-hd h2 {
  font-family: Merriweather, "BX Merriweather", Georgia, serif !important;
  color: #2D033B !important;
  -webkit-text-fill-color: #2D033B !important;
  text-wrap: pretty !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-snap-t .hl,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-more h2 .hl {
  color: #8A3DDB !important;
  -webkit-text-fill-color: #8A3DDB !important;
  background-image: url("../images/brush-cta-swoosh.svg") !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 100% 10px !important;
  padding-bottom: 5px !important;
  text-decoration: none !important;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-snap-i,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-card {
  box-shadow: 0 8px 20px rgba(45, 3, 59, 0.06);
  border-radius: 18px;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-block--results {
  background: #fff;
  border-top: 3px solid #FFB039;
  box-shadow: 0 12px 32px rgba(45, 3, 59, 0.07);
  padding: 8px 8px 16px;
  border-radius: 22px;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) blockquote,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-quote,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) #cs-testimonial {
  border-left: 3px solid #FFB039;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-mcard {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 32px rgba(45, 3, 59, 0.08) !important;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-mcard:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 18px 40px rgba(45, 3, 59, 0.12) !important;
}

html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .bx-final h2,
html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .box-sec--final h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 900px) {
  html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .csx-hero-grid,
  html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero-in {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-hero {
    padding: 36px 0 32px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs-progress,
  html:root:root body:not(.home):not(#bxa):not(#bxb):not(#gxa):not(#bxc):not(#bxd) .bx-cs:not(.bx-bb) .cs2-mcard {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
