/* ── Portfolio hero ──────────────────────────────────────────── */
.pf-hero {
  padding: 13rem clamp(2rem, 8vw, 10rem) 5rem;
  background: var(--ivory); text-align: center;
}
.pf-hero-label {
  font-family: var(--body); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sage-d); display: block; margin-bottom: 1rem;
}
.pf-hero-title {
  font-family: var(--display); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400; color: var(--bordeaux); line-height: 1.1; margin-bottom: 1.25rem;
}
.pf-hero-sub {
  font-family: var(--body); font-size: .9rem; font-weight: 300;
  color: var(--muted); max-width: 440px; line-height: 1.85; margin: 0 auto;
}

/* ── Portfolio grid ─────────────────────────────────────────── */
.pf-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem clamp(2rem, 6vw, 6rem) 8rem;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 3rem; row-gap: 3rem; align-items: start;
}
.pf-item { overflow: hidden; cursor: pointer; }
.pf-item img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  object-position: center top; display: block;
  transition: transform .6s var(--ease), opacity .3s;
}
.pf-item:hover img { transform: scale(1.03); opacity: .9; }
.pf-right { margin-top: 5rem; }
.pf-wide { grid-column: 1 / -1; }
.pf-wide img { aspect-ratio: 16 / 9; }

/* ── Lightbox ───────────────────────────────────────────────── */
.lb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(20,12,10,.93); z-index: 500;
  align-items: center; justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; user-select: none; }
.lb-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 1.75rem; cursor: pointer; line-height: 1; transition: color .2s;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: absolute; background: none; border: none;
  color: rgba(255,255,255,.5); font-size: 2.5rem; cursor: pointer;
  padding: 1rem 1.25rem; transition: color .2s;
  top: 50%; transform: translateY(-50%); line-height: 1;
}
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }
.lb-prev:hover, .lb-next:hover { color: #fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pf-grid { column-gap: 2rem; row-gap: 2rem; }
  .pf-right { margin-top: 3rem; }
}
@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; column-gap: 0; row-gap: 1.5rem; }
  .pf-right { margin-top: 0; }
  .pf-wide { grid-column: 1; }
  .pf-hero { padding-top: 10rem; }
}
