/* Centered block used in the Texturing section */
.pearl-centered-block {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pearl-centered-block p {
  color: var(--text-muted);
}

/* Row of texturing screenshots */
.pearl-images-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.pearl-images-row img {
  width: min(320px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Small tweak on narrow screens */
@media (max-width: 800px) {
  .pearl-centered-block {
    text-align: left;
  }
}

/* ===== HERO ===== */
.project-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.project-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.75) 65%,
    #050505
  );
  z-index: -1;
}

.project-hero-overlay {
  padding: 3.5rem 1.5rem 2.75rem;
}

.project-main-title {
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  margin: 0 0 1.6rem;
}
.project-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Each pill becomes a flex column, centered vertically */
.project-meta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* center label + value inside */
    min-height: 80px;          /* ensures same height even if text wraps */
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Label + value sizing so they look consistent */
.meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b8b8b8;
    margin-bottom: 0.15rem;
}

.meta-value {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
}
