/* Technical graphite folios — shared by all eight library project cards. */
.project-carousel .project-card .project-stage-card{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);border:1px solid var(--line);border-radius:14px;background:var(--canvas-raised);overflow:hidden;box-shadow:none;isolation:isolate}
.project-carousel .project-card:is(.is-spotlight,:hover,:focus-within) .project-stage-card{border-color:var(--strong-line);transform:none;box-shadow:none}
.project-carousel .project-stage-card:before,.project-carousel .project-stage-card:after{content:'';position:absolute;z-index:3;pointer-events:none;width:15px;height:15px;border-color:var(--muted);border-style:solid;opacity:.35;transition:width .25s,height .25s,border-color .25s,opacity .25s}
.project-carousel .project-stage-card:before{top:7px;left:7px;border-width:1px 0 0 1px}
.project-carousel .project-stage-card:after{bottom:7px;right:7px;border-width:0 1px 1px 0}
.project-carousel .project-card:is(:hover,:focus-within) .project-stage-card:before,.project-carousel .project-card:is(:hover,:focus-within) .project-stage-card:after{width:22px;height:22px;border-color:var(--accent-cyan);opacity:.8}
.project-card .panel-meta.visual-top{grid-column:1/-1;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px 20px;margin:0;padding:15px 24px;border-bottom:1px solid var(--line);background:transparent;position:relative;overflow:hidden}
.project-card .panel-meta .platform-label{font-size:12px}.project-card .panel-meta .study-index{font-family:var(--font-body);font-size:11px;letter-spacing:.02em;white-space:nowrap}
.project-card .panel-meta .verification{font-size:11px;line-height:1.5;color:var(--muted);padding-left:16px;border-left:1px solid var(--line);white-space:normal;max-width:155px}
.project-card .panel-meta:after{content:'';position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,var(--accent-cyan),transparent);transform:translateX(-100%);opacity:0;pointer-events:none}
.project-card:is(:hover,:focus-within) .panel-meta:after{animation:folio-edge-pass .8s cubic-bezier(.22,1,.36,1) both}
.project-carousel .project-card .project-visual.has-screenshot{padding:16px 18px 18px;border:0;background:transparent;min-width:0}
.project-carousel .project-card .project-copy{padding:22px 24px;border:0;border-left:1px solid var(--line);gap:14px;background:transparent;min-width:0}
.project-card .project-copy h4{max-width:none;font-size:clamp(23px,2.1vw,28px);line-height:1.2}
.project-card .card-arrow{display:none}
.project-card .preview-switch{padding:0;margin:0 0 16px;gap:18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;width:100%;min-height:44px;overflow:visible}
.project-card .preview-switch button{position:relative;min-height:44px;padding:8px 0;border-radius:0;font-size:12px;white-space:normal;background:transparent;color:var(--muted)}
.project-card .preview-switch button[aria-pressed=true]{background:transparent;color:var(--fg)}
.project-card .preview-switch button:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent-cyan);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.project-card .preview-switch button[aria-pressed=true]:after{transform:scaleX(1)}
.work-section .project-carousel .project-card .card-screenshot{height:clamp(210px,19vw,260px);padding:4px;border:0;border-radius:6px;background:var(--bg)}
.project-card .preview-caption{padding-top:6px}.project-card .preview-caption .preview-link{font-size:12px}
.project-card .preview-output{padding:8px 0;min-height:240px;border:0;background:transparent;border-radius:0}
.project-card .preview-output dl,.project-card .preview-output p{background:transparent}
.project-carousel .project-card .card-technologies{gap:4px 12px;align-items:baseline}
.project-carousel .project-card .card-technologies li{display:inline-flex;align-items:baseline;gap:12px;padding:0;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.8;color:var(--muted)}
.project-carousel .project-card .card-technologies li+li:before{content:'·';color:var(--muted)}
.project-carousel .project-card .card-bottom{margin-top:auto;padding-top:16px;justify-content:flex-end;border-top:1px solid var(--line)}
.project-carousel .project-card .case-action{min-height:44px;padding:10px 16px;border:1px solid var(--strong-line);border-radius:7px;background:var(--fg);color:var(--bg);font-size:12px}
.project-carousel .project-card .case-action:hover{background:var(--fg);color:var(--bg)}
@keyframes folio-edge-pass{0%{transform:translateX(-100%);opacity:0}20%,75%{opacity:.9}100%{transform:translateX(100%);opacity:0}}
@media(max-width:760px){.project-carousel .project-card .project-stage-card{grid-template-columns:minmax(0,1fr)}.project-card .panel-meta.visual-top{grid-template-columns:1fr auto;padding:16px 18px;gap:8px 12px}.project-card .panel-meta .verification{grid-column:1/-1;border:0;padding:0;max-width:none}.project-carousel .project-card .project-visual.has-screenshot{padding:12px 16px 16px}.project-carousel .project-card .project-copy{padding:20px 18px;border-left:0;border-top:1px solid var(--line)}.work-section .project-carousel .project-card .card-screenshot{height:210px}.project-card .preview-switch{gap:14px}.project-card .project-copy h4{font-size:25px}}
@media(prefers-reduced-motion:reduce){.project-card .panel-meta:after{animation:none!important}.project-carousel .project-stage-card:before,.project-carousel .project-stage-card:after,.project-card .preview-switch button:after{transition:none}}
.project-carousel .project-card.is-spotlight:focus-within .project-stage-card{border-color:var(--strong-line)}
