/* Text-only resize to 200% (WCAG 1.4.4, audit item B-10): blocks that still cut text when only the
   text is enlarged (browser "zoom text only", or a minimum font size). Every rule below is neutral
   at the default text size: lengths written in em are measured on the label's own font size, so
   they only take effect once that size grows. Checked on all 278 pages (qa/a11y-2026-11-29/wave5). */

/* ---- 1. Overlay showcase (B2-08, B4-05, B9 case study): the stage had a fixed 1200:500 ratio on a
   clipping box, so copy taller than the stage was cut off at the bottom. The ratio now comes
   from an empty spacer in the same grid cell: the stage keeps its size and grows when the copy
   needs more room. */
@media (min-width: 1024px) {
	.showcase--overlay { aspect-ratio: auto; }
	.showcase--overlay::before { content: ""; grid-area: 1 / 1; padding-bottom: calc(500 / 1200 * 100%); pointer-events: none; }
	.showcase--overlay > .showcase__cap { grid-area: 1 / 1; }
}

/* ---- 2. Article title: one very long word ("Conversational") ran 12px past the page edge at 200%.
   The title is a flex item, so it took the width of its longest word. It now stops at its column
   and a word that cannot fit a line may break; titles that fit are untouched. */
/* :where() keeps the cap at the weight of a bare .h1 rule, so it never replaces a hero's own max-width. */
:where(.sth-wp-post .hero) .h1 { max-width: 100%; }
.sth-wp-post .hero .h1 { overflow-wrap: break-word; }

/* ---- 3. Home process cards 02 and 03: the illustration well took whatever height the copy left
   over and shrank to 36px when the copy grew. It now keeps at least 5.75em: 92px at the default
   text size (the well is 122px or more at every desktop width, so nothing changes there) and
   184px when the text is doubled, and the card grows instead. */
@media (min-width: 1024px) {
	.hm-proc--b :is(.hm-step--2, .hm-step--3) { grid-template-rows: auto minmax(5.75em, 1fr); }
}

/* ---- 4. Labels inside drawings. Each sits at a fixed spot and ran past the drawing's edge once its
   text grew. The spot is unchanged while the label fits; a wider label moves left just far enough
   to stay inside. Label widths in em: "Deployment" 5.76, "Washington, DC" 9.78 (10.3 leaves
   room for a wider fallback font). */
@media (min-width: 1280px) {
	.hm-vlabel--dep { left: min(calc(50% + 69px), calc(100% - 5.9em - 36px)); }
}
/* The long map label shows from 768 to 1023 and from 1280 (the short "DC" label covers the rest). */
@media (min-width: 768px) and (max-width: 1023px), (min-width: 1280px) {
	.sb-geo__lab--dc { left: min(71.5%, calc(100% - 10.3em - 4px)); }
}

/* ---- 5. Long words (B-10 phones and tablets). A word wider than its line ran past the column at
   200%. A word may now break, but only when it cannot fit a line on its own; break-word does not
   change any box's min-content size, so nothing moves at the default text size. */
body { overflow-wrap: break-word; }
/* The off-screen form trap is 1px wide: left as it was, so its label does not break letter by letter. */
.ct-hp, .ct-hp * { overflow-wrap: normal; }
/* Words that already run past their box at the default size keep doing so (no change here). */
.gl-topic__t, .hm-stats, .cards--tiles .cards__t, .cta__sub { overflow-wrap: normal; }
/* CTA line with an email address: at 320 the address is already about 20px wider than the box and
   stays so; it breaks only when the band is narrower than 13em of its own text (15.5em or more at
   the default size, 9.7em at 200% on a phone). The band has no z-index inside it, so the size
   container changes nothing else. */
.cta { container: sth-cta / inline-size; }
@container sth-cta (max-width: 13em) { .cta__sub { overflow-wrap: break-word; } }

/* ---- 6. Buttons: a nowrap label wider than the column ran past it. The label may wrap and the
   button grows to fit it; a label that fits keeps one line and the button keeps its height. */
