:root{
  /* Palette (semantic) */
  --bg: #fbfbfd;
  --card: #ffffff;
  --text: #0f1724;
  --muted: #506074;
  --accent: #0b76ff;
  --accent-2: #f59e0b;
  --glass: rgba(15,23,36,0.04);
  --radius: 12px;
  --shadow: 0 6px 20px rgba(16,24,40,0.08);
  --max-width: 1100px;
  --glass-2: linear-gradient(135deg, rgba(11,118,255,0.06), rgba(245,158,11,0.02));
}

:root[data-theme="dark"]{
  --bg: #0b1220;
  --card: #0f1724;
  --text: #e6eef8;
  --muted: #9fb0cc;
  --accent: #4aa3ff;
  --accent-2: #ffb86b;
  --glass: rgba(255,255,255,0.03);
  --shadow: 0 8px 30px rgba(2,6,23,0.6);
  --glass-2: linear-gradient(135deg, rgba(74,163,255,0.06), rgba(255,184,107,0.02));
}

/* Respect reduced motion */
.reduced-motion * { transition-duration: 0 !important; animation-duration: 0 !important; }

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(11,118,255,0.04), transparent 8%), var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Layout */
.container{max-width:var(--max-width);margin:28px auto;padding:0 20px}
.site-header{position:sticky;top:0;z-index:40;backdrop-filter: blur(6px);background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.28));border-bottom:1px solid rgba(0,0,0,0.04)}
:root[data-theme="dark"] .site-header{background:linear-gradient(180deg, rgba(10,16,26,0.6), rgba(10,16,26,0.28));border-bottom:1px solid rgba(255,255,255,0.03)}

.header-grid{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;gap:14px;align-items:center}
.logo{color:var(--accent)}
.name{font-size:1.08rem;margin:0}
.tagline{margin:0;color:var(--muted);font-size:0.9rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;border:0;background:transparent;color:var(--text);cursor:pointer;font-weight:600}
.btn:focus{outline:3px solid color-mix(in srgb, var(--accent) 20%, transparent);outline-offset:2px}
.btn-primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:white;box-shadow: var(--shadow);border-radius:10px}
.btn-outline{border:1px solid rgba(0,0,0,0.06);padding:9px 12px;border-radius:10px}
:root[data-theme="dark"] .btn-outline{border:1px solid rgba(255,255,255,0.06)}

/* Card */
.card{background:var(--card);border-radius:var(--radius);padding:20px;margin:18px 0;box-shadow:var(--shadow)}
.hero{padding:28px}

/* Hero grid */
.hero-grid{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:center}
.hero-left .eyebrow{color:var(--accent);font-weight:700;margin:0 0 10px}
.hero-left h2{margin:0 0 10px;font-size:1.6rem}
.lead{color:var(--muted);margin-bottom:14px}
.highlights{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px}
.highlights li{background:var(--glass);padding:10px;border-radius:10px;color:var(--muted);font-weight:600}
.hero-cta{display:flex;gap:10px;margin-top:10px}

/* Portrait */
.portrait{width:100%;height:210px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--glass-2);box-shadow:inset 0 -10px 30px rgba(0,0,0,0.02)}
.portrait-caption{color:var(--muted);font-size:0.95rem;margin-top:8px}

/* Projects */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:12px}
.project h4{margin:0 0 6px}
.muted{color:var(--muted)}

/* Contact */
.contact-grid{display:flex;justify-content:space-between;gap:12px;align-items:center}
.chip{display:inline-block;padding:8px 12px;border-radius:999px;background:var(--glass);text-decoration:none;color:var(--text);margin-left:6px}

/* Two-column list */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;list-style:none;margin-top:12px}

/* Footer */
.site-footer{padding:14px 0;font-size:0.9rem;color:var(--muted);border-top:1px solid rgba(0,0,0,0.04)}
:root[data-theme="dark"] .site-footer{border-top:1px solid rgba(255,255,255,0.03)}

/* Responsive */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .portrait{height:160px}
  .two-col{grid-template-columns:1fr}
    .header-grid{gap:12px;flex-direction:column;align-items:flex-start;padding-bottom:14px}
}

/* Small devices */
@media (max-width:480px){
  .container{margin:18px auto;padding:0 16px}
  .name{font-size:1rem}
  .hero-left h2{font-size:1.25rem}
  .portrait{height:140px}
  .btn{padding:8px 10px;font-size:0.95rem}
  .hero-grid{gap:14px}
}

/* Accessibility: focus-visible */
:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 24%, transparent);outline-offset:3px;border-radius:8px}

/* Subtle entrance animations */
@keyframes pop {
  from { transform: translateY(6px); opacity: 0 }
  to   { transform: translateY(0); opacity: 1 }
}
.card{animation: pop 400ms cubic-bezier(.2,.9,.2,1) both}

/* Utility */
.muted{opacity:0.85}
.header-grid .actions{display:flex;gap:12px;align-items:center}
.contact-quick{display:flex;gap:8px;align-items:center}

/* Print-friendly */
@media print{
  body{background:#fff;color:#000}
  .site-header,.site-footer,.btn{display:none}
  .card{box-shadow:none;border-radius:0}
}

/* End of style.css */


