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

  :root {
    --bg:       #0b0c0e;
    --bg2:      #111316;
    --surface:  #16191f;
    --border:   #1f2330;
    --accent:   #a8ff3e;
    --accent2:  #6eff00;
    --muted:    #4a5260;
    --text:     #c9d1de;
    --texthi:   #eaf0fb;
    --mono:     'JetBrains Mono', monospace;
    --display:  'Syne', sans-serif;
    --body:     'DM Sans', sans-serif;
    --radius:   6px;
    --nav-h:    64px;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    cursor: none;
    overflow-x: hidden;
  }

  /* ── CURSOR ─────────────────────────────────── */
  #cursor {
    position: fixed; top: 0; left: 0; z-index: 9999;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%,-50%);
    transition: transform .15s ease, width .2s ease, height .2s ease, opacity .2s;
    mix-blend-mode: screen;
  }
  #cursor.big { width: 36px; height: 36px; opacity: .5; }

  /* ── NAV ─────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px;
    background: rgba(11,12,14,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: transform .35s ease;
  }
  nav.hidden { transform: translateY(-100%); }

  .nav-logo {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: .08em;
    text-decoration: none;
  }
  .nav-logo span { color: var(--muted); }

  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--accent); }

  /* ── CANVAS / HERO ───────────────────────────── */

.hero-layout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:4rem;
}

.hero-content{
    flex:1;
}

.hero-image{
    flex:0 0 420px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:420px;
    height:auto;
    border-radius:24px;

    object-fit:cover;

    border:1px solid rgba(255,255,255,.1);

    box-shadow:
      0 0 60px rgba(125,140,255,.35),
      0 0 120px rgba(125,140,255,.15);

    transition:.4s;
}

