:root {
  --bg: #0e0e10;
  --surface: #18181b;
  --border: #27272a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --accent: #3b82f6;
  --accent-dim: rgba(59, 130, 246, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

/* Header */
header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
}

/* Sections */
section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s;
}

a:hover {
  opacity: 0.8;
}

.highlight {
  font-weight: 500;
}

/* Project Card */
.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s, transform 0.15s;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 100px;
  font-variant-numeric: tabular-nums;
}

.timeline-label {
  font-size: 0.95rem;
}

/* Links */
.link-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.15s;
}

.link-item:hover {
  color: var(--accent);
  opacity: 1;
}

.link-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 3rem 1.25rem 2rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.15rem;
  }

  .timeline-date {
    min-width: unset;
  }
}
