/* ==========================================================================
   Blok „Tekst obok tytułu” (.stx): układ 5/7 z klocka .split; etykiety z .chips; półka
   z książkami – okładki to białe karty z granatowym grzbietem, stojące na linii półki.
   ========================================================================== */

.stx .split__intro .eyebrow.eyebrow { margin-bottom: 1.1rem; }
.stx .split__intro h2 { margin: 0; }
.stx__p { margin: 0 0 1rem; font-size: 1.0625rem; max-width: 60ch; color: var(--text); }
.stx__p:first-child { font-size: clamp(1.1875rem, 1rem + .6vw, 1.375rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--navy-900); max-width: 44ch; }
.stx__group { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.stx__cap {
  margin: 0 0 .9rem; font-family: var(--font-ui); font-weight: 500; font-size: .75rem; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.stx__chips { margin: 0; }
.stx__chips li { font-size: .875rem; padding: .5rem .8rem; border-radius: var(--radius-pill); }
.stx__chips .icon { width: .95em; height: .95em; stroke-width: 2.25; }

.stx__books { display: flex; align-items: flex-end; gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); }
.stx__note { flex: 1 1 14rem; margin: 0 0 .5rem; max-width: 32ch; font-weight: 300; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.4; color: var(--navy-900); }
.stx__shelf {
  flex: none; list-style: none; display: flex; align-items: flex-end; gap: 1.25rem; margin: 0; padding: 0 .5rem; min-height: 11.5rem;
  border-bottom: 3px solid var(--navy-100); border-radius: 0 0 2px 2px;
}
.stx__book {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .75rem;
  width: 8.75rem; aspect-ratio: 3 / 4.2; padding: 1rem .9rem .9rem 1.35rem; margin-bottom: -1px;
  border-radius: 3px 8px 8px 3px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transform: rotate(calc((var(--i) - .5) * -2.5deg)); transform-origin: bottom center;
  transition: transform .45s var(--ease);
}
.stx__book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; border-radius: 3px 0 0 3px; background: var(--navy-900); }
.stx__book::after { content: ""; position: absolute; left: 1.35rem; right: .9rem; bottom: 2.6rem; height: 1px; background: var(--line); }
.stx__book:hover { transform: translateY(-6px) rotate(0deg); }
.stx__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.01em; color: var(--navy-900); }
.stx__author { font-family: var(--font-ui); font-size: .75rem; color: var(--muted); }

@media (max-width: 560px) {
  .stx__books { flex-direction: column; align-items: stretch; }
  .stx__note { margin: 0; }
  .stx__shelf { gap: .9rem; min-height: 10rem; }
  .stx__book { width: 7.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .stx__book { transition: none; }
}
