.spaceage-gallery {
  padding: 95px max(24px, calc((100vw - 1180px) / 2));
  background: #171818;
  color: var(--text);
}
.spaceage-gallery > header {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px 60px;
  align-items: end;
  margin-bottom: 34px;
}
.spaceage-gallery > header span {
  grid-column: 1 / -1;
  color: var(--label);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.spaceage-gallery h2 {
  margin: 0;
  font: 800 clamp(42px, 6vw, 66px)/.96 "Arial Narrow", "Segoe UI", sans-serif;
  letter-spacing: -.04em;
}
.spaceage-gallery > header p { margin: 0; color: #a9aaa8; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-card {
  position: relative;
  display: block;
  min-height: 330px;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0e0e;
  color: var(--text);
  text-decoration: none;
}
.gallery-card.gallery-wide { grid-column: 1 / -1; min-height: 520px; }
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease, filter .25s ease;
}
.gallery-card:hover img { transform: scale(1.012); filter: brightness(1.08); }
.gallery-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #0b0c0ce8;
  backdrop-filter: blur(10px);
}
.gallery-card b, .gallery-card small { display: block; }
.gallery-card b { color: var(--orange-hot); font-size: 12px; letter-spacing: .12em; }
.gallery-card small { margin-top: 3px; color: #aeb0ad; font-size: 9px; letter-spacing: .1em; }
@media (max-width: 900px) {
  .spaceage-gallery > header { grid-template-columns: 1fr; }
  .gallery-card.gallery-wide { min-height: 420px; }
}
@media (max-width: 650px) {
  .spaceage-gallery { padding: 60px 18px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card.gallery-wide { grid-column: auto; min-height: 250px; }
  .spaceage-gallery h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-card img { transition: none; } }
