main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 5rem;
}

/* --- Writing --- */

.post-group {
  margin-bottom: 2.5rem;
}

.post-list {
  list-style: none;
}

.post-link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.post-fill {
  flex: 1;
  border-bottom: 1px solid var(--border);
  min-width: 1.5rem;
  position: relative;
  top: -0.3em;
}

.post-link:hover {
  color: var(--accent);
}

.post-link:hover .post-title {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.post-link:hover .post-date {
  color: var(--accent);
}

.post-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
}

.post-date {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

/* --- Divider --- */

.divider {
  text-align: center;
  color: var(--border-accent);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  margin: 3rem 0;
  user-select: none;
}

/* --- Projects --- */

.projects {
  margin-top: 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

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

.project-link {
  display: inline;
  text-decoration: none;
  color: var(--text);
  transition: color 0.15s;
}

.project-link:hover {
  color: var(--accent);
}

.project-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.project-name::after {
  content: ' — ';
  color: var(--border-accent);
}

.project-desc {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}


@media (max-width: 600px) {
  main { padding: 1.5rem 1rem 3.5rem; }
}
