.case-hero {
  padding-top: 150px;
}
.case-hero .breadcrumb {
  margin-bottom: 24px;
}

.case-hero__labels {
  display: flex;
  gap: 8px;
}
.case-hero__label {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.case-hero__label.is-primary {
  border-radius: 10px;
  background: var(--color-lavender);
  color: var(--color-prussian);
  letter-spacing: 0.08em;
}

.case-hero__title {
  margin-top: 24px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
}

.case-hero__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}
.case-hero__result {
  position: relative;
  padding: 24px;
  border-radius: 12px;
}
.case-hero__result + .case-hero__result::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 20px;
  height: 82px;
  width: 1px;
  background: var(--white-12);
}
.case-hero__result dt {
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
}
.case-hero__result dd {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.case-banner {
  position: relative;
  height: 520px;
  margin: 51px 0 0;
  overflow: hidden;
  border: 1px solid var(--white-08);
  border-radius: 16px;
  background: linear-gradient(150.31deg, #131a38 7.14%, #0a0f21 78.57%);
}
.case-banner__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 856px;
  max-width: 70%;
  height: 100%;
  object-fit: cover;
}
.case-banner__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(min(856px, 70%) - 260px);
  width: 260px;
  background: linear-gradient(90deg, #0f1630 0%, rgba(15, 22, 48, 0) 100%);
}
.case-banner__caption-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 796px;
  max-width: 65%;
  height: 140px;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0) 0%, rgba(5, 9, 20, 0.75) 100%);
}
.case-banner__letter {
  position: absolute;
  left: 159px;
  top: -41px;
  font-size: 360px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--color-white);
  opacity: 0.04;
  pointer-events: none;
}
.case-banner__panel {
  position: absolute;
  left: 47px;
  top: 47px;
  bottom: 47px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 324px;
}
.case-banner__top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-lavender);
}
.case-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lavender);
}
.case-banner__client {
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.case-banner__line {
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-blue);
}
.case-banner__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--white-72);
}
.case-banner__facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--white-12);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.case-summary {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-top: 160px;
}
.case-summary__overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
.case-summary__text {
  font-size: 20px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}
.case-summary__meta {
  width: 480px;
  flex-shrink: 0;
  margin: 0;
  padding: 12px 28px;
  border-radius: 14px;
}
.case-summary__meta div {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--white-08);
}
.case-summary__meta dt {
  flex: 0 0 120px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-sky);
}
.case-summary__meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1023px) {
  .case-hero {
    padding-top: 130px;
  }
  .case-hero__title {
    font-size: 40px;
  }
  .case-hero__results {
    grid-template-columns: 1fr;
  }
  .case-hero__result + .case-hero__result::before {
    left: 24px;
    right: 24px;
    top: -8px;
    width: auto;
    height: 1px;
  }
  .case-banner {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .case-banner__image {
    position: relative;
    width: 100%;
    max-width: none;
    height: 280px;
    order: 2;
  }
  .case-banner__fade,
  .case-banner__caption-fade,
  .case-banner__letter {
    display: none;
  }
  .case-banner__panel {
    position: relative;
    inset: auto;
    width: auto;
    padding: 32px;
    gap: 32px;
  }
  .case-banner__client {
    font-size: 44px;
  }
  .case-summary {
    flex-direction: column;
    margin-top: 80px;
  }
  .case-summary__meta {
    width: 100%;
    padding: 0;
  }
}
