/* Work index: one card per case study, rendered from js/work-data.js. The card itself lives in base.css. */

.work-head { margin-top: clamp(40px, 6vw, 88px); }
.cases { list-style: none; display: grid; row-gap: clamp(56px, 7vw, 104px); }
.work-more { margin-top: clamp(56px, 6vw, 88px); padding-top: 14px; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 46em; }
.work-more a { color: var(--ink); }

/* filter: All · Product design · Brand and graphic (js/work.js shows it once both kinds exist) */
.work-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: calc(-1 * clamp(12px, 2vw, 28px)) 0 clamp(32px, 4vw, 52px); }
.work-filter[hidden] { display: none; }
.work-filter button { display: inline-block; min-height: 44px; padding: 12px 2px; font-size: 15.5px; line-height: 1.3;
  color: var(--ink-2); white-space: nowrap; text-decoration: none; }
.work-filter button { position: relative; }
.work-filter button + button { margin-inline-start: 30px; }
.work-filter button + button::before { content: ""; position: absolute; inset-inline-start: -17px; top: calc(50% - 1.5px); width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.work-filter button:hover { color: var(--ink); }
.work-filter button[aria-pressed="true"] { color: var(--ink); }
.work-filter button[aria-pressed="true"] .wf-t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--data); }
.wf-n { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.case-card[hidden] { display: none; }
