.featured-work {
  padding: 120px 0;
}
@media (max-width: 768px) {
  .featured-work {
    padding: 64px 0;
  }
}
.featured-work .featured-work-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .featured-work .featured-work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }
}
.featured-work .featured-work-header h2 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 300;
  color: #082B34;
  line-height: 1.375;
  margin: 0;
  font-family: "ivypresto-headline", serif;
}
.featured-work .featured-work-header .see-all-link {
  color: #082B34;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  padding: 0;
  border: 0;
  border: 0;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: underline;
}
.featured-work .featured-work-header .see-all-link::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  background-color: #082B34;
  mask-image: url("../../assets/img/icon-arrow-right.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  vertical-align: middle;
  transform: translateX(-2px);
  transition: all 0.3s ease;
}
.featured-work .featured-work-header .see-all-link:hover::after {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .featured-work .featured-work-header .see-all-link {
    font-size: 16px;
    align-self: flex-start;
  }
}
.featured-work .featured-work-projects {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .featured-work .featured-work-projects {
    gap: 60px;
  }
}
.featured-work .project-item {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.featured-work .project-background {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 768px) {
  .featured-work .project-background {
    aspect-ratio: 5/4;
    background-position: top center;
  }
}
.featured-work .project-content {
  width: 100%;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
}
@media (max-width: 768px) {
  .featured-work .project-content {
    padding: 30px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.featured-work .project-text {
  flex: 1;
  max-width: 490px;
}
@media (max-width: 768px) {
  .featured-work .project-text {
    max-width: 200px;
  }
}
.featured-work .project-main-link .project-heading {
  text-decoration: none;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  transition: all 0.3s ease;
}
.featured-work .project-main-link .project-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
  opacity: 0.9;
}
.featured-work .project-main-link:hover .project-heading {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 255, 255, 0.25);
}
.featured-work .project-main-link:hover .project-heading::after {
  transform: scaleX(1);
}
.featured-work .project-subheading {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  color: white;
  font-family: "articulat-cf", sans-serif;
  text-transform: capitalize;
  max-width: 390px;
}
@media (max-width: 768px) {
  .featured-work .project-subheading {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
  }
}
.featured-work .project-heading {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  font-family: "articulat-cf", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.featured-work .project-link {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0;
  border: 0;
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: underline;
  text-decoration-thickness: 0.1em; /* how thick the line is */
  text-underline-offset: 0.3em; /* how far below the text it sits */
  text-decoration-color: currentColor; /* or a specific color */
  white-space: nowrap;
  flex-shrink: 0;
}
.featured-work .project-link::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  background-color: white;
  mask-image: url("../../assets/img/icon-arrow-right.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  vertical-align: middle;
  transform: translateX(-2px);
  transition: all 0.3s ease;
}
.featured-work .project-link:hover::after {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .featured-work .project-link {
    font-size: 16px;
    align-self: flex-start;
  }
}