/* Shares base.css tokens so the page follows the site chrome and dark mode.
   Headings use the site display face (Fraunces); base.css already sets it on
   h1/h2, and the project-name rules below opt in explicitly. */

.page-lede {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
  max-width: 34rem;
}

.project-group {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

.project-group h2 {
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}

.project-group__note {
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}

.project-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.project {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
}

.project__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.project__name a {
  text-decoration-thickness: 0.08em;
}

.project__description {
  margin: 0.4rem 0 0;
  max-width: 38rem;
}

.project__meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0.4rem 0 0;
  /* Long repo paths must not push the page sideways on a phone. */
  overflow-wrap: anywhere;
}

.project__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  margin: 0.75rem 0 0;
}
