.story-page {
  overflow-x: hidden;
}

.story-hero {
  background: url("assets/bg-our-story.png") center / cover no-repeat;
  overflow: hidden;
  position: relative;
  text-align: center;
}
.story-hero::before {
  left: -42px;
  transform: rotate(-9deg);
}

.story-hero::after {
  right: -32px;
  top: 42px;
  transform: rotate(56deg);
}

.story-hero-inner {
  margin: 0 auto;
  max-width: var(--inner);
  padding: 20px 24px 31px;
  position: relative;
  z-index: 1;
}

.story-hero h1 {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 3.35vw, 48px);
  line-height: 1.2;
}

.story-hero-line {
  background: #d9d9d9;
  height: 5px;
  margin: 12px auto 32px;
  width: 144px;
}

.story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.story-hero .button {
  font-size: 20px;
  min-height: 53px;
  min-width: 238px;
}

.process {
  padding: 62px 24px 0;
  text-align: center;
}

.process-kicker {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 22px;
  opacity: 0.35;
}

.process-kicker::before,
.process-kicker::after {
  background: #d9d9d9;
  content: "";
  height: 1px;
  width: 118px;
}

.process-kicker img {
  height: 57px;
  object-fit: contain;
  width: 57px;
}

.process h2,
.testimonials h2,
.story-cta h2 {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 3.9vw, 56px);
  line-height: 1.05;
}

.process > p {
  font-size: 24px;
  line-height: 1.2;
  margin: 12px auto 40px;
  max-width: 757px;
}

.process-grid {
  display: grid;
  gap: 46px;
  grid-template-columns: repeat(4, minmax(0, 251px));
  justify-content: center;
  margin: 0 auto;
  max-width: 1142px;
}

.process-card {
  text-align: center;
}

.process-image {
  border-radius: 20px;
  height: 299px;
  overflow: hidden;
  position: relative;
}

.process-image > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.process-icon {
  align-items: center;
  background: var(--coffee);
  border: 8px solid #000000;
  border-radius: 50%;
  display: inline-flex;
  height: 101px;
  justify-content: center;
  margin-top: -51px;
  position: relative;
  width: 101px;
  z-index: 1;
}

.process-icon img {
  height: 45px;
  object-fit: contain;
  width: 45px;
}

.process-card h3 {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
  margin-top: 0;
}

.process-card p {
  font-size: 16px;
  line-height: 1.25;
  margin-top: 5px;
}

.testimonials {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 660px) minmax(360px, 500px);
  margin: 132px auto 0;
  max-width: 1258px;
  padding: 0 24px;
  position: relative;
}

.testimonials::before {
  background: url("assets/our-story/leaf-testimonila-dekor.png") center / contain no-repeat;
  content: "";
  height: 230px;
  left: -78px;
  opacity: 0.55;
  position: absolute;
  top: 44px;
  width: 148px;
  z-index: -1;
}

.testimonials .eyebrow {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 10px;
}

.testimonials-intro p:not(.eyebrow) {
  font-size: 24px;
  line-height: 1.22;
  max-width: 620px;
}

.testimonial-feature {
  background: var(--gold);
  border-radius: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-top: 22px;
  min-height: 270px;
  overflow: hidden;
}

.testimonial-feature blockquote,
.review-card blockquote {
  margin: 0;
}

.testimonial-feature-content {
  padding: 28px 30px 24px 34px;
}

.quote-mark {
  height: 44px;
  margin-bottom: 18px;
  object-fit: contain;
  width: 56px;
}

.testimonial-feature blockquote {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.14;
}

.review-divider {
  display: block;
  height: auto;
  margin: 19px auto 8px;
  object-fit: contain;
  width: 126px;
}

.review-author {
  color: var(--coffee);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px !important;
  font-weight: 800;
  margin-top: 0;
}

.review-role {
  color: #ffffff;
  font-size: 14px !important ;
  font-weight: 200;
  margin-top: 6px;
}

.testimonial-feature > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 74px;
}

.review-card {
  background: #ffffff;
  border: 3px solid var(--gold);
  border-radius: 8px;
  color: var(--coffee);
  min-height: 190px;
  padding: 20px 62px 24px;
}

.review-card .quote-mark {
  height: 34px;
  margin-bottom: 3px;
  margin-left: -48px;
  width: 42px;
}

.review-card blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.14;
  max-width: 400px;
}

.review-card .review-author {
  font-size: 12px;
  margin-top: 0;
}

.review-card .review-divider {
  margin: 5px 0 3px;
  width: 118px;
}

.review-card .review-role {
  color: #000000;
  font-size: 10.5px;
}

.reviews-button {
  align-items: center;
  align-self: flex-end;
  background: linear-gradient(0deg, var(--gold), var(--gold-light));
  border-radius: 5px;
  color: var(--coffee);
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  margin-top: 2px;
  min-height: 43px;
  padding: 5px 15px;
}

.reviews-button img {
  height: 22px;
  width: 24px;
}

.story-cta {
  background-image: url("assets/our-story/banner-buttom.png");
  background-position: center;
  background-size: cover;
  margin-top: 94px;
  min-height: 420px;
}

.story-cta-inner {
  margin: 0 auto;
  max-width: var(--inner);
  padding: 42px 24px 46px;
}

.story-cta h2 {
  color: var(--cream);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.16;
  max-width: 500px;
}

.story-cta p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.32;
  margin-top: 14px;
  max-width: 455px;
}

.story-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 46px;
}

.story-cta .button {
  font-size: 20px;
  min-height: 54px;
  min-width: 244px;
}

.story-page .footer {
  padding-top: 80px;
}

.story-animate.is-visible .process-card,
.story-animate.is-visible .review-card,
.story-animate.is-visible .testimonial-feature {
  animation: cardRise 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-animate.is-visible .process-card:nth-child(2),
.story-animate.is-visible .review-card:nth-child(2) {
  animation-delay: 110ms;
}

.story-animate.is-visible .process-card:nth-child(3) {
  animation-delay: 200ms;
}

.story-animate.is-visible .process-card:nth-child(4) {
  animation-delay: 290ms;
}

@media (max-width: 1120px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 251px));
  }

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

  .testimonial-feature {
    margin-top: 48px;
    max-width: 656px;
  }

  .review-list {
    max-width: 656px;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .story-hero-actions,
  .story-cta-actions {
    flex-direction: column;
  }

  .story-cta {
    min-height: 360px;
  }

  .story-cta-inner {
    padding-block: 34px;
  }

  .story-cta .button {
    min-width: 0;
    width: 100%;
  }

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

  .testimonial-feature {
    grid-template-columns: 1fr;
  }

  .testimonial-feature > img {
    height: 240px;
  }

  .review-card {
    padding: 28px 28px 24px;
  }
}
