/* ===========================================================================
   CE-35 · Wyniki realizacji (case results)
   Root:     section.ce-case-results (in .lf-wrap)
   Parts:    __in (H2 left, results right), __title (H2), __list (ul),
             __item (one result), __label (what was measured, over a
             hairline), __value (the figure, very large)
   Variants: none; any number of results (the design: three).
   Mechanics: site.js – the H2 comes in letter by letter
             (data-reveal-text="chars"), each label with data-appear.
             The figures (27.09, data-reel – the kit's rolling digits,
             site.js §10 / site.css; before, from the evening of 26.09, a
             count-up from 0 in 1.4 s by ce/CE-35-case-results.js, now
             gone): each digit is a combination-lock wheel that rolls
             down onto its digit – 760 ms a wheel, 50 ms between wheels,
             ~0.86 s a figure, 80 ms between figures coming in together;
             %, × and + stand; the screen reader gets the value. Digits
             tabular (the kit), so nothing jumps. Reduced motion: the
             values at once.
   Layout:   Figma web-design-2026, node 4065:7349 (1512 px frame): H2
             „Efekt” 46 px Expanded Regular, line 56, −2.76 px; results 556 of
             1366 px at the right edge, 40 px apart; label 16 px #778181
             (cap-trimmed), 10 px to a 1 px #E9E9E9 line; figure 100 px, line
             109, −6 px, #1D1D1E, its line box 37 px under the label top.
             Type 1:1 at 1512 px, proportionally less below with floors;
             ≤ 900 px the results go under the H2.
   Base:     realizacje/drutplast/#efekt · registry: CE-35
   =========================================================================== */

.ce-case-results {
  margin-top: clamp(72px, 10.053vw, 152px);
  padding-block: 0;
}

.ce-case-results__in {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.ce-case-results__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.042vw, 46px);
  font-weight: 400;
  line-height: 1.2174;                   /* 56 px at 46 px */
  letter-spacing: -.06em;                /* −2.76 px, as in Figma */
  color: var(--ui-ink);
}

.ce-case-results__list {
  flex: 0 0 40.7%;                       /* 556 / 1366 */
  display: grid;
  gap: clamp(28px, 2.646vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ce-case-results__label {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9e9e9;
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.058vw, 16px);
  font-weight: 400;
  line-height: normal;
  color: var(--ui-muted);
  text-box: trim-both cap alphabetic;
}

.ce-case-results__value {
  margin: 15px 0 0;                      /* 37 − 22 under the line */
  font-family: var(--font-heading);
  font-size: clamp(64px, 6.614vw, 100px);
  font-weight: 400;
  line-height: 1.09;                     /* 109 px at 100 px */
  letter-spacing: -.06em;                /* −6 px, as in Figma */
  color: var(--ui-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;    /* steady digits on the wheels (also set by the kit's [data-reel]) */
}

/* 26.11.2026, the 14 case study pages: a figure with a before → after or a word ("3 → 1", "7 tygodni") would run past
   its column at 100 px – the long ones get a smaller size. */
.ce-case-results__value--long { font-size: clamp(40px, 4.233vw, 64px); line-height: 1.2; letter-spacing: -.05em; }

@media (max-width: 900px) {
  .ce-case-results__in { flex-direction: column; gap: 40px; }
  .ce-case-results__list { flex: none; width: 100%; }
}
