.branding-card-container {
  position: relative;
  width: 100%;
  /* Force a perfect square */
  aspect-ratio: 1 / 1; 
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
  font-family: inherit;
}

.branding-card-container:hover {
  transform: scale(0.98); /* Slight inward "press" effect on hover */
}

/* --- Image & Zoom --- */
.branding-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.branding-card-container:hover .branding-card-img {
  transform: scale(1.1);
}

.branding-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* --- Typography Content --- */
.branding-card-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  color: #ffffff;
}

.branding-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.6;
  display: block;
  margin-bottom: 4px;
}

.client-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.branding-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.branding-card-container:hover .branding-label {
  opacity: 1;
  transform: translateY(0);
}

.branding-card-container:hover .client-name {
  transform: translateY(-5px);
}
