.project-img-wrapper img,
.portfolio-cta,
.featured-project-block,
[data-animate] {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.portfolio-hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.portfolio-hero .hero-title {
  max-width: 46rem;
  margin: 0 auto;
}

.portfolio-hero .hero-subtitle {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
}

.featured-project-block .project-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.project-text h2 {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.project-list li {
  display: flex;
  gap: .4rem;
  color: var(--text-soft);
  margin-bottom: .3rem;
}

.portfolio-row .project-body ul li {
  color: var(--text-soft);
  font-size: .95rem;
}

.project-img-wrapper img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.portfolio-cta {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.4rem;
  text-align: center;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px) translateZ(0);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

@media (max-width: 768px) {
  .portfolio-hero {
    padding-top: 5rem;
  }
}
