
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg: #0a0e14;
    --bg2: #111620;
    --bg3: #161d2a;
    --accent: #00e5ff;
    --accent2: #7b61ff;
    --gold: #f4c542;
    --text: #e8eaf0;
    --muted: #6b7a99;
    --border: rgba(0,229,255,0.12);
    --card: rgba(22,29,42,0.85);
    --glow: 0 0 40px rgba(0,229,255,0.18);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom cursor */
  .cursor {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent);
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s, opacity 0.2s;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.18s cubic-bezier(.25,.8,.25,1), opacity 0.2s;
    opacity: 0.5;
  }

  /* Noise texture 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: 9990;
    opacity: 0.4;
  }

  /* Animated grid background */
  .grid-bg {
    position: fixed; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
  }
  @keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }

  /* Glowing orbs */
  .orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite alternate;
  }
  .orb-1 { width: 500px; height: 500px; background: rgba(0,229,255,0.06); top: -150px; right: -100px; animation-delay: 0s; }
  .orb-2 { width: 400px; height: 400px; background: rgba(123,97,255,0.07); bottom: 200px; left: -100px; animation-delay: -4s; }
  .orb-3 { width: 300px; height: 300px; background: rgba(244,197,66,0.05); top: 50%; left: 40%; animation-delay: -8s; }
  @keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -40px) scale(1.05); }
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.2rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    background: rgba(10,14,20,0.7);
    animation: navSlide 0.8s cubic-bezier(.25,.8,.25,1) both;
  }
  @keyframes navSlide {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-decoration: none;
  }
  .nav-logo span { color: var(--text); }
  .nav-links {
    display: flex; gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    background: none; border: none; padding: 4px;
  }
  .hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--accent);
    transition: transform 0.3s, opacity 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(10,14,20,0.97);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--accent); }

  /* SECTIONS */
  section { position: relative; z-index: 1; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 8rem 3rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
  }
  .hero-tag {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.7s 0.3s both;
  }
  .hero-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.7s 0.45s both;
  }
  .hero-name .accent { color: var(--accent); }
  .hero-title {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--gold);
    margin-bottom: 1.8rem;
    animation: fadeUp 0.7s 0.6s both;
  }
  .hero-bio {
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.7s 0.75s both;
  }
  .hero-cta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp 0.7s 0.9s both;
  }
  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: none;
    cursor: none;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.3); }
  .btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

  /* Hero visual */
  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeUp 0.9s 0.5s both;
  }
  .avatar-frame {
    position: relative;
    width: 260px; height: 260px;
  }
  .avatar-frame::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    animation: spin 12s linear infinite;
    border-top-color: transparent;
    border-bottom-color: transparent;
  }
  .avatar-frame::after {
    content: '';
    position: absolute;
    inset: -24px;
    border: 1px dashed rgba(0,229,255,0.25);
    border-radius: 50%;
    animation: spin 20s linear infinite reverse;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .avatar-frame img {
    width: 260px; height: 260px;
    object-fit: cover; object-position: top;
    border-radius: 50%;
    display: block;
    border: 3px solid var(--bg2);
    filter: grayscale(20%) contrast(1.05);
  }
  .avatar-placeholder {
    width: 260px; height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg2), var(--bg3));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent);
    border: 3px solid var(--bg2);
  }
  .hero-stats {
    display: flex; gap: 2rem;
  }
  .stat {
    text-align: center;
  }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.3rem;
  }

  /* Scrolling ticker */
  .ticker-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    background: var(--bg2);
    position: relative; z-index: 1;
  }
  .ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
  }
  .ticker-inner span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 2.5rem;
  }
  .ticker-inner span.hi { color: var(--accent); }
  @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  /* ABOUT */
  #about {
    padding: 7rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .section-label::before {
    content: '';
    width: 30px; height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 3rem;
  }
  .section-title em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .about-text p {
    font-size: 0.82rem;
    line-height: 2;
    color: var(--muted);
    margin-bottom: 1.4rem;
  }
  .about-text p strong { color: var(--text); }
  .about-cards {
    display: flex; flex-direction: column; gap: 1rem;
  }
  .info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(12px);
    transition: transform 0.25s, box-shadow 0.25s;
  }
  .info-card:hover { transform: translateX(6px); box-shadow: var(--glow); }
  .info-card-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
  }
  .info-card-value {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
  }

  /* EXPERIENCE */
  #experience {
    padding: 7rem 3rem;
    background: var(--bg2);
    position: relative;
  }
  #experience::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
    pointer-events: none;
  }
  .exp-inner { max-width: 1200px; margin: 0 auto; }

  .timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 1rem;
  }
  .timeline::before {
    content: '';
    position: absolute; left: 0; top: 8px; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), var(--accent2), transparent);
  }
  .timeline-item {
    position: relative;
    padding: 0 0 3.5rem 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s, transform 0.6s;
  }
  .timeline-item.visible { opacity: 1; transform: translateX(0); }
  .timeline-dot {
    position: absolute; left: -2.5rem; top: 4px;
    width: 14px; height: 14px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
    box-shadow: 0 0 12px var(--accent);
  }
  .tl-meta {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
  }
  .tl-period {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    padding: 0.2rem 0.7rem;
    border-radius: 2px;
  }
  .tl-company {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
  }
  .tl-role {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text);
  }
  .tl-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.6rem;
  }
  .tl-list li {
    font-size: 0.78rem;
    line-height: 1.7;
    color: var(--muted);
    padding-left: 1.2rem;
    position: relative;
  }
  .tl-list li::before {
    content: '▸';
    position: absolute; left: 0;
    color: var(--accent);
    font-size: 0.7rem;
  }

  /* SKILLS */
  #skills {
    padding: 7rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }
  .skill-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.8rem;
    backdrop-filter: blur(12px);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s, border-color 0.25s, box-shadow 0.25s;
  }
  .skill-card.visible { opacity: 1; transform: translateY(0); }
  .skill-card:hover { border-color: var(--accent); box-shadow: var(--glow); }
  .skill-card-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
  }
  .skill-card-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .skill-card-desc {
    font-size: 0.72rem;
    color: var(--muted);
    line-height: 1.7;
  }

  .tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
  }
  .tool-chip {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    padding: 0.45rem 1.1rem;
    color: var(--muted);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .tool-chip:hover { border-color: var(--accent2); color: var(--accent2); background: rgba(123,97,255,0.08); }

  /* EDUCATION */
  #education {
    padding: 7rem 3rem;
    background: var(--bg2);
    position: relative;
  }
  #education::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
    pointer-events: none;
  }
  .edu-inner { max-width: 1200px; margin: 0 auto; }
  .edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }
  .edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s, box-shadow 0.25s;
  }
  .edu-card.visible { opacity: 1; transform: translateY(0); }
  .edu-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
  .edu-card::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 60px; height: 60px;
    background: var(--accent);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0.12;
  }
  .edu-school {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
  }
  .edu-degree {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 0.4rem;
  }
  .edu-period {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.1em;
  }

  /* CERTS */
  #certifications {
    padding: 7rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .cert-list {
    display: flex; flex-direction: column; gap: 1rem;
    margin-top: 1rem;
  }
  .cert-item {
    display: flex; align-items: center; gap: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.2rem 1.8rem;
    transition: border-color 0.25s, transform 0.25s;
    opacity: 0; transform: translateX(-20px);
    transition: opacity 0.5s, transform 0.5s, border-color 0.25s;
  }
  .cert-item.visible { opacity: 1; transform: translateX(0); }
  .cert-item:hover { border-color: var(--gold); transform: translateX(6px); }
  .cert-year {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--gold);
    min-width: 60px;
  }
  .cert-name {
    font-size: 0.82rem;
    color: var(--text);
    flex: 1;
  }
  .cert-badge {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.25rem 0.7rem;
    opacity: 0.7;
  }

  /* CONTACT */
  #contact {
    padding: 7rem 3rem;
    background: var(--bg2);
    position: relative;
    text-align: center;
  }
  #contact::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 15%);
    pointer-events: none;
  }
  .contact-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
  .contact-cta {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }
  .contact-cta em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }
  .contact-sub {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 3rem;
  }
  .contact-links {
    display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  }
  .contact-link {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  }
  .contact-link:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--glow); }
  .contact-link svg { width: 16px; height: 16px; }

  /* FOOTER */
  footer {
    padding: 2rem 3rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.12em;
    position: relative; z-index: 1;
  }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    #hero { padding: 7rem 1.5rem 3rem; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .hero-bio { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; }
    #about, #skills, #certifications, #contact { padding: 5rem 1.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    #experience, #education { padding: 5rem 1.5rem; }
    footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  }
  @media (max-width: 480px) {
    .avatar-frame, .avatar-frame img, .avatar-placeholder { width: 200px; height: 200px; }
    .skills-grid { grid-template-columns: 1fr; }
    .edu-grid { grid-template-columns: 1fr; }
  }