
:root{
  --bg:#f4f7fa;
  --surface:#ffffff;
  --text:#1f2937;
  --muted:#5b6472;
  --nav:#1e293b;
  --accent:#1d4ed8;
  --accent-soft:#dbeafe;
  --border:#d7dee8;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit; text-decoration:none}
header.site-header{
  background:linear-gradient(180deg,#eff6ff 0%, #f8fafc 100%);
  border-bottom:1px solid var(--border);
}
.topbar{
  max-width:1080px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:18px;
}
.logo-link{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  min-width:0;
}
.logo-link img{
  width:54px;
  height:auto;
  display:block;
  border-radius:8px;
}
.brand strong{display:block;font-size:1rem}
.brand span{display:block;color:var(--muted);font-size:.92rem}
nav.main-nav{
  margin-left:auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
nav.main-nav a{
  color:#fff;
  background:var(--nav);
  padding:9px 12px;
  border-radius:10px;
  font-size:.95rem;
}
.hero,.wrap,main,footer{max-width:1080px;margin:0 auto}
.hero{padding:28px 18px 20px}
.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  align-items:center;
}
.hero-card,.hero-image,.section,.project-box,.figure-box,.footer-box{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
}
.hero-card{padding:26px}
.hero-card h1{margin:0 0 10px;font-size:2rem;line-height:1.2}
.hero-card p.lead{margin:0 0 8px;color:var(--muted);font-size:1.02rem}
.hero-image img{display:block;width:100%;height:auto}
main{padding:0 18px 28px}
.section,.project-box,.figure-box{padding:22px;margin:18px 0}
.section h2,.project-box h2,.figure-box h2{margin-top:0}
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}
.card{
  display:flex;
  flex-direction:column;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  background:linear-gradient(180deg,#ffffff 0%, #f8fafc 100%);
  min-height:228px;
}
.card h3{margin:0 0 10px}
.card p{margin:0 0 14px;color:var(--muted)}
.card .actions{margin-top:auto}
.card .button{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
}
.callout{
  border-left:5px solid var(--accent);
  background:var(--accent-soft);
}
.figure-box img{display:block;max-width:100%;height:auto}
.qrz-box{display:flex;gap:18px;align-items:center}
.qrz-box img{width:160px;height:160px;display:block}
.small{font-size:.94rem}
.addr{
  font-family: "Courier New", monospace;
  word-break: break-all;
  color: var(--text);
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:8px;
  padding:6px 8px;
  display:inline-block;
  margin-top:6px;
}
ul.compact{padding-left:20px;margin:10px 0}
footer{padding:0 18px 32px}
@media (max-width: 860px){
  .hero-grid{grid-template-columns:1fr}
  .card-grid{grid-template-columns:1fr}
  .topbar{flex-wrap:wrap}
  nav.main-nav{margin-left:0}
  .qrz-box{flex-direction:column;align-items:flex-start}
}
