.panels {
  position: relative;
  padding: 120px 32px;
  background: var(--void);
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 48px;
}

.label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--chrome-bright);
}

.sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.panel {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--void-surface);
  border: 1px solid var(--border-chrome);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 18, 24, 0.4) inset;
  transition: border-color var(--transition-slow), transform var(--transition-slow);
}

.panel::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(168, 173, 184, 0.08);
  pointer-events: none;
}

.panel:hover {
  border-color: rgba(168, 173, 184, 0.25);
  transform: translateY(-4px);
}

.image {
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform var(--transition-slow);
}

.panel:hover .image {
  transform: scale(1.03);
}

.caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 234, 237, 0.7);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.center {
  border-color: rgba(168, 173, 184, 0.25);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .panel {
    aspect-ratio: 5 / 6;
  }
}

@media (max-width: 600px) {
  .panels {
    padding: 80px 20px;
  }

  .header {
    margin-bottom: 32px;
  }
}
