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

    :root {
      --bg: #f9f6f1;
      --ink: #1a1a18;
      --muted: #8a8880;
      --rule: #e0dbd3;
      --accent: #c85a1e;
      --hover-bg: #f0ebe3;
    }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: 'Lora', Georgia, serif;
      line-height: 1.75;
      padding: 0 24px;
      max-width: 640px;
      margin: 0 auto;
      min-height: 100vh;
    }

    header {
      padding: 72px 0 48px;
      border-bottom: 1px solid var(--rule);
      margin-bottom: 56px;
      opacity: 0;
      animation: appear 0.5s ease forwards 0.05s;
    }
    .name { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 6px; }
    .tagline { font-size: 15px; color: var(--muted); font-style: italic; margin-bottom: 10px; }
    .domain {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      color: var(--muted);
    }
    .domain a { color: var(--accent); text-decoration: none; }

    section {
      margin-bottom: 52px;
      opacity: 0;
      animation: appear 0.5s ease forwards;
    }
    section:nth-of-type(1) { animation-delay: 0.12s; }
    section:nth-of-type(2) { animation-delay: 0.20s; }
    section:nth-of-type(3) { animation-delay: 0.28s; }
    section:nth-of-type(4) { animation-delay: 0.36s; }
    section:nth-of-type(5) { animation-delay: 0.44s; }
    section:nth-of-type(6) { animation-delay: 0.50s; }
    section:nth-of-type(7) { animation-delay: 0.56s; }

    .label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    p { font-size: 16px; color: var(--ink); margin-bottom: 16px; }
    p:last-child { margin-bottom: 0; }

    .now-dot {
      display: inline-block;
      width: 7px; height: 7px;
      background: #3cb96a;
      border-radius: 50%;
      margin-right: 7px;
      vertical-align: middle;
      animation: blink 3s infinite;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    /* Projects */
    .project-list { list-style: none; }
    .project-item {
      display: block;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 12px;
      margin: 0 -12px;
      border-bottom: 1px solid var(--rule);
      text-decoration: none;
      color: var(--ink);
      border-radius: 4px;
      transition: background 0.15s;
    }
    .project-item:first-child { border-top: 1px solid var(--rule); }
    .project-item:hover { background: var(--hover-bg); }

    .project-item-link { color: var(--ink); text-decoration: none; }

    .flex-project {
        display: flex;
    }

    .project-left { display: block; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
    .project-name { font-size: 15px; font-weight: 500; }
    .project-desc { font-size: 14px; color: var(--muted); font-style: italic; }

    .project-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 2px;
      flex-wrap: wrap;
    }
    .stars { color: #e6a817; font-size: 12px; letter-spacing: 0.5px; }
    .rating-count {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--muted);
    }

    .review-quote {
      font-size: 13px;
      color: var(--muted);
      margin-top: 8px;
      padding: 8px 12px;
      border-left: 2px solid var(--rule);
      font-style: italic;
      line-height: 1.55;
      background: rgba(0,0,0,0.02);
      border-radius: 0 3px 3px 0;
    }

    .feature-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 8px;
    }
    .pill {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      padding: 2px 7px;
      border: 1px solid var(--rule);
      border-radius: 3px;
      color: var(--muted);
    }

    .project-right { display: block; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
    .project-year { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); }
    .project-badge {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 3px;
      letter-spacing: 0.04em;
      white-space: nowrap;
    }
    .badge-live { background: rgba(60,185,106,0.12); color: #2a9955; }
    .badge-ext { background: rgba(66,133,244,0.1); color: #4285f4; }
    .badge-more { background: rgba(200,90,30,0.1); color: var(--accent); }

    /* Sub-links under project */
    .project-links {
      display: block;
      gap: 14px;
      margin-top: 10px;
      flex-wrap: wrap;
    }
    .project-link {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--accent);
      text-decoration: none;
      /* border-bottom: 1px solid rgba(200,90,30,0.25); */
      /* transition: border-color 0.15s; */
    }
    .project-link:hover { border-color: var(--accent); }

    /* Writing */
    .note-list { list-style: none; }
    .note-item {
      padding: 18px 12px;
      margin: 0 -12px;
      border-bottom: 1px solid var(--rule);
      border-radius: 4px;
      transition: background 0.15s;
    }
    .note-item:first-child { border-top: 1px solid var(--rule); }
    .note-item:hover { background: var(--hover-bg); }
    .note-title {
      font-size: 15px;
      font-weight: 500;
      color: var(--ink);
      text-decoration: none;
      display: block;
      margin-bottom: 4px;
      transition: color 0.15s;
    }
    .note-item:hover .note-title { color: var(--accent); }
    .note-summary { font-size: 13px; color: var(--muted); font-style: italic; margin-bottom: 6px; }
    .note-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); }

    /* Experience */
    .exp-list { list-style: none; }
    .exp-item { padding: 22px 0; border-bottom: 1px solid var(--rule); }
    .exp-item:first-child { border-top: 1px solid var(--rule); }
    .exp-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
    .exp-role { font-size: 15px; font-weight: 500; }
    .exp-period { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
    .exp-company { font-size: 13px; color: var(--accent); margin-bottom: 10px; font-style: italic; }
    .exp-point { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }
    .exp-point:last-child { margin-bottom: 0; }
    .exp-point::before { content: "→ "; color: var(--rule); }

    /* Skills */
    .skill-group { margin-bottom: 18px; }
    .skill-group:last-child { margin-bottom: 0; }
    .skill-group-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
    .chips { display: flex; flex-wrap: wrap; gap: 7px; }
    .chip {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      padding: 4px 10px;
      border: 1px solid var(--rule);
      border-radius: 3px;
      color: var(--muted);
      background: var(--hover-bg);
    }
    .chip-ai { border-color: rgba(200,90,30,0.3); color: var(--accent); background: rgba(200,90,30,0.05); }

    /* Contact */
    .contact-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
    .contact-link {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px;
      color: var(--ink);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.15s;
    }
    .contact-link:hover { color: var(--accent); }
    .contact-link svg { opacity: 0.45; transition: opacity 0.15s; }
    .contact-link:hover svg { opacity: 1; }

    footer {
      border-top: 1px solid var(--rule);
      padding: 28px 0 56px;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      color: var(--muted);
      display: flex;
      justify-content: space-between;
      opacity: 0;
      animation: appear 0.5s ease forwards 0.62s;
    }
    footer a { color: var(--muted); text-decoration: none; }
    footer a:hover { color: var(--accent); }

    @keyframes appear {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 480px) {
      .project-item { flex-direction: column; gap: 6px; }
      .project-right { flex-direction: column; align-items: center; gap: 10px; }
      .exp-header { flex-direction: column; gap: 2px; }
      footer { flex-direction: column; gap: 8px; }
    }
