:root{color:#1f1f1f;background:#f4f4f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html{min-height:100%;background:linear-gradient(#ededed 1px,transparent 1px),linear-gradient(90deg,#ededed 1px,transparent 1px),#f7f7f5;background-size:40px 40px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(#ededed 1px,transparent 1px),linear-gradient(90deg,#ededed 1px,transparent 1px),#f7f7f5;background-size:40px 40px}#app{min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.site-shell,.portfolio-page{width:min(1360px,calc(100% - 48px));min-height:100vh;margin:0 auto}.site-nav{display:flex;align-items:center;justify-content:space-between;padding:30px 0 22px;border-bottom:1px solid #d8d8d4}.wordmark{font-size:15px;font-weight:800;letter-spacing:0}.site-nav nav,.row-actions,.form-actions,.switch-row{display:flex;align-items:center;gap:12px}.site-nav nav a{color:#5f5f5f;font-size:14px;font-weight:700}.portfolio-heading{padding:clamp(44px,8vh,78px) 0 clamp(24px,4vh,38px)}.portfolio-heading p,.eyebrow{margin:0 0 12px;color:#777;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.portfolio-heading h1{margin:0;color:#1f1f1f;font-size:clamp(44px,6vw,86px);line-height:1;letter-spacing:0}.portfolio-list{padding:0 0 clamp(48px,8vh,96px)}.primary-button,.secondary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:1px solid transparent;border-radius:8px;cursor:pointer;font-weight:750;transition:transform .18s ease,border-color .18s ease,background .18s ease}.primary-button{background:#1f1f1f;color:#fff}.secondary-button,.ghost-button{border-color:#d8d8d8;background:#fff;color:#2a2a2a}.primary-button:hover,.secondary-button:hover,.ghost-button:hover{transform:translateY(-1px)}.primary-button.full{width:100%}.project-card,.table-card,.login-card,.form-section{border:1px solid #d8d8d4;border-radius:8px;background:#ffffffe6;box-shadow:none}.section-block{padding:76px 0}.section-heading{display:grid;grid-template-columns:.8fr 1fr;gap:28px;align-items:end;margin-bottom:28px}.section-heading h2{margin-bottom:0;font-size:38px;line-height:1.08}.section-heading p:last-child{color:#5b655f;line-height:1.7}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(16px,2vw,24px)}.project-link{display:grid;min-height:100%;grid-template-rows:auto 1fr}.project-cover{position:relative;aspect-ratio:16 / 9;overflow:hidden;border-bottom:1px solid #d8d8d4;background:#e8e8e4}.project-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}.project-cover.empty{display:grid;place-items:center;background:linear-gradient(135deg,rgba(0,0,0,.045) 25%,transparent 25%) 0 0 / 18px 18px,linear-gradient(135deg,transparent 75%,rgba(0,0,0,.045) 75%) 0 0 / 18px 18px,#e8e8e4}.project-cover.empty div{display:grid;gap:8px;text-align:center}.project-cover.empty span{color:#777;font-size:12px;font-weight:850}.project-cover.empty strong{color:#303030;font-size:18px}.project-body{display:grid;grid-template-rows:auto 1fr auto auto;gap:16px;min-height:250px;padding:24px}.project-card h3{margin-bottom:0;color:#222;font-size:24px;line-height:1.25}.project-card p{margin-bottom:0;color:#5e5e5e;line-height:1.7}.tags{display:flex;flex-wrap:wrap;gap:8px}.tags span,.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eeeeec;color:#333;font-size:12px;font-weight:750}.open-action{display:flex;align-items:center;justify-content:space-between;align-self:end;margin-top:auto;padding-top:14px;border-top:1px solid #e3e3df;color:#222;font-weight:850}.open-action:after{content:"↗";font-size:16px}.project-card{transition:border-color .18s ease,transform .18s ease,background .18s ease}.project-card:hover{border-color:#9f9f99;background:#fff;transform:translateY(-2px)}.project-card:hover .project-cover img{transform:scale(1.03)}.empty-state{padding:40px;border:1px dashed #cfcfcf;border-radius:8px;color:#777;text-align:center}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px}.login-card{width:min(420px,100%);padding:32px}.login-card h1{margin-bottom:12px;font-size:30px}.login-card p{color:#5b655f;line-height:1.65}.admin-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;background:#f7f5f0}.admin-sidebar{position:sticky;top:0;display:flex;flex-direction:column;justify-content:space-between;height:100vh;padding:28px;border-right:1px solid #e2ddd4;background:#fffdf8}.admin-brand{font-weight:850}.admin-sidebar p,.admin-sidebar a{color:#5b655f}.admin-sidebar nav{display:grid;gap:10px;margin-top:34px}.admin-sidebar a{padding:10px 0;font-weight:750}.admin-main{padding:40px}.admin-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.admin-header h1{margin-bottom:0;font-size:34px}.table-card{overflow:auto}table{width:100%;border-collapse:collapse;min-width:860px}th,td{padding:18px;border-bottom:1px solid #e5dfd5;text-align:left;vertical-align:top}th{color:#667268;font-size:12px;text-transform:uppercase}td strong,td span{display:block}td span{margin-top:4px;color:#667268}.status-pill{display:inline-flex;margin:0 6px 6px 0}.status-pill.muted{background:#ece8df;color:#7a7165}.row-actions a,.row-actions button{border:0;background:transparent;color:#163f2f;cursor:pointer;font-weight:800}.editor-form{display:grid;gap:18px;max-width:920px}.form-section{display:grid;gap:16px;padding:24px}.form-section h2{margin-bottom:0;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 160px;gap:14px}label{display:grid;gap:8px;color:#3a463f;font-size:14px;font-weight:760}input,textarea{width:100%;border:1px solid #d8d1c6;border-radius:8px;background:#fffefa;color:#17201b;outline:none}input{height:42px;padding:0 12px}textarea{resize:vertical;padding:12px;line-height:1.6}input:focus,textarea:focus{border-color:#163f2f;box-shadow:0 0 0 3px #163f2f1f}.form-error{color:#b42318;font-weight:750}@media(max-width:920px){.site-shell,.portfolio-page{width:min(100% - 28px,720px)}.section-heading,.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto;gap:22px}.admin-main{padding:24px}.form-grid{grid-template-columns:1fr}}@media(max-width:620px){.admin-header{align-items:flex-start;flex-direction:column}.portfolio-heading{padding-top:30px}.project-grid{grid-template-columns:1fr}}