.btn { white-space: normal; }
/* :where() keeps this below every page rule that already sets its own min-height. */
:where(.btn) { min-height: fit-content; }
.btn__label { min-width: 0; }
/* At the default size some one-line labels already run a few px into the button's side padding
   (home "View capability statement" at 320, PDF buttons at 390 to 412). The label keeps its one
   line until it would reach the button's edge: it does not shrink, and it wraps only once it is
   wider than the content box plus 16px (17.5px per side with the arrow; the smallest side padding
   here is 18px). The phone rule in zz-zm-xs.css (inner pages below 390) already wraps labels and
   keeps its own behaviour, including a label's own minimum width (its longest word), except that
   the same 16px cap also caps that minimum: an email address stays whole while it fits and breaks
   only when it would pass the button's edge (at 200%). */
.btn__label { flex-shrink: 0; max-width: calc(100% + 16px); }
@media (max-width: 389px) {
	:where(body:not(.home):not(.page-template-page-contact) main) .btn__label { flex-shrink: 1; min-width: auto; }
}

/* ---- 7. Footer and contact email address: one unbreakable token, wider than a phone column at 200%. */
.foot__lines a[href^="mailto:"] { white-space: normal; min-width: 0; overflow-wrap: anywhere; }

/* ---- 8. Hero map labels (Maryland, Virginia) sit at a fixed spot, centered on it, and ran past the
   map edge at 200%. Half label widths in em: Maryland 3.09, Virginia 2.45. Maryland: the map is
   228px or wider, so 82% (41px or more from the right edge) always wins over 3.3em (39.6px) at the
   default size; at 200% 3.3em is 79.2px, 5px more than half the label. */
.sb-geo__lab--md { left: min(82%, calc(100% - 3.3em)); }
.sb-geo__lab--va { left: max(15%, calc(2.5em + 4px)); top: min(80%, calc(100% - .75em - 2px)); }
@media (max-width: 411px) {
	.sb-geo__lab--va { top: min(calc(100% - 13px), calc(100% - .75em - 2px)); }
}

/* ---- 9. Shrink-to-fit blocks took the width of their longest word. */
/* CTA copy: on two policy pages an email address is already 250px wide at 320 (wider than the
   box); the 252px floor keeps that as it is, and at 200% the copy stops at the box. */
.cta__copy { max-width: max(100%, 252px); }
/* A flex column that aligns its items to the start sizes each to fit, so a long word set the width. */
:where(.hero__copy, .hero__top, .head) > * { max-width: 100%; }
.head .h2 { max-width: min(860px, 100%); }
.head--center .h2 { max-width: min(900px, 100%); }
.head--center .lead { max-width: min(720px, 100%); }

/* ---- 10. Rows of items that could not shrink below their longest word. They now wrap onto a new
   line instead; a row whose items fit keeps one line. */
.facts, .minifacts { flex-wrap: wrap; }
@media (min-width: 768px) { .related__row, .hm-trust { flex-wrap: wrap; } }
@media (min-width: 1024px) { .icons, .split__row { flex-wrap: wrap; } }
/* Desktop stat band: the figures could shrink to nothing (min-width: 0), so a wide number ran past
   its column; with their natural minimum they wrap instead. */
@media (min-width: 1024px) {
	.statband:not(.statband--two) { flex-wrap: wrap; }
	.statband:not(.statband--two) > .statband__fig { min-width: auto; }
}
/* Phone stat band: two columns while a column is at least 8.5em of the band's text; one column when
   the text is doubled (8.5em is 127.5px at the default size, the columns are 131px or wider; the
   widest doubled figure is 8.23em). The minimum is never less than half the band minus half the
   widest real column gap (18px; the stacked bands use 16px) minus 1px, so a wide phone never fits
   a third column. */
@media (max-width: 767px) {
	.statband, .statband--stack { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(8.5em, calc(50% - 10px))), 1fr)); }
}
.hero .hero__copy .minifacts:has(> :nth-child(3):last-child) { flex-wrap: wrap; }
/* Phone facts strip with an odd count: value and label side by side in one row; the label may now
   shrink below its longest word instead of pushing the row past the edge. */
