*, 
    *::before,
    *::after {
      box-sizing: border-box;
    }
    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      color: #fff;
    }
    #bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      z-index: -2;
      transition: filter 0.55s ease, transform 0.55s ease;
    }
    #overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
      transition: background 0.55s ease;
    }
    .content {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      text-align: center;
      padding: 60px 20px 20px 20px;
      perspective: 2200px;
      gap: 0.75rem;
      transition: opacity 0.55s ease, filter 0.55s ease, transform 0.55s ease;
    }
    body.loader-active {
      overflow: hidden;
    }
    body.loader-active #bg-video {
      filter: saturate(0.56) brightness(0.36) blur(4px);
      transform: scale(1.03);
    }
    body.loader-active #overlay {
      background: rgba(1, 7, 12, 0.78);
    }
    body.loader-active .content {
      opacity: 0.14;
      filter: blur(18px);
      transform: scale(1.02);
      pointer-events: none;
      user-select: none;
    }
    .portfolio-loader {
      --loader-progress: 0.02;
      position: fixed;
      inset: 0;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(1rem, 2vw, 2rem);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.55s ease, visibility 0.55s ease;
    }
    body.loader-active .portfolio-loader {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .portfolio-loader__backdrop,
    .portfolio-loader__shell {
      position: relative;
      width: min(1120px, 100%);
    }
    .portfolio-loader__backdrop {
      position: absolute;
      inset: 0;
      width: auto;
      border-radius: 32px;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 18%, rgba(82, 234, 255, 0.12), transparent 28%),
        radial-gradient(circle at 82% 28%, rgba(56, 213, 234, 0.14), transparent 24%),
        linear-gradient(145deg, rgba(4, 12, 20, 0.94), rgba(3, 9, 16, 0.92));
      border: 1px solid rgba(137, 234, 255, 0.08);
      box-shadow: 0 35px 100px rgba(0, 0, 0, 0.56), inset 0 0 80px rgba(81, 231, 255, 0.05);
    }
    .loader-grid,
    .loader-scanlines,
    .loader-glow {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .loader-grid {
      background-image:
        linear-gradient(rgba(133, 233, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 233, 255, 0.08) 1px, transparent 1px);
      background-size: 32px 32px;
      mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 90%);
      opacity: 0.24;
    }
    .loader-scanlines {
      background: repeating-linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.045) 0,
        rgba(255, 255, 255, 0.045) 1px,
        transparent 1px,
        transparent 6px
      );
      mix-blend-mode: screen;
      opacity: 0.22;
    }
    .loader-glow {
      filter: blur(32px);
      opacity: 0.6;
    }
    .loader-glow-a {
      background: radial-gradient(circle, rgba(116, 242, 255, 0.2), transparent 65%);
      transform: translate(-18%, -12%);
    }
    .loader-glow-b {
      background: radial-gradient(circle, rgba(61, 213, 233, 0.18), transparent 62%);
      transform: translate(24%, 14%);
    }
    .portfolio-loader.is-running .loader-scanlines {
      animation: loaderScanlineDrift 7s linear infinite;
    }
    .portfolio-loader.is-running .loader-glow-a {
      animation: loaderGlowDrift 6s ease-in-out infinite alternate;
    }
    .portfolio-loader.is-running .loader-glow-b {
      animation: loaderGlowDrift 7.5s ease-in-out infinite alternate-reverse;
    }
    .portfolio-loader__shell {
      padding: clamp(1.2rem, 2.6vw, 2rem);
      border-radius: 32px;
      overflow: hidden;
      background: linear-gradient(160deg, rgba(8, 15, 24, 0.78), rgba(4, 10, 18, 0.66));
      backdrop-filter: blur(20px);
      border: 1px solid rgba(132, 233, 255, 0.15);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }
    .portfolio-loader__meta,
    .portfolio-loader__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .portfolio-loader__meta {
      margin-bottom: 1.2rem;
    }
    .loader-tag,
    .loader-style-indicator,
    .loader-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-size: 0.72rem;
      font-weight: 700;
    }
    .loader-tag {
      padding: 0.45rem 0.85rem;
      color: rgba(206, 248, 255, 0.92);
      background: rgba(9, 23, 36, 0.64);
      border: 1px solid rgba(122, 237, 255, 0.22);
    }
    .loader-style-indicator {
      padding: 0.45rem 0.9rem;
      color: rgba(255, 255, 255, 0.92);
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .loader-variants {
      position: relative;
      min-height: clamp(22rem, 44vw, 29rem);
    }
    .loader-variant {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: stretch;
      opacity: 0;
      transform: translateY(18px) scale(0.985);
      transition: opacity 0.4s ease, transform 0.48s ease;
      pointer-events: none;
    }
    .portfolio-loader[data-loader-style="boot"] [data-loader-panel="boot"],
    .portfolio-loader[data-loader-style="hud"] [data-loader-panel="hud"],
    .portfolio-loader[data-loader-style="reveal"] [data-loader-panel="reveal"] {
      opacity: 1;
      transform: none;
      pointer-events: auto;
    }
    .loader-boot-layout,
    .loader-hud-layout,
    .loader-reveal-layout {
      width: 100%;
      height: 100%;
    }
    .loader-boot-layout,
    .loader-hud-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
      gap: clamp(1.2rem, 3vw, 2rem);
    }
    .loader-copy,
    .loader-terminal,
    .loader-reveal-layout {
      align-self: center;
    }
    .loader-copy,
    .loader-terminal {
      text-align: left;
      max-width: 30rem;
    }
    .loader-overline {
      margin: 0 0 0.75rem;
      color: rgba(142, 239, 255, 0.92);
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 0.76rem;
      font-weight: 700;
    }
    .loader-copy h2,
    .loader-terminal h2,
    .loader-reveal-layout h2 {
      margin: 0 0 0.8rem;
      font-size: clamp(2rem, 4vw, 3.15rem);
      line-height: 0.98;
      letter-spacing: -0.04em;
      color: rgba(247, 252, 255, 0.98);
      text-wrap: balance;
    }
    .loader-caption {
      margin: 0;
      max-width: 34rem;
      font-size: 1rem;
      line-height: 1.7;
      color: rgba(214, 243, 248, 0.76);
    }
    .loader-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-top: 1.15rem;
    }
    .loader-chip {
      padding: 0.45rem 0.75rem;
      color: rgba(219, 250, 255, 0.9);
      background: rgba(103, 238, 255, 0.08);
      border: 1px solid rgba(103, 238, 255, 0.18);
    }
    .loader-boot-scene {
      position: relative;
      min-height: 22rem;
      perspective: 1800px;
    }
    .loader-shot {
      position: absolute;
      overflow: hidden;
      border-radius: 22px;
      background: linear-gradient(155deg, rgba(8, 16, 26, 0.92), rgba(7, 13, 22, 0.82));
      border: 1px solid rgba(128, 233, 255, 0.18);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
      transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
    }
    .loader-shot-main {
      inset: 1rem 4.4rem 5.25rem 0.2rem;
      transform: translate3d(-3rem, 2rem, 0) rotateY(11deg) rotateX(-6deg);
      opacity: 0.54;
    }
    .loader-shot-side {
      top: 0.8rem;
      right: 0.2rem;
      width: 12.8rem;
      height: 57%;
      transform: translate3d(2.2rem, -1.25rem, 0) rotateY(-12deg);
      opacity: 0.48;
    }
    .loader-shot-bottom {
      left: 4.6rem;
      right: 1.4rem;
      bottom: 0.45rem;
      height: 7rem;
      transform: translate3d(0, 2.4rem, 0) rotateX(9deg);
      opacity: 0.48;
    }
    .portfolio-loader.is-running[data-loader-style="boot"] [data-loader-panel="boot"] .loader-shot-main {
      transform: translate3d(0, 0, 0) rotateY(-4deg) rotateX(3deg);
      opacity: 0.96;
    }
    .portfolio-loader.is-running[data-loader-style="boot"] [data-loader-panel="boot"] .loader-shot-side {
      transform: translate3d(0, 0, 0) rotateY(5deg);
      opacity: 0.9;
    }
    .portfolio-loader.is-running[data-loader-style="boot"] [data-loader-panel="boot"] .loader-shot-bottom {
      transform: translate3d(0, 0, 0) rotateX(-2deg);
      opacity: 0.9;
    }
    .loader-shot-bar {
      display: flex;
      align-items: center;
      gap: 0.42rem;
      padding: 0.7rem 0.95rem;
      border-bottom: 1px solid rgba(130, 232, 255, 0.1);
      background: rgba(255, 255, 255, 0.03);
    }
    .loader-shot-dot {
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: rgba(139, 237, 255, 0.55);
      box-shadow: 0 0 10px rgba(139, 237, 255, 0.36);
    }
    .loader-shot-title {
      margin-left: 0.3rem;
      color: rgba(207, 249, 255, 0.72);
      font-size: 0.76rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .loader-shot-screen {
      display: grid;
      gap: 0.85rem;
      padding: 1rem;
    }
    .loader-shot-row,
    .loader-shot-cell {
      display: block;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(92, 231, 255, 0.18), rgba(255, 255, 255, 0.06));
      border: 1px solid rgba(129, 233, 255, 0.08);
      height: 0.7rem;
    }
    .loader-shot-row-wide {
      width: 88%;
    }
    .loader-shot-row-short {
      width: 62%;
    }
    .loader-shot-screen-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.7rem;
    }
    .loader-shot-cell {
      height: 2.4rem;
      border-radius: 14px;
    }
    .loader-shot-scope {
      position: absolute;
      right: 1.4rem;
      bottom: 1.2rem;
      width: 7.2rem;
      height: 7.2rem;
      border-radius: 50%;
      display: grid;
      place-items: center;
    }
    .loader-shot-scope-ring,
    .loader-shot-scope-core {
      position: absolute;
      border-radius: 50%;
    }
    .loader-shot-scope-ring {
      inset: 0;
      border: 1px solid rgba(125, 236, 255, 0.3);
      box-shadow: inset 0 0 30px rgba(105, 237, 255, 0.08);
    }
    .loader-shot-scope-ring-inner {
      inset: 1rem;
      border-style: dashed;
      animation: loaderSpin 5.2s linear infinite;
    }
    .loader-shot-scope-core {
      inset: 2.6rem;
      background: radial-gradient(circle, rgba(243, 254, 255, 0.95), rgba(94, 233, 255, 0.32));
      box-shadow: 0 0 18px rgba(134, 239, 255, 0.45);
    }
    .loader-terminal-window {
      display: grid;
      gap: 0.65rem;
      margin-top: 1.1rem;
      padding: 1.1rem 1rem;
      border-radius: 22px;
      background: linear-gradient(165deg, rgba(7, 15, 24, 0.92), rgba(4, 9, 17, 0.86));
      border: 1px solid rgba(124, 235, 255, 0.16);
      box-shadow: inset 0 0 30px rgba(111, 239, 255, 0.04);
      overflow: hidden;
    }
    .loader-terminal-line {
      display: block;
      position: relative;
      padding-left: 1.2rem;
      color: rgba(214, 250, 255, 0.82);
      font-family: "Consolas", "Cascadia Code", "Segoe UI Mono", monospace;
      font-size: 0.95rem;
      line-height: 1.55;
      opacity: 0.2;
      transform: translateY(8px);
      transition: opacity 0.45s ease, transform 0.55s ease;
    }
    .loader-terminal-line::before {
      content: ">";
      position: absolute;
      left: 0;
      color: rgba(135, 240, 255, 0.9);
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line {
      opacity: 1;
      transform: none;
      animation: loaderTerminalBlink 2.4s steps(2, end) infinite;
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line:nth-child(1) { transition-delay: 0.08s; animation-delay: 0s; }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line:nth-child(2) { transition-delay: 0.18s; animation-delay: 0.15s; }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line:nth-child(3) { transition-delay: 0.28s; animation-delay: 0.3s; }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line:nth-child(4) { transition-delay: 0.38s; animation-delay: 0.45s; }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-terminal-line:nth-child(5) { transition-delay: 0.48s; animation-delay: 0.6s; }
    .loader-radar {
      position: relative;
      align-self: center;
      justify-self: center;
      width: min(23rem, 100%);
      aspect-ratio: 1;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: radial-gradient(circle, rgba(82, 234, 255, 0.1), rgba(4, 11, 18, 0.16) 56%, transparent 70%);
    }
    .loader-radar-ring,
    .loader-radar-sweep,
    .loader-radar-crosshair,
    .loader-radar-core {
      position: absolute;
      border-radius: 50%;
    }
    .loader-radar-ring {
      inset: 0;
      border: 1px solid rgba(134, 238, 255, 0.2);
      opacity: 0.44;
      transition: transform 0.7s ease, opacity 0.7s ease;
    }
    .loader-radar-ring-mid {
      inset: 2rem;
      border-style: dashed;
    }
    .loader-radar-ring-inner {
      inset: 4.5rem;
    }
    .loader-radar-sweep {
      inset: 0;
      background: conic-gradient(from 90deg, rgba(106, 237, 255, 0.28), transparent 26%, transparent 100%);
      mask-image: radial-gradient(circle, transparent 34%, rgba(255, 255, 255, 0.95) 36%, rgba(255, 255, 255, 0.95) 100%);
      opacity: 0.9;
      transform: rotate(0deg);
    }
    .loader-radar-crosshair {
      inset: 2.1rem;
      border: 1px solid rgba(125, 236, 255, 0.1);
      box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 0 0 999px transparent;
    }
    .loader-radar-crosshair::before,
    .loader-radar-crosshair::after {
      content: "";
      position: absolute;
      background: rgba(133, 236, 255, 0.18);
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    .loader-radar-crosshair::before {
      width: 1px;
      height: calc(100% + 3rem);
    }
    .loader-radar-crosshair::after {
      width: calc(100% + 3rem);
      height: 1px;
    }
    .loader-radar-core {
      inset: calc(50% - 0.65rem);
      width: 1.3rem;
      height: 1.3rem;
      background: radial-gradient(circle, rgba(250, 254, 255, 0.96), rgba(101, 234, 255, 0.24));
      box-shadow: 0 0 18px rgba(124, 237, 255, 0.52);
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-radar-ring-outer {
      transform: scale(1.02);
      animation: loaderPulseRing 3.6s ease-in-out infinite;
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-radar-ring-mid {
      animation: loaderSpin 6.4s linear infinite reverse;
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-radar-ring-inner {
      animation: loaderPulseRing 2.4s ease-in-out infinite reverse;
    }
    .portfolio-loader.is-running[data-loader-style="hud"] [data-loader-panel="hud"] .loader-radar-sweep {
      animation: loaderSpin 2.6s linear infinite;
    }
    .loader-reveal-layout {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 1rem;
    }
    .loader-reveal-layout .loader-caption {
      max-width: 38rem;
      text-align: center;
    }
    .loader-name-stage {
      position: relative;
      display: grid;
      place-items: center;
      width: min(100%, 58rem);
      min-height: clamp(8.5rem, 18vw, 13rem);
      padding: 1rem 1.5rem;
      overflow: hidden;
      border-radius: 2.75rem;
      isolation: isolate;
    }
    .loader-name-outline,
    .loader-name-solid {
      grid-area: 1 / 1;
      font-size: clamp(3rem, 9vw, 7rem);
      font-weight: 800;
      line-height: 0.94;
      letter-spacing: -0.06em;
      white-space: nowrap;
    }
    .loader-name-outline {
      color: transparent;
      -webkit-text-stroke: 1px rgba(123, 237, 255, 0.42);
      text-shadow: 0 0 28px rgba(92, 232, 255, 0.08);
      opacity: 0.7;
    }
    .loader-name-solid {
      color: rgba(248, 253, 255, 0.98);
      text-shadow: 0 0 24px rgba(126, 237, 255, 0.26), 0 12px 26px rgba(4, 13, 21, 0.28);
      clip-path: inset(0 100% 0 0);
      transition: clip-path 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .loader-name-scan,
    .loader-name-halo {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .loader-name-scan {
      width: 18%;
      left: -22%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.88), rgba(118, 238, 255, 0.42), transparent);
      mix-blend-mode: screen;
      filter: blur(2px);
      opacity: 0.86;
      transform: skewX(-12deg);
    }
    .loader-name-halo {
      inset: 8% 18%;
      border-radius: 999px;
      border: 1px solid rgba(133, 236, 255, 0.18);
      box-shadow: 0 0 40px rgba(101, 234, 255, 0.14), inset 0 0 30px rgba(104, 238, 255, 0.08);
      opacity: 0.32;
      transform: scale(0.94);
      transition: transform 0.75s ease, opacity 0.75s ease;
    }
    .portfolio-loader.is-running[data-loader-style="reveal"] [data-loader-panel="reveal"] .loader-name-solid {
      clip-path: inset(0 0 0 0);
    }
    .portfolio-loader.is-running[data-loader-style="reveal"] [data-loader-panel="reveal"] .loader-name-scan {
      animation: loaderNameScan 1.9s cubic-bezier(0.19, 1, 0.22, 1) infinite;
    }
    .portfolio-loader.is-running[data-loader-style="reveal"] [data-loader-panel="reveal"] .loader-name-halo {
      transform: scale(1);
      opacity: 0.62;
      animation: loaderPulseRing 2.8s ease-in-out infinite;
    }
    .portfolio-loader__footer {
      margin-top: 1.3rem;
      flex-direction: column;
      align-items: stretch;
    }
    .loader-progress-track {
      width: 100%;
      height: 0.45rem;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(131, 234, 255, 0.12);
      box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.26);
    }
    .loader-progress-bar {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(96, 233, 255, 0.35), rgba(255, 255, 255, 0.98), rgba(102, 234, 255, 0.4));
      box-shadow: 0 0 20px rgba(117, 238, 255, 0.24);
      transform-origin: left center;
      transform: scaleX(var(--loader-progress));
      transition: transform 0.32s ease;
    }
    .portfolio-loader.is-running .loader-progress-bar {
      animation: loaderProgressPulse 1.4s ease-in-out infinite;
    }
    .loader-status {
      margin: 0;
      color: rgba(219, 248, 255, 0.8);
      font-size: 0.92rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .loader-lab {
      position: fixed;
      right: 1rem;
      bottom: 1rem;
      z-index: 12;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      width: min(26rem, calc(100vw - 2rem));
      padding: 1rem;
      border-radius: 22px;
      background: rgba(6, 13, 20, 0.72);
      border: 1px solid rgba(129, 234, 255, 0.14);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(18px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    body.loader-active .loader-lab {
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none;
    }
    .loader-lab__label {
      color: rgba(214, 247, 255, 0.78);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }
    .loader-lab__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }
    .loader-lab__button {
      border: 1px solid rgba(134, 236, 255, 0.16);
      background: rgba(255, 255, 255, 0.05);
      color: rgba(241, 252, 255, 0.86);
      border-radius: 999px;
      padding: 0.55rem 0.85rem;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    }
    .loader-lab__button:hover {
      transform: translateY(-1px);
      border-color: rgba(138, 232, 255, 0.34);
      color: rgba(255, 255, 255, 0.98);
    }
    .loader-lab__button[aria-pressed="true"] {
      background: linear-gradient(135deg, rgba(20, 45, 69, 0.9), rgba(8, 21, 36, 0.92));
      border-color: rgba(138, 232, 255, 0.48);
      color: rgba(255, 255, 255, 0.98);
      box-shadow: inset 0 0 14px rgba(107, 235, 255, 0.16);
    }
    .loader-lab__button--ghost {
      margin-left: auto;
      background: transparent;
    }
    h1 {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 1rem;
    }
    .hero-name {
      position: relative;
      display: grid;
      place-items: center;
      width: min(820px, 100%);
      margin: 0 0 0.55rem;
      transform-style: preserve-3d;
      perspective: 1600px;
      isolation: isolate;
      --name-rotate-x: 0deg;
      --name-rotate-y: 0deg;
      --name-depth: 0px;
      --name-float-y: 0px;
    }
    .hero-section #heroNameSvg,
    .hero-section .hero-variant-switcher {
      display: none;
    }
    .hero-name-display {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.18em;
      width: auto;
      max-width: 100%;
      min-height: clamp(4.75rem, 12vw, 7rem);
      padding: 0.04em 0.04em 0.16em;
      overflow: hidden;
      isolation: isolate;
      --hero-terminal-size: clamp(3.2rem, 8.8vw, 5.7rem);
      font-family: "Cascadia Code", "Consolas", "Segoe UI Mono", monospace;
      text-shadow: 0 10px 26px rgba(8, 18, 30, 0.34);
    }
    .hero-name-terminal {
      white-space: nowrap;
    }
    .hero-name-prompt,
    .hero-name-typed,
    .hero-name-word-text {
      display: inline-block;
      line-height: 0.96;
      font-weight: 700;
      letter-spacing: -0.04em;
    }
    .hero-name-prompt {
      font-size: calc(var(--hero-terminal-size) * 0.72);
      color: #78efff;
      text-shadow: 0 0 18px rgba(120, 239, 255, 0.28);
      transform: translateY(-0.01em);
    }
    .hero-name-typed {
      position: relative;
      display: inline-flex;
      align-items: flex-end;
      min-width: 0.2ch;
      gap: 0;
      padding: 0.03em 0 0.1em 0.05em;
      margin-left: -0.05em;
      font-size: var(--hero-terminal-size);
      isolation: isolate;
      --hero-name-reveal: 1;
    }
    .hero-name-typed-source {
      position: absolute;
      inset: auto;
      width: 0;
      height: 0;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      user-select: none;
      white-space: pre;
    }
    .hero-name-word {
      position: relative;
      display: inline-grid;
      align-items: center;
      min-width: 0;
      min-height: 1em;
      padding: 0.02em 0.08em 0.08em;
      isolation: isolate;
      --hero-word-reveal: 1;
      --hero-word-gap: 0em;
      --hero-word-delay: 0s;
      transition: margin-left 0.18s ease;
    }
    .hero-name-word-left {
      --hero-word-delay: -0.8s;
    }
    .hero-name-word-right {
      --hero-word-delay: -2.4s;
      margin-left: var(--hero-word-gap);
    }
    .hero-name-word[data-word-empty="true"] {
      width: 0;
      padding-left: 0;
      padding-right: 0;
      overflow: hidden;
    }
    .hero-name-word-text {
      position: relative;
      z-index: 3;
      min-width: 0.2ch;
      font-size: inherit;
      color: #f6fcff;
      text-shadow:
        0 12px 30px rgba(8, 18, 30, 0.38),
        0 0 20px rgba(118, 236, 255, 0.12);
      white-space: pre;
      animation: heroHybridCore 8.4s ease-in-out infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-text::before,
    .hero-name-word-text::after {
      content: attr(data-terminal-rendered);
      position: absolute;
      inset: 0;
      pointer-events: none;
      white-space: pre;
    }
    .hero-name-word-text::before {
      color: transparent;
      background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(191, 247, 255, 0.16) 22%, rgba(255, 255, 255, 0.96) 50%, rgba(101, 235, 255, 0.24) 70%, rgba(255, 255, 255, 0) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 15px, rgba(119, 239, 255, 0.16) 15px 16px, rgba(255, 255, 255, 0) 16px 32px);
      background-size: 210% 100%, 100% 100%;
      background-position: 130% 0, 0 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      opacity: calc(var(--hero-word-reveal) * 0.5);
      filter: drop-shadow(0 0 10px rgba(114, 238, 255, 0.16));
      mix-blend-mode: screen;
      animation: heroHybridSignal 8.2s linear infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-text::after {
      color: transparent;
      -webkit-text-stroke: 1px rgba(188, 247, 255, 0.12);
      opacity: calc(var(--hero-word-reveal) * 0.22);
      filter: drop-shadow(0 0 8px rgba(121, 241, 255, 0.1));
    }
    .hero-name-word-field,
    .hero-name-word-frame,
    .hero-name-word-scan {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .hero-name-word-field {
      z-index: 1;
      inset: 0.18em -0.02em 0.12em;
      border-radius: 0.18em;
      overflow: hidden;
      opacity: calc(var(--hero-word-reveal) * 0.34);
      animation: heroVectorField 9.6s ease-in-out infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-field::before,
    .hero-name-word-field::after {
      content: "";
      position: absolute;
      inset: 0;
    }
    .hero-name-word-field::before {
      background:
        radial-gradient(circle at 12% 66%, rgba(145, 243, 255, 0.54) 0 1.2px, transparent 1.55px),
        radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.38) 0 1px, transparent 1.3px),
        radial-gradient(circle at 72% 62%, rgba(119, 239, 255, 0.34) 0 1.1px, transparent 1.4px),
        radial-gradient(circle at 88% 38%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.25px),
        linear-gradient(90deg, rgba(103, 236, 255, 0) 0%, rgba(103, 236, 255, 0.08) 20%, rgba(255, 255, 255, 0.18) 50%, rgba(103, 236, 255, 0.08) 80%, rgba(103, 236, 255, 0) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 14px, rgba(110, 239, 255, 0.08) 14px 15px, rgba(255, 255, 255, 0) 15px 28px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 0 12px, rgba(110, 239, 255, 0.06) 12px 13px, rgba(255, 255, 255, 0) 13px 24px);
      background-size: auto, auto, auto, auto, 160% 100%, 100% 100%, 100% 100%;
      background-position: center, center, center, center, 120% 0, 0 0, 0 0;
      filter: blur(0.25px);
      animation: heroHybridSignal 12s linear infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-field::after {
      inset: 16% 6% 18%;
      background:
        linear-gradient(118deg, transparent 0 34%, rgba(108, 238, 255, 0.16) 46%, transparent 58%),
        linear-gradient(101deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 58%, transparent 68%),
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(118, 239, 255, 0.18), rgba(255, 255, 255, 0));
      opacity: 0.42;
      filter: blur(0.5px);
      transform: translateX(-6%);
      animation: heroVectorTrace 8.6s ease-in-out infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-frame {
      z-index: 2;
      inset: 0.16em -0.05em 0.1em;
      background:
        linear-gradient(90deg, rgba(108, 237, 255, 0.42), rgba(255, 255, 255, 0.9), rgba(108, 237, 255, 0)) left top / 1.1em 1px no-repeat,
        linear-gradient(180deg, rgba(108, 237, 255, 0.74), rgba(108, 237, 255, 0)) left top / 1px 0.82em no-repeat,
        linear-gradient(90deg, rgba(108, 237, 255, 0), rgba(255, 255, 255, 0.88), rgba(108, 237, 255, 0.42)) right bottom / 1.1em 1px no-repeat,
        linear-gradient(180deg, rgba(108, 237, 255, 0), rgba(108, 237, 255, 0.74)) right bottom / 1px 0.82em no-repeat,
        linear-gradient(90deg, rgba(108, 237, 255, 0), rgba(108, 237, 255, 0.16) 22%, rgba(255, 255, 255, 0.46) 50%, rgba(108, 237, 255, 0.16) 78%, rgba(108, 237, 255, 0)) center calc(100% - 0.12em) / 68% 1px no-repeat;
      opacity: calc(var(--hero-word-reveal) * 0.32);
      filter: drop-shadow(0 0 12px rgba(112, 239, 255, 0.12));
      animation: heroVectorFramePulse 6.8s ease-in-out infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-scan {
      z-index: 4;
      inset: 0.08em -0.02em 0.08em;
      mix-blend-mode: screen;
      overflow: hidden;
    }
    .hero-name-word-scan::before,
    .hero-name-word-scan::after {
      content: "";
      position: absolute;
      pointer-events: none;
    }
    .hero-name-word-scan::before {
      top: 4%;
      bottom: 8%;
      left: -16%;
      width: 14%;
      min-width: 18px;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(227, 251, 255, 0.12) 18%, rgba(255, 255, 255, 0.78) 50%, rgba(104, 239, 255, 0.22) 80%, rgba(255, 255, 255, 0));
      filter: blur(0.85px);
      opacity: calc(var(--hero-word-reveal) * 0.16);
      transform: skewX(-18deg);
      animation: heroVectorSweep 7.8s ease-in-out infinite;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-word-scan::after {
      left: 7%;
      right: 8%;
      bottom: 0.34em;
      height: 1px;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(110, 239, 255, 0.16) 20%, rgba(255, 255, 255, 0.92) 50%, rgba(110, 239, 255, 0.16) 80%, rgba(255, 255, 255, 0));
      background-size: 180% 100%;
      background-position: 120% 0;
      opacity: calc(var(--hero-word-reveal) * 0.18);
      animation: heroHybridSignal 9.6s linear infinite reverse;
      animation-delay: var(--hero-word-delay);
    }
    .hero-name-cursor {
      width: max(0.08em, 6px);
      height: calc(var(--hero-terminal-size) * 0.8);
      border-radius: 2px;
      background: linear-gradient(180deg, rgba(244, 253, 255, 0.98), rgba(121, 239, 255, 0.76));
      box-shadow: 0 0 18px rgba(120, 239, 255, 0.28);
      animation: terminalCursorBlink 1s steps(2, end) infinite;
    }
    .hero-name-svg {
      width: min(820px, 100%);
      height: auto;
      display: block;
      overflow: visible;
      transform-style: preserve-3d;
      transform: translate3d(0, var(--name-float-y), 0) translateZ(var(--name-depth)) rotateX(var(--name-rotate-x)) rotateY(var(--name-rotate-y));
      filter: drop-shadow(0 16px 28px rgba(8, 18, 30, 0.4)) drop-shadow(0 0 12px rgba(97, 235, 255, 0.12));
      will-change: transform, filter;
    }
    .hero-name.is-interacting .hero-name-svg {
      filter: drop-shadow(0 18px 32px rgba(6, 14, 24, 0.44)) drop-shadow(0 0 16px rgba(152, 243, 255, 0.18));
    }
    .hero-name-text {
      font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 84px;
      font-weight: 800;
      letter-spacing: 1.1px;
      text-anchor: middle;
      dominant-baseline: middle;
    }
    .hero-name-text-left {
      text-anchor: end;
    }
    .hero-name-text-right {
      text-anchor: start;
    }
    .hero-name-text-core {
      fill: url(#heroNameFill);
      stroke: rgba(219, 249, 255, 0.14);
      stroke-width: 1;
      paint-order: stroke fill;
    }
    .hero-name-text-solid {
      opacity: 1;
      filter: drop-shadow(0 0 10px rgba(170, 241, 255, 0.14));
    }
    .hero-name-aura {
      fill: url(#heroNameAuraGradient);
      opacity: 0.12;
      filter: blur(22px);
      mix-blend-mode: screen;
      transform-origin: 380px 108px;
      pointer-events: none;
      will-change: opacity, transform;
    }
    .hero-name-hud {
      pointer-events: none;
      mix-blend-mode: screen;
      transform-origin: 380px 108px;
      will-change: transform, opacity;
    }
    .hero-variant {
      opacity: 0;
      transition: opacity 0.35s ease;
      will-change: opacity, transform;
    }
    .hero-name[data-hero-variant="circular"] .hero-variant-circular,
    .hero-name[data-hero-variant="premium"] .hero-variant-premium,
    .hero-name[data-hero-variant="scifi"] .hero-variant-scifi {
      opacity: 1;
    }
    .hero-variant-switcher {
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.55rem;
      margin: 0.1rem 0 0.45rem;
    }
    .hero-variant-button {
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(8, 16, 28, 0.38);
      color: rgba(236, 251, 255, 0.78);
      padding: 0.45rem 0.9rem;
      border-radius: 999px;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      backdrop-filter: blur(10px);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
    }
    .hero-variant-button:hover {
      transform: translateY(-1px);
      border-color: rgba(120, 239, 255, 0.36);
      color: rgba(255, 255, 255, 0.94);
    }
    .hero-variant-button[aria-pressed="true"] {
      background: linear-gradient(135deg, rgba(19, 43, 64, 0.86), rgba(8, 20, 34, 0.88));
      border-color: rgba(121, 241, 255, 0.54);
      color: rgba(255, 255, 255, 0.98);
      box-shadow: 0 10px 24px rgba(2, 9, 18, 0.34), inset 0 0 18px rgba(110, 238, 255, 0.15);
    }
    .hero-circular-band {
      fill: url(#heroNameBandGradient);
      opacity: 0.06;
      filter: blur(14px);
    }
    .hero-circular-rails,
    .hero-circular-frame,
    .hero-circular-hud,
    .hero-circular-rotor {
      transform-origin: 380px 108px;
      will-change: transform, opacity;
    }
    .hero-circular-line {
      fill: none;
      stroke: url(#heroTechLineGradient);
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-circular-line-main {
      stroke-width: 2;
      opacity: 0.58;
    }
    .hero-circular-line-soft {
      stroke-width: 1.15;
      opacity: 0.24;
    }
    .hero-circular-bracket {
      fill: none;
      stroke: url(#heroBracketGradient);
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.5;
      vector-effect: non-scaling-stroke;
    }
    .hero-circular-halo {
      fill: none;
      stroke: url(#heroCenterHaloGradient);
      stroke-width: 28px;
      opacity: 0.14;
      filter: blur(18px);
    }
    .hero-circular-ring {
      fill: none;
      stroke: url(#heroCenterRingGradient);
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-circular-ring-dots {
      stroke-width: 7;
      stroke-dasharray: 1 11;
      opacity: 0.86;
    }
    .hero-circular-ring-outer {
      stroke-width: 2.4;
      opacity: 0.62;
    }
    .hero-circular-ring-arc {
      stroke-width: 5.2;
    }
    .hero-circular-ring-arc-primary {
      stroke-dasharray: 56 16 18 18 82 22 18 20;
      opacity: 0.78;
    }
    .hero-circular-ring-arc-secondary {
      stroke: url(#heroBracketGradient);
      stroke-width: 4;
      stroke-dasharray: 30 16 12 16 44 18 18 18;
      opacity: 0.84;
    }
    .hero-circular-ring-inner {
      stroke-width: 2.4;
      stroke-dasharray: 18 10 8 12 30 12 12 10;
      opacity: 0.62;
    }
    .hero-circular-ring-inner-alt {
      stroke: url(#heroBracketGradient);
      stroke-width: 3.8;
      stroke-dasharray: 10 8 18 12 10 10 12 12;
      opacity: 0.78;
    }
    .hero-circular-core {
      fill: url(#heroCenterCoreGradient);
      opacity: 0.78;
    }
    .hero-circular-core-outline {
      fill: none;
      stroke: url(#heroBracketGradient);
      stroke-width: 1.4;
      opacity: 0.9;
    }
    .hero-circular-core-dot {
      fill: rgba(255, 255, 255, 0.98);
      filter: drop-shadow(0 0 9px rgba(126, 242, 255, 0.54));
    }
    .hero-circular-scan-line {
      fill: url(#heroCenterScanGradient);
      opacity: 0.58;
    }
    .hero-circular-scan-glow {
      fill: url(#heroCenterScanGradient);
      opacity: 0.24;
      filter: blur(10px);
    }
    .hero-name-light-band {
      fill: url(#heroNameBandGradient);
      opacity: 0.07;
      filter: blur(14px);
    }
    .hero-name-rails,
    .hero-name-frame,
    .hero-center-hud,
    .hero-center-rotor {
      transform-origin: 380px 108px;
      will-change: transform, opacity;
    }
    .hero-tech-line {
      fill: none;
      stroke: url(#heroTechLineGradient);
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-tech-line-primary {
      stroke-width: 2.2;
      opacity: 0.74;
    }
    .hero-tech-line-secondary {
      stroke-width: 1.2;
      opacity: 0.34;
    }
    .hero-tech-node {
      fill: rgba(252, 255, 255, 0.96);
      opacity: 0.74;
      filter: drop-shadow(0 0 8px rgba(104, 239, 255, 0.34));
    }
    .hero-tech-bracket {
      fill: none;
      stroke: url(#heroBracketGradient);
      stroke-width: 2.6;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.58;
      vector-effect: non-scaling-stroke;
    }
    .hero-tech-bracket-soft {
      stroke-width: 1.3;
      opacity: 0.4;
    }
    .hero-center-halo {
      fill: none;
      stroke: url(#heroCenterHaloGradient);
      stroke-width: 24px;
      opacity: 0.12;
      filter: blur(16px);
    }
    .hero-center-ring {
      fill: none;
      stroke: url(#heroCenterRingGradient);
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-center-ring-outer {
      stroke-width: 2.6;
      opacity: 0.62;
    }
    .hero-center-ring-dots {
      stroke-width: 6.8;
      stroke-dasharray: 1 10.8;
      opacity: 0.8;
    }
    .hero-center-ring-arc {
      stroke-width: 5.2;
    }
    .hero-center-ring-arc-primary {
      stroke-dasharray: 46 14 16 18 64 20 18 20;
      opacity: 0.76;
    }
    .hero-center-ring-arc-secondary {
      stroke: url(#heroBracketGradient);
      stroke-width: 3.8;
      stroke-dasharray: 28 14 12 20 36 18 16 18;
      opacity: 0.86;
    }
    .hero-center-ring-inner {
      stroke-width: 2.4;
      stroke-dasharray: 14 8 8 12 24 10 10 12;
      opacity: 0.58;
    }
    .hero-center-crosshair {
      fill: none;
      stroke: url(#heroBracketGradient);
      stroke-width: 1.6;
      opacity: 0.48;
      vector-effect: non-scaling-stroke;
    }
    .hero-center-core {
      fill: url(#heroCenterCoreGradient);
      opacity: 0.78;
    }
    .hero-center-core-outline {
      fill: none;
      stroke: url(#heroBracketGradient);
      stroke-width: 1.4;
      opacity: 0.86;
    }
    .hero-center-core-dot {
      fill: rgba(255, 255, 255, 0.98);
      filter: drop-shadow(0 0 8px rgba(124, 241, 255, 0.48));
    }
    .hero-center-scan-line {
      fill: url(#heroCenterScanGradient);
      opacity: 0.56;
    }
    .hero-center-scan-glow {
      fill: url(#heroCenterScanGradient);
      opacity: 0.24;
      filter: blur(10px);
    }
    .hero-name-signal {
      fill: none;
      stroke: url(#heroNameSignalGradient);
      stroke-width: 2;
      opacity: 0.28;
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-name-signal-secondary {
      stroke-width: 1.5;
      opacity: 0.2;
    }
    .hero-scifi-band {
      fill: url(#heroNameBandGradient);
      opacity: 0.08;
      filter: blur(16px);
    }
    .hero-scifi-rails,
    .hero-scifi-frame,
    .hero-scifi-core,
    .hero-scifi-rotor {
      transform-origin: 380px 108px;
      will-change: transform, opacity;
    }
    .hero-scifi-line,
    .hero-scifi-trace,
    .hero-scifi-bracket,
    .hero-scifi-crosshair {
      fill: none;
      vector-effect: non-scaling-stroke;
    }
    .hero-scifi-line {
      stroke: url(#heroTechLineGradient);
      stroke-linecap: round;
    }
    .hero-scifi-line-main {
      stroke-width: 2.4;
      opacity: 0.82;
    }
    .hero-scifi-line-dash {
      stroke-width: 1.5;
      stroke-dasharray: 18 10 6 10 24 12;
      opacity: 0.38;
    }
    .hero-scifi-trace {
      stroke: url(#heroBracketGradient);
      stroke-width: 1.35;
      opacity: 0.52;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .hero-scifi-bracket {
      stroke: url(#heroBracketGradient);
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.64;
    }
    .hero-scifi-bracket-soft {
      stroke-width: 1.3;
      opacity: 0.42;
    }
    .hero-scifi-halo {
      fill: none;
      stroke: url(#heroCenterHaloGradient);
      stroke-width: 30px;
      opacity: 0.18;
      filter: blur(18px);
    }
    .hero-scifi-ring {
      fill: none;
      stroke: url(#heroCenterRingGradient);
      stroke-linecap: round;
      vector-effect: non-scaling-stroke;
    }
    .hero-scifi-ring-outer {
      stroke-width: 2.6;
      opacity: 0.66;
    }
    .hero-scifi-ring-ticks {
      stroke-width: 7.2;
      stroke-dasharray: 1 9.8;
      opacity: 0.84;
    }
    .hero-scifi-ring-arc {
      stroke-width: 5.6;
    }
    .hero-scifi-ring-arc-primary {
      stroke-dasharray: 34 10 10 12 48 14 16 14 20 18;
      opacity: 0.86;
    }
    .hero-scifi-ring-arc-secondary {
      stroke: url(#heroBracketGradient);
      stroke-width: 4.2;
      stroke-dasharray: 18 10 8 10 26 12 12 10 12 14;
      opacity: 0.9;
    }
    .hero-scifi-ring-inner {
      stroke-width: 2.6;
      stroke-dasharray: 10 8 4 8 18 8 10 8 12 10;
      opacity: 0.72;
    }
    .hero-scifi-crosshair {
      stroke: url(#heroBracketGradient);
      stroke-width: 1.7;
      opacity: 0.56;
    }
    .hero-scifi-hex {
      fill: rgba(236, 254, 255, 0.18);
      stroke: url(#heroBracketGradient);
      stroke-width: 1.6;
      filter: drop-shadow(0 0 12px rgba(116, 242, 255, 0.26));
    }
    .hero-scifi-core-dot {
      fill: rgba(255, 255, 255, 0.98);
      filter: drop-shadow(0 0 10px rgba(128, 242, 255, 0.56));
    }
    .hero-scifi-scan-line {
      fill: url(#heroCenterScanGradient);
      opacity: 0.62;
    }
    .hero-scifi-scan-glow {
      fill: url(#heroCenterScanGradient);
      opacity: 0.28;
      filter: blur(12px);
    }
    .hero-name-text-reflect {
      fill: rgba(203, 247, 255, 0.22);
      opacity: 0.14;
      filter: blur(0.4px);
      animation: heroNameShine 7s ease-in-out infinite;
      pointer-events: none;
    }
    .hero-name-sweep {
      fill: url(#heroNameSweepGradient);
      opacity: 0.22;
      filter: blur(0.7px);
      mix-blend-mode: screen;
      pointer-events: none;
      will-change: opacity, transform;
    }
    .hero-name-sweep-secondary {
      fill: url(#heroNameCausticGradient);
      opacity: 0.12;
      filter: blur(3px);
    }
    .hero-name[data-hero-variant="premium"] .hero-name-text-core {
      stroke: rgba(233, 250, 255, 0.08);
    }
    .hero-name[data-hero-variant="premium"] .hero-name-text-reflect {
      fill: rgba(214, 247, 255, 0.18);
    }
    .hero-name[data-hero-variant="scifi"] .hero-name-text-reflect {
      fill: rgba(170, 242, 255, 0.28);
    }
    h2 {
      margin-bottom: 1.5rem;
    }
    p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto 1rem;
    }
    .btn-outline-light {
      margin: 1rem;
      padding: 10px 30px;
      border-radius: 30px;
      font-weight: 600;
      border: 2px solid #fff;
      color: #fff;
      background-color: transparent;
      position: relative;
      overflow: hidden;
      transition: color 0.4s ease;
    }
    .btn-outline-light::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 0%;
      height: 100%;
      background-color: #fff;
      z-index: -1;
      transition: width 0.4s ease;
    }
    .btn-outline-light:hover {
      color: #000;
    }
    .btn-outline-light:hover::before {
      width: 100%;
    }
    .btn-outline-light.is-on {
      color: #000;
    }
    .btn-outline-light.is-on::before {
      width: 100%;
    }
    .button-group {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    .card-control-row {
      width: 100%;
      max-width: 860px;
      display: flex;
      justify-content: flex-end;
      gap: 0.55rem;
      margin: 0 0 0.45rem;
      flex: 0 0 auto;
      align-self: center;
    }
    .card-flip-toggle {
      margin: 0;
      padding: 0.38rem 0.95rem;
      border-radius: 999px;
      border-width: 1px;
      font-size: 0.8rem;
      letter-spacing: 0.02em;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(8px);
      min-width: 126px;
    }
    section {
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0.75rem 0;
      background: transparent;
    }
    .book-card {
      width: min(860px, 100%);
      max-width: 860px;
      perspective: 2200px;
      position: relative;
      cursor: default;
      outline: none;
      margin: 0 auto;
      height: auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
    }
    .book-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      max-height: none;
      transform-style: preserve-3d;
      transition: transform 1.7s cubic-bezier(0.22, 0.61, 0.36, 1);
      will-change: transform;
      transform: rotateY(0deg);
    }
    .book-card-face {
      position: absolute;
      inset: 0;
      padding: 0;
      border-radius: inherit;
      background: linear-gradient(160deg, rgba(18, 26, 46, 0.96), rgba(11, 16, 26, 0.92));
      box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), inset 0 0 45px rgba(255, 255, 255, 0.05);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
      color: #fff;
      gap: 0;
      width: 100%;
      height: 100%;
      max-height: none;
      overflow: hidden;
    }
    .book-card-front {
      transform: rotateY(0deg) translateZ(1px);
      transition: filter 1.1s ease, opacity 1.1s ease;
    }
    .section-inner {
      width: 100%;
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1 1 auto;
      min-height: 0;
    }
    .section-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      padding: clamp(2.5rem, 3.25vw, 4rem);
      line-height: 1.7;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
      text-align: center;
      min-height: 420px;
      height: 100%;
      max-height: none;
      overflow: visible;
    }
    .book-card-front h2,
    .book-card-back h3 {
      letter-spacing: 0.04em;
    }
    .book-card-face h2,
    .book-card-face h3 {
      margin-bottom: 1rem;
      font-size: 2rem;
      font-weight: 600;
    }
    .book-card-back {
      transform: rotateY(180deg) translateZ(1px);
      background: linear-gradient(180deg, rgba(10, 14, 26, 0.92), rgba(8, 12, 20, 0.94));
      padding: 28px 24px;
      transition: filter 1.1s ease, opacity 1.1s ease;
      filter: brightness(0.9);
    }
    .book-card-face p {
      margin: 0;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.65;
      max-width: 100%;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
      text-align: center;
    }
    .book-card.is-flipped .book-card-inner {
      transform: rotateY(180deg);
    }
    .book-card.is-flipped .book-card-front {
      filter: brightness(0.82) blur(0.35px);
      opacity: 0.7;
    }
    .book-card.is-flipped .book-card-back {
      filter: brightness(1.04);
      opacity: 1;
    }
    @media (max-width: 768px) {
      .book-card {
        perspective: 1500px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .book-card-inner {
        transition: none;
      }
    }
    .glass-card {
      background: linear-gradient(155deg, rgba(12,19,32,0.85), rgba(5,9,17,0.65));
      border-radius: 18px;
      margin: 20px 0;
      padding: clamp(1.75rem, 2.75vw, 3rem);
      max-width: 920px;
      width: min(920px, 100%);
      min-height: 460px;
      height: auto;
      box-shadow: 0 35px 85px rgba(0,0,0,0.6);
      border: 1px solid rgba(255,255,255,0.12);
      backdrop-filter: blur(12px);
      transform-style: preserve-3d;
      animation: orbit 12s ease-in-out infinite;
      transform-origin: center;
      transition: transform 0.5s ease, box-shadow 0.5s ease;
      position: relative;
      overflow: hidden;
      will-change: transform;
      display: flex;
      justify-content: flex-start;
      align-items: stretch;
      flex-direction: column;
    }
    .glass-card > .book-card,
    .glass-card > .section-inner {
      width: 100%;
      max-width: 860px;
      align-self: center;
    }
    .glass-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 55%);
      opacity: 0.35;
      filter: blur(22px);
      border-radius: inherit;
      z-index: -2;
      pointer-events: none;
    }
    .glass-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 72% 4%, rgba(255,255,255,0.28), transparent 58%);
      opacity: 0.45;
      border-radius: inherit;
      z-index: -1;
      filter: blur(18px);
    }
    .glass-card:hover {
      animation: pulse 3s ease-in-out infinite alternate;
      transform: translateY(-12px) rotateX(6deg) rotateY(-3deg) scale(1.03);
      box-shadow: 0 60px 90px rgba(0,0,0,0.7);
    }
    #projects.glass-card,
    #contact.glass-card {
      max-width: 920px;
      margin-left: auto;
      margin-right: auto;
    }
    .project-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: clamp(1rem, 2vw, 1.5rem);
      width: 100%;
      max-width: 960px;
      justify-items: stretch;
      align-items: stretch;
      margin: 0.5rem auto 0;
      grid-auto-rows: 1fr;
    }
    .project-card {
      background: linear-gradient(180deg, rgba(24, 33, 56, 0.92), rgba(14, 18, 30, 0.96));
      border-radius: 12px;
      padding: clamp(1rem, 2vw, 1.5rem);
      width: 100%;
      max-width: none;
      min-height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      text-align: left;
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
      box-sizing: border-box;
      height: 100%;
    }
    .project-card h4 {
      margin-bottom: 0.5rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      font-size: 1.06rem;
    }
    .project-card p {
      color: rgba(255, 255, 255, 0.78);
      line-height: 1.68;
      margin: 0;
      font-size: 0.98rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
    .project-purpose {
      margin-top: 0.2rem;
      margin-bottom: 0.35rem;
      font-size: 0.95rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.9);
    }
    .project-tech {
      margin-bottom: 0.45rem;
      font-size: 0.85rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.7);
      letter-spacing: 0.03em;
    }
    .project-links {
      display: flex;
      gap: 0.85rem;
      flex-wrap: wrap;
      margin-top: auto;
    }
    .project-links a {
      font-size: 0.85rem;
      font-weight: 600;
      color: #8ae8ff;
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }
    .project-links a:hover {
      border-color: #8ae8ff;
    }
    .hero-section {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      padding-bottom: 2rem;
      animation: heroFadeIn 1.2s ease-out both;
    }
    .hero-content {
      max-width: 900px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      text-align: center;
      animation: heroRise 1s ease-out both;
    }
    .hero-badges {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      margin-top: 0.5rem;
      animation: heroRise 1.05s ease-out both;
    }
    .role-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      background: rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.95);
      font-weight: 600;
      letter-spacing: 0.03em;
      font-size: 0.9rem;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
      backdrop-filter: blur(12px);
    }
    .role-badge.secondary {
      background: rgba(138, 232, 255, 0.12);
      border-color: rgba(138, 232, 255, 0.35);
      color: rgba(255, 255, 255, 0.9);
    }
    .cta-group {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 0.5rem;
      margin-bottom: 0.75rem;
      animation: heroRise 1.1s ease-out both;
    }
    .cta-group .btn {
      border-radius: 999px;
      padding: 0.75rem 1.6rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin: 0;
      min-width: 190px;
      display: inline-flex;
      justify-content: center;
      align-items: center;
    }
    .btn-resume {
      border-color: rgba(138, 232, 255, 0.68);
      background: linear-gradient(135deg, rgba(25, 44, 72, 0.8), rgba(11, 23, 40, 0.84));
      color: rgba(244, 252, 255, 0.97);
      box-shadow: 0 16px 36px rgba(2, 10, 20, 0.48), inset 0 0 16px rgba(138, 232, 255, 0.17);
      transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    }
    .btn-resume::before {
      background: linear-gradient(135deg, rgba(138, 232, 255, 0.95), rgba(255, 255, 255, 0.95));
    }
    .btn-resume:hover {
      color: #04131d;
      transform: translateY(-2px);
      box-shadow: 0 18px 42px rgba(3, 14, 25, 0.58), inset 0 0 20px rgba(138, 232, 255, 0.12);
    }
    .hero-content .hero-greeting,
    .hero-content .hero-role,
    .hero-content .hero-summary {
      margin: 0;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.9);
      font-size: clamp(1.1rem, 2vw, 1.45rem);
    }
    .hero-content .hero-role {
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .hero-summary {
      font-weight: 400;
    }
    .hero-content .hero-tagline {
      margin: 0;
      max-width: 52ch;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.92);
      font-size: clamp(1.05rem, 1.8vw, 1.3rem);
      font-weight: 400;
    }
    .hero-content .hero-stack {
      margin: 0;
      line-height: 1.5;
      color: rgba(138, 232, 255, 0.85);
      font-size: clamp(0.82rem, 1.2vw, 0.98rem);
      font-weight: 500;
      letter-spacing: 0.04em;
    }
    .hero-word-tile {
      display: inline-block;
      padding: 0.02em 0.2em;
      margin: 0.02em 0.03em 0.02em 0;
      border-radius: 0.38em;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(138,232,255,0.06));
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
      transform-origin: center;
      animation:
        heroWordFloat 5.6s ease-in-out infinite,
        heroWordGlow 4.4s ease-in-out infinite;
      animation-delay:
        calc(var(--tile-index, 0) * 0.09s),
        calc(var(--tile-index, 0) * 0.09s);
      will-change: transform;
    }
    .about-panel {
      min-height: 420px;
    }
    .about-panel .card-note {
      width: 100%;
      max-width: 680px;
    }
    .skill-section .section-content,
    .why-hire-section .section-content,
    .contact-section .section-content {
      align-items: flex-start;
      text-align: left;
      width: 100%;
      max-width: 720px;
    }
    .skill-groups {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: clamp(1rem, 2.5vw, 1.75rem);
    }
    .skill-group {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }
    .skill-group h4 {
      margin: 0;
      font-size: 1.1rem;
      letter-spacing: 0.03em;
    }
    .skill-group ul {
      margin: 0;
      padding-left: 1.15rem;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.85);
    }
    .skill-group li {
      margin-bottom: 0.35rem;
      font-size: 0.98rem;
      line-height: 1.6;
    }
    .skill-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.25rem;
    }
    .skill-pill {
      display: inline-block;
      padding: 0.28rem 0.72rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      background: rgba(138, 232, 255, 0.08);
      color: rgba(200, 246, 255, 0.9);
      border: 1px solid rgba(138, 232, 255, 0.22);
      white-space: nowrap;
    }
    .why-hire-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      font-size: 1.02rem;
      color: rgba(255, 255, 255, 0.87);
      line-height: 1.7;
    }
    .why-hire-list li::before {
      content: "?";
      margin-right: 0.55rem;
      color: #8ae8ff;
      font-weight: 600;
    }
    .contact-cta {
      margin: 0;
      font-size: 1.45rem;
      letter-spacing: 0.02em;
      font-weight: 600;
    }
    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      font-size: 1.05rem;
      margin-top: 1rem;
    }
    .contact-details p {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin: 0;
    }
    .contact-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      color: rgba(138, 232, 255, 0.7);
    }
    .contact-details a {
      color: #8ae8ff;
      text-decoration: none;
      font-weight: 600;
    }
    .contact-details a:hover {
      text-decoration: underline;
    }
    .contact-details,
    .contact-details p,
    .contact-details a {
      word-break: break-word;
    }
    .certs-section .section-inner {
      justify-content: center;
    }
    .certs-section .section-content {
      max-width: 720px;
      margin: 0 auto;
      justify-content: center;
    }
    .footer {
      margin-top: 40px;
      color: #ccc;
      font-size: 0.95rem;
      padding-bottom: 5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      padding-bottom: 2rem;
    }
    .footer-links {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.88rem;
    }
    .footer-links a {
      color: rgba(138, 232, 255, 0.75);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .footer-links a:hover {
      color: rgba(138, 232, 255, 1);
    }
    .footer-sep {
      color: rgba(255, 255, 255, 0.25);
    }
    .footer-copy {
      margin: 0;
      font-size: 0.82rem;
      color: rgba(255, 255, 255, 0.35);
    }
    .card-note--mt { margin-top: 0.6rem !important; }
    .card-note {
      margin-top: 1rem;
      padding: 0.75rem 1rem;
      border-radius: 8px;
      background: rgba(138, 232, 255, 0.06);
      border-left: 3px solid rgba(138, 232, 255, 0.4);
      font-size: 0.88rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.78);
    }
    .cert-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.75rem;
      margin-top: 1rem;
      grid-auto-rows: 1fr;
    }
    .cert-card {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.85rem 1rem;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      height: 100%;
    }
    .cert-card--active {
      border-color: rgba(138, 232, 255, 0.28);
      background: rgba(138, 232, 255, 0.05);
    }
    .cert-icon {
      font-size: 1.4rem;
      flex-shrink: 0;
      opacity: 0.8;
    }
    .cert-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
    .cert-name {
      font-size: 0.88rem;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.92);
    }
    .cert-status {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: 999px;
      padding: 0.18rem 0.6rem;
      display: inline-block;
      width: fit-content;
    }
    .cert-status--progress {
      background: rgba(138, 232, 255, 0.14);
      color: rgba(138, 232, 255, 0.95);
      border: 1px solid rgba(138, 232, 255, 0.3);
    }
    .cert-status--planned {
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }
    .cert-status--earned {
      background: rgba(80, 220, 140, 0.14);
      color: rgba(80, 220, 140, 0.95);
      border: 1px solid rgba(80, 220, 140, 0.3);
    }
    .cert-note {
      margin-top: 0.75rem;
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.35);
      font-style: italic;
    }
    .audio-corner-toggle {
      position: fixed;
      bottom: 1.4rem;
      right: 1.4rem;
      z-index: 20;
      width: 2.4rem;
      height: 2.4rem;
      border-radius: 50%;
      border: 1px solid rgba(138, 232, 255, 0.25);
      background: rgba(4, 12, 22, 0.72);
      color: rgba(138, 232, 255, 0.55);
      font-size: 1rem;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }
    .audio-corner-toggle:hover,
    .audio-corner-toggle[aria-pressed="true"] {
      color: rgba(138, 232, 255, 0.92);
      border-color: rgba(138, 232, 255, 0.55);
      background: rgba(4, 18, 32, 0.88);
    }
    @keyframes loaderScanlineDrift {
      from {
        transform: translateY(0);
      }
      to {
        transform: translateY(24px);
      }
    }
    @keyframes loaderGlowDrift {
      0% {
        transform: translate(-12%, -10%) scale(0.96);
      }
      100% {
        transform: translate(12%, 10%) scale(1.04);
      }
    }
    @keyframes loaderSpin {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }
    @keyframes loaderPulseRing {
      0%,
      100% {
        opacity: 0.4;
        transform: scale(0.96);
      }
      50% {
        opacity: 0.82;
        transform: scale(1.03);
      }
    }
    @keyframes loaderTerminalBlink {
      0%,
      100% {
        text-shadow: 0 0 0 rgba(140, 239, 255, 0);
      }
      50% {
        text-shadow: 0 0 14px rgba(140, 239, 255, 0.18);
      }
    }
    @keyframes loaderNameScan {
      0% {
        left: -24%;
        opacity: 0;
      }
      20% {
        opacity: 0.8;
      }
      58% {
        opacity: 0.96;
      }
      100% {
        left: 112%;
        opacity: 0;
      }
    }
    @keyframes loaderProgressPulse {
      0%,
      100% {
        filter: brightness(1);
      }
      50% {
        filter: brightness(1.18);
      }
    }
    @keyframes heroRise {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      65% {
        opacity: 1;
        transform: translateY(0);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes heroFadeIn {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }
    @keyframes orbit {
      0% {
        transform: rotateX(3deg) rotateY(-2deg) translateZ(2px);
      }
      25% {
        transform: rotateX(-4deg) rotateY(4deg) translateZ(6px);
      }
      50% {
        transform: rotateX(6deg) rotateY(-5deg) translateZ(8px);
      }
      75% {
      transform: rotateX(-3deg) rotateY(3deg) translateZ(4px);
      }
      100% {
        transform: rotateX(3deg) rotateY(-2deg) translateZ(2px);
      }
    }
    @keyframes pulse {
      from {
        transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
      }
      to {
        transform: translateY(-15px) rotateX(5deg) rotateY(-4deg) scale(1.04);
      }
    }
    @keyframes heroNameShine {
      0%,
      100% {
        opacity: 0.24;
        transform: translate(-6px, 0px);
      }
      45% {
        opacity: 0.62;
        transform: translate(4px, -1px);
      }
      70% {
        opacity: 0.34;
        transform: translate(6px, 1px);
      }
    }
    @keyframes terminalCursorBlink {
      0%,
      48% {
        opacity: 1;
      }
      50%,
      100% {
        opacity: 0;
      }
    }
    @keyframes heroHybridCore {
      0%,
      100% {
        text-shadow:
          0 12px 30px rgba(8, 18, 30, 0.38),
          0 0 20px rgba(118, 236, 255, 0.14);
      }
      14% {
        text-shadow:
          0 14px 34px rgba(8, 18, 30, 0.42),
          0 0 24px rgba(118, 236, 255, 0.22);
      }
      24% {
        text-shadow:
          0 16px 38px rgba(8, 18, 30, 0.46),
          0 0 30px rgba(148, 243, 255, 0.3);
      }
      40% {
        text-shadow:
          0 13px 32px rgba(8, 18, 30, 0.42),
          0 0 24px rgba(118, 236, 255, 0.18);
      }
    }
    @keyframes heroHybridSignal {
      0%,
      12%,
      100% {
        background-position: 135% 0;
        opacity: 0.2;
      }
      18% {
        opacity: 0.4;
      }
      28% {
        background-position: -18% 0;
        opacity: 0.82;
      }
      34% {
        background-position: -30% 0;
        opacity: 0.26;
      }
      70% {
        background-position: -30% 0;
        opacity: 0.18;
      }
      82% {
        background-position: 100% 0;
        opacity: 0.28;
      }
    }
    @keyframes heroHybridScanline {
      0%,
      14%,
      100% {
        transform: translateX(-6%) skewX(-16deg);
        opacity: 0;
      }
      20% {
        opacity: 0.18;
      }
      30% {
        transform: translateX(468%) skewX(-16deg);
        opacity: 0.78;
      }
      36% {
        opacity: 0;
      }
      72% {
        transform: translateX(468%) skewX(-16deg);
        opacity: 0;
      }
      84% {
        transform: translateX(40%) skewX(-16deg);
        opacity: 0.12;
      }
      92% {
        transform: translateX(360%) skewX(-16deg);
        opacity: 0.34;
      }
    }
    @keyframes heroVectorField {
      0%,
      100% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      50% {
        transform: translate3d(0, -1px, 0) scale(1.01);
      }
    }
    @keyframes heroVectorTrace {
      0%,
      100% {
        transform: translateX(-6%);
        opacity: 0.26;
      }
      45% {
        transform: translateX(6%);
        opacity: 0.5;
      }
      70% {
        transform: translateX(2%);
        opacity: 0.34;
      }
    }
    @keyframes heroVectorSweep {
      0%,
      14%,
      100% {
        transform: translateX(-12%) skewX(-18deg);
        opacity: 0;
      }
      20% {
        opacity: 0.12;
      }
      30% {
        transform: translateX(480%) skewX(-18deg);
        opacity: 0.52;
      }
      36% {
        opacity: 0;
      }
      72% {
        transform: translateX(480%) skewX(-18deg);
        opacity: 0;
      }
      84% {
        transform: translateX(52%) skewX(-18deg);
        opacity: 0.1;
      }
      92% {
        transform: translateX(332%) skewX(-18deg);
        opacity: 0.24;
      }
    }
    @keyframes heroVectorFramePulse {
      0%,
      100% {
        opacity: 0.22;
      }
      48% {
        opacity: 0.36;
      }
      68% {
        opacity: 0.28;
      }
    }
    @keyframes heroWordFloat {
      0%,
      100% {
        transform: translate3d(0, 0, 0) scale(1);
      }
      25% {
        transform: translate3d(0, -2px, 0) scale(1.015);
      }
      50% {
        transform: translate3d(0, -4px, 0) scale(1.03);
      }
      75% {
        transform: translate3d(0, -1px, 0) scale(1.01);
      }
    }
    @keyframes heroWordGlow {
      0%,
      100% {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.12);
      }
      50% {
        box-shadow: 0 10px 30px rgba(48, 204, 255, 0.24);
        border-color: rgba(138, 232, 255, 0.38);
      }
    }
    @media (max-width: 768px) {
      body {
        font-size: 90%;
      }
      .portfolio-loader {
        padding: 0.75rem;
      }
      .portfolio-loader__shell {
        padding: 1rem;
        border-radius: 24px;
      }
      .portfolio-loader__meta {
        flex-direction: column;
        align-items: flex-start;
      }
      .loader-variants {
        min-height: 27rem;
      }
      .loader-boot-layout,
      .loader-hud-layout {
        grid-template-columns: 1fr;
      }
      .loader-copy,
      .loader-terminal {
        max-width: none;
      }
      .loader-boot-scene {
        min-height: 13rem;
      }
      .loader-shot-main {
        inset: 0.6rem 3.2rem 4.4rem 0;
      }
      .loader-shot-side {
        width: 9.25rem;
        height: 54%;
      }
      .loader-shot-bottom {
        left: 3rem;
        right: 1rem;
        height: 5.6rem;
      }
      .loader-radar {
        width: min(17rem, 100%);
      }
      .loader-name-outline,
      .loader-name-solid {
        white-space: normal;
      }
      .loader-name-stage {
        min-height: 9.5rem;
      }
      .loader-status {
        font-size: 0.8rem;
        line-height: 1.5;
      }
      .loader-lab {
        left: 1rem;
        right: 1rem;
        width: auto;
      }
      .loader-lab__button--ghost {
        margin-left: 0;
      }
      .content {
        padding: 40px 16px 32px;
      }
      .hero-section {
        gap: 0.5rem;
      }
      .hero-section h1 {
        font-size: clamp(2.2rem, 9vw, 2.7rem);
      }
      .hero-name {
        width: 100%;
        margin-bottom: 0.2rem;
      }
      .hero-name-display {
        min-height: 0;
        gap: 0.14em;
        --hero-terminal-size: clamp(2.7rem, 10.8vw, 4.05rem);
      }
      .hero-name-prompt {
        font-size: calc(var(--hero-terminal-size) * 0.66);
      }
      .hero-name-cursor {
        height: calc(var(--hero-terminal-size) * 0.76);
      }
      .hero-name-svg {
        width: 100%;
      }
      .hero-variant-switcher {
        gap: 0.4rem;
        margin-bottom: 0.3rem;
      }
      .hero-variant-button {
        padding: 0.42rem 0.75rem;
        font-size: 0.76rem;
      }
      .hero-name-light-band {
        opacity: 0.16;
      }
      .hero-circular-band,
      .hero-scifi-band {
        opacity: 0.14;
      }
      .hero-name-frame {
        opacity: 0.42;
      }
      .hero-tech-line-secondary,
      .hero-circular-line-soft,
      .hero-scifi-line-dash,
      .hero-name-signal-secondary {
        opacity: 0.08;
      }
      .hero-center-halo,
      .hero-circular-halo,
      .hero-scifi-halo {
        opacity: 0.08;
      }
      .button-group {
        gap: 12px;
        margin-bottom: 1rem;
      }
      .card-control-row {
        width: 100%;
        justify-content: center;
        margin: 0 0 0.6rem;
      }
      .btn-outline-light {
        padding: 0.75rem 1.5rem;
        border-width: 1px;
      }
      .glass-card {
        padding: 1.25rem;
        min-height: 420px;
        height: auto !important;
        margin: 0.85rem auto;
        max-width: 460px;
        width: min(92vw, 460px);
      }
      .section-content {
        padding: 1.5rem 1rem;
        min-height: 360px;
      }
      .project-list {
        gap: 0.75rem;
      }
      .project-card {
        padding: 0.95rem 0.85rem;
      }
      .skill-groups {
        grid-template-columns: 1fr;
      }
      .contact-details {
        font-size: 1rem;
      }
      .book-card {
        width: 100%;
      }
      .book-card-inner {
        transform: none !important;
      }
      .book-card-face {
        position: static !important;
        inset: auto !important;
        padding: 0;
        border-radius: 12px;
      }
      .book-card-back {
        display: none;
      }
      .hero-word-tile {
        padding: 0.02em 0.2em;
        margin-right: 0.03em;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      body.loader-active .content {
        opacity: 0.24;
        filter: blur(3px);
        transform: none;
      }
      .portfolio-loader,
      .portfolio-loader *,
      .loader-lab,
      .loader-lab * {
        animation: none !important;
        transition-duration: 0.01ms !important;
      }
      .hero-name {
        transform: none !important;
      }
      .hero-name-cursor {
        animation: none !important;
      }
      .hero-name-word,
      .hero-name-word-text::before,
      .hero-name-word-field,
      .hero-name-word-field::before,
      .hero-name-word-field::after,
      .hero-name-word-frame,
      .hero-name-word-scan::before,
      .hero-name-word-scan::after {
        animation: none !important;
      }
      .hero-name-svg {
        transform: none;
      }
      .hero-name-hud {
        transform: none !important;
      }
      .hero-name-word-text::before {
        opacity: 0.14;
      }
      .hero-name-word-field,
      .hero-name-word-frame {
        opacity: 0.1;
      }
      .hero-name-word-scan::before,
      .hero-name-word-scan::after {
        opacity: 0;
      }
      .hero-name-text-reflect {
        animation: none;
      }
      .hero-circular-scan-glow,
      .hero-center-scan-glow,
      .hero-scifi-scan-glow {
        display: none;
      }
      .hero-name-text-solid {
        opacity: 1;
      }
      .hero-word-tile {
        animation: none;
        transform: none;
      }
    }

    /* ── Content-heavy sections: disable 3D flip, let content flow ── */
    #projects.glass-card,
    #experience.glass-card,
    #certifications.glass-card {
      overflow: visible;
      min-height: auto;
    }
    #projects .book-card-inner,
    #experience .book-card-inner,
    #certifications .book-card-inner {
      height: auto;
      transform: none !important;
      transition: none;
    }
    #projects .book-card-face,
    #experience .book-card-face,
    #certifications .book-card-face {
      position: relative;
      inset: auto;
    }
    #projects .book-card-back,
    #experience .book-card-back,
    #certifications .book-card-back {
      display: none;
    }
    #projects .section-content,
    #experience .section-content,
    #certifications .section-content {
      text-align: left;
      align-items: flex-start;
      min-height: auto;
    }

    /* ── Certification cards ── */
    .cert-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: clamp(0.75rem, 1.5vw, 1.25rem);
      width: 100%;
      max-width: 900px;
      margin: 0.5rem auto 0;
      align-items: start;
    }
    .cert-card {
      background: linear-gradient(160deg, rgba(20, 30, 55, 0.92), rgba(10, 14, 28, 0.96));
      border: 1px solid rgba(114, 239, 255, 0.18);
      border-radius: 12px;
      padding: 1rem 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
      box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
      transition: border-color 0.22s, box-shadow 0.22s;
    }
    .cert-card:hover {
      border-color: rgba(114, 239, 255, 0.42);
      box-shadow: 0 10px 32px rgba(0, 0, 0, 0.52);
    }
    .cert-issuer {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(114, 239, 255, 0.82);
    }
    .cert-card h4 {
      margin: 0;
      font-size: 0.97rem;
      font-weight: 600;
      color: #fff;
      line-height: 1.35;
    }
    .cert-date {
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.5);
      margin-top: 0.1rem;
    }

    /* ── Experience cards ── */
    .exp-list {
      display: flex;
      flex-direction: column;
      gap: clamp(0.75rem, 1.5vw, 1rem);
      width: 100%;
      max-width: 900px;
      margin: 0.5rem auto 0;
    }
    .exp-card {
      background: linear-gradient(160deg, rgba(20, 30, 55, 0.88), rgba(10, 14, 28, 0.94));
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-left: 3px solid rgba(114, 239, 255, 0.55);
      border-radius: 10px;
      padding: 0.9rem 1.2rem;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
      transition: border-color 0.22s, box-shadow 0.22s;
    }
    .exp-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      border-left-color: rgba(114, 239, 255, 0.85);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
    }
    .exp-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0.25rem;
    }
    .exp-card h4 {
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
    }
    .exp-duration {
      font-size: 0.78rem;
      color: rgba(114, 239, 255, 0.75);
      white-space: nowrap;
    }
    .exp-company {
      margin: 0;
      font-size: 0.88rem;
      color: rgba(255, 255, 255, 0.65);
    }
    .exp-card .project-tech {
      margin-top: 0.25rem;
      font-size: 0.82rem;
      color: rgba(255, 255, 255, 0.45);
    }

    /* ── Max-width override for experience & certifications sections ── */
    #experience.glass-card,
    #certifications.glass-card {
      max-width: 920px;
      margin-left: auto;
      margin-right: auto;
    }

    @media (max-width: 768px) {
      .cert-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      }
      .exp-header {
        flex-direction: column;
      }
      .exp-duration {
        white-space: normal;
      }
    }

    /* ── CTA secondary button (Book a Call) ── */
    .btn-cta-secondary {
      border-color: rgba(255, 255, 255, 0.28);
      color: rgba(255, 255, 255, 0.7);
      font-weight: 500;
      background: transparent;
      box-shadow: none;
    }
    .btn-cta-secondary::before {
      background-color: rgba(255, 255, 255, 0.9);
    }
    .btn-cta-secondary:hover {
      border-color: rgba(255, 255, 255, 0.55);
      color: #04131d;
    }

    /* ── Scroll progress bar (left edge) ── */
    #scrollProgress {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      width: 3px;
      background: rgba(255, 255, 255, 0.05);
      z-index: 25;
      pointer-events: none;
    }
    #scrollProgress::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--scroll-pct, 0%);
      background: linear-gradient(to bottom, #8ae8ff, #50fa7b);
      border-radius: 0 0 2px 2px;
      transition: height 0.08s linear;
    }
    @media (max-width: 768px) {
      #scrollProgress { display: none; }
    }

    /* ── Sticky navbar ── */
    #stickyNav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 22;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25rem;
      padding: 0.45rem 1rem;
      background: rgba(7, 17, 28, 0.88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(114, 239, 255, 0.12);
      opacity: 0;
      transform: translateY(-100%);
      transition: opacity 0.28s ease, transform 0.28s ease;
      pointer-events: none;
    }
    #stickyNav.is-visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    #stickyNav a {
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: rgba(255, 255, 255, 0.6);
      text-decoration: none;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      transition: color 0.2s ease, background 0.2s ease;
    }
    #stickyNav a:hover,
    #stickyNav a.is-active {
      color: #8ae8ff;
      background: rgba(114, 239, 255, 0.1);
    }
    @media (max-width: 480px) {
      #stickyNav { gap: 0; padding: 0.35rem 0.5rem; flex-wrap: wrap; justify-content: center; }
      #stickyNav a { padding: 0.25rem 0.45rem; font-size: 0.72rem; }
    }

    /* ── Hero avatar ── */
    .hero-avatar {
      margin-bottom: 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
    }
    .hero-avatar svg {
      width: 88px;
      height: 88px;
      filter: drop-shadow(0 0 18px rgba(114,239,255,0.22));
    }
    .hero-avatar-label {
      font-size: 0.68rem;
      color: rgba(255, 255, 255, 0.28);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin: 0;
    }

    /* ── Animated count-up number ── */
    .count-up {
      color: #8ae8ff;
      font-weight: 700;
    }

    /* ── Experience timeline ── */
    .exp-timeline {
      position: relative;
      padding-left: 1.75rem;
    }
    .exp-timeline::before {
      content: '';
      position: absolute;
      left: 0.45rem;
      top: 0.4rem;
      bottom: 0.4rem;
      width: 2px;
      background: linear-gradient(to bottom, rgba(114,239,255,0.55), rgba(114,239,255,0.06));
      border-radius: 1px;
    }
    .exp-timeline .exp-card {
      position: relative;
    }
    .exp-timeline .exp-card::before {
      content: '';
      position: absolute;
      left: -1.55rem;
      top: 1.05rem;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #07111c;
      border: 2px solid rgba(114, 239, 255, 0.75);
      box-shadow: 0 0 8px rgba(114, 239, 255, 0.35);
      z-index: 1;
    }

    /* ── Experience achievement bullets ── */
    .exp-achievements {
      margin: 0.35rem 0 0.3rem;
      padding-left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
      list-style: disc;
    }
    .exp-achievements li {
      font-size: 0.86rem;
      color: rgba(255, 255, 255, 0.68);
      line-height: 1.5;
    }
    .exp-achievements li::marker {
      color: rgba(114, 239, 255, 0.55);
    }

    /* ── Cert verify link ── */
    .cert-verify {
      display: inline-block;
      margin-top: 0.3rem;
      font-size: 0.73rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: rgba(114, 239, 255, 0.65);
      text-decoration: none;
      transition: color 0.2s ease;
    }
    .cert-verify:hover {
      color: rgba(114, 239, 255, 1);
    }

    /* ── Active nav button highlight ── */
    .button-group a.nav-active {
      border-color: rgba(114, 239, 255, 0.75);
      color: rgba(114, 239, 255, 1);
      background: rgba(114, 239, 255, 0.08);
    }

    /* ── Contact form ── */
    .contact-form {
      width: 100%;
      max-width: 560px;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: 1.25rem;
    }
    .contact-form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }
    .contact-form-field {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }
    .contact-form-field label {
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: rgba(114, 239, 255, 0.72);
    }
    .contact-form-field input,
    .contact-form-field select,
    .contact-form-field textarea {
      background: rgba(10, 20, 38, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      color: rgba(255, 255, 255, 0.92);
      font-size: 0.92rem;
      padding: 0.55rem 0.8rem;
      outline: none;
      transition: border-color 0.22s ease, box-shadow 0.22s ease;
      font-family: inherit;
      resize: none;
    }
    .contact-form-field input::placeholder,
    .contact-form-field textarea::placeholder {
      color: rgba(255, 255, 255, 0.28);
    }
    .contact-form-field input:focus,
    .contact-form-field select:focus,
    .contact-form-field textarea:focus {
      border-color: rgba(114, 239, 255, 0.55);
      box-shadow: 0 0 0 3px rgba(114, 239, 255, 0.08);
    }
    .contact-form-field select option {
      background: #07111c;
      color: #fff;
    }
    .contact-form-submit {
      align-self: flex-start;
      min-width: 160px;
    }

    /* Honeypot — invisible to humans, visible to bots */
    .cf-honey {
      position: absolute; left: -9999px; width: 1px; height: 1px;
      opacity: 0; pointer-events: none; tab-index: -1;
    }

    /* Validation states */
    .cf-invalid {
      border-color: rgba(255, 85, 85, 0.7) !important;
      box-shadow: 0 0 0 3px rgba(255, 85, 85, 0.1) !important;
    }
    .cf-error {
      font-size: 0.72rem; color: #ff5555;
      display: flex; align-items: center; gap: 0.3rem;
    }
    .cf-error::before { content: "⚠"; font-size: 0.7rem; }

    /* Success state */
    .cf-success {
      display: flex; flex-direction: column; align-items: flex-start;
      gap: 0.35rem; padding: 1.25rem 1.5rem;
      background: rgba(80,250,123,0.07);
      border: 1px solid rgba(80,250,123,0.3);
      border-radius: 12px; max-width: 560px;
      animation: cfSuccessIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
    }
    @keyframes cfSuccessIn {
      from { opacity: 0; transform: translateY(8px) scale(0.97); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    .cf-success-icon {
      font-size: 1.6rem; color: #50fa7b;
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(80,250,123,0.12);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 0.25rem;
    }
    .cf-success strong { font-size: 0.95rem; color: #50fa7b; }
    .cf-success span   { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

    @media (max-width: 768px) {
      .contact-form-row { grid-template-columns: 1fr; }
    }

    /* ── Back to top button ── */
    #backToTop {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 20;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(114, 239, 255, 0.45);
      background: rgba(7, 17, 28, 0.82);
      color: rgba(114, 239, 255, 0.9);
      font-size: 1.3rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.22s ease;
      backdrop-filter: blur(8px);
    }
    #backToTop.is-visible {
      opacity: 1;
      pointer-events: auto;
    }
    #backToTop:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.48);
      border-color: rgba(114, 239, 255, 0.75);
    }
    @media (max-width: 768px) {
      #backToTop { bottom: 1.25rem; right: 1.25rem; }
    }

    /* ── Skill tier legend and colored pills ── */
    .skill-tier-legend {
      display: flex;
      gap: 1rem;
      margin-bottom: 0.75rem;
      flex-wrap: wrap;
    }
    .tier-key {
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      display: flex;
      align-items: center;
      gap: 0.35rem;
      color: rgba(255, 255, 255, 0.52);
    }
    .tier-key::before {
      content: '';
      display: inline-block;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .tier-key[data-tier="core"]::before    { background: #50fa7b; }
    .tier-key[data-tier="skilled"]::before { background: #8ae8ff; }
    .tier-key[data-tier="growing"]::before { background: rgba(255,255,255,0.28); border: 1px solid rgba(255,255,255,0.35); }
    .skill-pill[data-tier="core"]    { border-color: rgba(80,250,123,0.45); color: rgba(210,255,225,0.95); }
    .skill-pill[data-tier="skilled"] { border-color: rgba(138,232,255,0.42); color: rgba(210,248,255,0.92); }
    .skill-pill[data-tier="growing"] { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.48); }

    /* ── Global focus ring ── */
    :focus-visible {
      outline: 2px solid rgba(114, 239, 255, 0.7);
      outline-offset: 3px;
      border-radius: 4px;
    }

    /* ── Print stylesheet ── */
    @media print {
      #bg-video,
      #overlay,
      #parrot-rain,
      .portfolio-loader,
      .audio-corner-toggle,
      #backToTop,
      #stickyNav,
      #scrollProgress,
      .button-group,
      .hero-avatar-label,
      .book-card-back { display: none !important; }

      * { animation: none !important; transition: none !important; }

      body {
        background: #fff !important;
        color: #111 !important;
      }

      .content { opacity: 1 !important; filter: none !important; }

      .glass-card {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        min-height: auto !important;
        margin: 0.5rem 0 !important;
        break-inside: avoid;
      }

      .hero-section {
        background: none !important;
        padding: 1rem 0 !important;
      }

      .hero-name-terminal,
      .hero-name-svg { display: none !important; }

      .hero-section::before {
        content: 'Subash Lama';
        display: block;
        font-size: 2rem;
        font-weight: 800;
        color: #111;
      }

      h1, h2, h3, h4 { color: #111 !important; }
      p, li, span { color: #333 !important; }

      a { color: #0066cc !important; }

      .skill-pill {
        border: 1px solid #999 !important;
        color: #333 !important;
        background: none !important;
      }

      .exp-card,
      .cert-card,
      .project-card {
        border: 1px solid #ddd !important;
        background: #fff !important;
        box-shadow: none !important;
        break-inside: avoid;
      }

      .footer { color: #555 !important; }
    }

    /* ── Skip to content link ── */
    .skip-to-content {
      position: fixed;
      top: -100px;
      left: 1rem;
      z-index: 9999;
      background: #8ae8ff;
      color: #07111c;
      font-weight: 700;
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
      border-radius: 0 0 8px 8px;
      text-decoration: none;
      transition: top 0.2s ease;
    }
    .skip-to-content:focus { top: 0; }

    /* ── Available badge ── */
    .available-badge {
      background: rgba(80, 250, 123, 0.12) !important;
      border: 1px solid rgba(80, 250, 123, 0.45) !important;
      color: rgba(80, 250, 123, 0.95) !important;
    }
    .available-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #50fa7b;
      margin-right: 0.35rem;
      vertical-align: middle;
      animation: pulse-dot 2s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.55; transform: scale(0.7); }
    }

    /* ── Working On section ── */
    #working-on .glass-card { max-width: 700px; }
    .working-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      text-align: left;
    }
    .working-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.82);
      line-height: 1.5;
      text-align: left;
    }
    .working-list li::before {
      content: "▹";
      color: #8ae8ff;
      flex-shrink: 0;
      margin-top: 0.05em;
    }

    /* ── Testimonials section ── */
    #testimonials .glass-card { max-width: 720px; }
    .testimonial-grid {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    .testimonial-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 1.25rem 1.5rem;
    }
    .testimonial-card blockquote {
      margin: 0 0 0.75rem 0;
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.65;
      font-style: italic;
    }
    .testimonial-attribution {
      font-size: 0.82rem;
      font-weight: 600;
      color: rgba(138, 232, 255, 0.75);
      letter-spacing: 0.03em;
    }
    .testimonial-card-linkedin {
      border-color: rgba(10, 102, 194, 0.35);
      background: rgba(10, 102, 194, 0.07);
    }
    .testimonial-linkedin-link {
      color: rgba(138, 232, 255, 0.85);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      transition: color 0.2s;
    }
    .testimonial-linkedin-link:hover { color: #8ae8ff; text-decoration: underline; }

    /* ── Contact icon links ── */
    .contact-icon-link {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s ease;
    }
    .contact-icon-link svg { flex-shrink: 0; }
    .contact-icon-link:hover { color: #8ae8ff; }
    .contact-detail-item {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.8);
    }
    .contact-detail-item svg { flex-shrink: 0; color: rgba(138, 232, 255, 0.65); }

    /* ── Footer icon links ── */
    .footer-icon-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: rgba(255, 255, 255, 0.65);
      text-decoration: none;
      font-size: 0.88rem;
      transition: color 0.2s ease;
    }
    .footer-icon-link:hover { color: #8ae8ff; }
    .footer-icon-link svg { width: 16px; height: 16px; flex-shrink: 0; }

    /* ── Ghost music link — barely visible, only for curious eyes ── */
    .footer-music-link {
      opacity: 1;
      color: #ff5500;
      text-decoration: none;
      font-size: 1rem;
      transition: opacity 0.4s ease, color 0.4s ease;
      margin-left: 0.25rem;
      user-select: none;
    }
    .footer-music-link:hover {
      opacity: 0.75;
      color: #ff5500;
    }

    /* ── Command palette ── */
    #commandPalette {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(4px);
    }
    #commandPalette[hidden] { display: none !important; }
    .cmd-panel {
      background: rgba(7, 17, 28, 0.96);
      border: 1px solid rgba(138, 232, 255, 0.22);
      border-radius: 14px;
      padding: 1.5rem 1.75rem;
      width: 100%;
      max-width: 420px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    }
    .cmd-panel h3 {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(138, 232, 255, 0.6);
      margin: 0 0 1rem 0;
    }
    .cmd-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .cmd-list li {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.75);
      padding: 0.4rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .cmd-list li:last-child { border-bottom: none; }
    .cmd-key {
      font-family: 'Courier New', monospace;
      font-size: 0.78rem;
      background: rgba(138, 232, 255, 0.1);
      border: 1px solid rgba(138, 232, 255, 0.25);
      border-radius: 4px;
      padding: 0.15rem 0.45rem;
      color: #8ae8ff;
      flex-shrink: 0;
    }
    .cmd-close {
      display: block;
      margin-top: 1.25rem;
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.35);
      text-align: center;
    }

    /* ── Command palette toggle button ── */
    #cmdToggle {
      position: fixed;
      bottom: 2rem;
      right: 5.5rem;
      z-index: 20;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 1px solid rgba(114, 239, 255, 0.35);
      background: rgba(7, 17, 28, 0.82);
      color: rgba(114, 239, 255, 0.8);
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }
    #cmdToggle:hover {
      border-color: rgba(114, 239, 255, 0.7);
      color: #8ae8ff;
      transform: scale(1.08);
    }

    /* ── Page transition ── */
    @keyframes page-fade-in {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    body { animation: page-fade-in 0.35s ease both; }

    /* ══════════════════════════════════════════════════════
       MOBILE FIXES — floating buttons · SVGs · ticker · flip
       ══════════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      /* Hide keyboard-only controls — useless on touch devices */
      #cmdToggle { display: none !important; }

      /* Fix audio toggle + backToTop overlap — move audio up */
      .audio-corner-toggle { bottom: 4rem !important; right: 1.25rem !important; }

      /* Light mode toggle — keep but move slightly */
      #lightModeToggle { bottom: 7rem !important; right: 1.25rem !important; }

      /* SVG diagrams: scale to fit, no horizontal overflow */
      .homelab-section,
      .skill-tree-section { overflow-x: hidden; }
      #homelabSvg,
      #skillTreeSvg { min-width: 0; width: 100%; height: auto; }

      /* Stats ticker — wrap to 2 columns on narrow screens */
      .stats-ticker { flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.2rem; }
      .st-sep { display: none; }

      /* Book card — show subtle tap hint */
      .book-card[data-flip-card]::after {
        content: "Tap to flip ↩";
        display: block;
        text-align: center;
        font-size: 0.62rem;
        color: rgba(138,232,255,0.35);
        margin-top: 0.4rem;
        letter-spacing: 0.06em;
        pointer-events: none;
      }

      /* Hire me float — compact on mobile */
      #hireMeFloat { padding: 0.5rem 0.75rem; gap: 0.4rem; }
      .hmf-sub { display: none; }
    }

    @media (max-width: 480px) {
      /* Stats ticker single column on very small screens */
      .stats-ticker { gap: 0.5rem; }
      .st-item { min-width: 80px; }
    }

    /* ═══════════════════════════════════════════════════════
       VISUAL OVERHAUL — cyberpunk bg · clean cards · no flip
       ═══════════════════════════════════════════════════════ */

    /* 1 ── Cyberpunk gradient background (replaces video) */
    body, html { background: #07111c; }
    body {
      background:
        radial-gradient(ellipse 120% 90% at 8% 3%,   rgba(80,250,123,0.065) 0%, transparent 48%),
        radial-gradient(ellipse 100% 80% at 90% 95%,  rgba(138,232,255,0.075) 0%, transparent 48%),
        radial-gradient(ellipse 70% 60% at 52% 48%,   rgba(114,239,255,0.028) 0%, transparent 58%),
        #07111c;
      background-attachment: fixed;
    }

    /* 2 ── Hide the video — CSS background is the new hero */
    #bg-video { display: none !important; }

    /* 3 ── Overlay: subtle cyan grid + scanlines */
    #overlay {
      background:
        linear-gradient(rgba(138,232,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138,232,255,0.035) 1px, transparent 1px),
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.045) 3px, rgba(0,0,0,0.045) 4px),
        rgba(7,17,28,0.3) !important;
      background-size: 52px 52px, 52px 52px, 100% 100%, 100% 100% !important;
    }

    /* 4 ── Glass cards: clean, tight, glowing */
    .glass-card {
      background: linear-gradient(155deg, rgba(10,18,32,0.9), rgba(6,11,22,0.8)) !important;
      border: 1px solid rgba(138,232,255,0.16) !important;
      border-radius: 14px !important;
      box-shadow:
        0 4px 24px rgba(0,0,0,0.45),
        0 0 0 1px rgba(138,232,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.04) !important;
      animation: none !important;
      min-height: 0 !important;
      height: auto !important;
      padding: clamp(1.25rem, 2.2vw, 1.85rem) !important;
      margin: 6px 0 !important;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
    }
    .glass-card:hover {
      transform: translateY(-5px) !important;
      border-color: rgba(138,232,255,0.32) !important;
      box-shadow:
        0 18px 50px rgba(0,0,0,0.55),
        0 0 0 1px rgba(138,232,255,0.22),
        0 0 30px rgba(138,232,255,0.07) !important;
      animation: none !important;
    }
    .glass-card::before, .glass-card::after { display: none !important; }

    /* 5 ── Disable flip cards — always show front in normal flow */
    .card-control-row,
    .card-flip-toggle { display: none !important; }

    .book-card {
      height: auto !important;
      perspective: none !important;
    }
    .book-card-inner {
      position: relative !important;
      transform: none !important;
      transition: none !important;
      height: auto !important;
      transform-style: flat !important;
    }
    .book-card-face {
      position: relative !important;
      inset: auto !important;
      transform: none !important;
      filter: none !important;
      opacity: 1 !important;
      height: auto !important;
      backface-visibility: visible !important;
    }
    .book-card-back { display: none !important; }

    /* 6 ── Tighten spacing between sections */
    .content   { gap: 0.5rem !important; padding-top: 48px !important; padding-left: 16px !important; padding-right: 16px !important; }
    section    { padding: 0.3rem 0 !important; }

    /* 7 ── Compact hero bottom gap */
    .hero-section { padding-bottom: 1rem !important; }

    /* 9 ── Section headings get a left cyan accent line */
    .section-content > h2,
    .section-content > h3 {
      position: relative;
      padding-left: 0.85rem;
    }
    .section-content > h2::before,
    .section-content > h3::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.12em;
      bottom: 0.12em;
      width: 3px;
      border-radius: 2px;
      background: linear-gradient(180deg, #8ae8ff 0%, #50fa7b 100%);
    }

    /* 10 ── Parrot rain slightly more visible on gradient bg */
    #parrot-rain.is-ready { opacity: 0.07 !important; }

    /* ═══════════════════════════════════════════════════════
       UPGRADES — orbs · typing · stats · accents · certs ·
                  glow · terminal · copy email
       ═══════════════════════════════════════════════════════ */

    /* ── Floating background orbs ── */
    .bg-orb {
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
      filter: blur(80px);
      will-change: transform;
    }
    .bg-orb-1 {
      width: 460px; height: 460px;
      top: -120px; left: -100px;
      background: radial-gradient(circle, rgba(80,250,123,0.28), transparent 68%);
      animation: orbDrift1 20s ease-in-out infinite;
    }
    .bg-orb-2 {
      width: 560px; height: 560px;
      top: 28%; right: -140px;
      background: radial-gradient(circle, rgba(138,232,255,0.22), transparent 68%);
      animation: orbDrift2 26s ease-in-out infinite;
    }
    .bg-orb-3 {
      width: 380px; height: 380px;
      bottom: 8%; left: 28%;
      background: radial-gradient(circle, rgba(114,239,255,0.18), transparent 68%);
      animation: orbDrift3 18s ease-in-out infinite;
    }
    @keyframes orbDrift1 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33%       { transform: translate(55px, 45px) scale(1.07); }
      66%       { transform: translate(-25px, 65px) scale(0.95); }
    }
    @keyframes orbDrift2 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      40%       { transform: translate(-65px, 55px) scale(1.05); }
      70%       { transform: translate(45px, -50px) scale(0.97); }
    }
    @keyframes orbDrift3 {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50%       { transform: translate(45px, -35px) scale(1.09); }
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-orb { animation: none !important; }
    }

    /* ── Hero typing animation ── */
    .typing-roles {
      color: #8ae8ff;
      font-weight: 700;
    }
    .typing-roles::after {
      content: "|";
      color: #50fa7b;
      font-weight: 300;
      margin-left: 1px;
      animation: typingCursorBlink 0.75s step-end infinite;
    }
    @keyframes typingCursorBlink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }

    /* ── Hero stats strip ── */
    .hero-stats {
      display: flex;
      justify-content: center;
      align-items: stretch;
      margin-top: 0.85rem;
      border: 1px solid rgba(138,232,255,0.15);
      border-radius: 12px;
      overflow: hidden;
      background: rgba(7,17,28,0.6);
      backdrop-filter: blur(14px);
      max-width: 480px;
      width: 100%;
    }
    .hero-stat {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0.65rem 0.5rem;
      gap: 0.12rem;
      border-right: 1px solid rgba(138,232,255,0.1);
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat-num {
      font-size: 1.22rem;
      font-weight: 800;
      color: #8ae8ff;
      line-height: 1;
      letter-spacing: -0.02em;
    }
    .hero-stat-lbl {
      font-size: 0.65rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: rgba(255,255,255,0.42);
    }

    /* ── Card top accent bars per section ── */
    #about.glass-card          { border-top: 2px solid rgba(138,232,255,0.65) !important; }
    #experience.glass-card     { border-top: 2px solid rgba(80,250,123,0.65) !important; }
    #projects.glass-card       { border-top: 2px solid rgba(189,147,249,0.6) !important; }
    #skills.glass-card         { border-top: 2px solid rgba(255,184,108,0.6) !important; }
    #certifications.glass-card { border-top: 2px solid rgba(80,250,123,0.55) !important; }
    #working-on.glass-card     { border-top: 2px solid rgba(255,121,198,0.55) !important; }
    #why-hire.glass-card       { border-top: 2px solid rgba(138,232,255,0.55) !important; }
    #testimonials.glass-card   { border-top: 2px solid rgba(255,184,108,0.45) !important; }
    #contact.glass-card        { border-top: 2px solid rgba(255,121,198,0.5) !important; }

    /* ── Cert card visual redesign ── */
    .cert-card {
      position: relative;
      overflow: hidden;
      padding-top: 1.1rem !important;
      background: rgba(8,16,28,0.72);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }
    .cert-card::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
    }
    .cert-card:hover {
      border-color: rgba(138,232,255,0.28) !important;
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }
    .cert-card[data-issuer="cisco"]::before  { background: linear-gradient(90deg, #1b9fd7, #52d1f0); }
    .cert-card[data-issuer="ibm"]::before    { background: linear-gradient(90deg, #0530ad, #4b6bef); }
    .cert-card[data-issuer="google"]::before { background: linear-gradient(90deg, #ea4335, #fbbc05, #34a853, #4285f4); }
    .cert-card[data-issuer="cisco"]  .cert-issuer { color: #52d1f0; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
    .cert-card[data-issuer="ibm"]    .cert-issuer { color: #4b6bef; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
    .cert-card[data-issuer="google"] .cert-issuer { color: #fbbc05; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
    .cert-id { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

    /* ── CTA resume button pulse glow ── */
    @keyframes resumeGlowPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(80,250,123,0), 0 2px 8px rgba(0,0,0,0.3); }
      50%       { box-shadow: 0 0 0 7px rgba(80,250,123,0.12), 0 2px 8px rgba(80,250,123,0.18); }
    }
    .btn-resume {
      border-color: rgba(80,250,123,0.6) !important;
      color: rgba(80,250,123,0.95) !important;
      animation: resumeGlowPulse 2.6s ease-in-out infinite;
    }
    .btn-resume:hover {
      background: rgba(80,250,123,0.1) !important;
      animation: none !important;
      box-shadow: 0 0 0 7px rgba(80,250,123,0.1), 0 2px 8px rgba(80,250,123,0.22) !important;
    }

    /* ── Easter terminal ── */
    #easterTerminal {
      position: fixed;
      inset: 0;
      z-index: 1002;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    #easterTerminal[hidden] { display: none !important; }
    .et-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
    }
    .et-window {
      position: relative;
      width: min(660px, 100%);
      background: #010b16;
      border: 1px solid rgba(80,250,123,0.3);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 32px 80px rgba(0,0,0,0.85), 0 0 50px rgba(80,250,123,0.06);
      font-family: 'Cascadia Code', 'Consolas', 'Fira Code', 'Courier New', monospace;
      font-size: 0.875rem;
    }
    .et-titlebar {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      padding: 0.55rem 0.9rem;
      background: rgba(80,250,123,0.05);
      border-bottom: 1px solid rgba(80,250,123,0.1);
    }
    .et-dots { display: flex; gap: 6px; }
    .et-dots span { width: 12px; height: 12px; border-radius: 50%; }
    .et-dots span:nth-child(1) { background: #ff5f57; }
    .et-dots span:nth-child(2) { background: #febc2e; }
    .et-dots span:nth-child(3) { background: #28c840; }
    .et-title {
      flex: 1;
      text-align: center;
      font-size: 0.78rem;
      color: rgba(80,250,123,0.65);
    }
    .et-close {
      background: none;
      border: none;
      color: rgba(255,255,255,0.35);
      font-size: 1.15rem;
      cursor: pointer;
      padding: 0 0.25rem;
      line-height: 1;
      transition: color 0.15s ease;
    }
    .et-close:hover { color: #fff; }
    .et-body {
      padding: 0.9rem 1rem;
      min-height: 200px;
      max-height: 340px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
    }
    .et-body .et-line   { margin: 0; color: rgba(80,250,123,0.88); white-space: pre-wrap; word-break: break-all; }
    .et-body .et-prompt { color: #8ae8ff; }
    .et-body .et-out    { color: rgba(255,255,255,0.75); }
    .et-body .et-err    { color: rgba(255,100,100,0.9); }
    .et-input-row {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.55rem 1rem;
      border-top: 1px solid rgba(80,250,123,0.1);
      background: rgba(0,0,0,0.35);
    }
    .et-prompt-label {
      color: #8ae8ff;
      font-size: 0.875rem;
      white-space: nowrap;
    }
    #etInput {
      flex: 1;
      background: none;
      border: none;
      outline: none;
      color: rgba(80,250,123,0.95);
      font-family: inherit;
      font-size: 0.875rem;
      caret-color: #50fa7b;
    }
    #etInput::placeholder { color: rgba(255,255,255,0.18); }

    /* ── Copy email tooltip ── */
    [data-copy-email] { cursor: pointer; position: relative; }
    [data-copy-email]::after {
      content: attr(data-copy-tip);
      position: absolute;
      bottom: calc(100% + 7px);
      left: 50%;
      transform: translateX(-50%);
      background: rgba(80,250,123,0.92);
      color: #07111c;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: 6px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    [data-copy-email][data-copy-tip]::after { opacity: 1; }

    /* ── Mobile tweaks for new components ── */
    @media (max-width: 600px) {
      .hero-stats { max-width: 100%; }
      .hero-stat-num { font-size: 1rem; }
      .bg-orb-1 { width: 260px; height: 260px; }
      .bg-orb-2 { width: 300px; height: 300px; }
      .bg-orb-3 { width: 220px; height: 220px; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK — glitch · tilt · marquee · bars ·
                         spotlight · HUD · border-trace · themes
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Glitch on hero name hover ── */
    @keyframes nameGlitch {
      0%,100% { filter: none; transform: none; }
      15%  { filter: drop-shadow(-3px 0 rgba(255,0,120,0.7)) drop-shadow(3px 0 rgba(0,230,255,0.6)); transform: skewX(-1.5deg) translateX(-2px); }
      30%  { filter: drop-shadow(2px 0 rgba(255,0,120,0.4)); transform: translateX(3px); }
      50%  { filter: none; transform: skewX(0.8deg); }
      70%  { filter: drop-shadow(-2px 0 rgba(80,250,123,0.5)) drop-shadow(2px 0 rgba(255,0,120,0.4)); transform: translateX(-1px); }
      85%  { filter: none; transform: none; }
    }
    .hero-content:hover .hero-name {
      animation: nameGlitch 0.45s linear;
    }

    /* ── 2. Neon border-trace on card hover (needs @property) ── */
    @property --trace-angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }
    .glass-card { --trace-angle: 0deg; }
    .glass-card::after {
      display: block !important;
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: 15px;
      padding: 1px;
      background: conic-gradient(from var(--trace-angle),
        transparent 0deg,
        transparent 320deg,
        rgba(138,232,255,0.6) 340deg,
        rgba(255,255,255,0.9) 352deg,
        transparent 360deg
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      pointer-events: none;
      z-index: 3;
      transition: opacity 0.35s ease;
    }
    .glass-card:hover::after {
      opacity: 1;
      animation: traceCard 2.2s linear infinite;
    }
    @keyframes traceCard {
      to { --trace-angle: 360deg; }
    }

    /* ── 3. Card mouse tilt — disable CSS hover transform so JS controls it ── */
    .glass-card:hover {
      transform: none !important;
    }
    .glass-card {
      transition: box-shadow 0.22s ease, border-color 0.22s ease !important;
    }

    /* ── 4. Skill bars ── */
    .skill-bars {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      margin-bottom: 1.4rem;
      padding-bottom: 1.2rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .skill-bar-item { display: flex; flex-direction: column; gap: 0.28rem; }
    .skill-bar-meta { display: flex; justify-content: space-between; align-items: center; }
    .skill-bar-label { font-size: 0.8rem; color: rgba(255,255,255,0.78); }
    .skill-bar-pct   { font-size: 0.72rem; font-weight: 700; color: #8ae8ff; }
    .skill-bar-track {
      height: 5px;
      background: rgba(255,255,255,0.07);
      border-radius: 999px;
      overflow: hidden;
    }
    .skill-bar-fill {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, #50fa7b 0%, #8ae8ff 100%);
      box-shadow: 0 0 10px rgba(80,250,123,0.5);
      transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ── 5. Skill marquee ── */
    .skill-marquee {
      width: 100%;
      overflow: hidden;
      padding: 0.55rem 0;
      margin: 0.4rem 0;
      background: rgba(7,17,28,0.45);
      border-top: 1px solid rgba(138,232,255,0.08);
      border-bottom: 1px solid rgba(138,232,255,0.08);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
      mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    }
    .skill-marquee-inner {
      display: flex;
      width: max-content;
      animation: marqueeScroll 32s linear infinite;
    }
    .skill-marquee-inner:hover { animation-play-state: paused; }
    .skill-marquee-track {
      display: flex;
      gap: 1.6rem;
      padding-right: 1.6rem;
      align-items: center;
      white-space: nowrap;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.42);
    }
    .skill-marquee-track span:not(.mq-dot):hover { color: #8ae8ff; cursor: default; }
    .mq-dot { color: #50fa7b; font-size: 0.45rem; opacity: 0.55; }
    @keyframes marqueeScroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }
    @media (prefers-reduced-motion: reduce) {
      .skill-marquee-inner { animation: none; }
    }

    /* ── 6. Spotlight cursor ── */
    #spotlight {
      position: fixed;
      width: 580px;
      height: 580px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(138,232,255,0.042) 0%, transparent 58%);
      pointer-events: none;
      z-index: 0;
      left: -290px;
      top: -290px;
      will-change: left, top;
      transition: left 0.1s ease-out, top 0.1s ease-out;
    }

    /* ── 7. HUD scan ring on avatar ── */
    .hero-avatar { position: relative; }
    .hero-avatar::before {
      content: "";
      position: absolute;
      inset: -12px;
      border-radius: 50%;
      border: 1px solid rgba(138,232,255,0.22);
      animation: hudPulse 3.2s ease-in-out infinite;
      pointer-events: none;
    }
    .hero-avatar::after {
      content: "";
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 1px dashed rgba(80,250,123,0.3);
      animation: hudSpin 10s linear infinite;
      pointer-events: none;
    }
    @keyframes hudPulse {
      0%,100% { transform: scale(1);    opacity: 0.55; }
      50%      { transform: scale(1.07); opacity: 1;    }
    }
    @keyframes hudSpin {
      to { transform: rotate(360deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-avatar::before, .hero-avatar::after { animation: none; }
    }

    /* ── 8. Theme switcher buttons ── */
    .theme-switcher {
      position: fixed;
      bottom: 2rem;
      left: 1.25rem;
      z-index: 20;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .theme-btn {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(7,17,28,0.82);
      color: rgba(255,255,255,0.55);
      font-size: 0.62rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }
    .theme-btn:hover         { border-color: rgba(138,232,255,0.6); color: #8ae8ff; transform: scale(1.08); }
    .theme-btn-active        { border-color: rgba(138,232,255,0.6) !important; color: #8ae8ff !important; }

    /* ── 9. Dracula theme overrides ── */
    body.theme-dracula { background: radial-gradient(ellipse 120% 90% at 8% 3%, rgba(189,147,249,0.07) 0%, transparent 48%), radial-gradient(ellipse 100% 80% at 90% 95%, rgba(255,121,198,0.07) 0%, transparent 48%), #1a0d2e; }
    body.theme-dracula .bg-orb-1 { background: radial-gradient(circle, rgba(189,147,249,0.3), transparent 68%); }
    body.theme-dracula .bg-orb-2 { background: radial-gradient(circle, rgba(255,121,198,0.22), transparent 68%); }
    body.theme-dracula .bg-orb-3 { background: radial-gradient(circle, rgba(189,147,249,0.18), transparent 68%); }
    body.theme-dracula .glass-card { border-color: rgba(189,147,249,0.18) !important; }
    body.theme-dracula .glass-card::after { background: conic-gradient(from var(--trace-angle), transparent 0deg, transparent 320deg, rgba(189,147,249,0.7) 340deg, rgba(255,121,198,0.9) 352deg, transparent 360deg); }
    body.theme-dracula .skill-bar-fill { background: linear-gradient(90deg, #bd93f9 0%, #ff79c6 100%); box-shadow: 0 0 10px rgba(189,147,249,0.5); }
    body.theme-dracula .typing-roles  { color: #bd93f9; }
    body.theme-dracula .hero-stat-num { color: #bd93f9; }
    body.theme-dracula #scrollProgress::after { background: linear-gradient(90deg, #bd93f9, #ff79c6); }
    body.theme-dracula .btn-resume    { border-color: rgba(189,147,249,0.6) !important; color: rgba(189,147,249,0.95) !important; animation: none !important; }
    body.theme-dracula .mq-dot        { color: #ff79c6; }
    body.theme-dracula .hero-avatar::before { border-color: rgba(189,147,249,0.28); }
    body.theme-dracula .hero-avatar::after  { border-color: rgba(255,121,198,0.3); }

    /* ── 10. Matrix theme overrides ── */
    body.theme-matrix { background: radial-gradient(ellipse 120% 90% at 8% 3%, rgba(57,255,20,0.07) 0%, transparent 48%), radial-gradient(ellipse 100% 80% at 90% 95%, rgba(0,255,136,0.07) 0%, transparent 48%), #000d02; }
    body.theme-matrix .bg-orb-1 { background: radial-gradient(circle, rgba(57,255,20,0.3), transparent 68%); }
    body.theme-matrix .bg-orb-2 { background: radial-gradient(circle, rgba(0,255,136,0.22), transparent 68%); }
    body.theme-matrix .bg-orb-3 { background: radial-gradient(circle, rgba(57,255,20,0.18), transparent 68%); }
    body.theme-matrix .glass-card { border-color: rgba(57,255,20,0.18) !important; }
    body.theme-matrix .glass-card::after { background: conic-gradient(from var(--trace-angle), transparent 0deg, transparent 320deg, rgba(57,255,20,0.7) 340deg, rgba(255,255,255,0.9) 352deg, transparent 360deg); }
    body.theme-matrix .skill-bar-fill { background: linear-gradient(90deg, #39ff14 0%, #00ff88 100%); box-shadow: 0 0 10px rgba(57,255,20,0.6); }
    body.theme-matrix .typing-roles  { color: #39ff14; }
    body.theme-matrix .hero-stat-num { color: #39ff14; }
    body.theme-matrix .btn-resume    { border-color: rgba(57,255,20,0.6) !important; color: rgba(57,255,20,0.95) !important; }
    body.theme-matrix .mq-dot        { color: #00ff88; }
    body.theme-matrix .hero-avatar::before { border-color: rgba(57,255,20,0.28); }
    body.theme-matrix .hero-avatar::after  { border-color: rgba(0,255,136,0.3); }
    body.theme-matrix #overlay { background: linear-gradient(rgba(0,255,20,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,20,0.018) 1px, transparent 1px), repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px), rgba(0,13,2,0.3) !important; background-size: 52px 52px, 52px 52px, 100% 100%, 100% 100% !important; }

    /* ── 11. Nord theme overrides ── */
    body.theme-nord { background: radial-gradient(ellipse 120% 90% at 8% 3%, rgba(136,192,208,0.08) 0%, transparent 48%), radial-gradient(ellipse 100% 80% at 90% 95%, rgba(129,161,193,0.07) 0%, transparent 48%), #2e3440; }
    body.theme-nord .bg-orb-1 { background: radial-gradient(circle, rgba(136,192,208,0.28), transparent 68%); }
    body.theme-nord .bg-orb-2 { background: radial-gradient(circle, rgba(129,161,193,0.22), transparent 68%); }
    body.theme-nord .bg-orb-3 { background: radial-gradient(circle, rgba(143,188,187,0.18), transparent 68%); }
    body.theme-nord .glass-card { border-color: rgba(136,192,208,0.18) !important; }
    body.theme-nord .glass-card::after { background: conic-gradient(from var(--trace-angle), transparent 0deg, transparent 320deg, rgba(136,192,208,0.7) 340deg, rgba(143,188,187,0.9) 352deg, transparent 360deg); }
    body.theme-nord .skill-bar-fill { background: linear-gradient(90deg, #88c0d0 0%, #8fbcbb 100%); box-shadow: 0 0 10px rgba(136,192,208,0.45); }
    body.theme-nord .typing-roles  { color: #88c0d0; }
    body.theme-nord .hero-stat-num { color: #88c0d0; }
    body.theme-nord #scrollProgress::after { background: linear-gradient(90deg, #88c0d0, #8fbcbb); }
    body.theme-nord .btn-resume    { border-color: rgba(136,192,208,0.6) !important; color: rgba(136,192,208,0.95) !important; animation: none !important; }
    body.theme-nord .mq-dot        { color: #8fbcbb; }
    body.theme-nord .hero-avatar::before { border-color: rgba(136,192,208,0.28); }
    body.theme-nord .hero-avatar::after  { border-color: rgba(143,188,187,0.3); }
    body.theme-nord ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #88c0d0, #8fbcbb); }
    body.theme-nord * { scrollbar-color: #88c0d0 #2e3440; }
    body.theme-nord .snd:hover, body.theme-nord .snd.active { background: #88c0d0; box-shadow: 0 0 8px rgba(136,192,208,0.7); }
    body.theme-nord .sec-ring-fill { stroke: #88c0d0; filter: drop-shadow(0 0 6px rgba(136,192,208,0.5)); }
    body.theme-nord .sec-ring-pct  { color: #88c0d0; }
    body.theme-nord .sw-bar        { background: linear-gradient(90deg, #88c0d0, #8fbcbb); }
    body.theme-nord #hireMeFloat   { border-color: rgba(136,192,208,0.3); }
    body.theme-nord .hmf-dot       { background: #88c0d0; box-shadow: 0 0 8px rgba(136,192,208,0.7); }
    body.theme-nord .hmf-cta       { color: #88c0d0; border-color: rgba(136,192,208,0.4); }

    @media (max-width: 600px) {
      .theme-switcher { bottom: 1.25rem; left: 0.75rem; }
      .theme-btn { width: 30px; height: 30px; font-size: 0.55rem; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 2 — particles · trail · scramble ·
       toast · konami · timeline · threat-feed · side-dots
       ═══════════════════════════════════════════════════════ */

    /* ── Custom glowing scrollbar (Webkit) ── */
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: #07111c; }
    ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #50fa7b, #8ae8ff); border-radius: 999px; }
    ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8ae8ff, #50fa7b); }
    * { scrollbar-width: thin; scrollbar-color: #50fa7b #07111c; }

    /* ── Particle network canvas ── */
    #particleNet {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.55;
    }

    /* ── Konami rain canvas ── */
    #konamiRain {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 9999;
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    #konamiRain.active { opacity: 1; }

    /* ── Cursor trail container ── */
    #cursorTrailCanvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
    .trail-dot {
      position: fixed;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      animation: trailFade 0.6s ease forwards;
    }
    @keyframes trailFade {
      0%   { opacity: 0.9; transform: translate(-50%,-50%) scale(1);    }
      100% { opacity: 0;   transform: translate(-50%,-50%) scale(0.2);  }
    }

    /* ── Side section nav dots ── */
    #sideNavDots {
      position: fixed;
      right: 1.1rem;
      top: 50%;
      transform: translateY(-50%);
      z-index: 18;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
    .snd {
      display: block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(138,232,255,0.2);
      transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
    }
    .snd:hover, .snd.active {
      background: #8ae8ff;
      box-shadow: 0 0 8px rgba(138,232,255,0.7);
      transform: scale(1.35);
    }
    @media (max-width: 768px) { #sideNavDots { display: none; } }

    /* ── Threat feed ticker ── */
    .threat-feed {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
      font-size: 0.72rem;
      font-family: monospace;
      color: rgba(255,255,255,0.45);
      background: rgba(7,17,28,0.6);
      border: 1px solid rgba(80,250,123,0.15);
      border-radius: 6px;
      padding: 0.25rem 0.7rem;
    }
    .tf-badge {
      font-size: 0.6rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: #50fa7b;
      background: rgba(80,250,123,0.12);
      border-radius: 4px;
      padding: 1px 5px;
      animation: tfBlink 2s step-end infinite;
    }
    @keyframes tfBlink { 50% { opacity: 0.3; } }
    .tf-text { color: rgba(255,255,255,0.55); }

    /* ── Achievement unlock toast ── */
    #achieveToast {
      position: fixed;
      top: 5rem;
      right: 1.25rem;
      z-index: 30;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      pointer-events: none;
    }
    .achieve-item {
      background: rgba(7,17,28,0.92);
      border: 1px solid rgba(80,250,123,0.35);
      border-left: 3px solid #50fa7b;
      border-radius: 8px;
      padding: 0.6rem 0.9rem;
      font-size: 0.75rem;
      color: rgba(255,255,255,0.82);
      max-width: 240px;
      backdrop-filter: blur(12px);
      animation: toastIn 0.45s cubic-bezier(0.22,1,0.36,1) forwards,
                 toastOut 0.4s ease 3.8s forwards;
      opacity: 0;
    }
    .achieve-icon { font-size: 1rem; margin-right: 0.4rem; }
    .achieve-title { font-weight: 700; color: #50fa7b; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
    @keyframes toastIn  { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
    @keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(100%); } }

    /* ── Tor visitor detection badge ── */
    #torBadge {
      position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 9000;
      display: flex; align-items: center; gap: 0.75rem;
      background: rgba(7,17,28,0.96); border: 1px solid rgba(130,100,220,0.5);
      border-radius: 14px; padding: 0.85rem 1rem;
      box-shadow: 0 8px 32px rgba(130,100,220,0.2), 0 0 0 1px rgba(130,100,220,0.15);
      max-width: 320px; opacity: 0; transform: translateX(-110%);
      transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
      backdrop-filter: blur(12px);
    }
    #torBadge[hidden] { display: none; }
    #torBadge.tor-badge--visible { opacity: 1; transform: translateX(0); }
    .tor-badge-icon { font-size: 1.6rem; flex-shrink: 0; }
    .tor-badge-body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
    .tor-badge-title { font-size: 0.78rem; font-weight: 800; color: #bd93f9; letter-spacing: 0.04em; }
    .tor-badge-sub   { font-size: 0.68rem; color: rgba(255,255,255,0.5); }
    .tor-badge-close {
      background: none; border: none; color: rgba(255,255,255,0.3);
      font-size: 1.1rem; cursor: pointer; padding: 0.1rem 0.25rem;
      line-height: 1; border-radius: 4px; transition: color 0.15s;
      flex-shrink: 0; align-self: flex-start;
    }
    .tor-badge-close:hover { color: rgba(255,255,255,0.8); }
    @media (max-width: 480px) {
      #torBadge { left: 0.75rem; right: 0.75rem; max-width: none; bottom: 1rem; }
    }

    /* ── Experience Timeline ── */
    .exp-timeline {
      position: relative;
      padding-left: 1.6rem;
    }
    .exp-timeline::before {
      content: "";
      position: absolute;
      left: 0;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: linear-gradient(180deg, #50fa7b 0%, #8ae8ff 50%, rgba(138,232,255,0.1) 100%);
      border-radius: 2px;
    }
    .exp-timeline .exp-card {
      position: relative;
      margin-bottom: 1.5rem;
    }
    .exp-timeline .exp-card::before {
      content: "";
      position: absolute;
      left: -1.85rem;
      top: 0.5rem;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #8ae8ff;
      border: 2px solid #07111c;
      box-shadow: 0 0 8px rgba(138,232,255,0.7);
    }
    .exp-timeline .exp-card:first-child::before {
      background: #50fa7b;
      box-shadow: 0 0 10px rgba(80,250,123,0.8);
    }

    /* ── Text scramble headings ── */
    [data-scramble] { display: inline-block; }
    [data-scramble].scrambling { color: rgba(138,232,255,0.65); }

    /* ── Scrollbar theme variants ── */
    body.theme-dracula ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #bd93f9, #ff79c6); }
    body.theme-dracula * { scrollbar-color: #bd93f9 #1a0d2e; }
    body.theme-matrix  ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #39ff14, #00ff88); }
    body.theme-matrix  * { scrollbar-color: #39ff14 #000d02; }

    /* ── Side dots theme variants ── */
    body.theme-dracula .snd:hover, body.theme-dracula .snd.active { background: #bd93f9; box-shadow: 0 0 8px rgba(189,147,249,0.7); }
    body.theme-matrix  .snd:hover, body.theme-matrix  .snd.active { background: #39ff14; box-shadow: 0 0 8px rgba(57,255,20,0.7); }

    @media (prefers-reduced-motion: reduce) {
      .trail-dot, #particleNet, #konamiRain { display: none !important; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 3 — glass-form · radar · section-counter
       hire-badge · light-mode · scroll-snap · print · visitor
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Glassmorphism contact form ── */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      background: rgba(7,17,28,0.6) !important;
      border: 1px solid rgba(138,232,255,0.18) !important;
      border-radius: 8px !important;
      color: rgba(255,255,255,0.9) !important;
      padding: 0.6rem 0.85rem !important;
      font-size: 0.85rem !important;
      backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
      outline: none !important;
      width: 100%;
    }
    .contact-form input::placeholder,
    .contact-form textarea::placeholder { color: rgba(255,255,255,0.28) !important; }
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
      border-color: rgba(138,232,255,0.55) !important;
      box-shadow: 0 0 0 3px rgba(138,232,255,0.1) !important;
    }
    .contact-form label { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0.3rem; display: block; }
    .contact-form-field { margin-bottom: 0.85rem; }
    .contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    @media (max-width: 600px) { .contact-form-row { grid-template-columns: 1fr; } }
    .contact-form-submit {
      margin-top: 0.5rem;
      border-color: rgba(80,250,123,0.5) !important;
      color: rgba(80,250,123,0.9) !important;
      transition: box-shadow 0.2s ease, background 0.2s ease !important;
    }
    .contact-form-submit:hover {
      background: rgba(80,250,123,0.1) !important;
      box-shadow: 0 0 14px rgba(80,250,123,0.25) !important;
    }
    .contact-form select option { background: #07111c; color: rgba(255,255,255,0.9); }

    /* ── 2. Section counter badge ── */
    .section-counter {
      position: absolute;
      top: 1rem;
      right: 1.25rem;
      font-size: 0.62rem;
      font-weight: 800;
      font-family: monospace;
      letter-spacing: 0.1em;
      color: rgba(138,232,255,0.35);
      pointer-events: none;
      z-index: 2;
    }
    .glass-card { position: relative; }

    /* ── 3. Cert card hover reveal ── */
    .cert-card { overflow: hidden; }
    .cert-card .cert-verify {
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      margin-top: 0.5rem;
      padding: 0.3rem 0.7rem;
      font-size: 0.72rem;
      font-weight: 700;
      border: 1px solid rgba(138,232,255,0.3);
      border-radius: 6px;
      color: #8ae8ff;
      text-decoration: none;
      background: rgba(138,232,255,0.05);
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }
    .cert-card:hover .cert-verify {
      background: rgba(138,232,255,0.14);
      border-color: rgba(138,232,255,0.6);
      transform: translateY(-2px);
    }
    .cert-card:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 12px 32px rgba(138,232,255,0.12), 0 0 0 1px rgba(138,232,255,0.25);
    }
    .cert-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }

    /* ── 4. Available for hire badge pulse ── */
    .available-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #50fa7b;
      margin-right: 0.4rem;
      animation: hirePulse 2s ease-in-out infinite;
      box-shadow: 0 0 0 0 rgba(80,250,123,0.5);
    }
    @keyframes hirePulse {
      0%   { box-shadow: 0 0 0 0 rgba(80,250,123,0.5); }
      70%  { box-shadow: 0 0 0 7px rgba(80,250,123,0); }
      100% { box-shadow: 0 0 0 0 rgba(80,250,123,0); }
    }
    .visitor-badge { font-family: monospace; font-size: 0.65rem; color: rgba(138,232,255,0.6); }
    .visitor-badge:empty { display: none; }

    /* ── 5. Skills radar canvas ── */
    #skillRadar {
      display: block;
      margin: 0 auto 1rem;
      max-width: 260px;
      filter: drop-shadow(0 0 12px rgba(80,250,123,0.18));
    }

    /* ── 7. Light mode toggle button ── */
    #lightModeToggle {
      position: fixed;
      bottom: 10rem;
      right: 1.25rem;
      z-index: 20;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(7,17,28,0.82);
      color: rgba(255,255,255,0.6);
      font-size: 1rem;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, transform 0.2s ease;
      display: flex; align-items: center; justify-content: center;
    }
    #lightModeToggle:hover { border-color: rgba(255,220,80,0.7); color: #ffd940; transform: rotate(20deg) scale(1.1); }

    /* ── 7. Light mode ── */
    body.light-mode {
      background: #f0f4f8 !important;
    }
    body.light-mode,
    body.light-mode .glass-card,
    body.light-mode .section-content,
    body.light-mode .contact-form input,
    body.light-mode .contact-form textarea,
    body.light-mode .contact-form select {
      color: #0d1b2a !important;
    }
    body.light-mode .glass-card {
      background: rgba(255,255,255,0.72) !important;
      border-color: rgba(7,17,28,0.12) !important;
      backdrop-filter: blur(12px);
    }
    body.light-mode .section-content h2,
    body.light-mode .section-content h3,
    body.light-mode .section-content h4 { color: #0d1b2a !important; }
    body.light-mode .section-content p,
    body.light-mode .section-content li  { color: #2a3a4a !important; }
    body.light-mode #overlay { background: rgba(240,244,248,0.1) !important; }
    body.light-mode .skill-pill { background: rgba(7,17,28,0.07) !important; color: #0d1b2a !important; }
    body.light-mode .exp-company,
    body.light-mode .exp-duration,
    body.light-mode .cert-date,
    body.light-mode .cert-id      { color: #4a6070 !important; }
    body.light-mode .hero-name-text-solid { fill: #0d1b2a !important; }
    body.light-mode #stickyNav    { background: rgba(240,244,248,0.92) !important; }
    body.light-mode #stickyNav a  { color: #0d1b2a !important; }
    body.light-mode .contact-form input,
    body.light-mode .contact-form select,
    body.light-mode .contact-form textarea {
      background: rgba(240,244,248,0.8) !important;
      border-color: rgba(7,17,28,0.2) !important;
      color: #0d1b2a !important;
    }
    body.light-mode .contact-form label { color: rgba(7,17,28,0.55) !important; }
    body.light-mode .contact-form input:focus,
    body.light-mode .contact-form select:focus,
    body.light-mode .contact-form textarea:focus {
      border-color: rgba(7,17,28,0.45) !important;
      box-shadow: 0 0 0 3px rgba(7,17,28,0.08) !important;
    }
    body.light-mode #lightModeToggle { background: rgba(240,244,248,0.9); border-color: rgba(7,17,28,0.2); }

    /* scroll-snap removed — proximity snap hijacks mobile momentum scrolling */

    /* ── 9. Print styles ── */
    @media print {
      #particleNet, #konamiRain, #cursorTrailCanvas, #spotlight,
      .bg-orb, #easterTerminal, #commandPalette, #themeSwitcher,
      #cmdToggle, #backToTop, #lightModeToggle, .audio-corner-toggle,
      #sideNavDots, .skill-marquee, .threat-feed, #achieveToast,
      nav#stickyNav, #scrollProgress, .portfolio-loader { display: none !important; }
      body, .content, .glass-card { background: #fff !important; color: #000 !important; }
      .glass-card { box-shadow: none !important; border: 1px solid #ccc !important; page-break-inside: avoid; }
      .hero-section { min-height: auto !important; }
      a { color: #000 !important; text-decoration: underline !important; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 4 — circuit · ring · hire-float ·
       stagger · tab-type · studying · hex · cert-toggle ·
       cmd-search · magnetic
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Circuit board canvas ── */
    #circuitBoard {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.22;
    }

    /* ── 2. Security ring ── */
    .skills-visual-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }
    .security-ring-wrap {
      position: relative;
      width: 120px;
      height: 120px;
      flex-shrink: 0;
    }
    .sec-ring-svg { display: block; }
    .sec-ring-bg {
      fill: none;
      stroke: rgba(138,232,255,0.1);
      stroke-width: 8;
    }
    .sec-ring-fill {
      fill: none;
      stroke: url(#secRingGrad);
      stroke-width: 8;
      stroke-linecap: round;
      stroke-dasharray: 301.6;
      stroke-dashoffset: 301.6;
      transform: rotate(-90deg);
      transform-origin: 60px 60px;
      transition: stroke-dashoffset 2s cubic-bezier(0.22,1,0.36,1);
      stroke: rgba(80,250,123,0.85);
      filter: drop-shadow(0 0 6px rgba(80,250,123,0.5));
    }
    .sec-ring-label {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      pointer-events: none;
    }
    .sec-ring-pct {
      font-size: 1.15rem;
      font-weight: 900;
      color: #50fa7b;
      line-height: 1;
    }
    .sec-ring-sub {
      font-size: 0.52rem;
      color: rgba(255,255,255,0.4);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 3px;
    }

    /* ── 3. Hire me floating card ── */
    #hireMeFloat {
      position: fixed;
      right: -320px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 25;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.7rem 1rem;
      background: rgba(7,17,28,0.9);
      border: 1px solid rgba(80,250,123,0.3);
      border-right: none;
      border-radius: 12px 0 0 12px;
      backdrop-filter: blur(12px);
      transition: right 0.55s cubic-bezier(0.22,1,0.36,1);
      min-width: 240px;
    }
    #hireMeFloat.visible { right: 0; }
    #hireMeFloat.hidden  { right: -320px; }
    .hmf-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #50fa7b;
      box-shadow: 0 0 8px rgba(80,250,123,0.7);
      flex-shrink: 0;
      animation: hirePulse 2s infinite;
    }
    .hmf-body { flex: 1; }
    .hmf-title { display: block; font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.9); }
    .hmf-sub   { display: block; font-size: 0.62rem; color: rgba(255,255,255,0.4); margin-top: 1px; }
    .hmf-cta {
      font-size: 0.7rem; font-weight: 700;
      color: #50fa7b; text-decoration: none;
      border: 1px solid rgba(80,250,123,0.4);
      border-radius: 6px; padding: 0.25rem 0.6rem;
      white-space: nowrap;
      transition: background 0.2s ease;
    }
    .hmf-cta:hover { background: rgba(80,250,123,0.1); }

    /* ── 4. Staggered content reveal ── */
    .stagger-item {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .stagger-item.stagger-in {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── 5. Currently studying widget ── */
    .studying-widget {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: rgba(7,17,28,0.55);
      border: 1px solid rgba(138,232,255,0.12);
      border-radius: 10px;
      padding: 0.45rem 0.8rem;
      margin-bottom: 0.75rem;
      max-width: 320px;
    }
    .sw-icon { font-size: 1.1rem; flex-shrink: 0; }
    .sw-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .sw-label { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(138,232,255,0.5); }
    .sw-text  { font-size: 0.75rem; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sw-bar-track {
      height: 3px; background: rgba(255,255,255,0.07);
      border-radius: 999px; overflow: hidden; width: 160px;
    }
    .sw-bar {
      height: 100%; border-radius: 999px;
      background: linear-gradient(90deg, #8ae8ff, #50fa7b);
      transition: width 1.5s cubic-bezier(0.22,1,0.36,1);
      width: 0;
    }
    .sw-bar--init { width: 40%; }

    /* ── 6. Hex skill honeycomb ── */
    .skill-hex-toggle {
      font-size: 0.65rem; font-weight: 700; color: rgba(138,232,255,0.55);
      background: none; border: 1px solid rgba(138,232,255,0.18);
      border-radius: 6px; padding: 0.2rem 0.55rem; cursor: pointer;
      margin-left: auto; display: block; margin-bottom: 0.5rem;
      transition: color 0.2s ease, border-color 0.2s ease;
    }
    .skill-hex-toggle:hover { color: #8ae8ff; border-color: rgba(138,232,255,0.5); }

    .skill-pills.hex-mode {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3rem 0.15rem;
      justify-content: flex-start;
    }
    .skill-pills.hex-mode .skill-pill {
      clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
      width: 72px; height: 64px;
      display: inline-flex; align-items: center; justify-content: center;
      text-align: center; font-size: 0.55rem !important;
      padding: 0 8px !important; border-radius: 0 !important;
      border: none !important;
    }
    .skill-pills.hex-mode .skill-pill:nth-child(even) { margin-top: 18px; }

    /* ── 7. Cert timeline view ── */
    .cert-view-toggle {
      display: flex; gap: 0.4rem; margin-bottom: 0.9rem;
    }
    .cvt-btn {
      font-size: 0.65rem; font-weight: 700;
      padding: 0.25rem 0.65rem; border-radius: 6px; cursor: pointer;
      border: 1px solid rgba(138,232,255,0.2);
      background: none; color: rgba(255,255,255,0.4);
      transition: all 0.2s ease;
    }
    .cvt-btn:hover, .cvt-btn.cvt-active {
      border-color: rgba(138,232,255,0.55); color: #8ae8ff;
      background: rgba(138,232,255,0.07);
    }
    .cert-list.timeline-view {
      display: flex; flex-direction: column; gap: 0;
      padding-left: 1.2rem;
      border-left: 2px solid rgba(138,232,255,0.15);
    }
    .cert-list.timeline-view .cert-card {
      position: relative;
      background: none !important;
      border: none !important;
      border-bottom: 1px solid rgba(255,255,255,0.05) !important;
      border-radius: 0 !important;
      padding: 0.7rem 0.8rem !important;
      display: flex; flex-direction: column; gap: 0.2rem;
      box-shadow: none !important;
    }
    .cert-list.timeline-view .cert-card::before { display: none !important; }
    .cert-list.timeline-view .cert-card::after {
      display: block !important;
      content: "";
      position: absolute;
      left: -1.45rem; top: 1rem;
      width: 9px; height: 9px;
      border-radius: 50%;
      background: #8ae8ff;
      box-shadow: 0 0 8px rgba(138,232,255,0.6);
      border: 2px solid #07111c;
      animation: none;
      -webkit-mask: none; mask: none;
      opacity: 1; inset: auto;
      padding: 0;
    }
    .cert-list.timeline-view .cert-card h4 { font-size: 0.82rem; color: rgba(255,255,255,0.85); }
    .cert-list.timeline-view .cert-issuer { font-size: 0.65rem; color: #8ae8ff; }
    .cert-list.timeline-view .cert-date { font-size: 0.65rem; color: rgba(255,255,255,0.35); }
    .cert-list.timeline-view .cert-verify { margin-top: 0; font-size: 0.68rem; }

    /* ── 8. Command palette search ── */
    .cmd-search {
      width: 100%;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(138,232,255,0.18);
      border-radius: 8px;
      color: rgba(255,255,255,0.85);
      font-size: 0.82rem;
      padding: 0.5rem 0.85rem;
      margin-bottom: 0.75rem;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .cmd-search:focus { border-color: rgba(138,232,255,0.5); }
    .cmd-search::placeholder { color: rgba(255,255,255,0.25); }
    #cmdList li[hidden] { display: none; }

    /* ── 9. Magnetic buttons — JS applies the transform; CSS smooths it ── */
    .btn-resume, .btn-cta-secondary {
      transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
      will-change: transform;
    }

    /* ── Theme variants ── */
    body.theme-dracula .sec-ring-fill { stroke: #bd93f9; filter: drop-shadow(0 0 6px rgba(189,147,249,0.5)); }
    body.theme-dracula .sec-ring-pct  { color: #bd93f9; }
    body.theme-dracula .sw-bar        { background: linear-gradient(90deg, #bd93f9, #ff79c6); }
    body.theme-dracula #hireMeFloat   { border-color: rgba(189,147,249,0.3); }
    body.theme-dracula .hmf-dot       { background: #bd93f9; box-shadow: 0 0 8px rgba(189,147,249,0.7); }
    body.theme-dracula .hmf-cta       { color: #bd93f9; border-color: rgba(189,147,249,0.4); }
    body.theme-matrix  .sec-ring-fill { stroke: #39ff14; filter: drop-shadow(0 0 6px rgba(57,255,20,0.5)); }
    body.theme-matrix  .sec-ring-pct  { color: #39ff14; }
    body.theme-matrix  .sw-bar        { background: linear-gradient(90deg, #39ff14, #00ff88); }
    body.theme-matrix  #hireMeFloat   { border-color: rgba(57,255,20,0.3); }
    body.theme-matrix  .hmf-dot       { background: #39ff14; box-shadow: 0 0 8px rgba(57,255,20,0.7); }
    body.theme-matrix  .hmf-cta       { color: #39ff14; border-color: rgba(57,255,20,0.4); }

    @media (max-width: 600px) {
      #hireMeFloat { display: none; }
      .skills-visual-row {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
      }
      #skillRadar {
        max-width: 200px;
        width: 200px;
      }
      .security-ring-wrap {
        width: 110px;
        height: 110px;
      }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 5 — cursor · grain · parallax · vcard ·
       rel-dates · recruiter · tag-filter · scroll-blur ·
       eq-viz · hue-shift
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Custom cursor — disabled (caused usability issues) ── */
    #customCursor { display: none !important; }

    /* ── 2. Film grain canvas ── */
    #filmGrain {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
      opacity: 0.032;
      mix-blend-mode: overlay;
    }

    /* ── 3. Hue shift layer ── */
    #hueShiftLayer {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0;
      background: transparent;
      mix-blend-mode: color;
      transition: background 0.8s ease, opacity 0.8s ease;
    }

    /* ── 4. vCard button ── */
    .vcard-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.9rem;
      margin-bottom: 1rem;
      font-size: 0.75rem;
      font-weight: 700;
      color: rgba(138,232,255,0.8);
      background: rgba(138,232,255,0.06);
      border: 1px solid rgba(138,232,255,0.28);
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }
    .vcard-btn:hover {
      background: rgba(138,232,255,0.14);
      border-color: rgba(138,232,255,0.55);
      transform: translateY(-2px);
    }
    .vcard-btn.copied { color: #50fa7b; border-color: rgba(80,250,123,0.5); }

    /* ── 5. Relative dates ── */
    .exp-rel-date {
      font-size: 0.62rem;
      color: rgba(138,232,255,0.4);
      margin-left: 0.4rem;
      font-style: italic;
    }

    /* ── 6. Recruiter modal ── */
    #recruiterModal {
      position: fixed;
      inset: 0;
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    #recruiterModal[hidden] { display: none; }
    .rcm-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(4px);
    }
    .rcm-panel {
      position: relative;
      z-index: 1;
      background: rgba(7,17,28,0.97);
      border: 1px solid rgba(80,250,123,0.3);
      border-radius: 14px;
      padding: 1.6rem;
      max-width: 480px;
      width: 90%;
      box-shadow: 0 0 40px rgba(80,250,123,0.1);
      animation: rcmIn 0.35s cubic-bezier(0.22,1,0.36,1);
    }
    @keyframes rcmIn { from { opacity: 0; transform: scale(0.92) translateY(16px); } to { opacity: 1; transform: none; } }
    .rcm-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.1rem;
    }
    .rcm-title { font-size: 0.9rem; font-weight: 800; color: #50fa7b; }
    .rcm-header button {
      background: none; border: none; color: rgba(255,255,255,0.4);
      font-size: 1.3rem; cursor: pointer; line-height: 1;
    }
    .rcm-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
    .rcm-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.8rem; color: rgba(255,255,255,0.78); line-height: 1.45; }
    .rcm-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
    .rcm-list strong { color: #8ae8ff; }
    .rcm-footer { display: flex; gap: 0.6rem; flex-wrap: wrap; }
    .rcm-cta {
      flex: 1;
      text-align: center;
      padding: 0.5rem 0.8rem;
      border-radius: 8px;
      font-size: 0.75rem;
      font-weight: 700;
      text-decoration: none;
      background: rgba(80,250,123,0.12);
      border: 1px solid rgba(80,250,123,0.4);
      color: #50fa7b;
      transition: background 0.2s ease;
    }
    .rcm-cta:hover { background: rgba(80,250,123,0.2); }
    .rcm-cta-secondary { background: rgba(138,232,255,0.08); border-color: rgba(138,232,255,0.3); color: #8ae8ff; }
    .rcm-cta-secondary:hover { background: rgba(138,232,255,0.15); }

    /* ── 7. Project tag filter ── */
    .project-tag-filters {
      display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem;
    }
    .ptf-label { font-size: 0.65rem; color: rgba(255,255,255,0.35); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
    .ptf-btn {
      font-size: 0.65rem; font-weight: 700;
      padding: 0.22rem 0.55rem; border-radius: 999px; cursor: pointer;
      border: 1px solid rgba(138,232,255,0.2);
      background: none; color: rgba(255,255,255,0.4);
      transition: all 0.18s ease;
    }
    .ptf-btn:hover, .ptf-btn.ptf-active {
      border-color: rgba(138,232,255,0.6); color: #8ae8ff; background: rgba(138,232,255,0.08);
    }
    .project-card { transition: opacity 0.3s ease, transform 0.3s ease; }
    .project-card.ptf-hidden { opacity: 0.18; transform: scale(0.97); pointer-events: none; }
    .project-card.ptf-match  { box-shadow: 0 0 0 1px rgba(80,250,123,0.35), 0 8px 24px rgba(80,250,123,0.1) !important; }

    /* ── 8. Scroll-velocity blur ── */
    .content { transition: filter 0.12s ease; }

    /* ── 9. Audio EQ visualizer ── */
    .audio-corner-toggle.eq-active { position: relative; }
    .eq-bars {
      display: none;
      position: absolute;
      bottom: 6px;
      left: 50%;
      transform: translateX(-50%);
      gap: 2px;
      height: 10px;
      align-items: flex-end;
    }
    .audio-corner-toggle.eq-active .eq-bars { display: flex; }
    .audio-corner-toggle.eq-active span:not(.eq-bars):not(.eq-bar) { display: none; }
    .eq-bar {
      width: 3px;
      background: #50fa7b;
      border-radius: 2px;
      animation: eqBounce 0.5s ease-in-out infinite alternate;
    }
    .eq-bar:nth-child(1) { animation-delay: 0s;    height: 4px; }
    .eq-bar:nth-child(2) { animation-delay: 0.12s; height: 8px; }
    .eq-bar:nth-child(3) { animation-delay: 0.24s; height: 5px; }
    .eq-bar:nth-child(4) { animation-delay: 0.08s; height: 9px; }
    @keyframes eqBounce {
      from { transform: scaleY(0.35); }
      to   { transform: scaleY(1);    }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 6 — btt-ring · wave · confetti ·
       tooltips · read-time · slider · focus-mode ·
       copy-url · hacker-score · bookmarks
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Back-to-top scroll ring ── */
    #backToTop { position: relative; width: 42px; height: 42px; padding: 0; overflow: visible; }
    .btt-ring-svg {
      position: absolute; inset: -3px;
      width: calc(100% + 6px); height: calc(100% + 6px);
      transform: rotate(-90deg);
      pointer-events: none;
    }
    .btt-ring-bg   { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 2.5; }
    .btt-ring-fill {
      fill: none; stroke: #50fa7b; stroke-width: 2.5;
      stroke-linecap: round;
      stroke-dasharray: 87.96;
      stroke-dashoffset: 87.96;
      transition: stroke-dashoffset 0.15s ease;
      filter: drop-shadow(0 0 4px rgba(80,250,123,0.6));
    }
    .btt-arrow { font-size: 1.1rem; line-height: 1; }

    /* ── 2. Hero wave divider ── */
    .hero-wave {
      width: 100%; line-height: 0;
      margin-top: -1px; overflow: hidden;
    }
    .hero-wave svg { width: 100%; height: 60px; display: block; }
    .wave-path { fill-opacity: 0; stroke-width: 1.5; }
    .wave-back  {
      stroke: rgba(138,232,255,0.12);
      animation: waveShift 9s ease-in-out infinite;
    }
    .wave-front {
      stroke: rgba(80,250,123,0.1);
      animation: waveShift 12s ease-in-out infinite reverse;
    }
    @keyframes waveShift {
      0%,100% { d: path("M0,35 C360,70 1080,0 1440,35 L1440,70 L0,70 Z"); }
      50%      { d: path("M0,20 C360,55 1080,15 1440,20 L1440,70 L0,70 Z"); }
    }
    @supports not (d: path("")) {
      .wave-back  { animation: waveOpacity 9s  ease-in-out infinite; }
      .wave-front { animation: waveOpacity 12s ease-in-out infinite reverse; }
      @keyframes waveOpacity { 0%,100% { opacity:0.6; } 50% { opacity:1; } }
    }

    /* ── 3. Confetti canvas ── */
    #confettiCanvas {
      position: fixed; inset: 0; width: 100%; height: 100%;
      pointer-events: none; z-index: 99998;
    }

    /* ── 4. Skill pill tooltips ── */
    .skill-pill { position: relative; }
    .pill-tip {
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: rgba(7,17,28,0.97);
      border: 1px solid rgba(138,232,255,0.28);
      border-radius: 8px;
      padding: 0.45rem 0.65rem;
      font-size: 0.68rem;
      color: rgba(255,255,255,0.8);
      white-space: nowrap;
      max-width: 240px;
      white-space: normal;
      text-align: center;
      z-index: 50;
      pointer-events: none;
      opacity: 0;
      transform: translateX(-50%) translateY(4px);
      transition: opacity 0.18s ease, transform 0.18s ease;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
    .skill-pill:hover .pill-tip,
    .skill-pill:focus .pill-tip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ── 5. Section reading time badge ── */
    .read-time-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.62rem;
      color: rgba(255,255,255,0.28);
      margin-left: 0.75rem;
      vertical-align: middle;
      font-weight: 500;
    }

    /* ── 6. Testimonials slider ── */
    .testimonial-list { position: relative; min-height: 140px; }
    .testimonial-card {
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .testimonial-card.ts-hidden {
      display: none;
    }
    .ts-dots {
      display: flex; gap: 0.4rem; justify-content: center; margin-top: 0.75rem;
    }
    .ts-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: rgba(255,255,255,0.18); border: none; cursor: pointer; padding: 0;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .ts-dot.active { background: #8ae8ff; transform: scale(1.3); }
    .ts-nav {
      display: flex; gap: 0.4rem; justify-content: center; margin-top: 0.5rem;
    }
    .ts-btn {
      background: none; border: 1px solid rgba(138,232,255,0.2); color: rgba(255,255,255,0.4);
      border-radius: 6px; padding: 0.15rem 0.5rem; font-size: 0.75rem; cursor: pointer;
      transition: border-color 0.2s ease, color 0.2s ease;
    }
    .ts-btn:hover { border-color: rgba(138,232,255,0.55); color: #8ae8ff; }

    /* ── 7. Focus / reading mode ── */
    body.focus-mode .glass-card { opacity: 0.18; transition: opacity 0.35s ease; }
    body.focus-mode .glass-card.focus-active { opacity: 1 !important; z-index: 10; }
    body.focus-mode::after {
      content: "Press Esc to exit focus mode";
      position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
      font-size: 0.68rem; color: rgba(255,255,255,0.35);
      background: rgba(7,17,28,0.8); padding: 0.3rem 0.8rem; border-radius: 20px;
      pointer-events: none; z-index: 100;
    }
    [data-scramble] { cursor: pointer; }

    /* ── 8. Copy profile URL badge ── */
    .copy-url-badge {
      cursor: pointer; background: none;
      border: 1px solid rgba(138,232,255,0.18);
      font-size: 0.7rem; transition: border-color 0.2s ease, color 0.2s ease;
    }
    .copy-url-badge:hover { border-color: rgba(138,232,255,0.55); color: #8ae8ff; }

    /* ── 9. Hacker score HUD ── */
    #hackerScore {
      position: fixed; top: 1.1rem; left: 1.1rem;
      z-index: 18; display: none;
      align-items: center; gap: 0.3rem;
      background: rgba(7,17,28,0.85);
      border: 1px solid rgba(80,250,123,0.2);
      border-radius: 8px; padding: 0.25rem 0.65rem;
      font-family: monospace; font-size: 0.68rem;
      backdrop-filter: blur(8px);
    }
    #hackerScore.visible { display: flex; }
    .hs-label { color: rgba(80,250,123,0.55); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; }
    #hsValue  { color: #50fa7b; font-weight: 900; font-size: 0.82rem; }
    .hs-delta {
      color: #8ae8ff; font-size: 0.62rem; font-weight: 700;
      opacity: 0; transition: opacity 0.3s ease;
    }
    .hs-delta.show { opacity: 1; }

    /* ── 10. Bookmark system ── */
    #bkmToggle {
      position: fixed; bottom: 13.5rem; right: 1.25rem; z-index: 20;
      width: 36px; height: 36px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(7,17,28,0.82); color: rgba(255,255,255,0.6);
      font-size: 0.9rem; cursor: pointer; backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, transform 0.2s ease;
      display: flex; align-items: center; justify-content: center;
    }
    #bkmToggle:hover { border-color: rgba(255,184,108,0.6); transform: scale(1.1); }
    #bookmarkPanel {
      position: fixed; right: 4rem; bottom: 13.5rem; z-index: 21;
      background: rgba(7,17,28,0.95); border: 1px solid rgba(255,184,108,0.25);
      border-radius: 12px; padding: 0.75rem; min-width: 220px;
      backdrop-filter: blur(12px); box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    }
    #bookmarkPanel[hidden] { display: none; }
    .bkm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
    .bkm-title  { font-size: 0.72rem; font-weight: 800; color: rgba(255,184,108,0.85); }
    .bkm-header button { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1rem; cursor: pointer; }
    .bkm-list   { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
    .bkm-item   { display: flex; align-items: center; justify-content: space-between; }
    .bkm-item a { font-size: 0.74rem; color: rgba(255,255,255,0.7); text-decoration: none; }
    .bkm-item a:hover { color: #8ae8ff; }
    .bkm-item button { background: none; border: none; color: rgba(255,255,255,0.25); font-size: 0.7rem; cursor: pointer; }
    .bkm-empty  { font-size: 0.68rem; color: rgba(255,255,255,0.25); margin: 0; text-align: center; }
    .section-pin {
      position: absolute; top: 1rem; right: 3.5rem;
      background: none; border: none; color: rgba(255,255,255,0.2);
      font-size: 0.82rem; cursor: pointer; z-index: 5;
      transition: color 0.2s ease, transform 0.2s ease;
      padding: 0;
    }
    .section-pin:hover, .section-pin.pinned { color: rgba(255,184,108,0.85); transform: scale(1.2); }

    @media (max-width: 768px) {
      #hackerScore { top: 0.6rem; left: 0.6rem; }
      #bookmarkPanel { right: 0.5rem; bottom: 16rem; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 7 — profile-strength · pitch-btn ·
       horizontal-timeline · tech-stack-grid · sig-modal ·
       search-overlay · analytics-panel · tour · pres-mode ·
       copy-as-markdown
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Profile strength meter ── */
    .profile-strength {
      display: flex; align-items: center; gap: 0.55rem;
      margin: 0.6rem 0 0.5rem; flex-wrap: wrap;
    }
    .ps-label {
      font-size: 0.62rem; font-weight: 800; color: rgba(255,255,255,0.45);
      text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
    }
    .ps-bar-track {
      flex: 1; min-width: 80px; height: 5px;
      background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden;
    }
    .ps-bar-fill {
      height: 100%; width: 0; border-radius: 99px;
      background: linear-gradient(90deg, #50fa7b, #8ae8ff);
      transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
      box-shadow: 0 0 8px rgba(80,250,123,0.4);
    }
    .ps-pct { font-size: 0.62rem; font-weight: 900; color: #50fa7b; white-space: nowrap; min-width: 2.4em; }

    /* ── 2. Pitch button ── */
    .pitch-btn {
      border-color: rgba(138,232,255,0.4) !important; color: #8ae8ff !important;
      font-size: 0.8rem !important; padding: 0.35rem 0.9rem !important;
      border-radius: 8px !important; transition: background 0.25s ease, box-shadow 0.25s ease !important;
    }
    .pitch-btn:hover { background: rgba(138,232,255,0.1) !important; box-shadow: 0 0 14px rgba(138,232,255,0.25) !important; }
    .pitch-btn.pitching { border-color: rgba(80,250,123,0.6) !important; color: #50fa7b !important; box-shadow: 0 0 14px rgba(80,250,123,0.3) !important; }

    /* ── 3. Horizontal career timeline ── */
    .exp-view-toggle { display: flex; gap: 0.4rem; margin-bottom: 1.1rem; }
    .cvt-btn {
      font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.75rem;
      border: 1px solid rgba(255,255,255,0.15); border-radius: 7px;
      background: none; color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.18s ease;
    }
    .cvt-btn:hover { border-color: rgba(138,232,255,0.45); color: #8ae8ff; background: rgba(138,232,255,0.06); }
    .cvt-btn.cvt-active { border-color: rgba(138,232,255,0.7); color: #8ae8ff; background: rgba(138,232,255,0.1); }
    .exp-horizontal {
      display: flex; gap: 0; overflow-x: auto; padding-bottom: 1rem;
      scrollbar-width: thin; scrollbar-color: rgba(138,232,255,0.3) transparent; position: relative;
    }
    .exp-horizontal::before {
      content: ""; position: absolute; top: 2.1rem; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, rgba(138,232,255,0.08), rgba(138,232,255,0.35) 50%, rgba(138,232,255,0.08));
      pointer-events: none;
    }
    .exp-h-item { flex: 0 0 210px; display: flex; flex-direction: column; align-items: center; padding: 0 0.75rem; position: relative; cursor: default; }
    .exp-h-dot {
      width: 14px; height: 14px; border-radius: 50%;
      border: 2px solid #8ae8ff; background: #07111c;
      box-shadow: 0 0 10px rgba(138,232,255,0.45);
      flex-shrink: 0; z-index: 1; transition: transform 0.2s ease; margin-bottom: 0.7rem;
    }
    .exp-h-item:hover .exp-h-dot { transform: scale(1.3); }
    .exp-h-year { font-size: 0.58rem; font-weight: 800; color: rgba(138,232,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.35rem; }
    .exp-h-title { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.9); text-align: center; margin-bottom: 0.15rem; }
    .exp-h-co    { font-size: 0.62rem; color: rgba(255,255,255,0.45); text-align: center; }

    /* ── 4. Tech stack grid ── */
    .tech-stack-grid { display: grid !important; gap: 0.6rem; grid-template-columns: repeat(5, 1fr); margin-top: 1.25rem; }
    .tsg-item {
      display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
      padding: 0.65rem 0.4rem; background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; cursor: default;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }
    .tsg-item:hover { border-color: rgba(138,232,255,0.4); background: rgba(138,232,255,0.05); transform: translateY(-3px); }
    .tsg-mono {
      width: 32px; height: 32px; border-radius: 7px;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.65rem; font-weight: 900; letter-spacing: 0.02em; font-family: monospace;
    }
    .tsg-mono--wz { background: rgba(138,232,255,0.15); color: #8ae8ff; }
    .tsg-mono--sr { background: rgba(255,136,68,0.15);  color: #ff8844; }
    .tsg-mono--sm { background: rgba(80,250,123,0.15);  color: #50fa7b; }
    .tsg-mono--dk { background: rgba(13,183,237,0.15);  color: #0db7ed; }
    .tsg-mono--gh { background: rgba(189,147,249,0.15); color: #bd93f9; }
    .tsg-mono--py { background: rgba(255,212,59,0.15);  color: #ffd43b; }
    .tsg-mono--tf { background: rgba(100,76,228,0.15);  color: #7b5fb8; }
    .tsg-mono--cn { background: rgba(27,159,215,0.15);  color: #1b9fd7; }
    .tsg-mono--lx { background: rgba(255,255,255,0.1);  color: rgba(255,255,255,0.6); }
    .tsg-mono--ad { background: rgba(0,114,198,0.15);   color: #0072c6; }
    .tsg-name { font-size: 0.58rem; color: rgba(255,255,255,0.55); text-align: center; line-height: 1.2; }

    /* ── 5. Email signature modal ── */
    #sigModal { position: fixed; inset: 0; z-index: 10010; display: flex; align-items: center; justify-content: center; }
    #sigModal[hidden] { display: none; }
    .sig-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); cursor: pointer; }
    .sig-panel {
      position: relative; z-index: 1; background: rgba(7,17,28,0.97);
      border: 1px solid rgba(80,250,123,0.3); border-radius: 14px;
      padding: 1.5rem 1.75rem; max-width: 520px; width: 90vw; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .sig-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
    .sig-title  { font-size: 0.9rem; font-weight: 800; color: #50fa7b; }
    .sig-header button { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1.3rem; cursor: pointer; line-height: 1; }
    .sig-header button:hover { color: #fff; }
    .sig-preview {
      background: #ffffff; border-radius: 8px; padding: 1rem 1.25rem;
      color: #222; font-size: 0.8rem; line-height: 1.5; margin-bottom: 0.9rem; min-height: 100px;
    }
    .sig-copy-btn {
      width: 100%; padding: 0.55rem; font-size: 0.82rem; font-weight: 700;
      background: rgba(80,250,123,0.12); border: 1px solid rgba(80,250,123,0.45);
      border-radius: 8px; color: #50fa7b; cursor: pointer; transition: background 0.2s ease;
    }
    .sig-copy-btn:hover { background: rgba(80,250,123,0.22); }
    .sig-copy-btn.copied { background: rgba(80,250,123,0.3); }
    .sig-hint { font-size: 0.62rem; color: rgba(255,255,255,0.3); margin: 0.6rem 0 0; text-align: center; }

    /* ── 6. Full-page search overlay ── */
    #searchOverlay { position: fixed; inset: 0; z-index: 10020; display: flex; align-items: flex-start; justify-content: center; padding-top: 6vh; }
    #searchOverlay[hidden] { display: none; }
    .so-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(8px); cursor: pointer; }
    .so-panel {
      position: relative; z-index: 1; background: rgba(7,17,28,0.98);
      border: 1px solid rgba(138,232,255,0.25); border-radius: 14px;
      width: 90vw; max-width: 640px; box-shadow: 0 24px 64px rgba(0,0,0,0.55); overflow: hidden;
    }
    .so-header { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .so-icon { font-size: 1rem; flex-shrink: 0; opacity: 0.6; }
    #soInput { flex: 1; background: none; border: none; outline: none; font-size: 1rem; color: rgba(255,255,255,0.9); font-family: monospace; }
    #soInput::placeholder { color: rgba(255,255,255,0.25); }
    #soClose { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1.3rem; cursor: pointer; line-height: 1; }
    #soClose:hover { color: #fff; }
    .so-results { max-height: 55vh; overflow-y: auto; padding: 0.5rem 0; scrollbar-width: thin; scrollbar-color: rgba(138,232,255,0.2) transparent; }
    .so-result { display: block; padding: 0.55rem 1rem; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s ease; }
    .so-result:hover, .so-result.so-active { background: rgba(138,232,255,0.07); }
    .so-result-section { font-size: 0.58rem; font-weight: 700; color: rgba(138,232,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.15rem; }
    .so-result-text { font-size: 0.8rem; color: rgba(255,255,255,0.8); line-height: 1.4; }
    .so-result-text mark { background: rgba(80,250,123,0.2); color: #50fa7b; border-radius: 2px; padding: 0 2px; }
    .so-empty { padding: 2rem 1rem; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.25); }

    /* ── 7. Analytics panel ── */
    #analyticsPanel { position: fixed; inset: 0; z-index: 10015; display: flex; align-items: center; justify-content: center; }
    #analyticsPanel[hidden] { display: none; }
    .ap-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); cursor: pointer; }
    .ap-panel {
      position: relative; z-index: 1; background: rgba(7,17,28,0.97);
      border: 1px solid rgba(138,232,255,0.25); border-radius: 14px;
      padding: 1.5rem 1.75rem; max-width: 460px; width: 90vw; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .ap-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
    .ap-title  { font-size: 0.88rem; font-weight: 800; color: #8ae8ff; }
    .ap-header button { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 1.3rem; cursor: pointer; }
    .ap-header button:hover { color: #fff; }
    .ap-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
    .ap-stat {
      display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px; padding: 0.75rem 0.5rem;
    }
    .ap-val { font-size: 1.25rem; font-weight: 900; color: #50fa7b; line-height: 1; }
    .ap-lbl { font-size: 0.55rem; color: rgba(255,255,255,0.4); text-align: center; text-transform: uppercase; letter-spacing: 0.07em; }
    .ap-bar-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.25rem; }
    .ap-bar-lbl { font-size: 0.62rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
    .ap-bar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
    .ap-bar-fill  { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #8ae8ff, #50fa7b); transition: width 0.8s ease; }
    .ap-bar-pct   { font-size: 0.62rem; font-weight: 800; color: #8ae8ff; min-width: 2.5em; }

    /* ── 8. Guided tour overlay ── */
    #tourOverlay { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10030; pointer-events: none; }
    #tourOverlay[hidden] { display: none; }
    .to-card {
      pointer-events: auto; background: rgba(7,17,28,0.97);
      border: 1px solid rgba(80,250,123,0.3); border-radius: 14px;
      padding: 1rem 1.25rem; max-width: 360px; width: 90vw; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    }
    .to-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
    .to-step   { font-size: 0.58rem; font-weight: 800; color: rgba(80,250,123,0.55); text-transform: uppercase; letter-spacing: 0.1em; }
    .to-header button { background: none; border: none; color: rgba(255,255,255,0.35); font-size: 1.1rem; cursor: pointer; }
    .to-title  { display: block; font-size: 0.82rem; font-weight: 800; color: #50fa7b; margin-bottom: 0.35rem; }
    .to-tip    { font-size: 0.75rem; color: rgba(255,255,255,0.65); margin: 0 0 0.8rem; line-height: 1.5; }
    .to-footer { display: flex; gap: 0.4rem; flex-wrap: wrap; }
    .to-btn { font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.75rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 7px; background: none; color: rgba(255,255,255,0.55); cursor: pointer; transition: all 0.18s ease; }
    .to-btn:hover { border-color: rgba(80,250,123,0.4); color: #50fa7b; }
    .to-btn-primary { border-color: rgba(80,250,123,0.5); color: #50fa7b; background: rgba(80,250,123,0.06); }
    .to-btn-primary:hover { background: rgba(80,250,123,0.14); }
    .to-btn-ghost { border-color: transparent; color: rgba(255,255,255,0.3); }
    .to-btn-ghost:hover { color: rgba(255,255,255,0.6); }

    /* ── 9. Presentation mode ── */
    body.presentation-mode #parrot-rain,
    body.presentation-mode #particleNet,
    body.presentation-mode #circuitBoard,
    body.presentation-mode #filmGrain,
    body.presentation-mode #hueShiftLayer,
    body.presentation-mode .orb,
    body.presentation-mode #sideNavDots,
    body.presentation-mode #hackerScore,
    body.presentation-mode #bkmToggle,
    body.presentation-mode #hireMeFloat,
    body.presentation-mode #backToTop,
    body.presentation-mode .audio-corner-toggle,
    body.presentation-mode #lightModeToggle,
    body.presentation-mode #themeSwitcher { display: none !important; }
    body.presentation-mode .hero-section { padding: 5rem 0 3rem !important; }
    body.presentation-mode h1, body.presentation-mode h2 { font-size: clamp(2.2rem,5vw,3.4rem) !important; }
    body.presentation-mode p, body.presentation-mode .card-text { font-size: 1.05rem !important; line-height: 1.75 !important; }
    body.presentation-mode section { padding: 3.5rem 0 !important; }
    .pres-indicator {
      position: fixed; top: 0.8rem; left: 50%; transform: translateX(-50%);
      background: rgba(80,250,123,0.12); border: 1px solid rgba(80,250,123,0.35);
      border-radius: 8px; padding: 0.3rem 0.85rem;
      font-size: 0.65rem; font-weight: 800; color: #50fa7b;
      text-transform: uppercase; letter-spacing: 0.1em; z-index: 500; pointer-events: none;
    }

    /* ── 10. Copy-as-markdown buttons ── */
    .exp-md-btn {
      position: absolute; top: 0.85rem; right: 0.85rem;
      background: none; border: 1px solid rgba(255,255,255,0.1);
      border-radius: 6px; color: rgba(255,255,255,0.25);
      font-size: 0.6rem; font-weight: 700; cursor: pointer; padding: 0.18rem 0.45rem;
      transition: all 0.18s ease;
    }
    .exp-md-btn:hover { border-color: rgba(138,232,255,0.4); color: #8ae8ff; background: rgba(138,232,255,0.06); }
    .exp-md-btn.md-copied { border-color: rgba(80,250,123,0.4); color: #50fa7b; }
    .exp-card-wrap { position: relative; }

    @media (max-width: 768px) {
      .tech-stack-grid { grid-template-columns: repeat(4, 1fr) !important; }
    }
    @media (max-width: 576px) {
      .tech-stack-grid { grid-template-columns: repeat(3, 1fr) !important; }
      .ap-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 8 — stats-ticker · homelab · darkweb ·
       skill-tree · neon-spotlight · cert-stamp · screensaver ·
       sound-toggle · cipher-decode · progress-rings
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Live Stats Ticker ── */
    .stats-ticker {
      display: flex; align-items: center; gap: 0.5rem;
      flex-wrap: wrap; margin: 0.6rem 0 0.5rem;
    }
    .st-item { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }
    .st-num {
      font-size: 1.15rem; font-weight: 900; color: #50fa7b;
      font-family: monospace; line-height: 1;
      text-shadow: 0 0 10px rgba(80,250,123,0.5);
    }
    .st-lbl { font-size: 0.52rem; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; }
    .st-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }

    /* ── 2. Homelab Network Diagram ── */
    .homelab-section { margin-top: 1.5rem; }
    .homelab-title { font-size: 0.75rem; font-weight: 800; color: rgba(138,232,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
    .homelab-caps {
      list-style: none; margin: 0.75rem 0 0; padding: 0;
      display: flex; flex-direction: column; gap: 0.3rem;
    }
    .homelab-caps li {
      font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.5;
      padding-left: 0.25rem;
    }
    .homelab-caps li:last-child { color: rgba(189,147,249,0.85); }
    #homelabSvg, #skillTreeSvg { width: 100%; height: auto; overflow: visible; }
    .hl-line { stroke: rgba(138,232,255,0.2); stroke-width: 1.5; stroke-dasharray: 4 3; }
    .hl-line.hl-active { stroke: rgba(80,250,123,0.6); stroke-dasharray: none; animation: hlPulse 1.5s ease-in-out infinite; }
    @keyframes hlPulse { 0%,100% { stroke-opacity:0.6; } 50% { stroke-opacity:1; } }
    .hl-circle { fill: rgba(7,17,28,0.9); stroke-width: 2; transition: filter 0.2s ease; }
    .hl-c-red    { stroke: #ff5555; }
    .hl-c-orange { stroke: #ff8844; }
    .hl-c-blue   { stroke: #8ae8ff; }
    .hl-c-green  { stroke: #50fa7b; }
    .hl-c-cyan   { stroke: #0db7ed; }
    .hl-c-purple { stroke: #bd93f9; }
    .hl-core { stroke-width: 3; }
    .hl-node { cursor: pointer; }
    .hl-node:hover .hl-circle { filter: drop-shadow(0 0 8px currentColor); }
    .hl-label { font-size: 7px; font-weight: 900; fill: rgba(255,255,255,0.9); text-anchor: middle; font-family: monospace; pointer-events: none; }
    .hl-sub   { font-size: 6px; fill: rgba(255,255,255,0.4); text-anchor: middle; pointer-events: none; }
    .hl-tip-bg { fill: rgba(7,17,28,0.97); stroke: rgba(138,232,255,0.3); stroke-width: 1; }
    .hl-tip-text { font-size: 7.5px; fill: rgba(255,255,255,0.85); text-anchor: middle; pointer-events: none; }

    /* ── 3. Dark Web Scan ── */
    .darkweb-scan, .threat-tools { margin-top: 1.25rem; }

    /* ── Tor / Onion Routing Explainer ── */
    .tor-explainer { margin-top: 1.5rem; }
    .tor-explainer-desc { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin: 0 0 1rem; line-height: 1.6; }
    .tor-diagram {
      display: flex; align-items: center; gap: 0; overflow-x: auto;
      padding: 1rem 0.5rem; margin-bottom: 0.75rem;
      -webkit-overflow-scrolling: touch;
    }
    .tor-node {
      display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
      flex-shrink: 0; min-width: 64px;
    }
    .tor-node-icon { font-size: 1.4rem; }
    .tor-node-label { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
    .tor-node-sub   { font-size: 0.55rem; color: rgba(255,255,255,0.4); text-align: center; line-height: 1.3; }
    .tor-node--you    .tor-node-label { color: #50fa7b; }
    .tor-node--guard  .tor-node-label { color: #50fa7b; }
    .tor-node--middle .tor-node-label { color: #8ae8ff; }
    .tor-node--exit   .tor-node-label { color: #ffb86c; }
    .tor-node--site   .tor-node-label { color: rgba(255,255,255,0.6); }
    .tor-arrow {
      flex: 1; min-width: 32px; position: relative;
      display: flex; align-items: center; height: 28px; flex-shrink: 0;
    }
    .tor-arrow-line {
      width: 100%; height: 1px;
      background: linear-gradient(90deg, rgba(80,250,123,0.4), rgba(138,232,255,0.4));
    }
    .tor-packet {
      position: absolute; width: 8px; height: 8px; border-radius: 50%;
      top: 50%; transform: translateY(-50%);
      animation: torFlow 2.4s ease-in-out infinite;
    }
    .tor-packet--1 { background: #50fa7b; animation-delay: 0s;    box-shadow: 0 0 6px rgba(80,250,123,0.7); }
    .tor-packet--2 { background: #8ae8ff; animation-delay: 0.6s;  box-shadow: 0 0 6px rgba(138,232,255,0.7); }
    .tor-packet--3 { background: #ffb86c; animation-delay: 1.2s;  box-shadow: 0 0 6px rgba(255,184,108,0.7); }
    .tor-packet--4 { background: rgba(255,255,255,0.5); animation-delay: 1.8s; }
    @keyframes torFlow {
      0%   { left: 0%;   opacity: 0; }
      15%  { opacity: 1; }
      85%  { opacity: 1; }
      100% { left: 100%; opacity: 0; }
    }
    .tor-legend {
      display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
      font-size: 0.62rem; color: rgba(255,255,255,0.4);
    }
    .tor-legend--guard  { color: #50fa7b; }
    .tor-legend--middle { color: #8ae8ff; }
    .tor-legend--exit   { color: #ffb86c; }
    @media (max-width: 600px) {
      .tor-diagram { gap: 0; padding: 0.75rem 0; }
      .tor-node { min-width: 52px; }
      .tor-node-icon { font-size: 1.1rem; }
    }
    .threat-tools-label {
      font-size: 0.68rem; font-weight: 700; color: rgba(138,232,255,0.6);
      text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.5rem;
    }
    .threat-tools-links {
      display: flex; flex-wrap: wrap; gap: 0.5rem;
    }
    .threat-tool-link {
      font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.75rem;
      border: 1px solid rgba(138,232,255,0.25); border-radius: 8px;
      background: rgba(138,232,255,0.05); color: rgba(138,232,255,0.8);
      text-decoration: none; transition: all 0.2s ease; white-space: nowrap;
    }
    .threat-tool-link:hover {
      background: rgba(138,232,255,0.12);
      border-color: rgba(138,232,255,0.5);
      color: #8ae8ff;
    }
    .dw-btn {
      font-size: 0.78rem; font-weight: 700; padding: 0.4rem 1rem;
      border: 1px solid rgba(255,85,85,0.4); border-radius: 8px;
      background: rgba(255,85,85,0.06); color: #ff5555; cursor: pointer;
      transition: all 0.2s ease;
    }
    .dw-btn:hover { background: rgba(255,85,85,0.12); box-shadow: 0 0 12px rgba(255,85,85,0.2); }
    .dw-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .dw-result { margin-top: 0.75rem; }
    .dw-log {
      font-family: monospace; font-size: 0.68rem; color: rgba(138,232,255,0.8);
      background: rgba(0,0,0,0.3); border-radius: 8px; padding: 0.6rem 0.8rem;
      min-height: 40px; line-height: 1.7;
    }
    .dw-log .dw-line-warn { color: #ff8844; }
    .dw-verdict {
      display: flex; align-items: center; gap: 0.6rem;
      margin-top: 0.5rem; padding: 0.5rem 0.8rem;
      background: rgba(80,250,123,0.08); border: 1px solid rgba(80,250,123,0.3); border-radius: 8px;
    }
    .dw-icon { font-size: 1.1rem; color: #50fa7b; font-weight: 900; }
    .dw-text { font-size: 0.78rem; font-weight: 700; color: #50fa7b; }

    /* ── 4. RPG Skill Tree ── */
    .skill-tree-section { margin-top: 1.5rem; }
    .st-edge { stroke: rgba(255,255,255,0.1); stroke-width: 1.5; }
    .st-edge.st-active { stroke: rgba(80,250,123,0.5); }
    .st-circle { fill: rgba(7,17,28,0.9); stroke: rgba(138,232,255,0.6); stroke-width: 2; transition: filter 0.2s ease; }
    .st-circle-gold { stroke: #ffd43b; box-shadow: 0 0 12px rgba(255,212,59,0.5); }
    .st-circle-cyan { stroke: #8ae8ff; }
    .st-locked-c { stroke: rgba(255,255,255,0.2); fill: rgba(7,17,28,0.6); }
    .st-node { cursor: pointer; }
    .st-node.st-unlocked .st-circle { filter: drop-shadow(0 0 5px rgba(80,250,123,0.4)); }
    .st-node.st-locked .st-circle { opacity: 0.45; }
    .st-node:hover .st-circle { filter: drop-shadow(0 0 10px rgba(138,232,255,0.6)) !important; }
    .st-lbl { font-size: 7px; font-weight: 900; fill: rgba(255,255,255,0.9); text-anchor: middle; font-family: monospace; pointer-events: none; }
    .st-sub { font-size: 5.5px; fill: rgba(255,255,255,0.4); text-anchor: middle; pointer-events: none; }

    /* ── 5. Neon Mouse Spotlight ── */
    #neonSpotlight {
      position: fixed; inset: 0; pointer-events: none; z-index: 1;
      background: radial-gradient(circle 160px at -999px -999px, rgba(80,250,123,0.04) 0%, rgba(80,250,123,0) 70%);
    }

    /* ── 6. Cert Badge Stamp ── */
    @keyframes stampIn {
      0%   { transform: scale(2.2) rotate(-8deg); opacity: 0; }
      60%  { transform: scale(0.9) rotate(2deg);  opacity: 1; }
      80%  { transform: scale(1.05) rotate(-1deg); }
      100% { transform: scale(1) rotate(0deg); opacity: 1; }
    }
    .cert-card.stamp-in { animation: stampIn 0.55s cubic-bezier(0.22,1,0.36,1) both; }
    .cert-card { transform-origin: center center; }

    /* ── 7. Idle Screensaver ── */
    #screensaverCanvas {
      position: fixed; inset: 0; width: 100%; height: 100%;
      z-index: 99990; background: #000;
    }
    .screensaver-hint {
      position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
      z-index: 99991; font-size: 0.72rem; color: rgba(80,250,123,0.5);
      font-family: monospace; pointer-events: none; animation: blinkHint 2s ease-in-out infinite;
    }
    @keyframes blinkHint { 0%,100% { opacity:0.3; } 50% { opacity:0.8; } }

    /* ── 8. Sound Toggle ── */
    #soundToggle {
      position: fixed; bottom: 7rem; right: 1.25rem; z-index: 20;
      width: 36px; height: 36px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.2);
      background: rgba(7,17,28,0.82); color: rgba(255,255,255,0.5);
      font-size: 0.9rem; cursor: pointer; backdrop-filter: blur(8px);
      transition: border-color 0.2s ease, transform 0.2s ease;
      display: flex; align-items: center; justify-content: center;
    }
    #soundToggle:hover { border-color: rgba(80,250,123,0.5); transform: scale(1.1); }
    #soundToggle.sound-on { border-color: rgba(80,250,123,0.45); color: #50fa7b; }
    #soundToggle svg { display: block; }
    .snd-mute-line { display: block; }
    .snd-wave { display: block; }
    #soundToggle.sound-on .snd-mute-line { display: none; }
    #soundToggle.sound-on .snd-w1 { opacity: 1; }
    #soundToggle.sound-on .snd-w2 { opacity: 0.4; }

    /* ── 9. Cipher Decode Text ── */
    [data-cipher] { display: inline-block; }
    .cipher-char { display: inline-block; transition: color 0.1s ease; }
    .cipher-char.decoding { color: rgba(138,232,255,0.5); }
    .cipher-char.decoded  { color: inherit; }

    /* ── 10. Per-section progress rings ── */
    .snd svg {
      position: absolute; inset: -3px;
      width: calc(100% + 6px); height: calc(100% + 6px);
      transform: rotate(-90deg); pointer-events: none;
    }
    .snd-ring-bg   { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 1.5; }
    .snd-ring-fill { fill: none; stroke: #50fa7b; stroke-width: 1.5; stroke-linecap: round; transition: stroke-dashoffset 0.3s ease; }
    .snd.active { background: rgba(80,250,123,0.4); border-color: rgba(80,250,123,0.6); }

    @media (max-width: 576px) {
      .stats-ticker { gap: 0.35rem; }
      #homelabSvg, #skillTreeSvg { font-size: 90%; }
    }

    /* ═══════════════════════════════════════════════════════
       EXCITEMENT PACK 9 — recruiter-score · github-feed ·
       contact-heatmap · ai-chat · neon-sig · soc-dashboard ·
       drag-skills · mouse-trail · speed-badge · sticky-headers
       ═══════════════════════════════════════════════════════ */

    /* ── 1. Recruiter Score Card ── */
    #recruiterScoreCard {
      position: fixed; bottom: 1.5rem; left: 1.25rem; z-index: 30;
      background: rgba(7,17,28,0.96); border: 1px solid rgba(80,250,123,0.3);
      border-radius: 14px; padding: 1rem 1.15rem; width: 220px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.5); backdrop-filter: blur(12px);
      animation: rscSlideIn 0.55s cubic-bezier(0.22,1,0.36,1) both;
    }
    #recruiterScoreCard[hidden] { display: none; }
    @keyframes rscSlideIn { from { transform: translateX(-120%); opacity:0; } to { transform: none; opacity:1; } }
    .rsc-close {
      position: absolute; top: 0.5rem; right: 0.6rem;
      background: none; border: none; color: rgba(255,255,255,0.3); font-size: 1rem; cursor: pointer;
    }
    .rsc-close:hover { color: #fff; }
    .rsc-header { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
    .rsc-icon  { font-size: 1rem; }
    .rsc-title { font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.08em; }
    .rsc-dial-wrap { position: relative; width: 80px; margin: 0 auto 0.4rem; }
    .rsc-dial { width: 80px; height: 80px; transform: rotate(-90deg); }
    .rsc-dial-bg   { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 6; }
    .rsc-dial-fill {
      fill: none; stroke: #50fa7b; stroke-width: 6; stroke-linecap: round;
      stroke-dasharray: 201; stroke-dashoffset: 201;
      transition: stroke-dashoffset 1.8s cubic-bezier(0.22,1,0.36,1);
      filter: drop-shadow(0 0 6px rgba(80,250,123,0.5));
    }
    .rsc-score {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      font-size: 1.35rem; font-weight: 900; color: #50fa7b;
      font-family: monospace; line-height: 1;
    }
    .rsc-label { font-size: 0.58rem; color: rgba(255,255,255,0.35); text-align: center; margin: 0 0 0.65rem; }
    .rsc-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
    .rsc-item  { display: flex; align-items: center; gap: 0.4rem; font-size: 0.62rem; color: rgba(255,255,255,0.65); }
    .rsc-dot   { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .rsc-ok    { background: #50fa7b; box-shadow: 0 0 5px rgba(80,250,123,0.6); }
    .rsc-warn  { background: #ffb86c; box-shadow: 0 0 5px rgba(255,184,108,0.5); }

    /* ── 2. GitHub Activity Feed ── */
    .gh-feed { margin-bottom: 1rem; }
    .gh-feed-title { font-size: 0.7rem; font-weight: 800; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
    .gh-contrib-wrap { margin-top: 1.25rem; }
    .gh-contrib-link { display: block; border-radius: 8px; overflow: hidden; transition: opacity 0.2s; }
    .gh-contrib-link:hover { opacity: 0.85; }
    .gh-contrib-chart { width: 100%; height: auto; display: block; border-radius: 8px; filter: brightness(0.9); }
    .gh-contrib-note { font-size: 0.68rem; color: rgba(255,255,255,0.3); margin: 0.4rem 0 0; }
    .gh-contrib-note a { color: rgba(138,232,255,0.6); }
    .gh-feed-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
    /* Skeleton loader for GitHub feed */
    .gh-skeleton {
      height: 32px; border-radius: 6px;
      background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
      background-size: 200% 100%;
      animation: ghSkeletonShimmer 1.4s infinite;
    }
    @keyframes ghSkeletonShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
    .gh-feed-item {
      display: flex; align-items: flex-start; gap: 0.5rem;
      padding: 0.4rem 0.6rem;
      background: rgba(255,255,255,0.02); border-left: 2px solid rgba(80,250,123,0.3);
      border-radius: 0 6px 6px 0; font-size: 0.68rem;
      animation: ghFadeIn 0.4s ease both;
    }
    @keyframes ghFadeIn { from { opacity:0; transform:translateX(-6px); } to { opacity:1; transform:none; } }
    .gh-type { font-size: 0.7rem; flex-shrink: 0; }
    .gh-msg  { color: rgba(255,255,255,0.7); flex: 1; line-height: 1.4; }
    .gh-msg strong { color: #8ae8ff; }
    .gh-time { font-size: 0.58rem; color: rgba(255,255,255,0.28); white-space: nowrap; }
    .gh-diff-add { color: #50fa7b; font-weight: 700; }
    .gh-diff-del { color: #ff5555; font-weight: 700; }

    /* ── 3. Contact field heatmap ── */
    .contact-form-field input.hm-hot,
    .contact-form-field textarea.hm-hot { box-shadow: 0 0 16px rgba(80,250,123,0.25), inset 0 0 8px rgba(80,250,123,0.06) !important; border-color: rgba(80,250,123,0.5) !important; }
    .contact-form-field input.hm-warm,
    .contact-form-field textarea.hm-warm { box-shadow: 0 0 10px rgba(255,184,108,0.2) !important; border-color: rgba(255,184,108,0.35) !important; }

    /* ── 4. AI Chat Widget ── */
    #chatWidget { position: fixed; bottom: 1.5rem; right: 4.5rem; z-index: 35; }
    .chat-toggle-btn {
      display: flex; align-items: center; gap: 0.4rem;
      background: rgba(7,17,28,0.92); border: 1px solid rgba(138,232,255,0.35);
      border-radius: 50px; padding: 0.45rem 0.85rem;
      color: #8ae8ff; font-size: 0.75rem; font-weight: 700; cursor: pointer;
      backdrop-filter: blur(10px); transition: all 0.2s ease;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    .chat-toggle-btn:hover { background: rgba(138,232,255,0.08); box-shadow: 0 0 18px rgba(138,232,255,0.2); }
    .chat-icon { font-size: 1rem; }
    .chat-badge { animation: chatPulse 2.5s ease-in-out infinite; }
    @keyframes chatPulse { 0%,100% { opacity:0.7; } 50% { opacity:1; } }
    .chat-panel {
      position: absolute; bottom: calc(100% + 0.6rem); right: 0;
      width: 290px; background: rgba(7,17,28,0.97);
      border: 1px solid rgba(138,232,255,0.2); border-radius: 14px;
      overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    }
    .chat-panel[hidden] { display: none; }
    .chat-header {
      display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem 0.85rem;
      background: rgba(138,232,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .chat-avatar { font-size: 1.3rem; }
    .chat-info { flex: 1; }
    .chat-name   { display: block; font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.9); }
    .chat-status { display: block; font-size: 0.58rem; color: #50fa7b; }
    .chat-header button { background: none; border: none; color: rgba(255,255,255,0.3); font-size: 1.1rem; cursor: pointer; }
    .chat-messages {
      max-height: 200px; overflow-y: auto; padding: 0.65rem;
      display: flex; flex-direction: column; gap: 0.45rem;
      scrollbar-width: thin; scrollbar-color: rgba(138,232,255,0.15) transparent;
    }
    .chat-msg {
      max-width: 85%; font-size: 0.72rem; line-height: 1.45;
      padding: 0.4rem 0.65rem; border-radius: 10px;
    }
    .chat-bot  { background: rgba(138,232,255,0.08); color: rgba(255,255,255,0.8); align-self: flex-start; border-radius: 4px 10px 10px 10px; }
    .chat-user { background: rgba(80,250,123,0.12); color: rgba(255,255,255,0.85); align-self: flex-end; border-radius: 10px 4px 10px 10px; }
    .chat-typing { display: flex; gap: 3px; align-items: center; padding: 0.4rem 0.65rem; }
    .chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: rgba(138,232,255,0.5); animation: typDot 1.2s ease-in-out infinite; }
    .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
    .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes typDot { 0%,100% { transform:scale(0.7); opacity:0.4; } 50% { transform:scale(1); opacity:1; } }
    .chat-quick { display: flex; gap: 0.3rem; padding: 0 0.65rem 0.5rem; flex-wrap: wrap; }
    .chat-q {
      font-size: 0.62rem; font-weight: 700; padding: 0.2rem 0.55rem;
      border: 1px solid rgba(138,232,255,0.25); border-radius: 50px;
      background: none; color: rgba(138,232,255,0.7); cursor: pointer;
      transition: all 0.15s ease;
    }
    .chat-q:hover { background: rgba(138,232,255,0.08); color: #8ae8ff; }
    .chat-input-row {
      display: flex; align-items: center; gap: 0.4rem;
      padding: 0.5rem 0.65rem; border-top: 1px solid rgba(255,255,255,0.06);
    }
    #chatInput {
      flex: 1; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 0.35rem 0.6rem; font-size: 0.72rem;
      color: rgba(255,255,255,0.9); outline: none;
    }
    #chatInput:focus { border-color: rgba(138,232,255,0.35); }
    #chatSend {
      background: rgba(138,232,255,0.1); border: 1px solid rgba(138,232,255,0.3);
      border-radius: 8px; color: #8ae8ff; padding: 0.35rem 0.55rem; cursor: pointer;
      font-size: 0.8rem; transition: background 0.15s ease;
    }
    #chatSend:hover { background: rgba(138,232,255,0.2); }

    /* ── 5. Neon Signature ── */
    .neon-sig { display: block; width: 200px; height: 36px; margin: 0.2rem 0 0.5rem; overflow: visible; }
    .neon-sig-path {
      stroke: #50fa7b; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;
      filter: drop-shadow(0 0 5px rgba(80,250,123,0.7)) drop-shadow(0 0 12px rgba(80,250,123,0.4));
      stroke-dasharray: 1200; stroke-dashoffset: 1200;
    }
    .neon-sig-path.drawn { animation: sigDraw 2.2s cubic-bezier(0.4,0,0.2,1) forwards; }
    @keyframes sigDraw { to { stroke-dashoffset: 0; } }

    /* ── 6. SOC Dashboard ── */
    .soc-dashboard {
      background: rgba(0,0,0,0.25); border: 1px solid rgba(80,250,123,0.15);
      border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 1rem;
    }
    .soc-d-title {
      font-size: 0.68rem; font-weight: 800; color: rgba(80,250,123,0.7);
      text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem;
      display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
    }
    .soc-d-period {
      font-weight: 400; color: rgba(255,255,255,0.35);
      text-transform: none; letter-spacing: 0; font-size: 0.62rem;
    }
    .soc-d-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; }
    .soc-d-stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
    .soc-d-val { font-size: 1rem; font-weight: 900; color: #50fa7b; font-family: monospace; }
    .soc-d-lbl { font-size: 0.52rem; color: rgba(255,255,255,0.35); text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }

    /* ── 7. Draggable Skills ── */
    .skill-pill[draggable="true"] { cursor: grab; }
    .skill-pill[draggable="true"]:active { cursor: grabbing; }
    .skill-pill.drag-over { outline: 2px dashed rgba(80,250,123,0.6); outline-offset: 2px; }
    .skill-pill.dragging { opacity: 0.4; transform: scale(0.95); }

    /* ── 8. Mouse Trail Particles ── */
    #mouseTrailCanvas {
      position: fixed; inset: 0; width: 100%; height: 100%;
      pointer-events: none; z-index: 2;
    }

    /* ── 9. Page Speed Badge ── */
    #speedBadge {
      position: fixed; top: 0.7rem; right: 0.7rem; z-index: 40;
      background: rgba(7,17,28,0.9); border: 1px solid rgba(80,250,123,0.35);
      border-radius: 50px; padding: 0.25rem 0.7rem;
      font-size: 0.6rem; font-weight: 800; color: #50fa7b;
      font-family: monospace; backdrop-filter: blur(8px);
      animation: speedIn 0.5s cubic-bezier(0.22,1,0.36,1) both;
      animation-delay: 2s;
    }
    #speedBadge[hidden] { display: none; }
    @keyframes speedIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:none; } }

    /* ── 10. Sticky section headers ── */
    .sticky-sec-header {
      position: sticky; top: 60px; z-index: 10;
      background: rgba(7,17,28,0.92); backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      padding: 0.4rem 1rem; margin: 0 -1rem 0.75rem;
      font-size: 0.65rem; font-weight: 800;
      color: rgba(138,232,255,0.6); text-transform: uppercase; letter-spacing: 0.1em;
      display: none;
    }
    section.is-scrolling .sticky-sec-header { display: block; }

    /* ── Print / PDF stylesheet ── */
    @media print {
      /* Hide everything that is not content */
      #bg-video, #overlay, canvas, audio,
      .portfolio-loader, #stickyNav, #sideNavDots,
      #scrollProgress, #customCursor, #cursorTrailCanvas,
      .bg-orb, #spotlight, #hueShiftLayer,
      #hackerScore, #bookmarkPanel, #bkmToggle,
      #hireMeFloat, #chatWidget, #speedBadge,
      #soundToggle, #searchOverlay, #analyticsPanel,
      #tourOverlay, #sigModal, #recruiterModal,
      #easterTerminal, #commandPalette, #cmdToggle,
      #themeSwitcher, #lightModeToggle, #backToTop,
      .audio-corner-toggle, #neonSpotlight,
      .hero-wave, .skill-marquee, .stats-ticker,
      .threat-feed, #pitchBtn, .cta-group, .button-group,
      .studying-widget, .profile-strength,
      .darkweb-scan, .skill-tree-section,
      .soc-dashboard, .gh-feed, .project-tag-filters,
      .homelab-section, .hero-badges,
      .exp-view-toggle, .cert-view-toggle,
      .hero-stat, .footer-links,
      .neon-sig, #achieveToast,
      .hero-avatar, #heroNameSvg,
      #confettiCanvas, #screensaverCanvas, #mouseTrailCanvas,
      #recruiterScoreCard { display: none !important; }

      /* Reset backgrounds to white */
      body, html { background: #fff !important; color: #111 !important; font-size: 11pt; }
      .content { padding: 0 !important; gap: 0 !important; }
      .glass-card { background: none !important; border: 1px solid #ccc !important; box-shadow: none !important; margin-bottom: 1rem !important; break-inside: avoid; }
      .book-card, .book-card-inner, .book-card-face { transform: none !important; box-shadow: none !important; }
      .book-card-back { display: none !important; }
      h1, h2, h3, h4 { color: #111 !important; }
      p, li, span { color: #333 !important; }
      a { color: #0070c0 !important; text-decoration: underline; }
      .skill-bar-track { background: #e0e0e0 !important; }
      .skill-bar-fill { background: #0070c0 !important; box-shadow: none !important; }
      .cert-card { border: 1px solid #ccc !important; background: none !important; }
      .exp-card { border-left: 3px solid #0070c0 !important; background: none !important; }
      .hero-name-terminal { display: none !important; }
      .hero-name-display { display: block !important; font-size: 28pt !important; color: #111 !important; }
      .hero-tagline { font-size: 12pt !important; color: #333 !important; }

      /* Page layout */
      @page { margin: 1.5cm 2cm; }
    }

    @media (max-width: 768px) {
      #recruiterScoreCard { width: 180px; bottom: 1rem; left: 0.75rem; }
      #chatWidget { right: 0.5rem; bottom: 1rem; }
      .soc-d-grid { grid-template-columns: repeat(2,1fr); }
    }

/* ── Languages section ── */
.lang-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1rem; }
.lang-item { display: flex; flex-direction: column; gap: 0.4rem; }
.lang-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.lang-flag { font-size: 1.4rem; line-height: 1; }
.lang-name { font-weight: 700; color: #8ae8ff; font-size: 1rem; }
.lang-level { font-size: 0.78rem; padding: 0.15rem 0.55rem; border-radius: 20px; font-weight: 600; letter-spacing: 0.02em; }
.lang-native      { background: rgba(80,250,123,0.18); color: #50fa7b; border: 1px solid rgba(80,250,123,0.35); }
.lang-professional{ background: rgba(138,232,255,0.15); color: #8ae8ff; border: 1px solid rgba(138,232,255,0.3); }
.lang-elementary  { background: rgba(255,184,108,0.15); color: #ffb86c; border: 1px solid rgba(255,184,108,0.3); }

/* ── Project Architecture Diagrams ── */
.project-diagram { margin-bottom: 0.85rem; border-radius: 8px; overflow: hidden; background: rgba(5,9,17,0.7); border: 1px solid rgba(138,232,255,0.1); padding: 0.5rem 0.25rem; }
.proj-svg { width: 100%; height: auto; display: block; }
.pd-box   { stroke-width: 1; }
.pd-box-git    { fill: rgba(189,147,249,0.18); stroke: rgba(189,147,249,0.5); }
.pd-box-docker { fill: rgba(13,183,237,0.18);  stroke: rgba(13,183,237,0.5); }
.pd-box-linux  { fill: rgba(255,255,255,0.08); stroke: rgba(255,255,255,0.25); }
.pd-box-tf     { fill: rgba(100,76,228,0.18);  stroke: rgba(100,76,228,0.5); }
.pd-box-cloud  { fill: rgba(0,120,212,0.18);   stroke: rgba(0,120,212,0.5); }
.pd-box-red    { fill: rgba(255,85,85,0.18);   stroke: rgba(255,85,85,0.5); }
.pd-box-green  { fill: rgba(80,250,123,0.18);  stroke: rgba(80,250,123,0.5); }
.pd-box-blue   { fill: rgba(138,232,255,0.18); stroke: rgba(138,232,255,0.5); }
.pd-box-ok     { fill: rgba(80,250,123,0.22);  stroke: rgba(80,250,123,0.6); }
.pd-lbl  { fill: rgba(255,255,255,0.9); font-size: 7px; font-weight: 700; text-anchor: middle; font-family: system-ui, sans-serif; }
.pd-sub  { fill: rgba(255,255,255,0.4); font-size: 5.5px; text-anchor: middle; font-family: system-ui, sans-serif; }
.pd-arrow{ stroke: rgba(138,232,255,0.45); stroke-width: 1; }
.pd-head { fill: rgba(138,232,255,0.55); }

/* ── Wazuh Alert Card ── */
.wazuh-alert { background: rgba(5,9,17,0.85); border: 1px solid rgba(255,85,85,0.35); border-radius: 8px; padding: 0.75rem 0.9rem; margin: 0.75rem 0; font-family: monospace; }
.wa-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.wa-sev { font-size: 0.65rem; font-weight: 800; padding: 0.15rem 0.45rem; border-radius: 3px; letter-spacing: 0.08em; }
.wa-high { background: rgba(255,85,85,0.2); color: #ff5555; border: 1px solid rgba(255,85,85,0.5); }
.wa-rule { font-size: 0.72rem; color: rgba(138,232,255,0.8); font-weight: 600; }
.wa-time { font-size: 0.65rem; color: rgba(255,255,255,0.35); margin-left: auto; }
.wa-title { font-size: 0.82rem; color: rgba(255,255,255,0.9); font-weight: 700; margin-bottom: 0.4rem; }
.wa-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.wa-meta span { font-size: 0.68rem; color: rgba(255,255,255,0.45); }
.wa-meta strong { color: rgba(138,232,255,0.85); }
.wa-action { font-size: 0.68rem; color: rgba(80,250,123,0.8); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.35rem; margin-top: 0.35rem; }

/* ── MITRE ATT&CK Coverage Grid ── */
.mitre-section { margin-top: 1.5rem; }
.mitre-note--top { font-size: 0.68rem; color: rgba(255,255,255,0.35); margin: 0.25rem 0 0.75rem; }
.mitre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.45rem; margin: 0.75rem 0; }
.mitre-cell {
  border-radius: 6px; padding: 0.45rem 0.55rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  position: relative; cursor: default;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mitre-cell:hover, .mitre-cell:focus { transform: translateY(-2px); outline: none; }
.mitre-yes     { background: rgba(80,250,123,0.1);  border: 1px solid rgba(80,250,123,0.35); }
.mitre-partial { background: rgba(255,184,108,0.1); border: 1px solid rgba(255,184,108,0.35); }
.mitre-gap     { background: rgba(255,85,85,0.08);  border: 1px solid rgba(255,85,85,0.25); }
.mitre-yes:hover     { box-shadow: 0 4px 16px rgba(80,250,123,0.2); }
.mitre-partial:hover { box-shadow: 0 4px 16px rgba(255,184,108,0.2); }
.mitre-gap:hover     { box-shadow: 0 4px 16px rgba(255,85,85,0.15); }
.mc-tactic { font-size: 0.68rem; font-weight: 800; }
.mitre-yes     .mc-tactic { color: #50fa7b; }
.mitre-partial .mc-tactic { color: #ffb86c; }
.mitre-gap     .mc-tactic { color: #ff5555; }
.mc-tooltip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: rgba(7,17,28,0.97); border: 1px solid rgba(138,232,255,0.25);
  border-radius: 8px; padding: 0.5rem 0.7rem;
  font-size: 0.63rem; color: rgba(255,255,255,0.8); white-space: pre-line;
  line-height: 1.55; min-width: 160px; z-index: 50;
  pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mitre-cell:hover .mc-tooltip,
.mitre-cell:focus .mc-tooltip { opacity: 1; }
.mitre-link { color: rgba(138,232,255,0.6); font-size: 0.68rem; }
.mitre-link:hover { color: #8ae8ff; }
.mc-status { font-size: 0.6rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }
.mitre-note { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }
.mitre-key { font-size: 0.72rem; font-weight: 700; }
.mitre-key.mitre-yes     { color: #50fa7b; }
.mitre-key.mitre-partial { color: #ffb86c; }
.mitre-key.mitre-gap     { color: #ff5555; }

/* ── What I'm Looking For Section ── */
.looking-for-section .section-content h2 { margin-bottom: 1rem; }
.lf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.85rem; margin: 0.5rem 0 1rem; }
.lf-card { background: rgba(12,19,32,0.7); border: 1px solid rgba(138,232,255,0.15); border-radius: 10px; padding: 1rem; }
.lf-card:hover { border-color: rgba(138,232,255,0.35); }
.lf-icon { font-size: 1.4rem; display: block; margin-bottom: 0.4rem; }
.lf-card h4 { font-size: 0.85rem; font-weight: 700; color: #8ae8ff; margin: 0 0 0.35rem; }
.lf-card p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }
.lf-cta { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; text-align: center; }
.lf-cta a { color: #8ae8ff; text-decoration: none; }
.lf-cta a:hover { text-decoration: underline; }

/* ── Security Headers Badge ── */
.sec-badge-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.45rem; }
.sec-badge { display: inline-flex; align-items: center; font-size: 0.67rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 4px; background: rgba(80,250,123,0.1); border: 1px solid rgba(80,250,123,0.3); color: #50fa7b; cursor: default; transition: background 0.15s ease; white-space: nowrap; }
.sec-badge:hover { background: rgba(80,250,123,0.18); }
.sec-badge--info { background: rgba(138,232,255,0.1); border-color: rgba(138,232,255,0.3); color: #8ae8ff; }
.sec-badge--info:hover { background: rgba(138,232,255,0.18); }
.sec-badge--link { background: rgba(189,147,249,0.1); border-color: rgba(189,147,249,0.3); color: #bd93f9; text-decoration: none; }
.sec-badge--link:hover { background: rgba(189,147,249,0.2); color: #bd93f9; }
@media (max-width: 600px) { .sec-badge-row { gap: 0.25rem; } .sec-badge { font-size: 0.62rem; padding: 0.12rem 0.4rem; } }

@media (max-width: 600px) {
  .mitre-grid { grid-template-columns: repeat(2, 1fr); }
  .lf-grid    { grid-template-columns: 1fr; }
  .wa-time    { display: none; }
}


/* ══════════════════════════════════════════
   UPGRADE 2 — Enhanced Experience Timeline
   ══════════════════════════════════════════ */
.exp-timeline { padding-left: 2rem !important; }
.exp-timeline::before {
  width: 2px !important;
  background: linear-gradient(180deg,
    rgba(80,250,123,0.9) 0%,
    rgba(138,232,255,0.7) 40%,
    rgba(138,232,255,0.25) 100%) !important;
}
.exp-timeline .exp-card::before {
  width: 13px !important;
  height: 13px !important;
  left: -2.38rem !important;
  top: 0.35rem !important;
  border: 2px solid rgba(138,232,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(138,232,255,0.1), 0 0 10px rgba(138,232,255,0.5) !important;
}
.exp-timeline .exp-card:first-child::before {
  background: #50fa7b !important;
  border-color: rgba(80,250,123,0.6) !important;
  box-shadow: 0 0 0 4px rgba(80,250,123,0.12), 0 0 14px rgba(80,250,123,0.7) !important;
  animation: timelinePulse 2s ease-in-out infinite !important;
}
@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(80,250,123,0.12), 0 0 14px rgba(80,250,123,0.7); }
  50%       { box-shadow: 0 0 0 7px rgba(80,250,123,0.06), 0 0 22px rgba(80,250,123,0.9); }
}
.exp-card h4 { font-size: 1.02rem !important; }
.exp-company { font-size: 0.87rem !important; margin: 0.2rem 0 0.5rem !important; }
.exp-achievements { padding-left: 1.1rem !important; }
.exp-achievements li { margin-bottom: 0.3rem; font-size: 0.9rem; line-height: 1.55; }

/* ══════════════════════════════════════════
   UPGRADE 3 — Cert Issuer Logo Badges
   ══════════════════════════════════════════ */
.cert-logo-wrap {
  margin-bottom: 0.6rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.cert-card:hover .cert-logo-wrap { opacity: 1; }
.cert-logo { width: 44px; height: 18px; display: block; }

/* ══════════════════════════════════════════
   UPGRADE 4 — Mobile Layout
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Hero */
  .hero-section { padding: 1.5rem 1rem 1rem; min-height: auto; }
  .hero-tagline  { font-size: 0.92rem; }
  .hero-stack    { font-size: 0.75rem; letter-spacing: 0.03em; }
  .cta-group     { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .cta-group .btn { text-align: center; }
  .button-group  { flex-wrap: wrap; gap: 0.4rem; justify-content: center; }

  /* Cards */
  .glass-card {
    padding: 1.25rem 1rem !important;
    min-height: auto !important;
    margin: 10px 0 !important;
    border-radius: 12px !important;
  }

  /* Timeline */
  .exp-timeline { padding-left: 1.4rem !important; }
  .exp-timeline .exp-card::before { left: -1.72rem !important; width: 10px !important; height: 10px !important; }
  .exp-header { flex-direction: column; gap: 0.1rem; }
  .exp-duration { font-size: 0.75rem; }
  .exp-achievements li { font-size: 0.84rem; }

  /* Certs */
  .cert-list { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
  .cert-card { padding: 0.75rem !important; }
  .cert-card h4 { font-size: 0.8rem; }

  /* Skills */
  .skill-groups { gap: 1rem; }
  .skill-pills  { gap: 0.35rem; }
  .skill-pill   { font-size: 0.72rem; padding: 0.2rem 0.55rem; }
  .skill-bars   { gap: 0.65rem; }

  /* Projects */
  .project-list { grid-template-columns: 1fr !important; }

  /* Stats / ticker */
  .hero-stats   { gap: 0.75rem; }
  .stats-ticker { gap: 0.4rem; }
  .st-num       { font-size: 1.1rem; }
  .st-lbl       { font-size: 0.6rem; }

  /* Languages */
  .lang-meta    { gap: 0.4rem; }
  .lang-name    { font-size: 0.9rem; }
  .lang-level   { font-size: 0.7rem; padding: 0.1rem 0.4rem; }
  .lang-flag    { font-size: 1.1rem; }

  /* Floating widgets — less intrusive on small screens */
  #hireMeFloat  { bottom: 4.5rem; right: 0.5rem; padding: 0.4rem 0.65rem; }
  .hmf-sub      { display: none; }
  #chatWidget   { right: 0.35rem; bottom: 0.75rem; }
  #hackerScore  { top: 0.35rem; left: 0.35rem; font-size: 0.58rem; padding: 0.2rem 0.45rem; }
}

/* ══════════════════════════════════════════
   UPGRADE 2 — Enhanced Experience Timeline
   ══════════════════════════════════════════ */
.exp-timeline { padding-left: 2rem !important; }
.exp-timeline::before {
  width: 2px !important;
  background: linear-gradient(180deg,
    rgba(80,250,123,0.9) 0%,
    rgba(138,232,255,0.7) 40%,
    rgba(138,232,255,0.25) 100%) !important;
}
.exp-timeline .exp-card::before {
  width: 13px !important;
  height: 13px !important;
  left: -2.38rem !important;
  top: 0.35rem !important;
  border: 2px solid rgba(138,232,255,0.5) !important;
  box-shadow: 0 0 0 3px rgba(138,232,255,0.1), 0 0 10px rgba(138,232,255,0.5) !important;
}
.exp-timeline .exp-card:first-child::before {
  background: #50fa7b !important;
  border-color: rgba(80,250,123,0.6) !important;
  box-shadow: 0 0 0 4px rgba(80,250,123,0.12), 0 0 14px rgba(80,250,123,0.7) !important;
  animation: timelinePulse 2s ease-in-out infinite !important;
}
@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(80,250,123,0.12), 0 0 14px rgba(80,250,123,0.7); }
  50%       { box-shadow: 0 0 0 7px rgba(80,250,123,0.06), 0 0 22px rgba(80,250,123,0.9); }
}
.exp-card h4 { font-size: 1.02rem !important; }
.exp-company { font-size: 0.87rem !important; margin: 0.2rem 0 0.5rem !important; }
.exp-achievements { padding-left: 1.1rem !important; }
.exp-achievements li { margin-bottom: 0.3rem; font-size: 0.9rem; line-height: 1.55; }

/* ══════════════════════════════════════════
   UPGRADE 3 — Cert Issuer Logo Badges
   ══════════════════════════════════════════ */
.cert-logo-wrap {
  margin-bottom: 0.6rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.cert-card:hover .cert-logo-wrap { opacity: 1; }
.cert-logo { width: 44px; height: 18px; display: block; }

/* ══════════════════════════════════════════
   UPGRADE 4 — Mobile Layout
   ══════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Hero */
  .hero-section { padding: 1.5rem 1rem 1rem; min-height: auto; }
  .hero-tagline  { font-size: 0.92rem; }
  .hero-stack    { font-size: 0.75rem; letter-spacing: 0.03em; }
  .cta-group     { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .cta-group .btn { text-align: center; }
  .button-group  { flex-wrap: wrap; gap: 0.4rem; justify-content: center; }

  /* Cards */
  .glass-card {
    padding: 1.25rem 1rem !important;
    min-height: auto !important;
    margin: 10px 0 !important;
    border-radius: 12px !important;
  }

  /* Timeline */
  .exp-timeline { padding-left: 1.4rem !important; }
  .exp-timeline .exp-card::before { left: -1.72rem !important; width: 10px !important; height: 10px !important; }
  .exp-header { flex-direction: column; gap: 0.1rem; }
  .exp-duration { font-size: 0.75rem; }
  .exp-achievements li { font-size: 0.84rem; }

  /* Certs */
  .cert-list { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
  .cert-card { padding: 0.75rem !important; }
  .cert-card h4 { font-size: 0.8rem; }

  /* Skills */
  .skill-groups { gap: 1rem; }
  .skill-pills  { gap: 0.35rem; }
  .skill-pill   { font-size: 0.72rem; padding: 0.2rem 0.55rem; }
  .skill-bars   { gap: 0.65rem; }

  /* Projects */
  .project-list { grid-template-columns: 1fr !important; }

  /* Stats / ticker */
  .hero-stats   { gap: 0.75rem; }
  .stats-ticker { gap: 0.4rem; }
  .st-num       { font-size: 1.1rem; }
  .st-lbl       { font-size: 0.6rem; }

  /* Languages */
  .lang-meta    { gap: 0.4rem; }
  .lang-name    { font-size: 0.9rem; }
  .lang-level   { font-size: 0.7rem; padding: 0.1rem 0.4rem; }
  .lang-flag    { font-size: 1.1rem; }

  /* Floating widgets — less intrusive on small screens */
  #hireMeFloat  { bottom: 4.5rem; right: 0.5rem; padding: 0.4rem 0.65rem; }
  .hmf-sub      { display: none; }
  #chatWidget   { right: 0.35rem; bottom: 0.75rem; }
  #hackerScore  { top: 0.35rem; left: 0.35rem; font-size: 0.58rem; padding: 0.2rem 0.45rem; }
}

