:root {
    --bg-primary: #0C0F14;
    --bg-secondary: #12161E;
    --bg-card: #161B26;
    --bg-card-hover: #1C2233;
    --accent: #6C9BFF;
    --accent-soft: rgba(108, 155, 255, 0.12);
    --accent-glow: rgba(108, 155, 255, 0.25);
    --text-primary: #E8ECF4;
    --text-secondary: #8A93A6;
    --text-muted: #5A6378;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(108, 155, 255, 0.2);
    --success: #4ADE80;
    --warm: #F5A623;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --mono: 'JetBrains Mono', monospace;
  }

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

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: var(--sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── Scrollbar ─── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg-primary); }
  ::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

  /* ─── Selection ─── */
  ::selection { background: var(--accent-soft); color: var(--accent); }

  /* ─── Navigation ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1rem 2rem;
    background: rgba(12, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
  }
  nav.scrolled { background: rgba(12, 15, 20, 0.95); }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    font-family: var(--serif); font-size: 1.3rem;
    color: var(--text-primary); text-decoration: none;
    letter-spacing: -0.02em;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .nav-logo img {
    width: 32px; height: 32px; border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-hover);
    transition: transform 0.3s ease;
  }
  .nav-logo img:hover {
    transform: scale(1.35);
  }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
    text-transform: uppercase; transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px; background: var(--accent);
    transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--text-primary); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--accent); }
  .nav-links a.active::after { width: 100%; background: var(--accent); }

  .hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; position: relative; z-index: 101;
  }
  .hamburger span {
    display: block; width: 100%; height: 2px; background: var(--text-primary);
    position: absolute; left: 0; transition: all 0.3s ease;
  }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { top: 18px; }
  .hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

  /* ─── Sections ─── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }

  .section-label {
    font-family: var(--mono); font-size: 0.75rem; font-weight: 500;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: 0.15em; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .section-label::before {
    content: ''; width: 24px; height: 1px; background: var(--accent);
  }
  .section-title {
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2; margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
  }
  .section-subtitle {
    color: var(--text-secondary); font-size: 1.05rem;
    max-width: 600px; line-height: 1.8;
  }

  /* ─── Hero ─── */
  .hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; padding-top: 5rem;
  }
  .hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
      radial-gradient(ellipse 60% 50% at 70% 20%, rgba(108, 155, 255, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(108, 155, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: gradientShift 8s ease-in-out infinite alternate;
  }
  .hero-grid-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
  }

  .hero .container { position: relative; z-index: 1; }
  .hero-content { max-width: 720px; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; border-radius: 100px;
    background: var(--accent-soft); border: 1px solid var(--border-hover);
    font-size: 0.8rem; color: var(--accent); font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease both, floatBadge 3s ease-in-out 1.5s infinite;
  }
  .hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
  }

  .hero h1 {
    font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeSlideUp 0.8s ease 0.1s both;
  }
  .hero h1 .accent { color: var(--accent); }
  .hero h1 .italic { font-style: italic; color: var(--text-secondary); }

  .hero-description {
    color: var(--text-secondary); font-size: 1.1rem;
    line-height: 1.9; max-width: 560px; margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.8s ease 0.2s both;
  }

  .hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.3s both;
  }

  .btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1.8rem; border-radius: 8px;
    font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s ease;
    cursor: pointer; border: none;
  }
  .btn-primary {
    background: var(--accent); color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(108, 155, 255, 0.25);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 155, 255, 0.35);
  }
  .btn-ghost {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border);
  }
  .btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--accent-soft);
  }
  .btn svg { width: 16px; height: 16px; }

  .hero-metrics {
    display: flex; gap: 3rem; margin-top: 4rem; padding-top: 3rem;
    border-top: 1px solid var(--border);
    animation: fadeSlideUp 0.8s ease 0.4s both;
  }
  .metric-label {
    font-size: 0.8rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 0.4rem;
  }

  /* ─── About ─── */
  #about { background: var(--bg-secondary); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start; margin-top: 3rem;
  }
  .about-text p {
    color: var(--text-secondary); font-size: 1rem;
    line-height: 1.9; margin-bottom: 1.25rem;
  }
  .about-text p strong { color: var(--text-primary); font-weight: 600; }

  .about-photo {
    width: 100%; max-width: 280px; margin: 0 auto 2rem;
    border-radius: 16px; overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
  }
  .about-photo:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(108, 155, 255, 0.15);
  }
  .about-photo img {
    width: 100%; height: auto; display: block;
    object-fit: cover;
  }
  .about-details { display: flex; flex-direction: column; gap: 1.5rem; }
  .detail-card {
    padding: 1.5rem; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    transition: all 0.3s ease;
  }
  .detail-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
  }
  .detail-card-header {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 0.75rem;
  }
  .detail-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }
  .detail-card h4 {
    font-size: 0.95rem; font-weight: 600;
  }
  .detail-card p {
    color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7;
  }

  /* ─── Skills ─── */
  .skills-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3rem;
  }
  .skill-category {
    padding: 2rem; border-radius: 14px;
    background: var(--bg-card); border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative; overflow: hidden;
  }
  .skill-category::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: opacity 0.4s;
  }
  .skill-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .skill-category:hover::before { opacity: 1; }

  .skill-cat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 1.25rem;
  }
  .skill-category h3 {
    font-size: 1.05rem; font-weight: 700;
    margin-bottom: 1rem; letter-spacing: -0.01em;
  }
  .skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .skill-tag {
    padding: 0.35rem 0.85rem; border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    font-size: 0.8rem; color: var(--text-secondary);
    font-weight: 500; transition: all 0.3s;
  }
  .skill-tag:hover {
    color: var(--accent); border-color: var(--border-hover);
    background: var(--accent-soft);
  }

  /* ─── Soft Skills ─── */
  .soft-skills-row {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 2rem; padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
  .soft-skill {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1.2rem; border-radius: 100px;
    background: var(--bg-card); border: 1px solid var(--border);
    font-size: 0.85rem; color: var(--text-secondary);
    font-weight: 500; transition: all 0.3s ease;
  }
  .soft-skill:hover {
    color: var(--accent); border-color: var(--border-hover);
    background: var(--accent-soft);
  }
  .soft-skill-icon { font-size: 1rem; }

  /* ─── Projects ─── */
  #projects { background: var(--bg-secondary); }
  .projects-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }

  .project-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: all 0.4s ease;
  }
  .project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  }

  .project-tech-visual {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .tech-pill {
    padding: 0.45rem 1rem; border-radius: 6px;
    font-family: var(--mono); font-size: 0.75rem;
    background: rgba(255,255,255,0.06); color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .project-card:nth-child(1) .tech-pill { color: var(--accent); border-color: rgba(108,155,255,0.2); }
  .project-card:nth-child(2) .tech-pill { color: var(--success); border-color: rgba(74,222,128,0.2); }
  .project-card:nth-child(3) .tech-pill { color: var(--warm); border-color: rgba(245,166,35,0.2); }

  .project-info { padding: 2.5rem; }
  .project-type {
    font-family: var(--mono); font-size: 0.72rem;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.12em; margin-bottom: 0.75rem;
  }
  .project-info h3 {
    font-family: var(--serif); font-size: 1.5rem;
    margin-bottom: 1rem; letter-spacing: -0.02em;
    line-height: 1.3;
  }
  .project-info p {
    color: var(--text-secondary); font-size: 0.92rem;
    line-height: 1.8; margin-bottom: 1.5rem;
  }
  .project-highlights {
    display: flex; flex-direction: column; gap: 0.6rem;
    margin-bottom: 1.5rem;
  }
  .highlight {
    display: flex; align-items: baseline; gap: 0.6rem;
    font-size: 0.88rem; color: var(--text-secondary);
  }
  .highlight-marker {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
    margin-top: 0.5rem;
  }
  .project-card:nth-child(2) .highlight-marker { background: var(--success); }
  .project-card:nth-child(3) .highlight-marker { background: var(--warm); }

  .project-links { display: flex; gap: 0.75rem; }
  .project-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: 6px;
    font-size: 0.82rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    border: 1px solid var(--border); color: var(--text-secondary);
  }
  .project-link:hover {
    color: var(--accent); border-color: var(--border-hover);
    background: var(--accent-soft);
  }
  .project-link svg { width: 14px; height: 14px; }

  /* ─── Experience Timeline ─── */
  .timeline { margin-top: 3rem; position: relative; }
  .timeline-item {
    padding-left: 3rem; padding-bottom: 3rem;
    position: relative;
  }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-dot {
    position: absolute; left: -5px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg-primary); border: 2px solid var(--accent);
  }
  .timeline-item:first-child .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: dotGlow 2s ease-in-out infinite;
  }

  /* ─── Staggered Reveal Delays ─── */
  .timeline-item.reveal:nth-child(1) { transition-delay: 0s; }
  .timeline-item.reveal:nth-child(2) { transition-delay: 0.1s; }
  .timeline-item.reveal:nth-child(3) { transition-delay: 0.2s; }
  .timeline-item.reveal:nth-child(4) { transition-delay: 0.3s; }
  .timeline-item.reveal:nth-child(5) { transition-delay: 0.4s; }
  .timeline-item.reveal:nth-child(6) { transition-delay: 0.5s; }

  .skill-category.reveal:nth-child(1) { transition-delay: 0s; }
  .skill-category.reveal:nth-child(2) { transition-delay: 0.15s; }
  .skill-category.reveal:nth-child(3) { transition-delay: 0.3s; }

  .edu-card.reveal:nth-child(1) { transition-delay: 0s; }
  .edu-card.reveal:nth-child(2) { transition-delay: 0.1s; }
  .edu-card.reveal:nth-child(3) { transition-delay: 0.2s; }
  .edu-card.reveal:nth-child(4) { transition-delay: 0.3s; }

  .project-card.reveal:nth-child(1) { transition-delay: 0s; }
  .project-card.reveal:nth-child(2) { transition-delay: 0.15s; }
  .project-card.reveal:nth-child(3) { transition-delay: 0.3s; }

  /* ─── Animated Timeline Line ─── */
  .timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 1px; background: var(--border);
    background: linear-gradient(to bottom, var(--accent), var(--border) 30%, var(--border) 70%, transparent);
    transform-origin: top;
    animation: growLine 1.5s ease-out both;
  }
  .timeline-date {
    font-family: var(--mono); font-size: 0.75rem;
    color: var(--text-muted); margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
  }
  .timeline-item h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem;
  }
  .timeline-company {
    font-size: 0.9rem; color: var(--accent); margin-bottom: 0.75rem;
  }
  .timeline-item p {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8;
  }

  /* ─── Education & Certs ─── */
  #education { background: var(--bg-secondary); }
  .edu-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; margin-top: 3rem;
  }
  .edu-card {
    padding: 2rem; border-radius: 14px;
    background: var(--bg-card); border: 1px solid var(--border);
    transition: all 0.3s ease;
  }
  .edu-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
  }
  .edu-card h3 {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
  }
  .edu-card .institution {
    font-size: 0.88rem; color: var(--accent); margin-bottom: 0.5rem;
  }
  .edu-card p {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7;
  }
  .cert-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.2rem 0.7rem; border-radius: 4px;
    background: var(--accent-soft); color: var(--accent);
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
  }
  a.cert-badge:hover {
    background: var(--accent); color: var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(108, 155, 255, 0.3);
  }

  /* ─── Contact ─── */
  .contact-content {
    text-align: center; max-width: 600px; margin: 0 auto;
  }
  .contact-content .section-label { justify-content: center; }
  .contact-content .section-title { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .contact-content .section-subtitle {
    margin: 0 auto 2.5rem;
  }
  .contact-links {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  }
  .contact-card {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.5rem; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    text-decoration: none; color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 0.9rem; font-weight: 500;
  }
  .contact-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  }
  .contact-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-soft); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }

  /* ─── Tooltip ─── */
  .tooltip {
    position: relative;
    color: var(--accent);
    font-weight: 600;
    cursor: help;
    border-bottom: 1px dashed var(--accent);
  }
  .tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10;
  }
  .tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* ─── Footer ─── */
  footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  footer p {
    font-size: 0.8rem; color: var(--text-muted);
  }

  /* ─── Animations ─── */
  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  @keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  @keyframes gradientShift {
    0% { opacity: 0.7; transform: scale(1) translateX(0); }
    100% { opacity: 1; transform: scale(1.05) translateX(10px); }
  }
  @keyframes dotGlow {
    0%, 100% { box-shadow: 0 0 12px var(--accent-glow); }
    50% { box-shadow: 0 0 24px var(--accent-glow), 0 0 40px rgba(108, 155, 255, 0.15); }
  }
  @keyframes growLine {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }
  @keyframes countFadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
  }

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

  /* ─── Metric counter animation ─── */
  .metric-value {
    font-family: var(--serif); font-size: 2rem;
    color: var(--text-primary); line-height: 1;
  }
  .metric-value.counted {
    animation: countFadeIn 0.6s ease both;
  }

  /* ─── Accessibility: Reduced Motion ─── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
  }

  /* ─── Responsive ─── */
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .skills-grid { grid-template-columns: 1fr 1fr; }

    .edu-grid { grid-template-columns: 1fr; }
    .hero-metrics { gap: 2rem; }
  }

  @media (max-width: 640px) {
    section { padding: 4rem 1.25rem; }
    .nav-links { 
      display: none; flex-direction: column;
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(12, 15, 20, 0.98);
      justify-content: center; align-items: center;
      gap: 2rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .hamburger { display: block; }
    .skills-grid { grid-template-columns: 1fr; }
    .hero-metrics { flex-direction: column; gap: 1.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }
    .contact-links { flex-direction: column; }
    .soft-skills-row { gap: 0.6rem; }
    .soft-skill { font-size: 0.8rem; padding: 0.5rem 1rem; }
  }
