.portfolio-filters{display:flex;flex-wrap:wrap;margin:26px 0;padding:0;gap:10px}
.portfolio-kind-label{display:block;margin:20px 24px -10px;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#637d71}.portfolio-art-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:start}.portfolio-art-sheet{display:block;min-width:0;border:1px solid #c5d1c2;border-radius:18px;padding:18px;background:#fffaf0;box-shadow:0 10px 24px #2448490c;transition:transform .3s,box-shadow .3s}.portfolio-art-sheet figure{margin:0}.portfolio-art-sheet img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;background:#f6efdf}.portfolio-art-sheet figcaption{display:flex;justify-content:space-between;gap:15px;margin-top:16px;font-size:13px;overflow-wrap:anywhere}.portfolio-sheet-top{display:flex;justify-content:space-between;gap:10px;color:#718276;font-size:9px;letter-spacing:1px;margin-bottom:14px}.portfolio-graphics .portfolio-art-gallery{padding:34px 22px;background:#e5e7d6;border-radius:26px}.portfolio-graphics .portfolio-art-sheet{position:relative;border-radius:3px;transform:rotate(-2deg);padding:24px 18px 18px}.portfolio-graphics .portfolio-art-sheet:nth-child(2){transform:rotate(2deg);margin-top:24px}.portfolio-graphics .portfolio-art-sheet:before{content:'';position:absolute;top:-11px;left:calc(50% - 28px);width:56px;height:25px;background:#e6d392bb;transform:rotate(-5deg)}.portfolio-promotion .portfolio-art-gallery{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;background:#dce5d7;border:1px solid #cbd7c8;border-radius:26px}.portfolio-promotion .portfolio-art-sheet:first-child{grid-column:1/-1}.portfolio-promotion .portfolio-art-sheet{background:#edf1e3}.portfolio-other .portfolio-art-gallery{grid-template-columns:1.4fr 1fr}.portfolio-other .portfolio-art-sheet:first-child{grid-row:span 2}.project-kind-graphics .project-card-cover,.project-kind-promotion .project-card-cover,.project-kind-other .project-card-cover{padding:22px;background:#e4e8d8}.project-kind-graphics .project-card-cover:before,.project-kind-promotion .project-card-cover:before,.project-kind-other .project-card-cover:before{display:none}.project-kind-graphics .project-card-cover>img{object-fit:contain;transform:rotate(-2deg);background:#fffaf0;box-shadow:0 5px 12px #24484920}.project-kind-promotion .project-card-cover{padding:14px;background:#dce5d7}.project-kind-promotion .project-card-cover>img,.project-kind-other .project-card-cover>img{object-fit:contain}.portfolio-art-sheet:hover,.portfolio-art-sheet:focus-visible{transform:translateY(-4px);box-shadow:0 16px 32px #2448491a}@media(max-width:760px){.portfolio-art-gallery,.portfolio-promotion .portfolio-art-gallery,.portfolio-other .portfolio-art-gallery{grid-template-columns:1fr}.portfolio-graphics .portfolio-art-gallery{padding:26px 18px}.portfolio-graphics .portfolio-art-sheet:nth-child(2){margin-top:0}.portfolio-other .portfolio-art-sheet:first-child{grid-row:auto}.portfolio-filters{gap:8px}.portfolio-filters a{padding:9px 14px}}@media(prefers-reduced-motion:reduce){.portfolio-art-sheet{transition:none}.portfolio-art-sheet:hover{transform:none}}

@media(max-width:700px){.portfolio-filters.service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

.project-grid>.project[hidden],[data-portfolio-empty][hidden]{display:none!important}
.portfolio-filter-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#portfolio-works{scroll-margin-top:120px}
.portfolio-return{padding-top:24px}.portfolio-back{display:inline-flex;align-items:center;gap:12px;border:1px solid #c8d3c4;border-radius:14px;padding:11px 16px;background:#e4e9d8;box-shadow:0 3px 0 #2448490b;font-size:14px;transition:background .2s,translate .2s}.portfolio-back:hover{background:#d6e2d1;translate:-3px 0}.portfolio-back-category{padding-left:12px;border-left:1px solid #24484925;color:#657d70;font-size:12px}
@media(max-width:760px){.portfolio-promotion .portfolio-art-gallery{grid-template-columns:1fr}.portfolio-back{flex-wrap:wrap;gap:10px;font-size:13px}.portfolio-back-category{font-size:11px}}
@media(prefers-reduced-motion:reduce){.portfolio-back{transition:none}.portfolio-back:hover{translate:none}}

/* Различаются именно карточки списка: отчётная панель и свободная обложка. */
.project-kind-promotion .project-card-cover{padding:42px 16px 16px;background:#e5eadd;border-bottom:1px solid #c8d3c4}
.project-kind-promotion .project-card-cover>img{object-fit:contain;background:#fffbf0;border:1px solid #cbd5c5;border-radius:8px;padding:5px}
.portfolio-report-heading{position:absolute;top:12px;left:17px;right:17px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:500;letter-spacing:.5px;color:#466359}
.portfolio-report-heading>i{color:#b96651;font-size:14px}
.portfolio-report-heading>b{display:flex;align-items:end;gap:3px;height:15px;margin-left:auto}
.portfolio-report-heading>b>i{display:block;width:4px;height:8px;background:#8db7af;border-radius:2px}
.portfolio-report-heading>b>i:nth-child(2){height:13px;background:#d8c478}.portfolio-report-heading>b>i:nth-child(3){height:10px;background:#b96651}
.project-kind-other .project-card-cover{padding:0;background:#f6efdf}
.project-kind-other .project-card-cover>img{object-fit:cover;border-radius:0}

/* Планшет: две карточки в ряд; телефон использует одну колонку. */
@media(min-width:761px) and (max-width:1100px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-grid>.project{width:100%;min-width:0}.project-grid .project-card-cover{aspect-ratio:16/10}}

@media(max-width:1100px){.home-projects .project-grid>.project:nth-child(n+3){display:none!important}}
