/* wall-of-fame.css */

.wof-section {
  background: var(--ink);
  padding-bottom: var(--gap-xl);
}

.wof-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.wof-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
  cursor: pointer;
}

.wof-cell--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

.wof-cell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter var(--t-med), transform var(--t-med);
  will-change: transform;
}

.wof-cell__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--smoke);
  font-size: 3rem;
  width: 100%;
  height: 100%;
}

.wof-cell:hover .wof-cell__img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.wof-cell:hover .wof-cell__img--placeholder {
  filter: none;
}

.wof-cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,7,0.95) 0%, rgba(8,8,7,0.4) 40%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.wof-cell:hover .wof-cell__overlay {
  opacity: 1;
  transform: translateY(0);
}

.wof-cell__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--cream);
  line-height: 1.2;
}

.wof-cell__year {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}

.wof-footer {
  display: flex;
  justify-content: center;
  padding: 4rem var(--pad-x);
}

@media (min-width: 640px) {
  .wof-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wof-mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .wof-footer {
    padding: 5rem 3rem;
  }
}
