/* ============================================================
   PROJECT PAGE — project-page.css
   Inherits base styles from ../style.css
   Reuses sp-* classes from ../services/service-page.css
============================================================ */

/* Pull in service page styles */
@import url('../services/service-page.css');

/* Ensure nav links visible on project pages */

/* ── Hero video block ── */
.pp-hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.pp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.85) 100%
  );
}

.pp-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 60px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.pp-hero-content .sp-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.7);
}

.pp-hero-content .sp-back:hover {
  color: #fff;
}

.pp-hero-content .sp-hero-tag {
  margin-bottom: 16px;
}

.pp-hero-content .sp-category {
  background: rgba(0,226,149,0.15);
  border-color: rgba(0,226,149,0.3);
}

.pp-headline {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 32px;
}

.pp-hero-content .sp-hero-stats {
  border-top-color: rgba(255,255,255,0.2);
  padding-top: 32px;
}

.pp-hero-content .sp-stat-num {
  color: #fff;
}

.pp-hero-content .sp-stat-label {
  color: rgba(255,255,255,0.6);
}

/* IG link section */
.pp-ig-section .sp-section-content {
  display: flex;
  align-items: center;
}

.pp-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border: 1px solid rgba(0,226,149,0.3);
  padding: 12px 24px;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.pp-ig-link:hover {
  background: rgba(0,226,149,0.08);
  border-color: var(--green);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pp-hero {
    height: 70vh;
    min-height: 480px;
  }
  .pp-hero-content {
    padding: 0 20px 40px;
  }
  .pp-headline {
    font-size: clamp(40px, 10vw, 72px);
  }
}

/* Hero with no video — solid dark background */
.pp-hero--no-video {
  background: #0a0a0a;
}
.pp-hero--no-video .pp-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.6) 60%,
    rgba(0,0,0,0.92) 100%
  );
}
