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

    :root {
      --bg:        #f9f7f4;
      --surface:   #ffffff;
      --border:    #e4e0da;
      --text:      #1a1916;
      --muted:     #6b6760;
      --accent:    #2d5fa6;
      --accent-lt: #dce8f7;
      --tag-bg:    #ede9e3;
      --nav-h:     56px;
      --max-w:     900px;
      --serif:     'Lora', Georgia, serif;
      --sans:      'DM Sans', system-ui, sans-serif;
      --transition: 0.18s ease;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-size: 19.8px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* Nav Bar */
    nav {
      position: sticky; top: 0; z-index: 100;
      height: var(--nav-h);
      background: rgba(249,247,244,0.88);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
    }
    .nav-inner {
      max-width: var(--max-w);
      margin: 0 auto; padding: 0 24px;
      width: 100%;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-name {
      font-family: var(--serif);
      font-size: 16.5px; font-weight: 500;
      color: var(--text); letter-spacing: 0.01em;
    }
    .nav-links {
      display: flex; gap: 22px; list-style: none;
    }
    .nav-links a {
      font-size: 14.9px; font-weight: 400;
      color: var(--muted); letter-spacing: 0.01em;
      transition: color var(--transition);
    }
    .nav-links a:hover, .nav-links a.active { color: var(--text); text-decoration: none; }
    .nav-links a.active { font-weight: 500; }

    /* Hamburger Menu */
    .burger { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
    .burger span {
      display: block; width: 20px; height: 1.5px;
      background: var(--text); margin: 4px 0;
      transition: transform 0.2s, opacity 0.2s;
    }
    .burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

    /* Layout */
    main {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 0 24px 80px;
    }

    /* About */
    .about-text h1 {
      font-family: var(--serif);
      font-size: 2.2rem; font-weight: 500;
      line-height: 1.2; margin-bottom: 6px;
    }
    .about-sub {
      font-size: 15.4px; color: var(--muted);
      margin-bottom: 20px; font-weight: 300;
    }
    .about-bio {
      font-size: 16.5px; color: #3a3832;
    }
    .about-links {
      display: flex; flex-wrap: wrap; gap: 10px;
      margin-top: 24px;
    }
    .about-links a {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 14.3px; font-weight: 500;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 5px 12px; border-radius: 20px;
      transition: color var(--transition), border-color var(--transition), background var(--transition);
    }
    .about-links a:hover {
      color: var(--accent); border-color: var(--accent);
      background: var(--accent-lt); text-decoration: none;
    }

    /* Divider */
    .section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

    /* Section */
    section { padding: 52px 0; }
    .section-header {
      display: flex; align-items: baseline; gap: 12px;
      margin-bottom: 32px;
    }
    .section-title {
      font-family: var(--serif);
      font-size: 1.32rem; font-weight: 500;
    }
    .section-count {
      font-size: 12px; color: var(--muted);
      font-weight: 400; letter-spacing: 0.02em;
    }

    /* Education */
    .timeline { display: flex; flex-direction: column; gap: 0; }
    .timeline-item {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 0 24px;
      padding: 18px 0;
      border-bottom: 1px solid var(--border);
    }
    .timeline-item:first-child { border-top: 1px solid var(--border); }
    .timeline-year {
      font-size: 13.8px; color: var(--muted);
      padding-top: 3px; font-weight: 300;
      white-space: nowrap;
    }
    .timeline-content h3 {
      font-size: 15.9px; font-weight: 500; margin-bottom: 2px;
    }
    .timeline-content .inst {
      font-size: 14.9px; color: var(--muted); margin-bottom: 4px;
    }
    .timeline-content .desc {
      font-size: 14.9px; color: #555; line-height: 1.5;
    }

    /* Experience */
    .exp-list { display: flex; flex-direction: column; }
    .exp-item {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 0 24px;
      padding: 18px 0;
      border-bottom: 1px solid var(--border);
    }
    .exp-item:first-child { border-top: 1px solid var(--border); }
    .exp-date {
      font-size: 13.8px; color: var(--muted);
      padding-top: 3px; font-weight: 300;
      white-space: nowrap;
    }
    .exp-content h3 { font-size: 15.9px; font-weight: 500; margin-bottom: 2px; }
    .exp-content .role { font-size: 14.9px; color: var(--muted); margin-bottom: 4px; }
    .exp-content .detail { font-size: 14.9px; color: #555; line-height: 1.5; }

    /* Projects */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .project-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 20px;
      transition: box-shadow var(--transition), border-color var(--transition);
      display: flex; flex-direction: column;
    }
    .project-card:hover {
      box-shadow: 0 4px 18px rgba(0,0,0,0.07);
      border-color: #ccc;
    }
    .project-card h3 {
      font-size: 15.9px; font-weight: 500;
      margin-bottom: 6px; line-height: 1.35;
    }
    .project-card p {
      font-size: 14.9px; color: var(--muted);
      flex: 1; line-height: 1.55;
    }
    .project-tags {
      display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
    }
    .tag {
      font-size: 12.6px; font-weight: 400;
      background: var(--tag-bg); color: var(--muted);
      padding: 3px 9px; border-radius: 20px;
    }
    .project-links {
      display: flex; gap: 12px; margin-top: 14px;
    }
    .project-links a {
      font-size: 13.8px; font-weight: 500;
      color: var(--accent);
    }
    .project-meta {
      display: flex; justify-content: space-between; align-items: baseline;
      margin-top: 12px; gap: 8px;
    }
    .project-contributors {
      font-size: 13.8px; color: var(--muted);
      line-height: 1.4; flex: 1;
    }
    .project-contributors strong {
      font-style: normal; font-weight: 500; color: #444;
    }
    .project-date {
      font-size: 13.2px; color: var(--muted);
      white-space: nowrap; flex-shrink: 0;
    }

    /* Awards */
    .awards-list { display: flex; flex-direction: column; }
    .award-item {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 0 24px;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }
    .award-item:first-child { border-top: 1px solid var(--border); }
    .award-year { font-size: 13.8px; color: var(--muted); font-weight: 300; padding-top: 2px; }
    .award-content h3 { font-size: 15.9px; font-weight: 500; margin-bottom: 2px; }
    .award-content .issuer { font-size: 14.3px; color: var(--muted); }

    /* Certifications */
    .certs-list { display: flex; flex-direction: column; }
    .cert-item {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 0 24px;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }
    .cert-item:first-child { border-top: 1px solid var(--border); }
    .cert-year { font-size: 13.8px; color: var(--muted); font-weight: 300; padding-top: 2px; }
    .cert-content h3 { font-size: 15.9px; font-weight: 500; margin-bottom: 2px; }
    .cert-content .issuer { font-size: 14.3px; color: var(--muted); }
    .cert-content a { font-size: 13.8px; }

    /* Service */
    .service-list { display: flex; flex-direction: column; }
    .service-item {
      display: grid;
      grid-template-columns: 148px 1fr;
      gap: 0 24px;
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
    }
    .service-item:first-child { border-top: 1px solid var(--border); }
    .service-year { font-size: 13.8px; color: var(--muted); font-weight: 300; padding-top: 2px; }
    .service-content h3 { font-size: 15.9px; font-weight: 500; margin-bottom: 2px; }
    .service-content .role { font-size: 14.3px; color: var(--muted); }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 28px 24px;
      max-width: var(--max-w); margin: 0 auto;
    }
    .footer-inner {
      display: flex; justify-content: space-between; align-items: center;
      font-size: 14.3px; color: var(--muted);
    }

    /* Scroll fade-in */
    .fade-in {
      opacity: 0; transform: translateY(18px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .fade-in.visible { opacity: 1; transform: none; }

    /* Responsive */
    @media (max-width: 600px) {
      #about { grid-template-columns: 1fr; }
      .projects-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; flex-direction: column; gap: 0; }
      .nav-links.open {
        display: flex;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px;
      }
      .nav-links.open a { padding: 10px 0; display: block; }
      .burger { display: block; }
      .timeline-item, .exp-item, .award-item, .cert-item, .service-item {
        grid-template-columns: 1fr;
        gap: 4px;
      }
    }