:root{
  --bg:#0f1724;--card:#0b1220;--muted:#9aa4b2;--accent:#7dd3fc;--glass:rgba(255,255,255,0.04);
  --fw-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:var(--fw-sans);background:linear-gradient(180deg,#071126 0%, #0f1724 100%);color:#e6eef6}
a{color:var(--accent);text-decoration:none}
#navbar{position:sticky;top:0;display:flex;gap:1rem;padding:0.6rem 1rem;background:linear-gradient(180deg,rgba(0,0,0,0.25),transparent);backdrop-filter:blur(4px)}
#navbar a{color:var(--muted);padding:0.4rem 0.6rem;border-radius:6px}
#navbar a:hover{background:var(--glass);color:#fff}
.section{padding:3rem 1.25rem;max-width:1100px;margin:0 auto}
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:4rem;padding-bottom:3rem}
.avatar{width:200px;height: 200px;border-radius:999px;object-fit:cover;border:4px solid rgba(255,255,255,0.06);box-shadow:0 6px 30px rgba(2,6,23,0.6)}
.hero h1{margin:1rem 0 0.25rem;font-size:2rem}
.tagline{color:var(--accent);font-weight:600}
.subtitle{color:var(--muted);margin-top:0.25rem}
.socials{display:flex;gap:0.6rem;margin-top:0.75rem}
.socials a{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:8px;background:var(--glass);color:var(--accent)}
.section h2{font-size:1.25rem;margin-bottom:0.25rem}
.section-subtitle{color:var(--muted);margin-bottom:1rem}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.project-card{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:1rem;border-radius:12px;border:1px solid rgba(255,255,255,0.03)}
.project-card h3{margin-top:0}
.placeholder-img{height:130px;background:linear-gradient(90deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--muted);font-size:0.95rem}
.project-card .media{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:linear-gradient(90deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));margin-bottom:0.75rem}
.project-card .media img,
.project-card .media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
#ai .project-card .media img{object-position:center top}
.project-card .media video{background:#000}
.project-card .media.video-rect{aspect-ratio:auto;height:195px}
.project-card .media.video-rect video{object-fit:cover}
.alt{background:linear-gradient(180deg,rgba(255,255,255,0.01),transparent)}
.cert-list{columns:2;color:var(--muted)}
footer{margin-top:1.25rem;color:var(--muted);font-size:0.9rem}
@media (min-width:900px){
  .hero{flex-direction:row;align-items:center;text-align:left;gap:2rem}
  .hero h1{font-size:2.4rem}
}
