
.hero-small {
  border-bottom: 1px solid var(--line);
  padding-bottom: 60px;
}

.project-hero {
  padding: 80px 0 40px;
  max-width: 760px;
}

.project-tag {
  display: inline-block;
  background: rgba(112, 4, 88, 0.24);
  border: 1px solid rgba(112,4,88,0.28);
  color: #f5f5f5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.project-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

.project-intro {
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.9;
}

.project-section {
  padding: 80px 0;
}

.project-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
}

.project-sidebar {
  position: sticky;
  top: 30px;
  height: fit-content;
}

.sidebar-card {
  background: #232523;
  border: 1px solid rgba(112, 4, 88, 0.22);
  border-radius: 28px;
  padding: 24px;
}

.sidebar-card h3 {
  margin-bottom: 18px;
}

.sidebar-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.project-content {
  display: grid;
  gap: 70px;
}

.project-content section {
  padding: 0;
}

.project-content h2 {
  margin-bottom: 20px;
}

.project-content p,
.project-content li {
  color: #d0d0d0;
  line-height: 1.9;
}

.project-content ul {
  padding-left: 20px;
}

.project-content img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(112,4,88,0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

pre {
  overflow-x: auto;
  background: #1a1c1a;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(112,4,88,0.22);
}

code {
  font-family: Consolas, monospace;
}

@media (max-width: 900px) {
  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: relative;
    top: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}