

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
    :root {
      --green-dark:   #2c3e2c;
      --green-mid:    #4a7c59;
      --green-light:  #8fbc8f;
      --green-pale:   #eaf3de;
      --brass:        #c9a96e;
      --brass-light:  #e8d4a8;
      --cream:        #fafaf7;
      --cream-border: #d4d4cc;
      --card-bg:      #ffffff;
      --text-dark:    #2c3e2c;
      --text-mid:     #4a5e4a;
      --text-muted:   #7a9c7a;
      --chip-bg:      #f0f0e8;
      --chip-border:  #c8c8b8;
    }
 
    html { scroll-behavior: smooth; }
 
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--cream);
      color: var(--text-dark);
      line-height: 1.7;
      font-size: 16px;
    }

    .page-wrapper {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 2.5rem;
    }
 
    /* ── Nav ── */
    nav {
      background: var(--green-dark);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2.5rem;
      height: 56px;
      position: sticky;
      top: 0;
      z-index: 100;
    }
 
    .nav-logo {
      font-family: 'JetBrains Mono', monospace;
      font-size: 15px;
      font-weight: 500;
      color: var(--brass);
      letter-spacing: 0.04em;
      text-decoration: none;
    }
 
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      font-size: 14px;
      color: var(--green-light);
      text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--cream); }
 
    .nav-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 4px;
    }
    .nav-toggle span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--green-light);
      transition: all 0.25s;
    }
 
    /* ── Hero ── */
    .hero {
      background: var(--green-dark);
      padding: 5rem 2.5rem 4rem;
      border-bottom: 3px solid var(--brass);
    }
 
    .hero-inner { max-width: 780px; margin: 0 auto; }
 
    .hero-tag {
      font-family: 'DM-Sans',sans-serif;
      font-size: 12px;
      color: var(--brass);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.25rem;
    }
 
    .hero-name {
      font-family: 'Lora', serif;
      font-size: clamp(2rem, 6vw, 3.5rem);
      font-weight: 500;
      color: var(--cream);
      line-height: 1.15;
      margin-bottom: 0.6rem;
    }
 
    .hero-title {
      font-size: 17px;
      color: var(--green-light);
      margin-bottom: 1.5rem;
      font-weight: 300;
    }
 
    .hero-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 520px;
      margin-bottom: 2rem;
    }
 
    .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
 
    .btn-primary {
      background: var(--brass);
      color: var(--green-dark);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 500;
      padding: 10px 24px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: background 0.2s;
    }
    .btn-primary:hover { background: var(--brass-light); }
 
    .btn-outline {
      background: transparent;
      color: var(--green-light);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      padding: 10px 24px;
      border-radius: 6px;
      border: 1px solid var(--green-mid);
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-outline:hover { border-color: var(--green-light); color: var(--cream); }
 
    /* ── Main body ── */
    main { max-width: 900px; margin: 0 auto; padding: 3.5rem 2.5rem; }
 
    section { margin-bottom: 3.5rem; }
 
    .section-label {
      font-family: 'Monteserrat', monospace;
      font-size: 11px;
      color: var(--brass);
      letter-spacing: 0.14em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }
    .section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--brass);
      opacity: 0.3;
    }
 
    /* ── Projects ── */
    .projects-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
 
    .proj-card {
      background: var(--card-bg);
      border: 1px solid var(--cream-border);
      border-radius: 10px;
      padding: 1.25rem 1.3rem;
      transition: border-color 0.2s, transform 0.2s;
      display: flex;
      flex-direction: column;
      text-decoration: none;
    }
    .proj-card:hover { border-color: var(--green-mid); transform: translateY(-2px); }
    .proj-card.featured { border-color: var(--brass); border-width: 1.5px; }
 
    .proj-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 500;
      padding: 3px 10px;
      border-radius: 999px;
      margin-bottom: 0.75rem;
      width: fit-content;
    }
    .tag-elec { background: #eaf3de; color: #3b6d11; }
    .tag-mech   { background: #faeeda; color: #854f0b; }
    .tag-soft   { background: #e1f5ee; color: #085041; }
    .tag-assorted   { background: #faeeda; color: #633806; }
 
    .proj-title {
      font-family: 'Lora', serif;
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark);
      margin-bottom: 0.4rem;
    }
 
    .proj-desc {
      font-size: 13px;
      color: var(--text-mid);
      line-height: 1.6;
      flex: 1;
      margin-bottom: 1rem;
    }
 
    .proj-link {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--green-mid);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: color 0.2s;
    }
    .proj-link:hover { color: var(--brass); }
    .proj-link::after { content: '→'; }
 
    /* ── Skills ── */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
 
    .skill-group {
      background: var(--card-bg);
      border: 1px solid var(--cream-border);
      border-radius: 10px;
      padding: 1rem 1.1rem;
    }
 
    .skill-group-title {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-dark);
      margin-bottom: 0.75rem;
    }
 
    .skill-chips { display: flex; flex-wrap: wrap; gap: 5px; }
 
    .chip {
      font-size: 12px;
      padding: 3px 10px;
      border-radius: 999px;
      background: var(--chip-bg);
      color: var(--text-mid);
      border: 1px solid var(--chip-border);
    }
 
    /* ── About ── */
    .about-row { display: flex; gap: 1.5rem; align-items: flex-start; }
 
    .avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--green-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 16px;
      font-weight: 500;
      color: var(--brass);
      flex-shrink: 0;
      border: 2px solid var(--brass);
    }
 
    .about-text { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
 
    /* ── Footer ── */
    footer {
      background: var(--green-dark);
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }
 
    .contact-items { display: flex; gap: 2rem; flex-wrap: wrap; }
 
    .contact-item {
      font-size: 13px;
      color: var(--green-light);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: color 0.2s;
    }
    .contact-item:hover { color: var(--cream); }
 
    .contact-cta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--brass);
    }
 
    /* ── Responsive ── */
    @media (max-width: 600px) {
      nav { padding: 0 1.25rem; }
      .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--green-dark); padding: 1rem 1.5rem; gap: 1rem; border-top: 1px solid #3d5a3d; }
      .nav-links.open { display: flex; }
      .nav-toggle { display: flex; }
      .hero { padding: 3rem 1.25rem 2.5rem; }
      main { padding: 2.5rem 1.25rem; }
      .projects-grid { grid-template-columns: 1fr; }
      .skills-grid { grid-template-columns: 1fr; }
      .about-row { flex-direction: column; }
      footer { flex-direction: column; padding: 1.25rem; }
      .contact-items { gap: 1rem; }
    }