/* Use cases page. Builds on site.css: same ink and paper, same type. Page-only components are prefixed uc-. */


/* ---------- Hero ---------- */

.uc-hero { padding: 168px 0 clamp(56px, 7vw, 92px); position: relative; overflow: hidden; }
.uc-hero__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px 56px; align-items: end; }
.uc-hero__title { display: grid; gap: 28px; justify-items: start; }
.uc-hero h1 { font-size: clamp(46px, 6.6vw, 98px); max-width: 12ch; }
.uc-hero .lede { max-width: 38ch; color: var(--on-ink-muted); padding-bottom: .5em; }
@media (max-width: 900px) {
  .uc-hero__head { grid-template-columns: 1fr; }
  .uc-hero .lede { padding-bottom: 0; }
}

/* the logos, black on paper, each a jump link: 7 per row on desktop, 5 then 4 per row on tablets, 2 per row on phones, short rows centred; a fixed label row keeps every logo at one height */
.uc-jump { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.uc-jump a {
  flex: 0 0 calc((100% - 60px) / 7); min-width: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) 34px; justify-items: center; align-items: center; gap: 8px;
  height: 124px; padding: 22px 12px 14px; border-radius: 14px;
  background: var(--paper); color: var(--text); text-decoration: none;
  transition: transform .25s var(--ease), background .2s;
}
.uc-jump a:hover { transform: translateY(-2px); background: #fbf9f4; }
.uc-jump img { max-width: 100%; height: auto; filter: brightness(0); opacity: .88; }
.uc-jump span { font-size: 13px; line-height: 1.3; color: var(--muted); text-align: center; align-self: start; }
.uc-jump a:focus-visible { outline-color: var(--accent); outline-offset: 3px; }
@media (max-width: 1180px) { .uc-jump a { flex-basis: calc((100% - 40px) / 5); } }
@media (max-width: 860px) { .uc-jump a { flex-basis: calc((100% - 30px) / 4); } }
@media (max-width: 560px) {
  .uc-jump { gap: 8px; }
  .uc-jump a { flex-basis: calc((100% - 8px) / 2); height: 104px; padding: 18px 10px 12px; grid-template-rows: 1fr auto; }
  .uc-jump img { transform: scale(.88); }
}
@media (max-width: 380px) { .uc-jump a { padding-inline: 8px; } .uc-jump span { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .uc-jump a { transition: none; } .uc-jump a:hover { transform: none; } }

/* ---------- One case ---------- */

.uc-case { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.uc-case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1001px) { .uc-case--flip .uc-case__side { order: -1; } }

.uc-case__id { display: grid; gap: 16px; justify-items: start; margin-bottom: 30px; }
.uc-case__logo { height: auto; filter: brightness(0); opacity: .9; }
.uc-case__sells { font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.uc-case h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.02; letter-spacing: -0.034em; max-width: 19ch; }

.uc-parts { display: grid; gap: 26px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.uc-part p { color: var(--muted); max-width: 54ch; }
.uc-part h3, .uc-label {
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em;
  font-variation-settings: normal; color: var(--text); margin: 0 0 8px;
}
.uc-plays { margin-top: 16px; }
.uc-ring { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.uc-sq { width: 9px; height: 9px; border-radius: 2.5px; background: var(--text); flex: none; }

/* ---------- Big number (pipeline cases) ---------- */

.uc-case__side { min-width: 0; }
.uc-big { display: grid; gap: 4px; justify-items: start; }
.uc-big .uc-label { margin-bottom: 18px; }
.uc-big__n {
  font-family: var(--serif); font-weight: 700; font-variation-settings: "opsz" 60;
  font-size: clamp(104px, 15vw, 216px); line-height: .82; letter-spacing: -0.06em;
  margin-left: -.04em;
}
.uc-big__cap { font-family: var(--serif); font-weight: 650; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; margin-top: 14px; }
@media (min-width: 1001px) { .uc-case__side .uc-big { padding-top: 8px; } }

/* HiveCPQ: the two traits we mapped the market on */
.uc-sieve { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; gap: 12px; max-width: 520px; }
.uc-sieve__row { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); align-items: center; }
.uc-sieve svg { width: 100%; height: auto; }
.uc-sieve circle { fill: rgba(22, 18, 15, .34); }
.uc-sieve circle.off { fill: rgba(22, 18, 15, .13); }
.uc-sieve circle.on { fill: var(--text); }
.uc-sieve circle.hit { fill: var(--accent); }
.uc-sieve__arr { height: 1.5px; margin: 0 7px; background: var(--muted); position: relative; }
.uc-sieve__arr::after { content: ""; position: absolute; right: -1px; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.uc-sieve__l { align-items: start; }
.uc-sieve__l span { font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--muted); }
.uc-sieve__row > svg { opacity: 0; transition: opacity .7s var(--ease); }
.uc-sieve__row > svg:nth-of-type(2) { transition-delay: .35s; }
.uc-sieve__row > svg:nth-of-type(3) { transition-delay: .7s; }
.uc-sieve.in .uc-sieve__row > svg { opacity: 1; }

/* ---------- Figures in the case (shared frame) ---------- */

.uc-fig { margin: 0; background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); }
.uc-fig__t { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 22px; }
@media (min-width: 1001px) { .uc-case__side .uc-fig { margin-top: 6px; } }

/* fans: many plays into one market (Cegeka), one play out to many languages (Stibo) */
.uc-fan__grid { display: grid; align-items: stretch; }
.uc-fan--in .uc-fan__grid { grid-template-columns: auto minmax(36px, 1fr) 132px; }
.uc-fan--out .uc-fan__grid { grid-template-columns: auto minmax(44px, 1fr) auto; }
.uc-fan__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(var(--rows), 1fr); }
.uc-fan__list li { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; line-height: 1.3; }
.uc-fan__list li .dot { width: 9px; height: 9px; }
.uc-fan--in .uc-fan__list li { padding-right: 12px; }
.uc-wires { position: relative; }
.uc-wires svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.uc-wires path { fill: none; stroke: rgba(22, 18, 15, .3); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .6s var(--ease); }
.uc-fan.in .uc-wires path { opacity: 1; }
.uc-fan.in .uc-wires path:nth-child(2) { transition-delay: .08s; } .uc-fan.in .uc-wires path:nth-child(3) { transition-delay: .16s; }
.uc-fan.in .uc-wires path:nth-child(4) { transition-delay: .24s; } .uc-fan.in .uc-wires path:nth-child(5) { transition-delay: .32s; }
.uc-fan.in .uc-wires path:nth-child(6) { transition-delay: .4s; } .uc-fan.in .uc-wires path:nth-child(7) { transition-delay: .48s; }
.uc-fan.in .uc-wires path:nth-child(8) { transition-delay: .56s; }
.uc-fan--in .uc-wires path:nth-child(1) { stroke: var(--sig-role); }
.uc-fan--in .uc-wires path:nth-child(2) { stroke: var(--sig-champion); }
.uc-fan--in .uc-wires path:nth-child(3) { stroke: var(--sig-social); }
.uc-fan--in .uc-wires path:nth-child(4), .uc-fan--in .uc-wires path:nth-child(5) { stroke: var(--accent); }
.uc-fan--in .uc-wires path { stroke-width: 1.6; }
.uc-fan--out .uc-wires path { stroke: var(--sig-role); stroke-width: 1.5; }

.uc-market { align-self: center; display: grid; gap: 10px; justify-items: center; padding: 14px 14px 12px; border-radius: 16px; border: 1.5px solid var(--text); background: var(--paper); }
.uc-market__dots { width: 100%; height: auto; }
.uc-market__dots .m { fill: rgba(22, 18, 15, .2); transition: fill .6s var(--ease); transition-delay: var(--d, 0s); }
.uc-fan.in .m--role { fill: var(--sig-role); }
.uc-fan.in .m--champion { fill: var(--sig-champion); }
.uc-fan.in .m--social { fill: var(--sig-social); }
.uc-fan.in .m--market { fill: var(--accent); }
.uc-market span { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--text); }

