/* The four figures (.rq-figs): Synthflow's own four figures in one row on the page, a column each under its own
   hairline: the figure in Figure L, what it counts in Card title right under it, the page's one sentence in Body. No
   card: the figures are the picture. Two a row below 1200 px; on a phone a row each, the figure and what it counts
   on one line and the sentence under them. */
.rq-figs { --rq-across: 4; container-type: inline-size; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); margin: 0; }
.rq-fig { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
/* A figure fits its cell: Figure L's own size (72 px, 48 px on a phone), or the size at which the row's widest
   figure (--rq-ems, its width in em, which the row's class says: .rq-figs--e55 is 5.5 em) fills a cell */
.rq-fig-value { --rq-fit: calc((100cqi - (var(--rq-across) - 1) * var(--space-5)) / var(--rq-across) / var(--rq-ems, 4));
  order: -1; margin: 0; color: var(--ink-primary); white-space: nowrap; font-size: min(72px, var(--rq-fit)); }
.rq-fig dt { margin-top: var(--space-1); color: var(--ink-primary); font: var(--t-card-title); letter-spacing: var(--t-card-title-tracking); }
.rq-fig-line { margin: var(--space-3) 0 0; max-width: 17em; color: var(--ink-secondary); font: var(--t-body); text-wrap: pretty; }

@media (max-width: 1199px) {
  .rq-figs { --rq-across: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
  .rq-fig-line { max-width: 24em; }
}
@media (max-width: 599px) {
  .rq-figs { --rq-across: 1; grid-template-columns: minmax(0, 1fr); row-gap: 0; border-bottom: 1px solid var(--border-strong); }
  .rq-fig { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-3); padding-block: var(--space-4); }
  .rq-fig-value { font-size: min(48px, var(--rq-fit)); }
  .rq-figs--long .rq-fig dt { flex-basis: 100%; }    /* a row with a wide figure: what each counts stands under it, in every row alike */
  .rq-fig dt { margin-top: 0; }
  .rq-fig-line { flex-basis: 100%; max-width: none; margin-top: var(--space-1); }
}
/* Beyond the piece (the type's own): the head's line, where a page's figures have one under their title, and the
   section's foot (a line and the way to a story) */
.rq-figures .section-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.rq-figures .section-foot > p { max-width: var(--measure); margin: 0; }
.rq-figs--e20 { --rq-ems: 2; }
.rq-figs--e25 { --rq-ems: 2.5; }
.rq-figs--e30 { --rq-ems: 3; }
.rq-figs--e35 { --rq-ems: 3.5; }
.rq-figs--e40 { --rq-ems: 4; }
.rq-figs--e45 { --rq-ems: 4.5; }
.rq-figs--e50 { --rq-ems: 5; }
.rq-figs--e55 { --rq-ems: 5.5; }
.rq-figs--e60 { --rq-ems: 6; }
.rq-figs--e65 { --rq-ems: 6.5; }
.rq-figs--e70 { --rq-ems: 7; }
.rq-figs--e75 { --rq-ems: 7.5; }
.rq-figs--e80 { --rq-ems: 8; }
.rq-figs--e85 { --rq-ems: 8.5; }
.rq-figs--e90 { --rq-ems: 9; }
.rq-figs--e95 { --rq-ems: 9.5; }
.rq-figs--e100 { --rq-ems: 10; }
.rq-figs--e105 { --rq-ems: 10.5; }
.rq-figs--e110 { --rq-ems: 11; }
.rq-figs--e115 { --rq-ems: 11.5; }
.rq-figs--e120 { --rq-ems: 12; }
.rq-figs--e125 { --rq-ems: 12.5; }
.rq-figs--e130 { --rq-ems: 13; }
.rq-figs--e135 { --rq-ems: 13.5; }
.rq-figs--e140 { --rq-ems: 14; }

/* Three stories on a phone: one line of tiles that moves sideways under the thumb, the next tile's edge in view, in
   place of three tiles one under the other (1,300 px of photographs before any text). Each tile keeps Customer
   tile's own drawing at four fifths of the column. */
@media (max-width: 599px) {
  .rq-stories .customer-tiles--three { display: flex; grid-template-columns: none; gap: var(--space-3); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .rq-stories .customer-tiles--three::-webkit-scrollbar { display: none; }
  .rq-stories .customer-tiles--three > .customer-tile { flex: 0 0 80%; scroll-snap-align: start; }
}