/* about_site.css
   =========================
   About page: cleaner hierarchy
   - fewer visible boxes
   - details/summary folds for dense info
   ========================= */

.about-site .lead {
  max-width: 70ch;
}

/* Small “pill” facts row */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 1.5rem;
}

.about-pill {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: .75rem .85rem;
  display: flex;
  gap: .6rem;
  align-items: baseline;
}

.about-pill .k {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-pill .v {
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.3;
}

/* One main container (instead of many cards) */
.about-panel {
  margin-top: .75rem;
  padding: 1.1rem 1.1rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border: 1px solid var(--hair);
}

.about-panel .muted {
  color: var(--muted);
  max-width: 75ch;
  margin-top: .35rem;
}

/* Folds */
.about-folds {
  margin-top: 1rem;
  display: grid;
  gap: .65rem;
}

.fold {
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  overflow: hidden;
}

.fold__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem .95rem;
  user-select: none;
}

/* Remove default marker (we’ll rely on layout + hover) */
.fold__summary::-webkit-details-marker { display: none; }

.fold__title {
  color: var(--ink);
  font-weight: 650;
}

.fold__hint {
  color: var(--muted);
  font-size: .92rem;
  white-space: nowrap;
}

/* Body */
.fold__body {
  padding: .1rem .95rem .95rem;
}

/* Lists: keep readable but compact */
.about-site .list {
  color: var(--ink);
}

.about-site .list li {
  margin: .35rem 0;
}

/* Inline code */
.about-site code {
  font-size: .9em;
  padding: .05em .32em;
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--hair);
}

/* Sub-lists */
.about-site .list .list {
  margin-top: .35rem;
}

/* Mobile */
@media (max-width: 720px) {
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .fold__hint {
    display: none;
  }
}
