/* Shared refinements added after the generated bundle styles. */

/* Keep the primary content immediately paintable; entrance animations delayed LCP. */
.homeIntro .heroV2 .eyebrow,
.homeIntro .heroV2 h1,
.homeIntro .heroV2Content {
  animation: none !important;
}

.avatarDismiss {
  pointer-events: auto;
  position: absolute;
  right: 178px;
  bottom: 181px;
  z-index: 6;
  width: 31px;
  height: 31px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  color: #fff;
  background: #160923e6;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px #14041e59;
  transition: transform .2s ease, background .2s ease;
}

.avatarDismiss:hover,
.avatarDismiss:focus-visible {
  background: #6c18b2;
  transform: scale(1.08);
  outline: 2px solid #ffd51f;
  outline-offset: 2px;
}

.stambeBot.botOpen .avatarDismiss {
  display: none;
}

.servicesOverview {
  padding: 96px 0 108px;
  background:
    radial-gradient(circle at 92% 8%, #8c2dde14 0 13%, transparent 34%),
    #f1efe8;
}

.servicesIntro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.servicesIntro > div > span,
.caseEyebrow {
  display: block;
  color: #6c18b2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.servicesIntro h2 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(45px, 6.2vw, 82px);
  line-height: .94;
  letter-spacing: -.06em;
}

.servicesIntro h2 em {
  color: #7a1fc6;
}

.servicesIntro > p {
  max-width: 410px;
  margin: 0;
  color: #66625e;
  font-size: 15px;
  line-height: 1.7;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cbc6bb;
  border-left: 1px solid #cbc6bb;
}

.serviceCard {
  position: relative;
  min-height: 294px;
  padding: 28px;
  border-right: 1px solid #cbc6bb;
  border-bottom: 1px solid #cbc6bb;
  background: #ffffff45;
  overflow: hidden;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.serviceCard::before {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -78px;
  width: 180px;
  height: 180px;
  border: 1px solid #7a1fc62e;
  border-radius: 50%;
  box-shadow: 0 0 0 28px #7a1fc60b, 0 0 0 56px #7a1fc608;
  transition: transform .35s ease, border-color .25s ease;
}

.serviceCard > span {
  color: #7a1fc6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.serviceCard h3 {
  position: relative;
  max-width: 280px;
  margin: 72px 0 13px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.serviceCard p {
  position: relative;
  max-width: 310px;
  margin: 0;
  color: #77716a;
  font-size: 13px;
  line-height: 1.58;
}

.serviceCard i {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #bdb5aa;
  border-radius: 50%;
  font-size: 17px;
  font-style: normal;
  transition: transform .25s ease, border-color .25s ease;
}

.serviceCard:hover,
.serviceCard:focus-visible {
  z-index: 1;
  color: #fff;
  background: #180a24;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 50px #33104d24;
}

.serviceCard:hover > span,
.serviceCard:focus-visible > span {
  color: #ffd51f;
}

.serviceCard:hover p,
.serviceCard:focus-visible p {
  color: #c4b7ce;
}

.serviceCard:hover i,
.serviceCard:focus-visible i {
  border-color: #ffd51f;
  color: #ffd51f;
  transform: rotate(45deg);
}

.serviceCard:hover::before,
.serviceCard:focus-visible::before {
  border-color: #a33ced80;
  transform: scale(1.18);
}

.usefulCard.vatUseful {
  color: #fff;
  background: #381052;
}

.usefulCard.vatUseful .usefulIcon {
  color: #1b0825;
  background: #ffd51f;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

/* Standalone case-study route. */
.caseStudyPage {
  min-height: 100vh;
  color: #fff;
  background: #09040f;
}

.caseStudyPage .nav {
  border-color: #ffffff1a;
}

.caseStudyPage .navLinks {
  color: #d9cfe0;
}

.caseHero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 70px;
  align-items: end;
  min-height: calc(100svh - 132px);
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
}

.caseHero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -20%;
  background:
    radial-gradient(circle at 82% 38%, #7c1bca8c, transparent 27%),
    radial-gradient(circle at 20% 80%, #36105a99, transparent 27%);
}

.caseHeroCopy,
.caseStatus {
  position: relative;
  z-index: 1;
}

.caseHero h1 {
  max-width: 850px;
  margin: 25px 0 28px;
  font-size: clamp(68px, 9vw, 128px);
  line-height: .82;
  letter-spacing: -.075em;
}

.caseHero h1 em {
  color: #ffd51f;
}

.caseHeroCopy > p {
  max-width: 610px;
  margin: 0;
  color: #b5a7bf;
  font-size: 17px;
  line-height: 1.7;
}

.caseStatus {
  padding: 30px;
  border: 1px solid #6e3a8f;
  border-radius: 18px;
  background: #14091edd;
  box-shadow: 0 28px 80px #0008;
}

.caseStatus > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffd51f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.caseStatus > span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd51f;
  box-shadow: 0 0 12px #ffd51f;
}

.caseStatus h2 {
  margin: 22px 0 12px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.caseStatus p {
  margin: 0 0 26px;
  color: #a999b5;
  font-size: 13px;
  line-height: 1.65;
}

.caseStatus a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 17px;
  border-top: 1px solid #ffffff1f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.casePageFooter {
  color: #84758d;
  border-color: #ffffff1a;
}

@media (width <= 900px) {
  .servicesIntro,
  .caseHero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .servicesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .caseHero {
    align-content: center;
  }

  .caseStatus {
    max-width: 520px;
  }
}

@media (width <= 620px) {
  .avatarDismiss {
    right: 123px;
    bottom: 142px;
    width: 29px;
    height: 29px;
  }

  .servicesOverview {
    padding: 72px 0 78px;
  }

  .servicesIntro {
    margin-bottom: 32px;
  }

  .servicesIntro h2 {
    font-size: 48px;
  }

  .servicesGrid {
    grid-template-columns: 1fr;
  }

  .serviceCard {
    min-height: 248px;
    padding: 23px;
  }

  .serviceCard h3 {
    margin-top: 56px;
    font-size: 30px;
  }

  .caseHero {
    min-height: calc(100svh - 112px);
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .caseHero h1 {
    font-size: 62px;
  }
}
