@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
  --bg: #FAFAF9;
  --text: #1A1A1A;
  --muted: #6B7280;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --border: #E5E7EB;
  --max-w: 640px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  padding: 0 1.5rem;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.hero .title {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.hero .location {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero .location svg {
  vertical-align: -2px;
  margin-right: 4px;
}

.links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.links a svg {
  flex-shrink: 0;
}

section {
  margin-bottom: 2rem;
}

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

.about p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill {
  background: #EFF6FF;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.exp-item {}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.2rem;
}

.exp-company {
  font-weight: 600;
  font-size: 0.95rem;
}

.exp-period {
  font-size: 0.82rem;
  color: var(--muted);
}

.exp-role {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.exp-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.project-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.project-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
}

.project-name:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.project-lang {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .exp-header {
    flex-direction: column;
  }
}
