/* Minimalist Editorial Design System (Jane Manchun Wong Style) */
:root {
  --bg-color: #141416;
  --bg-nav: rgba(30, 30, 34, 0.85);
  --text-main: #f0f0f2;
  --text-muted: #9a9ab0;
  --text-dim: #5c5c6e;
  --border-color: #26262b;
  --link-color: #3b82f6;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Nav Pill Header */
.nav-container {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 24px;
  z-index: 100;
  padding: 16px 0 32px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 8px 24px;
  background: var(--bg-nav);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

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

/* Hero Section */
.hero-section {
  padding-top: 32px;
  margin-bottom: 56px;
}

.name-heading {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
}

.japanese-subtitle {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 28px;
}

.quote-box {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--border-color);
}

.role-line {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.role-line strong {
  color: var(--text-main);
}

/* Social Icon Row */
.social-row {
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-row a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-row a:hover {
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Sections & Artifacts */
.section {
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.artifacts-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.artifact-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.artifact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.artifact-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.artifact-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.artifact-title:hover {
  color: var(--link-color);
}

.artifact-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.artifact-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.artifact-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Technical Competency Box */
.competency-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-line {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comp-label {
  color: var(--text-dim);
  display: inline-block;
  min-width: 140px;
  font-weight: 500;
}

.comp-line strong {
  color: var(--text-main);
}

/* Footer */
.footer {
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .name-heading {
    font-size: 2.2rem;
  }
  .artifact-header {
    flex-direction: column;
    gap: 2px;
  }
  .comp-label {
    min-width: auto;
    display: block;
    margin-bottom: 2px;
  }
}
