/* Case navigation reuses the homepage Further work row layout and visual tokens. */
.case-project-index{--index-ink:var(--v-ink,#191b1c);--index-muted:var(--v-muted,#62666c);--index-blue:var(--v-blue,#2459ec);--index-line:var(--v-line,#d6d8d4);--index-paper:var(--v-paper,#f6f6f2);--index-ease:var(--v-ease,cubic-bezier(.16,1,.3,1));padding-block:64px 80px;color:var(--index-ink)}
.project-index-heading{display:flex;justify-content:space-between;align-items:baseline;gap:24px}
.project-index-heading h2{margin:0;font-size:clamp(36px,5vw,68px);font-weight:500;line-height:1.05;letter-spacing:-.045em}
.project-index-count{flex-shrink:0;font-size:13px;color:var(--index-muted)}
.project-index-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 14px;min-height:44px}
.project-index-toolbar p{margin:0;font-size:14px;color:var(--index-muted)}
.project-index-controls{display:flex;gap:8px}.project-index-controls[hidden]{display:none}
.project-index-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--index-line);border-radius:50%;background:transparent;color:var(--index-ink);cursor:pointer}
.project-index-controls button:hover:not(:disabled){color:var(--index-blue);border-color:var(--index-blue)}
.project-index-controls button:disabled{opacity:.3;cursor:default}
.case-project-index .icon{width:20px;height:20px;flex-shrink:0}
.case-project-index .project-index-list{position:relative;max-height:min(520px,65svh);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--index-muted) transparent;margin:0;border-block:1px solid var(--index-line);scroll-padding-block:10px;overflow-anchor:none}
.case-project-index .fw-row{position:relative;display:grid;grid-template-columns:44px minmax(0,1.1fr) minmax(0,1.55fr) minmax(140px,.55fr) 24px;grid-template-areas:"num title description category action";gap:clamp(16px,2.4vw,36px);align-items:center;padding:26px 12px 26px 4px;border:0;border-bottom:1px solid var(--index-line);color:inherit;text-decoration:none;background:transparent}
.case-project-index .fw-row:last-child{border-bottom:0}
.case-project-index .fw-row::before{content:"";position:absolute;inset:0;background:var(--index-blue);opacity:.06;transform:scaleX(0);transform-origin:left;transition:transform .6s var(--index-ease);pointer-events:none}
.case-project-index .fw-row:hover::before,.case-project-index .fw-row:focus-visible::before{transform:scaleX(1)}
.case-project-index .fw-row[aria-current="page"]::before{transform:scaleX(1);opacity:.09}
.case-project-index .fw-row>.wo-num{grid-area:num;display:block;padding-left:4px;font-size:13px;color:var(--index-muted)}
.project-index-name{grid-area:title;min-width:0;position:relative}
.case-project-index .fw-row h3{margin:0;font-size:clamp(20px,1.7vw,26px);font-weight:500;line-height:1.3;letter-spacing:-.02em;transition:transform .6s var(--index-ease),color .4s var(--index-ease)}
.case-project-index .fw-row:hover h3,.case-project-index .fw-row:focus-visible h3{transform:translateX(8px);color:var(--index-blue)}
.case-project-index .fw-row[aria-current="page"] h3,.case-project-index .fw-row[aria-current="page"]>.icon{color:var(--index-blue)}
.project-index-current{display:block;margin-top:6px;color:var(--index-blue);font-size:12px;font-weight:500;letter-spacing:0}
.case-project-index .fw-row>p{grid-area:description;margin:0;max-width:59ch;font-size:16px;line-height:1.6;color:var(--index-muted)}
.case-project-index .fw-row>.category-chip{grid-area:category;display:block;justify-self:end;padding:0;border:0;background:none;color:var(--index-muted);font-size:13px;line-height:1.4;white-space:normal}
.case-project-index .fw-row>.icon{grid-area:action;justify-self:end;width:18px;height:18px}
.case-project-index :focus-visible{outline:2px solid var(--index-blue);outline-offset:-2px}
@media(max-width:1050px){.case-project-index .fw-row{grid-template-columns:40px minmax(0,1fr) minmax(0,1.5fr) 24px;grid-template-areas:"num title description action" ". category description action";row-gap:8px}.case-project-index .fw-row>.category-chip{justify-self:start}}
@media(max-width:700px){.case-project-index{padding-block:40px 56px}.project-index-heading{align-items:flex-end;gap:12px}.project-index-heading h2{max-width:8em;font-size:clamp(34px,9vw,48px)}.project-index-toolbar{margin-top:22px;gap:12px}.project-index-toolbar p{max-width:20ch}.case-project-index .fw-row{grid-template-columns:28px minmax(0,1fr) 20px;grid-template-areas:"num title action" ". description description" ". category category";gap:8px 12px;padding-block:22px}.case-project-index .fw-row h3{font-size:20px}.case-project-index .fw-row>p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.case-project-index .fw-row::before,.case-project-index .fw-row h3{transition:none}.case-project-index .fw-row:hover h3,.case-project-index .fw-row:focus-visible h3{transform:none}}
@media print{.case-project-index .project-index-list{max-height:none;overflow:visible}.project-index-toolbar{display:none}.case-project-index .fw-row{break-inside:avoid}}

.project-index-controls button[data-project-scroll="-1"] .icon{transform:rotate(180deg)}
