:root{
  --accent:#0a7bdc;
  --muted:#666;
  --max-width:1100px;
  --bg:#fafafa;
  --card:#fff;
}
*{box-sizing:border-box}
body{font-family:Inter, system-ui, Arial, sans-serif; margin:0; background:var(--bg); color:#111; line-height:1.5}
.container{max-width:var(--max-width); margin:0 auto; padding:24px}
.site-header{background:#fff; border-bottom:1px solid #eee}
.site-header .container{display:flex; align-items:center; justify-content:space-between}
.logo{font-weight:700; color:#111; text-decoration:none}
.site-header nav a{margin-left:16px; color:#333; text-decoration:none}
.hero{padding:48px 0}
.hero-inner{display:flex; gap:24px; align-items:center}
.hero-text h1{margin:0 0 8px}
.hero-image img{width:140px; height:140px; object-fit:cover; border-radius:8px; border:4px solid #fff; box-shadow:0 6px 18px rgba(0,0,0,0.08)}
.cta{display:inline-block; padding:10px 16px; background:var(--accent); color:#fff; text-decoration:none; border-radius:6px}
.btn{display:inline-block; padding:8px 12px; background:var(--accent); color:#fff; text-decoration:none; border-radius:6px}
.btn-outline{display:inline-block; padding:8px 12px; border-radius:6px; border:1px solid #ddd; text-decoration:none; color:#333}
.muted{color:var(--muted)}

.grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:18px; margin-top:18px}
.card{background:var(--card); border-radius:8px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.04)}
.card-thumb{width:100%; height:140px; object-fit:cover; display:block}
.card-body{padding:12px}
.card-icon img{width:40px; height:40px; object-fit:contain; float:right}
.card-body h4{margin:0 0 6px}
.card-meta{font-size:13px; color:var(--muted); margin-top:8px}
.btn-small{display:inline-block; margin-top:10px; padding:6px 10px; background:#0a7bdc; color:#fff; text-decoration:none; border-radius:6px; font-size:13px}

.metrics{background:#fff; margin:28px 0; padding:18px; border-radius:8px}
.metrics-grid{display:flex; gap:20px; justify-content:space-between}
.metrics-grid div{flex:1; text-align:center; padding:12px 6px}

.site-footer{margin-top:40px; padding:18px 0; background:#fff; border-top:1px solid #eee}
.site-footer .container{display:flex; justify-content:space-between; align-items:center}

/* case-study specific */
.cs-hero{background:#fff; padding:18px; border-radius:8px; margin-bottom:16px}
.cs-meta{color:var(--muted); margin-top:6px}
.cs-actions{margin-top:10px}
.cs-details{display:flex; gap:20px; align-items:flex-start}
.cs-left{flex:1; background:#fff; padding:14px; border-radius:8px}
.cs-right{width:320px}
.proof-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px}
.gallery{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:12px; margin-top:12px}
.gallery img{width:100%; height:160px; object-fit:cover; border-radius:6px}
.profile-large{width:180px; border-radius:8px}

/* small screens */
@media (max-width:800px){
  .hero-inner{flex-direction:column-reverse}
  .cs-details{flex-direction:column}
  .metrics-grid{flex-direction:column}
}
