
  nav.svelte-1tz0u69 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }

  nav.scrolled.svelte-1tz0u69 {
    padding: 0.8rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
  }

  .nav-inner.svelte-1tz0u69 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo.svelte-1tz0u69 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
  }

  .logo.svelte-1tz0u69:hover {
    transform: scale(1.05);
    text-decoration: none;
  }

  .logo-dot.svelte-1tz0u69 {
    color: var(--accent);
  }

  ul.svelte-1tz0u69 {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
  }

  ul.svelte-1tz0u69 button:where(.svelte-1tz0u69) {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
  }

  ul.svelte-1tz0u69 button:where(.svelte-1tz0u69)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
  }

  ul.svelte-1tz0u69 button:where(.svelte-1tz0u69):hover {
    color: var(--text-primary);
  }

  ul.svelte-1tz0u69 button:where(.svelte-1tz0u69):hover::after {
    width: 60%;
  }

  .nav-actions.svelte-1tz0u69 {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
  }

  .theme-toggle.svelte-1tz0u69 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    background: var(--surface);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
  }

  .theme-toggle.svelte-1tz0u69:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08) rotate(15deg);
    background: var(--surface-hover);
  }

  .theme-icon.svelte-1tz0u69 {
    width: 18px;
    height: 18px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .theme-toggle.svelte-1tz0u69:active .theme-icon:where(.svelte-1tz0u69) {
    transform: scale(0.85);
  }

  .hamburger.svelte-1tz0u69 {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
  }

  .hamburger.svelte-1tz0u69 span:where(.svelte-1tz0u69) {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger.open.svelte-1tz0u69 span:where(.svelte-1tz0u69):nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open.svelte-1tz0u69 span:where(.svelte-1tz0u69):nth-child(2) {
    opacity: 0;
  }

  .hamburger.open.svelte-1tz0u69 span:where(.svelte-1tz0u69):nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  @media (max-width: 768px) {
    nav.svelte-1tz0u69 {
      padding: 1rem 1.2rem;
    }

    nav.scrolled.svelte-1tz0u69 {
      padding: 0.75rem 1.2rem;
    }

    .hamburger.svelte-1tz0u69 {
      display: flex;
    }

    ul.svelte-1tz0u69 {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      max-width: 300px;
      height: 100vh;
      background: var(--nav-mobile-bg);
      backdrop-filter: blur(20px);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
      border-left: 1px solid var(--border);
    }

    ul.open.svelte-1tz0u69 {
      right: 0;
    }

    ul.svelte-1tz0u69 button:where(.svelte-1tz0u69) {
      font-size: 1.2rem;
      padding: 1rem;
    }
  }


  footer.svelte-16mkr40 {
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
  }

  .footer-inner.svelte-16mkr40 {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .social-links.svelte-16mkr40 {
    display: flex;
    gap: 1rem;
  }

  .social-link.svelte-16mkr40 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .social-link.svelte-16mkr40:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.2);
  }

  .social-link.svelte-16mkr40 svg:where(.svelte-16mkr40) {
    width: 18px;
    height: 18px;
  }

  .footer-text.svelte-16mkr40 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
  }

  .highlight.svelte-16mkr40 {
    color: var(--text-primary);
    font-weight: 600;
  }

  .footer-sub.svelte-16mkr40 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
  }


  .contact.svelte-1e6c78j {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
  }

  .contact.svelte-1e6c78j::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

  .contact-inner.svelte-1e6c78j {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-desc.svelte-1e6c78j {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
  }

  .contact-detail.svelte-1e6c78j {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .detail-label.svelte-1e6c78j {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
  }

  .detail-value.svelte-1e6c78j {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
  }

  form.svelte-1e6c78j {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .form-group.svelte-1e6c78j {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .full-width.svelte-1e6c78j {
    grid-column: 1 / -1;
  }

  label.svelte-1e6c78j {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  textarea.svelte-1e6c78j {
    resize: vertical;
    min-height: 120px;
  }

  .submit-btn.svelte-1e6c78j {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: start;
  }

  .submit-btn.svelte-1e6c78j svg:where(.svelte-1e6c78j) {
    width: 16px;
    height: 16px;
  }

  .submit-btn.svelte-1e6c78j:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }

  .spinner.svelte-1e6c78j {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: svelte-1e6c78j-spin 0.6s linear infinite;
  }

  @keyframes svelte-1e6c78j-spin {
    to {
      transform: rotate(360deg);
    }
  }

  .validation-msg.svelte-1e6c78j {
    min-height: 1.5rem;
  }

  .msg.svelte-1e6c78j {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .msg.success.svelte-1e6c78j {
    color: var(--success);
  }

  .msg.error.svelte-1e6c78j {
    color: var(--error);
  }

  .form-actions.svelte-1e6c78j {
    margin-top: 0.5rem;
  }

  .contact-socials.svelte-1e6c78j {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .social-links.svelte-1e6c78j {
    display: flex;
    gap: 1rem;
  }

  .social-link.svelte-1e6c78j {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .social-link.svelte-1e6c78j:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.2);
  }

  .social-link.svelte-1e6c78j svg:where(.svelte-1e6c78j) {
    width: 24px;
    height: 24px;
  }

  .contact-right.svelte-1e6c78j {
    display: flex;
    flex-direction: column;
  }

  .divider.svelte-1e6c78j {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .divider.svelte-1e6c78j::before,
  .divider.svelte-1e6c78j::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .divider.svelte-1e6c78j span:where(.svelte-1e6c78j) {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  @media (max-width: 768px) {
    .contact-inner.svelte-1e6c78j {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    form.svelte-1e6c78j {
      grid-template-columns: 1fr;
    }
  }


  .about.svelte-1y2st14 {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
  }

  .about.svelte-1y2st14::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

  .about-inner.svelte-1y2st14 {
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .about-header.svelte-1y2st14 {
    margin-bottom: 3.5rem;
  }

  .about-grid.svelte-1y2st14 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .about-text.svelte-1y2st14 p:where(.svelte-1y2st14) {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
  }

  .about-text.svelte-1y2st14 strong:where(.svelte-1y2st14) {
    color: var(--text-primary);
  }

  .highlight.svelte-1y2st14 {
    color: var(--accent);
    text-decoration: none;
    position: relative;
    font-weight: 600;
  }

  .highlight.svelte-1y2st14::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .highlight.svelte-1y2st14:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .skills-heading.svelte-1y2st14 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .skill-tags.svelte-1y2st14 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .skill-tag.svelte-1y2st14 {
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
  }

  .skill-tag.svelte-1y2st14:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(108, 99, 255, 0.08);
    transform: translateY(-2px);
  }

  @media (max-width: 768px) {
    .about-grid.svelte-1y2st14 {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  }


  .projects.svelte-1oqg12h {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
  }

  .projects.svelte-1oqg12h::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }

  .projects-inner.svelte-1oqg12h {
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .projects-header.svelte-1oqg12h {
    margin-bottom: 3.5rem;
  }

  .project-grid.svelte-1oqg12h {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
  }

  .project-card.svelte-1oqg12h {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
  }

  .project-card.svelte-1oqg12h::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .project-card.svelte-1oqg12h:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: var(--card-shadow-hover);
  }

  .project-card.svelte-1oqg12h:hover::before {
    opacity: 1;
  }

  .card-top.svelte-1oqg12h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .folder-icon.svelte-1oqg12h {
    width: 36px;
    height: 36px;
    color: var(--accent);
  }

  .card-link.svelte-1oqg12h {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 6px;
  }

  .card-link.svelte-1oqg12h:hover {
    color: var(--accent);
    transform: translate(3px, -3px);
  }

  .card-link.svelte-1oqg12h svg:where(.svelte-1oqg12h) {
    width: 20px;
    height: 20px;
  }

  .card-name.svelte-1oqg12h {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
  }

  .project-card.svelte-1oqg12h:hover .card-name:where(.svelte-1oqg12h) {
    color: var(--accent);
  }

  .card-desc.svelte-1oqg12h {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 1.5rem;
  }

  .card-tags.svelte-1oqg12h {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
  }

  .tag.svelte-1oqg12h {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: var(--tag-bg);
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  @media (max-width: 768px) {
    .project-grid.svelte-1oqg12h {
      grid-template-columns: 1fr;
    }
  }


  .page-container.svelte-1cl1lwk {
    color: var(--text-secondary);
  }

  /* ── HERO ─────────────────────────────── */
  .hero.svelte-1cl1lwk {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
  }

  .hero-bg-grid.svelte-1cl1lwk {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        rgba(108, 99, 255, 0.03) 1px,
        transparent 1px
      ),
      linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(
      ellipse 70% 60% at 50% 50%,
      black 30%,
      transparent 100%
    );
  }

  .hero-bg-orb.svelte-1cl1lwk {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: svelte-1cl1lwk-float 8s ease-in-out infinite;
  }

  .orb-1.svelte-1cl1lwk {
    width: 500px;
    height: 500px;
    background: var(--hero-orb-1);
    top: -10%;
    right: -5%;
  }

  .orb-2.svelte-1cl1lwk {
    width: 400px;
    height: 400px;
    background: var(--hero-orb-2);
    bottom: -10%;
    left: -5%;
    animation-delay: -4s;
  }

  @keyframes svelte-1cl1lwk-float {
    0%,
    100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(20px, -20px) scale(1.05);
    }
  }

  .hero-content.svelte-1cl1lwk {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: var(--max-width);
    width: 100%;
  }

  /* Staggered reveal: each direct child transitions individually */
  .hero-content.svelte-1cl1lwk .hero-text:where(.svelte-1cl1lwk) > :where(.svelte-1cl1lwk),
  .hero-content.svelte-1cl1lwk .hero-visual:where(.svelte-1cl1lwk) {
    opacity: 0;
    transform: translateY(25px);
    transition:
      opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-content.visible.svelte-1cl1lwk .hero-text:where(.svelte-1cl1lwk) > :where(.svelte-1cl1lwk),
  .hero-content.visible.svelte-1cl1lwk .hero-visual:where(.svelte-1cl1lwk) {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-greeting.svelte-1cl1lwk {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
  }

  .hero-name.svelte-1cl1lwk {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
  }

  .hero-dot.svelte-1cl1lwk {
    color: var(--accent-pink);
  }

  .hero-role.svelte-1cl1lwk {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1.2rem;
  }

  .hero-desc.svelte-1cl1lwk {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
    margin: 0 0 2rem;
  }

  .hero-cta.svelte-1cl1lwk {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* ── AVATAR ───────────────────────────── */
  .hero-visual.svelte-1cl1lwk {
    position: relative;
    flex-shrink: 0;
  }

  .avatar-ring.svelte-1cl1lwk {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: linear-gradient(
      135deg,
      rgba(108, 99, 255, 0.15),
      rgba(255, 101, 132, 0.15)
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border);
  }

  .avatar-glow.svelte-1cl1lwk {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.12;
    filter: blur(40px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: svelte-1cl1lwk-pulse 4s ease-in-out infinite;
  }

  @keyframes svelte-1cl1lwk-pulse {
    0%,
    100% {
      opacity: 0.12;
      transform: translate(-50%, -50%) scale(1);
    }
    50% {
      opacity: 0.2;
      transform: translate(-50%, -50%) scale(1.08);
    }
  }

  .avatar.svelte-1cl1lwk {
    object-fit: contain;
    max-width: 310px;
    position: relative;
    top: 6px;
    filter: var(--avatar-shadow);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  }

  .avatar-ring.svelte-1cl1lwk:hover .avatar:where(.svelte-1cl1lwk) {
    transform: scale(1.04);
  }

  /* ── SCROLL INDICATOR ─────────────────── */
  .scroll-indicator.svelte-1cl1lwk {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s ease 1.2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .scroll-indicator.svelte-1cl1lwk:hover .scroll-line:where(.svelte-1cl1lwk) {
    background: linear-gradient(to bottom, var(--accent-pink), transparent);
    height: 60px;
  }

  .scroll-indicator.visible.svelte-1cl1lwk {
    opacity: 1;
  }

  .scroll-line.svelte-1cl1lwk {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: svelte-1cl1lwk-scrollPulse 2s ease-in-out infinite;
  }

  @keyframes svelte-1cl1lwk-scrollPulse {
    0%,
    100% {
      opacity: 1;
      transform: scaleY(1);
    }
    50% {
      opacity: 0.4;
      transform: scaleY(0.6);
    }
  }

  /* ── RESPONSIVE ───────────────────────── */
  @media (max-width: 768px) {
    .hero.svelte-1cl1lwk {
      padding: 8rem 1.5rem 4rem;
    }

    .hero-content.svelte-1cl1lwk {
      flex-direction: column-reverse;
      text-align: center;
      gap: 2.5rem;
    }

    .hero-desc.svelte-1cl1lwk {
      margin-left: auto;
      margin-right: auto;
    }

    .hero-cta.svelte-1cl1lwk {
      justify-content: center;
    }

    .avatar-ring.svelte-1cl1lwk {
      width: 240px;
      height: 240px;
    }

    .avatar.svelte-1cl1lwk {
      max-width: 220px;
    }

    .avatar-glow.svelte-1cl1lwk {
      width: 260px;
      height: 260px;
    }

    .scroll-indicator.svelte-1cl1lwk {
      display: none;
    }
  }


  @import url("https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@700;900&display=swap");

  :root {
    --bg-primary: #0f0f23;
    --bg-secondary: #13132b;
    --bg-tertiary: #1a1a3e;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --accent: #6c63ff;
    --accent-pink: #ff6584;
    --accent-gradient: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);

    --text-primary: #fffffe;
    --text-secondary: #b8c1ec;
    --text-muted: #6b7294;

    --font-display: 'Frank Ruhl Libre', serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --section-padding: 6rem 2rem;
    --max-width: 1100px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Theme-specific custom elements */
    --nav-bg: rgba(15, 15, 35, 0.85);
    --nav-border: rgba(255, 255, 255, 0.06);
    --nav-shadow: rgba(0, 0, 0, 0.3);
    --nav-mobile-bg: rgba(15, 15, 35, 0.97);

    --hero-orb-1: radial-gradient(circle, rgba(108, 99, 255, 0.35), transparent 70%);
    --hero-orb-2: radial-gradient(circle, rgba(255, 101, 132, 0.2), transparent 70%);
    --avatar-shadow: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));

    --card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(108, 99, 255, 0.06);
    --tag-bg: rgba(255, 255, 255, 0.04);
    --success: #34d399;
    --error: #f87171;
  }

  html.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --surface: rgba(15, 23, 42, 0.04);
    --surface-hover: rgba(15, 23, 42, 0.07);
    --border: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.14);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #57657a; /* Optimized for WCAG AA compliance (5.1:1 contrast ratio) */

    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-border: rgba(15, 23, 42, 0.06);
    --nav-shadow: rgba(0, 0, 0, 0.05);
    --nav-mobile-bg: rgba(255, 255, 255, 0.97);

    --hero-orb-1: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 70%);
    --hero-orb-2: radial-gradient(circle, rgba(255, 101, 132, 0.08), transparent 70%);
    --avatar-shadow: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.15));

    --card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 60px rgba(108, 99, 255, 0.04);
    --tag-bg: rgba(15, 23, 42, 0.04);
    --success: #10b981;
    --error: #e11d48;
  }

  /* High-end Accessible Focus Ring */
  *:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-secondary);
  }

  body, .about, .projects, .contact, footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  ul {
    padding: 0;
  }

  input, textarea {
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }

  input:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
    outline: none;
  }

  input::placeholder, textarea::placeholder {
    color: var(--text-muted);
  }

  button {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
  }

  .btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
  }

  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
  }

  .section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
  }

  .accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
    margin-bottom: 1.5rem;
  }

