/* Final fix wave X2, sections (qa/final-2026-11-22/FIXES.md). Loads after every other
   section file, including zz-fix-* and zz-fold-*, which it overrides here instead of
   editing them. */

/* ================================================================ 1. Chips
   zz-fold-blocks.css keeps pills on one line from 768, so long service names ran past
   their pill and column below 1280 (B3-09, B4-02, B5-06, B7-04, B1-07 at 1024; B4-05 at
   768). Below 1280 a long pill wraps inside itself instead; from 1280 every pill fits. */
@media (min-width: 768px) and (max-width: 1279px) {
	.chipsg__chip { white-space: normal; max-width: 100%; text-wrap: balance; }
}

/* ================================================================ 2. Dark stats band, six figures
   Six figures in six columns wrapped values and labels (B5-05): from 1024 they sit 3 x 2,
   with the divider only between figures in the same row. */
@media (min-width: 1024px) {
	.statband.statband--six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; }
	.statband.statband--six > .statband__fig { padding: 0 32px; }
	.statband.statband--six > .statband__fig:nth-child(3n+1) { padding-left: 0; border-left: 0; }
	html.motion-ok .statband.statband--six:not(.statband--two) > .statband__fig:nth-child(3n+1)::before { content: none; }
}
/* Three columns leave room for larger figures on laptops and up. */
@media (min-width: 1280px) {
	.statband--six .statband__v { font-size: 38px; line-height: 46px; letter-spacing: -1px; }
}

/* ================================================================ 3. Steps row track
   The connector ran from the container's left edge to its right edge, 210 to 300px past the
   last disc. It now runs from the first disc centre (28px) to the last disc centre: each
   item is (100% - gaps) / n wide and its disc centre sits 28px in. The travelling light
   (zz-motion2-blocks.css) already stops at the last disc centre it measures. */
@media (min-width: 1024px) {
	.steps--row::before {
		left: 28px;
		right: calc((100% - (var(--n, 4) - 1) * 40px) / var(--n, 4) - 28px);
	}
}
/* Contact (P5) uses its own three-column steps (column gap 60, disc 56). */
@media (min-width: 768px) {
	.ct-steps::before { left: 28px; right: calc((100% - 120px) / 3 - 28px); }
}

/* ================================================================ 5. Showcase overlay image
   The overlay stretched a 1024 x 688 render across a 1200 x 500 card: upscaled, soft and
   cropped top and bottom (B3-05 server cabinet). From 1024 the image keeps its own ratio at
   the card's full height on the right, so it is shown whole and never upscaled; its left
   edge fades into a card fill sampled from the renders' lavender backdrop, and the Night
   gradient now spans the whole card so the copy keeps the same contrast. */
@media (min-width: 1024px) {
	.showcase--overlay { background: #cec9dd; }
	.showcase--overlay .showcase__visual {
		inset: 0 0 0 auto; width: auto; max-width: 100%; height: 100%; aspect-ratio: 1024 / 688;
	}
	.showcase--overlay .ss-media {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
		mask-image: linear-gradient(90deg, transparent 0, #000 24%);
	}
	.showcase--overlay .showcase__visual::after { content: none; }
	.showcase--overlay::after {
		content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
		background: linear-gradient(90deg, rgba(7, 10, 36, .92) 0%, rgba(7, 10, 36, 0) 66%);
	}
}

/* ================================================================ 6. Facts tables
   Three-column pricing tables (Scope / Market / Sthenos: B4-06, B4-09, B12-08): the Scope
   column was a fixed 200 to 240px, so scope labels wrapped with one word alone. It now
   takes about a third, and names balance their lines. */
@media (min-width: 768px) {
	.ftable__t--3 th:first-child { width: 34%; }
	.ftable__name { text-wrap: balance; }
}
/* Four or more columns (B6-07 comparison) were cramped at tablet width: below 1024 they use
   the phone layout, each row a name plus "Head: value" lines. */
@media (min-width: 768px) and (max-width: 1023px) {
	.ftable__t:not(.ftable__t--3) { table-layout: auto; }
	.ftable__t:not(.ftable__t--3) thead {
		position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
		overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
	}
	.ftable__t:not(.ftable__t--3), .ftable__t:not(.ftable__t--3) tbody { display: block; }
	.ftable__t:not(.ftable__t--3) tr { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
	.ftable__t:not(.ftable__t--3) tbody tr:first-child { border-top: 0; }
	.ftable__t:not(.ftable__t--3) th, .ftable__t:not(.ftable__t--3) td { display: block; width: auto; padding: 0; }
	.ftable__t:not(.ftable__t--3) .ftable__name { font: var(--fw-medium) 17px/24px var(--f-head); }
	.ftable__t:not(.ftable__t--3) .ftable__lbl { display: inline; font-weight: var(--fw-medium); color: var(--c-ink); }
}

/* ================================================================ 7. Icons list, two up
   768 to 1023 runs the rows two up; rows of different heights were centred, so items in
   one row sat at different heights (B4-01). Align them to the top. */
@media (min-width: 768px) and (max-width: 1023px) {
	.icons-list__card > .icons-list__row { align-items: flex-start; }
}

/* ================================================================ 8. Home capabilities
   From 1024 to 1199 the 337px vignette left the text about 150px (P1). In that range the
   vignette is hidden, as at 768, so the copy uses the card width. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.hm-cap__vig { display: none; }
}

/* ================================================================ 9. Groups: plain item
   A group item with no page (B1-01 "All platforms") is a quiet caption, not a look-alike
   of the links above it. */
.group__a.is-plain { font-weight: var(--fw-regular); color: var(--ink-60); }
