/* Inline outcomes stay visible. Opening a disclosure reveals additional material. */
.project-outcome {
  --outcome-rule: var(--accent-ink, #815000);
  margin-block: 1.1rem 1.35rem;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--outcome-rule);
}
.project-lead .project-outcome { --outcome-rule: var(--accent-light, #ffd171); }
.project-outcome strong { display: flex; align-items: center; gap: .45rem; font-size: .95rem; }
.project-outcome svg { color: var(--outcome-rule); flex: none; }
.project-outcome p { margin-block-start: .3rem; max-width: 59ch; font-size: 1rem; line-height: 1.75; }

:is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary {
  display: flex; align-items: center; gap: .8rem;
  color: inherit; width: 100%; min-height: 48px;
  padding-block: .65rem; list-style: none; cursor: pointer;
}
:is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary::-webkit-details-marker { display: none; }
:is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary::marker { content: ''; }
:is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary::after {
  content: ''; box-sizing: border-box; display: block; flex: 0 0 1.9rem; width: 1.9rem; height: 1.9rem; margin-inline-start: auto;
  border-radius: 50%; border: 1px solid #d5cec1;
  background: #f8f6f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23221b12' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.05rem no-repeat;
}
:is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details)[open] > summary::after {
  content: ''; transform: rotate(180deg); border-color: var(--accent, #f5ad28); background-color: var(--accent, #f5ad28);
}
.track > summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto; column-gap: clamp(.7rem, 2vw, 1.3rem); padding-block: 1.1rem; }
.track-glyph { box-sizing: content-box; padding: .6rem; border: 1px solid #dedbd4; border-radius: .75rem; }
.track[open] .track-glyph { background: #fff4dc; border-color: #eccd90; color: var(--accent-ink, #815000); }
.track .rows { margin-inline-start: clamp(.7rem, 5vw, 4.2rem); }
.chapter-year summary small { border-radius: 999px; padding: .1rem .5rem; color: #50452e; background: #f5efe2; }
@media (hover:hover) {
  :is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary:hover::after { background-color: #ffdda0; border-color: #dda33d; }
}
@media (prefers-reduced-motion:no-preference) {
  :is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details) > summary::after { transition: transform .22s ease, background-color .16s ease; }
  :is(.track,.chapter-year,.work-extra-plate,.lettering-archive,.profile-photo-originals,.ex-scene-copy details)[open] > :not(summary) { animation: detail-appear .22s ease-out; }
  @keyframes detail-appear { from { opacity:.2; transform:translateY(-3px); } to { opacity:1; transform:translateY(0); } }
}
