/* ═══ PROJECTS ═══════════════════════════════════════════════════════════════ */
.projects {
  padding-block: clamp(60px, 8vw, 120px);
  background: var(--bg);
}

.projects__head {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.projects__title {
  font-family: var(--font-tektur);
  font-weight: 200;
  font-size: clamp(28px, 4vw, 56px);
  color: #fff;
  margin-bottom: 12px;
}

.projects__sub {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
}

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

/* ── Project Card ── */
.project-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr), transform var(--tr-slow), box-shadow var(--tr-slow);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: rgba(202,254,72,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(202,254,72,.1);
}

/* Preview area */
.project-card__preview {
  position: relative;
  background: var(--bg2);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-card__img-wrap {
  width: 100%;
  height: 100%;
}
.project-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.project-card:hover .project-card__img-wrap img { transform: scale(1.04); }

.project-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
}
.project-card__placeholder svg {
  width: 60%;
  max-width: 320px;
  opacity: .7;
}

.project-card__tags {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-card__tag {
  font-family: var(--font-tektur);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: .06em;
  padding: 4px 10px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
}

/* Body */
.project-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__name {
  font-family: var(--font-tektur);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: #fff;
  margin-bottom: 10px;
}

.project-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.project-card__link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

/* ── Placeholder card ── */
.project-card--placeholder {
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-style: dashed;
  border-color: rgba(255,255,255,.12);
  background: transparent;
}
.project-card--placeholder:hover {
  border-color: rgba(202,254,72,.3);
  transform: none;
  box-shadow: none;
}

.project-card__placeholder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}

.project-card__plus {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 200;
  color: rgba(255,255,255,.3);
}

.project-card__placeholder-body > p {
  font-size: 15px;
  color: var(--text-muted);
}

.project-card__cta {
  height: 40px;
  padding: 0 24px;
  border: 1.5px solid rgba(202,254,72,.4);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.project-card__cta:hover { background: var(--accent); color: #000; }

/* Responsive */
@media (max-width: 768px) {
  .projects__grid { grid-template-columns: 1fr; }
}
