.references-section{padding-top:50px;padding-bottom:40px;scroll-margin-top:110px}.references-intro{max-width:540px}.work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.work-card{display:flex;flex-direction:column;min-width:0;text-align:left;border:1px solid #e3decd;border-radius:16px;overflow:hidden;background:#fff;color:#171918;padding:0;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s;font:inherit}.work-card:hover{transform:translateY(-3px);border-color:#c99e21;box-shadow:0 8px 24px #1719180c}.work-card:focus-visible{outline:3px solid #d5a917;outline-offset:3px}.work-visual{display:flex;align-items:center;justify-content:center;height:150px;width:100%;overflow:hidden;background:#f0eee7;border-bottom:1px solid #eee9db}.work-visual>img{width:100%;height:100%;object-fit:cover}.reference-mark{display:block;width:100%;height:100%;overflow:hidden}.work-caption{display:flex;flex-direction:column;padding:15px;gap:6px}.work-caption b{font-size:15px;line-height:1.35}.work-caption small{font-size:12px;color:#6b6f68;line-height:1.4}.work-open{font-size:11px;color:#86650a;margin-top:5px}.more-references{margin-top:18px;border:1px solid #e3decd;border-radius:14px;background:#fff}.more-references>summary{padding:18px;cursor:pointer;font-weight:650;font-size:14px}.more-references>summary span{font-size:12px;font-weight:400;color:#777b72;margin-left:12px}.more-references[open]>summary{border-bottom:1px solid #eee9db}.more-references>.work-grid,.more-references>.references-grid{padding:16px}.work-gallery .work-visual{height:170px}.reference-dialog{border:0;border-radius:20px;padding:20px;width:min(900px,calc(100vw - 28px));max-width:900px;max-height:88dvh;overflow:auto;background:#fffdf7;box-shadow:0 25px 100px #0006}.reference-dialog::backdrop{background:#111b;backdrop-filter:blur(4px)}.reference-dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.reference-dialog h2{margin:0;font-size:20px;line-height:1.3}.reference-dialog p{margin:6px 0 0;color:#73766e;font-size:13px}.reference-dialog button{border:1px solid #ddd7c8;background:#fffdf7;border-radius:10px;padding:10px 14px;color:#171918;cursor:pointer;font:inherit;font-size:13px}.reference-dialog button:disabled{opacity:.35;cursor:default}#reference-close{flex-shrink:0;background:#171918;color:#f5c842}#reference-full{width:100%;height:min(60dvh,650px);object-fit:contain;display:block;background:#171918;border-radius:10px}#reference-full:not([src]){display:none}.reference-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px}.reference-controls span{font-size:13px;color:#62665d}@media(min-width:1100px){.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.work-visual{height:180px}}@media(max-width:640px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.work-visual{height:105px}.work-caption{padding:11px;gap:5px}.work-caption b{font-size:13px}.work-caption small{font-size:11px}.work-open{font-size:10px}.work-gallery .work-visual{height:120px}.more-references>summary{font-size:13px;padding:16px 12px}.more-references>summary span{display:block;margin:6px 0 0 17px}.more-references>.work-grid{padding:10px}.reference-dialog{padding:14px}.reference-dialog h2{font-size:17px}.references-count{font-size:11px}}
.references-tools{padding:16px 0 18px}.references-tools label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.references-tools input{width:min(100%,470px);padding:12px 14px;border:1px solid #dbd5c6;border-radius:10px;background:#fff;font:inherit;font-size:14px}.references-tools input:focus{outline:2px solid #d5a917;outline-offset:2px}.references-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.references-filters button{border:1px solid #ded8c9;border-radius:20px;background:transparent;color:#60645c;padding:8px 14px;font:inherit;font-size:12px;cursor:pointer}.references-filters button[aria-pressed=true]{background:#171918;color:#f5c842;border-color:#171918}#reference-results{font-size:12px;color:#74786e;margin:12px 0 0}.work-card[hidden]{display:none}.work-gallery .work-visual>img{object-fit:contain;background:#eae7de}

.reference-controls[hidden]{display:none}
.work-visual>img{object-fit:contain;background:#eae7de}