.uc-fan__src { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding-right: 4px; }
.uc-fan__src .dot { width: 14px; height: 14px; }
.uc-fan__src span { font-family: var(--serif); font-weight: 650; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; }
.uc-langs li { min-height: 34px; gap: 12px; }
.uc-langs b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); width: 22px; }
.uc-langs span { font-size: 15px; }

/* plays per market (M-Files) */
.uc-matrix table { width: 100%; border-collapse: collapse; }
.uc-matrix th, .uc-matrix td { padding: 0; height: 46px; border-top: 1px solid var(--line); }
.uc-matrix thead th { height: auto; padding: 0 0 12px; border-top: 0; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .02em; color: var(--muted); text-align: center; white-space: nowrap; }
.uc-matrix tbody th { text-align: left; font-weight: 500; font-size: 14.5px; line-height: 1.25; padding-right: 10px; }
.uc-matrix tbody th a { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.uc-matrix tbody th a:hover { text-decoration: underline; text-underline-offset: 4px; }
.uc-matrix td { text-align: center; width: 17%; }
.uc-matrix td i { display: block; width: 12px; height: 12px; margin: 0 auto; border-radius: 50%; background: var(--c); transform: scale(0); transition: transform .45s var(--ease); }
.uc-matrix.in td i { transform: none; }
.uc-matrix.in td:nth-child(3) i { transition-delay: .08s; } .uc-matrix.in td:nth-child(4) i { transition-delay: .16s; } .uc-matrix.in td:nth-child(5) i { transition-delay: .24s; }
.uc-matrix td.off::before { content: ""; display: block; width: 12px; height: 1.5px; margin: 0 auto; background: var(--line); }


/* reply rate per play (Noest): same 0 to 40% scale and the same hatched band as the tracks */
.uc-bars__list { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--line); }
.uc-bars__list li { display: grid; grid-template-columns: minmax(0, 13.5em) minmax(0, 1fr) 3.2em; align-items: center; gap: 14px; min-height: 40px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.25; }
.uc-bars__bar { position: relative; display: block; height: 10px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.uc-bars__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: var(--c, var(--accent)); transition: width 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .07s); }
.uc-bars.in .uc-bars__bar i { width: calc(var(--v) / 40 * 100%); }
.uc-bars__list b { font-family: var(--mono); font-weight: 500; font-size: 12.5px; text-align: right; color: var(--text); }
.uc-bars .uc-out__note { margin-top: 16px; }
@media (min-width: 1181px), (min-width: 641px) and (max-width: 1000px) { .uc-bars__list li { grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr) 3.2em; } }

