/* Clients, rebuilt 2026-10-11 in Powder's testimonials (powder-spec
   section 12) with home's pieces. The featured quotes are full width
   testimonial cards on home's rail, one card a step with home's arrows and
   progress line, each card in home's card in card shell, the client's logo
   as a mask, the words, a hairline, who said them, and a real screen of the
   work on the dusk scene. Every other quote runs below in Powder's intro
   marquee, CSS only, paused on hover, on focus and from its own toggle, and
   a still row that scrolls sideways under reduced motion. No quote glyphs,
   no veils, no line is ever cut. Markup from block() b.wall in build.mjs. */

/* the rail, one card wide, so the next card never shows a cut line beside this one */
.ct-rail .pd-rail-track { margin: 0; padding: 0; gap: 24px; scroll-snap-type: x mandatory; }
.ct-item { flex: 0 0 100%; scroll-snap-align: start; padding: 8px; border-radius: 24px; background: var(--pd-well); box-shadow: inset 0 0 0 1px var(--pd-edge); }
.ct-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 376px); gap: 40px; min-height: 536px; margin: 0; padding: 8px; border-radius: 16px; background: var(--pd-card); box-shadow: inset 0 0 0 1px var(--pd-edge); }
.ct-tx { display: flex; flex-direction: column; min-width: 0; padding: 40px 0 40px 40px; }
.ct-logo { display: block; flex: none; background: var(--pd-dim); -webkit-mask: var(--lg) no-repeat 0 50% / contain; mask: var(--lg) no-repeat 0 50% / contain; }
.ct-tx blockquote { margin: auto 0 0; padding-top: 48px; }
.ct-tx blockquote p { margin: 0; max-width: 560px; color: var(--pd-tx); font: 400 24px/38.4px var(--sans); letter-spacing: -.96px; text-wrap: pretty; }
.ct-tx figcaption { display: grid; gap: 2px; max-width: 566px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--pd-edge); }
.ct-tx figcaption b { color: var(--pd-tx); font: 600 16px/24px var(--sans); letter-spacing: -.16px; }
.ct-tx figcaption span { color: var(--pd-dim); font-size: 14px; line-height: 21px; letter-spacing: -.28px; }

/* the work, a real screen standing on the dusk scene, running off the panel's right edge */
.ct-media { position: relative; overflow: hidden; margin: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--pd-edge); background: #2c3036 50% 50% / cover no-repeat;
  background-image: -webkit-image-set(url(/media/scenery/card-1.webp) 1x, url(/media/scenery/card-1@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-1.webp) 1x, url(/media/scenery/card-1@2x.webp) 2x); }
.ct-item:nth-child(3n+2) .ct-media {
  background-image: -webkit-image-set(url(/media/scenery/card-2.webp) 1x, url(/media/scenery/card-2@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-2.webp) 1x, url(/media/scenery/card-2@2x.webp) 2x); }
.ct-item:nth-child(3n) .ct-media {
  background-image: -webkit-image-set(url(/media/scenery/card-3.webp) 1x, url(/media/scenery/card-3@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-3.webp) 1x, url(/media/scenery/card-3@2x.webp) 2x); }
.ct-shot { position: absolute; left: 12%; top: 16%; width: 168%; padding: 8px 0 8px 8px; border-radius: 16px 0 0 16px; background: rgba(23, 23, 23, .78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px rgba(0, 0, 0, .35); }
.ct-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; border-radius: 9px 0 0 9px; }

