:root {
      --bg: #030406;
      --card-bg: rgba(10, 13, 19, 0.85);
      --card-hover: rgba(18, 24, 35, 0.98);
      --border: rgba(255, 255, 255, 0.08);
      --border-accent: rgba(239, 68, 68, 0.35);
      --red: #ef4444;
      --red-glow: rgba(239, 68, 68, 0.3);
      --gold: #d4af37;
      --accent-cyan: #00f2fe;
      --text-main: #f8fafc;
      --text-dim: #94a3b8;
      --text-muted: #64748b;
      --green: #10b981;
    }

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

    html, body {
      height: 100%;
      background-color: #030406;
      color: var(--text-main);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      position: relative;
    }

    /* High-Performance Animated Video Background */
    .video-background-wrap {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
      background: transparent;
    }

    .video-background-wrap video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: 100%;
      height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      opacity: 0.82;
      filter: saturate(1.2) contrast(1.15) brightness(0.95);
      display: block;
    }

    .video-background-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 1;
      pointer-events: none;
      background: 
        radial-gradient(circle at 50% 35%, rgba(3, 4, 6, 0.2) 0%, rgba(3, 4, 6, 0.6) 65%, #030406 100%),
        linear-gradient(to bottom, rgba(3, 4, 6, 0.15) 0%, rgba(3, 4, 6, 0.75) 85%, #030406 100%);
    }

    .video-background-grid {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 2;
      pointer-events: none;
      opacity: 0.12;
      background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
      background-size: 52px 52px;
    }

    /* Main Viewport Container (Ultra-Clean Screen) */
    .app-viewport {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      z-index: 10;
      padding: 24px 32px;
      max-width: 1440px;
      margin: 0 auto;
    }

    /* Minimalist Top Nav */
    .topbar, header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 16px 28px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .brand-zone {
      display: flex;
      align-items: center;
    }

    .brand {
      font-size: clamp(17px, 1.8vw, 22px);
      font-weight: 900;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #ffffff;
      text-decoration: none;
      white-space: nowrap;
      display: inline-block;
      line-height: 1;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
      transition: all 0.2s ease;
    }

    .brand:hover {
      text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
    }

    .brand .accent-red {
      color: var(--red);
      text-shadow: 0 0 12px var(--red-glow);
    }

    .status-zone {
      display: flex;
      align-items: center;
    }

    .availability, .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Fira Code', monospace;
      font-size: 11px;
      color: var(--green);
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.25);
      padding: 6px 14px;
      border-radius: 9999px;
      letter-spacing: 0.04em;
      margin: 0;
      white-space: nowrap;
    }

    .pulse-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
      box-shadow: 0 0 8px var(--green);
      animation: pulseGlow 2s infinite ease-in-out;
    }

    @keyframes pulseGlow {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.3); opacity: 0.6; }
    }

    .top-links, .nav-actions {
      display: flex;
      align-items: center;
    }

    .nav-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }

    .nav-list li {
      display: inline-flex;
      align-items: center;
    }

    .nav-sep {
      color: rgba(255, 255, 255, 0.25);
      font-size: 13px;
      user-select: none;
    }

    .nav-list a, .social-link {
      color: var(--text-dim);
      text-decoration: none;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      padding: 4px 8px;
      border-radius: 6px;
    }

    .nav-list a:hover, .social-link:hover {
      color: #ffffff;
      transform: translateY(-1px);
    }

    .nav-list svg, .social-link svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
      flex-shrink: 0;
    }

    /* Core Stage & Executive Identity */
    .hero, .hero-center {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: auto 0;
      padding: 48px 10px;
    }

    .hero-super-title, .hero h1 {
      font-size: clamp(28px, 4.8vw, 54px);
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #ffffff;
      line-height: 1.15;
      margin: 0 0 24px 0;
      text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
      font-family: 'Fira Code', monospace;
    }

    .hero-tagline {
      max-width: 72ch;
      margin: 0 0 42px 0;
    }

    .hero-tagline p, .hero p {
      font-size: clamp(13px, 1.35vw, 15px);
      color: #cbd5e1;
      line-height: 1.65;
      font-weight: 300;
      margin: 0 0 14px 0;
      text-align: center;
    }

    .hero-tagline p:last-child, .hero p:last-child {
      margin-bottom: 0;
    }

    .hero-tagline p b, .hero p b {
      color: #ffffff;
      font-weight: 600;
    }

    /* Cyber Command Buttons Hub (Animated Interactive Cards) */
    .proof-strip, .command-hub {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      max-width: 1100px;
      width: 100%;
    }

    .proof-card, .hub-btn {
      background: rgba(10, 13, 19, 0.78);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 14px;
      padding: 16px 18px;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      text-align: left;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.6);
      position: relative;
      overflow: hidden;
      min-width: 0;
      width: 100%;
    }

    .proof-card::before, .hub-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--red), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .proof-card:hover, .hub-btn:hover {
      background: rgba(18, 24, 35, 0.95);
      border-color: rgba(239, 68, 68, 0.4);
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 20px 40px -10px rgba(239, 68, 68, 0.2);
    }

    .proof-card:hover::before, .hub-btn:hover::before {
      opacity: 1;
    }

    .hub-icon {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--red);
      flex-shrink: 0;
      transition: transform 0.3s;
    }

    .proof-card:hover .hub-icon, .hub-btn:hover .hub-icon {
      transform: scale(1.1);
      background: rgba(239, 68, 68, 0.15);
    }

    .hub-icon svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .hub-text {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .proof-card h2, .hub-title {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #ffffff;
      margin: 0 0 4px 0;
      display: block;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .proof-card p, .hub-desc {
      font-size: 11px;
      color: var(--text-dim);
      font-family: 'Fira Code', monospace;
      margin: 0;
      line-height: 1.4;
    }

    /* Minimal Footer */
    footer {
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 11px;
      color: var(--text-muted);
      width: 100%;
    }

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

    footer .legal p {
      margin: 0;
    }

    /* Video Toggle Controller (Independent Utility UI) */
    .video-toolbar {
      position: fixed;
      bottom: 24px;
      right: 28px;
      z-index: 30;
    }

    .video-control-btn {
      background: rgba(10, 13, 19, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 9999px;
      padding: 7px 14px;
      font-size: 10px;
      font-weight: 600;
      font-family: 'Fira Code', monospace;
      letter-spacing: 0.08em;
      color: var(--text-dim);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s ease;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .video-control-btn:hover {
      color: #ffffff;
      border-color: var(--red);
      background: rgba(18, 24, 35, 0.95);
      transform: translateY(-2px);
    }

    .video-control-btn svg {
      width: 11px;
      height: 11px;
      fill: currentColor;
    }

    /* ==========================================================================
       FLOATING WINDOW MODAL SYSTEM (Glassmorphism & Cyber Command Windows)
       ========================================================================== */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(3, 4, 6, 0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-window {
      background: rgba(11, 15, 23, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      width: 100%;
      max-width: 960px;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(239, 68, 68, 0.15);
      transform: scale(0.95) translateY(15px);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
      position: relative;
    }

    .modal-backdrop.active .modal-window {
      transform: scale(1) translateY(0);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 28px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(15, 21, 32, 0.6);
    }

    .modal-title-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .modal-tag {
      font-family: 'Fira Code', monospace;
      font-size: 10px;
      color: var(--red);
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.3);
      padding: 4px 10px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .modal-title {
      font-size: 17px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #ffffff;
    }

    .modal-close-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-dim);
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
    }

    .modal-close-btn:hover {
      background: rgba(239, 68, 68, 0.2);
      color: #ffffff;
      border-color: var(--red);
    }

    .modal-close-btn svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 2.5;
    }

    .modal-body {
      padding: 28px;
      overflow-y: auto;
      flex-grow: 1;
    }

    /* Custom Dark Scrollbar */
    .modal-body::-webkit-scrollbar {
      width: 6px;
    }
    .modal-body::-webkit-scrollbar-track {
      background: rgba(0, 0, 0, 0.2);
    }
    .modal-body::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 3px;
    }
    .modal-body::-webkit-scrollbar-thumb:hover {
      background: var(--red);
    }

    /* Specific Modal Layouts */
    /* 1. Metrics Grid Inside Modal */
    .modal-metrics-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .m-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 20px;
      text-align: center;
    }

    .m-val {
      font-family: 'Fira Code', monospace;
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 4px;
    }

    .m-val span {
      color: var(--red);
      font-size: 15px;
    }

    .m-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
    }

    .m-desc {
      font-size: 12px;
      color: var(--text-dim);
      margin-top: 8px;
      line-height: 1.5;
    }

    /* 2. Projects Grid Inside Modal */
    .modal-filter-pills {
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .filter-btn {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-dim);
      padding: 6px 14px;
      border-radius: 9999px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      transition: all 0.2s;
    }

    .filter-btn.active, .filter-btn:hover {
      background: var(--red);
      color: #ffffff;
      border-color: var(--red);
    }

    .modal-projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .proj-item {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 20px;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: all 0.25s;
    }

    .proj-item:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(239, 68, 68, 0.4);
      transform: translateY(-3px);
    }

    .proj-preview {
      position: relative;
      height: 92px;
      margin: -4px -4px 14px;
      overflow: hidden;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: linear-gradient(135deg, #111827, #030406);
    }

    .proj-preview img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      opacity: 0.62;
      filter: saturate(0.82) contrast(1.08);
    }

    .proj-preview::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(3, 4, 6, 0.75), transparent 72%);
      pointer-events: none;
    }

    .proj-preview-label {
      position: absolute;
      z-index: 1;
      left: 10px;
      bottom: 8px;
      color: #ffffff;
      font-family: 'Fira Code', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .proj-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .proj-tag {
      font-size: 10px;
      font-weight: 700;
      color: var(--red);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .proj-status {
      font-family: 'Fira Code', monospace;
      font-size: 9px;
      padding: 2px 6px;
      border-radius: 3px;
      background: rgba(16, 185, 129, 0.1);
      color: var(--green);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .proj-title {
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 6px;
    }

    .proj-desc {
      font-size: 12px;
      color: var(--text-dim);
      line-height: 1.5;
      margin-bottom: 12px;
      flex-grow: 1;
    }

    .proj-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 12px;
    }

    .proj-stack-badge {
      font-family: 'Fira Code', monospace;
      font-size: 9px;
      background: rgba(255, 255, 255, 0.05);
      color: #cbd5e1;
      padding: 2px 6px;
      border-radius: 3px;
    }

    .proj-link {
      font-size: 11px;
      font-weight: 700;
      color: var(--red);
      display: flex;
      align-items: center;
      gap: 4px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .proj-item[data-project] {
      cursor: pointer;
    }

    .project-case-modal .modal-window {
      max-width: 820px;
    }

    .case-kicker {
      font-family: 'Fira Code', monospace;
      color: var(--red);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .case-title {
      font-size: clamp(22px, 4vw, 34px);
      line-height: 1.15;
      color: #ffffff;
      margin-bottom: 10px;
    }

    .case-summary {
      color: #cbd5e1;
      font-size: 14px;
      line-height: 1.7;
      max-width: 680px;
    }

    .case-visual {
      position: relative;
      min-height: 190px;
      margin: 20px 0 4px;
      overflow: hidden;
      border: 1px solid rgba(239, 68, 68, 0.24);
      border-radius: 14px;
      background: radial-gradient(circle at 72% 25%, rgba(239, 68, 68, 0.22), transparent 38%), linear-gradient(135deg, #111827, #030406 72%);
    }

    .case-visual img {
      display: block;
      width: 100%;
      height: 230px;
      object-fit: cover;
      opacity: 0.72;
      filter: saturate(0.9) contrast(1.08);
    }

    .case-visual::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(3, 4, 6, 0.88), rgba(3, 4, 6, 0.12) 72%, rgba(3, 4, 6, 0.55));
      pointer-events: none;
    }

    .case-visual-copy {
      position: absolute;
      z-index: 1;
      inset: auto auto 18px 18px;
      max-width: 70%;
    }

    .case-visual-label {
      color: var(--green);
      font-family: 'Fira Code', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .case-visual-name {
      color: #ffffff;
      font-size: 20px;
      font-weight: 900;
      margin-top: 4px;
    }

    .case-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-top: 24px;
    }

    .case-panel {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 16px;
    }

    .case-panel-wide {
      grid-column: 1 / -1;
    }

    .case-label {
      color: var(--text-muted);
      font-family: 'Fira Code', monospace;
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 7px;
    }

    .case-value {
      color: #f8fafc;
      font-size: 13px;
      line-height: 1.6;
    }

    .case-metrics {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 20px;
    }

    .case-metric {
      color: var(--green);
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.24);
      border-radius: 6px;
      padding: 7px 10px;
      font-family: 'Fira Code', monospace;
      font-size: 10px;
    }

    .case-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .case-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .case-nav button {
      background: transparent;
      border: 0;
      color: var(--text-dim);
      cursor: pointer;
      font-family: 'Fira Code', monospace;
      font-size: 10px;
      padding: 6px 0;
    }

    .case-nav button:hover {
      color: #ffffff;
    }

    .case-nav-label {
      color: var(--text-muted);
      font-family: 'Fira Code', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .case-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      padding: 10px 14px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .case-action-primary {
      background: var(--red);
      color: #ffffff;
    }

    .case-action-secondary {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
    }

    /* 3. Trajectory Timeline Inside Modal */
    .timeline-container {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .timeline-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-left: 3px solid var(--red);
      border-radius: 0 12px 12px 0;
      padding: 16px 20px;
    }

    .timeline-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 4px;
      flex-wrap: wrap;
      gap: 6px;
    }

    .timeline-role {
      font-size: 14px;
      font-weight: 800;
      color: #ffffff;
    }

    .timeline-period {
      font-family: 'Fira Code', monospace;
      font-size: 11px;
      color: var(--red);
    }

    .timeline-company {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-dim);
      margin-bottom: 8px;
    }

    .timeline-points {
      font-size: 12.5px;
      color: #cbd5e1;
      line-height: 1.6;
      list-style-position: inside;
    }

    /* 4. CV & Downloads Inside Modal */
    .cv-modal-box {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .cv-download-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .cv-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .cv-badge {
      font-family: 'Fira Code', monospace;
      font-size: 11px;
      color: var(--green);
      background: rgba(16, 185, 129, 0.1);
      padding: 4px 10px;
      border-radius: 4px;
    }

    .cv-name {
      font-size: 16px;
      font-weight: 800;
      color: #ffffff;
    }

    .cv-btn-download {
      background: var(--red);
      color: #ffffff;
      padding: 10px 24px;
      border-radius: 8px;
      text-decoration: none;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }

    .cv-btn-download:hover {
      background: #dc2626;
      transform: translateY(-2px);
      box-shadow: 0 10px 20px -5px var(--red-glow);
    }

    /* 5. Contact Options Inside Modal */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .contact-lead {
      max-width: 720px;
      margin: 0 0 20px;
      color: var(--text-dim);
      font-size: 14px;
      line-height: 1.65;
    }

    .contact-intents {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: -4px 0 22px;
    }

    .contact-intent {
      display: inline-flex;
      padding: 7px 10px;
      border: 1px solid rgba(239, 68, 68, 0.28);
      border-radius: 999px;
      color: #fca5a5;
      background: rgba(239, 68, 68, 0.07);
      font-family: 'Fira Code', monospace;
      font-size: 10px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.2s;
    }

    .contact-intent:hover,
    .contact-intent:focus-visible {
      color: #ffffff;
      border-color: var(--red);
      background: rgba(239, 68, 68, 0.18);
      outline: none;
    }

    .contact-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      text-decoration: none;
      color: inherit;
      transition: all 0.25s;
    }

    .contact-card:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: var(--red);
      transform: translateY(-2px);
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(239, 68, 68, 0.1);
      color: var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .contact-icon svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .contact-info-title {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .contact-info-val {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      margin-top: 2px;
    }

    /* Responsive Adjustments */
    @media (max-width: 860px) {
      .app-viewport {
        padding: 16px 20px;
      }
      .command-hub {
        flex-direction: column;
        align-items: center;
      }
      .hub-btn {
        width: 100%;
        max-width: 100%;
      }
      .modal-metrics-grid,
      .modal-projects-grid,
      .case-grid,
      .cv-download-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }
      .status-badge {
        display: none;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .video-background-wrap video {
        display: none;
      }
      .hub-btn, .modal-backdrop, .modal-window {
        transition: none !important;
      }
    }

/* Utility & Semantic Classes */
.is-hidden {
  display: none !important;
}
.is-visible {
  display: block !important;
}
.timeline-card-stanford {
  border-left-color: #d4af37 !important;
}
.timeline-period-stanford {
  color: #d4af37 !important;
}
.contact-card-static {
  cursor: default !important;
}
