/* Playground — Premium editorial gallery */

.pg-page {
  background: #000;
  color: #fff;
  padding-bottom: 0;
}

.pg-hero {
  padding-top: calc(var(--nav-height, 68px) + 100px);
  padding-bottom: 100px;
  text-align: center;
}

.pg-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.pg-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
}

.pg-hero p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: #A8A8A8;
  max-width: 650px;
  margin: 0 auto;
  text-wrap: pretty;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 0 120px;
}

.pg-section-label {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 0 24px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A8A8A8;
  text-align: center;
}

.pg-section + .pg-section .pg-section-label {
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .pg-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1200px) {
  .pg-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pg-hero-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .pg-grid {
    padding-left: 6px;
    padding-right: 6px;
    gap: 4px;
  }
  .pg-section-label {
    padding-left: 6px;
    padding-right: 6px;
  }
}

.pg-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: none;
  padding: 0;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: scale 0.5s ease-out, box-shadow 0.5s ease-out;
  will-change: transform;
}

.pg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0B0B0B;
  transition: filter 0.5s ease-out;
}

.pg-media picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pg-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 300ms ease;
}

.pg-media video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pg-item:hover img,
.pg-item:hover video {
  transform: scale(1.03);
}

@media (hover: hover) and (pointer: fine) {
  .pg-item:hover {
    scale: 1.02;
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.07);
    z-index: 2;
  }
  .pg-item:hover .pg-media {
    filter: brightness(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-item {
    transition: none;
  }
  .pg-item:hover {
    scale: none;
    box-shadow: none;
  }
  .pg-item:hover .pg-media {
    filter: none;
  }
  .pg-item:hover img,
  .pg-item:hover video {
    transform: none;
  }
}
