/* SHARED CONTAINER */

.home-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  min-height: 330px;
  background:
    linear-gradient(rgba(244, 246, 244, 0.9), rgba(244, 246, 244, 0.9)),
    url("../images/home/home-texture-bg.jpg");
  background-size: cover;
  background-position: 75% center;
  text-align: center;
  padding: 65px 0 45px;
  overflow: hidden;
}

.hero-text {
  width: 100%;
}

.hero-title {
  color: #000;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.9;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero-word {
  display: inline-block;
  color: #000;
  opacity: 0;
  transform: translateY(22px);
  animation: heroWordUp 0.7s ease forwards;
}

.hero-word:nth-child(1) { animation-delay: 0.1s; }
.hero-word:nth-child(2) { animation-delay: 0.25s; }
.hero-word:nth-child(3) { animation-delay: 0.4s; }
.hero-word:nth-child(4) { animation-delay: 0.55s; }

.hero-word.identity-word {
  color: var(--brand-green);
}

.hero-line {
  width: 100vw;
  height: 12px;
  background-color: var(--brand-green-light);
  margin-top: 10px;
  margin-bottom: 10px;
  position: relative;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: heroLineReveal 0.9s ease forwards;
  animation-delay: 0.8s;
}

.hero p {
  font-family: "Big Shoulders Display", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

.hero .btn {
  margin-top: 0;
}

/* FEATURED WORK */

.featured {
  padding: 75px 0 45px;
  overflow: hidden;
}

.featured h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
}

.work-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 110px;
}

.work-row img {
  width: 100%;
  max-width: 480px;
  justify-self: start;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.work-copy {
  max-width: 460px;
  position: relative;
}

.work-copy::before {
  content: "";
  position: absolute;

  height: 8px;
  width: 100vw;

  background-color: var(--brand-green-light);

  top: 42px;

  left: 0;
  transform: translateX(0); /* 👈 goes RIGHT only */

  z-index: -1;
}

.work-copy h3 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 20px;
}

.work-copy p {
  line-height: 1.45;
  margin-bottom: 20px;
}
.reverse .work-copy::before {
  left: auto;
  right: 0;
  transform: translateX(0); /* 👈 goes LEFT only */
}

.reverse .work-copy {
  text-align: right;
  justify-self: end;
}

.reverse .work-copy p {
  margin-left: auto;
}

.reverse img {
  justify-self: end;
}

/* ABOUT SECTION */

.home-about {
  border-top: 3px solid var(--brand-green-light);
  border-bottom: 3px solid var(--brand-green-light);
  padding: 18px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-image-wrap {
  width: 100%;
  max-width: 480px;
  justify-self: start;
  display: flex;
  justify-content: center;
}

.about-image-wrap img {
  width: 330px;
  max-width: 100%;
}

.home-about-copy {
  max-width: 460px;
}

.home-about h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1;
}

.home-about p {
  line-height: 1.5;
  margin-bottom: 20px;
}

/* SKILLS */

.skills {
  padding: 70px 0 0;
  text-align: center;
}

.skills h2 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 30px;
}

.skills-gradient {
  width: 100%;
  background: linear-gradient(
    90deg,
    #b7ddd4,
    var(--brand-green),
    #b7ddd4
  );
  padding: 55px 0;
}

.skill-cards {
  display: flex;
  justify-content: center;
  gap: 70px;
}

.skill-card {
  width: 220px;
  background-color: #fff;
  padding: 35px 25px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(169, 200, 160, 0.5);
}

.skill-card img {
  width: 55px;
  margin: 0 auto 15px;
}

.skill-card h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
}

.skill-card p {
  font-size: 16px;
  line-height: 1.4;
}

/* PROCESS */

.process {
  padding: 90px 8% 120px;
  text-align: center;
}

.process h2 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 50px;
}

.process-cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 70px;
 

}
.process-card {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.show-process .process-card {
  opacity: 1;
  transform: translateY(0);
}

.show-process .process-card:nth-child(1) {
  transition-delay: 0.1s;
}

.show-process .process-card:nth-child(2) {
  transition-delay: 0.22s;
}

.show-process .process-card:nth-child(3) {
  transition-delay: 0.34s;
}

.show-process .process-card:nth-child(4) {
  transition-delay: 0.46s;
}

.process-card {
  width: 140px;
  height: 140px;
  background-color: #fff;
  border: 3px solid #c6d9d4;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.process-card img {
  width: 42px;
  margin-bottom: 10px;
}

.process-card h3 {
  font-size: 22px;
  font-weight: 500;
}

/* ANIMATIONS */

@keyframes heroWordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineReveal {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}
/* RESPONSIVE */

@media (max-width: 850px) {

  body,
  main,
  .featured,
  .home-about,
  .skills,
  .process {
    background-color: #fff;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 45px;
    background-position: 95% center;
    background-size: auto 100%;
  }

  .hero-title {
    display: block;
    padding: 0 20px;
    line-height: 0.95;
  }

  .hero-word {
    display: inline-block;
  }

  .identity-word {
    display: block;
    margin-top: 6px;
  }

  .hero-line {
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .work-row,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .work-row img,
  .reverse img,
  .about-image-wrap {
    justify-self: center;
  }

  .work-row.reverse img {
    grid-column: 1;
    grid-row: 1;
  }

  .work-row.reverse .work-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .work-row img,
  .reverse img {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }

  .work-copy,
  .reverse .work-copy,
  .home-about-copy {
    max-width: 460px;
    margin: 0 auto;
    justify-self: center;
    text-align: center;
  }

  .reverse .work-copy p,
  .work-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .skill-cards,
  .process-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

}
.process-step {
  display: block;
  margin-bottom: 14px;

  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;

  color: rgb(0, 0, 0);
}