    :root {
      --bg-primary: #E9EDF5;
      --bg-secondary: #DDE3FB;
      --bg-accent: #D6E4FA;
      --c-primary: #3B82F6;
      --c-secondary: #6366F1;
      --c-accent: #8B5CF6;
      --c-success: #22C55E;
      --c-warning: #F59E0B;
      --c-danger: #EF4444;
      --t-primary: #111827;
      --t-secondary: #4B5563;
      --t-muted: #94A3B8;
      --glass-bg: rgba(255, 255, 255, .16);
      --glass-border: rgba(255, 255, 255, .28);
      --radius-sm: 12px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-xl: 32px;
      --ease-default: cubic-bezier(.4, 0, .2, 1);
      --ease-entrance: cubic-bezier(.16, 1, .3, 1);
      --shadow-ambient: 0 1px 2px rgba(15, 23, 42, .04);
      --shadow-key: 0 20px 40px -12px rgba(59, 130, 246, .15);
      --gradient-accent: linear-gradient(90deg, var(--c-primary), var(--c-secondary), var(--c-accent));
    }

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

    a {
      text-decoration: none !important;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--t-primary);
      background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary), var(--bg-accent));
      background-attachment: fixed;
      overflow-x: hidden;
      line-height: 1.6;
    }

    h1,
    h2,
    h3,
    h4 {
      letter-spacing: -.02em;
      font-weight: 700;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 32px;
    }

    section {
      position: relative;
      padding: 140px 0;
    }

    /* ---------- Background blobs ---------- */
    .blob-layer {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(70px);
      opacity: .3;
    }

    .blob-1 {
      width: 520px;
      height: 520px;
      background: var(--c-primary);
      top: -120px;
      left: -100px;
      animation: float1 22s ease-in-out infinite;
    }

    .blob-2 {
      width: 460px;
      height: 460px;
      background: var(--c-accent);
      top: 30%;
      right: -140px;
      animation: float2 26s ease-in-out infinite;
    }

    .blob-3 {
      width: 420px;
      height: 420px;
      background: var(--c-secondary);
      bottom: -100px;
      left: 20%;
      animation: float3 20s ease-in-out infinite;
    }

    @keyframes float1 {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(60px, 80px) scale(1.15);
      }
    }

    @keyframes float2 {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(-70px, 50px) scale(1.1);
      }
    }

    @keyframes float3 {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(50px, -60px) scale(1.12);
      }
    }

    .noise {
      position: fixed;
      inset: 0;
      z-index: 0;
      opacity: .03;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    main,
    header,
    footer {
      position: relative;
      z-index: 1;
    }

    /* ---------- Glass card base ---------- */
    .glass {
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-ambient), var(--shadow-key);
      transition: transform .25s var(--ease-default), box-shadow .25s var(--ease-default), border-color .25s var(--ease-default);
    }

    .glass:hover {
      transform: translateY(-6px);
      border-color: rgba(255, 255, 255, .42);
      box-shadow: var(--shadow-ambient), 0 28px 48px -12px rgba(59, 130, 246, .22);
    }

    /* ---------- Navbar ---------- */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 50;
      padding: 20px 0;
      transition: padding .4s var(--ease-default);
    }

    .navbar.scrolled {
      padding: 14px 0;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 0;
      background: transparent;
      border: 1px solid transparent;
      box-shadow: none;
      backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);
      transition: max-width .45s var(--ease-default), padding .45s var(--ease-default),
        border-radius .45s var(--ease-default), background .4s var(--ease-default),
        box-shadow .4s var(--ease-default), border-color .4s var(--ease-default);
    }

    .navbar.scrolled .nav-inner {
      max-width: 880px;
      margin: 0 auto;
      padding: 10px 14px 10px 22px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .32);
      border: 1px solid rgba(255, 255, 255, .45);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow: 0 1px 0 rgba(255, 255, 255, .3) inset, 0 12px 32px -8px rgba(15, 23, 42, .12);
    }

    .nav-links {
      transition: gap .4s var(--ease-default);
    }

    .navbar.scrolled .nav-links {
      gap: 22px;
    }

    .navbar.scrolled .nav-links a {
      font-size: 13px;
    }

    .navbar.scrolled .logo {
      font-size: 17px;
    }

    .navbar.scrolled .nav-cta .btn {
      padding: 9px 16px;
      font-size: 13px;
    }

    .logo {
      font-weight: 800;
      font-size: 20px;
      color: var(--t-primary);
      text-decoration: none;
      transition: font-size .4s var(--ease-default);
    }

    .logo span {
      background: var(--gradient-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      position: relative;
      text-decoration: none;
      color: var(--t-secondary);
      font-size: 14px;
      font-weight: 500;
      padding-bottom: 4px;
      transition: color .2s var(--ease-default), font-size .4s var(--ease-default);
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 50%;
      right: 50%;
      bottom: 0;
      height: 2px;
      background: var(--gradient-accent);
      border-radius: 2px;
      transition: left .3s var(--ease-default), right .3s var(--ease-default);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--t-primary);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      left: 0;
      right: 0;
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: inherit;
      font-weight: 600;
      font-size: 15px;
      border: none;
      border-radius: var(--radius-sm);
      cursor: pointer;
      padding: 14px 26px;
      transition: transform .2s var(--ease-default), filter .2s var(--ease-default), box-shadow .2s var(--ease-default), background .2s var(--ease-default), padding .4s var(--ease-default), font-size .4s var(--ease-default);
    }

    .btn:focus-visible {
      outline: 2px solid var(--c-primary);
      outline-offset: 2px;
    }

    .btn:active {
      transform: scale(.97);
    }

    .btn-primary {
      background: var(--gradient-accent);
      background-size: 160% 100%;
      color: #fff;
      box-shadow: 0 12px 24px -8px rgba(59, 130, 246, .45);
    }

    .btn-primary:hover {
      transform: scale(1.02);
      background-position: 100% 0;
      box-shadow: 0 16px 30px -8px rgba(59, 130, 246, .55);
    }

    .btn-ghost {
      background: rgba(255, 255, 255, .16);
      border: 1px solid rgba(255, 255, 255, .3);
      color: var(--t-primary);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, .28);
      transform: scale(1.02);
    }

    .btn-sm {
      padding: 10px 18px;
      font-size: 14px;
    }

    /* ---------- Hero ---------- */
    .hero {
      padding-top: 220px;
      padding-bottom: 120px;
      min-height: 100vh;
      display: flex;
      align-items: center;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 60px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--c-secondary);
      background: rgba(99, 102, 241, .08);
      border: 1px solid rgba(99, 102, 241, .18);
      padding: 6px 14px;
      border-radius: 999px;
      margin-bottom: 24px;
    }

    .eyebrow .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--c-success);
      box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
    }

    .hero h1 {
      font-size: 64px;
      line-height: 1.1;
      margin-bottom: 20px;
    }

    .hero h1 .accent-text {
      background: var(--gradient-accent);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      font-size: 18px;
      color: var(--t-secondary);
      max-width: 520px;
      margin-bottom: 36px;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      margin-bottom: 56px;
    }

    .hero-stats {
      display: flex;
      gap: 36px;
    }

    .stat b {
      display: block;
      font-size: 28px;
      font-weight: 800;
    }

    .stat span {
      font-size: 13px;
      color: var(--t-muted);
    }

    .hero-visual {
      position: relative;
      width: 100%;
      max-width: 460px;
      aspect-ratio: 1 / 1;
      margin: 0 auto;
    }

    .hero-card {
      position: absolute;
      padding: 24px;
    }

    .hero-card-main {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      box-shadow: none;
      padding: 12px;
      position: relative;
    }

    .hero-card-main::before {
      content: '';
      position: absolute;
      inset: 30px;
      border-radius: 24px;
      background: radial-gradient(ellipse at center, rgba(99,102,241,.25) 0%, rgba(139,92,246,.15) 40%, transparent 70%);
      filter: blur(30px);
      z-index: -1;
    }

    .hero-avatar {
      width: 100%;
      height: 100%;
      border-radius: 20px;
      background-size: cover;
      background-position: center top;
      background-color: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 72px;
      font-weight: 800;
      color: #fff;
      box-shadow:
        0 8px 32px rgba(99,102,241,.2),
        0 2px 8px rgba(0,0,0,.08);
      border: 2px solid rgba(255,255,255,.25);
      overflow: hidden;
      transition: transform 0.4s var(--ease-default), box-shadow 0.4s var(--ease-default);
      object-fit: cover;
    }

    .hero-avatar:hover {
      transform: scale(1.02);
      box-shadow:
        0 16px 48px rgba(99,102,241,.3),
        0 4px 12px rgba(0,0,0,.1);
    }

    .floating-chip {
      position: absolute;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 600;
      animation: floaty 6s ease-in-out infinite;
    }

    .floating-chip.chip-1 {
      top: 8%;
      left: -4%;
      animation-delay: 0s;
    }

    .floating-chip.chip-2 {
      bottom: 12%;
      right: -6%;
      animation-delay: 1.5s;
    }

    .floating-chip.chip-3 {
      bottom: -2%;
      left: 10%;
      animation-delay: 3s;
    }

    @keyframes floaty {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-14px);
      }
    }

    .chip-icon {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

    .scroll-cue {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--t-muted);
      font-size: 12px;
    }

    .scroll-cue .line {
      width: 1px;
      height: 28px;
      background: linear-gradient(var(--t-muted), transparent);
      animation: scrolldown 1.8s ease-in-out infinite;
    }

    @keyframes scrolldown {
      0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
      }

      40% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
      }

      100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
      }
    }

    /* ---------- Reveal ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .6s var(--ease-entrance), transform .6s var(--ease-entrance);
    }

    .reveal.in {
      opacity: 1;
      transform: translateY(0);
    }

    /* ---------- Section heading ---------- */
    .section-head {
      max-width: 640px;
      margin: 0 auto 64px;
      text-align: center;
    }

    #projects .section-head {
      /* Removed sticky to prevent overlap bugs */
      position: relative;
      z-index: 10;
    }

    .section-head .eyebrow {
      margin-left: auto;
      margin-right: auto;
    }

    .section-head h2 {
      font-size: 44px;
      margin-bottom: 14px;
    }

    .section-head p {
      color: var(--t-secondary);
      font-size: 17px;
    }

    /* ---------- Tentang Saya V2 ---------- */
    #about {
      overflow: hidden;
      padding: 120px 0 100px;
    }

    .about-v2 {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    /* Top Row: Bio Left + Principle Right */
    .about-v2-top {
      display: grid;
      grid-template-columns: 1.6fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .about-v2-left {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* Greeting Badge */
    .about-greeting-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(139, 92, 246, 0.12);
      border: 1px solid rgba(139, 92, 246, 0.2);
      color: #7c3aed;
      font-size: 13px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 100px;
      width: fit-content;
      letter-spacing: 0.01em;
      margin: 0 auto;
    }

    .greeting-wave {
      display: inline-block;
      animation: wave-hand 2.5s ease-in-out infinite;
      transform-origin: 70% 70%;
    }

    @keyframes wave-hand {
      0%, 60%, 100% { transform: rotate(0deg); }
      10% { transform: rotate(14deg); }
      20% { transform: rotate(-8deg); }
      30% { transform: rotate(14deg); }
      40% { transform: rotate(-4deg); }
      50% { transform: rotate(10deg); }
    }

    /* Name */
    .about-v2-name {
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
      color: var(--t-primary);
    }

    .name-highlight {
      background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Subtitle */
    .about-v2-subtitle {
      font-size: 20px;
      font-weight: 500;
      color: var(--t-secondary);
      margin-top: 2px;
    }

    /* Bio */
    .about-v2-bio p {
      color: var(--t-secondary);
      font-size: 15px;
      line-height: 1.85;
      margin-top: 8px;
    }

    /* Principle Card */
    .about-v2-right {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 0;
    }

    .principle-card-v2 {
      padding: 28px 26px;
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-lg) !important;
      background: rgba(255, 255, 255, 0.22) !important;
      border: 1px solid rgba(255, 255, 255, 0.35) !important;
    }

    .principle-card-v2:hover {
      transform: translateY(-4px);
    }

    .principle-card-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .principle-icon-circle {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      flex-shrink: 0;
    }

    .principle-title-v2 {
      font-size: 17px;
      font-weight: 700;
      color: var(--t-primary);
      letter-spacing: -0.01em;
    }

    .principle-quote-v2 {
      position: relative;
      padding: 0 4px;
    }

    .principle-quote-v2 p {
      font-size: 14.5px;
      line-height: 1.8;
      color: var(--t-secondary);
      font-style: italic;
      margin: 0;
    }

    .quote-mark {
      font-size: 56px;
      font-weight: 800;
      line-height: 1;
      color: rgba(139, 92, 246, 0.15);
      font-family: Georgia, serif;
      user-select: none;
      position: absolute;
    }

    .quote-open {
      top: -20px;
      right: 0;
    }

    .quote-close {
      bottom: -36px;
      right: 8px;
    }

    /* Credential Chips */
    .about-v2-credentials {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }

    .credential-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--t-primary);
      border-radius: 100px;
      cursor: default;
      background: rgba(255, 255, 255, 0.25) !important;
      border: 1px solid rgba(255, 255, 255, 0.35) !important;
      transition: transform 0.3s var(--ease-default), box-shadow 0.3s var(--ease-default);
    }

    .credential-chip:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.2);
    }

    .credential-icon {
      font-size: 18px;
    }

    /* Skills Section */
    .about-v2-skills {
      margin-top: 16px;
    }

    .skills-section-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 28px;
    }

    .skills-title-icon {
      font-size: 22px;
    }

    .skills-section-title h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--t-primary);
      letter-spacing: -0.02em;
    }

    /* Skills Grid */
    .skills-grid-v2 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .skill-card-v2 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 20px;
      border-radius: 16px !important;
      background: rgba(255, 255, 255, 0.2) !important;
      border: 1px solid rgba(255, 255, 255, 0.3) !important;
      cursor: default;
      transition: transform 0.3s var(--ease-default), box-shadow 0.3s var(--ease-default), background 0.3s;
    }

    .skill-card-v2:hover {
      transform: translateY(-4px);
      background: rgba(255, 255, 255, 0.32) !important;
      box-shadow: 0 12px 32px -8px rgba(99, 102, 241, 0.18);
    }

    .skill-card-inner {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .skill-icon-circle {
      width: 44px;
      height: 44px;
      min-width: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
    }

    .skill-card-text h4 {
      font-size: 13px;
      font-weight: 800;
      color: var(--t-primary);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 3px;
    }

    .skill-card-text p {
      font-size: 12.5px;
      color: var(--t-secondary);
      font-weight: 500;
      line-height: 1.4;
    }

    .skill-card-arrow {
      font-size: 22px;
      color: var(--t-muted);
      font-weight: 300;
      transition: transform 0.3s var(--ease-default), color 0.3s;
      flex-shrink: 0;
    }

    .skill-card-v2:hover .skill-card-arrow {
      transform: translateX(4px);
      color: var(--c-accent);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .about-v2-top {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .about-v2-name {
        font-size: 36px;
      }

      .skills-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .about-v2-name {
        font-size: 30px;
      }

      .about-v2-subtitle {
        font-size: 17px;
      }

      .skills-grid-v2 {
        grid-template-columns: 1fr;
      }

      .about-v2-credentials {
        flex-direction: column;
      }

      .credential-chip {
        justify-content: center;
      }
    }

    /* ---------- Teknologi ---------- */
    .tech-category {
      margin-bottom: 44px;
    }

    .tech-category h3 {
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--t-muted);
      margin-bottom: 18px;
      font-weight: 600;
    }

    .tech-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .tech-chip {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px;
      font-size: 14px;
      font-weight: 600;
      color: var(--t-primary);
      cursor: default;
      transition: transform 0.4s var(--ease-default), box-shadow 0.4s var(--ease-default), border-color 0.4s;
    }

    .tech-chip:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 32px -8px rgba(99,102,241,.2);
      border-color: rgba(255,255,255,0.4);
    }

    .tech-chip .swatch {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: var(--gradient-accent);
      box-shadow: inset 0 2px 4px rgba(255,255,255,.2);
    }

    /* ---------- Projects ---------- */
    .project-grid {
      display: flex;
      flex-direction: column;
      gap: 60px;
      max-width: 900px;
      margin: 0 auto;
    }

    .project-card {
      overflow: hidden;
      padding: 0;
      position: sticky;
      top: 100px;
      /* Adds a little shadow on top so cards stand out when overlapping */
      box-shadow: 0 -10px 30px rgba(0,0,0,0.05), var(--shadow-ambient), var(--shadow-key);
      display: flex;
      flex-direction: column;
      background: var(--bg-primary); /* ensure solid background so cards don't show through each other */
    }

    /* Stacking offset for up to 8 cards */
    .project-card:nth-child(1) { top: 100px; }
    .project-card:nth-child(2) { top: 130px; }
    .project-card:nth-child(3) { top: 160px; }
    .project-card:nth-child(4) { top: 190px; }
    .project-card:nth-child(5) { top: 220px; }
    .project-card:nth-child(6) { top: 250px; }
    .project-card:nth-child(7) { top: 280px; }
    .project-card:nth-child(8) { top: 310px; }

    .project-thumb {
      height: 360px;
      background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
      position: relative;
      overflow: hidden;
      transition: transform .4s var(--ease-default);
    }

    .project-card:hover .project-thumb {
      transform: scale(1.03);
    }

    .project-thumb .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(17, 24, 39, .55), transparent 60%);
      opacity: 0;
      transition: opacity .3s var(--ease-default);
      display: flex;
      align-items: flex-end;
      padding: 18px;
    }

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

    .overlay a {
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .project-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; width: 100%; height: 100%; }
    .project-slider::-webkit-scrollbar { display: none; }
    .project-slide { flex: 0 0 100%; height: 100%; background-size: cover; background-position: center; scroll-snap-align: start; }
    .slider-hint { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.5); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 999px; pointer-events: none; z-index: 2; }

    .project-body {
      padding: 28px 32px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
      gap: 24px;
    }

    .project-body > div:first-child {
      flex: 1;
    }

    .project-detail-btn {
      background: rgba(59, 130, 246, 0.08);
      color: var(--c-primary);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 100px;
      padding: 10px 20px;
      font-size: 14px;
      white-space: nowrap;
      transition: all 0.3s ease;
    }

    .project-detail-btn:hover {
      background: var(--c-primary);
      color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.4);
    }

    .project-body h3 {
      font-size: 19px;
      margin-bottom: 8px;
    }

    .project-body p {
      font-size: 14px;
      color: var(--t-secondary);
      margin-bottom: 16px;
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag {
      font-size: 11px;
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 8px;
      background: rgba(99, 102, 241, .08);
      color: var(--c-secondary);
    }

    /* ---------- Experience Timeline ---------- */
    .timeline {
      position: relative;
      max-width: 760px;
      margin: 0 auto;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: linear-gradient(var(--c-primary), var(--c-accent));
      opacity: .25;
    }

    .timeline-item {
      position: relative;
      padding-left: 64px;
      margin-bottom: 44px;
    }

    .timeline-dot {
      position: absolute;
      left: 11px;
      top: 6px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--c-primary);
      box-shadow: 0 0 0 6px rgba(59, 130, 246, .12);
    }

    .timeline-item h3 {
      font-size: 19px;
      margin-bottom: 4px;
    }

    .timeline-item .meta {
      font-size: 13px;
      color: var(--t-muted);
      margin-bottom: 12px;
    }

    .timeline-item ul {
      padding-left: 18px;
      color: var(--t-secondary);
      font-size: 14px;
    }

    .timeline-item li {
      margin-bottom: 6px;
    }

    .timeline-card {
      padding: 24px 28px;
    }

    /* ---------- Certificates ---------- */
    /* ---------- Achievements Masonry Grid ---------- */
    .achievement-grid {
      column-count: 3;
      column-gap: 24px;
      width: 100%;
    }
    @media (max-width: 992px) {
      .achievement-grid { column-count: 2; column-gap: 20px; }
    }
    @media (max-width: 600px) {
      .achievement-grid { column-count: 1; column-gap: 16px; }
    }
    
    .achievement-card {
      break-inside: avoid;
      margin-bottom: 24px;
    }
    
    .achievement-card .cert-img-wrapper {
      flex: 1;
      height: auto;
    }
    
    .achievement-item {
      break-inside: avoid;
      margin-bottom: 24px;
      border-radius: 24px;
      overflow: hidden;
      position: relative;
      transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
      /* Default height for items to create masonry effect, will be overridden by JS */
      height: 300px; 
    }
    
    .achievement-item:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 32px 64px -16px rgba(0,0,0,0.25);
      z-index: 2;
    }
    
    .achievement-item-img {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      position: absolute;
      top: 0; left: 0;
    }
    
    .achievement-item-overlay {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 40px 20px 20px;
      background: linear-gradient(to top, rgba(5, 8, 20, 0.95) 0%, rgba(10, 15, 40, 0.8) 50%, transparent 100%);
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      z-index: 1;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
    }
    
    .achievement-item-overlay h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 6px;
      line-height: 1.3;
      text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    }
    
    .achievement-item-overlay p {
      font-size: 13px;
      opacity: 0.9;
      color: #cbd5e1;
      margin-bottom: 12px;
      padding-right: 40px; /* space for button */
    }

    .achievement-date {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #60a5fa;
      font-size: 13px;
      font-weight: 600;
    }

    .achievement-btn {
      position: absolute;
      bottom: 20px;
      right: 20px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
      transition: all 0.3s ease;
    }
    .achievement-item:hover .achievement-btn {
      background: rgba(255, 255, 255, 0.2);
      transform: scale(1.1);
      box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    @media (max-width: 992px) {
      .cert-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .cert-grid { grid-template-columns: 1fr; }
    }
    
    .cert-card {
      padding: 26px;
      cursor: pointer;
      text-align: center;
    }

    .cert-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: var(--gradient-accent);
      margin: 0 auto 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
    }

    .cert-card h3 {
      font-size: 15px;
      margin-bottom: 4px;
    }

    .cert-card span {
      font-size: 12px;
      color: var(--t-muted);
    }

    /* ---------- Premium Cards (For Achievements) ---------- */
    .premium-card {
      border-radius: 28px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.4);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.6);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      text-align: left;
      transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    }
    .premium-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    }

    .premium-img-wrapper {
      width: 100%;
      height: 220px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }
    .premium-img-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .premium-card:hover .premium-img-wrapper img {
      transform: scale(1.05);
    }
    
    .premium-info {
      padding: 20px 8px 8px 8px;
      display: flex;
      align-items: flex-start;
      position: relative;
    }
    
    .premium-icon-circle {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 16px;
      color: #3b82f6;
      flex-shrink: 0;
    }

    .premium-text-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding-bottom: 24px;
    }

    .premium-title {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
      line-height: 1.3;
      margin-bottom: 4px;
    }

    .premium-issuer {
      font-size: 13px;
      color: #64748b;
      font-weight: 500;
    }

    .premium-action {
      position: absolute;
      bottom: 8px;
      right: 8px;
      font-size: 13px;
      color: #3b82f6;
      background: #ffffff;
      padding: 8px 18px;
      border-radius: 24px;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: background 0.3s;
    }
    .premium-card:hover .premium-action {
      background: #f8fafc;
    }

    /* ---------- Contact V2 ---------- */

    /* Progress indicator */
    .contact-progress {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 32px;
    }

    .progress-line {
      width: 48px;
      height: 4px;
      border-radius: 4px;
      background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
    }

    .progress-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--c-accent);
      opacity: 0.5;
    }

    /* Contact Card V2 */
    .contact-card-v2 {
      max-width: 900px;
      margin: 0 auto;
      padding: 0;
      overflow: hidden;
      border-radius: var(--radius-xl) !important;
      background: rgba(255, 255, 255, 0.22) !important;
      border: 1px solid rgba(255, 255, 255, 0.35) !important;
    }

    .contact-card-v2:hover {
      transform: none;
    }

    #contact {
      padding-bottom: 40px;
    }

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

    /* Left Panel */
    .contact-v2-left {
      padding: 48px 36px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .contact-illustration {
      position: relative;
      margin-bottom: 28px;
    }

    .contact-icon-circle {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-primary);
      box-shadow: 0 8px 32px -8px rgba(99, 102, 241, 0.2);
    }

    /* Sparkles */
    .sparkle {
      position: absolute;
      color: var(--c-accent);
      font-size: 14px;
      opacity: 0.6;
      animation: sparkle-float 3s ease-in-out infinite;
    }

    .sparkle-1 { top: -8px; right: -12px; animation-delay: 0s; font-size: 12px; }
    .sparkle-2 { top: 4px; left: -16px; animation-delay: 0.6s; font-size: 16px; }
    .sparkle-3 { bottom: 0; right: -18px; animation-delay: 1.2s; font-size: 22px; }
    .sparkle-4 { bottom: -8px; left: -8px; animation-delay: 1.8s; font-size: 10px; }

    @keyframes sparkle-float {
      0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
      50% { transform: translateY(-6px) scale(1.2); opacity: 1; }
    }

    .contact-cta-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--t-primary);
      line-height: 1.4;
      margin-bottom: 14px;
      letter-spacing: -0.02em;
    }

    .cta-highlight {
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-style: italic;
    }

    .contact-cta-desc {
      font-size: 13.5px;
      line-height: 1.7;
      color: var(--t-secondary);
      max-width: 260px;
      font-style: italic;
    }

    .contact-cta-line {
      width: 48px;
      height: 3px;
      border-radius: 3px;
      background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
      margin-top: 24px;
    }

    /* Right Panel - Form */
    .contact-v2-right {
      padding: 44px 40px;
    }

    .field-v2 {
      margin-bottom: 20px;
    }

    .field-v2 label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--t-primary);
      letter-spacing: 0.01em;
    }

    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }

    .input-icon {
      position: absolute;
      left: 14px;
      color: var(--t-muted);
      pointer-events: none;
      flex-shrink: 0;
    }

    .input-wrapper input {
      width: 100%;
      font-family: inherit;
      font-size: 14.5px;
      padding: 12px 16px 12px 42px;
      border-radius: 12px;
      border: 1.5px solid rgba(148, 163, 184, 0.3);
      background: rgba(255, 255, 255, 0.35);
      outline: none;
      color: var(--t-primary);
      transition: border-color 0.2s var(--ease-default), box-shadow 0.2s var(--ease-default);
    }

    .input-wrapper input:focus {
      border-color: var(--c-primary);
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    }

    .input-wrapper input:focus + .input-icon,
    .input-wrapper input:focus ~ .input-icon {
      color: var(--c-primary);
    }

    .field-v2 textarea {
      width: 100%;
      font-family: inherit;
      font-size: 14.5px;
      padding: 12px 16px;
      border-radius: 12px;
      border: 1.5px solid rgba(148, 163, 184, 0.3);
      background: rgba(255, 255, 255, 0.35);
      outline: none;
      color: var(--t-primary);
      resize: vertical;
      min-height: 120px;
      transition: border-color 0.2s var(--ease-default), box-shadow 0.2s var(--ease-default);
    }

    .field-v2 textarea:focus {
      border-color: var(--c-primary);
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
    }

    /* Send Button */
    .btn-send-v2 {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 24px;
      font-family: inherit;
      font-size: 15px;
      font-weight: 700;
      color: white;
      background: linear-gradient(135deg, #6366f1, #3b82f6);
      border: none;
      border-radius: 14px;
      cursor: pointer;
      transition: transform 0.25s var(--ease-default), box-shadow 0.25s var(--ease-default), background 0.3s;
      box-shadow: 0 4px 16px -4px rgba(99, 102, 241, 0.4);
      margin-top: 4px;
    }

    .btn-send-v2:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.5);
      background: linear-gradient(135deg, #4f46e5, #2563eb);
    }

    .btn-send-v2:active {
      transform: translateY(0);
    }

    /* Quick Contacts V2 */
    .quick-contacts-v2 {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-top: 28px;
    }

    .quick-chip-v2 {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      color: var(--t-primary);
      border-radius: 100px;
      transition: transform 0.3s var(--ease-default), box-shadow 0.3s;
    }

    .quick-chip-v2:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.2);
    }

    /* Success Box (kept from original) */
    .success-box {
      display: none;
      text-align: center;
      padding: 20px 0;
    }

    .success-box.show {
      display: block;
    }

    .success-icon {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--c-success);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin: 0 auto 16px;
      transform: scale(0);
      animation: popin .4s var(--ease-entrance) forwards;
    }

    /* Contact Responsive */
    @media (max-width: 768px) {
      .contact-v2-grid {
        grid-template-columns: 1fr;
      }

      .contact-v2-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 36px 28px;
      }

      .contact-v2-right {
        padding: 32px 28px;
      }
    }

    @keyframes popin {
      to {
        transform: scale(1);
      }
    }

    /* ---------- Footer V3 (Light Glass) ---------- */
    .footer-v3 {
      padding: 0 20px 40px;
      position: relative;
      z-index: 10;
    }

    .footer-v3-glass {
      padding: 40px 0;
      border-top: 1px solid rgba(0, 0, 0, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
      flex-wrap: wrap;
    }

    .footer-v3-col {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    /* Column Sizing for perfect center */
    .footer-col-left {
      flex: 1;
      justify-content: flex-start;
    }

    .footer-col-right {
      flex: 1;
      justify-content: flex-end;
      gap: 16px;
    }

    /* Left Profile Column */
    .footer-v3-avatar-ring {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      padding: 3px;
      background: linear-gradient(135deg, #a78bfa, #60a5fa);
      box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
      flex-shrink: 0;
    }

    .footer-v3-avatar-ring .footer-avatar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: #6366f1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 24px;
      font-weight: 700;
      box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }

    .footer-v3-profile-text {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .footer-v3-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--t-primary);
    }

    .footer-v3-desc {
      font-size: 13px;
      color: var(--t-secondary);
    }

    .footer-v3-role {
      font-size: 13px;
      font-weight: 600;
      color: var(--c-secondary);
    }

    .footer-v3-social-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--t-primary);
    }

    .footer-v3-socials {
      display: flex;
      gap: 10px;
    }

    .footer-v3-social-btn {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.8);
      box-shadow: 0 4px 10px rgba(59, 130, 246, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-secondary);
      transition: all 0.2s var(--ease-default);
    }

    .footer-v3-social-btn:hover {
      background: white;
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(59, 130, 246, 0.15);
      color: var(--c-primary);
    }

    .footer-v3-back-to-top {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.9);
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.1), inset 0 2px 4px rgba(255,255,255,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-secondary);
      transition: all 0.3s var(--ease-default);
      flex-shrink: 0;
    }

    .footer-v3-back-to-top:hover {
      background: rgba(255, 255, 255, 0.8);
      transform: translateY(-4px);
      color: var(--c-primary);
      box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(255,255,255,1);
    }

    @media (max-width: 992px) {
      .footer-v3-glass {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
      }
      .footer-v3-col {
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .footer-col-right {
        align-items: center;
        justify-content: center;
      }
    }

    .back-to-top {
      position: fixed;
      right: 28px;
      bottom: 28px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 40;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s var(--ease-default), transform .3s var(--ease-default);
      color: var(--t-primary);
      font-size: 18px;
    }

    .back-to-top.show {
      opacity: 1;
      pointer-events: auto;
    }

    .back-to-top:hover {
      transform: translateY(-4px);
    }

    /* ---------- Lightbox ---------- */
    /* Project Modal (Lightbox) */
    .project-modal {
      position: fixed; inset: 0; z-index: 10000; background: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center; padding: 24px;
      opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .project-modal.show { opacity: 1; pointer-events: auto; }
    .project-modal-inner {
      background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      width: 100%; max-width: 1100px; border-radius: 16px; overflow: hidden;
      display: flex; flex-direction: column; max-height: 90vh; position: relative;
    }
    .pm-close {
      position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
      border-radius: 50%; background: rgba(15, 23, 42, 0.1); color: var(--t-primary); border: none;
      font-size: 20px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
    }
    .pm-main-image {
      width: 100%; height: 50vh; background-size: cover; background-position: top center; flex-shrink: 0;
      transition: background-image 0.3s ease;
    }
    .pm-bottom {
      display: flex; flex-wrap: wrap; gap: 32px; padding: 32px; overflow-y: auto; flex-grow: 1;
    }
    .pm-info {
      flex: 1 1 350px;
    }
    .pm-info h2 { font-size: 28px; margin-bottom: 12px; }
    .pm-info p { color: var(--t-secondary); line-height: 1.7; margin-bottom: 24px; }
    .pm-thumbs {
      flex: 0 1 auto; 
      display: flex; 
      gap: 12px; 
      flex-wrap: nowrap; 
      overflow-x: auto;
      align-items: flex-start; 
      justify-content: flex-start;
      /* Styled scrollbar to indicate scrolling */
      scrollbar-width: thin;
      scrollbar-color: var(--c-primary) transparent;
      -webkit-overflow-scrolling: touch;
      max-width: 420px; /* 4 items (396px) + gap + small peek of 5th item */
      width: max-content;
      margin: 0 auto;
      padding-bottom: 8px; /* space for scrollbar */
      cursor: grab;
    }
    .pm-thumbs:active { cursor: grabbing; }
    .pm-thumbs::-webkit-scrollbar { height: 6px; }
    .pm-thumbs::-webkit-scrollbar-track { background: transparent; }
    .pm-thumbs::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 4px; }
    
    .pm-thumb {
      width: 90px; height: 90px; border-radius: 8px; background-size: cover; background-position: center;
      cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: 0.2s;
      flex-shrink: 0;
    }
    .pm-thumb:hover { opacity: 0.8; }
    .pm-thumb.active { opacity: 1; border-color: var(--c-primary); }
    @media (max-width: 768px) {
      .pm-bottom { padding: 20px; gap: 20px; }
      .pm-main-image { height: 35vh; }
      .pm-thumbs { justify-content: flex-start; align-content: flex-start; }
      .pm-thumb { width: 70px; height: 70px; }
    }

    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(17, 24, 39, .55);
      backdrop-filter: blur(6px);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s var(--ease-default);
    }

    .lightbox.show {
      opacity: 1;
      pointer-events: auto;
    }

    .lightbox-inner {
      width: 520px;
      max-width: 90vw;
      padding: 36px;
      text-align: center;
      transform: scale(.94);
      transition: transform .25s var(--ease-entrance);
    }

    .lightbox.show .lightbox-inner {
      transform: scale(1);
    }

    .lightbox-close {
      position: absolute;
      top: 24px;
      right: calc(50% - 260px + 24px);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .5);
      border: 1px solid rgba(255, 255, 255, .6);
      cursor: pointer;
      font-size: 16px;
    }

    /* ---------- Cursor (desktop only) ---------- */
    .cursor-dot {
      position: fixed;
      width: 28px;
      height: 28px;
      border: 1.5px solid rgba(59, 130, 246, .55);
      border-radius: 50%;
      pointer-events: none;
      z-index: 200;
      transform: translate(-50%, -50%);
      transition: width .2s, height .2s, border-color .2s;
      mix-blend-mode: normal;
    }

    .cursor-dot.hovering {
      width: 44px;
      height: 44px;
      border-color: rgba(139, 92, 246, .7);
    }

    /* ---------- Responsive ---------- */
    @media(max-width:1023px) {

      .hero-grid,
      .about-v2-top {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        max-width: 360px;
        margin-top: 40px;
      }

      .cert-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      section {
        padding: 100px 0;
      }

      .container {
        padding: 0 24px;
      }
    }

    @media(max-width:640px) {

      .nav-links,
      .nav-cta .btn-ghost {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .hero {
        padding-top: 160px;
      }

      .hero h1 {
        font-size: 40px;
      }

      .hero-actions {
        flex-direction: column;
      }

      .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
      }

      .cert-grid,
      .stats-row {
        grid-template-columns: 1fr;
      }
      
      .project-thumb {
        height: 220px;
      }
      
      .project-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
      }

      .project-detail-btn {
        width: 100%;
        text-align: center;
      }

      section {
        padding: 72px 0;
      }

      .container {
        padding: 0 16px;
      }

      .cursor-dot {
        display: none;
      }

      .contact-card-v2,
      .timeline-card {
        padding: 28px;
      }
    }

    .data-status {
      grid-column: 1/-1;
      text-align: center;
      color: var(--t-muted);
      font-size: 14px;
      padding: 24px 0;
    }

    /* ---------- Achievement Modal & Cover Flow ---------- */
    .achievement-modal {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    }
    .achievement-modal.show { opacity: 1; pointer-events: auto; }
    
    .am-close {
      position: absolute; top: 32px; right: 32px; width: 48px; height: 48px;
      border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; border: none;
      font-size: 20px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, transform 0.2s;
    }
    .am-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

    .am-cover-flow-container {
      width: 100vw; max-width: 100%; height: 60vh; perspective: 1200px; display: flex; align-items: center; justify-content: center;
      overflow: hidden; position: relative; margin-bottom: 32px;
      background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    }
    .am-cover-flow {
      position: relative; width: 340px; height: 460px; transform-style: preserve-3d;
    }
    .am-card {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
      border-radius: 28px; background-size: cover; background-position: center;
      background-color: rgba(30, 41, 59, 0.8);
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1) inset; 
      transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s, z-index 0s;
      cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 80px; color: rgba(255,255,255,0.5);
    }
    .am-card:hover {
      filter: brightness(1.1);
      box-shadow: 0 30px 60px -10px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.2) inset; 
    }
    
    .am-info {
      width: 100%; max-width: 700px; text-align: center; color: #fff; padding: 0 20px;
      opacity: 0; transform: translateY(20px); transition: all 0.5s ease; transition-delay: 0.2s;
    }
    .achievement-modal.show .am-info { opacity: 1; transform: translateY(0); }
    .am-info h2 { font-size: 38px; margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; }
    .am-info .am-meta { font-size: 16px; color: var(--c-primary); font-weight: 600; margin-bottom: 20px; letter-spacing: 0.5px; }
    .am-info p { font-size: 16px; color: #cbd5e1; line-height: 1.7; opacity: 0.9; }
    
    @media (max-width: 768px) {
      .am-cover-flow { width: 260px; height: 360px; }
      .am-info h2 { font-size: 26px; }
      .am-close { top: 16px; right: 16px; width: 40px; height: 40px; }
    }

    @media(prefers-reduced-motion:reduce) {
      * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
      }
    }
