:root {
  --bg: #1c1a17;
  --surface: #2b2723;
  --ink: #f2ece4;
  --muted: #a89e92;
  --accent: #ff8a3d;
  --active: #4caf50;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}
.wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.back-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s ease;
}
.back-link:hover { opacity: 0.75; }

.project-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project {
  position: relative;
  display: block;
  padding: 20px 22px 20px 26px;
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
    .project::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--muted);
  opacity: 0.4;
}
.project[data-status="active"]::before { background: var(--active); opacity: 1; }
.project[data-status="paused"]::before { background: var(--accent); opacity: 1; }

a.project:hover,
a.project:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
a.project:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a.project:hover .project-name,
a.project:focus-visible .project-name { color: var(--accent); }

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.project-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.project-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.project[data-status="active"] .project-status { color: var(--active); }
.project[data-status="paused"] .project-status { color: var(--accent); }

.project-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}
.project[data-status="abandoned"] .project-name { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .project, .project-name { transition: none; }
}