/* ===== WORK HERO ===== */
.work-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.work-hero h1 { margin-bottom: 20px; }

.work-hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 50ch;
  margin: 0 auto 40px;
}

.work-hero .section-label, .work-hero .hero-buttons { justify-content: center; }

/* ===== GALLERY FILTER ===== */
.gallery-section { padding: clamp(80px, 12vw, 140px) 0; }

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 56px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(26,26,26,0.15);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-black);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.filter-tab:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-tab.active {
  background: var(--off-black);
  color: var(--white);
  border-color: var(--off-black);
}

/* ===== FULL GALLERY ===== */
.gallery-full {
  columns: 3;
  column-gap: 12px;
}

.gallery-full-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.gallery-full-item.hidden {
  display: none;
}

.gallery-full-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
}

.gallery-full-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.2);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-full-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}

.gallery-overlay-tag {
  font-size: 0.8rem;
  color: var(--white);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .gallery-full { columns: 2; column-gap: 8px; }
  .gallery-full-item { margin-bottom: 8px; }
}

@media (max-width: 420px) {
  .gallery-full { columns: 1; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(26,26,26,0.2);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border: none;
  background: var(--white);
  border-radius: 50%;
  color: var(--off-black);
  box-shadow: var(--shadow-md);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover { background: var(--red); color: var(--white); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: none;
  background: var(--white);
  border-radius: 50%;
  color: var(--off-black);
  box-shadow: var(--shadow-md);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: var(--red); color: var(--white); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===== PROOF STATS ===== */
.proof-stats {
  color: var(--white);
  padding: clamp(80px, 12vw, 120px) 0;
}

.proof-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.proof-stat .proof-stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--mustard-light);
  line-height: 1;
  display: block;
}

.proof-stat .proof-stat-label {
  font-size: 0.95rem;
  color: var(--white);
  margin-top: 12px;
  display: block;
}

@media (max-width: 560px) {
  .proof-stats-row { grid-template-columns: 1fr; gap: 48px; }
}
