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

:root {
  --bg: #0f0f0f;
  --fg: #e8e8e8;
  --muted: #888;
  --card-bg: #1a1a1a;
  --card-hover: #222;
  --border: #2a2a2a;
  --accent: #7c9ef0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 4rem 2rem;
}

main {
  width: 100%;
  max-width: 520px;
}

header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

/* Sections */

.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* List */

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.list li a {
  color: var(--accent);
  text-decoration: none;
}

.list li a:hover {
  text-decoration: underline;
}

.career-role {
  color: var(--fg);
}

.career-period {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Tags */

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  color: #ccc;
}

/* Links */

.link-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.link-card:hover {
  background: var(--card-hover);
  border-color: #3a3a3a;
}

.link-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.link-url {
  color: var(--accent);
  font-size: 0.82rem;
}
