/* GRAPHIC EVOLUTION — homepage decorative cleanup
   Replaces the oversized/irregular outlines with crisp halftone dots and
   a small group of soft lavender bubbles. The text remains clear and above
   all decorative layers. */

/* Explore Our Work: a restrained halftone cluster and round bubbles. */
.home-work-marquee-section {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-color: #fcf9ff !important;
  background-image:
    radial-gradient(ellipse 36% 78% at 100% 0%, rgba(201, 171, 225, .34) 0%, rgba(222, 205, 237, .16) 44%, transparent 78%),
    radial-gradient(ellipse 30% 65% at 0% 100%, rgba(226, 214, 239, .34) 0%, transparent 76%),
    linear-gradient(128deg, #fbf8fe 0%, #fff 48%, #faf5fe 100%) !important;
}

.home-work-marquee-section::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  width: clamp(210px, 27vw, 370px) !important;
  height: clamp(135px, 17vw, 215px) !important;
  top: 2% !important;
  right: 2.5% !important;
  left: auto !important;
  bottom: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-image: radial-gradient(circle, rgba(123, 36, 184, .25) 1.25px, transparent 1.95px) !important;
  background-size: 10px 10px !important;
  background-position: 2px 2px !important;
  -webkit-mask-image: radial-gradient(ellipse at 58% 48%, #000 18%, rgba(0,0,0,.82) 45%, transparent 78%) !important;
  mask-image: radial-gradient(ellipse at 58% 48%, #000 18%, rgba(0,0,0,.82) 45%, transparent 78%) !important;
  opacity: .72 !important;
  transform: none !important;
}

.home-work-marquee-section::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  width: clamp(190px, 23vw, 300px) !important;
  height: clamp(145px, 17vw, 220px) !important;
  top: 1% !important;
  right: 5% !important;
  left: auto !important;
  bottom: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.95) 0 8px, rgba(193,158,220,.35) 9px 19px, rgba(136,78,177,.17) 20px 21px, transparent 22px),
    radial-gradient(circle at 47% 58%, rgba(255,255,255,.92) 0 5px, rgba(205,178,227,.38) 6px 13px, rgba(136,78,177,.13) 14px 15px, transparent 16px),
    radial-gradient(circle at 87% 75%, rgba(255,255,255,.94) 0 6px, rgba(201,169,224,.34) 7px 16px, rgba(136,78,177,.14) 17px 18px, transparent 19px),
    radial-gradient(circle at 18% 36%, rgba(213,190,232,.22) 0 3px, transparent 4px) !important;
  opacity: .76 !important;
}

/* Keep the actual heading, copy, cards and link in front of ornaments. */
.home-work-marquee-section > .container,
.home-work-marquee-section > .home-work-marquee,
.home-work-marquee-section > .home-work-more {
  position: relative !important;
  z-index: 1 !important;
}

/* Final call-to-action: light brand gradient, like the rest of the page.
   The stronger dark-on-light typography improves readability and consistency. */
