:root{
    --bg: #070a12;
    --panel: #0d1223;
    --panel2:#0b1020;
    --text:#e8eaf1;
    --muted:#a8b0c3;
    --border: rgba(255,255,255,.08);
    --accent:#19c3b3; /* teal */
    --accent2:#0ea5e9;
    --shadow: 0 18px 50px rgba(0,0,0,.45);
    --radius: 18px;
  }
  
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1100px 700px at 70% -10%, rgba(25,195,179,.20), transparent 55%),
                radial-gradient(900px 600px at 10% 10%, rgba(14,165,233,.12), transparent 50%),
                var(--bg);
    color:var(--text);
  }
  
  a{ color:inherit; text-decoration:none; }
  .container{ width:min(1100px, 92%); margin:0 auto; }
  
  .site-header{
    position:sticky; top:0; z-index:50;
    backdrop-filter: blur(10px);
    background: rgba(7,10,18,.65);
    border-bottom:1px solid var(--border);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 0;
  }
  .brand{
    width:40px; height:40px; border-radius:12px;
    display:grid; place-items:center;
    background: linear-gradient(135deg, rgba(25,195,179,.25), rgba(14,165,233,.20));
    border:1px solid var(--border);
    font-weight:800;
  }
  .nav-links{ display:flex; align-items:center; gap:14px; }
  .nav-links a{ color:var(--muted); font-weight:600; }
  .nav-links a:hover{ color:var(--text); }
  
  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    gap:10px;
    padding:12px 14px;
    border-radius:14px;
    border:1px solid rgba(25,195,179,.35);
    background: rgba(25,195,179,.12);
    color: var(--text);
    font-weight:700;
    box-shadow: none;
  }
  .btn:hover{ transform: translateY(-1px); }
  .btn-ghost{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
  }
  .btn-small{ padding:10px 12px; border-radius:12px; font-size:14px; }
  
  .hero{
    display:grid; grid-template-columns: 1.2fr .8fr;
    gap:28px;
    padding:44px 0 20px;
  }
  .pill{
    display:inline-block;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    color:var(--muted);
    font-weight:600;
    margin:0 0 14px;
  }
  h1{ margin:0 0 10px; font-size:42px; letter-spacing:-.02em; line-height:1.15; }
  .lead{ margin:0 0 16px; color:var(--muted); font-size:18px; line-height:1.6; }
  .muted{ color:var(--muted); }
  .small{ font-size:13px; }
  .cta{ display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
  
  .stats{
    display:flex; gap:12px; flex-wrap:wrap;
    margin-top:14px;
  }
  .stat{
    background: rgba(255,255,255,.03);
    border:1px solid var(--border);
    border-radius: var(--radius);
    padding:12px 14px;
    min-width:160px;
  }
  .stat-num{ font-size:20px; font-weight:800; }
  .stat-label{ color:var(--muted); font-size:13px; margin-top:4px; }
  
  .hero-card{
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow:hidden;
  }
  .headshot{
    width:100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    border-bottom:1px solid var(--border);
  }
  .hero-card-body{ padding:16px 16px 18px; }
  .bullets{ margin:8px 0 0; padding-left:18px; color:var(--muted); line-height:1.7; }
  
  .section{ padding:40px 0; }
  .section-title h2{ margin:0; font-size:28px; }
  .section-title p{ margin:10px 0 0; }
  
  .filters{ display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 18px; }
  .chip{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    color:var(--muted);
    padding:10px 12px;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
  }
  .chip.is-active{
    color: var(--text);
    border-color: rgba(25,195,179,.45);
    background: rgba(25,195,179,.10);
  }
  
  .grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
  }
  .card{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: var(--radius);
    overflow:hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    transition: transform .15s ease, border-color .15s ease;
  }
  .card:hover{ transform: translateY(-3px); border-color: rgba(25,195,179,.35); }
  .card-img{ width:100%; height:170px; object-fit:cover; background: var(--panel2); }
  .card-body{ padding:14px; }
  .card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
  .card-top h3{ margin:0; font-size:16px; line-height:1.3; }
  .badge{
    font-size:12px;
    color: var(--muted);
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    padding:6px 10px;
    border-radius:999px;
    white-space:nowrap;
  }
  .mini{ margin:10px 0 12px; padding-left:18px; color:var(--muted); line-height:1.6; }
  .card-actions{ display:flex; gap:10px; }
  
  .skills{
    display:grid; grid-template-columns: repeat(3, 1fr);
    gap:14px;
  }
  .skill-block{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: var(--radius);
    padding:16px;
  }
  .skill-block h3{ margin:0 0 10px; font-size:16px; }
  .tags{ display:flex; flex-wrap:wrap; gap:8px; }
  .tag{
    padding:8px 10px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    color:var(--muted);
    font-weight:650;
    font-size:13px;
  }
  
  .about{
    border:1px solid var(--border);
    background: rgba(255,255,255,.03);
    border-radius: var(--radius);
    padding:16px;
    color:var(--muted);
    line-height:1.8;
  }
  
  .footer{
    border-top:1px solid var(--border);
    background: rgba(7,10,18,.75);
  }
  .footer-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0;
  }
  .footer-links{ display:flex; gap:14px; }
  .footer-links a{ color:var(--muted); font-weight:650; }
  .footer-links a:hover{ color:var(--text); }
  
  @media (max-width: 980px){
    .hero{ grid-template-columns: 1fr; }
    h1{ font-size:36px; }
    .grid{ grid-template-columns: repeat(2, 1fr); }
    .skills{ grid-template-columns: 1fr; }
  }
  @media (max-width: 560px){
    .grid{ grid-template-columns: 1fr; }
  }