:root {
  --bg:         #0d0d0d;
  --bg-card:    #161616;
  --bg-hover:   #1c1c1c;
  --border:     #2a2a2a;
  --accent:     #00d4ff;
  --purple:     #7c3aed;
  --text:       #e5e5e5;
  --muted:      #888;
  --dim:        #555;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* subtle glow */
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, rgba(0, 212, 255, 0.06), transparent 70%),
    radial-gradient(50rem 35rem at 100% 110%, rgba(124, 58, 237, 0.06), transparent 70%);
}

.wrap { width: 100%; max-width: 760px; padding: 56px 24px; }

/* ── Intro ── */
.intro h1 {
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
}
.intro h1 span { color: var(--accent); }
.bio {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}
.bio strong { color: var(--text); font-weight: 600; }

/* ── Projects ── */
.projects { margin-top: 48px; }
.projects h2 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dim);
  margin-bottom: 16px;
}
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.card:hover { border-color: #3a3a3a; background: var(--bg-hover); transform: translateY(-2px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-name { font-size: 17px; font-weight: 600; }
.card-tag {
  flex-shrink: 0; white-space: nowrap;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
  padding: 3px 8px; border-radius: 20px;
}
.card-tag.fd { background: rgba(0, 212, 255, 0.14); color: var(--accent); }
.card-tag.cp { background: rgba(124, 58, 237, 0.16); color: #a87bff; }
.card p { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.card-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--accent); }

/* ── Links footer ── */
.links {
  margin-top: 48px;
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.links a:hover { color: var(--accent); }
