:root {
  --bg: #f4f2ee;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6b6b70;
  --accent: #2f6f62;
  --accent-soft: #e3efec;
  --border: #e6e3dd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --card: #1b1c1f;
    --text: #ececee;
    --muted: #9a9aa2;
    --accent: #6cc1ad;
    --accent-soft: #1f2e2b;
    --border: #2a2b2f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 34rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  text-align: center;
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .05em;
}

h1 { margin: 0; font-size: 1.9rem; }

.tagline { margin: .25rem 0 1.5rem; color: var(--muted); }

section { text-align: left; margin-top: 1.75rem; }

h2 {
  margin: 0 0 .5rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
}

section p { margin: 0; }

.projects { list-style: none; margin: 0; padding: 0; }

.projects li {
  display: flex;
  flex-direction: column;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
}

.projects li + li { margin-top: .5rem; }

.projects span { color: var(--muted); font-size: .9rem; }

a { color: var(--accent); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

.links a {
  padding: .45rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-soft);
}

footer { color: var(--muted); font-size: .85rem; }
