/* =====================
   Design System
===================== */
:root {
  --bg-main: #fafafa;
  --bg-card: #ffffff;
  --text-main: #1f2933;
  --text-sub: #6b7280;
  --border-light: #e5e7eb;
  --accent: #111827;
}

/* =====================
   Base
===================== */

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* =====================
   Header
===================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand a {
  font-size: 18px;
  font-weight: 600;
}

.nav {
  display: flex;
}

.nav-link {
  margin-left: 24px;
  font-size: 14px;
  color: var(--text-sub);
  padding-bottom: 4px;
}

.nav-link.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.lang-switch {
  margin-left: 24px;
  font-size: 13px;
}

.lang-switch a {
  color: var(--text-sub);
}

.lang-switch .active-lang {
  color: var(--accent);
  font-weight: 600;
}

/* =====================
   Hero / Sections
===================== */
.hero {
  margin-bottom: 80px;
}

.role {
  font-size: 36px;
  margin-bottom: 16px;
}

.summary {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 720px;
}

.tags {
  margin-top: 24px;
}

.tags span {
  margin-right: 12px;
  font-size: 13px;
  color: var(--text-sub);
}

/* =====================
   Projects
===================== */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 32px;
}

.project-meta {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-sub);
}

/* =====================
   Footer
===================== */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--text-sub);
}

/* =====================
   Responsive (Mobile)
===================== */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 16px;
    flex-direction: column;
  }

  .nav-link {
    margin: 8px 0;
  }

  .lang-switch {
    margin-top: 16px;
  }

  .role {
    font-size: 28px;
  }

  .container {
    padding: 60px 20px;
  }
}
