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

  :root {
    --bg:       #0c0c0c;
    --surface:  #141414;
    --border:   #222;
    --text:     #f0ede8;
    --muted:    #666;
    --accent:   #e8602c;
    --accent2:  #f0ede8;
    --mono:     'DM Mono', monospace;
    --sans:     'Syne', sans-serif;
  }

  html { scroll-behavior: smooth; }

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

  ::selection { background: var(--accent); color: #fff; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 4rem;
    background: rgba(12,12,12,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-size: 13px; font-family: var(--mono);
    color: var(--muted); letter-spacing: 0.05em;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2.5rem; }
  .nav-links a {
    font-size: 13px; color: var(--muted); text-decoration: none;
    font-family: var(--mono); letter-spacing: 0.05em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }

  /* LAYOUT */
  main { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

  section { padding: 7rem 0; border-bottom: 1px solid var(--border); }
  section:last-child { border-bottom: none; }

  /* HERO */
  #hero { padding-top: 12rem; padding-bottom: 7rem; }

  .tag {
    display: inline-block;
    font-family: var(--mono); font-size: 11px;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }

  h1 em {
    font-style: normal;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }

  .hero-sub strong { color: var(--text); font-weight: 500; }

  .rust-note {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 8px 14px; border-radius: 4px;
  }
  .rust-note .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .hero-cta { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
  .btn {
    font-family: var(--mono); font-size: 12px;
    letter-spacing: 0.05em; text-decoration: none;
    padding: 10px 20px; border-radius: 4px;
    transition: all 0.2s;
  }
  .btn-primary {
    background: var(--accent); color: #fff;
    border: 1px solid var(--accent);
  }
  .btn-primary:hover { background: transparent; color: var(--accent); }
  .btn-ghost {
    background: transparent; color: var(--muted);
    border: 1px solid var(--border);
  }
  .btn-ghost:hover { color: var(--text); border-color: #444; }

  /* SECTION TITLES */
  .section-label {
    font-family: var(--mono); font-size: 11px;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 3rem;
    display: flex; align-items: center; gap: 12px;
  }
  .section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  h2 {
    font-size: 1.8rem; font-weight: 700;
    letter-spacing: -0.02em; margin-bottom: 1rem;
  }

  /* PROJECTS */
  .projects-grid { display: flex; flex-direction: column; gap: 1px; }

  .project-item {
    display: grid; grid-template-columns: 1fr auto;
    align-items: start; gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: all 0.2s;
    cursor: default;
  }
  .project-item.linked { cursor: pointer; }
  .project-item.linked:hover .project-name { color: var(--accent); }
  .project-item.linked:hover .project-arrow { opacity: 1; transform: translate(2px, -2px); }

  .project-num {
    font-family: var(--mono); font-size: 11px;
    color: var(--muted); margin-bottom: 0.5rem;
  }
  .project-name {
    font-size: 1.15rem; font-weight: 600;
    margin-bottom: 0.4rem; transition: color 0.2s;
  }
  .project-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
  .project-tags { display: flex; gap: 6px; margin-top: 0.75rem; flex-wrap: wrap; }
  .project-tag {
    font-family: var(--mono); font-size: 10px;
    color: var(--muted); border: 1px solid var(--border);
    padding: 2px 8px; border-radius: 2px;
    letter-spacing: 0.05em;
  }
  .project-arrow {
    font-size: 1.2rem; color: var(--muted);
    opacity: 0; transition: all 0.2s;
    margin-top: 0.2rem;
  }

  /* STACK */
  .stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
  }
  .stack-cell {
    padding: 1.5rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stack-cell:nth-child(odd):last-child { border-right: none; }
  .stack-label {
    font-family: var(--mono); font-size: 10px;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 0.75rem;
  }
  .stack-items { font-size: 13px; color: var(--muted); line-height: 2; }
  .stack-items strong { color: var(--text); font-weight: 500; }

  /* PHILOSOPHY */
  .philosophy-quote {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.4; margin-bottom: 3rem;
    max-width: 600px;
  }
  .philosophy-quote em {
    font-style: normal; color: var(--accent);
  }

  .pillars { display: flex; flex-direction: column; gap: 0; }
  .pillar {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    font-size: 14px; color: var(--muted);
  }
  .pillar-num {
    font-family: var(--mono); font-size: 11px;
    color: var(--border); min-width: 24px;
  }
  .pillar strong { color: var(--text); font-weight: 500; }

  /* NOW */
  .now-list { display: flex; flex-direction: column; gap: 0; }
  .now-item {
    display: flex; align-items: flex-start; gap: 1.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
  }
  .now-icon { font-size: 1rem; min-width: 24px; margin-top: 1px; }
  .now-text { color: var(--muted); line-height: 1.6; }
  .now-text strong { color: var(--text); font-weight: 500; }

  /* CONTACT */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    margin-top: 2rem;
  }
  .contact-item {
    padding: 1.5rem;
    text-decoration: none;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
  }
  .contact-item:hover { background: var(--surface); }
  .contact-platform {
    font-family: var(--mono); font-size: 10px;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 0.4rem;
  }
  .contact-value { font-size: 13px; color: var(--muted); }
  .contact-item:hover .contact-value { color: var(--text); }

  /* FOOTER */
  footer {
    padding: 3rem 2rem;
    max-width: 860px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-left {
    font-family: var(--mono); font-size: 12px; color: var(--muted);
  }
  .footer-right {
    font-family: var(--mono); font-size: 11px; color: var(--border);
    letter-spacing: 0.05em;
  }

  /* ANIMATIONS */
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* BURGER */
  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
  }
  .nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--muted);
    border-radius: 2px;
    transition: all 0.25s;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* RESPONSIVE */
  @media (max-width: 640px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-burger { display: flex; }
    .nav-links {
      display: none;
      flex-direction: column;
      gap: 0;
      position: absolute;
      top: 100%;
      left: 0; right: 0;
      background: rgba(12,12,12,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 0.5rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
      padding: 0.9rem 1.5rem;
      font-size: 14px;
      border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child { border-bottom: none; }
    main { padding: 0 1.5rem; }
    #hero { padding-top: 9rem; }
    .project-item { grid-template-columns: 1fr; }
    .project-arrow { display: none; }
    footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  }
