.home-project-gallery {
  padding: 96px 0 72px;
  background: #f8f7f3;
}

.home-project-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.project-gallery-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #80632d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
}

.home-project-heading h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 14px;
}

.home-project-heading p {
  margin: 0;
  color: #62615c;
  font-size: 15px;
}

.all-projects-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-color);
  color: #25241f;
  font-size: 14px;
  white-space: nowrap;
}

.all-projects-link:hover {
  color: #80632d;
}

.project-photo-card {
  margin: 0;
  border: 1px solid #e5e1d7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.project-photo-card > a {
  display: block;
  color: #25241f;
}

.project-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.project-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project-photo-card a:hover img {
  transform: scale(1.025);
}

.project-photo-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #25241f;
  font-size: 22px;
}

.project-photo-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 24px;
}

.project-photo-number {
  color: #80632d;
  font-size: 12px;
  font-weight: 500;
}

.project-photo-detail {
  margin-left: auto;
  color: #6e6b63;
  font-size: 11px;
}

.home-project-gallery a:focus-visible {
  outline: 2px solid #80632d;
  outline-offset: -3px;
}

.home-project-gallery .owl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.home-project-gallery .owl-dots .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  background: #d5d0c4;
}

.home-project-gallery .owl-dots .owl-dot.active span {
  background: var(--theme-color);
}

@media (max-width: 767px) {
  .home-project-gallery {
    padding: 56px 0 40px;
  }

  .home-project-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-photo-frame img {
    transition: none;
  }
}
