/* Project directories and philosophy share the featured-project grid spacing. */
.project-grid > .philosophy-preview { grid-column: 1 / -1; }

/* Approved software projects and the Wandu production case. */
.software-project-card { display: flex; align-self: start; }
.software-project-card .project-copy { width: 100%; gap: 0; }
.software-project-card h3 { overflow-wrap: anywhere; }
.software-project-card .project-subtitle {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
.software-project-card .project-copy > p:last-of-type { margin-bottom: 0; }
.software-project-card .project-copy > .button { margin-top: 24px; }
.project-notes { margin: 24px 0 0; border-top: 1px solid var(--line-strong); }
.project-notes summary {
  padding: 18px 2px;
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.project-notes summary::marker { color: var(--accent); }
.project-notes summary:focus-visible,
.project-source-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.project-notes-body { color: var(--muted); font-size: 14px; line-height: 1.85; padding-bottom: 6px; }
.project-notes-body p + p { margin-top: 12px; }
.project-notes-body ul { padding-left: 1.4em; margin: 14px 0; }
.project-notes-body li + li { margin-top: 8px; }
.project-source-link { display: inline-block; color: var(--accent); margin-top: 14px; text-underline-offset: 4px; }
.project-source-link:hover { text-decoration: underline; }
.music-production {
  margin-top: 22px;
  padding: clamp(22px, 3.5vw, 42px);
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.music-production > * { min-width: 0; }
.music-production h3 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.music-production p { color: var(--muted); margin: 0 0 18px; }
.music-production .project-tag { color: var(--accent); }
.production-facts { margin: 0; display: grid; gap: 16px; }
.production-facts > div { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.production-facts dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.production-facts dd { margin: 0; color: var(--text); font-size: 16px; }
.work-audio-label { display: block; margin: 24px 0 10px; font-size: 14px; font-weight: 600; }
.work-audio { width: 100%; display: block; color-scheme: dark; }
.music-production .audio-help { font-size: 13px; margin-top: 10px; }
.music-production .audio-help a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.production-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.production-links .button { text-align: center; }
@media (max-width: 700px) {
  .music-production { grid-template-columns: minmax(0, 1fr); border-radius: 24px; padding: 22px; }
  .software-project-card .project-copy > .button { margin-top: 20px; }
  .production-links { flex-direction: column; }
  .production-links .button { width: 100%; }
}
