/* Portfolio redesign. Reuses ../style.css for nav/tokens/.rd-closing; this
   file covers the hero and the gallery grid. */

/* ── HERO ── */
.rp-hero { padding: 6rem 0 3.5rem; border-bottom: 1px solid var(--line); }

.rp-hero-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin: 0.75rem 0 1.1rem;
}

/* ── GALLERY ── */
.rp-gallery { padding: 4.5rem 0; }

.rp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.rp-piece {
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.rp-piece:hover { border-color: var(--brass); }

.rp-piece img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.rp-piece figcaption { padding: 1.5rem 1.6rem 1.75rem; }

.rp-piece-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 0.9rem;
}

.rp-piece-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.rp-piece-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* The detail shot reads as a single wide card rather than a portrait crop */
.rp-piece.rp-wide { grid-column: 1 / -1; }
.rp-piece.rp-wide img { aspect-ratio: 21 / 9; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .rp-hero { padding: 5rem 0 3rem; }
  .rp-gallery { padding: 3.5rem 0; }
  .rp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rp-piece.rp-wide img { aspect-ratio: 4 / 5; }
}
