/* Block 08a · Satz (V8-BLOCKS-R1 §1.1). Concept: the pull quote of a newspaper interview, hung right of the margin
   with the speaker's name standing in the margin on its first line. Paper, type only; no photo, box or rule. */
.sz { background: var(--paper); }
.sz-fig { margin: 0; align-items: baseline; }
.sz-q { grid-column: 4 / 13; grid-row: 1; min-width: 0; margin: 0; }
.sz-qp {
  font-weight: var(--fw-display); color: var(--ink);
  text-indent: -.405em;          /* the opening „ hangs into the gutter so the words share one left edge */
  text-wrap: balance; overflow-wrap: break-word;
}
.sz-qp .w { text-indent: 0; }   /* words inherit the hang otherwise: each would shift left and the split would rewrap */
.sz-who { grid-column: 1 / 4; grid-row: 1; min-width: 0; font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-statement); color: var(--ink); }
.sz-tr { grid-column: 4 / 13; grid-row: 2; min-width: 0; max-width: 40em; margin-top: 32px; color: var(--ink-75); }

/* The words' 24 px start offset is applied only once the split has been measured (JS sets .is-armed after
   words.split resolves): the shared split compares line boxes right after wrapping, and a translated start state
   would read as moved lines and undo the split (words.js measures client rects, which include transforms). */
html.motion:not(.rm) .sz .words.is-split .w { transform: none; }
html.motion:not(.rm) .sz.is-armed .words.is-split .w { transform: translate3d(0, var(--words-y), 0); }
html.motion:not(.rm) .sz.is-armed .words.is-split.is-in .w { transform: none; }

/* purpose: the name answers the sentence once its last word has landed (ladder start state; JS arms it after the split) */
html.motion:not(.rm) .sz.is-armed .sz-who { opacity: 0; transform: translate3d(0, var(--enter-y1), 0); }
html.motion:not(.rm) .sz.is-armed .sz-q.is-in ~ .sz-who {
  opacity: 1; transform: none;
  transition: transform var(--dur-enter) var(--spring-enter) calc(var(--sz-n, 1) * var(--words-stagger) + .2s),
              opacity var(--dur-enter) var(--ease-ui) calc(var(--sz-n, 1) * var(--words-stagger) + .2s);
}

/* T: cols 1–3 are too narrow beside the hung „, so the name moves under the quote in its column */
@media (max-width: 1199.98px) {
  .sz-fig { align-items: start; }
  .sz-who { grid-column: 4 / 13; grid-row: 3; margin-top: 24px; }
}
/* P: the quote at 28 px across the column, the name under it */
@media (max-width: 809.98px) {
  .sz-fig { align-items: start; }
  .sz-q { grid-column: 1 / -1; }
  .sz-qp { font-size: var(--fs-statement); }
  .sz-tr { grid-column: 1 / -1; margin-top: 24px; }
  .sz-who { grid-column: 1 / -1; grid-row: 3; margin-top: 24px; }
}
