    :root {
      --bg-dark: #020307;
      --bg-surface: #070b14;
      --card-bg: rgba(6, 9, 18, 0.88);
      --border-sheen: rgba(0, 240, 255, 0.25);
      
      --accent-cyan: #00f0ff;
      --accent-teal: #00e5c9;
      --accent-amber: #ffb703;
      --accent-magenta: #ff0055;
      --accent-green: #00ff88;
      --accent-gold: #e5c07b;
      --accent-orange: #ff7700;
      
      --text-main: #f3f6fc;
      --text-muted: #8a99ad;
      --text-dim: #445065;
      
      --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    /* Ambient CRT Scanline Overlay */
    .scanlines {
      position: fixed;
      inset: 0;
      background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(0, 240, 255, 0.02), rgba(0, 229, 201, 0.01), rgba(0, 240, 255, 0.02));
      background-size: 100% 3px, 6px 100%;
      pointer-events: none;
      z-index: 999;
      opacity: 0.5;
    }

    /* Ambient Particle Canvas */
    #ambient-canvas {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }

    /* Interactive Luxury HUD Cursor - Highest Layer */
    #cursor-reticle {
      position: fixed;
      top: 0;
      left: 0;
      width: 36px;
      height: 36px;
      border: 1px solid var(--accent-cyan);
      border-radius: 50%;
      pointer-events: none !important;
      z-index: 999999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.3s, background-color 0.2s;
      mix-blend-mode: difference;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
    }

    #cursor-reticle.active { opacity: 1; }
    #cursor-reticle.hover-link {
      width: 52px;
      height: 52px;
      border-color: var(--accent-teal);
      background-color: rgba(0, 240, 255, 0.12);
    }
    #cursor-reticle.drag-active {
      width: 60px;
      height: 60px;
      border-color: var(--accent-amber);
      background-color: rgba(255, 183, 3, 0.15);
    }

    #cursor-dot {
      width: 4px;
      height: 4px;
      background: #fff;
      border-radius: 50%;
    }

    #cursor-coords {
      position: absolute;
      left: 45px;
      top: -5px;
      font-family: var(--font-mono);
      font-size: 9px;
      letter-spacing: 0.1em;
      color: var(--accent-cyan);
      white-space: nowrap;
    }

    /* ====================================================
       PERSISTENT TOP NAVIGATION BAR
       ==================================================== */
    .persistent-navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 64px;
      padding: 0 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 950;
      background: rgba(4, 7, 14, 0.75);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    }

    .persistent-navbar::before {
      content: "";
      position: absolute;
      bottom: -1px;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.5), transparent);
    }

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

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #fff;
      font-family: var(--font-mono);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.15em;
    }

    .nav-logo-icon {
      color: var(--accent-cyan);
      font-size: 15px;
    }

    .nav-status-badge {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent-cyan);
      letter-spacing: 0.12em;
      padding: 3px 8px;
      background: rgba(0, 240, 255, 0.08);
      border: 1px solid rgba(0, 240, 255, 0.25);
      border-radius: 4px;
    }

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

    .nav-link {
      text-decoration: none;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      color: var(--text-muted);
      padding: 6px 14px;
      border-radius: 20px;
      border: 1px solid transparent;
      transition: all 0.25s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-link span {
      font-size: 9px;
      color: rgba(255, 255, 255, 0.35);
    }

    .nav-link:hover {
      color: #fff;
      border-color: rgba(0, 240, 255, 0.3);
      background: rgba(0, 240, 255, 0.06);
      box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    }

    .nav-link.active {
      color: var(--accent-cyan);
      border-color: rgba(0, 240, 255, 0.4);
      background: rgba(0, 240, 255, 0.08);
      box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    }

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

    .audio-toggle {
      padding: 6px 14px;
      border: 1px solid rgba(0, 240, 255, 0.3);
      border-radius: 20px;
      background: rgba(8, 12, 22, 0.6);
      backdrop-filter: blur(10px);
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.14em;
      color: var(--accent-cyan);
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s;
    }

    .audio-toggle:hover {
      background: var(--accent-cyan);
      color: #000;
      box-shadow: 0 0 20px var(--accent-cyan);
    }

    .audio-indicator {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #444;
    }

    .audio-active .audio-indicator {
      background: var(--accent-green);
      box-shadow: 0 0 8px var(--accent-green);
    }

    /* Page Container */
    .page-container {
      position: relative;
      z-index: 1;
      max-width: 1380px;
      margin: 0 auto;
      padding: 130px 24px 100px 24px;
    }

    /* ====================================================
       HERO SECTION
       ==================================================== */
    .projects-hero {
      padding: 30px 0 60px 0;
      border-bottom: 1px solid rgba(0, 240, 255, 0.12);
      margin-bottom: 60px;
      position: relative;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      color: var(--accent-cyan);
      text-transform: uppercase;
      margin-bottom: 16px;
      padding: 4px 12px;
      background: rgba(0, 240, 255, 0.05);
      border: 1px solid rgba(0, 240, 255, 0.2);
      border-radius: 4px;
    }

    .hero-title {
      font-size: clamp(34px, 5vw, 68px);
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -0.035em;
      margin-bottom: 18px;
      color: #ffffff;
      text-transform: uppercase;
    }

    .hero-title span {
      background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-lead {
      font-size: clamp(15px, 1.6vw, 19px);
      line-height: 1.65;
      color: var(--text-muted);
      max-width: 820px;
    }

    /* Section Headers */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 32px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .section-title {
      font-size: clamp(24px, 3vw, 36px);
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-title::before {
      content: "//";
      color: var(--accent-cyan);
      font-family: var(--font-mono);
      font-size: 20px;
    }

    /* ====================================================
       SECTION 01: PORTRAIT WEBSITES SLIDER (LEFT TO RIGHT)
       ==================================================== */
    .slider-section {
      margin-bottom: 110px;
      position: relative;
    }

    .slider-hint-pill {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent-amber);
      letter-spacing: 0.12em;
      padding: 4px 10px;
      border-radius: 20px;
      background: rgba(255, 183, 3, 0.08);
      border: 1px solid rgba(255, 183, 3, 0.25);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .carousel-viewport {
      overflow: hidden;
      width: 100%;
      position: relative;
      padding: 15px 0 25px 0;
      user-select: none;
      -webkit-user-select: none;
      mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    }

    .carousel-track {
      display: flex;
      gap: 24px;
      width: max-content;
      will-change: transform;
      cursor: grab;
    }

    .carousel-track.dragging {
      cursor: grabbing;
    }

    /* Portrait Website Card */
    .web-card {
      width: 310px;
      background: var(--card-bg);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      backdrop-filter: blur(20px);
      box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
      flex-shrink: 0;
      position: relative;
    }

    .web-card:hover {
      border-color: var(--accent-cyan);
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(0, 240, 255, 0.22);
    }

    /* Portrait Image Container */
    .web-preview-box {
      position: relative;
      width: 100%;
      height: 380px; /* Portrait Height to reveal extensive website design */
      background: #080c14;
      overflow: hidden;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .web-preview-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
      pointer-events: none;
      transition: transform 0.5s ease;
    }

    .web-card:hover .web-preview-img {
      transform: scale(1.04);
    }

    .web-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      font-family: var(--font-mono);
      font-size: 10px;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(0, 255, 136, 0.15);
      border: 1px solid rgba(0, 255, 136, 0.4);
      color: var(--accent-green);
      backdrop-filter: blur(8px);
    }

    .web-badge-dossier {
      position: absolute;
      top: 12px;
      right: 12px;
      font-family: var(--font-mono);
      font-size: 10px;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(0, 240, 255, 0.15);
      border: 1px solid rgba(0, 240, 255, 0.4);
      color: var(--accent-cyan);
      backdrop-filter: blur(8px);
    }

    .web-body {
      padding: 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
      justify-content: space-between;
    }

    .web-title {
      font-size: 19px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 6px;
    }

    .web-desc {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 16px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .web-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .web-link-direct {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent-cyan);
      text-decoration: none;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      z-index: 2;
    }

    .web-link-direct:hover {
      color: #fff;
      text-shadow: 0 0 10px var(--accent-cyan);
    }

    /* ====================================================
       SECTION 02: APPS & SOFTWARE (FLAT GALLERY)
       ==================================================== */
    .apps-section {
      margin-bottom: 100px;
    }

    .apps-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
      gap: 24px;
    }

    .app-card {
      background: var(--card-bg);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 32px 28px;
      backdrop-filter: blur(20px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
      transform: none !important;
      transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    }

    .app-card:hover {
      border-color: var(--accent-cyan);
      background: rgba(8, 14, 28, 0.95);
      box-shadow: 0 0 35px rgba(0, 240, 255, 0.22), inset 0 0 20px rgba(0, 240, 255, 0.06);
    }

    .app-top-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
    }

    .app-badge {
      font-family: var(--font-mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(139, 92, 246, 0.12);
      border: 1px solid rgba(139, 92, 246, 0.3);
      color: #a78bfa;
      text-transform: uppercase;
    }

    .app-card:hover .app-badge {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
      background: rgba(0, 240, 255, 0.1);
    }

    .app-title {
      font-size: 22px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 10px;
      letter-spacing: -0.01em;
      transition: color 0.25s;
    }

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

    .app-desc {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 22px;
    }

    .app-tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 24px;
    }

    .app-tag {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--text-main);
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .app-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .github-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      color: var(--text-main);
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: all 0.2s;
      z-index: 2;
    }

    .github-btn:hover {
      background: var(--accent-cyan);
      color: #000;
      border-color: var(--accent-cyan);
      box-shadow: 0 0 15px var(--accent-cyan);
    }

    /* ====================================================
       INTERACTIVE CASE STUDY DOSSIER MODAL (LAYER 100,000)
       ==================================================== */
    #caseStudyModal {
      position: fixed;
      inset: 0;
      z-index: 100000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(2, 3, 7, 0.88);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #caseStudyModal.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-chassis {
      background: rgba(6, 10, 20, 0.96);
      border: 1px solid var(--accent-cyan);
      border-radius: 20px;
      width: 100%;
      max-width: 860px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 30px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.25);
      position: relative;
      transform: scale(0.96);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #caseStudyModal.active .modal-chassis {
      transform: scale(1);
    }

    .modal-top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 28px;
      background: rgba(255, 255, 255, 0.02);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--accent-cyan);
    }

    .modal-close-btn {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff;
      font-family: var(--font-mono);
      font-size: 11px;
      padding: 4px 12px;
      border-radius: 20px;
      transition: all 0.2s;
    }

    .modal-close-btn:hover {
      background: var(--accent-magenta);
      border-color: var(--accent-magenta);
      color: #fff;
    }

    .modal-body {
      padding: 40px;
    }

    .modal-category-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      color: var(--accent-teal);
      text-transform: uppercase;
      margin-bottom: 12px;
      display: block;
    }

    .modal-title {
      font-size: clamp(28px, 3.8vw, 44px);
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }

    .modal-summary {
      font-size: 16px;
      line-height: 1.65;
      color: var(--text-muted);
      margin-bottom: 32px;
    }

    .dossier-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 32px;
    }

    .dossier-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      padding: 20px;
    }

    .dossier-label {
      font-family: var(--font-mono);
      font-size: 10px;
      color: var(--accent-cyan);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .dossier-value {
      font-size: 13px;
      color: var(--text-main);
      line-height: 1.55;
    }

    .modal-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .modal-launch-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 8px;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      background: var(--accent-cyan);
      color: #000;
      text-decoration: none;
      transition: all 0.2s;
    }

    .modal-launch-btn:hover {
      background: #fff;
      box-shadow: 0 0 25px var(--accent-cyan);
    }

    /* Page Footer */
    .page-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
      letter-spacing: 0.12em;
    }

    @media (max-width: 960px) {
      .apps-grid { grid-template-columns: 1fr; }
      .dossier-grid { grid-template-columns: 1fr; }
      .nav-center { display: none; }
      .persistent-navbar { padding: 0 20px; }
      .web-card { width: 280px; }
      .web-preview-box { height: 320px; }
      .modal-body { padding: 24px; }
    }

    @media (max-width: 640px) {
      .page-footer { flex-direction: column; gap: 16px; text-align: center; }
      #cursor-reticle { display: none; }
      * { cursor: auto; }
    }
