/* Reviews (Amy case study) */

.story-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--blue-light);
}

.story-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.375rem);
  max-width: 52rem;
  margin-inline: auto 1rem;
  line-height: 1.3;
}

.story-hero p {
  font-size: 1.125rem;
  max-width: 42rem;
  margin-inline: auto;
  color: var(--text);
}

.svg-underline {
  position: relative;
  display: inline;
  background: none;
  color: inherit;
}

.svg-underline svg {
  position: absolute;
  left: 0;
  bottom: -0.35em;
  width: 100%;
  height: 0.45em;
  pointer-events: none;
}

.svg-underline path {
  fill: var(--green);
}

.svg-stroke {
  position: relative;
  display: inline;
  background: none;
  color: inherit;
}

.svg-stroke svg {
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 0.5em;
  pointer-events: none;
}

.svg-stroke path {
  fill: var(--green);
}

.story-video {
  padding: 1rem 0 2rem;
  background: var(--blue-light);
  text-align: center;
}

.story-video__embed {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.story-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-video__cta {
  margin-top: 1.5rem;
}

.story-video__micro {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.story-stats {
  padding: 2rem 0 3rem;
  background: var(--blue-light);
}

.story-stats__grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.story-stats__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.story-stats__label {
  font-size: 1rem;
  margin: 0;
}

@media (min-width: 768px) {
  .story-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-section {
  padding: 4rem 0;
}

.story-section--blue {
  background: var(--blue-light);
}

.story-section--white {
  background: var(--white);
}

.story-eyebrow {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.story-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.story-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.story-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.story-split__media img {
  border-radius: 8px;
  margin-inline: auto;
  max-width: 500px;
}

.story-split--reversed .story-split__content {
  order: 2;
}

.story-split--reversed .story-split__media {
  order: 1;
}

@media (min-width: 900px) {
  .story-split {
    grid-template-columns: 1fr 1fr;
  }

  .story-split--reversed .story-split__content {
    order: 1;
  }

  .story-split--reversed .story-split__media {
    order: 2;
  }
}

.story-banner {
  padding: 2rem 0;
}

.story-banner img {
  margin-inline: auto;
  max-width: 900px;
}

.story-banner--mobile img {
  display: none;
}

.story-parallax {
  min-height: 420px;
  background: linear-gradient(135deg, #fff7ef 0%, #d7ecea 100%);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.story-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.story-list li::before {
  content: "\f110";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--blue);
  position: absolute;
  left: 0;
  top: 0.15em;
}

.story-process {
  text-align: center;
  padding: 3rem 0;
  background: var(--blue-light);
}

.story-process h2 {
  margin-bottom: 1rem;
}

.story-process p {
  max-width: 48rem;
  margin-inline: auto 1.5rem;
}

.story-process img {
  margin-top: 2rem;
  margin-inline: auto;
}

.story-step {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid #eaeaea;
}

.story-step:last-child {
  border-bottom: none;
}

.story-step__icon {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
}

.story-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.story-step .story-eyebrow {
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .story-step {
    grid-template-columns: 130px 1fr;
    gap: 2rem;
  }
}

.story-step--mobile {
  display: none;
}

.story-step--mobile .story-step__full-img {
  margin: 1rem 0;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .story-step--desktop {
    display: none;
  }

  .story-step--mobile {
    display: block;
  }

  .story-banner--desktop img {
    display: none;
  }

  .story-banner--mobile img {
    display: block;
    margin-inline: auto;
  }

  .story-parallax {
    background-attachment: scroll;
    min-height: 280px;
  }
}

.story-cta-inline {
  text-align: center;
  padding: 2rem 0 3rem;
}

.story-cta-banner {
  padding: 4rem 0;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: var(--white);
  text-align: center;
}

.story-cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.story-cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.story-cta-banner .btn--primary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}

.story-cta-banner .btn--primary:hover {
  background: var(--blue-light);
}
