/* ═══ PROJECTS PAGE ════════════════════════════════════════════════════════
   Page-specific styles for projects.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(124,147,195,.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .sl { display: block; margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text);
  max-width: 640px;
}
.page-hero .hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 520px;
}

/* ── FULL PROJECT GRID ────────────────────────────────────────────────────── */
.projects-section { background: var(--bg2); }

.proj-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

/* Featured card spans full width on larger screens */
@media (min-width: 900px) {
  .proj-card-featured {
    grid-column: span 2;
  }
  .proj-card-featured .proj-img-ph {
    aspect-ratio: 16/6;
  }
}

/* ── CTA SECTION ──────────────────────────────────────────────────────────── */
.proj-cta-section {
  background: var(--bg);
  padding: 112px 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 110px 0 60px; }
  .proj-grid-full { grid-template-columns: 1fr; }
  .proj-card-featured { grid-column: span 1; }
}