/* regions as a tile map (WeTransact): the EMEA frame holds the European and MEA tiles */
.uc-regions__map { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: repeat(5, 40px); gap: 8px; padding-bottom: 6px; }
.uc-regions__map > span:not(.uc-regions__emea) {
  grid-column: var(--x) / span var(--w); grid-row: var(--y); position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; white-space: nowrap;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted);
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); transition-delay: calc(var(--i, 0) * .08s);
}
.uc-regions.in .uc-regions__map > span:not(.uc-regions__emea) { background: rgba(255, 95, 46, .16); border-color: var(--accent); color: var(--text); }
.uc-regions__map em { font-style: normal; }
.uc-regions__map .sm { display: none; }
.uc-regions__emea { grid-column: 4 / span 4; grid-row: 1 / span 4; margin: -5px; border: 1.5px dashed rgba(22, 18, 15, .38); border-radius: 13px; position: relative; z-index: 0; }
.uc-regions__emea b { position: absolute; left: 10px; top: -9px; padding: 0 8px; background: #fce0d4; border: 1px solid var(--accent); border-radius: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; line-height: 16px; color: var(--text); }

/* rings from the home market outwards (Ziggu) */
.uc-rings__stage { position: relative; aspect-ratio: 2 / 1; }
.uc-rings__r {
  position: absolute; bottom: 0; left: 50%; aspect-ratio: 2 / 1; width: calc(var(--s) * 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--t); box-shadow: 0 0 0 1.5px #fbf9f4;
  transform: translateX(-50%) scale(.001); transform-origin: 50% 100%; transition: transform .8s var(--ease); transition-delay: var(--d);
}
.uc-rings.in .uc-rings__r { transform: translateX(-50%); }
.uc-rings__r span { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 78%; text-align: center; font-size: 13px; line-height: 1.3; font-weight: 500; color: var(--text); }
.uc-rings__r.r4 { --s: 1; --t: rgba(255, 95, 46, .1); --d: .45s; }
.uc-rings__r.r3 { --s: .78; --t: rgba(255, 95, 46, .22); --d: .3s; }
.uc-rings__r.r2 { --s: .56; --t: rgba(255, 95, 46, .42); --d: .15s; }
.uc-rings__r.r1 { --s: .34; --t: var(--accent); --d: 0s; }
.uc-rings__r.r4 span { width: 84%; }
.uc-rings__r.r1 span { top: auto; bottom: 10px; width: 80%; font-weight: 600; }

/* one question, five branches (Solvice) */
.uc-tree__root { display: inline-block; margin: 0; padding: 11px 16px; border: 1.5px solid var(--text); border-radius: 12px; background: var(--paper); font-family: var(--serif); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.uc-tree__list { list-style: none; margin: 0 0 0 26px; padding: 0; }
.uc-tree__list li { position: relative; padding: 7px 0 7px 32px; }
.uc-tree__list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 50%; border-left: 1.5px solid rgba(22, 18, 15, .35); border-bottom: 1.5px solid rgba(22, 18, 15, .35); border-bottom-left-radius: 9px; }
.uc-tree__list li:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 50%; bottom: 0; border-left: 1.5px solid rgba(22, 18, 15, .35); }
.uc-tree__list span {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 14.5px; line-height: 1.3;
  opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.15s + var(--i, 0) * .09s);
}
.uc-tree__list span::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.uc-tree.in .uc-tree__list span { opacity: 1; transform: none; }