@media (max-width: 767px) {
	.hero .hero__facts .facts:has(> .facts__item:last-child:nth-child(odd)) .facts__l { min-width: 0; }
}
/* Blog index topic header: the title and the "More resources" row side by side; the row now drops
   below the title and wraps inside the card. */
@media (min-width: 768px) {
	.gl-topics > .gl-topics__head { flex-wrap: wrap; }
	.gl-topics__res { flex-wrap: wrap; max-width: 100%; }
}
/* Hero check list rows (tick, text, score pill). */
.scene__checks li { flex-wrap: wrap; }

/* ---- 11. Card tag pills: a nowrap label wider than its row. The label wraps between words.
   The row above a card title is 15.8em wide or more at the default size (author pages, whose tag
   is cut to the card on purpose, are left alone); at 200% it is 10.7em or less. */
.post__top:has(> .pill):not(main:has(.pf) *) { container: sth-tags / inline-size; }
@media (min-width: 768px) { .cards__top:has(> .pill) { container: sth-tags / inline-size; } }
@container sth-tags (max-width: 15em) { .pill { white-space: normal; } }

/* ---- 12. No-break spans in headings (keep_hyphens: "HIPAA-Compliant", "Multi-Agent"): wider than
   the whole line at 200%. The span keeps one line while the column holds it; in a narrow column
   (measured in the column's own em, so only when the text is enlarged) it may break at its hyphen.
   Hero copy is 18.6em wide or more at the default size (280px at 15px); the narrowest at 200% that
   needs the break is 13.5em. Tile values: 6.2em or more at default, 5.7em or less at 200%. */
/* Centered heroes size the copy to its content, so a size container would collapse it: skipped. */
.hero:not(.hero--scene-below, .hero--center, .hero--centered) .hero__copy:has(.h1 .hl-nb) { container: sth-copy / inline-size; }
@container sth-copy (max-width: 16.5em) { .hero__copy .hl-nb { white-space: normal; } }
/* Tile values (768 to 1023 only, where the tile grid has fixed columns): 6.29em wide or more at
   the default size, 5.7em or less at 200%; the longest kept word is 6.21em. */
@media (min-width: 768px) and (max-width: 1023px) {
	.hero .scene__tile-v:has(.hl-nb) { container: sth-tile / inline-size; }
}
@container sth-tile (max-width: 5.9em) { .scene__tile-v .hl-nb { white-space: normal; } }
/* Kept-together words in body copy (keep_together(): "Phase-by-Phase", "Leadership-Driven"):
   card titles and article headings. The title box is 10.25em wide or more at the default size,
   and no kept word is wider than 9.2em, so 9.6em only matches when the text is enlarged. */
.post__t:has(.x-nb), .article__body :is(h2, h3):has(.x-nb) { container: sth-line / inline-size; }
@container sth-line (max-width: 9.6em) { .x-nb { white-space: normal; } }

/* Image tags (absolute, nowrap): a tag wider than its image now wraps inside it. */
.ftag { white-space: normal; }

