    /* ===== RESET & ROOT ===== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #0b0b0b;
      --bg1: #111111;
      --bg2: #161616;
      --bg3: #1c1c1c;
      --border: rgba(255, 255, 255, 0.07);
      --border2: rgba(255, 255, 255, 0.14);
      --text: #ededed;
      --muted: #7a7a7a;
      --muted2: #444;
      --accent: #b8ff3c;
      --accent2: #95d600;
      --accent3: rgba(184, 255, 60, 0.1);
      --red: #ff5757;
      --blue: #4da6ff;
      --display: 'Playfair Display', Georgia, serif;
      --mono: 'JetBrains Mono', 'Courier New', monospace;
      --body: 'DM Sans', sans-serif;
    }

    /* ===== LIGHT THEME ===== */
    [data-theme="light"] {
      --bg: #f6f1e7;
      --bg1: #efe7d9;
      --bg2: #e6dcc9;
      --bg3: #dccfb9;
      --border: rgba(57, 45, 24, 0.12);
      --border2: rgba(57, 45, 24, 0.2);
      --text: #16130f;
      --muted: #5e5549;
      --muted2: #857969;
      --accent: #446f16;
      --accent2: #2f5110;
      --accent3: rgba(68, 111, 22, 0.1);
      --red: #b33418;
      --blue: #225eb3;
    }

    /* ===== LIGHT THEME — hardcoded color overrides ===== */
    [data-theme="light"] #cursor-ring {
      border-color: rgba(61, 133, 0, 0.45);
    }

    [data-theme="light"] .hero-stat::after {
      background: linear-gradient(120deg,
          transparent 0%,
          rgba(61, 133, 0, 0.06) 40%,
          rgba(61, 133, 0, 0.12) 50%,
          rgba(61, 133, 0, 0.06) 60%,
          transparent 100%);
    }

    [data-theme="light"] .hero-stat:hover {
      border-color: rgba(61, 133, 0, 0.45);
      box-shadow: 0 8px 28px rgba(61, 133, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    [data-theme="light"] .hero-stat:hover .stat-label {
      color: rgba(61, 133, 0, 0.7);
    }

    [data-theme="light"] .hero-image-wrap::after {
      background: radial-gradient(ellipse at center, rgba(61, 133, 0, 0.12) 0%, transparent 70%);
    }

    [data-theme="light"] .hero-image-wrap:hover img {
      filter: drop-shadow(0 20px 48px rgba(61, 133, 0, 0.2)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
    }

    [data-theme="light"] .accent-glow {
      background: radial-gradient(circle, rgba(61, 133, 0, 0.05) 0%, transparent 70%);
    }

    [data-theme="light"] .status-pulse {
      border-color: rgba(61, 133, 0, 0.3);
      background: rgba(61, 133, 0, 0.06);
    }

    [data-theme="light"] .ach-icon {
      border-color: rgba(61, 133, 0, 0.2);
    }

    [data-theme="light"] .phil-icon {
      border-color: rgba(61, 133, 0, 0.2);
    }

    [data-theme="light"] .resume-block {
      border-color: rgba(61, 133, 0, 0.2);
    }

    [data-theme="light"] .noise-overlay {
      opacity: 0.012;
    }

    [data-theme="light"] ::selection {
      background: var(--accent);
      color: #fff;
    }

    /* ===== THEME TOGGLE BUTTON ===== */
    #theme-toggle {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid var(--border2);
      background: var(--bg1);
      color: var(--muted);
      font-size: 17px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: none;
      transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
      flex-shrink: 0;
    }

    #theme-toggle:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: rotate(20deg);
    }

    html {
      scroll-behavior: smooth;
      -webkit-user-select: none;
      user-select: none;
    }

    *,
    *::before,
    *::after {
      transition: background-color 0.3s ease, border-color 0.3s ease, color 0.15s ease;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--body);
      font-size: 18.75px;
      line-height: 1.65;
      overflow-x: hidden;
      cursor: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
    }

    body * {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    body.is-loading {
      overflow: hidden;
    }

    body.is-loading #cursor-dot,
    body.is-loading #cursor-ring {
      opacity: 0;
    }

    .site-loader {
      position: fixed;
      inset: 0;
      z-index: 10020;
      display: grid;
      place-items: center;
      padding: 1.5rem;
      background:
        radial-gradient(circle at top, rgba(184, 255, 60, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(11, 11, 11, 0.98) 0%, rgba(11, 11, 11, 0.99) 100%);
      transition: opacity 0.7s ease, visibility 0s linear 0.7s;
    }

    .site-loader::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: 0.45;
      pointer-events: none;
    }

    .site-loader-panel {
      position: relative;
      width: min(100%, 560px);
      padding: 2.4rem 2rem 2rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(22, 22, 22, 0.9) 0%, rgba(12, 12, 12, 0.92) 100%);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
      text-align: center;
      overflow: hidden;
    }

    .site-loader-panel::after {
      content: '';
      position: absolute;
      inset: auto -12% -48% auto;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(184, 255, 60, 0.18) 0%, transparent 68%);
      pointer-events: none;
    }

    .site-loader-kicker {
      margin-bottom: 0.9rem;
      color: var(--accent);
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

    .site-loader-title {
      margin-bottom: 0.55rem;
      font-family: var(--display);
      font-size: clamp(2.2rem, 8vw, 4.1rem);
      line-height: 0.96;
      letter-spacing: -0.04em;
    }

    .site-loader-copy {
      margin: 0 auto 1.5rem;
      max-width: 28ch;
      color: var(--muted);
      font-size: 0.98rem;
    }

    .site-loader-bar {
      position: relative;
      width: 100%;
      height: 8px;
      margin-bottom: 1rem;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.08);
    }

    .site-loader-bar span {
      position: absolute;
      inset: 0;
      transform-origin: left center;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      animation: loader-progress 1.5s cubic-bezier(.22, 1, .36, 1) infinite;
    }

    .site-loader-meta {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
      color: var(--text);
      font-family: var(--mono);
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .site-loader-pulse {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.45);
      animation: loader-pulse 1.4s ease-out infinite;
    }

    .site-loader.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    [data-theme="light"] .site-loader {
      background:
        radial-gradient(circle at top, rgba(61, 133, 0, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(245, 244, 240, 0.98) 0%, rgba(238, 236, 231, 0.99) 100%);
    }

    [data-theme="light"] .site-loader::before {
      background-image:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    }

    [data-theme="light"] .site-loader-panel {
      border-color: rgba(61, 133, 0, 0.12);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(245, 244, 240, 0.95) 100%);
      box-shadow: 0 28px 80px rgba(40, 60, 20, 0.12);
    }

    [data-theme="light"] .site-loader-bar {
      background: rgba(61, 133, 0, 0.12);
    }

    @keyframes loader-progress {
      0% {
        transform: scaleX(0);
        opacity: 0.65;
      }

      40% {
        transform: scaleX(0.45);
        opacity: 1;
      }

      100% {
        transform: scaleX(1);
        opacity: 0.95;
      }
    }

    @keyframes loader-pulse {
      0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.45);
      }

      70% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(184, 255, 60, 0);
      }

      100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(184, 255, 60, 0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .site-loader,
      .site-loader-bar span,
      .site-loader-pulse {
        animation: none;
        transition: none;
      }

      .site-loader-bar span {
        transform: scaleX(1);
      }
    }

    @media (max-width: 768px) {
      .site-loader-panel {
        padding: 2rem 1.2rem 1.5rem;
        border-radius: 22px;
      }

      .site-loader-kicker {
        letter-spacing: 0.18em;
      }

      .site-loader-copy {
        font-size: 0.92rem;
      }
    }

    ::selection {
      background: var(--accent);
      color: #000;
    }

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

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

    ::-webkit-scrollbar-thumb {
      background: var(--muted2);
      border-radius: 2px;
    }

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

    img {
      max-width: 100%;
      display: block;
      -webkit-user-drag: none;
      user-drag: none;
      pointer-events: auto;
    }

    /* ===== CUSTOM CURSOR ===== */
    #cursor-dot {
      position: fixed;
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.08s, opacity 0.2s;
      mix-blend-mode: difference;
    }

    #cursor-ring {
      position: fixed;
      width: 34px;
      height: 34px;
      border: 1.5px solid rgba(184, 255, 60, 0.45);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.18s cubic-bezier(.22, 1, .36, 1), width 0.18s, height 0.18s, opacity 0.2s;
    }

    body.cursor-hover #cursor-dot {
      transform: translate(-50%, -50%) scale(2.5);
    }

    body.cursor-hover #cursor-ring {
      width: 52px;
      height: 52px;
      opacity: 0.6;
    }

    /* ===== NAV ===== */
    #navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 4rem;
      background: transparent;
      backdrop-filter: blur(0px);
      border-bottom: 1px solid transparent;
      transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    #navbar.scrolled {
      height: 60px;
      padding: 0 4rem;
      background: rgba(11, 11, 11, 0.75);
      backdrop-filter: blur(20px);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    [data-theme="light"] #navbar.scrolled {
      background: rgba(245, 244, 240, 0.85);
      border-color: rgba(0, 0, 0, 0.08);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .nav-logo {
      display: inline-flex;
      align-items: center;
      min-width: 0;
      position: relative;
      padding: 0.12rem 0 0.12rem 0.9rem;
      font-family: var(--body);
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-logo::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      width: 2px;
      height: 1.8rem;
      border-radius: 999px;
      transform: translateY(-50%);
      background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
      box-shadow: 0 0 18px rgba(184, 255, 60, 0.18);
    }

    .nav-logo:hover {
      transform: translateY(-1px);
      opacity: 0.96;
    }

    .nav-logo:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(184, 255, 60, 0.12);
      border-radius: 4px;
    }

    .nav-logo-text {
      display: flex;
      flex-direction: column;
      min-width: 0;
      gap: 0.18rem;
      line-height: 1;
    }

    .nav-logo-title {
      color: var(--text);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.03em;
      white-space: nowrap;
    }

    .nav-logo-sub {
      color: var(--muted);
      font-family: var(--mono);
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.25s ease;
    }

    .nav-logo:hover .nav-logo-sub {
      color: var(--accent);
    }

    [data-theme="light"] .nav-logo::before {
      box-shadow: 0 0 16px rgba(61, 133, 0, 0.14);
    }

    [data-theme="light"] .nav-logo-sub {
      color: rgba(26, 26, 26, 0.58);
    }

    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--mono);
      font-size: 13.75px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.2s;
      position: relative;
      padding-bottom: 2px;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--accent);
      transition: width 0.25s ease;
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    #theme-toggle {
      background: none;
      border: none;
      font-size: 1.25rem;
      cursor: none;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: transform 0.3s;
    }

    #theme-toggle:hover {
      transform: scale(1.1);
    }

    .nav-resume {
      font-family: var(--mono);
      font-size: 13.75px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 10px 24px;
      border: 1px solid rgba(184, 255, 60, 0.5);
      border-radius: 8px;
      background: rgba(184, 255, 60, 0.05);
      color: var(--accent);
      transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 0 0 rgba(184, 255, 60, 0);
    }

    .nav-resume:hover {
      background: var(--accent);
      color: #000;
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(184, 255, 60, 0.25);
      border-color: var(--accent);
    }

    .nav-hamburger {
      display: none;
      position: relative;
      width: 42px;
      height: 42px;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 1px solid rgba(184, 255, 60, 0.18);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.03);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
      cursor: none;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    }

    .nav-hamburger span {
      position: absolute;
      display: block;
      width: 18px;
      height: 1.8px;
      border-radius: 999px;
      background: var(--text);
      transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
    }

    .nav-hamburger span:nth-child(1) {
      transform: translateY(-6px);
    }

    .nav-hamburger span:nth-child(3) {
      transform: translateY(6px);
    }

    .nav-hamburger:hover {
      transform: translateY(-1px);
      border-color: rgba(184, 255, 60, 0.34);
      background: rgba(184, 255, 60, 0.08);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }

    .nav-hamburger:focus-visible {
      outline: none;
      border-color: rgba(184, 255, 60, 0.46);
      box-shadow: 0 0 0 4px rgba(184, 255, 60, 0.12), 0 14px 28px rgba(0, 0, 0, 0.16);
    }

    .nav-hamburger[aria-expanded="true"] {
      background: rgba(184, 255, 60, 0.12);
      border-color: rgba(184, 255, 60, 0.4);
      box-shadow: 0 14px 28px rgba(184, 255, 60, 0.12);
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
      transform: rotate(45deg);
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0.6);
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
      transform: rotate(-45deg);
    }

    [data-theme="light"] .nav-hamburger {
      background: rgba(255, 255, 255, 0.74);
      border-color: rgba(61, 133, 0, 0.14);
      box-shadow: 0 10px 22px rgba(61, 133, 0, 0.06);
    }

    [data-theme="light"] .nav-hamburger:hover {
      background: rgba(61, 133, 0, 0.08);
      border-color: rgba(61, 133, 0, 0.28);
      box-shadow: 0 12px 24px rgba(61, 133, 0, 0.1);
    }

    [data-theme="light"] .nav-hamburger[aria-expanded="true"] {
      background: rgba(61, 133, 0, 0.12);
      border-color: rgba(61, 133, 0, 0.3);
    }

    /* ===== HERO ===== */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 110px 3rem 2rem;
      max-width: 1300px;
      margin: 0 auto;
      position: relative;
    }

    .hero-container {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 3rem;
      width: 100%;
      position: relative;
      z-index: 10;
    }

    .hero-text-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      max-width: 800px;
    }

    .hero-image-wrap {
      flex: 0 0 clamp(300px, 35vw, 450px);
      position: relative;
      display: flex;
      justify-content: center;
      opacity: 0;
      animation: fadeSlideUp 0.8s 0.8s forwards;
      border-radius: 20px;
      cursor: pointer;
    }

    .hero-image-wrap img {
      width: 100%;
      height: auto;
      display: block;
      border: none;
      filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.4));
      border-radius: 24px;
      transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
      position: relative;
      z-index: 2;
    }

    [data-theme="light"] .hero-image-wrap img {
      border: none;
      filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.15));
    }

    .hero-image-wrap::after {
      content: '';
      position: absolute;
      inset: 10% 5%;
      background: radial-gradient(ellipse at center, rgba(184, 255, 60, 0.18) 0%, transparent 70%);
      border-radius: 50%;
      filter: blur(28px);
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 1;
    }

    .hero-image-wrap:hover img {
      transform: scale(1.04) translateY(-6px);
      filter: drop-shadow(0 20px 48px rgba(184, 255, 60, 0.35)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5));
    }

    .hero-image-wrap:hover::after {
      opacity: 1;
    }

    .hero-image-glow {
      display: none;
    }

    @media (max-width: 1000px) {
      .hero-container {
        flex-direction: column;
        text-align: center;
      }

      .hero-text-content {
        align-items: center;
      }

      .hero-image-wrap {
        flex: auto;
        width: 100%;
        max-width: 320px;
        order: -1;
        margin-bottom: 1rem;
      }
    }

    @media (max-width: 768px) {
      .hero-image-wrap {
        max-width: 220px;
      }

      .hero-image-wrap img {
        max-height: 280px;
        object-fit: cover;
        object-position: top;
      }
    }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--mono);
      font-size: 13.75px;
      color: var(--accent);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeSlideUp 0.7s 0.3s forwards;
    }

    .hero-eyebrow::before {
      content: '';
      display: none;
      width: 32px;
      height: 1px;
      background: var(--accent);
    }

    .status-pulse {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      border: 1px solid rgba(184, 255, 60, 0.3);
      border-radius: 20px;
      font-size: 12.5px;
      color: var(--accent);
      background: rgba(184, 255, 60, 0.06);
    }

    .status-pulse::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    .hero-name {
      font-family: var(--display);
      font-size: clamp(3.5rem, 8vw, 6.5rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -0.02em;
      margin-bottom: 1.5rem;
      display: inline-block;
      position: relative;
      isolation: isolate;
      opacity: 0;
      animation: fadeSlideUp 0.8s 0.5s forwards;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .hero-name::before {
      content: '';
      position: absolute;
      inset: -0.18em -0.16em -0.08em;
      border-radius: 28px;
      background:
        radial-gradient(circle at 18% 50%, rgba(184, 255, 60, 0.14), transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 62%);
      opacity: 0;
      transform: scale(0.96);
      filter: blur(10px);
      transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
      z-index: -1;
      pointer-events: none;
    }

    .hero-name::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -0.06em;
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--accent) 18%, var(--accent2) 82%, transparent 100%);
      opacity: 0.28;
      transform: scaleX(0.18);
      transform-origin: left center;
      transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .hero-name .line1 {
      display: block;
      color: var(--text);
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease, text-shadow 0.45s ease;
    }

    .hero-name .line2 {
      display: block;
      color: var(--accent);
      font-style: italic;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.45s ease, letter-spacing 0.45s ease;
    }

    .hero-name:hover {
      transform: translateY(-3px);
    }

    .hero-name:hover::before {
      opacity: 1;
      transform: scale(1);
    }

    .hero-name:hover::after {
      opacity: 0.95;
      transform: scaleX(1);
    }

    .hero-name:hover .line1 {
      transform: translateX(0.08em);
      color: #fff;
      text-shadow: 0 10px 28px rgba(255, 255, 255, 0.08);
    }

    .hero-name:hover .line2 {
      transform: translateX(0.14em);
      letter-spacing: -0.01em;
      text-shadow: 0 12px 34px rgba(184, 255, 60, 0.3);
    }

    [data-theme="light"] .hero-name::before {
      background:
        radial-gradient(circle at 18% 50%, rgba(61, 133, 0, 0.16), transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 62%);
    }

    [data-theme="light"] .hero-name:hover .line1 {
      color: #111;
      text-shadow: 0 10px 24px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .hero-name:hover .line2 {
      text-shadow: 0 12px 26px rgba(61, 133, 0, 0.2);
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-name,
      .hero-name::before,
      .hero-name::after,
      .hero-name .line1,
      .hero-name .line2 {
        transition: none;
      }

      .hero-name:hover {
        transform: none;
      }

      .hero-name:hover::before {
        transform: none;
      }

      .hero-name:hover .line1,
      .hero-name:hover .line2 {
        transform: none;
      }

      .hero-voice-btn,
      .hero-voice-btn::after,
      .hero-voice-icon {
        transition: none;
        animation: none;
      }
    }

    .hero-role-actions {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.8rem;
      flex-wrap: wrap;
      max-width: 100%;
    }

    .hero-role-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px 6px 10px;
      max-width: 100%;
      background: rgba(184, 255, 60, 0.07);
      border: 1px solid rgba(184, 255, 60, 0.25);
      border-radius: 30px;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    }

    .hero-role-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      display: inline-block;
      animation: pulse-dot 2s ease-in-out infinite;
      flex-shrink: 0;
    }

    .hero-voice-btn {
      position: relative;
      min-height: 44px;
      padding: 0.34rem 0.9rem 0.34rem 0.38rem;
      border: 1px solid rgba(184, 255, 60, 0.26);
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(184, 255, 60, 0.16) 0%, rgba(255, 255, 255, 0.04) 100%);
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 0.72rem;
      flex-shrink: 0;
      overflow: hidden;
      font-family: var(--mono);
      cursor: none;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
      transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    }

    .hero-voice-btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 100%);
      transform: translateX(-140%);
      transition: transform 0.55s ease;
      pointer-events: none;
    }

    .hero-voice-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(11, 11, 11, 0.36);
      color: var(--accent);
      flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.18);
    }

    .hero-voice-icon svg {
      width: 16px;
      height: 16px;
    }

    .hero-voice-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      line-height: 1.05;
      min-width: 0;
    }

    .hero-voice-label {
      color: var(--accent);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hero-voice-sub {
      margin-top: 0.2rem;
      color: var(--text);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .hero-voice-btn:not(.is-speaking):not(.is-disabled) .hero-voice-icon {
      animation: hero-voice-pulse 2.6s ease-in-out infinite;
    }

    .hero-voice-btn:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, rgba(184, 255, 60, 0.22) 0%, rgba(255, 255, 255, 0.06) 100%);
      border-color: rgba(184, 255, 60, 0.42);
      box-shadow: 0 16px 34px rgba(184, 255, 60, 0.12);
    }

    .hero-voice-btn:hover::after {
      transform: translateX(140%);
    }

    .hero-voice-btn:focus-visible {
      outline: none;
      border-color: rgba(184, 255, 60, 0.48);
      box-shadow: 0 0 0 4px rgba(184, 255, 60, 0.14), 0 14px 30px rgba(184, 255, 60, 0.12);
    }

    .hero-voice-btn.is-speaking {
      background: var(--accent);
      border-color: var(--accent);
      color: #000;
      box-shadow: 0 0 0 6px rgba(184, 255, 60, 0.12), 0 16px 32px rgba(184, 255, 60, 0.18);
    }

    .hero-voice-btn.is-speaking .hero-voice-icon {
      background: rgba(0, 0, 0, 0.12);
      color: #000;
      animation: none;
    }

    .hero-voice-btn.is-speaking .hero-voice-label,
    .hero-voice-btn.is-speaking .hero-voice-sub {
      color: #000;
    }

    .hero-voice-btn.is-disabled {
      opacity: 0.55;
      cursor: not-allowed;
      pointer-events: none;
      box-shadow: none;
    }

    .hero-voice-btn.is-disabled .hero-voice-icon {
      animation: none;
    }

    [data-theme="light"] .hero-role-badge {
      background: rgba(61, 133, 0, 0.08);
      border-color: rgba(61, 133, 0, 0.2);
      box-shadow: 0 10px 24px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .hero-voice-btn {
      background: linear-gradient(135deg, rgba(61, 133, 0, 0.16) 0%, rgba(255, 255, 255, 0.7) 100%);
      border-color: rgba(61, 133, 0, 0.2);
      box-shadow: 0 14px 28px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .hero-voice-icon {
      background: rgba(255, 255, 255, 0.88);
    }

    [data-theme="light"] .hero-voice-btn:hover {
      background: linear-gradient(135deg, rgba(61, 133, 0, 0.2) 0%, rgba(255, 255, 255, 0.92) 100%);
      border-color: rgba(61, 133, 0, 0.34);
      box-shadow: 0 16px 30px rgba(61, 133, 0, 0.12);
    }

    @keyframes hero-voice-pulse {
      0%,
      100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.18);
      }

      50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 10px rgba(184, 255, 60, 0);
      }
    }

    .hero-roles {
      align-self: center;
      font-family: var(--mono);
      font-size: 15px;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.25em;
      text-transform: uppercase;
      height: 24px;
      overflow: hidden;
      margin: 0;
      padding: 0;
      border: none;
      border-radius: 0;
      background: transparent;
      backdrop-filter: none;
      box-shadow: none;
      opacity: 0;
      animation: fadeSlideUp 0.8s 0.6s forwards;
    }

    .hero-roles-inner {
      display: flex;
      flex-direction: column;
      text-align: center;
      animation: roleSlide 8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    }

    .hero-role {
      height: 24px;
      line-height: 24px;
    }

    @keyframes roleSlide {

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

      33%,
      53% {
        transform: translateY(-25%);
      }

      66%,
      86% {
        transform: translateY(-50%);
      }

      100% {
        transform: translateY(-75%);
      }
    }

    .hero-tagline {
      font-size: 21.25px;
      color: var(--muted);
      max-width: 540px;
      line-height: 1.5;
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeSlideUp 0.8s 0.7s forwards;
    }

    .hero-tagline strong {
      color: var(--text);
      font-weight: 500;
    }

    .typewriter-wrap {
      font-family: var(--mono);
      font-size: 16.25px;
      color: var(--muted2);
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fadeSlideUp 0.8s 0.9s forwards;
    }

    .typewriter-wrap span {
      color: var(--accent);
    }

    #typewriter {
      border-right: 2px solid var(--accent);
      padding-right: 3px;
      animation: blink 0.75s step-end infinite;
    }

    @keyframes blink {

      0%,
      100% {
        border-color: var(--accent);
      }

      50% {
        border-color: transparent;
      }
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeSlideUp 0.8s 1s forwards;
    }

    .btn-primary {
      font-family: var(--mono);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.06em;
      padding: 14px 28px;
      background: var(--accent);
      color: #000;
      border: none;
      border-radius: 3px;
      cursor: none;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-primary:hover {
      background: var(--accent2);
      transform: translateY(-1px);
    }

    .btn-outline {
      font-family: var(--mono);
      font-size: 15px;
      letter-spacing: 0.06em;
      padding: 14px 28px;
      border: 1px solid var(--border2);
      border-radius: 3px;
      color: var(--text);
      background: transparent;
      transition: border-color 0.2s, background 0.2s, transform 0.15s;
      cursor: none;
    }

    .btn-outline:hover {
      border-color: var(--text);
      background: rgba(255, 255, 255, 0.04);
      transform: translateY(-1px);
    }

    [data-theme="light"] .btn-outline:hover {
      background: rgba(0, 0, 0, 0.04);
    }

    .hero-stats {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      padding-top: 1.8rem;
      margin-bottom: 4rem;
      opacity: 0;
      animation: fadeSlideUp 0.8s 1.1s forwards;
    }

    .hero-stat {
      flex: 1;
      min-width: 100px;
      padding: 1.1rem 1.4rem;
      background: var(--bg1);
      border: 0.5px solid var(--border2);
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease, background 0.3s ease;
      cursor: default;
    }

    .hero-stat::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0.6;
      transition: opacity 0.3s;
    }

    /* shimmer sweep on hover */
    .hero-stat::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg,
          transparent 0%,
          rgba(184, 255, 60, 0.08) 40%,
          rgba(184, 255, 60, 0.14) 50%,
          rgba(184, 255, 60, 0.08) 60%,
          transparent 100%);
      transform: translateX(-100%);
      transition: transform 0.5s ease;
      pointer-events: none;
    }

    .hero-stat:hover {
      border-color: rgba(184, 255, 60, 0.45);
      transform: translateY(-4px);
      background: var(--bg2);
      box-shadow: 0 8px 28px rgba(184, 255, 60, 0.12), 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    .hero-stat:hover::before {
      opacity: 1;
    }

    .hero-stat:hover::after {
      transform: translateX(100%);
    }

    .hero-stat:hover .stat-num {
      color: var(--accent);
    }

    .stat-num {
      font-family: var(--display);
      font-size: 2.6rem;
      font-weight: 700;
      line-height: 1;
      color: var(--text);
      margin-bottom: 5px;
      transition: color 0.3s;
    }

    .stat-num em {
      color: var(--accent);
      font-style: normal;
    }

    .stat-label {
      font-family: var(--mono);
      font-size: 10.5px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      transition: color 0.3s;
    }

    .hero-stat:hover .stat-label {
      color: rgba(184, 255, 60, 0.6);
    }

    /* scroll indicator */
    .scroll-hint {
      position: absolute;
      bottom: 2.5rem;
      left: 3rem;
      font-family: var(--mono);
      font-size: 12.5px;
      color: var(--muted2);
      letter-spacing: 0.1em;
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      animation: fadeSlideUp 0.8s 1.4s forwards;
    }

    .scroll-hint::before {
      content: '';
      display: inline-block;
      width: 1px;
      height: 36px;
      background: linear-gradient(to bottom, transparent, var(--muted2));
      animation: scrollLine 2s ease-in-out infinite;
    }

    @keyframes scrollLine {

      0%,
      100% {
        opacity: 0.3;
      }

      50% {
        opacity: 1;
      }
    }

    /* ===== MARQUEE ===== */
    .marquee-section {
      border-top: 0.5px solid var(--border);
      border-bottom: 0.5px solid var(--border);
      padding: 14px 0;
      overflow: hidden;
      background: var(--bg1);
    }

    .marquee-track {
      display: flex;
      gap: 0;
      white-space: nowrap;
      animation: marquee 28s linear infinite;
    }

    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      font-family: var(--mono);
      font-size: 13.75px;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 0 2.5rem;
    }

    .marquee-item .dot {
      color: var(--accent);
      font-size: 22.5px;
      line-height: 0;
    }

    @keyframes marquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    /* ===== SECTION LAYOUT ===== */
    .section {
      padding: 7rem 3rem;
      max-width: 1500px;
      margin: 0 auto;
    }

    .section-full {
      padding: 7rem 3rem;
    }

    .sec-label {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--mono);
      font-size: 12.5px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.2em;
      margin-bottom: 1rem;
    }

    .sec-label::before {
      content: '';
      width: 28px;
      height: 1px;
      background: var(--accent);
    }

    .sec-num-big {
      font-family: var(--display);
      font-size: 10rem;
      font-weight: 900;
      color: transparent;
      -webkit-text-stroke: 1px var(--border2);
      line-height: 1;
      margin-bottom: -2rem;
      user-select: none;
      letter-spacing: -0.04em;
    }

    .sec-title {
      font-family: var(--display);
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1.05;
      margin-bottom: 3.5rem;
    }

    .sec-title em {
      font-style: italic;
      color: var(--accent);
    }

    hr.sec-rule {
      border: none;
      border-top: 0.5px solid var(--border);
      margin: 5rem 0;
    }

    /* ===== REVEAL ANIMATION ===== */
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    .reveal-delay-2 {
      transition-delay: 0.2s;
    }

    .reveal-delay-3 {
      transition-delay: 0.3s;
    }

    .reveal-delay-4 {
      transition-delay: 0.4s;
    }

    @keyframes fadeSlideUp {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }

    /* ===== ABOUT ===== */
    #about {
      border-top: 0.5px solid var(--border);
    }

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

    @media (max-width: 960px) {
      .about-grid {
        grid-template-columns: 1fr;
      }
    }
    .about-story p {
      font-size: 17.75px;
      color: var(--muted);
      line-height: 1.85;
      margin-bottom: 1.5rem;
    }

    .about-story p strong {
      color: var(--text);
      font-weight: 500;
    }

    .about-story p em {
      color: var(--accent);
      font-style: normal;
    }

    .quote-block {
      position: relative;
      border-left: 3px solid var(--accent);
      padding: 1.25rem 1.75rem;
      margin: 2.5rem 0;
      background: rgba(184, 255, 60, 0.02);
      border: 1px solid rgba(184, 255, 60, 0.08);
      border-radius: 8px;
      font-family: var(--display);
      font-size: 1.15rem;
      font-style: italic;
      color: var(--text);
      line-height: 1.7;
      overflow: hidden;
      transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    .quote-block::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 0%, rgba(184, 255, 60, 0.1) 48%, transparent 100%);
      transform: translateX(-140%);
      transition: transform 0.55s ease;
      pointer-events: none;
    }

    .quote-block:hover {
      transform: translateY(-3px);
      background: rgba(184, 255, 60, 0.05);
      border-color: rgba(184, 255, 60, 0.18);
      box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
    }

    .quote-block:hover::before {
      transform: translateX(140%);
    }

    [data-theme="light"] .quote-block {
      background: rgba(61, 133, 0, 0.03);
      border-color: rgba(61, 133, 0, 0.1);
    }

    [data-theme="light"] .quote-block:hover {
      background: rgba(61, 133, 0, 0.07);
      border-color: rgba(61, 133, 0, 0.18);
      box-shadow: 0 16px 30px rgba(61, 133, 0, 0.1);
    }

    .about-sidebar {
      position: sticky;
      top: 100px;
    }

    .info-block {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 1.25rem;
      background: var(--bg1);
      transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    }

    .info-block:hover {
      border-color: rgba(184, 255, 60, 0.3);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
      transform: translateY(-4px);
    }

    .info-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      transition: background 0.2s;
    }

    .info-row:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .info-row:last-child {
      border-bottom: none;
    }

    .info-key {
      font-family: var(--mono);
      font-size: 11.5px;
      font-weight: 600;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.15em;
    }

    .info-val {
      font-size: 15.5px;
      font-weight: 500;
      color: var(--text);
      text-align: right;
    }

    .info-val.green {
      color: var(--accent);
      text-shadow: 0 0 16px rgba(184, 255, 60, 0.3);
    }

    .profile-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      background: var(--bg1);
      transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .profile-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
      border-color: rgba(184, 255, 60, 0.4);
    }

    .profile-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0.5;
    }

    .profile-avatar {
      width: 84px;
      height: 84px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent3) 0%, rgba(77, 166, 255, 0.1) 100%);
      border: 2px solid rgba(184, 255, 60, 0.3);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--display);
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--accent);
      box-shadow: 0 8px 24px rgba(184, 255, 60, 0.15);
      transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .profile-card:hover .profile-avatar {
      transform: scale(1.05) rotate(5deg);
      border-color: var(--accent);
    }

    .profile-name {
      font-family: var(--display);
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 4px;
      background: var(--text);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% auto;
      transition: background-position 0.5s ease, filter 0.3s ease;
      cursor: default;
    }

    .profile-name:hover {
      background: linear-gradient(90deg, var(--text) 0%, var(--accent) 40%, var(--accent2) 60%, var(--text) 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: nameShimmer 1.2s ease forwards;
      filter: drop-shadow(0 0 8px rgba(184, 255, 60, 0.4));
    }

    @keyframes nameShimmer {
      0%   { background-position: 200% center; }
      100% { background-position: 0% center; }
    }

    .profile-role {
      font-family: var(--mono);
      font-size: 12.5px;
      color: var(--muted2);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .social-row {
      display: flex;
      gap: 8px;
      margin-top: 1rem;
    }

    .social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--mono);
      font-size: 12.5px;
      padding: 6px 12px;
      border: 0.5px solid var(--border2);
      border-radius: 3px;
      color: var(--muted);
      transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
    }

    .social-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(255, 255, 255, 0.04);
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    /* ===== SKILLS ===== */
    #skills {
      background: var(--bg1);
      border-top: 0.5px solid var(--border);
      border-bottom: 0.5px solid var(--border);
    }

    .skills-container {
      max-width: 1500px;
      margin: 0 auto;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
      margin-top: 2.5rem;
    }

    .skill-cat {
      background: rgba(255, 255, 255, 0.02);
      padding: 2rem;
      border: 1px solid var(--border);
      border-radius: 16px;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .skill-cat:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
      background: rgba(255, 255, 255, 0.04);
    }

    .skill-cat-label {
      font-family: var(--mono);
      font-size: 11.5px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.25em;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .skill-cat-label::before {
      content: '//';
      color: var(--muted2);
    }

    .skill-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pill {
      font-family: var(--mono);
      font-size: 13px;
      padding: 6px 16px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 40px;
      color: var(--text);
      background: rgba(255, 255, 255, 0.03);
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(5px);
    }

    .pill:hover {
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.1);
      color: var(--accent);
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .skill-bars {
      margin-top: 4rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      column-gap: 4rem;
      row-gap: 1.25rem;
    }

    .skill-bar-row {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      padding: 0.85rem 0.95rem;
      border: 1px solid var(--border);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.025);
      transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .skill-bar-row:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(184, 255, 60, 0.28);
      transform: translateX(4px);
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    }

    .skill-bar-label {
      font-family: var(--mono);
      font-size: 13.5px;
      color: var(--text);
      min-width: 120px;
    }

    .skill-bar-track {
      flex: 1;
      height: 8px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }

    .skill-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      border-radius: 999px;
      width: 0;
      transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 0 20px rgba(184, 255, 60, 0.24);
    }

    .skill-bar-pct {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      min-width: 82px;
      text-align: center;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      padding: 0.35rem 0.55rem;
      border: 1px solid rgba(184, 255, 60, 0.2);
      border-radius: 999px;
      background: rgba(184, 255, 60, 0.08);
    }

    [data-theme="light"] #skills {
      background: linear-gradient(180deg, #f3f1eb 0%, #ece8e1 100%);
    }

    [data-theme="light"] .skill-cat {
      background: rgba(255, 255, 255, 0.72);
      border-color: rgba(61, 133, 0, 0.12);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    }

    [data-theme="light"] .skill-cat:hover {
      background: rgba(255, 255, 255, 0.92);
      border-color: rgba(61, 133, 0, 0.28);
      box-shadow: 0 16px 34px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .skill-cat-label::before {
      color: rgba(61, 133, 0, 0.5);
    }

    [data-theme="light"] .pill {
      background: rgba(61, 133, 0, 0.05);
      border-color: rgba(61, 133, 0, 0.14);
      color: var(--text);
    }

    [data-theme="light"] .pill:hover {
      background: rgba(61, 133, 0, 0.11);
      border-color: rgba(61, 133, 0, 0.32);
      box-shadow: 0 8px 18px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .skill-bar-row:hover {
      background: rgba(61, 133, 0, 0.05);
      border-color: rgba(61, 133, 0, 0.24);
      box-shadow: 0 14px 28px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .skill-bar-track {
      background: rgba(61, 133, 0, 0.12);
    }

    [data-theme="light"] .skill-bar-fill {
      box-shadow: 0 0 14px rgba(61, 133, 0, 0.18);
    }

    [data-theme="light"] .skill-bar-pct {
      color: var(--accent2);
      border-color: rgba(61, 133, 0, 0.18);
      background: rgba(61, 133, 0, 0.08);
    }

    /* ===== PROJECTS ===== */
    #projects {
      border-top: 0.5px solid var(--border);
    }

    .projects-grid {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .proj-card {
      background: rgba(255, 255, 255, 0.015);
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 16px;
      overflow: hidden;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

    .proj-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
      background: rgba(255, 255, 255, 0.03);
    }

    .proj-card.open {
      border-color: rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.04);
    }

    .proj-summary {
      display: grid;
      grid-template-columns: 180px 1fr auto;
      gap: 2rem;
      padding: 2rem;
      cursor: pointer;
      align-items: start;
    }
    
    .empty-img {
      width: 100%;
      height: 120px;
    }

    .proj-img {
      width: 100%;
      height: 120px;
      object-fit: cover;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
      filter: grayscale(60%) brightness(0.85); /* Premium muted look */
    }

    .proj-card:hover .proj-img {
      transform: scale(1.05) translateY(-2px);
      filter: grayscale(0%) brightness(1.1); /* Vibrant full color on hover */
      border-color: rgba(255, 255, 255, 0.25);
      box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    }

    .proj-card:hover .proj-summary,
    .proj-card.open .proj-summary {
      background: transparent;
    }

    .proj-num {
      font-family: var(--mono);
      font-size: 11.25px;
      color: var(--muted2);
      letter-spacing: 0.1em;
      margin-bottom: 6px;
    }

    .proj-title {
      font-family: var(--display);
      font-size: 1.62rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .proj-oneliner {
      font-size: 16.25px;
      color: var(--muted);
      line-height: 1.6;
      max-width: 540px;
    }

    .proj-meta {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
      min-width: 180px;
    }

    .proj-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .tag {
      font-family: var(--mono);
      font-size: 12px;
      padding: 4px 14px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 40px;
      color: var(--text);
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(5px);
      transition: all 0.3s ease;
    }

    .tag.highlight {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }

    .proj-toggle {
      font-family: var(--mono);
      font-size: 13.5px;
      color: var(--muted2);
      padding: 8px 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.02);
      transition: color 0.3s, border-color 0.3s, background 0.3s;
      flex-shrink: 0;
      margin-top: 4px;
      cursor: pointer;
      width: 100%;
    }
    
    .proj-toggle::after {
      content: 'Show Description';
    }

    .proj-card:hover .proj-toggle {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }

    .proj-card.open .proj-toggle {
      color: var(--accent);
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }
    
    .proj-card.open .proj-toggle::after {
      content: 'Hide Description';
    }

    .proj-private-note {
      width: 100%;
      padding: 8px 16px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.02);
      color: var(--accent);
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-align: center;
    }

    .proj-card[data-private="true"] .proj-summary {
      cursor: default;
    }

    .proj-detail {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .proj-card.open .proj-detail {
      max-height: 1200px;
    }

    .proj-detail-inner {
      padding: 0 2rem 2.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 2.5rem;
    }

    .case-block {
      background: rgba(255, 255, 255, 0.015);
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      padding: 1.25rem 1.5rem;
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    .case-block:hover {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(255, 255, 255, 0.06);
    }

    .case-block h4 {
      font-family: var(--mono);
      font-size: 11.5px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.2em;
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    }

    .case-block p,
    .case-block li {
      font-size: 15.5px; /* Slightly smaller for compactness in boxes */
      color: var(--muted);
      line-height: 1.7;
    }

    .case-block ul {
      list-style: none;
      padding: 0;
    }

    .case-block li {
      padding-left: 16px;
      position: relative;
      margin-bottom: 4px;
    }

    .case-block li::before {
      content: '›';
      position: absolute;
      left: 0;
      color: var(--accent);
    }

    .case-block .stack-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .proj-links {
      margin-top: 1.5rem;
      display: flex;
      gap: 10px;
    }

    .proj-meta .proj-links {
      width: 100%;
      margin-top: 0.35rem;
      flex-direction: column;
      gap: 8px;
    }

    .proj-link {
      font-family: var(--mono);
      font-size: 13.75px;
      padding: 8px 16px;
      border: 0.5px solid var(--border2);
      border-radius: 3px;
      color: var(--muted);
      transition: border-color 0.2s, color 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .proj-meta .proj-link {
      width: 100%;
      text-align: center;
    }

    .proj-link:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .proj-link.primary {
      background: var(--accent);
      color: #000;
      border-color: var(--accent);
    }

    .proj-link.primary:hover {
      background: var(--accent2);
      border-color: var(--accent2);
      color: #000;
    }

    /* ===== EXPERIENCE ===== */
    #experience {
      border-top: 0.5px solid var(--border);
    }

    .timeline {
      display: flex;
      flex-direction: column;
      position: relative;
    }
    
    .timeline::before {
      content: '';
      position: absolute;
      top: 3.5rem; /* Roughly starts at the first node */
      bottom: 2rem; /* Ends near the last item */
      left: 96px; /* 80px tl-year + 16px half-gap */
      width: 1px;
      background: var(--border);
      z-index: 1;
    }
    
    [data-theme="light"] .timeline::before {
      background: var(--border2);
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 2rem;
      padding: 1.5rem 0;
      align-items: start;
      position: relative;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      top: calc(1.5rem + 1.5rem + 8px); /* padding of item + padding of body + font offset */
      left: 96px; 
      width: 14px;
      height: 14px;
      background: var(--bg);
      border: 2.5px solid var(--border2);
      border-radius: 50%;
      transform: translateX(-50%);
      z-index: 2;
      transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
    }

    .timeline-item:hover::before {
      border-color: var(--accent);
      background: var(--accent);
      box-shadow: 0 0 12px rgba(184, 255, 60, 0.4);
      transform: translateX(-50%) scale(1.2);
    }

    [data-theme="light"] .timeline-item:hover::before {
      box-shadow: 0 0 12px rgba(61, 133, 0, 0.3);
    }

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

    .tl-year {
      font-family: var(--mono);
      font-size: 13.5px;
      color: var(--muted2);
      text-align: right;
      padding-top: calc(1.5rem + 5px); /* Align with title inside padded body */
      letter-spacing: 0.05em;
      transition: color 0.3s;
    }
    
    .timeline-item:hover .tl-year {
      color: var(--text);
    }

    .tl-body {
      padding: 1.5rem 2rem;
      background: rgba(255, 255, 255, 0.015);
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }
    
    [data-theme="light"] .tl-body {
      background: rgba(0, 0, 0, 0.015);
      border-color: rgba(0, 0, 0, 0.05);
    }
    
    .timeline-item:hover .tl-body {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(255, 255, 255, 0.08);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    [data-theme="light"] .timeline-item:hover .tl-body {
      background: rgba(0, 0, 0, 0.025);
      border-color: rgba(0, 0, 0, 0.1);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .tl-role {
      font-family: var(--display);
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 4px;
      color: var(--text);
      transition: color 0.3s;
    }
    
    .timeline-item:hover .tl-role {
      color: var(--accent);
    }

    .tl-org {
      font-family: var(--mono);
      font-size: 12.5px;
      color: var(--muted2);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .tl-org em {
      color: var(--accent);
      font-style: normal;
    }

    .tl-desc {
      font-size: 16.25px;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .tl-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tl-tag {
      font-family: var(--mono);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 12px;
      border: 1px solid var(--border2);
      border-radius: 20px;
      color: var(--muted);
      background: transparent;
      transition: border-color 0.3s, color 0.3s, background 0.3s;
    }
    
    .timeline-item:hover .tl-tag {
      border-color: rgba(184, 255, 60, 0.3);
      color: var(--text);
    }
    
    [data-theme="light"] .timeline-item:hover .tl-tag {
      border-color: rgba(61, 133, 0, 0.3);
      color: var(--text);
    }

    /* Hackathons Collapsible Block */
    .hack-summary {
      cursor: pointer;
      width: 100%;
      padding: 0.35rem 0.45rem 0.55rem;
      margin: -0.35rem -0.45rem 0;
      border: 1px solid transparent;
      border-radius: 14px;
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .hack-summary:hover,
    .hack-summary:focus-visible {
      background: rgba(255, 255, 255, 0.028);
      border-color: rgba(184, 255, 60, 0.16);
      transform: translateY(-1px);
      outline: none;
    }

    [data-theme="light"] .hack-summary:hover,
    [data-theme="light"] .hack-summary:focus-visible {
      background: rgba(61, 133, 0, 0.05);
      border-color: rgba(61, 133, 0, 0.18);
    }
    
    .hack-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    
    .hack-toggle {
      font-family: var(--mono);
      font-size: 13.5px;
      color: var(--muted2);
      padding: 8px 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.02);
      transition: color 0.3s, border-color 0.3s, background 0.3s;
      flex-shrink: 0;
      margin-top: 4px;
      pointer-events: none;
    }

    .hack-toggle::after {
      content: 'Show All';
    }

    .hack-summary:hover .hack-toggle {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }

    .hack-summary[aria-expanded="true"] .hack-toggle {
      color: var(--accent);
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.05);
    }
    
    .hack-summary[aria-expanded="true"] .hack-toggle::after {
      content: 'Hide All';
    }
    
    .hack-list {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out, margin-top 0.3s ease;
      opacity: 0;
    }
    
    .hack-list.open {
      max-height: 4200px;
      margin-top: 1.5rem;
      opacity: 1;
    }
    
    .hack-entry {
      border-left: 2px solid var(--border2);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
      position: relative;
    }
    
    .hack-entry:last-child {
      margin-bottom: 0;
    }
    
    .hack-entry::before {
      content: '';
      position: absolute;
      left: -5px;
      top: 6px;
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent);
    }

    .hack-entry .proj-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(184, 255, 60, 0.08);
      border-color: rgba(184, 255, 60, 0.28);
      box-shadow: 0 10px 22px rgba(184, 255, 60, 0.1);
    }

    .hack-entry .proj-link:hover {
      color: #000;
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: 0 14px 28px rgba(184, 255, 60, 0.18);
      transform: translateY(-2px);
    }

    [data-theme="light"] .hack-entry .proj-link {
      color: var(--accent2);
      background: rgba(68, 111, 22, 0.1);
      border-color: rgba(68, 111, 22, 0.26);
      box-shadow: 0 10px 18px rgba(86, 69, 37, 0.08);
    }

    [data-theme="light"] .hack-entry .proj-link:hover {
      color: #fff;
      background: var(--accent2);
      border-color: var(--accent2);
      box-shadow: 0 14px 24px rgba(68, 111, 22, 0.16);
    }

    /* Academic Report */
    .report-wrap {
      margin: 1.25rem 0;
    }

    .report-trigger {
      width: min(100%, 320px);
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.85rem 1rem;
      border: 1px solid var(--border2);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.02);
      color: var(--text);
      font-family: var(--mono);
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      cursor: none;
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .report-trigger:hover {
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.045);
      transform: translateY(-1px);
    }

    .report-trigger:focus-visible {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.08);
    }

    .report-trigger[aria-expanded="true"] {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(184, 255, 60, 0.05);
    }

    .report-trigger-name {
      letter-spacing: 0.08em;
    }

    .report-trigger-meta {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      color: var(--muted);
      flex-shrink: 0;
    }

    .report-trigger[aria-expanded="true"] .report-trigger-meta {
      color: var(--accent);
    }

    .report-trigger-icon {
      width: 8px;
      height: 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-1px);
      transition: transform 0.2s ease;
    }

    .report-trigger[aria-expanded="true"] .report-trigger-icon {
      transform: rotate(-135deg) translate(-1px, -1px);
    }

    .report-panel {
      width: min(100%, 420px);
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.015);
      overflow: hidden;
    }

    .report-panel.open {
      margin-top: 0.9rem;
    }

    .report-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 1rem;
      align-items: center;
      padding: 0.95rem 1rem;
      border-bottom: 1px solid var(--border);
    }

    .report-row:last-child {
      border-bottom: none;
    }

    .report-row-total {
      background: var(--bg1);
    }

    .report-label {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .report-row-total .report-label {
      color: var(--text);
      font-weight: 600;
    }

    .report-value {
      font-family: var(--mono);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text);
      text-align: right;
    }

    .report-row-total .report-value {
      color: var(--accent);
    }

    /* ===== ACHIEVEMENTS ===== */
    #achievements {
      border-top: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg) 0%, var(--bg1) 100%);
    }

    .ach-container {
      max-width: 1500px;
      margin: 0 auto;
    }

    .ach-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .ach-card {
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2.5rem 2rem;
      transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      position: relative;
      overflow: hidden;
    }

    .ach-card:hover {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(184, 255, 60, 0.4);
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }

    .ach-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .ach-card:hover::after {
      opacity: 0.8;
    }

    .ach-icon {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      width: 56px;
      height: 56px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--accent3) 0%, transparent 100%);
      border: 1px solid rgba(184, 255, 60, 0.2);
      box-shadow: 0 4px 12px rgba(184, 255, 60, 0.1);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
    }

    .ach-card:hover .ach-icon {
      transform: scale(1.1) rotate(5deg);
      border-color: var(--accent);
    }

    .ach-title {
      font-family: var(--display);
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text);
      transition: color 0.3s;
    }

    .ach-card:hover .ach-title {
      color: var(--accent);
    }

    .ach-sub {
      font-family: var(--mono);
      font-size: 12.5px;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 12px;
    }

    .ach-desc {
      font-size: 15.5px;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ===== BUILD PHILOSOPHY ===== */
    #philosophy {
      border-top: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg1) 0%, var(--bg) 100%);
    }

    .phil-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .phil-card {
      background: var(--bg1);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2.5rem 2rem;
      transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      position: relative;
      overflow: hidden;
    }

    .phil-card:hover {
      background: rgba(255, 255, 255, 0.03);
      border-color: rgba(184, 255, 60, 0.4);
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }

    .phil-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent), transparent);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .phil-card:hover::after {
      opacity: 0.8;
    }

    .phil-icon {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      width: 56px;
      height: 56px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--accent3) 0%, transparent 100%);
      border: 1px solid rgba(184, 255, 60, 0.2);
      box-shadow: 0 4px 12px rgba(184, 255, 60, 0.1);
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
    }

    .phil-card:hover .phil-icon {
      transform: scale(1.1) rotate(5deg);
      border-color: var(--accent);
    }

    .phil-title {
      font-family: var(--display);
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
      line-height: 1.3;
      transition: color 0.3s;
    }

    .phil-card:hover .phil-title {
      color: var(--accent);
    }

    .phil-desc {
      font-size: 15.5px;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ===== CONTACT ===== */
    #contact {
      border-top: 0.5px solid var(--border);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 5rem;
      align-items: start;
    }

    .contact-headline {
      font-family: var(--display);
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1.05;
      margin-bottom: 1.2rem;
    }

    .contact-headline em {
      font-style: italic;
      color: var(--accent);
    }

    .contact-sub {
      font-size: 18.75px;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 1.5rem;
      max-width: 420px;
    }

    .contact-links-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 20px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.015);
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    }

    .contact-link:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
      background: rgba(184, 255, 60, 0.05);
      box-shadow: 0 10px 30px -10px rgba(184, 255, 60, 0.15);
    }

    .contact-link:hover .cl-icon,
    .contact-link:hover .cl-value {
      color: var(--accent);
    }

    .contact-link:hover .cl-label {
      color: rgba(184, 255, 60, 0.72);
    }

    [data-theme="light"] .contact-link {
      background: rgba(0, 0, 0, 0.01);
    }

    [data-theme="light"] .contact-link:hover {
      background: rgba(61, 133, 0, 0.05);
      box-shadow: 0 10px 30px -10px rgba(61, 133, 0, 0.1);
    }

    .cl-icon {
      font-family: var(--mono);
      font-size: 13.75px;
      color: var(--accent);
      width: 36px;
      text-align: center;
      flex-shrink: 0;
    }

    .cl-label {
      font-family: var(--mono);
      font-size: 11.25px;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 2px;
    }

    .cl-text {
      min-width: 0;
      flex: 1;
    }

    .cl-value {
      font-size: 16.25px;
      color: var(--text);
    }

    .currently-box {
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 2rem;
      background: rgba(255, 255, 255, 0.015);
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    [data-theme="light"] .currently-box {
      background: rgba(0, 0, 0, 0.01);
    }

    .currently-box:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }

    .currently-header {
      background: var(--bg1);
      padding: 12px 16px;
      font-family: var(--mono);
      font-size: 11.25px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.15em;
      border-bottom: 0.5px solid var(--border);
    }

    .currently-item {
      padding: 14px 16px;
      border-bottom: 0.5px solid var(--border);
      font-size: 16.25px;
      color: var(--muted);
      line-height: 1.4;
    }

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

    .ci-label {
      font-family: var(--mono);
      font-size: 11.25px;
      color: var(--muted2);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 4px;
    }

    .resume-block {
      border: 1px solid rgba(184, 255, 60, 0.2);
      border-radius: 16px;
      padding: 2rem;
      background: linear-gradient(135deg, var(--accent3) 0%, transparent 100%);
      text-align: center;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .resume-block:hover {
      transform: translateY(-4px);
      border-color: rgba(184, 255, 60, 0.4);
      box-shadow: 0 10px 30px -10px rgba(184, 255, 60, 0.15);
    }

    .resume-block p {
      font-size: 16.25px;
      color: var(--muted);
      margin-bottom: 1rem;
    }

    .btn-resume {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.06em;
      padding: 12px 24px;
      background: var(--accent);
      color: #000;
      border: none;
      border-radius: 3px;
      transition: background 0.2s;
      cursor: none;
    }

    .btn-resume:hover {
      background: var(--accent2);
    }

    /* ===== FOOTER ===== */
    footer {
      border-top: 1px solid var(--border);
      padding: 4rem 3rem 3rem;
      max-width: 1500px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      background: linear-gradient(to top, rgba(184, 255, 60, 0.03) 0%, transparent 100%);
    }

    .footer-logo {
      font-family: var(--display);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
    }

    .footer-logo span {
      color: var(--accent);
      font-style: italic;
    }

    .footer-copy {
      font-family: var(--mono);
      font-size: 13.75px;
      color: var(--muted);
      flex: 1;
      text-align: center;
      letter-spacing: 0.05em;
    }

    .footer-back {
      font-family: var(--mono);
      font-size: 12.5px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.15em;
      padding: 12px 20px;
      border: 1px solid var(--border2);
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.02);
      transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .footer-back:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(184, 255, 60, 0.08);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(184, 255, 60, 0.15);
    }

    /* ===== LIGHT THEME REFINEMENTS ===== */
    [data-theme="light"] body {
      background:
        radial-gradient(circle at top left, rgba(108, 84, 42, 0.1), transparent 30%),
        radial-gradient(circle at top right, rgba(68, 111, 22, 0.08), transparent 26%),
        linear-gradient(180deg, #f8f3ea 0%, #f2ebdf 52%, #ebe3d5 100%);
    }

    [data-theme="light"] #cursor-dot {
      mix-blend-mode: normal;
      box-shadow: 0 0 0 5px rgba(68, 111, 22, 0.12);
    }

    [data-theme="light"] .site-loader {
      background:
        radial-gradient(circle at top, rgba(68, 111, 22, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(248, 243, 234, 0.98) 0%, rgba(239, 231, 217, 0.99) 100%);
    }

    [data-theme="light"] .site-loader::before {
      background-image:
        linear-gradient(rgba(57, 45, 24, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 45, 24, 0.035) 1px, transparent 1px);
    }

    [data-theme="light"] .site-loader-panel {
      border-color: rgba(57, 45, 24, 0.12);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 239, 230, 0.92) 100%);
      box-shadow: 0 28px 70px rgba(86, 69, 37, 0.12);
    }

    [data-theme="light"] .site-loader-bar {
      background: rgba(57, 45, 24, 0.08);
    }

    [data-theme="light"] .grid-bg {
      opacity: 0.05;
    }

    [data-theme="light"] .marquee-section {
      background: rgba(255, 255, 255, 0.42);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }

    [data-theme="light"] #navbar.scrolled {
      background: rgba(248, 243, 234, 0.84);
      border-color: rgba(57, 45, 24, 0.09);
      box-shadow: 0 14px 32px rgba(86, 69, 37, 0.08);
    }

    [data-theme="light"] #about,
    [data-theme="light"] #projects,
    [data-theme="light"] #experience,
    [data-theme="light"] #contact {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
    }

    [data-theme="light"] #achievements {
      background: linear-gradient(180deg, #efe8dc 0%, #f6f1e7 100%);
    }

    [data-theme="light"] #philosophy {
      background: linear-gradient(180deg, #f6f1e7 0%, #ede5d6 100%);
    }

    [data-theme="light"] .btn-outline {
      background: rgba(255, 255, 255, 0.52);
      border-color: rgba(57, 45, 24, 0.12);
    }

    [data-theme="light"] .btn-outline:hover {
      background: rgba(68, 111, 22, 0.08);
      border-color: rgba(68, 111, 22, 0.28);
    }

    [data-theme="light"] .hero-stat {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(57, 45, 24, 0.12);
      box-shadow: 0 16px 32px rgba(86, 69, 37, 0.06);
    }

    [data-theme="light"] .hero-stat:hover {
      background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 18px 34px rgba(68, 111, 22, 0.12), 0 4px 12px rgba(86, 69, 37, 0.08);
    }

    [data-theme="light"] .info-block,
    [data-theme="light"] .profile-card,
    [data-theme="light"] .skill-cat,
    [data-theme="light"] .skill-bar-row,
    [data-theme="light"] .proj-card,
    [data-theme="light"] .case-block,
    [data-theme="light"] .report-panel,
    [data-theme="light"] .tl-body,
    [data-theme="light"] .ach-card,
    [data-theme="light"] .phil-card,
    [data-theme="light"] .contact-link,
    [data-theme="light"] .currently-box {
      background: rgba(255, 255, 255, 0.72);
      border-color: rgba(57, 45, 24, 0.1);
      box-shadow: 0 16px 34px rgba(86, 69, 37, 0.06);
    }

    [data-theme="light"] .profile-card:hover,
    [data-theme="light"] .skill-cat:hover,
    [data-theme="light"] .proj-card:hover,
    [data-theme="light"] .proj-card.open,
    [data-theme="light"] .case-block:hover,
    [data-theme="light"] .timeline-item:hover .tl-body,
    [data-theme="light"] .ach-card:hover,
    [data-theme="light"] .phil-card:hover,
    [data-theme="light"] .contact-link:hover,
    [data-theme="light"] .currently-box:hover {
      background: rgba(255, 255, 255, 0.9);
      border-color: rgba(68, 111, 22, 0.22);
      box-shadow: 0 20px 40px rgba(86, 69, 37, 0.1);
    }

    [data-theme="light"] .info-row:hover,
    [data-theme="light"] .report-row:hover,
    [data-theme="light"] .currently-item:hover {
      background: rgba(68, 111, 22, 0.045);
    }

    [data-theme="light"] .currently-header,
    [data-theme="light"] .report-row-total {
      background: rgba(68, 111, 22, 0.08);
    }

    [data-theme="light"] .social-btn,
    [data-theme="light"] .tag,
    [data-theme="light"] .proj-toggle,
    [data-theme="light"] .tl-tag,
    [data-theme="light"] .proj-link,
    [data-theme="light"] .footer-back {
      background: rgba(255, 255, 255, 0.58);
      border-color: rgba(57, 45, 24, 0.12);
    }

    [data-theme="light"] .social-btn:hover {
      background: rgba(68, 111, 22, 0.09);
      border-color: rgba(68, 111, 22, 0.28);
      color: var(--accent2);
      box-shadow: 0 10px 18px rgba(86, 69, 37, 0.1);
    }

    [data-theme="light"] .contact-link:hover {
      background: linear-gradient(135deg, rgba(68, 111, 22, 0.1) 0%, rgba(255, 255, 255, 0.96) 100%);
      border-color: rgba(68, 111, 22, 0.3);
      box-shadow: 0 18px 32px rgba(86, 69, 37, 0.12);
    }

    [data-theme="light"] .contact-link:hover .cl-icon,
    [data-theme="light"] .contact-link:hover .cl-value {
      color: var(--accent2);
    }

    [data-theme="light"] .contact-link:hover .cl-label {
      color: rgba(68, 111, 22, 0.75);
    }

    [data-theme="light"] .tag.highlight {
      background: rgba(68, 111, 22, 0.08);
    }

    [data-theme="light"] .proj-private-note {
      background: rgba(68, 111, 22, 0.08);
      border-color: rgba(68, 111, 22, 0.22);
      color: var(--accent2);
    }

    [data-theme="light"] .proj-img {
      border-color: rgba(57, 45, 24, 0.12);
      filter: grayscale(18%) saturate(0.96) brightness(0.98);
      box-shadow: 0 12px 28px rgba(86, 69, 37, 0.08);
    }

    [data-theme="light"] .proj-card:hover .proj-img {
      border-color: rgba(68, 111, 22, 0.24);
      box-shadow: 0 18px 30px rgba(86, 69, 37, 0.12);
    }

    [data-theme="light"] .proj-detail-inner {
      border-top-color: rgba(57, 45, 24, 0.08);
    }

    [data-theme="light"] .case-block h4 {
      border-bottom-color: rgba(57, 45, 24, 0.08);
    }

    [data-theme="light"] footer {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(68, 111, 22, 0.08) 100%);
    }

    /* ===== MOBILE ===== */
    @media (max-width: 768px) {
      #navbar,
      #navbar.scrolled {
        height: 60px;
        padding: 0 1rem;
      }

      .nav-logo {
        max-width: 176px;
        padding-left: 0.72rem;
      }

      .nav-logo::before {
        height: 1.45rem;
      }

      .nav-logo-title {
        font-size: 12px;
      }

      .nav-logo-sub {
        font-size: 7.2px;
        letter-spacing: 0.16em;
      }

      .nav-links,
      .nav-resume {
        display: none;
      }

      .nav-actions {
        gap: 0.75rem;
      }

      .nav-hamburger {
        display: inline-flex;
        width: 40px;
        height: 40px;
        border-radius: 11px;
      }

      #hero {
        min-height: auto;
        padding: 94px 1rem 2.5rem;
      }

      .hero-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.75rem;
      }

      .hero-text-content {
        max-width: none;
        align-items: flex-start;
        text-align: left;
      }

      .hero-image-wrap {
        flex: none;
        width: min(72vw, 280px);
        max-width: 280px;
        order: 0;
        margin: 0 auto;
      }

      .hero-image-wrap img {
        max-height: 320px;
        object-fit: cover;
        object-position: top;
      }

      .hero-image-wrap > div:last-child {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
      }

      .hero-eyebrow {
        margin-bottom: 1rem;
        font-size: 12px;
        letter-spacing: 0.14em;
      }

      .status-pulse {
        font-size: 11px;
        padding: 4px 10px;
      }

      .hero-name {
        font-size: clamp(3rem, 14vw, 4.8rem);
        line-height: 0.96;
        margin-bottom: 1rem;
      }

      .hero-tagline {
        max-width: none;
        font-size: 1rem;
        margin-bottom: 1.25rem;
      }

      .typewriter-wrap {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 1.25rem;
      }

      .hero-actions {
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 1.4rem !important;
      }

      .hero-actions .btn-primary,
      .hero-actions .btn-outline {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 13px 16px;
        font-size: 13px;
      }

      .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        padding-top: 1rem;
      }

      .hero-stat {
        min-width: 0;
        padding: 0.95rem 0.9rem;
      }

      .hero-stat:last-child {
        grid-column: 1 / -1;
      }

      .stat-num {
        font-size: 2.1rem;
      }

      .hero-roles {
        font-size: 12px;
        letter-spacing: 0.16em;
        height: 20px;
      }

      .hero-role-actions {
        gap: 0.6rem;
      }

      .hero-role-badge {
        gap: 7px;
        padding: 6px 8px 6px 9px;
      }

      .hero-role {
        height: 20px;
        line-height: 20px;
      }

      .hero-voice-btn {
        min-height: 40px;
        padding: 0.28rem 0.72rem 0.28rem 0.32rem;
      }

      .hero-voice-icon {
        width: 30px;
        height: 30px;
      }

      .hero-voice-label {
        font-size: 9px;
      }

      .hero-voice-sub {
        font-size: 11px;
      }

      .scroll-hint {
        display: none;
      }

      .marquee-section {
        padding: 10px 0;
      }

      .marquee-item {
        gap: 10px;
        padding: 0 1.25rem;
        font-size: 11px;
      }

      .marquee-item .dot {
        font-size: 18px;
      }

      .section,
      .section-full {
        padding: 4.5rem 1rem;
      }

      .sec-num-big {
        font-size: 4.4rem;
        margin-bottom: -0.5rem;
      }

      .sec-label {
        margin-bottom: 0.75rem;
      }

      .sec-title {
        margin-bottom: 2rem;
      }

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

      .about-sidebar {
        position: static;
        top: auto;
      }

      .about-story p {
        font-size: 1rem;
        line-height: 1.75;
      }

      .quote-block {
        margin: 1.75rem 0;
        padding: 1rem 1rem 1rem 1.2rem;
        font-size: 1rem;
      }

      .profile-card,
      .info-block,
      .skill-cat,
      .proj-card,
      .ach-card,
      .phil-card,
      .currently-box,
      .resume-block {
        border-radius: 14px;
      }

      .profile-card {
        padding: 1.35rem;
      }

      .profile-avatar {
        width: 72px;
        height: 72px;
      }

      .social-row {
        flex-wrap: wrap;
      }

      .social-btn {
        flex: 1 1 calc(50% - 8px);
        padding: 8px 10px;
        text-align: center;
      }

      .info-row {
        padding: 12px 14px;
      }

      .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.75rem;
      }

      .skill-cat {
        padding: 1.25rem;
      }

      .skill-bars {
        grid-template-columns: 1fr;
        row-gap: 0.85rem;
        column-gap: 0;
        margin-top: 2.5rem !important;
      }

      .skill-bar-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.45rem 0.75rem;
        padding: 0.85rem 0.9rem;
        border-radius: 16px;
      }

      .skill-bar-row:hover {
        transform: none;
      }

      .skill-bar-label {
        min-width: 0;
        grid-column: 1;
        font-size: 12.5px;
      }

      .skill-bar-track {
        grid-column: 1 / -1;
        width: 100%;
      }

      .skill-bar-pct {
        min-width: 0;
        grid-column: 2;
        font-size: 12px;
        padding: 0.3rem 0.5rem;
      }

      .projects-grid {
        gap: 1rem;
      }

      .proj-summary {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1.1rem;
      }

      .proj-img,
      .empty-img {
        width: 100%;
        height: clamp(160px, 46vw, 200px);
        border-radius: 8px;
      }

      .proj-title {
        font-size: 1.2rem;
        line-height: 1.15;
      }

      .proj-oneliner {
        max-width: none;
        font-size: 0.95rem;
      }

      .proj-meta {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
      }

      .proj-toggle {
        width: 100%;
        min-height: 42px;
        margin-top: 0;
      }

      .proj-meta .proj-links {
        margin-top: 0;
      }

      .proj-detail-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1.1rem 1.25rem;
        padding-top: 1.25rem;
      }

      .case-block {
        padding: 1rem;
      }

      .case-block p,
      .case-block li {
        font-size: 14.5px;
      }

      .proj-links {
        flex-direction: column;
        gap: 0.75rem;
      }

      .proj-link {
        width: 100%;
        padding: 10px 14px;
        text-align: center;
      }

      .timeline {
        gap: 0.25rem;
      }

      .timeline::before {
        left: 0.55rem;
        top: 1rem;
        bottom: 1rem;
      }

      .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        padding: 0.75rem 0 0.75rem 2rem;
      }

      .timeline-item::before {
        left: 0.55rem;
        top: 1.45rem;
        width: 12px;
        height: 12px;
      }

      .tl-year {
        text-align: left;
        padding-top: 0;
        font-size: 11px;
        letter-spacing: 0.14em;
        color: var(--accent);
      }

      .tl-body {
        padding: 1.1rem;
      }

      .tl-role {
        font-size: 1.12rem;
        line-height: 1.2;
      }

      .tl-org {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: 0.08em;
      }

      .tl-desc {
        font-size: 0.95rem;
      }

      .hack-header {
        flex-direction: column;
        gap: 0.75rem;
      }

      .hack-toggle {
        width: 100%;
        margin-top: 0;
        padding: 9px 12px;
        font-size: 11px;
      }

      .hack-entry {
        padding-left: 0.85rem;
      }

      .report-trigger,
      .report-panel {
        width: 100%;
      }

      .report-trigger {
        padding: 0.85rem 0.9rem;
        font-size: 11px;
      }

      .ach-grid,
      .phil-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .ach-card,
      .phil-card {
        padding: 1.5rem 1.2rem;
      }

      .ach-icon,
      .phil-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
        font-size: 1.6rem;
      }

      .ach-title,
      .phil-title {
        font-size: 1.18rem;
      }

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

      .contact-headline {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
      }

      .contact-sub {
        max-width: none;
        font-size: 1rem;
      }

      .contact-link {
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
      }

      .cl-value {
        font-size: 14px;
        overflow-wrap: anywhere;
      }

      .currently-item {
        padding: 12px 14px;
        font-size: 15px;
      }

      .resume-block {
        padding: 1.4rem;
      }

      footer {
        flex-direction: column;
        gap: 1rem;
        padding: 2.5rem 1rem calc(1.75rem + env(safe-area-inset-bottom));
        text-align: center;
      }

      .footer-copy {
        order: 3;
        font-size: 12px;
      }

      .footer-back {
        width: 100%;
        justify-content: center;
      }

      #mobile-menu {
        padding: calc(76px + env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom));
        gap: 0.35rem;
      }

      #mobile-menu a {
        font-size: clamp(1.5rem, 8vw, 2rem);
        padding: 0.85rem 0;
      }

      #back-top {
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        width: 38px;
        height: 38px;
      }

      #visitor-badge {
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: calc(12px + env(safe-area-inset-left));
      }

      body {
        cursor: auto;
      }

      #cursor-dot,
      #cursor-ring {
        display: none;
      }
    }

    @media (max-width: 480px) {
      #navbar,
      #navbar.scrolled {
        padding: 0 0.85rem;
      }

      .nav-logo {
        max-width: 150px;
        padding-left: 0.62rem;
      }

      .nav-hamburger {
        width: 38px;
        height: 38px;
        border-radius: 10px;
      }

      .nav-hamburger span {
        width: 16px;
      }

      .nav-logo-title {
        font-size: 10.8px;
      }

      .nav-logo-sub {
        font-size: 6.7px;
        letter-spacing: 0.14em;
      }

      .nav-logo::before {
        height: 1.25rem;
      }

      .hero-name {
        font-size: clamp(2.6rem, 15vw, 4rem);
      }

      .hero-stats {
        grid-template-columns: 1fr;
      }

      .hero-stat:last-child {
        grid-column: auto;
      }

      .stat-num {
        font-size: 1.9rem;
      }

      .social-btn {
        flex-basis: 100%;
      }

      .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
      }

      .info-val {
        text-align: left;
      }

      .proj-summary {
        padding: 1rem;
      }

      .proj-img,
      .empty-img {
        height: 160px;
      }

      .proj-title {
        font-size: 1.15rem;
      }

      .timeline-item {
        padding-left: 1.8rem;
      }

      .tl-role {
        font-size: 1rem;
      }

      .contact-links-list {
        gap: 6px;
      }

      .resume-block {
        padding: 1.25rem;
      }

      .sec-num-big {
        font-size: 4rem;
      }

      .sec-title {
        font-size: clamp(1.6rem, 8vw, 2.15rem);
      }
    }

    /* ===== MOBILE NAV MENU ===== */
    body.menu-open {
      overflow: hidden;
    }

    #mobile-menu {
      display: flex;
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(11, 11, 11, 0.62);
      backdrop-filter: blur(18px) saturate(150%);
      -webkit-backdrop-filter: blur(18px) saturate(150%);
      padding: 80px 2rem 2rem;
      flex-direction: column;
      gap: 1rem;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-12px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }

    #mobile-menu.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: none;
      transition-delay: 0s;
    }

    [data-theme="light"] #mobile-menu {
      background: rgba(245, 244, 240, 0.72);
    }

    #mobile-menu a {
      font-family: var(--display);
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text);
      padding: 0.5rem 0;
      border-bottom: 0.5px solid var(--border);
      transition: color 0.2s;
    }

    #mobile-menu a:hover {
      color: var(--accent);
    }

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

    .grid-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.025;
      background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 80px 80px;
    }

    .accent-glow {
      position: absolute;
      top: 20%;
      right: 5%;
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(184, 255, 60, 0.06) 0%, transparent 70%);
      pointer-events: none;
    }

    .back-to-top-visible {
      opacity: 1 !important;
      pointer-events: all !important;
    }

    #back-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 900;
      width: 40px;
      height: 40px;
      background: var(--bg2);
      border: 0.5px solid var(--border2);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--mono);
      font-size: 17.5px;
      color: var(--muted);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, color 0.2s, border-color 0.2s;
      cursor: none;
    }

    #back-top:hover {
      color: var(--accent);
      border-color: var(--accent);
    }

    /* ===== SHOW MORE / SHOW LESS PROJECTS ===== */
    .proj-card.proj-hidden {
      display: none;
    }

    .projects-actions {
      margin-top: 2.75rem;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    .project-cta {
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      padding: 1.1rem 1.2rem;
      border: 1px solid var(--border2);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.02);
      color: var(--text);
      text-align: left;
      transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
      cursor: none;
    }

    .project-cta:hover {
      border-color: rgba(184, 255, 60, 0.35);
      background: rgba(255, 255, 255, 0.045);
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    }

    .project-cta-primary {
      background: linear-gradient(135deg, rgba(184, 255, 60, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
      border-color: rgba(184, 255, 60, 0.22);
    }

    .project-cta-kicker {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .project-cta-title {
      font-family: var(--display);
      font-size: 1.18rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    [data-theme="light"] .project-cta {
      background: rgba(255, 255, 255, 0.76);
      border-color: rgba(0, 0, 0, 0.1);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    }

    [data-theme="light"] .project-cta:hover {
      border-color: rgba(61, 133, 0, 0.3);
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 12px 26px rgba(61, 133, 0, 0.08);
    }

    [data-theme="light"] .project-cta-primary {
      background: linear-gradient(135deg, rgba(61, 133, 0, 0.09) 0%, rgba(255, 255, 255, 0.86) 100%);
      border-color: rgba(61, 133, 0, 0.18);
    }

    /* ===== VISITOR BADGE ===== */
    #visitor-badge {
      position: fixed;
      bottom: 24px;
      left: 24px;
      z-index: 890;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px;
      background: rgba(15, 15, 15, 0.7);
      backdrop-filter: blur(12px) saturate(180%);
      -webkit-backdrop-filter: blur(12px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: rgba(255, 255, 255, 0.6);
      font-family: var(--mono);
      font-size: 13px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
      opacity: 1;
      transform: none;
    }

    #visitor-badge.visible {
      opacity: 1;
      transform: translateY(0);
    }

    #visitor-badge:hover {
      background: rgba(20, 20, 20, 0.85);
      border-color: rgba(184, 255, 60, 0.3);
      color: var(--text);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(184, 255, 60, 0.1);
    }

    .badge-icon {
      color: var(--accent);
      font-size: 14px;
      display: flex;
      align-items: center;
    }

    #badge-count {
      font-weight: 700;
      color: var(--text);
      letter-spacing: 0.05em;
    }

    #visitor-badge[data-state="loading"] #badge-count {
      opacity: 0.7;
    }

    #visitor-badge[data-state="offline"] {
      border-color: rgba(255, 255, 255, 0.16);
    }

    .badge-label {
      opacity: 0.7;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    [data-theme="light"] #visitor-badge {
      background: rgba(255, 255, 255, 0.7);
      border-color: rgba(0, 0, 0, 0.1);
      color: #666;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    [data-theme="light"] #badge-count {
      color: #111;
    }

    @media (max-width: 768px) {
      .projects-actions {
        grid-template-columns: 1fr;
        gap: 0.85rem;
      }

      .project-cta {
        padding: 1rem 1.05rem;
      }

      .project-cta-title {
        font-size: 1.05rem;
      }

      #visitor-badge {
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: calc(12px + env(safe-area-inset-left));
        padding: 6px 12px;
        font-size: 12px;
      }
    }
