/* =========================================================
   OUR WORK — EDITORIAL CASE LOG & GALLERY
   ========================================================= */
.work-section {
  padding: 88px 0;
}

.case-study {
  border-top: 1px solid var(--line-dark);
  padding: 44px 0 56px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.case-index {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--cobalt);
  margin-right: 14px;
}

.case-header h3 {
  font-size: 22px;
  font-weight: 600;
}

.case-tag {
  font-size: 13px;
  color: var(--muted);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.photo-figure {
  margin: 0;
}

.photo-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-figure:hover .photo-frame img {
  transform: scale(1.03);
}

.state-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.8);
}

.state-label.after {
  background: var(--cobalt);
}

.photo-caption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* RECENT COMPLETED GALLERY */
.recent-section {
  background: var(--stone);
  border-top: 1px solid var(--line);
  padding: 96px 0 112px;
}

.recent-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

@media (max-width: 992px) {
  .recent-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ba-pair,
  .recent-gallery {
    grid-template-columns: 1fr;
  }
}
