:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #1e3a5f;
  --accent-soft: #e7eef7;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; }
.brand { font-weight: 700; color: var(--text); }
.nav-toggle { display: none; }
.nav-links { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: var(--muted); padding: 0.4rem 0.65rem; border-radius: 8px; }
.nav-links a.active, .nav-links a:hover { color: var(--accent); background: var(--accent-soft); text-decoration: none; }
main { padding: 3rem 0; }
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-2px); transition: transform 180ms ease; }
.section-title { font-size: 1.55rem; margin: 0 0 0.45rem; }
.section-subtitle { margin: 0 0 1.25rem; color: var(--muted); }
.intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: center; }
.profile-photo { width: 100%; max-width: 320px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.badge-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.8rem; font-size: 0.95rem; }
.btn-row { display: flex; gap: 0.8rem; margin-top: 1.15rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.62rem 1rem; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.secondary { color: var(--accent); background: #fff; }
.tag { display: inline-block; font-size: 0.82rem; color: var(--accent); background: var(--accent-soft); border: 1px solid #c8d8ec; border-radius: 999px; padding: 0.2rem 0.6rem; margin: 0.15rem; }
.meta { color: var(--muted); font-size: 0.95rem; }
footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 4rem; }
.footer-wrap { padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1rem; }
.timeline { border-left: 2px solid var(--border); padding-left: 1rem; display: grid; gap: 1rem; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .intro, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: inline-block; border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 0.4rem 0.6rem; }
  .nav-links { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--border); padding-top: 0.75rem; }
  .nav-links.open { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .grid-3 { grid-template-columns: 1fr; }
}
