.space-album {
  padding: clamp(48px, 6.2vw, 100px) 0 clamp(60px, 7vw, 112px);
  background: var(--paper);
}
.space-heading, .space-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.space-heading { margin-bottom: clamp(24px, 3vw, 48px); }
.space-heading h2 { color: var(--wine); font-size: clamp(32px, 3.2vw, 54px); }
.space-heading p, .space-entry figcaption p { color: var(--muted); }
.space-heading p { font: 500 clamp(14px, 1.3vw, 20px)/1.5 var(--serif); }
.space-spread {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(25px, 5.4vw, 92px);
  align-items: start;
}
.space-entry { min-width: 0; }
.space-entry + .space-entry { margin-top: clamp(35px, 5.5vw, 90px); }
.space-entry > a { display: block; position: relative; overflow: hidden; }
.space-entry img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.space-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--paper);
  color: var(--ink);
}
.space-zoom .icon { width: 18px; height: 18px; }
.space-entry > a:is(:hover, :focus-visible) .space-zoom { color: white; background: var(--wine); }
.space-entry figcaption { padding: 17px 0 12px; border-bottom: 1px solid var(--line); }
.space-label h3 { font-size: clamp(23px, 2.3vw, 38px); }
.space-entry figcaption p { margin-top: 10px; font-size: 15px; line-height: 1.8; }
@media (max-width: 680px) {
  .space-heading { display: block; }
  .space-heading p { margin-top: 12px; }
  .space-spread { grid-template-columns: 1fr; gap: 30px; }
  .space-entry + .space-entry { margin-top: 0; }
  .space-entry figcaption p { font-size: 14px; }
}

/* The fixed aperture isolates photo movement from captions and zoom controls. */
.space-frame {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.space-frame img {
  transform-origin: center;
}