/* one company, ten sites, a verdict per site (Peripass) */
.uc-sites__grid { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; border: 1.5px solid var(--text); border-radius: 16px; background: var(--paper); }
.uc-sites__grid li { display: grid; justify-items: center; gap: 8px; padding: 12px 6px 9px; border-radius: 10px; border: 1px solid var(--line); background: #fbf9f4; color: rgba(22, 18, 15, .5); transition: border-color .5s var(--ease), background .5s var(--ease), color .5s var(--ease); transition-delay: calc(var(--i, 0) * .07s); }
.uc-sites__grid svg { width: 100%; max-width: 46px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.uc-sites__grid b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .03em; line-height: 1; color: transparent; transition: color .4s var(--ease); transition-delay: calc(.3s + var(--i, 0) * .07s); }
.uc-sites.in .uc-sites__grid b { color: var(--muted); }
.uc-sites.in .uc-sites__grid li.no { color: rgba(22, 18, 15, .26); }
.uc-sites.in .uc-sites__grid li.rev { border: 1.5px dashed rgba(22, 18, 15, .5); color: var(--text); }
.uc-sites.in .uc-sites__grid li.rev b { color: var(--text); }
.uc-sites.in .uc-sites__grid li.yes { border: 1.5px solid var(--accent); background: rgba(255, 95, 46, .08); color: var(--text); }
.uc-sites.in .uc-sites__grid li.yes b { color: var(--accent-ink); font-weight: 600; }
.uc-sites__cap { margin: 16px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* each brand its own message, in two languages (Vintecc) */
.uc-msgs__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; align-items: center; }
.uc-msgs__h { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.uc-msgs__lang { display: grid; gap: 3px; font-size: 13px; color: var(--muted); padding-right: 4px; }
.uc-msgs__lang b { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; color: var(--text); }
.uc-msg { display: grid; gap: 7px; padding: 14px 14px 15px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: var(--paper); }
.uc-msg i { display: block; height: 6px; border-radius: 3px; width: 0; background: rgba(22, 18, 15, .22); transition: width .7s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.uc-msg i:first-child { background: var(--text); }
.uc-msg--b i:first-child { background: var(--accent); }
.uc-msgs.in .uc-msg i { width: calc(var(--w) * 1%); }

/* three engines, each narrowed to who is deciding now (moveUP) */
.uc-funnels__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.uc-funnel__t { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.uc-funnel__t .dot, .uc-funnel__t .uc-sq { width: 9px; height: 9px; }
.uc-funnel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: center; }
.uc-funnel li { display: grid; justify-items: center; gap: 5px; width: 100%; text-align: center; }
.uc-funnel li b {
  display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 8px; width: var(--fw);
  font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--text); background: rgba(22, 18, 15, .08);
  transform: scaleX(.2); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); transition-delay: calc(var(--i, 0) * .14s);
}
.uc-funnel li:nth-child(1) b { --fw: 100%; }
.uc-funnel li:nth-child(2) b { --fw: 74%; background: rgba(22, 18, 15, .15); }
.uc-funnel li:nth-child(3) b { --fw: 50%; background: var(--c); }
.uc-funnels.in .uc-funnel li b { transform: none; opacity: 1; }
.uc-funnel li span { font-size: 12.5px; line-height: 1.3; color: var(--muted); min-height: 2.6em; }

/* from our Clay into theirs (Donna): both workspaces hold the same tables in the same places,
   so each card in Donna's workspace starts exactly over its twin in ours (--hop) and slides across, leaving a dashed slot */
.uc-move { --gap: 26px; --pad: 12px; --bw: 1.5px; --hop: calc(2 * var(--pad) + 2 * var(--bw) + var(--gap)); }
.uc-move__ws { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); }
.uc-move__ws::before { content: ""; position: absolute; top: -6px; bottom: -6px; left: 50%; border-left: 1.5px dashed rgba(22, 18, 15, .32); }
.uc-ws { position: relative; display: flex; flex-direction: column; padding: var(--pad); border: var(--bw) solid var(--line); border-radius: 14px; background: var(--paper); }
.uc-ws--theirs { border-color: var(--text); }
.uc-ws__h { margin: 2px 2px 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; line-height: 16px; color: var(--muted); }
.uc-ws--theirs .uc-ws__h { color: var(--text); font-weight: 500; }
.uc-ws__g { display: flex; align-items: center; gap: 7px; margin: 12px 2px 7px; font-size: 12.5px; font-weight: 600; line-height: 16px; color: var(--text); white-space: nowrap; }
.uc-ws__g .dot, .uc-ws__g .uc-sq { width: 8px; height: 8px; }
.uc-ws__t { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.uc-ws__t li {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 9px; border-radius: 8px;
  font-size: 13px; line-height: 1.25; color: var(--text); background: #fbf9f4; border: 1px solid rgba(22, 18, 15, .2);
  --dl: calc(.6s + var(--i, 0) * .14s);
}
.uc-tb {
  flex: none; width: 12px; height: 10px; border-radius: 2px; border: 1.25px solid currentColor; opacity: .55;
  background: linear-gradient(currentColor, currentColor) 0 2.5px / 100% 1.25px no-repeat, linear-gradient(currentColor, currentColor) 3.5px 0 / 1.25px 100% no-repeat;
}
/* ours: each table lifts off and leaves a dashed, empty slot */
.uc-ws--ours .uc-ws__t li { transition: background-color .2s linear var(--dl), border-color .2s linear var(--dl), color .2s linear var(--dl); }
.uc-ws--ours .uc-ws__t li::after { content: ""; position: absolute; inset: -1px; border-radius: 8px; border: 1.25px dashed rgba(22, 18, 15, .3); opacity: 0; transition: opacity .2s linear var(--dl); }
.uc-move.in .uc-ws--ours .uc-ws__t li { background-color: transparent; border-color: transparent; color: rgba(22, 18, 15, .3); }
.uc-move.in .uc-ws--ours .uc-ws__t li::after { opacity: 1; }
.uc-ws--ours .uc-ws__g { transition: opacity .4s var(--ease) 2s; }
.uc-move.in .uc-ws--ours .uc-ws__g { opacity: .42; }
/* theirs: each table arrives from its twin, one at a time */
.uc-ws--theirs .uc-ws__t li { z-index: 2; opacity: 0; transform: translateX(calc(-100% - var(--hop))); transition: transform .8s var(--ease) var(--dl), opacity .01s linear var(--dl); }
.uc-move.in .uc-ws--theirs .uc-ws__t li { opacity: 1; transform: none; }
.uc-ws--theirs .uc-ws__g { opacity: .35; transition: opacity .4s var(--ease) calc(1.1s + var(--i, 0) * .14s); }
.uc-move.in .uc-ws--theirs .uc-ws__g { opacity: 1; }
/* what is left on each side once it all moved */
.uc-ws__end, .uc-ws__out { margin: auto 0 0; padding-top: 14px; opacity: 0; transition: opacity .6s var(--ease) 2.5s; }
.uc-ws__end { font-size: 12.5px; line-height: 1.35; color: var(--muted); padding-inline: 2px; }
.uc-ws__out { list-style: none; padding-left: 0; display: grid; gap: 6px; }
.uc-ws__out li { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--text); padding-inline: 2px; }
.uc-ws__out li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .3em; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
.uc-move.in .uc-ws__end, .uc-move.in .uc-ws__out { opacity: 1; }
/* the four steps underneath */
.uc-move__steps { list-style: none; margin: 22px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.uc-move__steps::before { content: ""; position: absolute; left: 4.5px; right: calc(25% - 4.5px); top: 4px; height: 1.5px; background: var(--line); }
.uc-move__steps li { position: relative; display: grid; gap: 8px; justify-items: start; font-size: 12.5px; font-weight: 500; line-height: 1.25; color: var(--muted); transition: color .4s var(--ease) var(--d); }
.uc-move__steps li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fbf9f4; box-shadow: inset 0 0 0 1.5px rgba(22, 18, 15, .35); transition: background-color .4s var(--ease) var(--d), box-shadow .4s var(--ease) var(--d); }
.uc-move.in .uc-move__steps li { color: var(--text); }
.uc-move.in .uc-move__steps li::before { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
/* two narrow workspace columns next to the text: drop the table icon so every label stays on one line */
@media (min-width: 1001px) and (max-width: 1180px) { .uc-tb { display: none; } }

/* ---------- What came out ---------- */

.uc-out { margin-top: clamp(52px, 6vw, 80px); }
.uc-out > .uc-label { margin-bottom: 16px; }
.uc-out__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 44px); }
.uc-stat { border-top: 1px solid var(--text); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
@media (min-width: 641px) { .uc-stat { grid-template-rows: auto 1fr auto; } .uc-stat .uc-track { align-self: end; } }
.uc-stat .serif-num { font-size: clamp(54px, 5.4vw, 80px); }
.uc-stat p { color: var(--muted); font-size: 15.5px; line-height: 1.45; max-width: 30ch; }
.uc-stat--word .serif-num { font-size: clamp(38px, 3.8vw, 56px); line-height: 1; padding-block: .14em .08em; }
/* a word stat takes the height of a number stat (number line-height .95, site.css), so all captions in a row start level */
@media (min-width: 641px) { .uc-stat--word .serif-num { min-height: calc(clamp(54px, 5.4vw, 80px) * .95); display: flex; align-items: flex-end; } }

/* value against the 2 to 3% band of email without a trigger; one scale (0 to 40%) for the whole page */
.uc-track { position: relative; display: block; height: 8px; margin-top: 8px; border-radius: 8px; background: var(--paper-3); overflow: hidden; }
.paper-2 .uc-track { background: rgba(22, 18, 15, .08); }
.uc-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 8px; background: var(--c, var(--text)); transition: width 1.3s var(--ease); }
.uc-out.in .uc-track i { width: calc(var(--v) / 40 * 100%); }
.uc-out.in .uc-stat:nth-child(2) .uc-track i { transition-delay: .1s; } .uc-out.in .uc-stat:nth-child(3) .uc-track i { transition-delay: .2s; }
.uc-track::after, .uc-bars__bar::after, .uc .hatch {
  background: repeating-linear-gradient(135deg, rgba(22, 18, 15, .45) 0 1.5px, transparent 1.5px 4.5px);
  border-left: 1px dashed rgba(22, 18, 15, .6); border-right: 1px dashed rgba(22, 18, 15, .6);
}
.uc-track::after, .uc-bars__bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(2 / 40 * 100%); width: calc(1 / 40 * 100%); z-index: 1; }
.uc .hatch { border: 1px dashed rgba(22, 18, 15, .6); }
.uc-out__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .uc-case__grid { grid-template-columns: 1fr; }
  .uc-case h2 { max-width: 20ch; }
  .uc-case__side .uc-fig { max-width: 620px; }
}
@media (max-width: 640px) {
  .uc-case__id { margin-bottom: 24px; }
  .uc-out__row { grid-template-columns: 1fr; gap: 18px; }
  .uc-stat { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-items: center; padding-top: 14px; }
  .uc-stat .serif-num { font-size: 52px; }
  .uc-stat p { font-size: 15px; }
  .uc-stat .uc-track { grid-column: 1 / -1; }
  .uc-stat--word { grid-template-columns: 1fr; }
  .uc-stat--wide { grid-template-columns: 150px minmax(0, 1fr); }
  .uc-stat--word .serif-num { font-size: 40px; }
  .uc-fan--in .uc-fan__grid { grid-template-columns: auto minmax(24px, 1fr) 96px; }
  .uc-fan--out .uc-fan__grid { grid-template-columns: auto minmax(32px, 1fr) auto; }
  .uc-fan__list li { font-size: 13.5px; min-height: 46px; gap: 8px; }
  .uc-langs li { min-height: 32px; }
  .uc-market { padding: 10px 10px 9px; border-radius: 13px; }
  .uc-fan__src span { font-size: 17px; }
  .uc-matrix tbody th { font-size: 13.5px; }
  .uc-matrix thead th { font-size: 11px; }
  .uc-sieve__row { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); }
  .uc-sieve__arr { margin: 0 4px; }
  .uc-sieve__l span { font-size: 11.5px; }
  .uc-bars__list li { grid-template-columns: minmax(0, 1fr) 3.2em; grid-template-areas: "k n" "b b"; gap: 6px 12px; min-height: 0; padding: 9px 0 10px; font-size: 13.5px; }
  .uc-bars__list li > span:first-child { grid-area: k; }
  .uc-bars__list li > b { grid-area: n; }
  .uc-bars__bar { grid-area: b; }
  .uc-regions__map { gap: 5px; grid-template-rows: repeat(5, 30px); }
  .uc-regions__map > span:not(.uc-regions__emea) { font-size: 10px; letter-spacing: 0; border-radius: 6px; }
  .uc-regions__map .lg { display: none; }
  .uc-regions__map .sm { display: inline; }
  .uc-regions__emea { margin: -3px; border-radius: 9px; }
  .uc-regions__emea b { font-size: 10px; left: 6px; top: -8px; padding: 0 4px; }
  .uc-rings__r span { font-size: 11px; top: 5px; line-height: 1.2; }
  .uc-rings__r.r1 span { bottom: 6px; }
  .uc-tree__root { font-size: 16px; padding: 10px 14px; }
  .uc-tree__list { margin-left: 18px; }
  .uc-tree__list li { padding-left: 26px; }
  .uc-tree__list li::before { width: 18px; }
  .uc-tree__list span { font-size: 13.5px; padding: 8px 12px; gap: 8px; }
  .uc-sites__grid { padding: 10px; gap: 6px; border-radius: 13px; }
  .uc-sites__grid li { padding: 9px 3px 7px; gap: 6px; border-radius: 8px; }
  .uc-sites__grid b { font-size: 9.5px; letter-spacing: 0; }
  .uc-msgs__grid { gap: 10px; }
  .uc-msgs__lang { font-size: 0; padding-right: 0; }
  .uc-msgs__lang b { font-size: 11px; }
  .uc-msg { padding: 11px 11px 12px; gap: 6px; }
  .uc-funnels__row { gap: 10px; }
  .uc-funnel__t { font-size: 13px; gap: 6px; margin-bottom: 12px; }
  .uc-funnel li b { font-size: 11.5px; height: 32px; }
  .uc-funnel li:nth-child(3) b { --fw: 62%; }
  .uc-funnel li span { font-size: 11.5px; }
  .uc-stat--xl { grid-template-columns: 1fr; }
  .uc-move { --gap: 14px; --pad: 8px; }
  .uc-ws { border-radius: 12px; }
  .uc-ws__h { font-size: 10.5px; letter-spacing: .02em; }
  .uc-ws__g { font-size: 11.5px; gap: 6px; margin: 10px 1px 6px; white-space: normal; align-items: flex-start; }
  .uc-ws__g .dot, .uc-ws__g .uc-sq { margin-top: 4px; }
  .uc-ws__t { gap: 5px; }
  .uc-ws__t li { font-size: 12px; padding: 4px 7px; gap: 6px; min-height: 26px; }
  .uc-tb { display: none; }
  .uc-ws__end, .uc-ws__out li { font-size: 11.5px; }
  .uc-move__steps li { font-size: 11.5px; }
}
@media (max-width: 380px) {
  /* titles and labels wrap here, so every column keeps the same line count and the steps stay level */
  .uc-funnel__t { align-items: flex-start; min-height: 3.1em; }
  .uc-funnel__t .dot { margin-top: .42em; }
  .uc-funnel li span { min-height: 3.9em; }
  /* the M-Files matrix headings keep a visible gap at 360 */
  .uc-matrix thead th { font-size: 10px; letter-spacing: 0; padding-inline: 3px; }
  .uc-matrix tbody th { padding-right: 4px; }
}

