/* The use cases page (/use-cases/): one wide panel per use case, grouped by team. The picture is the homepage carousel's own tile
   (css/use-cases.css draws it; this file only sizes it, at its tall size with no words), beside the words: a title, one line, the
   three steps and a link to the use case's page. Panels alternate sides. A sticky bar of group chips jumps between the groups. */
.arc-concept .ucp { padding-top: calc(var(--nav-h) + clamp(18px, calc(11vw - 80px), 70px)); }
.arc-concept .ucp-cases { --ucp-pic: 500px; padding: 0; }

/* hero */
.arc-concept .ucp-hero { text-align: center; max-width: 820px; margin: 0 auto clamp(28px, 3vw, 40px); }
.arc-concept .ucp-hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 6vw, 80px); font-weight: 600; letter-spacing: var(--track-display, -.022em); line-height: 1.02; }
.arc-concept .ucp-lede { margin: clamp(14px, 1.4vw, 20px) auto 0; max-width: 34em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--ink-2); text-wrap: balance; }
.arc-concept .ucp-guide { margin: 14px 0 0; font-size: 15px; color: var(--ink-3, #6e6e73); }
.arc-concept .ucp-guide a { color: var(--fx-blue, #0071e3); text-decoration: none; }
.arc-concept .ucp-guide a:hover { text-decoration: underline; }

/* the group bar: sticks under the site nav */
.arc-concept .ucp-bar { position: sticky; top: calc(var(--nav-h) + 4px); z-index: 20; padding: 10px 0; margin-bottom: clamp(12px, 2vw, 24px); }
.arc-concept .ucp-bar .case-filter { margin: 0 auto; width: max-content; max-width: calc(100% - 24px); padding: 6px; border-radius: 999px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--canvas, #fff) 82%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 8px 24px -12px rgba(0,0,0,.18); }
.arc-concept .ucp-bar .case-filter::-webkit-scrollbar { display: none; }
.arc-concept .ucp-bar .case-chip { flex: none; text-decoration: none; border-color: transparent; background: transparent; white-space: nowrap; }
.arc-concept .ucp-bar .case-chip[aria-current="true"] { background: var(--ink); color: var(--canvas, #fff); border-color: var(--ink); }
[data-theme="dark"] .arc-concept .ucp-bar .case-filter { box-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 8px 24px -12px rgba(0,0,0,.6); }

/* groups */
.arc-concept .ucp-group { padding-top: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--nav-h) - 10px); }
.arc-concept .ucp-group-head { max-width: 640px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.arc-concept .ucp-group-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; letter-spacing: var(--track-display, -.022em); line-height: 1.05; }
.arc-concept .ucp-group-head p { margin: 12px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); }

/* a panel: the tile and the words, centred together; every other one mirrored */
.arc-concept .ucp-panel { display: grid; grid-template-columns: var(--ucp-pic) minmax(0, 440px); justify-content: center; align-items: center; gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(24px, 3vw, 40px); }
.arc-concept .ucp-panel--flip { grid-template-columns: minmax(0, 440px) var(--ucp-pic); }
.arc-concept .ucp-panel--flip .ucp-pic { order: 2; }
.arc-concept .ucp-pic { width: var(--ucp-pic); }
.arc-concept .ucp-cases .ucp-pic > .bx-tile { width: 100%; height: 520px; box-shadow: var(--case-elev, 0 1px 2px rgba(0,0,0,.04), 0 4px 12px -4px rgba(0,0,0,.09)); }
.arc-concept .ucp-cases .ucp-pic > .bx-tile:hover { scale: none; }
.arc-concept .ucp-copy h3 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: var(--track-display, -.022em); line-height: 1.1; text-wrap: balance; }
.arc-concept .ucp-copy > p { margin: 12px 0 0; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.arc-concept .ucp-steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.arc-concept .ucp-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: .5px solid var(--hairline-2, rgba(0,0,0,.12)); font-size: 16px; line-height: 1.4; color: var(--ink); }
.arc-concept .ucp-steps li:last-child { border-bottom: .5px solid var(--hairline-2, rgba(0,0,0,.12)); }
.arc-concept .ucp-steps li::before { content: counter(s); font-size: 14px; font-weight: 600; color: var(--ink-3, #6e6e73); }
.arc-concept .ucp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 17px; font-weight: 500; color: var(--fx-blue, #0071e3); text-decoration: none; }
[data-theme="dark"] .arc-concept .ucp-more, [data-theme="dark"] .arc-concept .ucp-guide a { color: #2997ff; }
.arc-concept .ucp-more .ucp-arrow { transition: translate .25s ease; }
.arc-concept .ucp-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.arc-concept .ucp-more:hover .ucp-arrow { translate: 3px 0; }

/* the tile with no words: pieces placed under a title move up into its space */
.arc-concept .ucp-cases .ucp-pic .t-day .art { top: 20px; }
.arc-concept .ucp-cases .ucp-pic .bx-tall .v9-list { top: 28px; }
.arc-concept .ucp-cases .ucp-pic .bx-tall .v9-pills { top: -20px; }
.arc-concept .ucp-cases .ucp-pic .bx-tall .v8-card { top: 24px; }

/* the close */
.arc-concept .ucp-end { text-align: center; padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 112px); }
.arc-concept .ucp-end h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; letter-spacing: var(--track-display, -.022em); line-height: 1.05; }
.arc-concept .ucp-end p { margin: 14px auto 0; max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); }
.arc-concept .ucp-cta { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

@media (max-width: 1080px) { .arc-concept .ucp-cases { --ucp-pic: 400px; } }
@media (max-width: 820px) {
  .arc-concept .ucp-cases { --ucp-pic: 100%; }
  .arc-concept .ucp-cases .ucp-pic > .bx-tile { height: 480px; }
  .arc-concept .ucp-panel, .arc-concept .ucp-panel--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
  .arc-concept .ucp-panel--flip .ucp-pic { order: 0; }
  .arc-concept .ucp-copy { width: 100%; max-width: 480px; }
  .arc-concept .ucp-bar { top: calc(var(--nav-h) + 4px); }
  .arc-concept .ucp-group { scroll-margin-top: calc(var(--nav-h) + 18px); }
  .arc-concept .ucp-bar .case-filter { justify-content: flex-start; }
}

/* the groups take the panels' width, so a group's heading starts where its panels do */
.arc-concept .ucp-group { box-sizing: content-box; max-width: calc(var(--ucp-pic) + 440px + clamp(40px, 6vw, 96px)); margin-inline: auto; }
.arc-concept .ucp-panel { justify-content: space-between; }
/* the shoes: with no words to sit beside, the photo takes the whole tile and the text arrives over its lower edge */
.arc-concept .ucp-cases .ucp-pic .bx-tall:has(.v9-half) .v9-half { top: 14px; }
