/* ── Portfolio page shell ───────────────────────────────────────────────────── */
.pf-page {
  min-height: 100vh;
  padding-bottom: var(--section-y);
}

/* ── Hero header ─────────────────────────────────────────────────────────────── */
.pf-page-hero {
  padding: 120px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pf-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 217, 255, 0.05) 0%, transparent 70%),
    linear-gradient(to bottom, var(--bg-1), transparent);
  pointer-events: none;
}

.pf-page-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-page-back {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pf-back-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  transition: opacity .2s ease;
}
.pf-back-link:hover { opacity: .7; }

.pf-page-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}

.pf-page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg-0);
}
.pf-page-title .dim {
  color: var(--fg-3);
  font-weight: 300;
}

.pf-page-sub {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--fg-2);
  max-width: 520px;
  line-height: 1.6;
}

/* ── Page body ───────────────────────────────────────────────────────────────── */
.pf-page-body {
  padding-top: 56px;
}

/* ── Stats bar ───────────────────────────────────────────────────────────────── */
.pf-page-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.pf-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pf-stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-0);
  line-height: 1;
}
.pf-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.pf-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--line-strong);
}

/* ── Placeholder card overrides ──────────────────────────────────────────────── */
.pf-card--placeholder {
  opacity: .55;
  cursor: default;
  pointer-events: none;
}
.pf-card--placeholder .pf-browser-url {
  font-style: italic;
}

.pf-placeholder-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  border: 1px solid var(--line-strong);
  background: rgba(6, 9, 15, 0.7);
  padding: 6px 14px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.pf-visit--soon {
  color: var(--fg-3);
  opacity: 1;
}

@media (max-width: 768px) {
  .pf-page-hero { padding: 100px 0 48px; }
  .pf-page-stats { gap: 20px; flex-wrap: wrap; }
}