/* ---- 13. Cards and tabs with a fixed height or a column sized to its longest word. */
@media (min-width: 1024px) {
	/* Process cards: the card's single column was auto, so it grew to the longest word. */
	.steps--cards .steps__item { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) {
	/* Home project tabs: 44px tall with overflow hidden; a label on two lines now makes the tab taller. */
	.hm-tab { min-height: fit-content; }
}
/* Home plan price row (value and unit side by side): the value may shrink below its longest word,
   which leaves the unit its room. */
.hm-plan__v { min-width: 0; }

/* ---- 14. Home process card 02, "Clickable" tag (8.93px text, 4.4em wide plus 20.8px padding). */
@media (min-width: 1024px) {
	.hm-proc--b .hm-phone__tag--click { left: min(calc(50% + 54.7px), calc(100% - 4.5em - 24.8px)); }
}

/* ======== Wave 10 (text-only 200%, remaining cases found by measuring all 278 pages). Same rule as
   above: every declaration below is neutral at the default text size. ======== */

/* Home hero trust bar (768 and up): pinned to the bottom of the hero, it grew upward over the
   subtitle and the buttons once the text was doubled. When the hero's content box is narrower than
   40em of its own text the bar takes its place in the flow instead, still at the bottom of the hero
   (auto top margin, same bottom offset), at least 32px below the buttons, and the hero grows to
   hold it. The content box is the window less 64px of padding and the text is 16px: 704px (44em)
   at 768, 687px (42.9em) at 768 with a classic scrollbar, so 40em (640px) never matches at the
   default size; at 200% 40em is 1280px (a 1344px window). Same width rules as the pinned bar. */
@media (min-width: 768px) {
	.hm-hero { container: sth-hmhero / inline-size; }
	@container sth-hmhero (max-width: 40em) {
		.hm-hero__stack { margin-bottom: 32px; }
		.hm-trust {
			--tx: 0; position: relative; left: auto; bottom: auto; translate: none;
			max-width: 100%; margin: auto auto max(64px, calc(820px - 100svh + 28px));
		}
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	@container sth-hmhero (max-width: 40em) { .hm-trust { width: 100%; } }
}
/* Home hero heading and section headings: their column aligns its items to the start (phones),
   so each heading took the width of its longest word, which at 200% is wider than the column
   ("software," 301px, "capabilities" 335px in a 280px column at 320). The heading now stops at the
   column and a word that cannot fit a line may break. At the default size the longest word is far
   narrower than the column (about 160px of 280px at 320; under 300px of 704px or more from 768),
   so every heading keeps its width. */
.hm-hero__stack > .hm-hero__h1, .hm-head > .hm-h2 { max-width: 100%; }
/* Home stat tiles (phones): three columns while a column is at least 4.5em of the list's text,
   one or two columns when the text is doubled. 4.5em is 67.5px at the default size; the columns
   are 86.7px at 320 and wider above, and the minimum is never less than a third of the row less
   7px (the two gaps are 20px), so the default layout keeps three columns. At 200% 4.5em is 135px:
   "2007" needs 104px with the padding. */
@media (max-width: 767px) {
	.hm-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(4.5em, calc(33.33% - 7px))), 1fr)); }
}
/* Blog index topic tiles. At 320 the tiles are already too narrow for some titles at the default
   size ("transformation" is 101px in a 69px title column), so the titles keep overflow-wrap:
   normal and the fix is the number of columns instead. A column must be at least 12em - 65px of
   the grid's own text: 115px at the default size on phones (15px text; the two columns are 117px
   at 320 and wider above, and a half row less 6px always wins, gap 10px), 127px from 1024 (16px
   text; the four columns are 204px or wider, a quarter row less 13px always wins, gap 16px). At
   200% the minimum is 295px (phones) or 319px (desktop): one column on phones while the grid is
   under 600px,
   two columns at 1024, so the longest title word (205px at 30px, 233px at 34px) fits its line. */
@media (max-width: 767px) {
	.gl-topics__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(calc(12em - 65px), calc(50% - 6px))), 1fr)); }
}
@media (min-width: 1024px) {
	.gl-topics__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(calc(12em - 65px), calc(25% - 13px))), 1fr)); }
}
/* Contact and Book detail cards (phones): the single grid column was auto, so it grew to the widest
   card's minimum (333px at 320 at 200%, from the UEI code row) and every card ran past the screen.
   The column now stops at the row (280px at 320, the width it already has at the default size). */
@media (max-width: 767px) {
	.page-template-page-contact .ct-cards { grid-template-columns: minmax(0, 1fr); }
}
/* Code rows (label left, value right): the value may shrink below its longest word (it then breaks,
   body has break-word), and a row puts its value below its label when the list is narrower than
   12em of its own text. The list is 236px (15.7em at 15px) at 320 and wider above, so no row wraps
   at the default size (one value already runs on two lines beside its label there and keeps
   doing so); at 200% the list is 7.9em at 320 and 10.7em at 1920. A value never shrinks at the
   default size: every row's value fits beside its label at its own minimum width or wider. */
