/* ============================================================
   Kinetic Development — Projects Page
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.pj-hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background: var(--dark);
}

.pj-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 30%, rgba(196,132,74,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 0% 80%, rgba(196,132,74,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.pj-hero-inner { position: relative; max-width: 680px; }

.pj-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.pj-breadcrumb a { color: var(--gray); transition: color var(--transition); }
.pj-breadcrumb a:hover { color: var(--copper); }
.pj-breadcrumb span:last-child { color: var(--copper); }

.pj-hero-inner h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0.8rem 0 1.4rem;
  line-height: 1.1;
}

.pj-hero-inner > p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.85;
}

/* ── Sections ────────────────────────────────────────────── */
.pj-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.pj-section--dark { background: var(--dark); }

.pj-section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.pj-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pj-status-dot--active {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.2);
  animation: pulse-green 2s infinite;
}
.pj-status-dot--past { background: var(--gray); }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0.1); }
}

/* ── Featured Project ────────────────────────────────────── */
.pj-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

.pj-featured-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.pj-featured-image img { width: 100%; display: block; }

.pj-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.4);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pj-featured-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

.pj-featured-meta { margin-bottom: 1.5rem; }
.pj-featured-meta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0.4rem 0 0.4rem;
}
.pj-featured-address {
  font-size: 0.85rem;
  color: var(--gray);
}

.pj-featured-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.pj-stats-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1.5rem 0;
}
.pj-stat { text-align: center; flex: 1; }
.pj-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--copper);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pj-stat-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

.pj-featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.pj-featured-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Site Plan ───────────────────────────────────────────── */
.pj-siteplan {
  margin-bottom: 2rem;
}
.pj-siteplan-label {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.pj-siteplan-label p { color: var(--gray); font-size: 0.85rem; }
.pj-siteplan img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ── Phases (reuse from style.css) ──────────────────────── */
.pj-phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Past Projects placeholder ───────────────────────────── */
.pj-past-placeholder {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pj-past-icon { font-size: 3rem; margin-bottom: 1.2rem; }
.pj-past-placeholder h3 { color: var(--white); margin-bottom: 0.8rem; font-size: 1.3rem; }
.pj-past-placeholder p  { color: var(--gray); font-size: 0.92rem; line-height: 1.75; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pj-featured { grid-template-columns: 1fr; }
  .pj-featured-image { position: static; }
}

@media (max-width: 600px) {
  .pj-phases { grid-template-columns: 1fr; }
  .pj-stats-row { flex-wrap: wrap; gap: 1rem; }
  .pj-stat { min-width: 80px; }
  .pj-featured-actions { flex-direction: column; }
  .pj-featured-actions .btn { justify-content: center; }
}
