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

  body {
    font-family: 'DM Sans', sans-serif;
    background-color: #0f0f0f;
    color: #e5e2e1;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, .font-headline {
    font-family: 'Syne', sans-serif;
  }

  /* Noise texture overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
  }

  /* Glass nav */
  .glass-nav {
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(90, 240, 179, 0.06);
  }

  /* Gradient accent */
  .curator-gradient {
    background: linear-gradient(135deg, #5af0b3 0%, #2dd4a0 100%);
  }

  /* Material icons */
  .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
  }

  /* Glow orbs */
  .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
  }

  /* Animated underline for nav links */
  .nav-link {
    position: relative;
    transition: color 0.2s;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #5af0b3;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after { width: 100%; }
  .nav-link.active { color: #5af0b3; }
  .nav-link.active::after { width: 100%; }

  /* Page load animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes slideRight {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes pulse-slow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50%       { opacity: 0.25; transform: scale(1.08); }
  }

  .anim-fade-up   { animation: fadeUp 0.7s ease both; }
  .anim-fade-in   { animation: fadeIn 0.6s ease both; }
  .anim-slide-right { animation: slideRight 0.6s ease both; }

  .delay-1 { animation-delay: 0.1s; }
  .delay-2 { animation-delay: 0.22s; }
  .delay-3 { animation-delay: 0.36s; }
  .delay-4 { animation-delay: 0.52s; }
  .delay-5 { animation-delay: 0.68s; }

  .orb-pulse { animation: pulse-slow 8s ease-in-out infinite; }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.22s; }
  .reveal-delay-3 { transition-delay: 0.36s; }

  /* Skill cards */
  .skill-card {
    border-left: 2px solid transparent;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
  }
  .skill-card:hover {
    border-left-color: #5af0b3;
    transform: translateX(4px);
  }

  /* Project cards */
  .project-card .overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .project-card:hover .overlay { opacity: 1; }
  .project-card .thumb {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .project-card:hover .thumb { transform: scale(1.06); }

  /* Service cards */
  .service-card {
    transition: background 0.3s, transform 0.3s;
    border: 1px solid transparent;
  }
  .service-card:hover {
    border-color: rgba(90, 240, 179, 0.12);
    transform: translateY(-4px);
  }
  .service-icon {
    transition: transform 0.3s, color 0.3s;
  }
  .service-card:hover .service-icon {
    transform: scale(1.15);
  }

  /* Badge pill */
  .badge {
    font-family: 'Syne', sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  /* Hire me button */
  .hire-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .hire-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5af0b3, #2dd4a0);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .hire-btn:hover { transform: scale(1.03); box-shadow: 0 0 24px rgba(90,240,179,0.2); }

  /* CTA gradient buttons */
  .btn-primary {
    background: linear-gradient(135deg, #5af0b3 0%, #2dd4a0 100%);
    color: #002318;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 32px rgba(90, 240, 179, 0.2);
    transform: translateY(-1px);
  }
  .btn-secondary {
    background: #1a1a1a;
    color: #e5e2e1;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .btn-secondary:hover {
    background: #242424;
    border-color: rgba(90, 240, 179, 0.2);
    transform: translateY(-1px);
  }

  /* Input focus */
  .contact-input {
    background: #0a0a0a;
    border: 1.5px solid rgba(255,255,255,0.07);
    color: #e5e2e1;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'DM Sans', sans-serif;
  }
  .contact-input:focus {
    outline: none;
    border-color: rgba(90, 240, 179, 0.35);
    box-shadow: 0 0 0 3px rgba(90, 240, 179, 0.06);
  }
  .contact-input::placeholder { color: #2a2a2a; }

  /* Divider line accent */
  .accent-line {
    display: inline-block;
    width: 2.5rem;
    height: 2px;
    background: #5af0b3;
    margin-right: 0.75rem;
    vertical-align: middle;
    flex-shrink: 0;
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: #0f0f0f; }
  ::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: #3d5248; }

  /* Counter */
  .stat-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: #5af0b3;
  }

  /* Tag chips */
  .tag-chip {
    font-family: 'Syne', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(90, 240, 179, 0.07);
    color: #5af0b3;
    border: 1px solid rgba(90, 240, 179, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 0.125rem;
  }

  /* Marquee */
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
  }
  .marquee-track:hover { animation-play-state: paused; }

  /* Footer link hover */
  .footer-link {
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.55;
  }
  .footer-link:hover { color: #5af0b3; opacity: 1; }

  /* Available dot pulse */
  @keyframes ping {
    75%, 100% { transform: scale(1.8); opacity: 0; }
  }
  .ping { animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite; }