/* SEO Crawler Fallback: Ensure data-aos elements are fully visible to Googlebot / Crawlers / Print */
    html.is-crawler [data-aos] {
      opacity: 1 !important;
      transform: none !important;
      visibility: visible !important;
    }

    @media print, (prefers-reduced-motion: reduce) {
      [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
      }
    }

    /* ===================== DESIGN TOKENS ===================== */
    :root {
      --bg-gradient: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 40%, #cbd5e1 100%);
      --glass-bg: rgba(255, 255, 255, 0.62);
      --glass-bg-strong: rgba(255, 255, 255, 0.82);
      --glass-border: rgba(11, 58, 91, 0.28);
      --glass-border-subtle: rgba(11, 58, 91, 0.14);
      --glass-shadow: 0 8px 32px rgba(11, 58, 91, 0.07), 0 2px 12px rgba(11, 58, 91, 0.03);
      --glass-shadow-hover: 0 16px 48px rgba(11, 58, 91, 0.11), 0 4px 16px rgba(11, 58, 91, 0.06);
      --accent-1: #0b3a5b;   /* navy brand */
      --accent-2: #164e6b;   /* navy mid */
      --accent-3: #0e7490;   /* teal */
      --accent-4: #0f766e;   /* teal deep */
      --accent-5: #155e75;   /* teal navy */
      --gradient-main: #0b3a5b;
      --gradient-text: #0b3a5b;
      --text-primary: #0f172a;
      --text-secondary: #334155;
      --text-muted: #64748b;
      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-lg: 10px;
      --radius-xl: 12px;
      --radius-full: 8px;
      --transition-base: all 0.3s ease;
      --transition-spring: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      --scroll-t: 0;
    }

    body.dark {
      --bg-gradient: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
      --glass-bg: rgba(15, 23, 42, 0.62);
      --glass-bg-strong: rgba(15, 23, 42, 0.85);
      --glass-border: rgba(14, 116, 144, 0.28);
      --glass-border-subtle: rgba(14, 116, 144, 0.14);
      --glass-shadow: 0 8px 32px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(14, 116, 144, 0.2);
      --glass-shadow-hover: 0 16px 48px rgba(2, 6, 23, 0.6), 0 0 0 1.5px rgba(14, 116, 144, 0.35);
      --text-primary: #f1f5f9;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;
    }

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

    html,
    body {
      overflow-x: hidden;
      width: 100%;
      max-width: 100vw;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'IBM Plex Sans', sans-serif;
      background: transparent;
      color: var(--text-primary);
      min-height: 100vh;
      transition: color 0.3s ease;
      -webkit-font-smoothing: antialiased;
      position: relative;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      background: var(--bg-gradient);
      z-index: -1;
      transition: background 0.5s ease;
    }

    .page-wrapper {
      overflow-x: hidden;
      width: 100%;
      position: relative;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'IBM Plex Sans', sans-serif;
      line-height: 1.2;
    }

    /* ===================== SCROLL PROGRESS BAR ===================== */
    #scroll-progress-track {
      position: fixed;
      top: 50%;
      right: 18px;
      transform: translateY(-50%);
      width: 2px;
      height: 160px;
      background: rgba(11, 58, 91, 0.12);
      border-radius: var(--radius-sm);
      z-index: 200;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    #scroll-progress-fill {
      width: 2px;
      height: 0%;
      background: var(--gradient-main);
      border-radius: var(--radius-sm);
      transition: height 0.1s linear;
    }

    #scroll-progress-dot {
      position: absolute;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-2);
      box-shadow: 0 0 10px rgba(11, 58, 91, 0.7);
      left: 50%;
      transform: translateX(-50%);
      top: 0%;
      transition: top 0.1s linear;
    }

    @media (max-width: 768px) {
      #scroll-progress-track {
        display: none;
      }
    }

    /* ===================== BG ORBS (MORPH) ===================== */
    .bg-orb {
      position: fixed;
      filter: blur(80px);
      opacity: 0.32;
      pointer-events: none;
      z-index: 0;
      will-change: transform, border-radius, filter;
      transition: opacity 0.6s ease;
    }

    .bg-orb-1 {
      width: 560px;
      height: 560px;
      background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
      top: -160px;
      left: -80px;
      border-radius: 50%;
    }

    .bg-orb-2 {
      width: 480px;
      height: 480px;
      background: radial-gradient(circle, rgba(14, 165, 233, 0.45), transparent 70%);
      top: 28%;
      right: -80px;
      border-radius: 50%;
    }

    .bg-orb-3 {
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(236, 72, 153, 0.38), transparent 70%);
      bottom: 8%;
      left: 18%;
      border-radius: 50%;
    }

    body.dark .bg-orb {
      opacity: 0.2;
    }

    /* ===================== GLASS ===================== */
    .glass {
      background: var(--glass-bg);
      backdrop-filter: blur(24px) saturate(180%);
      -webkit-backdrop-filter: blur(24px) saturate(180%);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      transition: var(--transition-base);
    }

    .glass-strong {
      background: var(--glass-bg-strong);
      backdrop-filter: blur(32px) saturate(200%);
      -webkit-backdrop-filter: blur(32px) saturate(200%);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
    }

    .glass-card {
      transition: var(--transition-spring);
    }

    .glass-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--glass-shadow-hover);
      border-color: rgba(11, 58, 91, 0.3);
    }

    .glass-shimmer {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
      background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .project-card:hover .glass-shimmer,
    .skill-card-v2:hover .glass-shimmer,
    .contact-terminal:hover .glass-shimmer {
      opacity: 1;
    }

    /* ===================== GRADIENT TEXT ===================== */
    .gradient-text {
      color: var(--accent-1);
      text-shadow: 0 0 16px rgba(11, 58, 91, 0.3);
    }

    /* ===================== BUTTONS ===================== */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 32px;
      background: var(--accent-1);
      color: white;
      border: none;
      border-radius: var(--radius-full);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: var(--transition-spring);
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
    }

    .btn-primary:hover {
      transform: translateY(-2px) scale(1.03);
      background: #6d28d9;
      box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 32px;
      background: var(--glass-bg);
      backdrop-filter: blur(16px);
      color: var(--text-primary);
      border: 1.5px solid var(--glass-border);
      border-radius: var(--radius-full);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: var(--transition-spring);
    }

    .btn-outline:hover {
      transform: translateY(-2px);
      border-color: rgba(11, 58, 91, 0.5);
      box-shadow: 0 8px 24px rgba(11, 58, 91, 0.15);
    }


    /* ===================== PLAYABLE INTERACTIONS ===================== */
    .click-ripple {
      position: fixed;
      border-radius: 50%;
      border: 2px solid var(--accent-1);
      pointer-events: none;
      animation: ripple 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
      z-index: 9999;
      box-shadow: 0 0 10px var(--accent-1);
    }

    @keyframes ripple {
      0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: translate(-50%, -50%);
        border-width: 4px;
      }

      100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        transform: translate(-50%, -50%);
        border-width: 0px;
      }
    }

    .interactive-impact {
      transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .interactive-impact:active {
      transform: scale(0.92) !important;
    }

    .project-slice-cover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 5;
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 0.5s;
      border-radius: inherit;
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      overflow: hidden;
      cursor: pointer;
    }

    .project-slice-cover::after {
      content: '';
      position: absolute;
      width: 200%;
      height: 2px;
      background: var(--accent-1);
      transform: rotate(-30deg) translateY(-50px);
      box-shadow: 0 0 10px var(--accent-1);
      opacity: 0;
      transition: opacity 0.2s, transform 0.4s ease-out;
    }

    .project-slice-cover.sliced::after {
      opacity: 1;
      transform: rotate(-30deg) translateY(0);
    }

    .project-slice-cover.sliced {
      animation: shatter 0.8s forwards;
      pointer-events: none;
    }

    @keyframes shatter {
      0% {
        opacity: 1;
        transform: scale(1);
      }

      40% {
        opacity: 1;
        transform: scale(1.05) rotate(2deg);
        filter: brightness(1.5);
      }

      100% {
        opacity: 0;
        transform: scale(1.2) rotate(5deg) translateY(20px);
        filter: blur(5px);
      }
    }

    .nav-active-indicator {
      position: absolute;
      bottom: -4px;
      height: 3px;
      background: var(--gradient-main);
      border-radius: var(--radius-sm);
      transition: left 0.4s ease, width 0.4s ease;
      box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
      pointer-events: none;
    }

    .project-card.spin {
      animation: spin3d 0.8s ease-in-out;
    }

    @keyframes spin3d {
      0% {
        transform: perspective(1000px) rotateY(0deg);
      }

      50% {
        transform: perspective(1000px) rotateY(180deg) scale(1.05);
      }

      100% {
        transform: perspective(1000px) rotateY(360deg);
      }
    }

    .flashlight-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle 120px at var(--x, 50%) var(--y, 50%), transparent 0%, rgba(15, 23, 42, 0.98) 100%);
      z-index: 50;
      pointer-events: none;
      transition: opacity 1.5s ease;
      border-radius: var(--radius-xl);
    }

    .flashlight-overlay.revealed {
      opacity: 0;
    }

    .project-slice-cover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 5;
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 0.5s;
      border-radius: inherit;
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      overflow: hidden;
    }

    .project-slice-cover::after {
      content: '';
      position: absolute;
      width: 200%;
      height: 2px;
      background: var(--accent-1);
      transform: rotate(-30deg) translateY(-50px);
      box-shadow: 0 0 10px var(--accent-1);
      opacity: 0;
      transition: opacity 0.2s, transform 0.4s ease-out;
    }

    .project-slice-cover.sliced::after {
      opacity: 1;
      transform: rotate(-30deg) translateY(0);
    }

    .project-slice-cover.sliced {
      animation: shatter 0.8s forwards;
      pointer-events: none;
    }

    @keyframes shatter {
      0% {
        opacity: 1;
        transform: scale(1);
      }

      40% {
        opacity: 1;
        transform: scale(1.05) rotate(2deg);
        filter: brightness(1.5);
      }

      100% {
        opacity: 0;
        transform: scale(1.2) rotate(5deg) translateY(20px);
        filter: blur(5px);
      }
    }

    .typing-text::after {
      content: '|';
      animation: blink 1s step-end infinite;
      color: var(--accent-1);
    }

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

    #hero-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    .timeline {
      position: relative;
    }

    .timeline::before {
      display: none;
    }

    .timeline-canvas {
      position: absolute;
      top: 0;
      left: -14px;
      width: 30px;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    .timeline-explorer {
      position: absolute;
      left: -15px;
      top: 0;
      width: 32px;
      height: 32px;
      z-index: 10;
      transition: top 0.1s linear, transform 0.4s ease;
      background: var(--glass-bg-strong);
      border: 1px solid var(--accent-1);
      border-radius: 50%;
      backdrop-filter: blur(8px);
      box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-1);
    }

    .badge-v2 {
      cursor: grab;
      user-select: none;
    }

    .badge-v2:active {
      cursor: grabbing;
      transform: scale(0.95);
    }

    /* ===================== NAVBAR ===================== */

    #navbar {
      border: none !important;
      box-shadow: none !important;
      outline: none !important;
    }


    #navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100vw;
      z-index: 100;
      padding: 0;
      transition: padding 0.4s ease;
    }

    #navbar.scrolled {
      padding: 16px 24px;
    }

    #navbar.scrolled .nav-inner {
      max-width: 900px;
      width: 90%;
      border-radius: var(--radius-xl);
      background: var(--glass-bg-strong);
      border: 1px solid var(--glass-border);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-direction: row;
    }

    .nav-inner {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--bg-color);
      border: none;

      border-radius: 0;
      padding: 16px 24px;
      transition: max-width 0.4s ease, border-radius 0.4s ease, width 0.4s ease, background 0.3s;
    }

    .nav-logo {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 20px;
      font-weight: 800;
      color: var(--accent-1);
      text-shadow: 0 0 10px rgba(11, 58, 91, 0.2);
      text-decoration: none;
      letter-spacing: -0.5px;
    }

    #nav-menu {
      display: flex;
      list-style: none;
      gap: 4px;
    }

    #nav-menu a {
      display: block;
      padding: 8px 14px;
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      border-radius: var(--radius-full);
      transition: var(--transition-base);
    }

    #nav-menu a:hover {
      color: var(--text-primary);
      background: rgba(11, 58, 91, 0.1);
    }




    #dark-mode-toggle-desktop,
    #dark-mode-toggle-mobile {
      background: transparent;
      border: none;
      color: var(--text-primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: 50%;
      transition: transform 0.3s, filter 0.3s;
    }

    #dark-mode-toggle-desktop:hover,
    #dark-mode-toggle-mobile:hover {
      transform: scale(1.15) rotate(15deg);
      filter: drop-shadow(0 0 10px var(--accent-1));
    }


    .dark-toggle-icon {
      pointer-events: none;
    }

    #menu-hamburger {
      display: none;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(11, 58, 91, 0.35);
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(11, 58, 91, 0.12), rgba(14, 165, 233, 0.08));
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: var(--transition-spring);
      position: relative;
      z-index: 100;
      padding: 0;
    }

    #menu-hamburger:hover {
      border-color: var(--accent-1);
      box-shadow: 0 0 18px rgba(11, 58, 91, 0.4);
      transform: scale(1.05);
    }

    #menu-hamburger.open-btn {
      border-color: rgba(56, 189, 248, 0.6);
      box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), 0 0 0 3px rgba(56, 189, 248, 0.15);
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(11, 58, 91, 0.18));
    }

    .hamburger-box {
      width: 20px;
      height: 14px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-end;
      position: relative;
    }

    .hamburger-box span {
      display: block;
      height: 2px;
      border-radius: var(--radius-sm);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
      transform-origin: center;
    }

    .hamburger-box .line-top {
      width: 20px;
      background: linear-gradient(90deg, var(--accent-1), #38bdf8);
    }

    .hamburger-box .line-mid {
      width: 13px;
      background: linear-gradient(90deg, #38bdf8, #22c55e);
    }

    .hamburger-box .line-bot {
      width: 20px;
      background: linear-gradient(90deg, var(--accent-1), #a855f7);
    }

    /* Morphing to X */
    #menu-hamburger.open-btn .line-top {
      transform: translateY(6px) rotate(45deg);
      width: 20px;
      background: #38bdf8;
    }

    #menu-hamburger.open-btn .line-mid {
      opacity: 0;
      transform: translateX(-10px) scaleX(0);
    }

    #menu-hamburger.open-btn .line-bot {
      transform: translateY(-6px) rotate(-45deg);
      width: 20px;
      background: #38bdf8;
    }

    #nav-overlay {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.35s ease, visibility 0.35s ease;
      z-index: 89;
    }

    #nav-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    @media (max-width: 768px) {

      #nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 32px 24px;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border-left: 1px solid var(--glass-border);
        border-radius: 0;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.25);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform;
        z-index: 90;
      }

      #nav-menu.open {
        transform: translateX(0);
      }

      #nav-menu a {
        font-size: 16px;
        padding: 12px 16px;
        text-align: center;
      }


      #menu-hamburger {
        display: flex;
      }

      #dark-mode-toggle-desktop,
      .nav-actions .btn-primary {
        display: none !important;
      }

      #navbar {
        padding: 12px 16px;
      }

      .nav-inner {
        padding: 8px 16px;
      }
    }

    @media (min-width: 769px) {
      #dark-mode-toggle-mobile {
        display: none !important;
      }
    }

    /* View Transitions for Theme Toggle */
    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation: none;
      mix-blend-mode: normal;
    }

    ::view-transition-old(root) {
      z-index: 1;
    }

    ::view-transition-new(root) {
      z-index: 9999;
      clip-path: circle(0px at var(--clip-x) var(--clip-y));
      animation: wipe-in 0.8s ease forwards;
    }

    .dark::view-transition-new(root) {
      animation: wipe-in-dark 0.8s ease forwards;
    }

    @keyframes wipe-in {
      from {
        clip-path: circle(0px at var(--clip-x) var(--clip-y));
      }

      to {
        clip-path: circle(var(--clip-size) at var(--clip-x) var(--clip-y));
      }
    }

    @keyframes wipe-in-dark {
      from {
        clip-path: circle(0px at var(--clip-x) var(--clip-y));
      }

      to {
        clip-path: circle(var(--clip-size) at var(--clip-x) var(--clip-y));
      }
    }

    body {
      overflow-x: hidden;
    }

    /* ===================== HERO ===================== */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 110px 24px 60px;
      overflow: hidden;
      z-index: 1;
    }

    .interactive-hint {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      opacity: 0.65;
      animation: float 3s ease-in-out infinite;
      z-index: 5;
    }

    .hero-container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 520px 1fr;
      gap: 40px;
      align-items: center;
    }

    /* ---- LEFT COLUMN ---- */
    .hero-left {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 20px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: var(--radius-full);
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-2);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(11, 58, 91, 0.2);
      background: rgba(11, 58, 91, 0.08);
    }

    .hero-badge .dot {
      width: 7px;
      height: 7px;
      background: #22c55e;
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {

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

      50% {
        opacity: 0.6;
        transform: scale(1.35);
      }
    }

    /* ===================== LINUX & ARCH CYBER BADGES ===================== */
    .linux-meme-chip {
      display: none !important;
      /* Tersembunyi di Desktop */
    }

    .hero-name-block {
      text-align: right;
    }

    .hero-eyebrow {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .hero-title {
      font-size: clamp(36px, 4vw, 56px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -2px;
      color: var(--text-primary);
    }

    .hero-title .name-highlight {
      color: var(--accent-1);
      text-shadow: 0 0 24px rgba(11, 58, 91, 0.3);
    }

    .hero-role {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      line-height: 1.6;
      text-align: right;
      max-width: 260px;
      margin-top: 12px;
      min-height: 72px;
    }

    .hero-cta-left {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
    }

    .hero-stats-mini {
      display: flex;
      gap: 28px;
      justify-content: flex-start;
      align-items: center;
      margin-top: 12px;
    }

    .stat-mini {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .stat-mini .s-num {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 24px;
      font-weight: 900;
      background: var(--gradient-main);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }

    .stat-mini .s-label {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 2px;
      white-space: nowrap;
    }

    /* ---- CENTER: PHOTO CARD ---- */
    .hero-photo-wrap {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: heroFloat 8s ease-in-out infinite;
    }

    @keyframes heroFloat {

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

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

    /* Reflective glass panels behind the card */
    .glass-panel-behind {
      position: absolute;
      border-radius: var(--radius-xl);
      pointer-events: none;
    }

    .glass-panel-1 {
      width: 340px;
      height: 480px;
      background: rgba(255, 255, 255, 0.18);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.45);
      transform: rotate(-5deg) translateX(-20px) translateY(10px);
      box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
    }

    .glass-panel-2 {
      width: 340px;
      height: 480px;
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255, 255, 255, 0.35);
      transform: rotate(5deg) translateX(20px) translateY(15px);
      box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1);
    }

    body.dark .glass-panel-1 {
      background: rgba(11, 58, 91, 0.08);
      border-color: rgba(11, 58, 91, 0.18);
    }

    body.dark .glass-panel-2 {
      background: rgba(14, 165, 233, 0.06);
      border-color: rgba(14, 165, 233, 0.15);
    }

    /* Main portrait card */
    .portrait-card {
      position: relative;
      z-index: 2;
      width: 320px;
      border-radius: var(--radius-xl);
      overflow: hidden;
      background: var(--glass-bg-strong);
      backdrop-filter: blur(32px) saturate(200%);
      -webkit-backdrop-filter: blur(32px) saturate(200%);
      border: 1.5px solid var(--glass-border);
      box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 40px 80px rgba(11, 58, 91, 0.18),
        0 12px 40px rgba(0, 0, 0, 0.08);
    }

    .portrait-img-wrap {
      width: 100%;
      height: 380px;
      overflow: hidden;
      position: relative;
    }

    .portrait-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      display: block;
    }

    /* Reflective sheen over photo */
    .portrait-sheen {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg,
          rgba(255, 255, 255, 0.15) 0%,
          transparent 40%,
          transparent 60%,
          rgba(124, 58, 237, 0.08) 100%);
      pointer-events: none;
    }

    .portrait-footer {
      padding: 20px 24px;
      border-top: 1px solid var(--glass-border-subtle);
    }

    .portrait-footer .pf-name {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 17px;
      font-weight: 800;
      color: var(--text-primary);
      letter-spacing: -0.5px;
    }

    .portrait-footer .pf-role {
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 500;
      margin-top: 2px;
    }

    /* Floating chips around portrait */
    .hero-chip {
      position: absolute;
      padding: 10px 16px;
      border-radius: var(--radius-md);
      font-size: 12px;
      font-weight: 600;
      color: var(--text-primary);
      white-space: nowrap;
      z-index: 3;
      backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.8);
      box-shadow: 0 8px 24px rgba(11, 58, 91, 0.12);
    }

    body.dark .hero-chip {
      background: rgba(15, 23, 42, 0.75);
      border-color: rgba(11, 58, 91, 0.2);
    }

    .hero-chip .chip-label {
      font-size: 10px;
      font-weight: 500;
      color: var(--text-muted);
      display: block;
      margin-bottom: 2px;
    }

    .hero-chip .chip-value {
      font-size: 13px;
      font-weight: 700;
    }

    .chip-1 {
      top: 40px;
      left: -80px;
      animation: chipFloat 5s ease-in-out infinite;
    }

    .chip-2 {
      bottom: 80px;
      left: -90px;
      animation: chipFloat 6s ease-in-out infinite;
      animation-delay: -1.5s;
    }

    .chip-3 {
      top: 60px;
      right: -80px;
      animation: chipFloat 7s ease-in-out infinite;
      animation-delay: -3s;
    }

    .chip-4 {
      bottom: 100px;
      right: -75px;
      animation: chipFloat 5.5s ease-in-out infinite;
      animation-delay: -0.8s;
    }

    @keyframes chipFloat {

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

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

    /* Sphere visual now in background, smaller */
    .hero-sphere-bg {
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%,
          rgba(255, 255, 255, 0.9) 0%,
          rgba(200, 210, 255, 0.65) 20%,
          rgba(150, 130, 255, 0.45) 45%,
          rgba(11, 58, 91, 0.35) 65%,
          rgba(14, 165, 233, 0.25) 80%,
          rgba(7, 89, 133, 0.18) 100%);
      box-shadow:
        inset -20px -20px 50px rgba(11, 58, 91, 0.35),
        inset 16px 16px 30px rgba(255, 255, 255, 0.5),
        0 20px 60px rgba(11, 58, 91, 0.25),
        0 0 80px rgba(124, 58, 237, 0.15);
      top: -60px;
      right: -100px;
      z-index: 0;
      animation: sphereFloat2 10s ease-in-out infinite;
      overflow: hidden;
    }

    .hero-sphere-bg::before {
      content: '';
      position: absolute;
      top: 8%;
      left: 14%;
      width: 52%;
      height: 32%;
      background: radial-gradient(ellipse, rgba(255, 255, 255, 0.88) 0%, transparent 70%);
      border-radius: 50%;
      transform: rotate(-30deg);
    }

    .hero-sphere-shimmer {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: conic-gradient(from 0deg, transparent 0%, rgba(124, 58, 237, 0.1) 25%, rgba(11, 58, 91, 0.07) 50%, transparent 75%);
      animation: shimmerRotate 16s linear infinite;
    }

    @keyframes sphereFloat2 {

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

      50% {
        transform: translateY(-18px) scale(1.03);
      }
    }

    @keyframes shimmerRotate {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }

    /* ---- RIGHT COLUMN ---- */
    .hero-right {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }

    .hero-social {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .social-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-md);
      transition: var(--transition-spring);
      backdrop-filter: blur(16px);
      text-decoration: none;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 600;
    }

    .social-pill:hover {
      transform: translateX(4px);
      box-shadow: 0 6px 20px rgba(11, 58, 91, 0.18);
      border-color: rgba(11, 58, 91, 0.35);
      color: var(--text-primary);
    }

    .social-pill img {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .hero-desc-right {
      font-size: 14px;
      line-height: 1.75;
      color: var(--text-secondary);
      max-width: 240px;
    }

    /* ===================== SECTIONS ===================== */
    section {
      position: relative;
      z-index: 1;
    }

    .section-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 100px 24px;
    }

    .section-header {
      text-align: center;
      margin-bottom: 64px;
    }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 16px;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(11, 58, 91, 0.08));
      border: 1px solid rgba(11, 58, 91, 0.2);
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 700;
      color: var(--accent-2);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(32px, 4vw, 48px);
      font-weight: 800;
      letter-spacing: -1.5px;
      color: var(--text-primary);
      margin-bottom: 16px;
      line-height: 1.1;
    }

    .section-subtitle {
      font-size: 17px;
      color: var(--text-secondary);
      max-width: 560px;
      margin: 0 auto;
      line-height: 1.7;
    }

    .section-divider {
      width: 60px;
      height: 3px;
      background: var(--gradient-main);
      border-radius: var(--radius-sm);
      margin: 20px auto 0;
    }

    /* ===================== ABOUT ===================== */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
    }


    /* ===================== THALES 3D QUOTE CARD ===================== */
    .thales-quote-card {
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 24px 32px;
      border-radius: var(--radius-lg);
      margin-bottom: 28px;
      position: relative;
      overflow: hidden;
      perspective: 1000px;
      transform-style: preserve-3d;
      border: 1px solid rgba(11, 58, 91, 0.25);
      background: linear-gradient(135deg, rgba(11, 58, 91, 0.08), rgba(14, 165, 233, 0.05));
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    }

    .thales-quote-card:hover {
      transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
      box-shadow: 0 20px 40px rgba(11, 58, 91, 0.25);
      border-color: rgba(11, 58, 91, 0.5);
    }

    .thales-3d-avatar-wrap {
      position: relative;
      width: 110px;
      height: 110px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      perspective: 800px;
    }

    .thales-glow-ring {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(11, 58, 91, 0.4), rgba(14, 165, 233, 0.2), transparent 70%);
      filter: blur(10px);
      animation: pulse-thales-glow 3s infinite ease-in-out alternate;
    }

    @keyframes pulse-thales-glow {
      0% {
        transform: scale(0.9);
        opacity: 0.7;
      }

      100% {
        transform: scale(1.15);
        opacity: 1;
      }
    }

    .thales-3d-img {
      width: 100px;
      height: 100px;
      object-fit: contain;
      position: relative;
      z-index: 2;
      filter: drop-shadow(0 10px 18px rgba(11, 58, 91, 0.45));
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      animation: thales-float-3d 4s ease-in-out infinite alternate;
    }

    .thales-quote-card:hover .thales-3d-img {
      transform: scale(1.12) translateZ(30px) rotate(-3deg);
      filter: drop-shadow(0 16px 25px rgba(56, 189, 248, 0.6));
    }

    @keyframes thales-float-3d {
      0% {
        transform: translateY(0) rotate(0deg);
      }

      100% {
        transform: translateY(-8px) rotate(2deg);
      }
    }

    .thales-quote-content {
      flex: 1;
    }

    .about-quote-text {
      font-size: 18px;
      font-weight: 600;
      font-style: italic;
      color: var(--text-primary);
      line-height: 1.5;
      margin-bottom: 10px;
    }

    .thales-author {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .author-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--accent-1);
    }

    .author-title {
      font-size: 11.5px;
      color: var(--text-muted);
    }

    @media (max-width: 640px) {
      .thales-quote-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 20px;
        gap: 16px;
      }

      .thales-author {
        align-items: center;
      }
    }

    .glitch-text {
      animation: glitch-skew 1s infinite linear alternate-reverse;
    }

    @keyframes glitch-skew {
      0% {
        transform: skew(0deg);
      }

      20% {
        transform: skew(-5deg);
      }

      40% {
        transform: skew(5deg);
      }

      60% {
        transform: skew(-2deg);
      }

      80% {
        transform: skew(2deg);
      }

      100% {
        transform: skew(0deg);
      }
    }

    .about-text {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.85;
      color: var(--text-secondary);
      text-align: justify;
      padding: 0 14px;
      letter-spacing: -0.01em;
      word-spacing: -0.5px;
    }

    /* ===================== OVERRIDE BUTTON HIGHLIGHT ===================== */
    .btn-override-highlight {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 20px;
      margin-top: 16px;
      width: 100%;
      border-radius: var(--radius-md);
      background: rgba(239, 68, 68, 0.18);
      border: 1.5px solid rgba(239, 68, 68, 0.75);
      color: #f87171;
      font-family: monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      cursor: pointer;
      overflow: visible;
      box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
      animation: pulse-override-glow 2s infinite ease-in-out;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .btn-override-highlight:hover {
      transform: translateY(-2px) scale(1.02);
      border-color: #ef4444;
      background: rgba(239, 68, 68, 0.35);
      color: #ffffff;
      box-shadow: 0 0 25px rgba(239, 68, 68, 0.65), 0 0 0 3px rgba(239, 68, 68, 0.25);
    }

    .btn-override-highlight .badge-press {
      font-size: 10px;
      font-weight: 800;
      background: #ef4444;
      color: #ffffff;
      padding: 2px 8px;
      border-radius: var(--radius-sm);
      letter-spacing: 0.05em;
      box-shadow: 0 0 10px #ef4444;
    }

    @keyframes pulse-override-glow {

      0%,
      100% {
        box-shadow: 0 0 14px rgba(239, 68, 68, 0.35), 0 0 0 1px rgba(239, 68, 68, 0.4);
      }

      50% {
        box-shadow: 0 0 26px rgba(239, 68, 68, 0.7), 0 0 0 3px rgba(239, 68, 68, 0.3);
      }
    }

    .about-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .about-stat-card {
      padding: 24px;
      border-radius: var(--radius-lg);
      text-align: center;
      transition: var(--transition-spring);
      cursor: default;
    }

    .about-stat-card:hover {
      transform: translateY(-4px);
    }

    .about-stat-card .icon-wrap {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
    }

    .about-stat-card h4 {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 4px;
    }

    .about-stat-card p {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* ===================== SKILLS ===================== */
    .skills-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 32px;
    }

    .skills-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .skill-card-v2 {
      padding: 32px;
      border-radius: var(--radius-lg);
      transition: var(--transition-spring);
    }

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

    .skill-icon-wrap {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .skill-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      color: var(--text-secondary);
      font-size: 14px;
      border-bottom: 1px solid var(--glass-border-subtle);
    }

    .skill-item:last-child {
      border-bottom: none;
    }

    .skill-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .badge-v2 {
      display: inline-flex;
      padding: 5px 14px;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(11, 58, 91, 0.08));
      border: 1px solid rgba(11, 58, 91, 0.18);
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 600;
      color: var(--accent-2);
    }

    body.dark .badge-v2 {
      background: rgba(11, 58, 91, 0.12);
      color: #a5b4fc;
    }

    /* ===================== TIMELINE ===================== */
    .timeline {
      position: relative;
      padding-left: 32px;
    }

    .timeline::before {
      display: none;
    }

    .timeline-canvas {
      position: absolute;
      top: 0;
      left: -14px;
      width: 30px;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    .timeline-explorer {
      position: absolute;
      width: 36px;
      height: 36px;
      top: 0;
      left: -17px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      box-shadow: none;
      z-index: 10;
      pointer-events: none;
      will-change: transform, top, left;
    }

    .explorer-rocket {
      filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 20px rgba(11, 58, 91, 0.6));
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 40px;
      padding: 28px;
      border-radius: var(--radius-lg);
      transition: var(--transition-spring), border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }

    .timeline-item:hover,
    .timeline-item.active-card {
      transform: translateX(8px);
    }

    .timeline-item.active-card {
      border-color: rgba(11, 58, 91, 0.5) !important;
      box-shadow: 0 12px 35px rgba(11, 58, 91, 0.18), 0 0 20px rgba(14, 165, 233, 0.12) !important;
    }

    .timeline-dot {
      position: absolute;
      left: -40px;
      top: 36px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
      border: 3px solid white;
      box-shadow: 0 0 10px rgba(11, 58, 91, 0.4);
      transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
      z-index: 2;
    }

    body.dark .timeline-dot {
      border-color: #080b1a;
    }

    .timeline-dot.active-dot {
      transform: scale(1.4);
      background: linear-gradient(135deg, #38bdf8, #818cf8);
      box-shadow: 0 0 20px rgba(56, 189, 248, 0.9), 0 0 0 6px rgba(56, 189, 248, 0.25);
      animation: beaconPulse 2s ease-in-out infinite alternate;
    }

    @keyframes beaconPulse {
      from {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.8), 0 0 0 4px rgba(56, 189, 248, 0.2);
      }

      to {
        box-shadow: 0 0 25px rgba(129, 140, 248, 1), 0 0 0 8px rgba(129, 140, 248, 0.35);
      }
    }

    body.dark .timeline-dot {
      border-color: #080b1a;
    }

    .timeline-date {
      display: inline-flex;
      padding: 5px 14px;
      border-radius: var(--radius-full);
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 12px;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(11, 58, 91, 0.08));
      border: 1px solid rgba(11, 58, 91, 0.2);
      color: var(--accent-2);
    }

    .timeline-title {
      font-size: 20px;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 4px;
      letter-spacing: -0.5px;
    }

    .timeline-company {
      font-size: 14px;
      font-weight: 600;
      color: var(--accent-2);
      margin-bottom: 12px;
    }

    .timeline-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    /* ===================== ACADEMIC EVOLUTION JOURNEY ===================== */
    .edu-evolution-wrap {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
      max-width: 960px;
      margin: 0 auto;
    }

    .edu-evolution-connector {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 2;
      margin: -10px 0;
    }

    .edu-connector-line {
      width: 3px;
      height: 36px;
      background: linear-gradient(180deg, var(--accent-3), var(--accent-1));
      box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
      border-radius: var(--radius-sm);
    }

    .edu-connector-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: var(--radius-full);
      background: var(--glass-bg-strong);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(16px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      font-size: 12px;
      font-weight: 700;
      color: var(--text-primary);
      white-space: nowrap;
      margin: 4px 0;
    }

    .edu-connector-badge svg {
      color: var(--accent-5);
      animation: pulse-arrow 2s infinite ease-in-out;
    }

    @keyframes pulse-arrow {

      0%,
      100% {
        transform: translateY(-2px);
        opacity: 0.8;
      }

      50% {
        transform: translateY(2px);
        opacity: 1;
        filter: drop-shadow(0 0 6px var(--accent-1));
      }
    }

    .edu-milestone-card {
      position: relative;
      padding: 36px;
      border-radius: var(--radius-lg);
      transition: var(--transition-spring);
      border: 1px solid var(--glass-border);
      overflow: hidden;
    }

    .edu-milestone-card:hover {
      transform: translateY(-6px);
      border-color: rgba(11, 58, 91, 0.4);
      box-shadow: 0 16px 36px rgba(11, 58, 91, 0.15);
    }

    .edu-phase-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .edu-phase-tag.phase-1 {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(14, 165, 233, 0.1));
      border: 1px solid rgba(20, 184, 166, 0.3);
      color: var(--accent-5);
    }

    .edu-phase-tag.phase-2 {
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(11, 58, 91, 0.1));
      border: 1px solid rgba(124, 58, 237, 0.3);
      color: var(--accent-1);
    }

    .edu-degree-title {
      font-size: 22px;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 6px;
      line-height: 1.3;
      letter-spacing: -0.4px;
    }

    .edu-institution {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .edu-score-badge {
      display: inline-flex;
      align-items: baseline;
      gap: 6px;
      padding: 8px 16px;
      border-radius: var(--radius-md);
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      margin-bottom: 16px;
    }

    .edu-score-badge .score-label {
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 600;
    }

    .edu-score-badge .score-val {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 22px;
      font-weight: 900;
      background: var(--gradient-main);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .edu-topics {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    /* ===================== CERTS ===================== */
    .cert-toggle-wrap {
      display: flex;
      justify-content: center;
      margin: 16px 0 0;
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      margin-top: 0;
      pointer-events: none;
      transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
    }

    .cert-grid.expanded {
      max-height: 2500px;
      opacity: 1;
      margin-top: 32px;
      overflow: visible;
      pointer-events: auto;
    }

    .cert-arrow {
      transition: transform 0.3s ease;
    }

    .cert-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: var(--transition-spring);
    }

    .cert-card:hover {
      transform: translateY(-6px) scale(1.01);
    }

    .cert-img {
      height: 160px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(14, 165, 233, 0.1));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cert-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .cert-card:hover .cert-img img {
      transform: scale(1.05);
    }

    .cert-body {
      padding: 20px;
    }

    .cert-issuer {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-bottom: 6px;
    }

    .cert-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .cert-date {
      display: inline-flex;
      padding: 4px 12px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: 600;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(11, 58, 91, 0.08));
      border: 1px solid rgba(11, 58, 91, 0.18);
      color: var(--accent-2);
    }

    /* Cert fallback icon wrapper */
    .cert-icon-fallback {
      width: 56px;
      height: 56px;
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(20, 184, 166, 0.1));
    }

    /* ===================== TABS ===================== */
    .tab-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 6px;
      border-radius: var(--radius-full);
      margin: 0 auto 48px;
      width: fit-content;
      max-width: 100%;
      background: var(--glass-bg-strong);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(16px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    }

    .tab-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 24px;
      height: 42px;
      border-radius: var(--radius-full);
      font-size: 14px;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
      border: none;
      background: transparent;
      color: var(--text-secondary);
      transition: var(--transition-base);
      font-family: 'IBM Plex Sans', sans-serif;
    }

    .tab-btn:hover {
      color: var(--text-primary);
      background: rgba(11, 58, 91, 0.08);
    }

    .tab-btn.active {
      background: var(--gradient-main);
      color: white !important;
      box-shadow: 0 4px 18px rgba(11, 58, 91, 0.4);
    }

    @media (max-width: 640px) {
      .tab-nav {
        width: 100%;
        max-width: 480px;
        padding: 5px;
        gap: 4px;
      }

      .tab-btn {
        flex: 1 1 0;
        padding: 8px 10px;
        height: 40px;
        font-size: 12px;
      }

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

    .tab-section {
      display: none;
    }

    .tab-section.active {
      display: block;
      animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ===================== PROJECT CARDS ===================== */
    .project-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .project-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: var(--transition-spring);
    }

    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--glass-shadow-hover);
    }

    /* RICH IMAGE BANNER (tall) */
    .project-banner {
      height: 220px;
      overflow: hidden;
      position: relative;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(11, 58, 91, 0.08));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .project-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      transition: transform 0.6s ease;
    }

    .project-card:hover .project-banner img {
      transform: scale(1.06);
    }

    /* Hover overlay */
    .project-banner-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(7, 3, 52, 0.75) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.35s ease;
      display: flex;
      align-items: flex-end;
      padding: 20px;
    }

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

    .banner-overlay-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: white;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-decoration: none;
      padding: 8px 16px;
      border: 1.5px solid rgba(255, 255, 255, 0.4);
      border-radius: var(--radius-full);
      backdrop-filter: blur(8px);
      background: rgba(255, 255, 255, 0.12);
      transition: background 0.2s ease;
    }

    .banner-overlay-link:hover {
      background: rgba(255, 255, 255, 0.24);
    }

    /* Abstract art banner for DS projects */
    .project-banner-art {
      height: 220px;
      overflow: hidden;
      position: relative;
    }

    /* Data science art gradient banners */
    .art-bitcoin {
      background: linear-gradient(135deg,
          #1a0533 0%, #3b0d8b 30%, #6d28d9 55%, var(--accent-3) 80%, #06b6d4 100%);
    }

    .art-dashboard {
      background: linear-gradient(135deg,
          #042033 0%, #0c4a6e 30%, var(--accent-3) 55%, var(--accent-3) 80%, #10b981 100%);
    }

    .art-scraping {
      background: linear-gradient(135deg,
          #3b0764 0%, var(--accent-1) 35%, var(--accent-4) 65%, #f43f5e 100%);
    }

    /* Abstract grid lines on data science banners */
    .project-banner-art::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 40px);
    }

    .project-banner-art::after {
      content: '';
      position: absolute;
      inset: 0;
      background: inherit;
      opacity: 0;
      transition: opacity 0.4s;
    }

    /* Inner chart/viz elements for DS banners */
    .art-content {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .art-bar {
      width: 18px;
      background: rgba(255, 255, 255, 0.55);
      border-radius: var(--radius-sm) 4px 0 0;
      align-self: flex-end;
      margin-bottom: 20px;
    }

    .art-line {
      position: absolute;
      bottom: 48px;
      left: 20px;
      right: 20px;
      height: 2px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: var(--radius-sm);
    }

    .art-dot-scatter {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.7);
    }

    .project-body {
      padding: 24px;
    }

    .project-title {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 8px;
      letter-spacing: -0.3px;
    }

    .project-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-2);
      text-decoration: none;
      transition: var(--transition-base);
    }

    .project-link:hover {
      gap: 10px;
    }

    .lock-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, 0.55);
      backdrop-filter: blur(4px);
      color: white;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      gap: 10px;
    }

    /* ===================== CONTACT ===================== */
    /* ===================== CONTACT TERMINAL ===================== */
    .contact-terminal {
      display: flex;
      flex-direction: row;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
      border: 1px solid var(--glass-border);
      position: relative;
    }

    .terminal-left {
      flex: 1;
      padding: 40px;
      background: linear-gradient(135deg, rgba(11, 58, 91, 0.05), rgba(124, 58, 237, 0.02));
      border-right: 1px solid var(--glass-border-subtle);
    }

    .terminal-right {
      flex: 1;
      padding: 40px;
      display: flex;
      align-items: center;
    }

    .terminal-header {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 32px;
    }

    .terminal-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

    .terminal-title {
      font-size: 32px;
      font-weight: 800;
      color: var(--text-primary);
      margin-bottom: 12px;
    }

    .terminal-desc {
      color: var(--text-secondary);
      font-size: 15px;
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .contact-links-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 32px;
    }

    .c-link-btn {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      border-radius: var(--radius-lg);
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      font-weight: 600;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .c-link-btn:hover {
      transform: translateX(8px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .c-location {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-muted);
      font-size: 14px;
    }

    .c-form {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .input-float {
      position: relative;
    }

    .input-float input,
    .input-float textarea {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 2px solid var(--glass-border);
      padding: 12px 0;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 16px;
      outline: none;
      transition: border-color 0.3s;
    }

    .input-float textarea {
      resize: none;
    }

    .input-float label {
      position: absolute;
      top: 12px;
      left: 0;
      color: var(--text-muted);
      pointer-events: none;
      transition: all 0.3s ease;
    }

    .input-float input:focus,
    .input-float textarea:focus {
      border-bottom-color: var(--accent-1);
    }

    .input-float input:focus~label,
    .input-float input:not(:placeholder-shown)~label,
    .input-float textarea:focus~label,
    .input-float textarea:not(:placeholder-shown)~label {
      top: -12px;
      font-size: 12px;
      color: var(--accent-1);
    }

    .btn-send {
      margin-top: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 24px;
      border-radius: var(--radius-md);
      background: var(--gradient-main);
      color: #ffffff !important;
      border: none;
      font-weight: 700;
      font-size: 16px;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(11, 58, 91, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-send span,
    .btn-send svg {
      color: #ffffff !important;
      fill: none;
    }

    .btn-send:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 32px rgba(11, 58, 91, 0.45);
    }

    body.dark .btn-send {
      background: var(--gradient-main);
      color: #ffffff !important;
    }

    /* ===================== FOOTER ===================== */
    footer {
      position: relative;
      z-index: 1;
      background: var(--glass-bg-strong);
      border-top: 1px solid var(--glass-border);
      padding: 60px 24px 40px;
      overflow: hidden;
    }

    .footer-ambient-glow {
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 200px;
      background: radial-gradient(ellipse at center, rgba(11, 58, 91, 0.15), rgba(14, 165, 233, 0.08), transparent 70%);
      filter: blur(40px);
      pointer-events: none;
      z-index: 0;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .footer-top-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 32px 40px;
      border-radius: var(--radius-lg);
      margin-bottom: 48px;
      gap: 24px;
      flex-wrap: wrap;
    }

    .footer-logo {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 24px;
      font-weight: 800;
      color: var(--accent-1);
      margin-bottom: 8px;
    }

    .footer-tagline {
      color: var(--text-secondary);
      font-size: 14px;
      max-width: 480px;
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .footer-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: var(--radius-full);
      background: rgba(34, 197, 94, 0.08);
      border: 1px solid rgba(34, 197, 94, 0.25);
      font-size: 12px;
      font-weight: 600;
      color: #22c55e;
    }

    .footer-status-pill .status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 8px #22c55e;
      animation: pulse-dot 2s infinite;
    }

    .footer-actions-side {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-back-top {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: var(--radius-full);
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      color: var(--text-primary);
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      transition: var(--transition-spring);
    }

    .footer-back-top:hover {
      transform: translateY(-3px);
      border-color: var(--accent-1);
      color: var(--accent-1);
      box-shadow: 0 8px 20px rgba(11, 58, 91, 0.2);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-col-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 16px;
    }

    .footer-link {
      display: block;
      font-size: 14px;
      color: var(--text-secondary);
      text-decoration: none;
      margin-bottom: 10px;
      transition: var(--transition-base);
    }

    .footer-link:hover {
      color: var(--accent-2);
      transform: translateX(4px);
    }

    .footer-social-grid {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .footer-social-pill {
      width: 42px;
      height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-full);
      transition: var(--transition-spring);
      color: var(--text-primary);
      text-decoration: none;
    }

    .footer-social-pill:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 8px 24px rgba(11, 58, 91, 0.25);
      border-color: rgba(11, 58, 91, 0.5);
      color: var(--accent-1);
    }

    .footer-bottom {
      padding-top: 28px;
      border-top: 1px solid var(--glass-border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-copy {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* ===================== RESPONSIVE ===================== */
    @media (max-width: 1024px) {
      #hero {
        padding-bottom: 60px;
      }

      .interactive-hint {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 24px auto 0;
        grid-column: 1 / -1;
      }

      .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
        text-align: center;
        justify-content: center;
        justify-items: center;
      }

      .hero-left {
        align-items: center;
      }

      .hero-name-block {
        text-align: center;
      }

      .hero-role {
        text-align: center;
        margin: 12px auto 0;
      }

      .hero-cta-left {
        align-items: center;
      }

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

      .hero-right {
        align-items: center;
      }

      .hero-photo-wrap {
        order: -1;
      }

      .chip-1,
      .chip-2,
      .chip-3,
      .chip-4 {
        display: none;
      }

      .linux-meme-chip {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        position: absolute;
        z-index: 30;
        padding: 6px 14px;
        border-radius: var(--radius-full);
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(11, 58, 91, 0.18));
        border: 1.5px solid rgba(56, 189, 248, 0.55);
        color: #38bdf8;
        font-family: monospace;
        font-size: 11px;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(14, 165, 233, 0.35);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        white-space: nowrap;
        cursor: grab;
        user-select: none;
        touch-action: none;
        will-change: transform;
      }

      .linux-meme-chip:active {
        cursor: grabbing;
      }

      .meme-chip-1 {
        top: -14px;
        left: -12px;
        animation: float-meme-1 4s ease-in-out infinite alternate;
      }

      .meme-chip-2 {
        bottom: 60px;
        right: -18px;
        animation: float-meme-2 4.5s ease-in-out infinite alternate;
      }

      .meme-chip-3 {
        bottom: -16px;
        left: -4px;
        animation: float-meme-3 3.8s ease-in-out infinite alternate;
      }

      @keyframes float-meme-1 {
        0% {
          transform: translateY(0) rotate(-3deg);
        }

        100% {
          transform: translateY(-8px) rotate(3deg);
        }
      }

      @keyframes float-meme-2 {
        0% {
          transform: translateY(0) rotate(3deg);
        }

        100% {
          transform: translateY(-7px) rotate(-3deg);
        }
      }

      @keyframes float-meme-3 {
        0% {
          transform: translateY(0) rotate(-2deg);
        }

        100% {
          transform: translateY(-6px) rotate(4deg);
        }
      }

      .portrait-card {
        width: 280px;
      }

      .portrait-img-wrap {
        height: 320px;
      }

      .glass-panel-1,
      .glass-panel-2 {
        width: 300px;
        height: 420px;
      }

      .glass-panel-1 {
        transform: rotate(-3deg) translateX(-10px) translateY(5px);
      }

      .glass-panel-2 {
        transform: rotate(5deg) translateX(10px) translateY(10px);
      }

      .hero-sphere-bg {
        width: 160px;
        height: 160px;
        top: -30px;
        right: 0px;
      }

      .hero-social {
        flex-direction: row;
        justify-content: center;
      }

      .social-pill span {
        display: none;
      }

      .social-pill {
        width: 44px;
        height: 44px;
        padding: 10px;
        justify-content: center;
        border-radius: var(--radius-full);
      }

      .hero-desc-right {
        text-align: center;
      }

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

      .contact-terminal {
        flex-direction: column;
      }

      .terminal-left {
        border-right: none;
        border-bottom: 1px solid var(--glass-border-subtle);
        padding: 30px 20px;
      }

      .terminal-right {
        padding: 30px 20px;
      }

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

    @media (max-width: 768px) {
      .section-wrapper {
        padding: 70px 20px;
      }

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

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

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

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

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

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-top-card {
        padding: 24px 20px;
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-actions-side {
        width: 100%;
        justify-content: space-between;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .cert-grid {
        grid-template-columns: 1fr;
      }

      .about-cards {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* ===================== SVG ICON HELPERS ===================== */
    .icon-svg {
      flex-shrink: 0;
    }

    /* ===================== CUSTOM CURSOR ===================== */
    .custom-cursor {
      position: fixed;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--accent-1);
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    .custom-cursor-follower {
      position: fixed;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(11, 58, 91, 0.4);
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, border-color 0.2s;
    }

    .custom-cursor.hover {
      width: 12px;
      height: 12px;
      background-color: var(--accent-2);
    }

    .custom-cursor-follower.hover {
      width: 60px;
      height: 60px;
      border-color: var(--accent-2);
      background-color: rgba(14, 165, 233, 0.1);
    }

    @media (max-width: 768px) {

      .custom-cursor,
      .custom-cursor-follower {
        display: none !important;
      }
    }

    /* Timeline experience desc clamp on mobile */
    @media (max-width: 768px) {
      .timeline-desc.clamped {
        max-height: 5rem;
        overflow: hidden;
      }
      .btn-toggle-desc {
        display: inline-block;
        margin-top: 8px;
        background: none;
        border: none;
        color: var(--accent-3);
        cursor: pointer;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 0;
        text-decoration: underline;
        align-self: flex-start;
      }
      .btn-toggle-desc:hover {
        opacity: 0.8;
        text-decoration: underline;
      }
    }
