.portfolio{padding:65px 7% 85px}.portfolio h1{font-size:clamp(32px,4vw,60px)}.portfolio>p{line-height:1.9;max-width:680px}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:40px 0}.project-card{min-width:0}.project-card img{width:100%;height:300px;object-fit:cover;display:block}.project-card h3{font-size:18px;line-height:1.6}.project-card h3 span{float:right}.project-card p{font-size:13px;color:#6a5b60}.detail-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}.detail-gallery a:first-child{grid-column:1/-1}.detail-gallery img{width:100%;height:auto;display:block}.editor{display:grid;grid-template-columns:260px 1fr;gap:50px;margin-top:40px}.editor label{display:block;font-size:13px;margin:22px 0 8px}.editor input,.editor textarea,.editor select{width:100%;padding:14px;border:1px solid #4c202944;background:#fff;font:inherit;color:var(--wine);border-radius:0}.editor textarea{min-height:130px}.editor button{cursor:pointer;border:0}.editor .button{margin-right:15px}.editor .existing{background:transparent;border:1px solid #4c202944;padding:14px;width:100%;margin-bottom:10px;text-align:left;color:var(--wine);font:inherit;cursor:pointer}.editor small{display:block;line-height:1.7;color:#6a5b60;margin-top:10px}.upload-previews{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.upload-previews img{width:100px;height:90px;object-fit:cover}.status{line-height:1.8;min-height:30px}.project-description{white-space:pre-line}.editor .secondary{background:transparent;color:var(--wine);border:1px solid #4c202944}@media(max-width:800px){.portfolio-grid{grid-template-columns:1fr 1fr}.project-card img{height:230px}.editor{grid-template-columns:1fr;gap:15px}}@media(max-width:500px){.portfolio-grid{grid-template-columns:1fr}.project-card img{height:280px}.detail-gallery{grid-template-columns:1fr}.portfolio{padding:40px 7%}.detail-gallery a:first-child{grid-column:auto}}
@media(max-width:600px){header .nav-cta[href="/admin"]{font-size:11px;line-height:1.6;max-width:115px;text-align:right}}

.other-projects{margin-top:65px;padding-top:35px;border-top:1px solid #4c202930}.other-projects ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 35px}.other-projects li{padding:20px 0;border-bottom:1px solid #4c202930}.other-projects h3{font-size:16px;line-height:1.7;margin:0}.other-projects li p{font-size:13px;color:#6a5b60;margin:8px 0 0}@media(max-width:700px){.other-projects ul{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.other-projects ul{grid-template-columns:1fr}}

.auth-box{max-width:550px;margin:15px auto 60px}.auth-box h1{font-size:clamp(30px,4vw,48px)}.auth-box>p{line-height:1.8}.auth-form{margin:30px 0}.auth-form label{display:block;font-size:13px;margin:20px 0 8px}.auth-form input{width:100%;padding:15px;border:1px solid #4c202944;background:white;font:inherit;color:var(--wine)}.auth-form button{border:0;cursor:pointer}.auth-form small{display:block;margin-top:10px}.auth-message{background:#ebe3dc;padding:16px;font-size:14px}.admin-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap;font-size:13px;margin-bottom:35px}.admin-toolbar form{margin:0}.admin-toolbar button{font:inherit;background:transparent;color:var(--wine);padding:10px;border:1px solid #4c202944;cursor:pointer}
