/* === HERO === */
.proj-hero {
  background: var(--bg);
  padding: calc(72px + 5rem) 0 4rem;
}

.proj-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.proj-hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 50ch;
  line-height: 1.7;
}

/* === PROJECT LIST === */
.proj-list-section {
  background: #241420;
  padding: 2rem 0 4rem;
}

.proj-row {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255, 235, 220, 0.08);
}

.proj-row--last {
  border-bottom: none;
}

.proj-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 235, 220, 0.04);
  filter: grayscale(20%) brightness(0.75) saturate(0.85);
  opacity: 0.7;
  transition: transform 0.6s ease, filter 0.5s ease, opacity 0.5s ease;
}

.proj-row:hover .proj-image {
  transform: scale(1.02);
  filter: grayscale(0%) brightness(1) saturate(1);
  opacity: 1;
}

.proj-ghost-num {
  position: absolute;
  top: -2.2rem;
  left: 0;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: rgba(255, 210, 170, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.5s ease;
}

.proj-row:hover .proj-ghost-num {
  color: rgba(255, 210, 170, 0.14);
}

.proj-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 225, 205, 0.45);
  transition: color 0.4s ease;
}

.proj-row:hover .proj-tag {
  color: rgba(255, 210, 170, 0.75);
}

.proj-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 400;
  color: rgba(255, 240, 230, 0.55);
  line-height: 1.15;
  transition: color 0.4s ease;
}

.proj-row:hover .proj-title {
  background: linear-gradient(135deg, #ffd9a0 0%, #f4b16e 50%, #e8915a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proj-link {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 235, 220, 0.4);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 235, 220, 0.15);
  padding-bottom: 0.2rem;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.proj-row:hover .proj-link {
  color: #ffe9d0;
  border-color: rgba(255, 210, 170, 0.5);
}

.proj-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.proj-row:hover .proj-link span {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .proj-row {
    padding: 2.5rem 0;
  }

  .proj-ghost-num {
    display: none;
  }
}