/* =============================================================
   paolovigano.it — Portfolio CSS
   ============================================================= */

.pf-main {
  background: var(--surface-2);
  min-height: 100vh;
  padding: var(--space-10) 0 var(--space-20);
}

.pf-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--content-pad);
}

/* ── HEADER ──────────────────────────────────────────────────── */

.pf-header { margin-bottom: 48px; }

.pf-eyebrow {
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--space-3);
}

.pf-title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: var(--tracking-tight);
  color: var(--text-1);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}
.pf-title em { font-style: normal; color: var(--accent); }

.pf-subtitle {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: var(--leading-relaxed);
  max-width: 520px;
}

/* ── SECTION LABEL ───────────────────────────────────────────── */

.pf-section-label {
  font-size: 10px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ── GRID ────────────────────────────────────────────────────── */

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

/* ── CARD ────────────────────────────────────────────────────── */

.pf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.pf-card:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.pf-card.wip { border-style: dashed; opacity: .85; }
.pf-card.wip:hover { opacity: 1; }
.pf-card.collab { border-color: rgba(180,140,60,0.35); }
.pf-card.collab:hover { border-color: rgba(180,140,60,0.6); }

/* ── COVER ───────────────────────────────────────────────────── */

.pf-cover {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pf-cover-name {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: 48px;
  letter-spacing: -0.03em;
  opacity: .12;
  color: var(--text-1);
  user-select: none;
}

.pf-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--weight-bold);
  color: #fff;
  background: var(--accent);
}
.pf-tag.green    { background: var(--success); }
.pf-tag.wip-tag  { background: transparent; border: 1px solid var(--border-strong); color: var(--text-3); }

.pf-clients {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: var(--weight-bold);
  color: var(--success);
}
.pf-clients-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

/* ── COLLAB BANNER ───────────────────────────────────────────── */

.pf-collab-banner {
  background: #FBF6E9;
  border-bottom: 1px solid #E8D89A;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  color: #7A6020;
}
.pf-collab-banner svg { stroke: currentColor; flex-shrink: 0; }
.pf-collab-role { font-weight: var(--weight-regular); color: #9A7E3A; }

[data-theme="dark"] .pf-collab-banner {
  background: rgba(180,140,60,0.12);
  border-color: rgba(180,140,60,0.25);
  color: #C8A84B;
}
[data-theme="dark"] .pf-collab-role { color: #A8883B; }

/* ── BODY ────────────────────────────────────────────────────── */

.pf-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  border-top: 1px solid var(--border);
}

.pf-card-title {
  font-family: var(--font-display);
  font-weight: var(--weight-black);
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.pf-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-2);
}

.pf-features { display: flex; flex-direction: column; gap: 5px; }

.pf-feature {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

.pf-feature-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────────────────── */

.pf-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.pf-tech { display: flex; gap: 4px; flex-wrap: wrap; }

.pf-tech-tag {
  padding: 2px 7px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  color: var(--text-3);
}

.pf-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.pf-demo-btn:hover { border-color: var(--accent-border); color: var(--accent); opacity: 1; }
.pf-demo-btn svg { stroke: currentColor; }

.pf-soon {
  font-size: 11px;
  color: var(--text-3);
  font-style: italic;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; }
}