/* DIGIX portfolio grid */
#portfolio { background: #1c1f24 !important; }
#portfolio .portfolio-intro { max-width: 560px; }

.pf-card {
  display: block;
  height: 100%;
  background: #262a31;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.pf-card:hover, a.pf-card:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -18px rgba(244, 98, 58, 0.55);
}

.pf-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #15171b;
}
.pf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
a.pf-card:hover .pf-thumb img { transform: scale(1.05); }

.pf-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 98, 58, 0.85);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pf-overlay span {
  font-family: "Merriweather Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
}
a.pf-card:hover .pf-overlay, a.pf-card:focus .pf-overlay { opacity: 1; }

.pf-caption { padding: 1rem 1.25rem 1.2rem; }
.pf-category {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f4623a;
  margin-bottom: 0.2rem;
}
.pf-name {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Coming soon placeholders */
.pf-soon { opacity: 0.75; }
.pf-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #2d323b, #1a1d22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pf-num {
  font-family: "Merriweather Sans", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}
.pf-soon-label {
  margin-top: 0.6rem;
  font-family: "Merriweather Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}
.pf-soon .pf-name { color: rgba(255, 255, 255, 0.5); }
.pf-soon .pf-category { color: rgba(244, 98, 58, 0.6); }
