/* Photo sections: about + behind scenes */

.about-with-photo {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 168, 95, 0.08), transparent 28%),
    #07080c !important;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.about-copy {
  min-width: 0;
}

.about-photo-card {
  position: relative;
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #0b0d12;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.34);
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(7, 8, 12, 0.82), rgba(7, 8, 12, 0.10) 54%, rgba(7, 8, 12, 0.18)),
    radial-gradient(circle at 50% 20%, rgba(217, 168, 95, 0.16), transparent 32%);
  pointer-events: none;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.03) brightness(0.88);
}

.about-photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 18px;
  border-radius: 22px;
  background: rgba(7, 8, 12, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.about-photo-card strong,
.about-photo-card span {
  display: block;
}

.about-photo-card strong {
  color: #fff7ec;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-photo-card span {
  margin-top: 8px;
  color: rgba(255, 247, 236, 0.62);
  font-size: 14px;
}

.behind-scenes {
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(to bottom, #07080c, #0a0b10 58%, #07080c) !important;
}

.behind-scenes-head {
  max-width: 920px;
}

.behind-scenes-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.behind-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0d12;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
}

.behind-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 8, 12, 0.36), rgba(7, 8, 12, 0.02)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
}

.behind-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03) brightness(0.86);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.behind-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.02) contrast(1.04) brightness(0.94);
}

.behind-photo-large {
  grid-row: span 2;
}

@media (max-width: 1040px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-card {
    min-height: 620px;
  }

  .about-photo-card img {
    min-height: 620px;
  }

  .behind-scenes-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }

  .behind-photo-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .about-grid {
    gap: 32px;
  }

  .about-photo-card {
    min-height: 470px;
    border-radius: 26px;
  }

  .about-photo-card img {
    min-height: 470px;
  }

  .about-photo-card figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 18px;
  }

  .behind-scenes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 10px;
  }

  .behind-photo {
    border-radius: 20px;
  }

  .behind-photo-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}