.hero-image img:hover{
    transform:translateY(-8px);
}
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 60px) 40px 80px;
    overflow: hidden;
  }

  canvas#stars {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }

  .hero-inner {
    position: relative; z-index: 2;
    max-width: 820px;
  }

  .hero-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .8s .2s ease forwards;
  }

  h1 {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 800;
    line-height: 1.02;
    color: var(--texthi);
    letter-spacing: -.02em;
    opacity: 0;
    animation: fadeUp .9s .35s ease forwards;
  }
  h1 em { font-style: normal; color: var(--accent); }

  .hero-cycle {
    font-family: var(--mono);
    font-size: clamp(16px, 2vw, 22px);
    color: var(--muted);
    margin-top: 24px;
    height: 32px;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp .9s .55s ease forwards;
  }
  .cycle-inner { display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.4,0,.2,1); }
  .cycle-inner span { flex-shrink: 0; line-height: 32px; }
  .cycle-inner span::before { content: '> '; color: var(--accent); }

  .hero-tagline {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--text);
    margin-top: 20px;
    max-width: 560px;
    opacity: 0;
    animation: fadeUp .9s .7s ease forwards;
  }

  .hero-cta {
    display: flex; gap: 16px; flex-wrap: wrap;
    margin-top: 48px;
    opacity: 0;
    animation: fadeUp .9s .9s ease forwards;
  }

  .btn {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: none;
    transition: all .2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary {
    background: var(--accent);
    color: #000;
    border: 2px solid var(--accent);
    font-weight: 500;
  }
  .btn-primary:hover { background: transparent; color: var(--accent); }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* ── SECTION SHELL ───────────────────────────── */
  section { padding: 100px 40px; }
  .section-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-label::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--accent);
    opacity: .4;
  }

  h2 {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--texthi);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 48px;
  }

  /* ── ABOUT ───────────────────────────────────── */
  #about { background: var(--bg2); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .about-bio {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
  }
  .about-bio p + p { margin-top: 20px; }
  .about-bio strong { color: var(--texthi); }

  .skills-block { display: flex; flex-direction: column; gap: 28px; }
  .skill-group-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
  }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip {
    font-family: var(--mono);
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
    transition: border-color .2s, color .2s;
  }
  .chip:hover { border-color: var(--accent); color: var(--accent); }

  /* ── PROJECTS ────────────────────────────────── */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
  }

  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    cursor: none;
  }
  .project-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(168,255,62,.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
  }
  .project-card:hover { transform: translateY(-6px); border-color: rgba(168,255,62,.35); box-shadow: 0 12px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(168,255,62,.12); }
  .project-card:hover::before { opacity: 1; }

  .project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
  .tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid;
  }
  .tag-ai    { color: var(--accent); border-color: rgba(168,255,62,.35); background: rgba(168,255,62,.05); }
  .tag-web   { color: #60a5fa; border-color: rgba(96,165,250,.35); background: rgba(96,165,250,.05); }
  .tag-api   { color: #f59e0b; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.05); }
  .tag-oss   { color: #c084fc; border-color: rgba(192,132,252,.35); background: rgba(192,132,252,.05); }
  .tag-cli   { color: #34d399; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.05); }

  .project-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    color: var(--texthi);
    margin-bottom: 8px;
  }
  .project-desc { font-size: 14px; color: var(--text); line-height: 1.6; }
  .project-summary {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s ease;
    opacity: 0;
  }
  .project-card:hover .project-summary { max-height: 100px; opacity: 1; }

  .project-stack {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-top: 20px;
  }
  .stack-chip {
    font-family: var(--mono);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.04);
    color: var(--muted);
    border: 1px solid var(--border);
  }

  .project-links {
    display: flex; gap: 16px;
    margin-top: 20px;
  }
  .project-link {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    display: flex; align-items: center; gap: 6px;
  }
  .project-link:hover { color: var(--accent); }
  .project-link svg { width: 13px; height: 13px; }

  /* ── EXPERIENCE ──────────────────────────────── */
  #experience { background: var(--bg2); }

  .timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 8px;
    width: 1px;
    background: var(--border);
  }

  .tl-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 32px 0 32px 32px;
    position: relative;
    border-bottom: 1px solid var(--border);
  }
  .tl-item:last-child { border-bottom: none; }
  .tl-item::before {
    content: '';
    position: absolute;
    left: -4px; top: 40px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
  }

  .tl-meta { padding-top: 4px; }
  .tl-date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .1em;
    margin-bottom: 4px;
  }
  .tl-company {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: .05em;
  }
  .tl-role {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--texthi);
    margin-bottom: 8px;
  }
  .tl-desc { font-size: 14px; color: var(--text); line-height: 1.7; }

  /* ── WRITING ─────────────────────────────────── */
  .writing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: border-color .2s, transform .2s;
    cursor: none;
  }
  .article-card:hover { border-color: rgba(168,255,62,.35); transform: translateY(-4px); }
  .article-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex; gap: 12px;
  }
  .article-title {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    color: var(--texthi);
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .article-excerpt { font-size: 13px; color: var(--text); line-height: 1.6; }

  /* ── CONTACT ─────────────────────────────────── */
  #contact { background: var(--bg2); }

  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .contact-info h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    color: var(--texthi);
    margin-bottom: 16px;
  }
  .contact-info p { font-size: 15px; color: var(--text); margin-bottom: 32px; }

  .status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(168,255,62,.07);
    border: 1px solid rgba(168,255,62,.25);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 32px;
  }
  .status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
  }

  .socials { display: flex; flex-direction: column; gap: 12px; }
  .social-link {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .2s, color .2s;
  }
  .social-link:hover { border-color: var(--accent); color: var(--accent); }

  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .form-input, .form-textarea {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-family: var(--body);
    font-size: 14px;
    color: var(--texthi);
    outline: none;
    transition: border-color .2s;
    resize: none;
  }
  .form-input:focus, .form-textarea:focus { border-color: var(--accent); }
  .form-textarea { min-height: 120px; }
  ::placeholder { color: var(--muted); }

  /* ── FOOTER ──────────────────────────────────── */
  footer {
    padding: 32px 40px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
  }
  footer span em { color: var(--accent); font-style: normal; }

  /* ── SCROLL REVEAL ───────────────────────────── */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── ANIMATIONS ──────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(168,255,62,.4); }
    50%       { opacity: .7; box-shadow: 0 0 0 6px rgba(168,255,62,0); }
  }

  /* ── RESPONSIVE ──────────────────────────────── */
  @media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { gap: 16px; }
    section { padding: 72px 20px; }
    #hero { padding-left: 20px; padding-right: 20px; }
    .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; }
    footer { flex-direction: column; gap: 8px; text-align: center; }
  }  

