:root {
  --bg: #1b201d;
  --surface: #232922;
  --text: #e6e8e4;
  --muted: #8b968c;
  --accent: #7fb59c;
  --border: #333b34;
  --max-width: 640px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* --- Bio --- */
.bio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.bio .avatar {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.bio .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio h1 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.bio p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* --- CSS-only year tabs (radio hack) --- */

h2.section-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.tabs input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab-labels label {
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  user-select: none;
}

.tab-panel {
  display: none;
}

#year-2026:checked ~ .tab-labels label[for="year-2026"],
#year-2025:checked ~ .tab-labels label[for="year-2025"],
#year-2024:checked ~ .tab-labels label[for="year-2024"],
#year-2023:checked ~ .tab-labels label[for="year-2023"] {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

#year-2026:checked ~ .panels > #panel-2026,
#year-2025:checked ~ .panels > #panel-2025,
#year-2024:checked ~ .panels > #panel-2024,
#year-2023:checked ~ .panels > #panel-2023 {
  display: block;
}

/* --- Favorites list --- */

.favorites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.favorites li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.favorites li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.favorites .label {
  color: var(--muted);
}

.favorites .value {
  font-weight: 600;
  text-align: right;
}

footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