.page-template-page-contact .ct-codes { container: sth-ctcodes / inline-size; }
.page-template-page-contact .ct-codes dd { min-width: 0; }
@container sth-ctcodes (max-width: 12em) { .ct-codes div { flex-wrap: wrap; } }
/* Capability statement hero tiles: the UEI code ("ULUZGKWYCJB7") is kept whole (overflow-wrap:
   normal, word-break: keep-all in zz-fix-heroes.css). At 200% it is 276px in a 204px value box at
   320 and 370px in 252px at 768, so it ran past the screen and over the next tile. It may now
   break, but only when it cannot fit its line: break-word does not change the box's minimum width,
   and at the default size every code fits its box at every width from 320 to 1920 (the value box
   is 204px at 320 and 252px at 768 and holds the code on one line; no word splits in the 16-width
   default-size comparison). Token tiles are rendered on this page only (hero-scene.php adds
   is-token from the page's own data; checked on all 278 local pages and on the live page). */
.hero .scene__tile.is-token .scene__tile-v { overflow-wrap: break-word; }
/* Author page: article tag pills on phones,
   where the tag row sits beside a thumbnail. At 320 the row is 164px (10.9em of its 15px text) and
   "Legacy modernization" already runs 7.5px into its pill's padding at the default size; that is
   kept as it is. A pill may wrap between words only when the row is narrower than 9.7em: 145.5px
   at the default size (the row is 164px at 320, 149px when a classic scrollbar takes 15px, 188px
   at 360 and wider above), 291px at 200%, which covers phone windows up to about 463px wide.
   Scope: a posts section after a hero whose section id is "leadership". Only the author page has
   that (on /about-us/ "leadership" is a people section, not a hero; same markup on the live site).
   Page ids differ between local and live, and a :has() form changed how Chrome refreshes styles
   inside closed FAQ answers on other pages (a repeatable difference in the default-size check). */
.hero#leadership ~ .sec--posts .post__top { container: sth-pftags / inline-size; }
@container sth-pftags (max-width: 9.7em) { .pill { white-space: normal; } }
/* Author page topic chips (768 and up; same scope as above): the card puts the heading and the chips side by side and
   the chips column could shrink to 133px at 200%, so each nowrap chip ran past the screen. The
   card may now wrap the chips below the heading, but only when its row is narrower than 36em of
   its own text: the row is 704px (44em) at 768 and wider above (687px, 42.9em, with a classic
   scrollbar), so this never matches at the default size; at 200% 36em is 1152px. A chip that is
   still wider than its line may wrap. */
.hero#leadership ~ .sec--chips > .wrap { container: sth-pfchips / inline-size; }
@media (min-width: 768px) {
	@container sth-pfchips (max-width: 36em) {
		.chips-card { flex-wrap: wrap; }
		.chips-card .chipsg__chip { white-space: normal; }
	}
}
/* Phones: the card is already one column. A chip wider than its line may wrap, but only when the
   row is narrower than 17.2em of its 15px text: the row is 280px (18.67em) at 320 and 265px
   (17.67em) with a classic scrollbar, so this never matches at the default size; at 200% it
   matches windows up to 556px wide. */
@media (max-width: 767px) {
	@container sth-pfchips (max-width: 17.2em) { .chips-card .chipsg__chip { white-space: normal; } }
}
/* Home project tabs (768 and up): a label on two lines at 200% filled the tab's whole height and
   its letters reached 2px past the tab's clipped edges (the line height is set in px, tighter
   than the letters). The tab gets top and bottom padding of .25em - 3px, never less than 0: 0 at
   the default size (12px text gives 0px, the tab keeps padding 0 12px and its 44px height), 3px
   at 200%, and the tab grows to fit (min-height: fit-content above). */
@media (min-width: 768px) {
	.hm-tab { padding-block: max(0px, calc(.25em - 3px)); }
}

/* Wave 10, builder B4: service, platform, industry and case study pages, and the top-level guides. */

