/* Review-only homepage overrides. Load after existing Gamez stylesheets. */
@media (min-width: 861px) {
  .hero h1 {
    max-width: 620px;
    font-size: clamp(3.5rem, 4.8vw, 4.5rem);
  }
  .hero .lede { max-width: 540px; }
  .hero-inner { padding-top: 96px; }
  .hero::before {
    left: 30%;
    background:
      linear-gradient(90deg, var(--charcoal), rgba(32, 37, 34, .92) 14%, rgba(32, 37, 34, .42) 38%, rgba(32, 37, 34, .08) 60%),
      linear-gradient(0deg, rgba(23, 19, 15, .82), rgba(23, 19, 15, 0) 48%),
      var(--hero-image);
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 520px) {
  /* Expose the existing photograph above copy; copy rests on existing charcoal. */
  .hero::before {
    bottom: auto;
    height: 240px;
    background:
      linear-gradient(0deg, var(--charcoal), rgba(23, 19, 15, 0) 44%),
      var(--hero-image);
    background-size: cover;
    background-position: center;
  }
  .hero-inner { padding-top: 256px; padding-bottom: 48px; }

  /* Preserve all ten linked photographs; captions receive their own legible row. */
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .photo-grid > a.photo { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
  .photo-grid > a.photo img { height: auto; aspect-ratio: 4 / 3; }
  .photo-grid > a.photo span {
    position: static;
    margin: 0;
    min-height: 64px;
    padding: 8px;
    border-radius: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
  }
}
