.results-story {
  position: relative;
  padding-top: var(--space-3xl);
}

.results-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 72%, rgba(228, 54, 99, 0.05), transparent 28%);
  pointer-events: none;
}

.results-story__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
}

.results-story__heading {
  margin: 0 auto;
}

.results-story__title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.results-story__stage {
  position: relative;
  display: grid;
  gap: 0;
}

.results-story__stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0) 0%,
    rgba(14, 14, 14, 0.52) 18%,
    rgba(12, 12, 12, 0.82) 42%,
    rgba(11, 11, 11, 0.97) 68%,
    rgba(11, 11, 11, 1) 100%
  );
  border-radius: 0 0 calc(var(--radius-xl) + 0.15rem) calc(var(--radius-xl) + 0.15rem);
  pointer-events: none;
  z-index: 2;
}

.results-story__photo-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0;
  overflow: hidden;
  min-height: clamp(28rem, 48vw, 42rem);
  padding: clamp(4.8rem, 6vw, 6.2rem) clamp(1.2rem, 1.8vw, 1.6rem) 0;
  border-radius: calc(var(--radius-xl) + 0.15rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)),
    rgba(20, 20, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.results-story__photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0) 0%,
    rgba(17, 17, 17, 0.28) 22%,
    rgba(16, 16, 16, 0.66) 52%,
    rgba(15, 15, 15, 0.94) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.results-story__photo {
  display: block;
  width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 0;
}

.results-story__quote {
  position: absolute;
  top: clamp(1.25rem, 1.8vw, 1.8rem);
  left: clamp(1.25rem, 1.8vw, 1.85rem);
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: clamp(0.28rem, 0.36vw, 0.46rem);
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.results-story__quote-mark {
  flex: 0 0 auto;
}

.results-story__quote-text {
  flex: 0 0 auto;
}

.results-story__gallery {
  position: relative;
  isolation: isolate;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: clamp(-16.5rem, -23vw, -12rem);
  padding-inline: clamp(1rem, 2vw, 1.4rem);
}

.results-story__gallery::before {
  content: "";
  position: absolute;
  inset: -9rem -0.75rem -1rem;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0) 0%,
    rgba(12, 12, 12, 0.62) 28%,
    rgba(11, 11, 11, 0.92) 58%,
    rgba(10, 10, 10, 1) 100%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.results-story__review-card {
  min-width: 0;
  margin: 0;
  grid-column: span 3;
}

.results-story__review-card:nth-child(n + 5) {
  grid-column: span 4;
}

.results-story__review-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1023px) {
  .results-story__quote {
    font-size: clamp(1.12rem, 1vw + 0.7rem, 1.55rem);
  }

  .results-story__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(-6.6rem, -12vw, -4rem);
  }

  .results-story__gallery::before {
    inset: -5.2rem -0.45rem -0.8rem;
    filter: blur(8px);
  }

  .results-story__review-card,
  .results-story__review-card:nth-child(n + 5) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .results-story__shell {
    gap: var(--space-md);
  }

  .results-story__photo-card {
    min-height: auto;
    padding: 2.9rem var(--space-md) 0;
  }

  .results-story__quote {
    position: absolute;
    top: 0.8rem;
    left: 0.9rem;
    gap: 0.2rem;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: clamp(0.92rem, 1.6vw + 0.42rem, 1.05rem);
    white-space: nowrap;
  }

  .results-story__gallery {
    grid-template-columns: 1fr;
    margin-top: calc(var(--space-4xl) * -1);
    padding-inline: var(--space-sm);
  }

  .results-story__gallery::before {
    inset: -4rem -0.25rem -0.5rem;
    filter: blur(6px);
  }
}