.closing-cta {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  color: #202126 !important;
  background-color: #fbf8fe !important;
  background-image:
    radial-gradient(ellipse 42% 110% at 100% 0%, rgba(199, 167, 224, .34) 0%, rgba(221, 204, 237, .16) 46%, transparent 78%),
    radial-gradient(ellipse 34% 85% at 0% 100%, rgba(230, 219, 241, .46) 0%, transparent 78%),
    linear-gradient(116deg, #fbf8fe 0%, #f7f1fb 52%, #fff 100%) !important;
  border-top: 1px solid rgba(123, 36, 184, .09) !important;
  border-bottom: 1px solid rgba(123, 36, 184, .07) !important;
}

/* Remove the broad irregular artwork that caused the outlined, awkward look. */
.closing-cta::before,
.closing-cta::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

.closing-cta .closing-cta-inner,
.closing-cta .closing-cta-copy,
.closing-cta .closing-cta-art {
  position: relative !important;
  z-index: 1 !important;
}

.closing-cta .eyebrow {
  color: #7b24b8 !important;
}

.closing-cta h2 {
  color: #22202a !important;
  text-shadow: none !important;
}

.closing-cta p {
  color: #68636f !important;
}

/* Preserve the existing purple CTA buttons and their white button labels. */
.closing-cta-actions .cta,
.closing-cta-actions .cta:hover,
.closing-cta-actions .cta:focus-visible {
  color: #fff !important;
}

/* Art panel: a clean field of halftone dots with three separate soft bubbles. */
.closing-cta-art {
  min-height: 230px !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.closing-cta-art::before {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 10px 2% !important;
  pointer-events: none !important;
  background-image: radial-gradient(circle, rgba(123, 36, 184, .24) 1.2px, transparent 1.9px) !important;
  background-size: 10px 10px !important;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 18%, rgba(0,0,0,.76) 48%, transparent 77%) !important;
  mask-image: radial-gradient(ellipse at center, #000 18%, rgba(0,0,0,.76) 48%, transparent 77%) !important;
  opacity: .72 !important;
}

.closing-cta-art::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  width: 148px !important;
  height: 148px !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.78), rgba(221,201,238,.24) 55%, rgba(182,143,208,.10) 76%, transparent 78%) !important;
}

.closing-cta-art .cta-orb {
  z-index: 1 !important;
  border-radius: 50% !important;
  transform: none !important;
  background: radial-gradient(circle at 32% 27%, rgba(255,255,255,.92), rgba(209,184,229,.42) 62%, rgba(171,127,201,.16) 100%) !important;
  border: 1px solid rgba(123, 36, 184, .18) !important;
  box-shadow: 0 10px 28px rgba(88, 52, 119, .07), inset -7px -8px 14px rgba(112, 67, 151, .06) !important;
}

.closing-cta-art .orb-one {
  width: 112px !important;
  height: 112px !important;
  left: 9% !important;
  top: 19% !important;
  right: auto !important;
  bottom: auto !important;
  opacity: .72 !important;
}

.closing-cta-art .orb-two {
  width: 62px !important;
  height: 62px !important;
  right: 8% !important;
  top: 13% !important;
  left: auto !important;
  bottom: auto !important;
  opacity: .68 !important;
}

.closing-cta-art .orb-three {
  width: 38px !important;
  height: 38px !important;
  right: 20% !important;
  bottom: 9% !important;
  left: auto !important;
  top: auto !important;
  opacity: .75 !important;
}

.closing-cta-art .cta-art-word {
  z-index: 2 !important;
  color: #7b24b8 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-shadow: none !important;
}

@media (max-width: 900px) {
  .home-work-marquee-section::before {
    width: 220px !important;
    height: 150px !important;
    right: -24px !important;
    opacity: .48 !important;
  }
  .home-work-marquee-section::after {
    width: 175px !important;
    height: 130px !important;
    right: -12px !important;
    opacity: .55 !important;
  }
}

@media (max-width: 650px) {
  .home-work-marquee-section::before {
    width: 168px !important;
    height: 118px !important;
    right: -50px !important;
    top: 1% !important;
    opacity: .32 !important;
  }
  .home-work-marquee-section::after {
    width: 136px !important;
    height: 106px !important;
    right: -28px !important;
    top: 3% !important;
    opacity: .40 !important;
  }
  .closing-cta {
    padding-top: 58px !important;
    padding-bottom: 56px !important;
  }
  .closing-cta-art {
    min-height: 155px !important;
    max-width: 280px !important;
    width: 100% !important;
    margin: 2px auto 0 !important;
  }
  .closing-cta-art::after {
    width: 112px !important;
    height: 112px !important;
  }
  .closing-cta-art .orb-one {
    width: 76px !important;
    height: 76px !important;
  }
  .closing-cta-art .orb-two {
    width: 48px !important;
    height: 48px !important;
  }
  .closing-cta-art .orb-three {
    width: 30px !important;
    height: 30px !important;
  }
  .closing-cta-art .cta-art-word {
    font-size: 17px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .closing-cta::before,
  .closing-cta::after {
    animation: none !important;
  }
}
