:root {
  --bg: #000000;
  --fg: #ededed;
  --muted: #8a8a8a;
  --accent: #d99a4e;
  --divider: #1f1f1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "VT323", "Courier New", monospace;
  font-size: 22px;
  line-height: 1.6;
}

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

h1 {
  font-family: "VT323", "Courier New", monospace;
  font-weight: 400;
  font-size: 56px;
  margin: 0 0 2rem;
}

.name {
  cursor: pointer;
  display: inline-block;
  user-select: none;
}

.name-suffix {
  display: inline-block;
}

.bio {
  margin: 0 0 3rem;
  color: var(--fg);
}

section {
  margin-bottom: 4rem;
}

.label {
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.entries {
  list-style: none;
  margin: 0 0 4rem;
  padding: 0;
}

.entry {
  margin-bottom: 0.9rem;
}

.entry-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.entry[data-expandable="false"] .entry-row {
  cursor: default;
}

.chevron {
  display: inline-block;
  color: var(--muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.entry.expanded .chevron {
  color: var(--accent);
  transform: rotate(90deg);
}

.entry-detail {
  display: none;
  margin: 0.4rem 0 0 1.4rem;
  color: var(--muted);
}

.entry.expanded .entry-detail {
  display: block;
}

.tip {
  position: relative;
  border-bottom: 1px dotted var(--muted);
  cursor: help;
}

.tip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  z-index: 20;
  max-width: 220px;
  padding: 0.35rem 0.6rem;
  background: #1a1a1a;
  border: 1px solid var(--divider);
  color: var(--fg);
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: normal;
}

.tip:hover .tip-box,
.tip.tip-open .tip-box {
  display: block;
}

.project-list {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--divider);
  color: var(--fg);
  text-decoration: none;
}

.project-row:last-child {
  border-bottom: none;
}

.project-name {
  font-size: 1.1rem;
}

.project-year {
  color: var(--accent);
  font-size: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .container {
    padding: 4rem 1.25rem 3rem;
  }

  h1 {
    font-size: 30px;
  }
}
