section.card {
  width: 100%;
  height: 100vh;
}

.card.scroll {
  position: relative;
}

.project {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 85%;
  height: 75%;
  display: flex;
}

.project-copy {
  position: relative;
  flex: 1.75;
  border-radius: 16px;
  padding: 3rem;
  background: var(--color-bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.project-img {
  flex: 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project:hover .project-img img {
  transform: scale(1.02);
}

.project-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-number {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.project-header h3 {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.project-description {
  flex: 1;
  padding: 1.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: auto;
}

.feature-tag {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
}

/* Legacy support - keep old classes for backwards compatibility */
.project-cta {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1em;
  text-transform: uppercase;
}

.project-cta-row {
  width: 100%;
  display: flex;
  gap: 1em;
}

.cta {
  flex: 1;
  padding: 0.5em 1em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.125);
}

.cta span {
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .project {
    flex-direction: column;
    gap: 1rem;
    height: auto;
    padding: 1rem 0;
  }

  .project-copy {
    padding: 2rem;
    flex: none;
  }

  .project-img {
    flex: none;
    height: 300px;
  }

  .project-header h3 {
    font-size: 1.5rem;
  }

  .project-number {
    font-size: 0.75rem;
  }

  .project-description {
    font-size: 0.875rem;
    padding: 1rem 0;
  }

  .feature-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}