/* ---- B4-1. Industry tiles (/industries/): at 200% a one-word title ("Manufacturing", "Professional")
   was wider than its tile and ran into the next tile or past the screen edge. The title may now
   break inside a word, but only in a tile whose content box is narrower than 8em of its own text.
   Content box width in em at the default size: 8.73 or more at every width from 320 to 1920 (8.73
   at 360, 8.75 at 1024, 9.27 at 375; at 360 and 375 "Manufacturing" and "Media and Entertainment"
   already overflow by 3 to 11px, which is why the base rule keeps overflow-wrap normal, and they
   stay as they are). At 200%: 7.37 or less wherever a title overflowed (4.38 at 1024, 4.87 at
   390, 5.88 at 768, 5.97 at 1280 and up, 7.37 at 540). The tile is a grid item in fixed tracks
   (minmax(0, 1fr)) and is already position: relative. */
.cards--tiles > .cards__item { container: w10b4-tile / inline-size; }
@container w10b4-tile (max-width: 8em) { .cards--tiles .cards__t { overflow-wrap: break-word; } }

/* ---- B4-2. Phone facts with an odd count (value and label side by side in one row, for example
   /industries/logistics-software-development/ at 320): at 200% the no-wrap value took the whole
   row and the label shrank to 0px wide. In a facts list narrower than 17.2em of its own text the
   row may now wrap, so the label sits above the value. List width in em at the default size:
   18.67 at 320 (280px at 15px) and more at every wider phone width; at 200% 9.33 at 320, 11.67 at
   390, 16.67 at 540. The list is a full-width grid in a block, so the size container does not
   collapse it, and it holds no positioned descendants. */
@media (max-width: 767px) {
	.hero .hero__facts .facts:has(> .facts__item:last-child:nth-child(odd)) { container: w10b4-facts / inline-size; }
}
@container w10b4-facts (max-width: 17.2em) { .facts__item { flex-wrap: wrap; } }

/* ---- B4-3. Hero scene card head (title left, "4 steps" pill right, /services/cloud-computing/ at
   320): at 200% the pill ran 31px past the screen edge. In a card narrower than 12em of its own
   text (content box) the head may now wrap, and the pill drops below the title only when the two
   do not fit side by side. Content box width in em at the default size: 15.2 at 320 (260px card,
   16px padding) and more at every wider window (17.87 at 360, 22.56 at 1024, 30.75 at 1280 and up;
   card widths checked on the right, flipped, centered-below and article scene heroes). At 200%:
   7.6 at 320, 8.93 at 360, 9.93 at 390 (where the pill ran over). The card is already
   position: relative. */
.hero .scene__card:has(> .scene__head) { container: w10b4-scene / inline-size; }
@container w10b4-scene (max-width: 12em) { .scene__head { flex-wrap: wrap; } }

/* ---- B4-4. Offset hero with a floating facts card (/services/legacy-modernization/,
   /services/software-testing/, 1024 and up): the visual keeps a 620:452 ratio and the facts card
   is pinned to its bottom, so at 200% the card grew upward over the image tag at the top
   ("Application modernization"). The visual now keeps a minimum height of 18em: 288px at the
   default size, while its ratio height is 350.5px at 1024 (21.9em) and more at wider windows, so
   nothing changes there; at 200% 576px, which leaves the tag (28px from the top, 100px tall) clear
   of the card (349px tall). */
@media (min-width: 1024px) {
	.hl.hero--offset.hl-offset--facts .hl-offset { min-height: 18em; }
}

/* Kept-together words (.x-nb from keep_together(), .hl-nb from keep_hyphens()) in other boxes: body
   copy, lists, cards, FAQ, contents list, section and card headings, hero copy and banners. Same
   technique as section 12: the box that holds the line is a size container, and the word may break
   at its hyphen only when that box is narrower than a threshold written in the box's own em, so
   only when the text is enlarged. Each threshold is above the widest kept word in that kind of box
   and below the narrowest such box at the default text size, both measured at 16 widths from 1920 to 320. Boxes that size to
   their content (flex items in rows or in start-aligned columns: hero copy children, section head
   titles, the in-article call to action, callouts, chips, check rows) are never made containers. */
