.gallery-section {
  margin: 3rem 0 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 550;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.section-sub {
  color: #9c7e64;
  margin-bottom: 2rem;
  border-bottom: 2px solid #eadbcb;
  display: inline-block;
  padding-bottom: 6px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.6rem;
}

.art-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s;
  cursor: pointer;
  break-inside: avoid;
  animation: fadeUp 0.4s ease backwards;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 32px -14px rgba(0, 0, 0, 0.15);
}

.art-image {
  width: 100%;
  background-color: #f2ece4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
}

.art-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.art-card:hover .art-image img {
  transform: scale(1.02);
}

.art-info {
  padding: 1rem 1rem 1.2rem;
}

.art-title {
  font-weight: 620;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #2c241e;
}

.art-medium {
  font-size: 0.73rem;
  color: #b28b66;
  text-transform: none;
  letter-spacing: 0.4px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}