:root {
  --ink: #172026;
  --muted: #5b6670;
  --line: #d9e0e4;
  --green: #1d6b55;
  --blue: #195f8a;
  --gold: #b87918;
  --bg: #f5f7f6;
  --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; object-fit: cover; }
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(18px, 4vw, 56px); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand span { display: grid; place-items: center; width: 38px; height: 38px; background: var(--green); color: white; border-radius: 6px; }
nav { display: flex; gap: 18px; color: var(--muted); font-weight: 700; font-size: 14px; }
main { max-width: 1180px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 48px) 70px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 36px; align-items: center; min-height: 620px; }
.badge, .eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: 0; font-size: 13px; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; margin: 10px 0 18px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; margin: 0 0 14px; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 660px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button, button { border: 1px solid var(--line); background: white; padding: 13px 18px; border-radius: 6px; font-weight: 800; cursor: pointer; }
.button.primary, button { background: var(--green); color: white; border-color: var(--green); }
.hero-photo img { height: min(64vh, 560px); border-radius: 8px; box-shadow: 0 20px 60px rgba(23,32,38,.18); }
.notice { background: #fff8e8; border: 1px solid #efd49a; border-radius: 8px; padding: 16px; margin-bottom: 34px; }
.stats, .grid, .photo-grid, .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats article, .grid article, .panel, .admin-stats article { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.stats strong, .admin-stats strong { display: block; font-size: 34px; color: var(--blue); }
section { margin-top: 58px; }
.section-head { max-width: 760px; margin-bottom: 22px; }
.photo-grid figure { margin: 0; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.photo-grid img { height: 240px; }
figcaption { padding: 12px 14px; font-weight: 800; }
.split { display: grid; grid-template-columns: 1fr .8fr; gap: 28px; align-items: start; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.checklist { margin: 0; padding-left: 20px; color: var(--muted); }
.checklist li { margin: 10px 0; }
.form-section { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; align-items: start; }
form { display: grid; gap: 14px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
label { display: grid; gap: 7px; font-weight: 800; color: var(--ink); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; font: inherit; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px clamp(18px, 4vw, 56px); background: var(--ink); color: white; }
.admin-body { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--ink); color: white; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sidebar .brand { margin-bottom: 20px; }
.admin-main { max-width: none; padding: 28px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.admin-header h1 { font-size: 42px; }
.admin-stats { grid-template-columns: repeat(4, 1fr); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.status { padding: 5px 9px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.status.new { background: #eaf4ff; color: var(--blue); }
.status.progress { background: #fff3d9; color: var(--gold); }
.status.done { background: #e7f5ef; color: var(--green); }
.project { display: grid; grid-template-columns: 180px 1fr 48px; gap: 12px; align-items: center; margin: 14px 0; }
progress { width: 100%; height: 14px; accent-color: var(--green); }
@media (max-width: 820px) {
  .topbar, footer, .admin-header { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero, .split, .form-section, .admin-body { grid-template-columns: 1fr; }
  .stats, .grid, .photo-grid, .admin-stats { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-photo img { height: 320px; }
  .sidebar { position: static; }
}
