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

  :root {
    --bg: #121212;
    --bg-2: #232323;
    --bg-3: #2d2d2d;
    --text: #f0f0f5;
    --text-muted: #cbd5e1;
    --text-dim: #9ca3af;
    --accent: #39a9cb;
    --accent-2: #2940d3;
    --accent-3: #ffeda3;
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(57,169,203,0.3);
    --font-mono: 'DM Mono', monospace;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  html { scroll-behavior: smooth; }

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

  /* Subtle grid background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(57,169,203,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(57,169,203,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* SKIP LINK */
  .skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-mono);
    font-size: 13px;
    text-decoration: none;
    transition: top 0.2s;
  }
  .skip-link:focus {
    top: 0;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background: rgba(18,18,18,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-3);
    letter-spacing: 0.05em;
  }

  .nav-logo span { color: var(--text-muted); }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }

  .nav-links a::before { content: '// '; color: var(--text-dim); }
  .nav-links a:hover { color: var(--accent); }

  /* SECTIONS */
  section { position: relative; z-index: 1; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .hero-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
  }

  .hero-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }

  .hero-name .line-2 {
    color: transparent;
    -webkit-text-stroke: 1px rgba(232,232,240,0.3);
  }

  .hero-sub {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-sub .sep { color: var(--text-dim); }

  .hero-sub .tag {
    background: rgba(57,169,203,0.08);
    border: 1px solid rgba(57,169,203,0.2);
    color: var(--accent);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
  }

  .hero-sub .tag.purple {
    background: rgba(41,64,211,0.15);
    border-color: rgba(41,64,211,0.3);
    color: #9ab9ff;
  }

  .hero-sub .tag.pink {
    background: rgba(255,237,163,0.1);
    border-color: rgba(255,237,163,0.2);
    color: var(--accent-3);
  }

  .hero-desc {
    max-width: 560px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: #0a0a0f;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  }

  .btn-primary:hover { background: #ffeda3; color: #121212; }

  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.2s;
  }

  .btn-ghost:hover {
    background: rgba(57,169,203,0.05);
  }

  /* SCROLL INDICATOR */
  .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 4rem;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    writing-mode: horizontal-tb;
  }

  .scroll-hint::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--text-dim);
    animation: scrollLine 2s ease-in-out infinite;
  }

  @keyframes scrollLine {
    0%, 100% { width: 40px; opacity: 0.4; }
    50% { width: 64px; opacity: 1; }
  }

  /* SECTION LABEL */
  .section-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 4rem;
  }

  .section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--text-dim);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  /* EXPERTISE */
  #expertise { background: var(--bg); }

  .expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 4rem;
    border: 1px solid var(--border);
  }

  .expertise-card {
    padding: 2.5rem 2rem;
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
  }

  .expertise-card:last-child { border-right: none; }

  .expertise-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .expertise-card:hover::before { transform: scaleX(1); }
  .expertise-card:hover { background: var(--bg-3); }

  .expertise-icon {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 1.25rem;
  }

  .expertise-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
  }

  .expertise-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .expertise-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
  }

  /* SKILLS */
  .skills-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
  }

  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .skill-pill {
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: all 0.2s;
    cursor: default;
  }

  .skill-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(57,169,203,0.04);
  }

  .skill-pill.featured {
    border-color: rgba(110,231,183,0.3);
    color: var(--accent);
    background: rgba(110,231,183,0.06);
  }

  /* PROJECTS */
  #work { background: var(--bg-2); }

  .projects-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .project-row {
    display: grid;
    grid-template-columns: 160px 2fr 1fr 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    transition: all 0.2s;
    cursor: default;
  }

  a.project-row {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
  }

  .project-img {
    width: 160px;
    height: 100px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    border-radius: 4px;
  }

  .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.4s ease;
    filter: grayscale(100%);
  }

  .project-row:hover .project-img img {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
  }

  .project-row:last-child { border-bottom: 1px solid var(--border); }

  .project-row:hover .project-name { color: var(--accent); }

  .project-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
  }

  .project-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    margin-bottom: 0.35rem;
  }

  .project-desc {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
  }

  .project-tech {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .project-type {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--border);
  }

  .project-arrow {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: all 0.2s;
  }

  .project-row:hover .project-arrow {
    color: var(--accent);
    transform: translateX(4px);
  }

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

  .exp-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
  }

  .exp-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
  }

  .exp-item:last-child { border-bottom: 1px solid var(--border); }

  .exp-period {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 0.25rem;
  }

  .exp-role {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
  }

  .exp-company {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .exp-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.25rem;
    max-width: 560px;
  }

  .exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .exp-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    border: 1px solid var(--border);
    padding: 3px 10px;
    letter-spacing: 0.05em;
  }

  /* QUOTE BLOCK */
  .quote-block {
    margin: 6rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
  }

  .quote-text .hl { color: var(--accent); }

  .quote-source {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
  }

  /* CONTACT */
  #contact { background: var(--bg-2); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
    align-items: start;
  }

  .contact-left .big-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .contact-left .big-text .hl {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
  }

  .contact-left p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .contact-link:hover { color: var(--accent); }

  .contact-link .link-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
  }

  .contact-link:hover .link-icon {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* Terminal card */
  .terminal {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0;
    font-family: var(--font-mono);
  }

  .terminal-bar {
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .t-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
  }
  .t-dot.r { background: #ff5f57; }
  .t-dot.y { background: #febc2e; }
  .t-dot.g { background: #28c840; }

  .terminal-body {
    padding: 1.5rem;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 2;
  }

  .t-line { display: block; }
  .t-prompt { color: var(--accent); }
  .t-cmd { color: var(--text); }
  .t-comment { color: var(--text-dim); }
  .t-val { color: #8291ff; }
  .t-str { color: var(--accent-3); }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
  }

  footer p {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
  }

  footer .accent { color: var(--accent); }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-tag { animation: fadeUp 0.6s ease 0.1s both; }
  .hero-name { animation: fadeUp 0.6s ease 0.2s both; }
  .hero-sub { animation: fadeUp 0.6s ease 0.35s both; }
  .hero-desc { animation: fadeUp 0.6s ease 0.45s both; }
  .hero-cta { animation: fadeUp 0.6s ease 0.55s both; }

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

  /* MOBILE */
  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #hero, .section-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
    .expertise-grid { grid-template-columns: 1fr; }
    .project-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .project-img { width: 100%; height: 180px; }
    .project-type, .project-arrow { display: none; }
    .exp-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    footer { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  }