/* ---------- Motion fallbacks: every animated end state shows ---------- */

@media (prefers-reduced-motion: reduce) {
  .uc-sieve__row > svg, .uc-wires path { opacity: 1; transition: none; }
  .uc-market__dots .m { transition: none; }
  .m--role { fill: var(--sig-role) !important; } .m--champion { fill: var(--sig-champion) !important; }
  .m--social { fill: var(--sig-social) !important; } .m--market { fill: var(--accent) !important; }
  .uc-matrix td i { transform: none; transition: none; }
  .uc-track i { width: calc(var(--v) / 40 * 100%); transition: none; }
  .uc-bars__bar i { width: calc(var(--v) / 40 * 100%); transition: none; }
  .uc-regions__map > span:not(.uc-regions__emea) { background: rgba(255, 95, 46, .16); border-color: var(--accent); color: var(--text); transition: none; }
  .uc-rings__r { transform: translateX(-50%); transition: none; }
  .uc-tree__list span { opacity: 1; transform: none; transition: none; }
  .uc-sites__grid li, .uc-sites__grid b { transition: none; }
  .uc-msg i { width: calc(var(--w) * 1%); transition: none; }
  .uc-funnel li b { transform: none; opacity: 1; transition: none; }
  .uc-ws__t li, .uc-ws__t li::after, .uc-ws__g, .uc-ws__end, .uc-ws__out, .uc-move__steps li, .uc-move__steps li::before { transition: none; }
  .uc-ws--ours .uc-ws__t li { background-color: transparent; border-color: transparent; color: rgba(22, 18, 15, .3); }
  .uc-ws--ours .uc-ws__t li::after { opacity: 1; }
  .uc-ws--ours .uc-ws__g { opacity: .42; }
  .uc-ws--theirs .uc-ws__t li { opacity: 1; transform: none; }
  .uc-ws--theirs .uc-ws__g, .uc-ws__end, .uc-ws__out { opacity: 1; }
  .uc-move__steps li { color: var(--text); }
  .uc-move__steps li::before { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
}
.no-js .uc-bars__bar i { width: calc(var(--v) / 40 * 100%); }
.no-js .uc-regions__map > span:not(.uc-regions__emea) { background: rgba(255, 95, 46, .16); border-color: var(--accent); color: var(--text); }
.no-js .uc-rings__r { transform: translateX(-50%); }
.no-js .uc-tree__list span { opacity: 1; transform: none; }
.no-js .uc-msg i { width: calc(var(--w) * 1%); }
.no-js .uc-funnel li b { transform: none; opacity: 1; }
.no-js .uc-ws--ours .uc-ws__t li { background-color: transparent; border-color: transparent; color: rgba(22, 18, 15, .3); }
.no-js .uc-ws--ours .uc-ws__t li::after { opacity: 1; }
.no-js .uc-ws--ours .uc-ws__g { opacity: .42; }
.no-js .uc-ws--theirs .uc-ws__t li { opacity: 1; transform: none; }
.no-js .uc-ws--theirs .uc-ws__g, .no-js .uc-ws__end, .no-js .uc-ws__out { opacity: 1; }
.no-js .uc-move__steps li { color: var(--text); }
.no-js .uc-move__steps li::before { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.no-js .uc-sites__grid b { color: var(--muted); }
.no-js .uc-sites__grid li.no { color: rgba(22, 18, 15, .26); }
.no-js .uc-sites__grid li.rev { border: 1.5px dashed rgba(22, 18, 15, .5); color: var(--text); }
.no-js .uc-sites__grid li.yes { border: 1.5px solid var(--accent); background: rgba(255, 95, 46, .08); color: var(--text); }
.no-js .uc-sites__grid li.yes b { color: var(--accent-ink); }
.no-js .uc-sieve__row > svg, .no-js .uc-wires path { opacity: 1; }
.no-js .m--role { fill: var(--sig-role); } .no-js .m--champion { fill: var(--sig-champion); }
.no-js .m--social { fill: var(--sig-social); } .no-js .m--market { fill: var(--accent); }
.no-js .uc-matrix td i { transform: none; }
.no-js .uc-track i { width: calc(var(--v) / 40 * 100%); }

.uc-sieve--sig svg { transform: scaleX(-1); }
.uc-sieve--sig svg:last-of-type circle.hit { fill: var(--sig-role); }
