:root{
  --bg: #0A0F1E;
  --surface: #0E1730;
  --text: #EAF2FF;
  --muted: #9AB0D1;
  --brand: #ffd54a; /* warm yellow */
  --brand-ink: #0A0F1E;
  --accent: #2EA4FF; /* vivid blue */
  --accent-2: #5AD3FF;
  --ring: rgba(94, 183, 255, .45);
  --card: #111a35;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", Helvetica, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(46,164,255,.15), transparent),
              radial-gradient(800px 400px at 10% 10%, rgba(255,213,74,.18), transparent),
              var(--bg);
  line-height: 1.6;
}

:focus{ outline: none; }
:focus-visible{ box-shadow: 0 0 0 3px var(--ring), 0 0 0 6px rgba(255,255,255,.06); border-radius: 10px; }

.skip-link{ position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus{ left: 12px; top: 12px; width:auto; height:auto; padding:10px 12px; background:#000; color:#fff; border-radius:8px; z-index:999; }

.container{ width:min(1100px, 92%); margin: 0 auto; }
.section{ padding: 72px 0; }
.section.alt{ background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); }
.section-title{ font-size: 28px; margin: 0 0 24px; letter-spacing:.3px; }
.lede{ color: var(--muted); font-size: 18px; }

/* Header */
.site-header{ position: sticky; top: 0; backdrop-filter: saturate(180%) blur(12px); background: rgba(10,15,30,.6); border-bottom: 1px solid rgba(255,255,255,.06); z-index: 10; }
.header-inner{ display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand{ display:flex; align-items:center; gap:10px; color: var(--text); text-decoration:none; font-weight:700; letter-spacing:.3px; }
.brand .logo-dot{ width:14px; height:14px; border-radius:50%; background: linear-gradient(135deg, var(--brand), #ffe37d); box-shadow: 0 0 0 3px rgba(255,213,74,.25), 0 4px 14px rgba(255,213,74,.35);}
.brand .brand-name{ opacity:.95; }
.nav{ display:flex; gap:18px; }
.nav a{ color: var(--muted); text-decoration:none; font-weight:500; padding:8px 10px; border-radius:8px; }
.nav a:hover{ color: var(--text); background: rgba(255,255,255,.06); }
.actions{ display:flex; gap:8px; }

/* Buttons */
.button{ --bg: rgba(255,255,255,.06); --fg: var(--text); display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; padding:10px 14px; border-radius:10px; color: var(--fg); background: var(--bg); border: 1px solid rgba(255,255,255,.08); transition: transform .08s ease, background .2s ease, box-shadow .2s ease; }
.button:hover{ transform: translateY(-1px); }
.button.primary{ --bg: linear-gradient(180deg, var(--brand), #ffde70); --fg: var(--brand-ink); color: var(--brand-ink); border-color: rgba(255,213,74,.7); box-shadow: 0 6px 18px rgba(255,213,74,.25); }
.button.ghost{ background: transparent; border:1px solid rgba(255,255,255,.18); }

/* Hero */
.hero{ padding: 72px 0 24px; }
.hero-inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1{ font-size: 42px; line-height:1.15; margin: 0 0 14px; }
.hero .cta{ display:flex; gap:10px; margin-top: 16px; }
.hero-art{ display:flex; align-items:center; justify-content:center; }
.hero-art img{ max-width: 440px; width: 100%; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }

/* Cards & grids */
.grid{ display:grid; gap: 18px; }
.skills-grid{ grid-template-columns: repeat(4, 1fr); }
.cards{ grid-template-columns: repeat(3, 1fr); }
.card{ background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.04); }
.card.link{ text-decoration:none; color: var(--text); }
.card-kicker{ color: var(--accent-2); font-weight:600; letter-spacing:.4px; text-transform:uppercase; font-size: 12px; }
.card h3{ margin:6px 0 8px; }
.tags{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:10px 0 0; }
.tags li{ padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: 13px; }

/* Timeline */
.timeline{ list-style:none; padding:0; margin:0; display:grid; gap:16px; }
.timeline li{ display:grid; grid-template-columns: 88px 1fr; gap:12px; align-items:baseline; }
.timeline .time{ color: var(--accent); font-weight:700; }
.timeline .event{ color: var(--muted); }

/* Footer */
.site-footer{ border-top:1px solid rgba(255,255,255,.06); padding: 24px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.logo-dot.small{ width:10px; height:10px; display:inline-block; border-radius:50%; background: linear-gradient(135deg, var(--brand), #ffe37d); box-shadow: 0 0 0 2px rgba(255,213,74,.25); margin-right:8px; }

/* Responsive */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .skills-grid{ grid-template-columns: repeat(2, 1fr); }
  .cards{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .nav{ display:none; }
  .hero h1{ font-size: 34px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}
