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

:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e0e0e0;
  --accent: #1a1a1a;
  --card-bg: #ffffff;
  --input-bg: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  max-width: 580px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

/* Avatar */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--border);
  margin: 0 auto 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* Header */
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bio {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 48px;
}

/* Sections */
section {
  margin-bottom: 48px;
}

h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Projects */
.projects {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
}

.project:first-child {
  border-top: 1px solid var(--border);
}

.project:hover {
  opacity: 0.6;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.project-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.project-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.arrow {
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.2s;
}

.project:hover .arrow {
  transform: translateX(3px);
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--input-bg);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--accent);
}

input::placeholder, textarea::placeholder {
  color: #aaa;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  align-self: center;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.8;
}

.form-status {
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.4em;
}

/* Footer */
footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 480px) {
  main {
    padding: 48px 20px 40px;
  }
}
