:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background-color: #040404;
  color: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2.5rem 1.5rem;
  background: #040404;
  display: flex;
  justify-content: center;
}

main {
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-title {
  margin: 0;
  letter-spacing: 0.45em;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  color: #5effd1;
  font-weight: 400;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.project-list__status {
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  color: #a8a8a8;
  grid-column: 1 / -1;
}

.project-link {
  --card-hue: 180;
  display: flex;
  position: relative;
  align-items: flex-end;
  padding: 1.4rem;
  border: none;
  border-radius: 14px;
  color: hsl(var(--card-hue) 50% 50%);
  text-decoration: none;
  font-size: clamp(1rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.1;
  min-height: 200px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    180deg,
    hsl(var(--card-hue) 95% 20%) 0%,
    hsl(var(--card-hue) 95% 10%) 100%
  );
}

.project-link__title {
  display: inline-block;
}

.project-link__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 80px;
  height: 80px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.9;
}

.project-link:focus,
.project-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
}

.project-link:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}


