/* /feedback/ (Ed's ruling): a stack of notes out of the hatch; lift one to read, cycle through. Real quotes only.
   No JS: the notes are a plain list of papers. With JS (.has-stack): one cell, the top note readable, the rest
   peeking out below it, Prev/Next, arrow keys and swipe. Reads with hatch.css and case.css. */
.lead { margin: 0; max-width: 40em; color: var(--ink); font-size: 16px; line-height: 1.5; }
.stack { display: grid; gap: 24px; }
.note-paper {
  margin: 0; background: var(--paper); color: var(--print); padding: var(--pad);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}
.note-paper blockquote { margin: 0 0 24px; }
.note-paper blockquote p { margin: 0; max-width: 34em; font: 400 19px/1.5 var(--sans); }
@media (min-width: 900px) { .note-paper blockquote p { font-size: 23px; } }
.note-paper figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.note-paper .who { font: 400 34px/1 "Reenie Beanie", cursive; color: var(--graphite); }
.note-paper .when { font: 600 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.has-stack .stack { display: grid; gap: 0; padding-bottom: 24px; }
.has-stack .note-paper { grid-area: 1 / 1; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s; }
/* depth: 0 is the top note; the ones under it peek out at the bottom edge */
.has-stack .note-paper[data-depth="1"] { transform: translateY(12px); }
.has-stack .note-paper[data-depth="2"] { transform: translateY(24px); }
.has-stack .note-paper:not([data-depth="0"]) { pointer-events: none; }
.has-stack .note-paper:not([data-depth="0"]) > * { visibility: hidden; }
.has-stack .note-paper.is-lifting { transform: translateY(-28px); opacity: 0; }
.stack-ctl { display: flex; align-items: center; gap: 16px; }
.stack-ctl .count { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); min-width: 6em; text-align: center; }
@media (prefers-reduced-motion: reduce) { .has-stack .note-paper { transition: none; } }
.stack { max-width: 760px; }
.stack-ctl .btn { background: transparent; color: var(--ink) !important; border: 1px solid rgb(138 143 147 / .4); cursor: pointer; }
.stack-ctl .btn:hover { border-color: var(--ink); }
