:root {
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #5a6378;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #2563eb;
  --accent-light: rgba(37, 99, 235, 0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 10px;
}

.brand { font-weight: 700; letter-spacing: 0.2px; }

.links a {
  margin-left: 16px;
  color: var(--muted);
}
.links a:hover { color: var(--text); }

.hero {
  padding: 48px 0 32px;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid var(--border);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 6px;
  font-weight: 700;
}

.hero .location {
  color: var(--accent);
  font-size: 14px;
  margin: 0 0 14px;
  font-weight: 500;
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 55ch;
  font-size: 17px;
}

.cta { display: flex; gap: 10px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.button:hover { background: #1d4ed8; text-decoration: none; }

.button.secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.button.secondary:hover {
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.card > p { margin: 0; color: var(--text); }

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.skill {
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* Projects */
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.project-item:first-child { padding-top: 0; }
.project-item:last-child { border-bottom: none; padding-bottom: 0; }

.project-item strong { font-size: 16px; }

.project-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .links a:first-child { margin-left: 0; }
}
