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

    :root {
      --bg: #0a0a0a;
      --surface: #111111;
      --border: #1f1f1f;
      --accent: #e8ff47;
      --accent2: #ff4757;
      --text: #e4e4e4;
      --muted: #555;
      --mono: 'Space Mono', monospace;
      --sans: 'Syne', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      overflow-x: hidden;
      cursor: none;
    }

    /* Custom cursor */
    .cursor {
      width: 12px; height: 12px;
      background: var(--accent);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.15s ease, opacity 0.2s;
      mix-blend-mode: difference;
    }
    .cursor-ring {
      width: 36px; height: 36px;
      border: 1px solid rgba(232,255,71,0.4);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9998;
      transition: transform 0.35s ease;
    }

    /* Noise overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9997;
      opacity: 0.6;
    }

    /* Nav */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 48px;
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s, background 0.3s;
    }
    nav.scrolled {
      border-color: var(--border);
      background: rgba(10,10,10,0.9);
      backdrop-filter: blur(12px);
    }
    .nav-logo {
      font-family: var(--mono);
      font-size: 14px;
      color: var(--accent);
      letter-spacing: 0.05em;
      text-decoration: none;
    }
    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }

    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0 48px 80px;
      position: relative;
      overflow: hidden;
    }

    .hero-bg-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--sans);
      font-weight: 800;
      font-size: clamp(100px, 20vw, 240px);
      color: transparent;
      -webkit-text-stroke: 1px rgba(255,255,255,0.03);
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
      letter-spacing: -0.04em;
    }

    .hero-tag {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--accent);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.2s forwards;
    }
    .hero-tag::before {
      content: '';
      width: 32px; height: 1px;
      background: var(--accent);
    }

    .hero-title {
      font-family: var(--sans);
      font-weight: 800;
      font-size: clamp(52px, 9vw, 120px);
      line-height: 0.9;
      letter-spacing: -0.03em;
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.4s forwards;
    }
    .hero-title span { color: var(--accent); }

    .hero-bottom {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.6s forwards;
    }
    .hero-desc {
      font-family: var(--mono);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.8;
      max-width: 320px;
    }
    .hero-cta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-family: var(--mono);
      font-size: 13px;
      color: var(--text);
      text-decoration: none;
      border: 1px solid var(--border);
      padding: 16px 28px;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .hero-cta:hover {
      border-color: var(--accent);
      color: var(--bg);
      background: var(--accent);
    }
    .hero-cta svg { transition: transform 0.2s; }
    .hero-cta:hover svg { transform: translate(3px, -3px); }

    .scroll-line {
      position: absolute;
      bottom: 0;
      left: 48px;
      width: 1px;
      height: 80px;
      background: linear-gradient(to bottom, transparent, var(--border));
      animation: fadeIn 1s ease 1.2s both;
    }

    /* Sections */
    section {
      padding: 120px 48px;
      border-top: 1px solid var(--border);
    }

    .section-label {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 64px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
      max-width: 120px;
    }

    /* About */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }
    .about-headline {
      font-weight: 800;
      font-size: clamp(32px, 4vw, 52px);
      line-height: 1.05;
      letter-spacing: -0.02em;
    }
    .about-headline em {
      font-style: italic;
      color: var(--muted);
    }
    .about-text {
      font-family: var(--mono);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 40px;
    }
    .stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }
    .stat {
      background: var(--bg);
      padding: 28px;
    }
    .stat-num {
      font-weight: 800;
      font-size: 40px;
      letter-spacing: -0.03em;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    /* Skills */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }
    .skill-item {
      background: var(--bg);
      padding: 28px 24px;
      transition: background 0.2s;
      position: relative;
      overflow: hidden;
    }
    .skill-item::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .skill-item:hover::before { width: 100%; }
    .skill-item:hover { background: var(--surface); }
    .skill-icon {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      margin-bottom: 14px;
      opacity: 0.7;
    }
    .skill-name {
      font-weight: 700;
      font-size: 15px;
      letter-spacing: -0.01em;
    }
    .skill-sub {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      margin-top: 4px;
    }

    /* Projects */
    .projects-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
    .project-item {
      background: var(--bg);
      padding: 40px 40px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 40px;
      transition: background 0.2s;
      position: relative;
      overflow: hidden;
    }
    .project-item::before {
      content: '';
      position: absolute;
      left: 0; top: 0; bottom: 0;
      width: 0;
      background: var(--accent);
      transition: width 0.25s ease;
    }
    .project-item:hover::before { width: 3px; }
    .project-item:hover { background: var(--surface); }
    .project-num {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 12px;
    }
    .project-name {
      font-weight: 800;
      font-size: clamp(20px, 2.5vw, 28px);
      letter-spacing: -0.02em;
      margin-bottom: 10px;
    }
    .project-desc {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--muted);
      line-height: 1.7;
      max-width: 480px;
    }
    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }
    .tag {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 4px 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .project-arrow {
      color: var(--muted);
      font-size: 24px;
      transition: color 0.2s, transform 0.2s;
    }
    .project-item:hover .project-arrow {
      color: var(--accent);
      transform: translate(4px, -4px);
    }

    /* Contact */
    .contact-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }
    .contact-headline {
      font-weight: 800;
      font-size: clamp(36px, 5vw, 64px);
      letter-spacing: -0.03em;
      line-height: 0.95;
    }
    .contact-headline span { color: var(--accent); }
    .contact-links { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
    .contact-link {
      background: var(--bg);
      padding: 24px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-decoration: none;
      color: var(--text);
      font-family: var(--mono);
      font-size: 13px;
      transition: background 0.2s, color 0.2s;
    }
    .contact-link:hover { background: var(--accent); color: var(--bg); }
    .contact-link:hover .link-arrow { color: var(--bg); }
    .link-label { letter-spacing: 0.05em; }
    .link-arrow { color: var(--muted); font-size: 18px; transition: color 0.2s; }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 32px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    footer p {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.05em;
    }
    .footer-accent { color: var(--accent); }

    /* Animations */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

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

    @media (max-width: 768px) {
      nav { padding: 20px 24px; }
      .nav-links { display: none; }
      .hero { padding: 0 24px 60px; }
      .hero-bottom { flex-direction: column; align-items: flex-start; gap: 32px; }
      section { padding: 80px 24px; }
      .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
      .project-item { grid-template-columns: 1fr; }
      .project-arrow { display: none; }
      footer { flex-direction: column; gap: 12px; text-align: center; }
      .scroll-line { display: none; }
    }