/* sticky-case-park: full-height case panels that all stick at the same line, so each next case slides up over the
   last one and covers it exactly. Each case's top band (--scp-top, the fixed header's height) is transparent: the
   panel face parks right under the header, and while the next case travels up, its own transparent band lets the
   parked case's title row read through until the incoming face is a title-row's height from parking.
   Measured from raredays.com's home work list (.home_work-item: sticky, top 0, 100vh, padding-top 4rem, cream
   inner; list gap 6rem; static under 992px).

   <div class="scp" data-sticky-case-park>
     <article class="scp__case"><div class="scp__panel"> title row, rule, media ... </div></article>
     ...
   </div>                                                                                                         */
.scp {
  --scp-top: 4rem;          /* transparent band above each panel = the fixed header's height (4rem) */
  --scp-height: 100vh;      /* each case's height and the travel of the next one (100vh) */
  --scp-gap: 6rem;          /* space between cases = scroll each parked case holds alone before the next shows (6rem) */
  --scp-panel: #fcfbf4;     /* panel face (cream) */
  display: flex; flex-direction: column; gap: var(--scp-gap); position: relative;
}
.scp__case {
  position: sticky; top: 0; box-sizing: border-box;
  height: var(--scp-height); max-height: var(--scp-height); padding-top: var(--scp-top);
  display: flex; flex-direction: column;
}
.scp__panel { flex: 1; min-height: 0; background: var(--scp-panel); display: flex; flex-direction: column; }

/* Static under the breakpoint (data-scp-min, 992px). part.js toggles .is-static; before it runs (or with no JS)
   the source's own breakpoint applies. */
.scp.is-static .scp__case { position: static; height: auto; max-height: none; padding-top: 0; }
@media (max-width: 991px) {
  .scp:not(.is-armed) .scp__case { position: static; height: auto; max-height: none; padding-top: 0; }
}