/* Body copy and lists in articles, contents list entries, terminal lines, card text, FAQ text, fact
   card values, icon card text. Narrowest box at the default size: 11.8em (icon card text at 1024);
   all others 12.13em or more. Widest kept word: 10.48em ("pay-for-what-you-use"). At 200% the boxes
   that cut a word measure 6.4em to 10.2em. */
:is(
	.article__body :is(p, li):not(.wp-cta *, .article__callout *, td *, th *),
	.toc__list > li, .term > div, .sv-m > span, .st-card > .k, .faq__a p, summary.faq__q, .fcard__v, .icons__d
):has(.x-nb, .hl-nb) { container: sth-nb / inline-size; }
@container sth-nb (max-width: 11em) { .x-nb, .hl-nb { white-space: normal; } }
/* Step card text: 9.53em or more at the default size; widest kept word 8.24em ("Production-ready").
   At 200% the boxes that cut a word measure 6em to 8.1em. */
.steps__d:has(.x-nb, .hl-nb) { container: sth-nbs / inline-size; }
@container sth-nbs (max-width: 8.8em) { .x-nb, .hl-nb { white-space: normal; } }
/* Card and section headings outside the article body (h2, h3, h4, card titles). Narrowest box at
   the default size: 8.43em (card heading at 1024); widest kept word: 7.64em ("AI-to-Production").
   At 200% the boxes that cut a word measure 4.2em to 7.6em. Article h2/h3 and post titles keep
   section 12; hero content, section head titles (.head > .h2) and banner titles are left out. */
main :is(h2, h3, h4, .cards__t):not(.article__body :is(h2, h3), .post__t, .head > .h2, .cta__h, .hero *):has(.x-nb, .hl-nb) { container: sth-nbh / inline-size; }
@container sth-nbh (max-width: 8em) { .x-nb, .hl-nb { white-space: normal; } }
/* Section head titles size to their content (the head is a start-aligned column), so the head
   itself is the container, measured in its own (body) em: 18.67em or more at the default size. The
   widest kept title word is 15.36em of the head's text (desktop title size). Centered heads are
   skipped: one sits in a box that sizes to its content. */
.head:not(.head--center):has(> .h2 :is(.x-nb, .hl-nb)) { container: sth-nbhead / inline-size; }
@container sth-nbhead (max-width: 16em) { .h2 :is(.x-nb, .hl-nb) { white-space: normal; } }
/* In-article call to action: its children size to their content, so the card is the container.
   16em or more of its own text at the default size; widest kept title word 11.75em. */
.article__body .wp-cta:has(> .wp-cta__h .x-nb) { container: sth-nbcta / inline-size; }
@container sth-nbcta (max-width: 13em) { .wp-cta__h .x-nb { white-space: normal; } }
/* Banner line under the title (the banner is already the sth-cta container, section 5): 15.47em or
   more of the banner's text at the default size; widest kept word 11.77em ("Production-Readiness"). */
@container sth-cta (max-width: 13em) { .cta__sub :is(.x-nb, .hl-nb) { white-space: normal; } }
/* Hero copy (section 12 container sth-copy, 16.5em). Also a container when the line under the title
   holds a kept word (widest 11.93em of the copy's text, below 16.5em). And the title's kept words
   may break below 17.2em of the copy's text as well: the copy is 18.67em or more at the default size
   (17.67em at 320 when a classic scrollbar takes 15px),
   while a large title word reaches 21.06em of it ("HIPAA-Compliant" in a 72px title), wider than the
   copy at 200% on a 540px window (16.9em). */
.hero:not(.hero--scene-below, .hero--center, .hero--centered) .hero__copy:has(.hero__sub .hl-nb) { container: sth-copy / inline-size; }
@container sth-copy (max-width: 17.2em) { .hero__copy .h1 .hl-nb { white-space: normal; } }

