/* Professional styles with vertical projects */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --shadow: 0 12px 40px rgba(2, 6, 23, 0.08);
  --radius: 16px;
}
.dark {
  --bg: #0b1220;
  --surface: #0f172a;
  --text: #e5e7eb;
  --muted: #cbd5e1;
  --border: #1f2937;
  --accent: #60a5fa;
  --accent-2: #a78bfa;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(124, 58, 237, .08), transparent 60%),
    radial-gradient(1000px 500px at 110% -20%, rgba(37, 99, 235, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(8px); background: color-mix(in oklab, var(--bg), transparent 15%); border-bottom: 1px solid var(--border); }
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-top { display: flex; align-items: center; gap: 10px; }
.name { font-size: 1.4rem; margin: 0; letter-spacing: 0.2px; }
.badge { font-size: 0.8rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tagline { margin: 4px 0 0; color: var(--muted); }
.nav a { margin-left: 14px; color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.theme-toggle { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.toggle-rail { position: relative; width: 48px; height: 26px; border-radius: 999px; background: var(--border); display: inline-block; vertical-align: middle; }
.toggle-knob { position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transition: transform .22s ease; }
.theme-toggle input { appearance: none; margin: 0; width: 48px; height: 26px; position: absolute; opacity: 0; }
.theme-toggle input:checked + .toggle-rail .toggle-knob { transform: translateX(22px); }
.toggle-text { font-size: 0.85rem; color: var(--muted); }
.hero { padding: 28px 0 10px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.hero-title { margin-top: 0; font-size: clamp(1.6rem, 2.2vw + 1rem, 2.2rem); }
.hero-lede { color: var(--muted); margin-bottom: 14px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.section { padding: 36px 0 14px; }
.section-head h2 { margin: 0 0 6px; font-size: 1.4rem; }
.section-head .muted { margin: 0 0 14px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px; }
.stack-vertical { display: flex; flex-direction: column; gap: 18px; }
.project { width: 100%; }
.project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 0.78rem; font-weight: 600; color: var(--text); border: 1px solid var(--border); background: color-mix(in oklab, var(--surface), white 6%); padding: 4px 8px; border-radius: 999px; }
.bullets { padding-left: 18px; margin: 10px 0; }
.bullets li { margin: 6px 0; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-cloud span { border: 1px dashed var(--border); padding: 6px 10px; border-radius: 999px; background: color-mix(in oklab, var(--surface), white 4%); }
.about p { margin: 0 0 10px; }
.contact p { margin: 6px 0; }
.btn { display: inline-block; font-weight: 600; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; transition: transform .08s ease, box-shadow .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; }
.btn { background: color-mix(in oklab, var(--surface), white 6%); color: var(--text); border-color: var(--border); }
.btn.ghost { background: transparent; border-color: var(--border); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.site-footer { border-top: 1px solid var(--border); margin-top: 28px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
