  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #F4F6FA;
    --surface: #FFFFFF;
    --navy: #152540;
    --accent: #1D6FE8;
    --accent-light: #EBF2FF;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --sidebar-bg: #152540;
    --sidebar-text: #CBD5E1;
    --sidebar-heading: #FFFFFF;
    --green: #22C55E;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
  }

  .layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0,0,0,0.1);
  }

  /* SIDEBAR */
  .sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding: 48px 32px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .sidebar::-webkit-scrollbar { display: none; }

  .avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid rgba(255,255,255,0.15);
  }
  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .sidebar h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--sidebar-heading);
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .sidebar .role {
    font-size: 12.5px;
    color: #94A3B8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
  }

  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 12px;
    color: #86EFAC;
    font-weight: 500;
    margin-bottom: 32px;
  }

  .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
    flex-shrink: 0;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
  }

  .sidebar-section {
    margin-bottom: 32px;
  }

  .sidebar-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--sidebar-text);
    margin-bottom: 9px;
    text-decoration: none;
    transition: color 0.15s;
    word-break: break-all;
  }
  .contact-item:hover { color: #fff; }

  .contact-icon {
    font-size: 14px;
    flex-shrink: 0;
    color: #475569;
  }

  .skill-group {
    margin-bottom: 14px;
  }

  .skill-group-label {
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 7px;
  }

  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .skill-tag {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 11.5px;
    color: #CBD5E1;
    font-weight: 400;
  }

  /* MAIN */
  .main {
    background: var(--surface);
    padding: 52px 52px 64px;
  }

  .section {
    margin-bottom: 44px;
  }

  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .section-divider {
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .profile-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
  }

  /* Job / Project cards */
  .entry {
    padding: 0 0 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
  }
  .entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 3px;
    flex-wrap: wrap;
  }

  .entry-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--navy);
  }

  .entry-date {
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
  }

  .entry-org {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
  }

  .entry-bullets {
    padding-left: 16px;
    list-style: none;
  }

  .entry-bullets li {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 6px;
    position: relative;
    padding-left: 14px;
  }

  .entry-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border);
  }

  .entry-bullets li:last-child { margin-bottom: 0; }

  .highlight {
    background: var(--accent-light);
    color: #1D4ED8;
    padding: 0 4px;
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 500;
  }

  /* Project links */
  .project-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
  }
  .project-link:hover { text-decoration: underline; }

  /* Tech stack pills */
  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
  }

  .tech-pill {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 9px;
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
  }

  /* Education */
  .edu-entry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .edu-entry:last-child { margin-bottom: 0; }

  .edu-degree {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
  }

  .edu-school {
    font-size: 13px;
    color: var(--muted);
  }

  .edu-date {
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
    padding-top: 3px;
    font-variant-numeric: tabular-nums;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .layout {
      grid-template-columns: 1fr;
    }
    .sidebar {
      position: static;
      height: auto;
      padding: 36px 28px;
    }
    .main {
      padding: 36px 28px 48px;
    }
  }

  @media print {
    body { background: white; }
    .layout { box-shadow: none; max-width: none; }
    .sidebar { position: static; height: auto; }
    .status-dot { animation: none; }
  }