.hero--home {
  padding-top: 20px;
  padding-bottom: 80px;
}
.hero--home:before {
  background: linear-gradient(#f8f6f1d1, #ffffffd1 54%, #e7ded2d1);
}
.home-hero-content {
  position: relative;
  width: min(1130px, calc(100% - var(--content-pad) * 2));
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 70px;
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.home-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.scope-panel {
  align-self: start;
  background: #ffffffb8;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-panel);
}
.scope-panel h2 {
  font-size: 24px;
  line-height: 32px;
}
.scope-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffffc2;
  font-size: 14px;
  line-height: 20px;
}
.scope-panel a svg {
  flex: none;
}
.scope-panel a:hover {
  border-color: var(--color-cardinal);
}
.work-preview {
  background: linear-gradient(160deg, #fff 12%, #f8f6f1 54%, #e7ded2 84%);
}
.work-preview h2 {
  margin-bottom: 20px;
}
.preview-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.preview-gallery > a:not(.view-all) {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ffffffc2;
  aspect-ratio: 302/180;
}
.preview-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.preview-gallery a:hover img {
  transform: scale(1.035);
}
.preview-gallery .view-all {
  position: absolute;
  right: -42px;
  top: 50%;
  transform: translateY(-50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #cb5650eb;
  border: 1px solid #b94641;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  backdrop-filter: blur(8px);
}
.services-overview {
  background: #fff;
  min-height: 582px;
}
.services-overview .service-grid {
  max-width: 1240px;
}
.testimonials {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.testimonials > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.testimonials:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f7f4eef5, #f7f4eec7 39%, #f7f4ee00 70%);
  z-index: -1;
}
.testimonials figure {
  max-width: 580px;
  padding: 44px 12px;
}
.testimonials blockquote {
  font-size: 28px;
  line-height: 38px;
  font-weight: 500;
}
.testimonials figcaption {
  margin-top: 18px;
  color: var(--color-cardinal-dark);
  font-size: 15px;
  font-weight: 700;
}
.testimonial-dots {
  margin-top: 18px;
}
@media (max-width: 1200px) {
  .home-hero-content {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .home-hero-content h1 {
    font-size: 60px;
    line-height: 1.08;
  }
  .preview-gallery .view-all {
    right: -18px;
    width: 76px;
    height: 76px;
  }
}
@media (max-width: 900px) {
  .home-hero-content {
    grid-template-columns: 1fr;
  }
  .scope-panel {
    display: none;
  }
  .home-hero-content h1 {
    max-width: 760px;
  }
  .preview-gallery {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .preview-gallery .view-all {
    top: auto;
    bottom: -20px;
    transform: none;
  }
  .testimonials figure {
    max-width: 520px;
  }
  .testimonials:before {
    background: linear-gradient(90deg, #f7f4eef5, #f7f4eec7 65%, #f7f4ee55);
  }
}
@media (max-width: 600px) {
  .hero--home {
    padding-bottom: 48px;
  }
  .home-hero-content {
    margin-top: 40px;
  }
  .home-hero-content h1 {
    font-size: 44px;
    line-height: 1.1;
  }
  .home-hero-copy > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 28px;
  }
  .hero-actions .button {
    padding-inline: 18px;
  }
  .work-preview {
    padding-bottom: 60px;
  }
  .testimonials blockquote {
    font-size: 23px;
    line-height: 33px;
  }
  .testimonials figure {
    padding-inline: 0;
  }
  .services-overview {
    min-height: 0;
  }
}
