/* Vendored from design/samples/concept-14-clients.html <style> by scripts/vendor-c14.mjs — edit the design file, then re-run. */

  /* the clients index, one craft at a time: a big title, three tabs, one row per brand with its own work */
  .cx-hero { padding: clamp(36px, 7vh, 88px) var(--m) 0; display: grid; gap: clamp(20px, 3vh, 32px); }
  .cx-hero__top { display: flex; justify-content: space-between; align-items: end; gap: var(--gap); flex-wrap: wrap; }
  .cx-hero h1 { font-size: var(--s-display); }
  .cx-hero p { font-size: var(--s-lead); line-height: 1.3; max-width: 36ch; }
  .cx-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); overflow-x: auto; scrollbar-width: none; } /* taste-skill-ignore: the tab rule is the tabs' baseline */
  .cx-tabs::-webkit-scrollbar { display: none; }
  .cx-tabs a { flex: none; display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 22px 12px; font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.625rem); font-weight: 800; text-decoration: none; color: #8a8a8a; transition: color 200ms ease, background-color 200ms ease; }
  .cx-tabs a small { font-size: 0.6em; font-weight: 400; }
  .cx-tabs a[aria-current="true"] { color: var(--paper); background: var(--ink); }
  .cx-tabs a:hover { color: var(--ink); } .cx-tabs a[aria-current="true"]:hover { color: var(--paper); }
  /* one row per brand: a badge in its colour with the logo, its name and line, and a strip of whole pieces */
  @keyframes cr-in { from { opacity: 0; transform: translateY(14px); } }
  .cr { animation: cr-in 600ms var(--ease-out) both; }
  .cr:nth-child(2) { animation-delay: 60ms; } .cr:nth-child(3) { animation-delay: 120ms; } .cr:nth-child(4) { animation-delay: 180ms; }
  .crs { display: grid; gap: 10px; padding: clamp(24px, 3vw, 40px) var(--m) 0; }
  .cr__a { position: relative; display: grid; grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr); gap: clamp(20px, 2.4vw, 40px); align-items: center; padding: clamp(18px, 2vw, 26px); text-decoration: none; color: var(--ink); background: #fafafa; transition: background-color 400ms ease; }
  .cr__text { display: flex; align-items: center; gap: 18px; min-width: 0; }
  .cr__badge { flex: none; width: clamp(96px, 8vw, 132px); height: clamp(64px, 5vw, 80px); display: flex; align-items: center; justify-content: flex-start; }
  .cr__badge img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .cr__badge img.ink { filter: brightness(0); }
  .cr__badge b { font-size: 1.75rem; color: #0a0a0a; } .cr__badge--dark b { color: #fff; }
  .cr__who { display: grid; gap: 4px; min-width: 0; }
  .cr__name { font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem); line-height: 1.15; }
  .cr__line { font-size: var(--s-body); color: var(--muted); }
  .cr__strip { --sh: clamp(160px, 14vw, 210px); display: flex; gap: 12px; height: var(--sh); overflow: hidden; align-items: stretch; }
  .cr__p { flex: none; width: calc(var(--a) * var(--sh)); height: 100%; background: var(--soft); overflow: hidden; transition: transform 600ms var(--ease-out); }
  .cr__p[hidden] { display: none; }
  .cr__p img, .cr__p video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cr__p--product { background: color-mix(in srgb, var(--field) 40%, #fff); }
  .cr__p--product img { object-fit: contain; padding: 8%; }
  .cr__more { flex: none; width: calc(var(--sh) * 0.62); display: grid; place-items: center; background: var(--field); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 800; color: #0a0a0a; direction: ltr; }
  .cr__more[hidden] { display: none; }
  @media (hover: hover) and (pointer: fine) {
    .cr__a:hover { background: color-mix(in srgb, var(--field) 14%, #fff); }
    .cr__a:hover .cr__p { transform: translateY(-4px); }
    .cr__a:hover .cr__p:nth-child(2) { transition-delay: 40ms; } .cr__a:hover .cr__p:nth-child(3) { transition-delay: 80ms; }
  }
  /* the logo wall: brands with little to show, as small tiles */
  .cwall { padding: clamp(48px, 5vw, 80px) var(--m) 0; }
  .cwall h2 { font-size: var(--s-head); margin-bottom: clamp(18px, 2vw, 28px); }
  .cwall ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
  .ct2 { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
  .ct2__face { aspect-ratio: 4 / 3; background: #f6f6f4; display: flex; align-items: center; justify-content: center; padding: 18%; transition: transform 500ms var(--ease-out); }
  .ct2__face img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .ct2__face img.ink { filter: brightness(0); }
  .ct2__face b { font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem); text-align: center; color: var(--field); unicode-bidi: plaintext; filter: brightness(0.8); }
  .ct2__name { font-weight: 800; font-size: var(--s-body); unicode-bidi: plaintext; }
  .ct2__line { font-size: var(--s-small); color: var(--muted); }
  @media (hover: hover) and (pointer: fine) { .ct2:hover .ct2__face { transform: translateY(-4px); } }
  @media (max-width: 760px) { .cwall ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .cl-end { padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
  .cl-end h2 { grid-column: 1 / span 7; font-size: var(--s-head); }
  .cl-end p { grid-column: 8 / span 5; font-size: var(--s-body); }
  @media (max-width: 760px) {
    .cx-tabs { margin-inline: 0; padding-inline: 0; }
    .cx-tabs a { padding: 10px 10px 8px; font-size: 1rem; gap: 6px; }
    .crs { padding-inline: 0; gap: 8px; }
    .cr__a { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
    .cr__text { padding-inline: var(--m); }
    .cr__badge { width: 96px; height: 52px; }
    .cr__strip { --sh: 180px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--m); scrollbar-width: none; }
    .cr__strip::-webkit-scrollbar { display: none; }
    .cr__p { scroll-snap-align: start; }
    .cl-end h2, .cl-end p { grid-column: 1 / -1; }
  }
