:root {
  --accent:#315c47;
  --background:#f4f1e9;
  --surface:#fff;
  --text:#17201b;
  --muted:#667168;
  --border:#d8ddd8;
  --logo-height:96px;
  --hero-image-height:420px;
  --project-media-size:104px;
  --shadow:0 18px 50px rgba(32,48,38,.08);
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-height:100vh; color:var(--text); background:var(--background); font-family:Arial,Helvetica,sans-serif; }
a { color:inherit; }
.site-header { display:flex; justify-content:space-between; align-items:center; gap:24px; width:min(1120px,calc(100% - 32px)); margin:0 auto; padding:24px 0; border-bottom:1px solid var(--border); }
.brand { display:inline-flex; align-items:center; gap:16px; min-width:0; text-decoration:none; }
.brand-visual { display:grid; place-items:center; flex:0 0 auto; }
.brand-visual img { display:block; width:auto; height:var(--logo-height); max-width:min(48vw,360px); object-fit:contain; }
.brand-copy { min-width:0; }
.brand strong,.brand small { display:block; }
.brand strong { font-size:1.05rem; letter-spacing:.18em; overflow-wrap:anywhere; }
.brand small { color:var(--muted); margin-top:4px; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; overflow-wrap:anywhere; }
.announcement { color:var(--muted); font-size:.88rem; text-align:right; }
main { width:min(1120px,calc(100% - 32px)); margin:0 auto; }
.hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,420px); gap:38px; align-items:center; padding:72px 0 46px; }
.hero:not(.has-image) { grid-template-columns:1fr; max-width:820px; }
.eyebrow { margin:0 0 14px; color:var(--accent); font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; }
h1 { margin:0; font-size:clamp(3.2rem,10vw,7.2rem); line-height:.88; letter-spacing:-.075em; }
.hero-copy { margin:25px 0 0; color:var(--muted); max-width:720px; font-size:clamp(1.05rem,2vw,1.28rem); line-height:1.65; white-space:pre-line; }
.hero-image { width:100%; height:min(var(--hero-image-height),70vh); object-fit:var(--hero-fit,cover); border-radius:24px; border:1px solid var(--border); box-shadow:var(--shadow); background:var(--surface); }
.project-list { display:grid; gap:18px; padding-bottom:64px; }
.project-card { display:grid; grid-template-columns:var(--project-media-size) minmax(0,1fr) auto; gap:20px; align-items:center; padding:22px; border:1px solid var(--border); border-radius:22px; background:var(--surface); box-shadow:var(--shadow); }
.project-media { width:var(--project-media-size); height:var(--project-media-size); border-radius:18px; overflow:hidden; background:color-mix(in srgb,var(--accent) 12%,white); display:grid; place-items:center; font-size:2rem; }
.project-media img { width:100%; height:100%; object-fit:var(--project-fit,cover); }
.project-title-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.project-card h2 { margin:0; font-size:1.42rem; letter-spacing:-.025em; }
.status { padding:5px 9px; border-radius:999px; background:#edf4ef; color:var(--accent); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.project-card p { margin:9px 0 0; color:var(--muted); line-height:1.55; white-space:pre-line; }
.project-links { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; min-width:220px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 15px; border-radius:11px; border:1px solid var(--border); text-decoration:none; font-weight:800; font-size:.87rem; transition:transform .15s ease,box-shadow .15s ease; }
.button:hover,.button:focus-visible { transform:translateY(-2px); box-shadow:0 8px 20px rgba(32,48,38,.12); outline:none; }
.button.primary { color:#fff; background:var(--accent); border-color:var(--accent); }
.button.secondary { background:#fff; }
.site-footer { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; width:min(1120px,calc(100% - 32px)); margin:0 auto; padding:24px 0 34px; color:var(--muted); border-top:1px solid var(--border); font-size:.86rem; }
.footer-copy { display:grid; gap:4px; }
.site-footer strong { color:var(--text); }
.visitor-stats { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px; }
.visitor-stats span { white-space:nowrap; }
.error { padding:20px; border:1px solid #e3aaa3; background:#fff3f1; border-radius:14px; }
@media(max-width:800px){
  .site-header,.site-footer{align-items:flex-start;flex-direction:column}
  .announcement{text-align:left}
  .brand-visual img{max-width:70vw}
  .hero{grid-template-columns:1fr;padding-top:50px}
  .project-card{grid-template-columns:min(var(--project-media-size),84px) minmax(0,1fr)}
  .project-media{width:min(var(--project-media-size),84px);height:min(var(--project-media-size),84px)}
  .project-links{grid-column:1/-1;justify-content:flex-start;min-width:0}
  .visitor-stats{justify-content:flex-start}
}
