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

:root {
  --bg: #f9f9f7;
  --text: #1a1a1a;
  --muted: #666;
  --accent: #2563eb;
  --border: #e2e2e0;
  --max: 680px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', 'Fira Mono', 'Menlo', monospace;
  font-size: 14px;
  line-height: 1.7;
  padding: 3rem 1.5rem 5rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Header ───────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

header img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

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

header h2 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.2rem;
}

.location {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

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

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

p {
  color: var(--text);
  max-width: 60ch;
}

/* ── Data table ───────────────────────────────────── */
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.3rem 1.5rem;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

dd {
  color: var(--text);
  font-size: 0.82rem;
}

/* ── Links ────────────────────────────────────────── */
.links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.links-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.links-list .link-label {
  color: var(--muted);
  font-size: 0.78rem;
  min-width: 140px;
  flex-shrink: 0;
}

.links-list a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.82rem;
  word-break: break-all;
}

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

/* ── Footer ───────────────────────────────────────── */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  dl { grid-template-columns: 1fr; gap: 0; }
  dt { margin-top: 0.6rem; }
  .links-list li { flex-direction: column; gap: 0.1rem; }
  .links-list .link-label { min-width: unset; }
}
