/* Private equity (agent A): the reference's private equity page, measured at 1440 and 390 (SSD caps/pe/ref-*.json). The
   hero, its veil and the run card come from enterprise.css (the same component there). Values in px. */
.peri { background: #8D9AE0; }

/* hero card: the group's workspaces (max 470; app density) */
.pe-cols, .pe-rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
.pe-cols { padding: 12px 16px 4px; font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; font-size: 9.5px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: #8c8981; }
.pe-cols span:last-child { justify-self: end; }
.pe-rows { padding: 0 8px 8px; }
.pe-rows li { padding: 8px; border-radius: 6px; font-size: 12px; line-height: 17px; }
.pe-rows li:nth-child(odd) { background: rgba(0, 0, 0, .022); }
.pe-rows li > span { min-width: 0; }
.pe-rows b, .pe-rows small, .pe-rows .m { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pe-rows b { font-weight: 500; color: var(--ink); }
.pe-rows small { font-size: 11px; line-height: 15px; color: #8c8981; }
.pe-rows .m { font-size: 11.5px; color: var(--mut); }
.pe-rows .en-tag { justify-self: end; }

/* What each company gets: pad 144 (390: 96); centred head (eyebrow line box 24, h2 mt20 max 545.1); grid mt64 1fr | 2fr
   gap 12: the peri tile min-h 360 (390: 300) pad 28 r14 (figure 96/96 -0.055em, 390: 48; text mt16 max 237.9 at .75) and
   the photo r14; three figures mt80, gap 40: rule on top, pad 24 0 48, figure 52/57.2 mt24, text mt12 max 242.8 */
.per { padding: 144px 0; }
.per-h .t-eye { line-height: 24px; }
.per-h .t-h2 { margin: 20px auto 0; max-width: 545.1px; }
.per-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; margin-top: 64px; }
.per-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 28px; border-radius: 14px; background: #8D9AE0; }
.per-n { font-size: 96px; line-height: 96px; letter-spacing: -0.055em; color: #1C1A18; }
.per-p { margin-top: 16px; max-width: 237.9px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: rgba(28, 26, 24, .75); }
.per-ph { position: relative; min-height: 360px; border-radius: 14px; overflow: hidden; background: var(--back); --d: .1s; }
.per-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; margin-top: 80px; }
.per-s.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) { .per-s.two { grid-template-columns: minmax(0, 1fr); } }
.per-si { padding: 24px 0 48px; border-top: 1px solid var(--line); }
.per-si .t-eye { line-height: 24px; }
.per-b { margin-top: 24px; font-size: 52px; line-height: 57.2px; letter-spacing: -0.032em; color: var(--ink); white-space: nowrap; }
.per-sp { margin-top: 12px; max-width: 242.8px; font-size: 14px; line-height: 19.6px; color: var(--muted); text-wrap: pretty; }

/* Who it is for, on the stone grid: pad 160 (390: 112); centred; h2 mt24 max 594.65, its first sentence at black .45;
   text mt32 max 614.5 ink-2 */
.pew, .pes { background-color: #CDCAC3; background-image: linear-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .28) 1px, transparent 1px); background-position: -1px -1px; background-size: 56px 56px; }
.pew-in { display: flex; flex-direction: column; align-items: center; padding-top: 160px; padding-bottom: 160px; text-align: center; }
.pew .t-eye { color: var(--ink-2); }
.pew .t-h2 { margin-top: 24px; max-width: 594.65px; }
.pew .t-h2 span { color: rgba(0, 0, 0, .45); }
.pew-p { margin-top: 32px; max-width: 614.5px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: var(--ink-2); text-wrap: pretty; }

/* What the colleagues take on: pad 128 (390: 96); eyebrow line box 24; h2 mt20 max 545.1; two sand cards mt56 gap 12,
   r14 pad 36 (390: 24): title 22/26.4 (390: 18/21.6), list mt32 with rules at black .1, rows pad 20 0: name 16/22.4,
   text mt6 14/19.6 muted max 52ch */
.pet { padding: 128px 0; }
.pet > .c > .t-eye, .pes .t-eye { line-height: 24px; }
.pet .t-h2, .pes .t-h2 { margin-top: 20px; max-width: 545.1px; }
.pet-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.pet-c { padding: 36px; border-radius: 14px; background: var(--sand); }
.pet-c h3 { font-weight: 450; font-size: 22px; line-height: 26.4px; letter-spacing: -0.022em; }
.pet-c ul { margin-top: 32px; border-top: 1px solid rgba(0, 0, 0, .1); }
.pet-c li { padding: 20px 0; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.pet-t { font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: var(--ink); }
.pet-p { margin-top: 6px; max-width: 437px; font-size: 14px; line-height: 19.6px; color: var(--muted); text-wrap: pretty; }

/* How a pilot starts, on the stone grid: pad 128 (390: 96); three tiles mt56 gap 12, #D8D5CE r14 pad 24 24 32: number 14,
   then mt80 title 22/26.4 and text mt12 14/19.6 ink-2 */
.pes { padding: 128px 0; }
.pes .t-eye { color: var(--ink-2); }
.pes-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.pes-g li { padding: 24px 24px 32px; border-radius: 14px; background: #D8D5CE; }
.pes-n { font-size: 14px; line-height: 19.6px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pes-g div { margin-top: 80px; }
.pes-g h3 { font-weight: 450; font-size: 22px; line-height: 26.4px; letter-spacing: -0.022em; }
.pes-g div p { margin-top: 12px; font-size: 14px; line-height: 19.6px; color: var(--ink-2); text-wrap: pretty; }

/* For the people who run the companies: pad 128; eyebrow mb40; the home's sand .blk card; the picture 748.3 x 592.4 on a
   dark field with the app's window (1240 x 630, light theme) scaled as one picture; phones show a run card instead */
.peo { padding: 128px 0; }
.peo-k { margin-bottom: 40px; line-height: 21.6px; }
.peo .blk-t .t-lede { max-width: 396.4px; }
.peo-v { min-height: 592.4px; }
.peo-win { position: relative; z-index: 3; width: calc(100% - 80px); aspect-ratio: 820 / 540; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -30px rgba(0, 0, 0, .55); }
.peo-ui { position: absolute; left: 0; top: 0; width: 820px; height: 540px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.peo-ui > .mk { width: 820px; height: 540px; border-radius: 0; box-shadow: none; }
.peo-ui .mk-hero .mk-body { height: 590px; }
.peo-ui .mk-col { gap: 12px; padding-top: 16px; }
.peo-ui .mk-fold { display: none; }
.peo-sm { display: none; position: relative; z-index: 3; }

/* Further reading: pad 128; head with the act at the right; grid mt56, 2fr 1fr 1fr gap 56 24; photos 16:9.5 and 16:11
   r10 with grain; category mt20; title 22/26.4 mt10; text 14/19.6 mt8 (3 and 2 lines); act mt20 */
.pej { padding: 128px 0; }
.pej-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pej-h .t-eye { line-height: 24px; }
.pej-h .t-h2 { margin-top: 20px; }
.pej-h .act { flex: none; color: var(--ink); }
.pej-g { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px 24px; margin-top: 56px; align-items: start; }
.pej-c { display: flex; flex-direction: column; align-items: flex-start; }
.pej-ph { position: relative; display: block; width: 100%; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; background: var(--back); }
.pej-c.big .pej-ph { aspect-ratio: 16 / 9.5; }
.pej-ph .ph img { transition: transform .7s var(--out); }
.pej-c:hover .pej-ph .ph img { transform: scale(1.025); }
.pej-c .t-eye { margin-top: 20px; line-height: 21px; color: var(--ink-2); }
.pej-c h3 { margin-top: 10px; font-weight: 450; font-size: 22px; line-height: 26.4px; letter-spacing: -0.022em; transition: color .2s ease; }
.pej-c:hover h3 { color: var(--ink-2); }
.pej-c > p { margin-top: 8px; max-width: 56ch; font-size: 14px; line-height: 19.6px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pej-c.big > p { -webkit-line-clamp: 3; }
.pej-c > .act { margin-top: 20px; }

/* The closing band: peri, pad 144 (390: 112), centred; h2 max 446; text mt20 max 515.4 at .75; one ink pill */
.pec { background: #8D9AE0; }
.pec-in { display: flex; flex-direction: column; align-items: center; padding-top: 144px; padding-bottom: 144px; text-align: center; }
.pec .t-h2 { max-width: 446px; color: #1C1A18; }
.pec-p { margin-top: 20px; max-width: 515.4px; font-size: 16px; line-height: 22.4px; letter-spacing: -0.006em; color: rgba(28, 26, 24, .75); text-wrap: pretty; }
.pec .pill { margin-top: 35.2px; }

@media (max-width: 1023px) { .per-s { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pej-g { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .per { padding: 96px 0; }
  .per-g { grid-template-columns: minmax(0, 1fr); }
  .per-tile, .per-ph { min-height: 300px; }
  .per-n { font-size: 48px; line-height: 48px; }
  .per-b { font-size: 32px; line-height: 35.2px; }
  .pew-in { padding-top: 112px; padding-bottom: 112px; }
  .pet, .pes, .peo, .pej { padding: 96px 0; }
  .pet-g, .pes-g { grid-template-columns: minmax(0, 1fr); }
  .pet-c { padding: 24px; }
  .pet-c h3, .pes-g h3 { font-size: 18px; line-height: 21.6px; }
  .peo-v { min-height: 584.9px; }
  .enh-v.pe-hv { aspect-ratio: auto; min-height: 356px; } /* with a ratio, the minimum height would set a width wider than the phone */
  .peo-win { display: none; }
  .peo-sm { display: block; }
  .pej-h { flex-direction: column; align-items: flex-start; }
  .pec-in { padding-top: 112px; padding-bottom: 112px; }
}
@media (max-width: 639px) { .per-s { grid-template-columns: minmax(0, 1fr); } }
/* The tile's figure scales with the tile and never wraps, so a longer amount ("2,5 mil. €" in Czech) stays on one line
   from 901 px up; at 1440 the English figure keeps the reference's 96 px. */
.per-n { white-space: nowrap; }
@media (min-width: 901px) {
  .per-tile { container-type: inline-size; }
  .per-n { font-size: min(96px, 34cqi); line-height: 1; }
  :lang(cs) .per-n { font-size: min(96px, 25cqi); }
}
