    :root {
      --primary: #4F46E5;
      --primary-hover: #3730A3;
      --primary-light: #EEF2FF;
      --primary-mid: #C7D2FE;
      --accent: #06B6D4;
      --success: #10B981;
      --bg: #F9FAFB;
      --bg-white: #FFFFFF;
      --text: #0F172A;
      --text-body: #334155;
      --text-muted: #64748B;
      --text-faint: #94A3B8;
      --border: #E2E8F0;
      --radius: 12px;
      --radius-lg: 20px;
      --radius-xl: 28px;
      --radius-pill: 100px;
      --shadow-xs: 0 1px 4px rgba(15, 23, 42, .06);
      --shadow-sm: 0 2px 12px rgba(79, 70, 229, .08);
      --shadow-md: 0 8px 32px rgba(79, 70, 229, .13);
      --shadow-lg: 0 20px 60px rgba(79, 70, 229, .18);
      --nav-h: 68px;
      --tr: .3s cubic-bezier(.4, 0, .2, 1);
      --tr-fast: .18s cubic-bezier(.4, 0, .2, 1);
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--nav-h);
    }

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ::selection {
      background: var(--primary-mid);
      color: var(--primary-hover);
    }

    ::-webkit-scrollbar {
      width: 5px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--primary-mid);
      border-radius: 4px;
    }

    #mainNav {
      height: var(--nav-h);
      transition: background var(--tr), box-shadow var(--tr);
      background: transparent;
      z-index: 1050;
    }

    #mainNav.nav-scrolled {
      background: rgba(255, 255, 255, .93);
      backdrop-filter: blur(16px);
      box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(15, 23, 42, .06);
    }

    .nav-brand {
      font-weight: 800;
      font-size: 1.15rem;
      letter-spacing: -.5px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      display: flex;
      align-items: center;
      gap: .35rem;
    }

    .brand-dot {
      width: 7px;
      height: 7px;
      background: var(--accent);
      border-radius: 50%;
    }

    .nav-link-custom {
      font-size: .875rem;
      font-weight: 500;
      color: var(--text-body) !important;
      padding: .4rem .85rem !important;
      border-radius: 8px;
      position: relative;
      transition: color var(--tr-fast), background var(--tr-fast);
    }

    .nav-link-custom::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 50%;
      right: 50%;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transition: left var(--tr), right var(--tr);
    }

    .nav-link-custom:hover,
    .nav-link-custom.active {
      color: var(--primary) !important;
      background: var(--primary-light);
    }

    .nav-link-custom.active::after {
      left: .85rem;
      right: .85rem;
    }

    .navbar-toggler {
      border: none;
      padding: .3rem;
    }

    .navbar-toggler:focus {
      box-shadow: none;
    }

    .nav-cta {
      background: var(--primary);
      color: #fff !important;
      border-radius: 10px;
      padding: .45rem 1.1rem !important;
      font-weight: 600;
      font-size: .85rem;
      transition: background var(--tr), transform var(--tr-fast), box-shadow var(--tr);
    }

    .nav-cta:hover {
      background: var(--primary-hover) !important;
      color: #fff !important;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(79, 70, 229, .3);
    }

    .nav-cta::after {
      display: none;
    }

    .lang-switch .btn {
      font-size: .72rem;
      font-weight: 700;
      padding: .32rem .6rem;
      line-height: 1;
      border-radius: 8px !important;
      border: 1px solid var(--border);
      color: var(--text-body);
      background: var(--bg-white);
    }

    .lang-switch .btn.active {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
    }

    .section-pad {
      padding: 100px 0;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--primary);
      background: var(--primary-light);
      border: 1px solid var(--primary-mid);
      padding: .3rem 1rem;
      border-radius: var(--radius-pill);
      margin-bottom: 1rem;
    }

    .section-heading {
      font-size: clamp(1.75rem, 3.5vw, 2.5rem);
      font-weight: 800;
      background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.18;
      letter-spacing: -.75px;
    }

    .section-subtext {
      font-size: .95rem;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 540px;
    }

    .rule {
      width: 40px;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      border-radius: 3px;
      margin: 1rem 0 1.5rem;
    }

    .rule.center {
      margin-left: auto;
      margin-right: auto;
    }

    .btn-solid {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: var(--primary);
      color: #fff;
      font-weight: 600;
      font-size: .875rem;
      padding: .7rem 1.6rem;
      border-radius: var(--radius);
      border: 2px solid transparent;
      transition: background var(--tr), transform var(--tr-fast), box-shadow var(--tr);
    }

    .btn-solid:hover {
      background: var(--primary-hover);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(79, 70, 229, .32);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: transparent;
      color: var(--primary);
      font-weight: 600;
      font-size: .875rem;
      padding: .68rem 1.6rem;
      border-radius: var(--radius);
      border: 2px solid var(--primary);
      transition: all var(--tr);
    }

    .btn-ghost:hover {
      background: var(--primary);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(79, 70, 229, .24);
    }

    .btn-neutral {
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: var(--bg-white);
      color: var(--text-body);
      font-weight: 600;
      font-size: .875rem;
      padding: .68rem 1.6rem;
      border-radius: var(--radius);
      border: 2px solid var(--border);
      transition: all var(--tr);
    }

    .btn-neutral:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }

    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: var(--nav-h);
      position: relative;
      overflow: hidden;
      background: var(--bg);
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(79, 70, 229, .032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, .032) 1px, transparent 1px);
      background-size: 40px 40px;
      mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 30%, transparent 100%);
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
    }

    .hero-orb-1 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(79, 70, 229, .11), transparent 70%);
      top: -100px;
      right: -100px;
    }

    .hero-orb-2 {
      width: 380px;
      height: 380px;
      background: radial-gradient(circle, rgba(6, 182, 212, .08), transparent 70%);
      bottom: -80px;
      left: -80px;
    }

    .hero-status {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-pill);
      padding: .35rem 1rem .35rem .55rem;
      font-size: .78rem;
      font-weight: 600;
      color: var(--text-body);
      box-shadow: var(--shadow-xs);
      margin-bottom: 1.2rem;
    }

    .status-dot {
      width: 8px;
      height: 8px;
      background: var(--success);
      border-radius: 50%;
      position: relative;
    }

    .status-dot::after {
      content: '';
      position: absolute;
      inset: -3px;
      border-radius: 50%;
      background: rgba(16, 185, 129, .25);
      animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
    }

    @keyframes ping {
      75%,
      100% {
        transform: scale(1.8);
        opacity: 0;
      }
    }

    .hero-name {
      font-size: clamp(2.4rem, 5.5vw, 3.8rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -1.5px;
      color: var(--text);
      margin-bottom: .6rem;
    }

    .name-accent {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-role {
      font-size: clamp(.9rem, 1.8vw, 1.05rem);
      font-weight: 500;
      color: var(--text-muted);
      margin-bottom: 1.4rem;
      line-height: 1.6;
    }

    .hero-role strong {
      color: var(--primary);
      font-weight: 600;
    }

    .hero-intro {
      font-size: .95rem;
      color: var(--text-body);
      line-height: 1.85;
      text-align: justify;
    }

    .hero-btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: .75rem;
      margin-bottom: 2.8rem;
    }

    .hero-stats {
      display: flex;
      flex-wrap: wrap;
      gap: .75rem;
    }

    .hero-stat-chip {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-top: 3px solid var(--primary);
      border-radius: var(--radius);
      padding: .55rem 1rem;
      box-shadow: var(--shadow-xs);
      display: flex;
      align-items: center;
      gap: .55rem;
    }

    .hero-stat-chip:nth-child(1) { border-top-color: var(--primary); }
    .hero-stat-chip:nth-child(2) { border-top-color: var(--accent); }
    .hero-stat-chip:nth-child(3) { border-top-color: #10B981; }

    .stat-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
      color: var(--primary);
    }

    .stat-num {
      font-size: 1rem;
      font-weight: 800;
      color: var(--text);
      line-height: 1;
    }

    .stat-lbl {
      font-size: .7rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .hero-img-col {
      display: flex;
      justify-content: center;
    }

    .hero-img-frame {
      position: relative;
      width: 320px;
      height: 320px;
    }

    .hero-img-frame::before {
      content: '';
      position: absolute;
      inset: -12px;
      border-radius: 50%;
      background: conic-gradient(var(--primary) 0deg, var(--accent) 120deg, var(--primary-mid) 200deg, transparent 240deg, var(--primary) 360deg);
      animation: spin 12s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .hero-img-frame::after {
      content: '';
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      background: var(--bg);
    }

    .hero-profile-img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid var(--bg-white);
      box-shadow: var(--shadow-lg);
    }

    .float-chip {
      position: absolute;
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: .45rem .85rem;
      font-size: .75rem;
      font-weight: 700;
      color: var(--text);
      box-shadow: 0 4px 16px rgba(15, 23, 42, .1);
      display: flex;
      align-items: center;
      gap: .4rem;
      z-index: 2;
      white-space: nowrap;
    }

    .float-chip i {
      color: var(--primary);
      font-size: .9rem;
    }

    .float-chip-1 {
      top: 10%;
      left: -20%;
      animation: fl1 4s ease-in-out infinite;
    }

    .float-chip-2 {
      bottom: 18%;
      left: -24%;
      animation: fl2 5s ease-in-out infinite;
    }

    .float-chip-3 {
      top: 8%;
      right: -16%;
      animation: fl1 4.5s ease-in-out infinite .5s;
    }

    .float-chip-4 {
      bottom: 10%;
      right: -18%;
      animation: fl2 4s ease-in-out infinite .8s;
    }

    @keyframes fl1 {
      0%,
      100% {
        transform: translateY(0)
      }
      50% {
        transform: translateY(-8px)
      }
    }

    @keyframes fl2 {
      0%,
      100% {
        transform: translateY(0)
      }
      50% {
        transform: translateY(8px)
      }
    }

    #about {
      background: var(--bg-white);
    }

    .about-body {
      font-size: .95rem;
      color: var(--text-body);
      line-height: 1.9;
      margin-bottom: 1.2rem;
      text-align: justify;
    }

    .skill-cluster {
      margin-bottom: 1.1rem;
    }

    .skill-clusters {
      margin-top: .5rem;
    }

    .skill-cluster-label {
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--text-muted);
      margin-bottom: .5rem;
    }

    .skill-tag {
      display: inline-block;
      border-radius: 8px;
      font-size: .78rem;
      font-weight: 600;
      padding: .28rem .7rem;
      margin: .2rem .2rem 0 0;
      transition: background var(--tr-fast), transform var(--tr-fast);
    }

    .skill-clusters .skill-cluster:nth-child(1) .skill-tag {
      background: #EEF2FF;
      color: #4F46E5;
      border: 1px solid #C7D2FE;
    }
    .skill-clusters .skill-cluster:nth-child(1) .skill-tag:hover {
      background: #4F46E5;
      color: #fff;
    }

    .skill-clusters .skill-cluster:nth-child(2) .skill-tag {
      background: #FAF5FF;
      color: #9333EA;
      border: 1px solid #D8B4FE;
    }
    .skill-clusters .skill-cluster:nth-child(2) .skill-tag:hover {
      background: #9333EA;
      color: #fff;
    }

    .skill-clusters .skill-cluster:nth-child(3) .skill-tag {
      background: #F0FDF4;
      color: #16A34A;
      border: 1px solid #BBF7D0;
    }
    .skill-clusters .skill-cluster:nth-child(3) .skill-tag:hover {
      background: #16A34A;
      color: #fff;
    }

    .skill-tag:hover {
      transform: translateY(-2px);
    }

    .avc {
      background: var(--bg);
      border: 1px solid var(--border);
      border-left: 4px solid var(--primary);
      border-radius: var(--radius-lg);
      padding: 1.4rem 1.5rem;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
    }

    .avc:nth-child(1) { border-left-color: var(--primary); }
    .avc:nth-child(2) { border-left-color: var(--accent); }
    .avc:nth-child(3) { border-left-color: #10B981; }
    .avc:nth-child(4) { border-left-color: #F59E0B; }
    .avc:nth-child(5) { border-left-color: #EC4899; }

    .avc:hover {
      box-shadow: var(--shadow-sm);
      border-color: var(--primary-mid);
      transform: translateY(-3px);
    }

    .avc-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      color: var(--primary);
      flex-shrink: 0;
    }

    .avc-title {
      font-size: .9rem;
      font-weight: 700;
      margin-bottom: .22rem;
    }

    .avc-body {
      font-size: .82rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    #experience {
      background: linear-gradient(180deg, var(--bg) 0%, #EEF2FF 100%);
    }

    #projects {
      background: var(--bg-white);
    }

    .porto-card {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xs);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      height: 100%;
      transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
    }

    .porto-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary-mid);
    }

    .card-stripe {
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
    }

    .card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(79, 70, 229, .92) 0%, rgba(6, 182, 212, .85) 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: .4rem;
      opacity: 0;
      transition: opacity var(--tr);
      border-radius: var(--radius-lg);
    }

    .porto-card:hover .card-overlay {
      opacity: 1;
    }

    .overlay-label {
      color: #fff;
      font-size: .9rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    .overlay-sub {
      color: rgba(255, 255, 255, .7);
      font-size: .75rem;
    }

    .card-inner {
      padding: 1.5rem;
    }

    .exp-badge {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      font-size: .7rem;
      font-weight: 700;
      padding: .2rem .65rem;
      border-radius: var(--radius-pill);
      margin-bottom: .8rem;
    }

    .exp-badge.fl {
      background: #FEF3C7;
      color: #92400E;
    }

    .exp-badge.ft {
      background: #D1FAE5;
      color: #065F46;
    }

    .exp-badge.in {
      background: #E0E7FF;
      color: var(--primary-hover);
    }

    .exp-role {
      font-size: 1.02rem;
      font-weight: 700;
      margin-bottom: .15rem;
    }

    .exp-company {
      font-size: .9rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: .5rem;
    }

    .exp-meta {
      font-size: .78rem;
      color: var(--text-muted);
      display: flex;
      flex-wrap: wrap;
      gap: .3rem;
      align-items: center;
      margin-bottom: .85rem;
    }

    .exp-summary {
      font-size: .84rem;
      color: var(--text-body);
      line-height: 1.65;
      text-align: justify;
    }

    .proj-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: var(--primary-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .proj-name {
      font-size: 1.02rem;
      font-weight: 700;
      margin-bottom: .4rem;
    }

    .proj-desc {
      font-size: .84rem;
      color: var(--text-muted);
      line-height: 1.65;
      margin-bottom: 1rem;
    }

    .proj-badges {
      display: flex;
      flex-wrap: wrap;
      gap: .3rem;
    }

    .proj-badge {
      font-size: .7rem;
      font-weight: 600;
      padding: .22rem .6rem;
      border-radius: 6px;
      background: var(--primary-light);
      color: var(--primary);
      border: 1px solid var(--primary-mid);
    }

    #contact {
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    #contact::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(79, 70, 229, .055), transparent 70%);
      top: -200px;
      right: -200px;
      pointer-events: none;
    }

    .cta-box {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 2.5rem;
      box-shadow: var(--shadow-md);
      position: relative;
      z-index: 1;
      margin-bottom: 2.5rem;
    }

    .cta-title {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: .5rem;
    }

    .cta-sub {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 0;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: var(--primary);
      color: #fff;
      font-weight: 600;
      font-size: .9rem;
      padding: .8rem 1.8rem;
      border-radius: var(--radius);
      transition: background var(--tr), transform var(--tr-fast), box-shadow var(--tr);
    }

    .cta-btn:hover {
      background: var(--primary-hover);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(79, 70, 229, .32);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
    }

    .contact-card {
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.4rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: all var(--tr);
    }

    .contact-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary-mid);
      background: var(--primary-light);
    }

    .contact-card:hover .cc-label {
      color: var(--primary);
    }

    .contact-card:hover .cc-value {
      color: var(--primary-hover);
    }

    .cc-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .cc-label {
      font-size: .75rem;
      font-weight: 700;
      color: var(--text-muted);
      margin-bottom: .1rem;
    }

    .cc-value {
      font-size: .9rem;
      font-weight: 600;
      color: var(--text-body);
    }

    footer {
      background: var(--text);
      color: rgba(255, 255, 255, .45);
      padding: 1.8rem 2rem;
      font-size: .8rem;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }

    .footer-socials {
      display: flex;
      align-items: center;
      gap: .85rem;
    }

    .footer-socials a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, .7);
      font-size: 1.1rem;
      transition: color var(--tr-fast), transform var(--tr-fast);
    }

    .footer-socials a:hover {
      color: var(--primary-mid);
      transform: translateY(-1px);
    }

    .modal-content {
      border: none;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }

    .modal-header {
      border-bottom: 1px solid var(--border);
      padding: 1.4rem 1.6rem 1.2rem;
    }

    .modal-title {
      font-weight: 700;
      font-size: 1.05rem;
    }

    .modal-company {
      font-size: .85rem;
      color: var(--primary);
      font-weight: 600;
    }

    .modal-meta {
      font-size: .78rem;
      color: var(--text-muted);
      margin-top: .2rem;
    }

    .modal-body {
      padding: 1.6rem;
    }

    .modal-body ul {
      padding-left: 0;
      list-style: none;
    }

    .modal-body ul li {
      display: flex;
      align-items: flex-start;
      gap: .65rem;
      margin-bottom: .75rem;
      font-size: .875rem;
      color: var(--text-body);
      line-height: 1.65;
    }

    .modal-body ul li::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--primary);
      flex-shrink: 0;
      margin-top: .55rem;
    }

    .modal-footer {
      border-top: 1px solid var(--border);
      padding: 1rem 1.6rem;
    }

    .modal-tech {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      margin-bottom: 1.2rem;
    }

    .modal-tech .proj-badge {
      font-size: .75rem;
      padding: .28rem .7rem;
    }

    .modal-slabel {
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--text-muted);
      margin-bottom: .6rem;
      margin-top: 1rem;
    }

    #scrollTopBtn {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 46px;
      height: 46px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.05rem;
      box-shadow: var(--shadow-md);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transform: translateY(16px);
      transition: opacity var(--tr), transform var(--tr), background var(--tr-fast);
      z-index: 990;
    }

    #scrollTopBtn.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    #scrollTopBtn:hover {
      background: var(--primary-hover);
    }

    .fade-up {
      opacity: 1;
      transform: none;
      transition: opacity .65s ease, transform .65s ease;
    }

    .js-ready .fade-up {
      opacity: 0;
      transform: translateY(28px);
    }

    .js-ready .fade-up.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 991px) {
      #hero {
        text-align: center;
        padding-bottom: 60px;
      }

      .hero-btn-row {
        justify-content: center;
      }

      .hero-stats {
        justify-content: center;
      }

      .hero-intro {
        text-align: center;
      }

      .hero-img-frame {
        width: 260px;
        height: 260px;
      }

      .float-chip-1,
      .float-chip-2 {
        left: -5%;
      }

      .float-chip-3,
      .float-chip-4 {
        right: -5%;
      }

      #navMenu {
        background: var(--bg-white);
        padding: 1rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        margin-top: .5rem;
        max-height: 80vh;
        overflow-y: auto;
      }

      #navMenu .nav-link-custom {
        padding: .6rem 1rem !important;
      }

      #navMenu .nav-cta {
        margin-top: .25rem;
        text-align: center;
      }

      .avc {
        padding: 1.2rem;
      }

      .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: .75rem;
      }
    }

    @media (max-width: 767px) {
      .section-pad {
        padding: 64px 0;
      }

      .section-heading {
        font-size: clamp(1.35rem, 4.5vw, 1.65rem);
      }

      .section-subtext {
        font-size: .87rem;
      }

      .hero-name {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
      }

      .hero-role {
        font-size: .88rem;
      }

      .hero-img-frame {
        width: 220px;
        height: 220px;
      }

      .float-chip {
        display: none;
      }

      .hero-stat-chip {
        flex: 1;
        min-width: 140px;
      }

      .about-body {
        text-align: left;
        font-size: .9rem;
      }

      .avc {
        padding: 1rem;
      }

      .avc-title {
        font-size: .85rem;
      }

      .avc-body {
        font-size: .78rem;
      }

      .cta-box {
        padding: 1.75rem 1.25rem;
        text-align: center;
      }

      .cta-title {
        font-size: 1.3rem;
      }

      .cta-sub {
        font-size: .85rem;
      }

      .cta-btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 575px) {
      .section-pad {
        padding: 48px 0;
      }

      .hero-name {
        font-size: clamp(1.5rem, 8vw, 1.8rem);
      }

      .hero-btn-row a {
        width: 100%;
        justify-content: center;
      }

      .hero-stat-chip {
        width: 100%;
        min-width: unset;
      }

      .contact-card {
        padding: 1rem;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .modal-header {
        padding: 1rem 1.2rem;
      }

      .modal-body {
        padding: 1rem 1.2rem;
      }

      .modal-title {
        font-size: .95rem;
      }

      footer {
        padding: 1.4rem 1rem;
      }

      .cc-value {
        font-size: .82rem;
      }

      #scrollTopBtn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: .9rem;
      }
    }

    @media (min-width: 576px) and (max-width: 767px) {
      .hero-stat-chip {
        flex: 0 1 auto;
      }
    }

    /* ══════════════════════════════════════════════════════════════
       ADD-ONS — anti-monoton pack (dark mode, timeline, spotlight,
       filters, marquee, motion). Appended, no base rules touched.
       ══════════════════════════════════════════════════════════════ */

    /* ── Accent themes (footer switcher) ── */
    html[data-accent="teal"] {
      --primary: #0D9488;
      --primary-hover: #0F766E;
      --primary-light: #CCFBF1;
      --primary-mid: #99F6E4;
    }

    html[data-accent="amber"] {
      --primary: #D97706;
      --primary-hover: #B45309;
      --primary-light: #FEF3C7;
      --primary-mid: #FDE68A;
    }

    /* ── Dark theme tokens ── */
    html[data-theme="dark"] {
      --primary: #818CF8;
      --primary-hover: #A5B4FC;
      --primary-light: #1C2452;
      --primary-mid: #4F46E5;
      --accent: #22D3EE;
      --success: #34D399;
      --bg: #0B1120;
      --bg-white: #131B2E;
      --text: #F1F5F9;
      --text-body: #CBD5E1;
      --text-muted: #94A3B8;
      --text-faint: #64748B;
      --border: #243152;
    }

    html[data-theme="dark"][data-accent="teal"] {
      --primary: #2DD4BF;
      --primary-hover: #99F6E4;
      --primary-light: #134E4A;
      --primary-mid: #0F766E;
    }

    html[data-theme="dark"][data-accent="amber"] {
      --primary: #FBBF24;
      --primary-hover: #FDE68A;
      --primary-light: #3B2A10;
      --primary-mid: #B45309;
    }

    /* ── Dark theme component fixes ── */
    html[data-theme="dark"] #mainNav.nav-scrolled {
      background: rgba(11, 17, 32, .92);
      box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0, 0, 0, .35);
    }

    html[data-theme="dark"] #hero::before {
      background-image:
        linear-gradient(rgba(129, 140, 248, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, .05) 1px, transparent 1px);
    }

    html[data-theme="dark"] #experience {
      background: linear-gradient(180deg, var(--bg) 0%, #141B33 100%);
    }

    html[data-theme="dark"] .modal-content {
      background: var(--bg-white);
      color: var(--text);
    }

    html[data-theme="dark"] .btn-close {
      filter: invert(1) grayscale(1) brightness(2);
    }

    html[data-theme="dark"] footer {
      background: #070D1A;
    }

    html[data-theme="dark"] ::selection {
      background: var(--primary-mid);
      color: #fff;
    }

    /* ── Section rhythm ── */
    #uses {
      background: var(--bg);
    }

    #services {
      background: var(--bg-white);
    }

    #now {
      background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
    }

    html[data-theme="dark"] #now {
      background: linear-gradient(180deg, var(--bg) 0%, #141B33 100%);
    }

    /* ── Scroll progress bar ── */
    #scrollProgress {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      width: 0;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      z-index: 1060;
      pointer-events: none;
    }

    /* ── Theme toggle (navbar) ── */
    .theme-toggle {
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--bg-white);
      color: var(--text-body);
      font-size: 1rem;
      cursor: pointer;
      transition: color var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
    }

    .theme-toggle:hover {
      color: var(--primary);
      border-color: var(--primary);
      transform: translateY(-1px);
    }

    /* ── Typing caret ── */
    .typing-caret {
      display: inline-block;
      width: 2px;
      height: 1em;
      background: var(--primary);
      margin-left: 3px;
      vertical-align: -2px;
      animation: blink 1s step-end infinite;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    #typingRole {
      color: var(--primary);
      font-weight: 600;
    }

    /* ── Marquee strip ── */
    .marquee {
      overflow: hidden;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg-white);
      padding: .9rem 0;
    }

    .marquee-track {
      display: flex;
      gap: 2.75rem;
      width: max-content;
      animation: marquee 30s linear infinite;
    }

    .marquee:hover .marquee-track {
      animation-play-state: paused;
    }

    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      font-size: .85rem;
      font-weight: 700;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .marquee-item i {
      color: var(--primary);
      font-size: 1rem;
    }

    .marquee-dot {
      color: var(--border);
      font-size: .6rem;
    }

    @keyframes marquee {
      to { transform: translateX(-50%); }
    }

    /* ── Experience timeline ── */
    .timeline {
      position: relative;
      max-width: 920px;
      margin: 0 auto;
      padding: .5rem 0 0;
    }

    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      transform: translateX(-50%);
      background: linear-gradient(180deg, var(--primary), var(--accent));
      opacity: .35;
      border-radius: 2px;
    }

    .tl-item {
      position: relative;
      width: 50%;
      padding: 0 2.4rem 2rem 0;
    }

    .tl-item:nth-child(even) {
      margin-left: 50%;
      padding: 0 0 2rem 2.4rem;
    }

    .tl-dot {
      position: absolute;
      top: 24px;
      right: -9px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--bg-white);
      border: 4px solid var(--primary);
      box-shadow: 0 0 0 4px var(--primary-light);
      z-index: 1;
    }

    .tl-item:nth-child(even) .tl-dot {
      right: auto;
      left: -9px;
    }

    .tl-date {
      font-size: .7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--primary);
      margin-bottom: .35rem;
    }

    /* ── Project spotlight ── */
    .spotlight-card {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      border-radius: var(--radius-xl);
      overflow: hidden;
      background: linear-gradient(135deg, #312E81 0%, #4F46E5 55%, #0891B2 100%);
      color: #fff;
      box-shadow: var(--shadow-lg);
      cursor: pointer;
      transition: transform var(--tr), box-shadow var(--tr);
    }

    .spotlight-card:hover {
      transform: translateY(-6px);
    }

    .spotlight-body {
      padding: 2.2rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: .8rem;
    }

    .spotlight-flag {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      align-self: flex-start;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      background: rgba(255, 255, 255, .16);
      border: 1px solid rgba(255, 255, 255, .3);
      padding: .3rem .9rem;
      border-radius: var(--radius-pill);
    }

    .spotlight-title {
      font-size: clamp(1.3rem, 2.6vw, 1.8rem);
      font-weight: 800;
      letter-spacing: -.5px;
      line-height: 1.2;
    }

    .spotlight-desc {
      font-size: .88rem;
      line-height: 1.7;
      color: rgba(255, 255, 255, .85);
    }

    .spotlight-badges {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
    }

    .spotlight-badges span {
      font-size: .7rem;
      font-weight: 600;
      padding: .22rem .65rem;
      border-radius: 6px;
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .28);
    }

    .spotlight-cta {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      align-self: flex-start;
      margin-top: .4rem;
      background: #fff;
      color: #312E81;
      font-weight: 700;
      font-size: .85rem;
      padding: .65rem 1.5rem;
      border-radius: var(--radius);
      transition: transform var(--tr-fast), box-shadow var(--tr);
    }

    .spotlight-card:hover .spotlight-cta {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    }

    .spotlight-media {
      position: relative;
      min-height: 280px;
    }

    .spotlight-media img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top left;
    }

    .spotlight-media::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(49, 46, 129, .55) 0%, transparent 45%);
    }

    /* ── Filter tabs ── */
    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .5rem;
      margin-bottom: 2.2rem;
    }

    .filter-btn {
      border: 1.5px solid var(--border);
      background: var(--bg-white);
      color: var(--text-body);
      font-family: inherit;
      font-size: .8rem;
      font-weight: 600;
      padding: .45rem 1.15rem;
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: all var(--tr-fast);
    }

    .filter-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-1px);
    }

    .filter-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #fff;
      box-shadow: 0 6px 18px rgba(79, 70, 229, .28);
    }

    /* ── Tilt helper (JS-driven) ── */
    .tilt {
      transform-style: preserve-3d;
      will-change: transform;
    }

    /* ── Now list ── */
    .now-list {
      list-style: none;
      padding: 0;
      margin: 0 auto;
      max-width: 720px;
      display: flex;
      flex-direction: column;
      gap: .9rem;
    }

    .now-item {
      display: flex;
      gap: .85rem;
      align-items: flex-start;
      background: var(--bg-white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1rem 1.25rem;
      box-shadow: var(--shadow-xs);
      font-size: .88rem;
      color: var(--text-body);
      line-height: 1.65;
      transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
    }

    .now-item:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-sm);
      border-color: var(--primary-mid);
    }

    .now-item > i {
      color: var(--success);
      font-size: 1.05rem;
      margin-top: .15rem;
      flex-shrink: 0;
    }

    /* ── Footer accent switcher ── */
    .accent-dots {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
    }

    .accent-label {
      font-size: .72rem;
      color: rgba(255, 255, 255, .55);
      margin-right: .15rem;
    }

    .accent-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid transparent;
      cursor: pointer;
      padding: 0;
      transition: transform var(--tr-fast), border-color var(--tr-fast), box-shadow var(--tr-fast);
    }

    .accent-dot[data-set-accent="indigo"] { background: #4F46E5; }
    .accent-dot[data-set-accent="teal"] { background: #0D9488; }
    .accent-dot[data-set-accent="amber"] { background: #D97706; }

    .accent-dot:hover {
      transform: scale(1.15);
    }

    .accent-dot.active {
      border-color: #fff;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
      transform: scale(1.12);
    }

    /* ── Add-on responsive ── */
    @media (max-width: 991px) {
      .spotlight-card {
        grid-template-columns: 1fr;
      }

      .spotlight-media {
        min-height: 220px;
        order: -1;
      }

      .spotlight-media::after {
        background: linear-gradient(0deg, rgba(49, 46, 129, .45) 0%, transparent 55%);
      }

      .spotlight-body {
        padding: 1.6rem;
      }
    }

    @media (max-width: 767px) {
      .timeline::before {
        left: 9px;
      }

      .tl-item,
      .tl-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 1.5rem 2.4rem;
      }

      .tl-item .tl-dot,
      .tl-item:nth-child(even) .tl-dot {
        right: auto;
        left: 1px;
      }

      .filter-tabs {
        gap: .4rem;
      }

      .filter-btn {
        font-size: .75rem;
        padding: .4rem .95rem;
      }
    }

    /* ── Respect reduced motion (HRD & a11y friendly) ── */
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }

      html {
        scroll-behavior: auto;
      }

      .marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
      }
    }
