/* Personal homepage — clean, readable, mobile-friendly */
:root {
  --text: #1a1a1a;
  --text-muted: #555;
  --accent: #1967d2;
  --border: #e0e0e0;
  --bg: #fff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0 1rem 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.contact-hero {
  font-size: 0.9rem;
}

.contact-hero a {
  color: var(--accent);
  text-decoration: none;
}

.contact-hero a:hover {
  text-decoration: underline;
}

.lang-toggle {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.lang-toggle button {
  background: none;
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  margin-right: 0.25rem;
  cursor: pointer;
  font-size: inherit;
  color: var(--text-muted);
  border-radius: 3px;
}

.lang-toggle button:hover,
.lang-toggle button.active {
  color: var(--accent);
  border-color: var(--accent);
}

section {
  padding: 1.25rem 0 0;
}

section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}

.job-title,
.edu-school {
  font-weight: 600;
  margin: 0.25rem 0 0;
}

.job-role,
.edu-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

ul {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.25rem;
}

li {
  margin: 0.2rem 0;
}

.projects-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.project-card {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafafa;
}

.project-card h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.project-card a {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

.skills-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 1rem;
}

footer a:hover {
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  body {
    padding: 0 0.75rem 1.5rem;
  }
  header {
    padding: 1.5rem 0 1rem;
  }
  h1 {
    font-size: 1.5rem;
  }
}
