/* Minimal, clean project picker */

:root {
  --bg: #f7f8fb;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --border: #e5e7eb;
  --primary: #2563eb;
  --shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 500 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, 'Noto Sans', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.container { width: min(900px, 92vw); margin: 0 auto; }

.site-header { padding: 56px 0 24px; text-align: center; }
h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.subtitle { margin: 6px 0 0; color: var(--muted); }

main { flex: 1; }
.projects { padding: 8px 0 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* Card */
.card, .card:link, .card:visited, .card:hover, .card:active {
  color: inherit;
  text-decoration: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 10px;
  transition: border-color 150ms ease, transform 150ms ease;
}

.card:hover { transform: translateY(-2px); border-color: #cfd6e3; }
.card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.badge { display: inline-flex; gap: 6px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #93c5fd; box-shadow: inset 0 0 0 2px rgba(37,99,235,0.12); }
.dot:nth-child(2) { background: #a78bfa; }
.dot:nth-child(3) { background: #60a5fa; }

.card-title { margin: 2px 0; font-weight: 700; font-size: 18px; }
.card-desc { margin: 0; color: var(--muted); font-size: 14px; }

.card-cta { margin-top: 4px; color: var(--primary); font-weight: 700; font-size: 14px; }
.card-cta svg { width: 14px; height: 14px; vertical-align: -2px; }

.site-footer { color: var(--muted); padding: 24px 0 56px; font-size: 14px; text-align: center; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--text); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
