:root {
  --bg:      #0d0d0d;
  --surface: #161616;
  --border:  rgba(255,255,255,0.07);
  --text:    #e8e6e1;
  --muted:   #5a5855;
  --accent:  #c8f564;
  --font:    'Satoshi', sans-serif;
  --mono:    'JetBrains Mono', monospace;
}
[data-theme="light"] {
  --bg:      #f5f4f0;
  --surface: #efefeb;
  --border:  rgba(0,0,0,0.08);
  --text:    #1a1916;
  --muted:   #888580;
  --accent:  #4a7c00;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 8vw, 5rem);
  max-width: 560px;
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* theme btn */
.theme-btn {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  color: var(--muted);
  transition: color 160ms ease;
}
.theme-btn:hover { color: var(--text); }

/* name */
.name {
  font-family: var(--mono);
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.name span { color: var(--accent); }

/* bio */
.bio {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 38ch;
  margin-bottom: 2rem;
}
.bio b { color: var(--text); font-weight: 500; }

/* links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.link {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 160ms ease, border-color 160ms ease;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

/* projects */
.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.projects { display: flex; flex-direction: column; gap: 0; }
.proj {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
  transition: opacity 160ms ease;
}
.projects .proj:last-child { border-bottom: 1px solid var(--border); }
.proj:hover { opacity: 0.6; }
.proj-name { font-size: 0.875rem; font-weight: 500; }
.proj-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* footer */
.footer {
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}