
:root{
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#6b7280;
  --border:#e5e7eb;
  --card:#ffffff;
  --accent:#0f172a;
  --accent-contrast:#ffffff;
  --chip:#f3f4f6;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--fg); background:var(--bg);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:1100px; margin:0 auto; padding:0 20px}
header.hero{
  padding:64px 0 40px;
  background:linear-gradient(180deg,#f8fafc, #fff);
  border-bottom:1px solid var(--border);
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  background:#0f172a; color:#fff; padding:6px 12px; border-radius:999px; font-size:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
h1{font-size:44px; line-height:1.05; margin:18px 0 8px; font-weight:900}
.tagline{font-size:18px; color:#334155; max-width:720px}
.cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:12px 18px; font-weight:700;
  border-radius:16px; border:1px solid var(--border); box-shadow:0 1px 4px rgba(0,0,0,.06);
  transition:.2s transform, .2s box-shadow, .2s background, .2s color;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.08)}
.btn.primary{background:var(--accent); color:var(--accent-contrast); border-color:transparent}
.grid{display:grid; gap:20px}
.grid.projects{grid-template-columns:repeat(auto-fill, minmax(280px, 1fr))}
section{padding:60px 0}
section .section-head{margin-bottom:16px}
h2{font-size:28px; margin:0 0 4px; font-weight:900}
.muted{color:var(--muted)}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:20px; overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.04);
  display:block; transition:.2s transform, .2s box-shadow;
}
.card:hover{transform:translateY(-4px); box-shadow:0 10px 24px rgba(0,0,0,.08)}
.thumb{aspect-ratio:16/9; background:#f3f4f6}
.content{padding:16px 18px}
.title{font-size:18px; font-weight:800; display:flex; justify-content:space-between; align-items:center}
.summary{color:#374151; margin-top:6px}
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.chip{font-size:12px; padding:6px 10px; background:var(--chip); border-radius:999px}
.about{line-height:1.7; color:#374151; white-space:pre-line}
footer{padding:36px 0; border-top:1px solid var(--border); color:#6b7280}
.socials{display:flex; gap:12px; flex-wrap:wrap}
.social{display:inline-flex; align-items:center; gap:8px; border:1px solid var(--border); padding:8px 12px; border-radius:999px; transition:.2s background, .2s color, .2s transform}
.social svg{width:20px; height:20px; transition:.2s transform}
.social:hover{background:#111827; color:#fff; transform:translateY(-1px)}
.social:hover svg{transform:scale(1.08)}
nav.top{
  position:sticky; top:0; backdrop-filter:saturate(1.5) blur(6px);
  background:rgba(255,255,255,.7); border-bottom:1px solid var(--border); z-index:50;
}
nav .navwrap{display:flex; align-items:center; justify-content:space-between; height:56px}
.brand{font-weight:900}
.navlinks{display:flex; gap:14px}
.navlinks a{padding:8px 12px; border-radius:10px}
.navlinks a.active, .navlinks a:hover{background:#f3f4f6}