/* the strip, Powder's intro marquee in its shell */
.ct-strip { position: relative; margin-top: 64px; }
.ct-strip-in { padding: 8px; border-radius: 24px; background: var(--pd-well); box-shadow: inset 0 0 0 1px var(--pd-edge); outline: none; }
.ct-strip-in:focus-visible { outline: 2px solid var(--pd-tx); outline-offset: 2px; }
.ct-view { overflow: hidden; border-radius: 16px;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(270deg, transparent 0, #000 20%, #000 80%, transparent); }
.ct-track { display: flex; width: max-content; animation: ct-run var(--ct-t, 160s) linear infinite; }
.ct-track ul { display: flex; align-items: stretch; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.ct-track li { display: flex; flex-direction: column; gap: 12px; width: max-content; min-width: 176px; max-width: 300px; min-height: 120px; padding: 18px 20px; border-radius: 8px; background: var(--pd-card); box-shadow: inset 0 0 0 1px var(--pd-edge); }
.ct-track p { margin: 0; color: var(--pd-mid); font-size: 14px; line-height: 21px; letter-spacing: -.28px; text-wrap: pretty; }
.ct-track li span { margin-top: auto; color: var(--pd-dim); font-size: 12px; line-height: 18px; letter-spacing: -.12px; }
@keyframes ct-run { to { transform: translateX(-50%); } }
.ct-strip:is(:hover, :focus-within) .ct-track, .ct-strip:has(.ct-hold input:checked) .ct-track { animation-play-state: paused; }

/* its pause, a small glass button over the strip's faded right edge */
.ct-hold { position: absolute; top: 50%; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--pd-arr); box-shadow: inset 0 0 0 1px var(--pd-edge); color: var(--pd-mid); cursor: pointer; transition: color 250ms cubic-bezier(.22, 1, .36, 1), box-shadow 250ms cubic-bezier(.22, 1, .36, 1); }
.ct-hold::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; }
.ct-hold:hover { color: var(--pd-tx); box-shadow: inset 0 0 0 1px var(--pd-edge-2); }
.ct-hold input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-hold:has(input:focus-visible) { outline: 2px solid var(--pd-tx); outline-offset: 2px; }
.ct-hold svg { width: 16px; height: 16px; }
.ct-hold .pl, .ct-hold:has(input:checked) .ps { display: none; }
.ct-hold:has(input:checked) .pl { display: inline; }

/* reduced motion, the strip stands still as wrapped rows, one copy, every word in view */
@media (prefers-reduced-motion: reduce) {
  .ct-track { display: block; width: auto; animation: none; }
  .ct-track ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 0; }
  .ct-track li { width: auto; min-width: 0; max-width: none; min-height: 112px; }
  .ct-track ul + ul, .ct-hold { display: none; }
  .ct-view { -webkit-mask-image: none; mask-image: none; }
}

/* without script the cards stack, there are no arrows to step them */
html:not(.js) .ct-rail .pd-rail-track { flex-direction: column; overflow: visible; }

/* tablets, a narrower screen panel */
@media (max-width: 1100px) and (min-width: 901px) {
  .ct-card { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; min-height: 480px; }
  .ct-tx { padding: 32px 0 32px 32px; }
  .ct-tx blockquote p { font-size: 22px; line-height: 34px; letter-spacing: -.66px; }
}
/* phones and small tablets, the screen on top, the words under it */
@media (max-width: 900px) {
  .ct-item { padding: 6px; border-radius: 20px; }
  .ct-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; min-height: 0; padding: 6px; border-radius: 14px; }
  .ct-media { order: -1; height: 200px; }
  .ct-shot { left: 9%; top: 14%; width: 140%; }
  .ct-tx { padding: 28px 18px 18px; }
  .ct-tx blockquote { padding-top: 28px; }
  .ct-tx blockquote p { font-size: 20px; line-height: 32px; letter-spacing: -.6px; }
  .ct-strip { margin-top: 48px; }
  .ct-strip-in { padding: 6px; border-radius: 20px; }
  .ct-view { border-radius: 14px; }
  .ct-track li { max-width: 240px; }
  .ct-hold { right: 12px; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .ct-track ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; } .ct-track li { padding: 14px 14px 12px; min-height: 0; } }
@media (min-width: 600px) and (max-width: 900px) { .ct-media { height: 280px; } .ct-shot { width: 110%; } }

/* the client list, home's image cards, the real screen framed on Powder's dusk cards */
body[data-page="testimonials"] .pd-card-shot { background: #2c3036 url(/media/scenery/card-1.webp) 50% 50% / cover no-repeat;
  background-image: -webkit-image-set(url(/media/scenery/card-1.webp) 1x, url(/media/scenery/card-1@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-1.webp) 1x, url(/media/scenery/card-1@2x.webp) 2x); }
body[data-page="testimonials"] .pd-cards li:nth-child(2) .pd-card-shot {
  background-image: -webkit-image-set(url(/media/scenery/card-2.webp) 1x, url(/media/scenery/card-2@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-2.webp) 1x, url(/media/scenery/card-2@2x.webp) 2x); }
body[data-page="testimonials"] .pd-cards li:nth-child(3) .pd-card-shot {
  background-image: -webkit-image-set(url(/media/scenery/card-3.webp) 1x, url(/media/scenery/card-3@2x.webp) 2x);
  background-image: image-set(url(/media/scenery/card-3.webp) 1x, url(/media/scenery/card-3@2x.webp) 2x); }
body[data-page="testimonials"] .pd-card-shot img { inset: 16% auto auto 9%; width: 82%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 8px; background: #0e0e10; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 0 0 7px rgba(255, 255, 255, .22), 0 24px 48px rgba(0, 0, 0, .4); }