/* ---------------------------------------------------------------- Wave 11: four kept-together words on phones */
/* Up to 767 wide these boxes fill their column (the centered layouts start at 768), so each can be a
   size container. Measured at the default size on every page that has one, windows 767 down to 303
   (a 320 window with a classic scrollbar): hero copy, section head and check row are 17.5em wide or
   more. At 200% each is half that, so the queries only apply once the text is enlarged, and then
   the word may break at its hyphen. */
@media (max-width: 767px) {
	/* Title of a centered hero ("Offline-first"): joins the hero copy queries above (16.5em and 17.2em). */
	.hero:is(.hero--scene-below, .hero--center, .hero--centered) .hero__copy:has(.h1 .hl-nb) { container: sth-copy / inline-size; }
	/* Centered section head ("AI-assisted"): joins the section head query above (16em). */
	.head--center:has(> .h2 :is(.x-nb, .hl-nb)) { container: sth-nbhead / inline-size; }
	/* Check rows of a split section ("non-manufacturing" needs the break under 341 wide at 200%,
	   where the row is 10em or less). */
	.split__checks > .ss-check:has(.x-nb, .hl-nb) { container: sth-nbchk / inline-size; }
	@container sth-nbchk (max-width: 10.5em) { .ss-check__t :is(.x-nb, .hl-nb) { white-space: normal; } }
}
/* Tile values in the hero scene ("RFID-based"). The scene card (inside its padding) is 14.07em or
   more at the default size in a window up to 430 wide and 11.3em or less there at 200%; from 431 it
   is 21.4em or more at the default size, and at 200% the word no longer fits its tile while the card
   is under 14.6em (windows up to about 530 wide). */
@media (max-width: 430px) {
	@container w10b4-scene (max-width: 12em) { .scene__tile-v .hl-nb { white-space: normal; } }
}
@media (min-width: 431px) and (max-width: 767px) {
	@container w10b4-scene (max-width: 14.8em) { .scene__tile-v .hl-nb { white-space: normal; } }
	/* CTA line with an email address (/careers/): the 13em query of section 5 stops applying above
	   430, and at 200% the address (17em of its own text) ran past the band up to about 610 wide.
	   In this window range the band (inside its padding) is 21.7em or more at the default size. */
	@container sth-cta (max-width: 19em) { .cta__sub { overflow-wrap: break-word; } }
}

/* ---------------------------------------------------------------- Wave 12: hero facts strip, 560 to 767 wide */
/* From 560 to 767 three facts sit in three tiles in a row (zz-zm-layout.css) and the values do not
   wrap, so with enlarged text a long value ran over the next tile or past the screen edge. When the
   strip is narrower than 31em of its own text it goes back to the phone layout: one fact per row,
   value left and label right, and the row may wrap. Strip width in this window range: 33.5em or
   more at the default size (a 560 window with a classic scrollbar), 24.3em or less at 200%; 31em
   also catches the long values at 150% and 175%. The strip is a full-width block, so the size
   container does not collapse it. */
@media (min-width: 560px) and (max-width: 767px) {
	.hero .hero__facts:has(> .facts > .facts__item:nth-child(3):last-child) { container: sth-facts3 / inline-size; }
	@container sth-facts3 (max-width: 31em) {
		.hero .hero__facts .facts:has(> .facts__item:nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); gap: 8px; }
		.hero .hero__facts .facts:has(> .facts__item:nth-child(3):last-child) > .facts__item {
			flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px;
		}
		.hero .hero__facts .facts:has(> .facts__item:nth-child(3):last-child) .facts__l { text-align: right; }
	}
}

/* ---------------------------------------------------------------- Wave 13: word-by-word text (quote, statement) */
/* The words of a quote or statement are separate inline-block boxes (.w, motion.css), so a word
   wider than its line could not break and ran past its card with enlarged text (About, client
   quote, 320 wide at 200%: "responsibility" is 281px in a 236px line). A word box may now be at
   most as wide as its line; inside it the word breaks as any other long word does (section 5).
   A word that fits its line is narrower than this limit, so nothing changes for it: at the default
   size the widest word box on the 26 pages that have them is well inside its line at every width. */
.w { max-width: 100%; }
