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

  :root {
    --bg: #fafafa;
    --white: #ffffff;
    --text: #1a1a1a;
    --sub: #444444;
    --muted: #888888;
    --border: #e8e8e8;
    --accent: #2563eb;
    --accent-light: #eff4ff;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
  }

  /* NAV */
  nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .nav-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.2px;
  }
  .nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--text); }

  /* LAYOUT */
  .container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* HERO */
  .hero {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 64px 0 56px;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
  }
  .badge-dot {
    width: 6px; height: 6px;
    background: #4caf7d;
    border-radius: 50%;
  }
  .hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
  }
  .hero h1 span { color: var(--accent); }
  .hero-bio {
    font-size: 16px;
    color: var(--sub);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
  }
  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
  }
  .btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.1s;
  }
  .btn-outline:hover { border-color: #bbb; transform: translateY(-1px); }

  /* STATS */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 48px;
  }
  .stat {
    background: var(--white);
    padding: 20px 24px;
    text-align: center;
  }
  .stat-n {
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.5px;
  }
  .stat-l {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* SECTIONS */
  .section {
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
  }
  .section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
  }

  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-text {
    font-size: 15px;
    color: var(--sub);
    line-height: 1.75;
  }
  .about-text p + p { margin-top: 12px; }
  .about-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .about-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--sub);
  }
  .about-item-icon {
    font-size: 13px;
    margin-top: 1px;
    flex-shrink: 0;
  }

  /* SKILLS */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .skill-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .skill-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
  }
  .skill-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .skill-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
  }

  /* PROJECTS */
  .projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 28px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  }
  .project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
    transform: translateY(-2px);
  }
  .project-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
  }
  .project-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.2px;
  }
  .project-arrow {
    font-size: 16px;
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
  }
  .project-card:hover .project-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
  }
  .project-desc {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
    border-radius: 20px;
  }

  /* CONTACT */
  .contact-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    margin-bottom: 24px;
  }
  .contact-box p {
    font-size: 15px;
    color: var(--sub);
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: color 0.15s;
  }
  .contact-link:last-child { border-bottom: 1px solid var(--border); }
  .contact-link:hover { color: var(--accent); }
  .contact-handle {
    font-size: 13px;
    color: var(--muted);
  }
  .contact-link:hover .contact-handle { color: var(--accent); }

  /* FOOTER */
  footer {
    padding: 32px 0;
  }
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }
  .avail {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .avail-dot {
    width: 7px; height: 7px;
    background: #4caf7d;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(76,175,125,0.4); }
    50%      { box-shadow: 0 0 0 5px rgba(76,175,125,0); }
  }

  /* RESPONSIVE */
  @media (max-width: 600px) {
    .about-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; gap: 8px; }
  }
