/* Shared Components CSS extracted from experimental HTML files */

@import url('https://fonts.googleapis.com/css2?family=Georgia:ital@0;1&family=Inter:wght@400;500;700;800&family=Playfair+Display:ital,wght@0,600;1,600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

  :root {
    --bg-color: #050505;
    --index-color: #2B0000;
    --gold: #FFD24A;
    --gold-glow: rgba(255, 210, 74, 0.4);
    --red: #ff3d00;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { background-color: var(--index-color); color: var(--text-primary); font-family: var(--font-sans); overflow-x: hidden; line-height: 1.6; padding-bottom: 200px; }

  .page-title {
    font-family: var(--font-mono); font-size: 14px; color: var(--gold); letter-spacing: 0.2em;
    text-transform: uppercase; margin-bottom: 60px; text-align: center; padding-top: 80px;
  }


  .layer-wrapper { position: relative; }

  .hierarchy-level {
    position: relative; border: 1px solid rgba(255, 210, 74, 0.2); background: #000;
    overflow: hidden; display: flex; flex-direction: column; cursor: default; 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
    transform: scale(1);
  }
  .layer-wrapper:hover .hierarchy-level, .layer-wrapper.active-hover .hierarchy-level { 
    transform: scale(0.985); 
    box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 5px 20px rgba(255,210,74,0.1);
    border-color: rgba(255,210,74,0.5);
  }
  
  .hierarchy-img { width: 100%; height: 250px; object-fit: cover; opacity: 0.5; transition: opacity 0.4s, transform 4s ease-out; }
  .layer-wrapper:hover .hierarchy-img, .layer-wrapper.active-hover .hierarchy-img { opacity: 0.8; transform: scale(1.05); }

  .hierarchy-content { padding: 30px; position: relative; z-index: 2;  pointer-events: none; }
  .h-tag { font-family: var(--font-mono); font-size: 12px; color: var(--gold); margin-bottom: 8px; display: inline-block; border: 1px solid var(--gold); padding: 4px 8px;     align-self: flex-start;}
  .h-title { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 12px; line-height: 1.1; }
  .h-desc { color: var(--text-muted); font-size: 1.1rem; }

  @media (min-width: 900px) {

    .hierarchy-level { flex-direction: row; height: 250px; border-radius: 12px; }
    .hierarchy-img { height: 100%; width: 50%; position: absolute; right: 0; top: 0; }
    .hierarchy-content { width: 60%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 50px; }
  }

  .layer-drawer { max-height: 0; overflow: visible; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1); margin-top: 10px; }

  /* ==========================================
     2. THE CARDS (HOLOGRAPHIC POP-OUT - OPTION 3)
     ========================================== */
  .paths-grid { padding: 40px 0 60px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }

  .exp-path-card { position: relative; height: 280px; border: none; color: #f8f0e4; background: transparent; display: flex; flex-direction: column; cursor: pointer; }
  .exp-path-card .tag { position: absolute; top: 14px; left: 14px; font-family: var(--font-mono); color: #171006; background: #ffd24a; border-radius: 999px; padding: 7px 9px; font-size: 11px; font-weight: 950; text-transform: uppercase; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); transition: opacity 0.3s, transform 0.3s; }
  
  .front-content { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; z-index: 3; transition: all 0.4s ease; border-radius: 8px; overflow: hidden; }
  .front-content::before { content: ""; position: absolute; inset: 0; background: var(--bg-img) center / cover no-repeat; z-index: -2; opacity: 0.8; transition: opacity 0.4s; }
  .front-content::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,6,.1), rgba(8,8,6,.98)); z-index: -1; }
  .front-content strong { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.1; color: #fbfaf7; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

  .back-content { position: absolute; inset: 0; padding: 30px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 4; background: #0b0a08; border-radius: 8px; opacity: 0; transition: opacity 0.2s ease; }

  .exp-popout { overflow: visible; z-index: 1; }
  .exp-popout .card-body { position: absolute; inset: 0; border-radius: 8px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); display: flex; flex-direction: column; }
  .exp-popout:hover { z-index: 50; }
  
  /* OPTION 3 ORIGINAL EXACT CSS (-80px) */
  .exp-popout:hover .card-body { top: -80px; bottom: -80px; left: -20px; right: -20px; box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px var(--gold); z-index: 50; }
  .exp-popout:hover .tag { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  .exp-popout:hover .back-content { opacity: 1; transition-delay: 0.15s; }
  .exp-popout:hover .front-content::before { opacity: 0; }

  .click-affordance { font-family: var(--font-mono); font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; padding: 10px 20px; border: 1px solid rgba(255,210,74,0.3); border-radius: 4px; background: rgba(255,210,74,0.1); }
  .sol-section strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 8px; font-family: var(--font-mono); }
  .sol-section p { font-size: 1rem; color: rgba(255,255,255,0.9); line-height: 1.4; margin: 0; }

  /* ==========================================
     3. THE MODAL UI (ACTION ENGINE FOR L1/L2)
     ========================================== */
  #engine-modal { 
    position: fixed; inset: 0; background: rgba(5,5,5,0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 9999; display: flex; justify-content: center; align-items: flex-start; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    overflow-y: auto; padding: 40px 0;
  }
  #engine-modal.active { opacity: 1; pointer-events: all; }

  .close-modal { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; transition: transform 0.3s; z-index: 10000; background: none; border: none; padding: 10px; line-height: 1; }
  .close-modal:hover { transform: scale(1.1) rotate(90deg); color: var(--gold); }

  .modal-container { margin: 0 auto; width: 100%; max-width: 1400px; padding: 0 40px; position: relative; }

  .mission-header { text-align: center; margin-bottom: 60px; }
  .mission-header .kicker { font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 800; display: inline-block; }
  .mission-header h2 { font-family: var(--font-serif); font-size: 3rem; margin: 10px 0; background: linear-gradient(180deg, #ffffff, #d8cfc0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  
  .layout-engine { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 0; align-items: center; }
  @media (max-width: 900px) { .layout-engine { grid-template-columns: 1fr; gap: 40px; } .flow-connector { display: none; } }

  .glass-card { background: rgba(20, 18, 15, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 32px; overflow: hidden; }
  .trigger-action { border-color: rgba(255, 210, 74, 0.4); box-shadow: 0 15px 50px rgba(0,0,0,0.4), inset 0 0 40px rgba(255,210,74,0.05); }
  .trigger-action h3 { font-family: var(--font-serif); font-size: 2rem; margin: 0 0 20px 0; line-height: 1.2; }
  
  .sol-anchor { font-family: var(--font-sans); font-weight: bold; font-size: 1.1rem; color: #fff; margin-bottom: 5px; }
  .sol-translation { font-family: var(--font-serif); font-size: 1.1rem; color: rgba(255,210,74,0.9); font-style: italic; margin-bottom: 25px; }
  .sol-clue { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(255,210,74,0.15); color: var(--gold); padding: 12px 16px; border-radius: 6px; border: 1px solid rgba(255,210,74,0.3); display: inline-block; font-weight: bold; margin-top: 10px; }

  .flow-connector { height: 100%; width: 100%; display: flex; justify-content: center; align-items: center; z-index: 1; }
  .flow-svg { width: 100%; height: 200px; overflow: visible; }
  .flow-path { fill: none; stroke: rgba(255, 210, 74, 0.2); stroke-width: 2; }
  .flow-pulse { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 10 10; animation: pulse-flow 1s linear infinite; }
  @keyframes pulse-flow { to { stroke-dashoffset: -20; } }

  .impact-stack { display: flex; flex-direction: column; gap: 24px; }
  .impact-node { padding: 24px; background: rgba(255, 210, 74, 0.05); border: 1px dashed rgba(255, 210, 74, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
  .impact-node h4 { font-size: 1.3rem; margin: 0 0 10px 0; color: #fff; font-family: var(--font-serif); }
  .impact-node p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
  .node-tag { font-family: var(--font-mono); font-size: 11px; opacity: 0.7; margin-bottom: 8px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; }

  /* ==========================================
     4. INLINE SHIELD ENGINE (FOR LAYER 3)
     ========================================== */
  .layout-shield { display: grid; grid-template-columns: 45% 55%; gap: 40px; align-items: center; padding: 40px; margin-top: 40px; border-radius: 16px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }
  @media (max-width: 1000px) { .layout-shield { grid-template-columns: 1fr; } }
  
  .deploy-btn { background: rgba(20, 18, 15, 0.8); border: 1px solid rgba(255,255,255,0.2); padding: 20px; border-radius: 12px; cursor: pointer; transition: all 0.3s; margin-top: 20px; width: 100%; text-align: left; }
  .deploy-btn:hover { border-color: var(--gold); background: rgba(255,210,74,0.1); transform: translateY(-2px); }
  .deploy-btn h4 { font-family: var(--font-mono); color: var(--gold); font-size: 1.2rem; margin: 0 0 5px 0; }
  .deploy-btn p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }

  .visual-panel { width: 100%; position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%); }
  .local-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; position: relative; z-index: 2; }
  .shield-node { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all 0.5s ease; }
  
  /* Mob Attack State */
  .state-attack .shield-node:nth-child(3n+1) { background: var(--red); box-shadow: 0 0 15px var(--red); animation: pulse-red 1s infinite alternate; }
  
  /* Shield Defense State */
  .shield-arc { position: absolute; top: 0; left: 50%; transform: translateX(-50%) scale(0); width: 450px; height: 350px; background: radial-gradient(ellipse at top, rgba(255, 210, 74, 0.15), transparent 70%); border-top: 2px solid var(--gold); border-radius: 50% 50% 0 0; opacity: 0; transition: all 0.8s cubic-bezier(0.1, 0.7, 0.1, 1); z-index: 1; pointer-events: none; }
  .state-defended .shield-arc { opacity: 1; transform: translateX(-50%) scale(1); top: 20px; }
  .state-defended .shield-node:nth-child(3n+1) { animation: none; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); transform: scale(1); }
  .state-defended .shield-node { background: rgba(255, 210, 74, 0.3); }

  .defense-readout { position: absolute; bottom: 0px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); border: 1px solid var(--gold); padding: 15px 25px; border-radius: 8px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold); opacity: 0; transition: opacity 0.5s ease 0.5s; text-align: center; }
  .state-defended .defense-readout { opacity: 1; bottom: 30px; }

  /* ==========================================
     5. MYTH LEVEL TABLES
     ========================================== */
  .myth-table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 0.8rem; color: #fff; margin-top: 15px; }
  .myth-table th { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,210,74,0.3); color: var(--gold); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; font-weight: normal; }
  .myth-table td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top; line-height: 1.4; }
  .myth-table strong { font-weight: 700; color: #fff; font-size: 0.9rem; }

  /* ==========================================
     6. INTEGRATED MOVE CARDS (L1, L2, L3)
     ========================================== */
  .integrated-card {
    border-left: 3px solid rgba(255,210,74,.36);
    background: rgba(255,255,255,0.03);
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: background 0.3s;
    text-decoration: none;
    cursor: pointer;
  }
  .integrated-card:hover {
    background: rgba(255,210,74,0.08);
    border-left-color: var(--gold);
  }
  .int-pain {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .int-doorway {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
  }
  .int-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 4px 0;
  }
  .int-exit {
    font-size: 14px;
    color: #d8cfc0;
    line-height: 1.4;
  }
  .int-action-clue {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    margin-top: auto;
  }

/* --------------------------------------------------- */

body { background: #0b0a08; color: #fbfaf7; }

        /* --- GLASSMORPHISM HIERARCHY --- */
        body.modal-open { overflow: hidden; }

        
        .glass-panel { 
          position: relative; height: 160px; border-radius: 20px; overflow: hidden; cursor: pointer;
          box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
          transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
          background: #0b0a08;
        }
        .glass-panel:hover {
          transform: translateY(-5px);
          box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255, 210, 74, 0.4);
        }
        
        .glass-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transition: opacity 0.5s, transform 0.5s; z-index: 1; }
        .glass-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.4) 100%); z-index: 2; transition: background 0.4s; }
        .glass-panel:hover .glass-bg, .glass-panel.active-hover .glass-bg { opacity: 0.5; transform: scale(1.03); }
        .glass-panel:hover .glass-overlay, .glass-panel.active-hover .glass-overlay { background: linear-gradient(90deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.2) 100%); }
        
        .glass-header { position: absolute; left: 40px; bottom: 30px; z-index: 3; max-width: 60%; }
        .glass-tag { font-family: 'Space Mono', monospace; font-size: 11px; color: #FFD24A; text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 10px; font-weight: bold; }
        .glass-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 5px; line-height: 1.1; letter-spacing: -0.5px; }
        .glass-desc { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.4; }
        


        
        .glass-peek-container { position: absolute; right: 40px; top: 100%; z-index: 3; width: 300px; transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
        .glass-panel:hover .glass-peek-container, .glass-panel.active-hover .glass-peek-container { transform: translateY(-70px); }
        .glass-peek-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
        .peek-card { height: 100px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; box-shadow: 0 -5px 15px rgba(0,0,0,0.5); -webkit-backdrop-filter:blur(4px);
 backdrop-filter:blur(4px); }
        .peek-card:nth-child(1) { transform: translateY(20px); }
        .peek-card:nth-child(2) { transform: translateY(10px); }
        .peek-card:nth-child(3) { transform: translateY(15px); }
        .peek-card:nth-child(4) { transform: translateY(25px); }
        .glass-panel:hover .peek-card:nth-child(1), .glass-panel.active-hover .peek-card:nth-child(1) { transition: transform 0.4s 0.05s; transform: translateY(0); }
        .glass-panel:hover .peek-card:nth-child(2), .glass-panel.active-hover .peek-card:nth-child(2) { transition: transform 0.4s 0.10s; transform: translateY(0); }
        .glass-panel:hover .peek-card:nth-child(3), .glass-panel.active-hover .peek-card:nth-child(3) { transition: transform 0.4s 0.15s; transform: translateY(0); }
        .glass-panel:hover .peek-card:nth-child(4), .glass-panel.active-hover .peek-card:nth-child(4) { transition: transform 0.4s 0.20s; transform: translateY(0); }

        /* --- FULLSCREEN MODAL --- */
        .fullscreen-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 99999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
        .fullscreen-modal.active { opacity: 1; pointer-events: auto; }
        
        .modal-bg { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
        .modal-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: blur(5px); transform: scale(1.05); }
        .modal-overlay { position: fixed; inset: 0; background: rgba(5, 5, 5, 0.85); -webkit-backdrop-filter:blur(20px);
 backdrop-filter:blur(20px); pointer-events: none; }
        
        .modal-close { position: fixed; top: 40px; right: 40px; z-index: 10; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: 'Space Mono', monospace; font-size: 13px; font-weight: bold; letter-spacing: 0.1em; padding: 12px 24px; border-radius: 30px; cursor: pointer; transition: background 0.3s, color 0.3s; -webkit-backdrop-filter:blur(10px);
 backdrop-filter:blur(10px); }
        .modal-close:hover { background: #FFD24A; color: #0b0a08; border-color: #FFD24A; }
        
        .modal-inner-content { position: relative; z-index: 5; max-width: 1400px; margin: 0 auto; width: 100%; padding: 60px 40px; display: flex; flex-direction: column; min-height: 100vh; justify-content: flex-start; }
        
        .modal-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; transform: translateY(30px); opacity: 0; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s; }
        .fullscreen-modal.active .modal-header { transform: translateY(0); opacity: 1; }
        
        .modal-tag { font-family: 'Space Mono', monospace; font-size: 13px; color: #FFD24A; text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 15px; font-weight: bold; }
        .modal-title { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 15px; line-height: 1.1; letter-spacing: -1px; }
        .modal-desc { font-size: 18px; color: rgba(255, 255, 255, 0.7); line-height: 1.5; }
        
        .modal-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; transform: translateY(50px); opacity: 0; transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s; }
        .fullscreen-modal.active .modal-cards-grid { transform: translateY(0); opacity: 1; }

        /* --- OPTION 3 CARDS (Regular Level 1 & 2) --- */
        .exp-path-card { position: relative; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #f8f0e4; text-decoration: none; background: #0b0a08; display: flex; flex-direction: column; min-height: 250px; }
        .exp-path-card .tag { position: absolute; top: 14px; left: 14px; font-family: "SF Mono", Menlo, monospace; color: #171006; background: #ffd24a; border-radius: 999px; padding: 7px 9px; font-size: 11px; font-weight: 950; text-transform: uppercase; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.5); transition: opacity 0.3s ease, transform 0.3s ease; }
        .front-content { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; z-index: 3; transition: all 0.4s ease; border-radius: 8px; overflow: hidden; }
        .front-content::before { content: ""; position: absolute; inset: 0; background: var(--path-image) center / cover no-repeat; z-index: -2; }
        .front-content::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,6,.1), rgba(8,8,6,.98)); z-index: -1; }
        .front-content strong { font-family: Georgia, serif; font-size: 22px; line-height: 1.1; color: #fbfaf7; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
        .back-content { position: absolute; inset: 0; padding: 32px 24px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left; z-index: 4; background: #0b0a08; border-radius: 8px; opacity: 0; transition: opacity 0.2s ease; overflow-y: auto; }
        
        .exp-popout { overflow: visible; z-index: 1; }
        .exp-popout .card-body { position: absolute; inset: 0; border-radius: 8px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); display: flex; flex-direction: column; }
        .exp-popout:hover { z-index: 50; }
        .exp-popout:hover .card-body { top: -80px; bottom: -80px; left: -20px; right: -20px; box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px #FFD24A; z-index: 50; }
        .exp-popout:hover .tag { opacity: 0; transform: translateY(-10px); pointer-events: none; }
        .exp-popout:hover .back-content { opacity: 1; transition-delay: 0.15s; }
        .exp-popout:hover .front-content::before { opacity: 0; }

        /* --- TYPOGRAPHY FOR CARDS --- */
        .sol-quote { color: #FFD24A; font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; line-height: 1.4; margin-bottom: 20px; text-shadow: none; }
        .sol-section { margin-bottom: 20px; }
        .sol-section strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 6px; font-family: 'Space Mono', monospace; }
        .sol-section p { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0; }
        .click-affordance { font-family: 'Space Mono', monospace; font-size: 12px; color: #FFD24A; text-transform: uppercase; letter-spacing: 0.1em; padding: 12px 24px; border: 1px solid rgba(255,210,74,0.3); border-radius: 4px; background: rgba(255,210,74,0.05); text-align: center; margin-top: auto; align-self: stretch; cursor: pointer; transition: background 0.3s, color 0.3s; }
        .click-affordance:hover { background: #FFD24A; color: #0b0a08; }

        /* --- ACTION ENGINE MODAL & MYTH CARDS (Level 3) --- */
        .integrated-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: #0b0a08; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; text-decoration: none; min-height: 250px; overflow: hidden; transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s, border-color 0.3s; }
        .integrated-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 210, 74, 0.3); border-color: rgba(255, 210, 74, 0.5); }
        .int-pain { font-family: 'Space Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #FFD24A; position: absolute; top: 15px; left: 15px; background: rgba(255, 210, 74, 0.1); padding: 4px 8px; border-radius: 4px; }
        .int-doorway { font-family: Georgia, serif; font-size: 20px; line-height: 1.2; color: #fff; margin-bottom: 10px; margin-top: 20px; }
        .int-divider { height: 1px; width: 30px; background: rgba(255, 210, 74, 0.5); margin: 10px 0; }
        .int-exit { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.4; margin-bottom: 15px; }
        .int-action-clue { font-family: 'Space Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #0b0a08; background: #FFD24A; padding: 6px 10px; border-radius: 4px; align-self: flex-start; margin-top: auto; font-weight: bold; }
        
        #global-engine-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(5,5,5,0.95); -webkit-backdrop-filter:blur(10px);
 backdrop-filter:blur(10px); z-index: 999999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; overflow-y: auto; padding: 40px 20px; }
        #global-engine-modal.active { opacity: 1; pointer-events: auto; }
        .modal-close-btn { position: fixed; top: 30px; right: 40px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; opacity: 0.5; transition: opacity 0.3s; z-index: 10; }
        .modal-close-btn:hover { opacity: 1; color: #FFD24A; }
        .modal-content-area { max-width: 1000px; width: 100%; position: relative; }
        
        .back-engine { display: grid; grid-template-columns: 350px 100px 350px; gap: 0; align-items: center; justify-content: center; width: 100%; position: relative; }
        .engine-trigger { background: #0b0a08; border: 1px solid rgba(255, 210, 74, 0.3); padding: 30px; border-radius: 8px; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        .engine-trigger h3 { font-family: Georgia, serif; font-size: 28px; color: #FFD24A; margin-bottom: 15px; }
        .engine-tag { font-family: 'Space Mono', monospace; font-size: 11px; color: #0b0a08; background: #FFD24A; padding: 6px 12px; border-radius: 4px; display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-weight: bold; }
        
        .engine-flow { width: 100px; height: 300px; position: relative; }
        .engine-svg { width: 100%; height: 100%; overflow: visible; }
        .engine-path { fill: none; stroke: rgba(255, 210, 74, 0.2); stroke-width: 2; }
        .engine-pulse { fill: none; stroke: #FFD24A; stroke-width: 3; stroke-dasharray: 10 20; animation: march 1.5s linear infinite; }
        @keyframes march { to { stroke-dashoffset: -30; } }
        
        .engine-impacts { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }
        .engine-node { background: #0b0a08; border: 1px solid rgba(255, 255, 255, 0.15); padding: 25px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: border-color 0.3s, transform 0.3s; transform: translateX(20px); opacity: 0; animation: slideIn 0.5s forwards; }
        #global-engine-modal.active .engine-node:nth-child(1) { animation-delay: 0.2s; }
        #global-engine-modal.active .engine-node:nth-child(2) { animation-delay: 0.4s; }
        .engine-node:hover { border-color: rgba(255, 210, 74, 0.4); transform: translateX(25px); }
        @keyframes slideIn { to { transform: translateX(0); opacity: 1; } }

/* --------------------------------------------------- */

html{scroll-behavior:smooth;}
::selection{background:var(--gold);color:#171006;}

/* scroll parallax: JS moves the bg image onto a fixed layer that drifts
   at a fraction of scroll speed; without JS (or with reduced motion) the
   static body background above stays as-is */
.bg-parallax{
 display:none;
 position:fixed;
 left:0;right:0;top:150;
 height:150vh;
 pointer-events:none;
 background:url("deck-assets/bg/torched.png") left top / contain no-repeat;
 will-change:transform,opacity;
}
.bg-veil{
 display:none;
 position:fixed;
 inset:0;
 pointer-events:none;
 background:linear-gradient(180deg,rgba(8,8,6,.18),#0b0a08 100%);
}
body.has-parallax{background:#2B0000;}
body.has-parallax .bg-parallax,
body.has-parallax .bg-veil{display:block;}
/* content rides above the fixed background layers */
body.has-parallax main{position:relative;z-index:1;}
.paths-landing::before{
 content:"";
 position:fixed;
 inset:-25%;
 background:
  radial-gradient(640px circle at 18% 12%,rgba(255,210,74,.075),transparent 60%),
  radial-gradient(520px circle at 84% 70%,rgba(255,210,74,.045),transparent 62%);
 pointer-events:none;
 z-index:1;
 animation:glow-drift 22s ease-in-out infinite alternate;
}
@keyframes glow-drift{
 from{transform:translate3d(-2%,-1%,0) scale(1);}
 to{transform:translate3d(2%,3%,0) scale(1.06);}
}
.paths-landing::after{
 content:"";
 position:fixed;
 inset:0;
 opacity:.045;
 pointer-events:none;
 z-index:2;
}
	
.index-top{
 position:sticky;
 top: min(var(--lift),0px);
 z-index:60;
 transition:background .35s ease,box-shadow .35s ease;
}
.life-bar{will-change:opacity;}
.index-top.glass{
 background:rgba(11,10,8,.74);
 -webkit-backdrop-filter:blur(14px) saturate(1.25);
 backdrop-filter:blur(14px) saturate(1.25);
 box-shadow:0 1px 0 rgba(255,210,74,.28),0 14px 44px rgba(0,0,0,.38);
}
.scroll-progress{
 position:fixed;
 top:0;left:0;
 height:3px;width:0;
 background:linear-gradient(90deg,var(--gold),#ffb62e);
 box-shadow:0 0 14px rgba(255,210,74,.55);
 z-index:9999;
 pointer-events:none;
}
/* scroll-reveal: .fx is added by JS only, so no-JS visitors see everything */
.fx{
 opacity:0;
 transform:translateY(26px);
 transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);
 transition-delay:var(--d,0s);
}
.fx.in{opacity:1;transform:none;}
 .experiment-header { text-align: center; margin-top: 60px; }
.experiment-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; margin-bottom: 10px; color: #fbfaf7; }
.experiment-header p { color: #d8cfc0; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* COMPACT 280px */
.exp-path-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #f8f0e4;
  text-decoration: none;
  background: #0b0a08;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
   min-height:250px;

}

.exp-path-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "SF Mono", Menlo, monospace;
  color: #171006;
  background: #ffd24a;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.exp-path-card:hover .tag {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.front-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
  transition: all 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
}

.front-content::before {
  content: ""; position: absolute; inset: 0;
  background: var(--path-image) center / cover no-repeat; z-index: -2;
}
.front-content::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,6,.1), rgba(8,8,6,.98)); z-index: -1;
}

.front-content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: #fbfaf7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.back-content {
  position: absolute;
  inset: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 4;
  background: #0b0a08;
  overflow-y: auto; 
  box-sizing: border-box;
  border-radius: 8px;
}

/* SLEEK TERMINAL SCROLLBAR */
.back-content::-webkit-scrollbar { width: 4px; opacity: 0; transition: opacity 0.3s; }
.back-content:hover::-webkit-scrollbar { opacity: 1; }
.back-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); margin: 10px 0; }
.back-content::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.15); border-radius: 4px; }
.back-content:hover::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.4); }

/* STRUCTURED COPY TYPOGRAPHY */
.sol-wisdom { font-family: "Times New Roman", Times, serif; font-size: 16px; color: var(--gold); margin-bottom: 4px; text-align: center; flex-shrink: 0; }
.sol-translation { font-family: Georgia, serif; font-size: 13px; color: rgba(255,210,74,0.8); font-style: italic; margin-bottom: 16px; text-align: center; flex-shrink: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sol-section { margin-bottom: 14px; flex-shrink: 0; }
.sol-section strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 4px; font-family: "SF Mono", Menlo, monospace; }
.sol-section p { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; margin: 0; }
.sol-clue { font-family: "SF Mono", Menlo, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(255,210,74,0.1); color: #ffd24a; padding: 8px 12px; border-radius: 4px; border: 1px solid rgba(255,210,74,0.3); display: block; text-align: center; font-weight: bold; flex-shrink: 0; margin-top: auto; }

/* =========================================
   3. The Holographic Pop-Out
   ========================================= */
  
.exp-popout { overflow: visible; z-index: 1; border: none; background: transparent; }
.exp-popout .card-body { 
  position: absolute; inset: 0; border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); 
  display: flex; flex-direction: column;
}
.exp-popout:hover { z-index: 50; }
.exp-popout:hover .card-body {
  top: -80px; bottom: -80px; left: -20px; right: -20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px var(--gold);
  z-index: 50;
}
.exp-popout .back-content { opacity: 0; transition: opacity 0.2s ease; background: rgba(11,10,8,0.98); border-radius: 8px; justify-content: flex-start; }
.exp-popout:hover .back-content { opacity: 1; transition-delay: 0.15s; }

.paths-hero h1.fx{
 filter:blur(12px);
 transform:translateY(30px) scale(.985);
 transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1),filter .9s ease;
 transition-delay:var(--d,0s);
}
.paths-hero h1.fx.in{filter:blur(0);transform:none;}

.paths-kicker{
 font-family:"SF Mono",Menlo,monospace;
 color:var(--gold);
 text-transform:uppercase;
 letter-spacing:.16em;
 font-size:12px;
 font-weight:900;
 display:inline-block;
}
.paths-kicker::after{
 content:"";
 display:block;
 height:2px;
 margin-top:10px;
 background:linear-gradient(90deg,var(--gold),rgba(255,210,74,0));
 transform-origin:left;
 transition:transform .9s .35s cubic-bezier(.2,.7,.2,1);
}
.paths-kicker.fx::after{transform:scaleX(0);}
.paths-kicker.fx.in::after{transform:scaleX(1);}
.paths-hero h1{
 max-width:980px;
 margin:18px 0 0;
 color:#fbfaf7;
 font-size:clamp(54px,8.4vw,116px);
 line-height:.9;
	font-weight: 600;
}
.paths-hero .lead{
 max-width:880px;
 margin:26px 0 0;
 color:#e5d9c8;
 font-size:clamp(19px,2.15vw,27px);
 line-height:1.35;
 font-weight:750;
}
.paths-proof{
 max-width:1180px;
 margin:0 auto;
 padding:0 28px 28px;
}
.paths-proof-inner{
 border:1px solid rgba(255,210,74,.34);
 border-radius:8px;
 background:linear-gradient(135deg,rgba(255,210,74,.14),rgba(255,255,255,.05));
 padding:clamp(22px,4vw,38px);
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(260px,360px);
 gap:24px;
 align-items:center;
}
.paths-proof strong{
 display:block;
 font-family:Georgia,"Times New Roman",serif;
 color:#fbfaf7;
 font-size:clamp(28px,4vw,42px);
 line-height:1.3;
}
.paths-proof p{
 margin:12px 0 0;
 color:#d8cfc0;
 line-height:1.5;
}
.paths-mini-stack{
 display:grid;
 gap:10px;
}

.pains .paths-proof-inner{
 display:block;
}
.pains h2{
 max-width:860px;
}

.paths-mini-stack a{
 border:1px solid rgba(255,255,255,.17);
 border-left:3px solid rgba(255,210,74,.3);
 border-radius:8px;
 padding:12px 14px;
 text-decoration: none;
 color:#f8f0e4;
 background:rgba(0,0,0,.24);
 font-weight:850;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,background .3s;
}
.paths-mini-stack a:hover{
 transform:translateX(6px);
 border-left-color:var(--gold);
 border-color:rgba(255,210,74,.55);
 background:rgba(255,210,74,.07);
}
.pain-action-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
 margin-top:22px;
}
.pain-action-card{
 border:1px solid rgba(255,255,255,.14);
 border-left:3px solid rgba(255,210,74,.36);
 border-radius:8px;
 background:rgba(0,0,0,.24);
 color:#f8f0e4;
 text-decoration:none;
 padding:14px;
 min-height:150px;
 display:flex;
 flex-direction:column;
 gap:9px;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,background .3s;
}
.pain-action-card:hover{
 transform:translateY(-3px);
 border-color:rgba(255,210,74,.58);
 border-left-color:var(--gold);
 background:rgba(255,210,74,.07);
}
.pain-action-card .pain-label,
.pain-action-card .action-label{
 font-family:"SF Mono",Menlo,monospace;
 font-size:10px;
 letter-spacing:.08em;
 text-transform:uppercase;
 font-weight:900;
}
.pain-action-card .pain-label{color:rgba(255,255,255,.62);}
.pain-action-card .action-label{
 color:var(--gold);
 margin-top:auto;
}
.pain-action-card strong{
 font-size:clamp(20px,2.1vw,27px);
 line-height:1.08;
}
.pain-action-card span:not(.pain-label):not(.action-label){
 color:#d8cfc0;
 line-height:1.4;
 font-size:14px;
}


.paths-grid{
 max-width:1180px;
 margin:0 auto;
 padding:34px 28px 78px;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px;
}
.path-card{
 position:relative;
 min-height:280px;
 border:1px solid rgba(255,255,255,.16);
 border-radius:8px;
 overflow:hidden;
 color:#f8f0e4;
 text-decoration:none;
 background:#0b0a08;
 --spot:transparent;
 padding:18px;
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
 transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s,box-shadow .35s;
 will-change:transform;
}
.path-card::before{
 content:"";
 position:absolute;
 inset:-30px 0;
 background:var(--path-image) center / cover no-repeat;
 translate:0 var(--py,0px);
 transition:transform .7s cubic-bezier(.2,.6,.2,1),filter .7s ease;
}
.path-card::after{
 content:"";
 position:absolute;
 inset:0;
 background:
  radial-gradient(340px circle at var(--mx,50%) var(--my,28%),var(--spot),transparent 62%),
  linear-gradient(180deg,rgba(8,8,6,.25),rgba(8,8,6,.94));
}
.path-card:hover{
 transform:translateY(-5px);
 border-color:rgba(255,210,74,.72);
 box-shadow:0 26px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,210,74,.25);
 --spot:rgba(255,210,74,.17);
}
.path-card:hover::before{
 transform:scale(1.07);
 filter:saturate(1.12) contrast(1.04);
}
.path-card strong,
.path-card .path-copy,
.path-card > span:not(.tag):not(.action-clue){position:relative;z-index:2;}
.path-card strong{transition:transform .35s cubic-bezier(.2,.7,.2,1);}
.path-card:hover strong{transform:translateY(-2px);}
.path-card .tag{
 z-index:3;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;
}
.path-card:hover .tag{
 transform:translateY(-2px) rotate(-2deg);
 box-shadow:0 6px 18px rgba(255,210,74,.4);
}
.exp-path-card .action-clue, .path-card .action-clue {
 position:relative;
 z-index:3;
 font-family:"SF Mono",Menlo,monospace;
 font-size:0.75rem;
 text-transform:uppercase;
 letter-spacing:.04em;
 background:rgba(255,210,74,0.15);
 color:var(--gold);
 border: 1px solid rgba(255,210,74,0.3);
 padding:6px 10px;
 border-radius:4px;
 margin-top:14px;
 width:max-content;
 font-weight:700;
 transition:transform .3s cubic-bezier(.2,.7,.2,1), background .3s, box-shadow .3s;
 display: block;
}
.exp-path-card:hover .action-clue, .path-card:hover .action-clue {
 transform:translateY(-2px);
 background:var(--gold);
 color:#0b0a08;
 box-shadow:0 4px 12px rgba(255,210,74,.3);
}
.path-card .tag{
 position:absolute;
 top:14px;
 left:14px;
 font-family:"SF Mono",Menlo,monospace;
 color:#171006;
 background:var(--gold);
 border-radius:999px;
 padding:7px 9px;
 font-size:11px;
 font-weight:950;
 letter-spacing:.08em;
 text-transform:uppercase;
}
.path-card strong{
 display:block;
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(25px,2.5vw,34px);
 line-height:1.02;
 color:#fbfaf7;
}
.path-card .path-copy,
.path-card > span:not(.tag):not(.action-clue){
 display:block;
 margin-top:10px;
 color:#d8cfc0;
 font-size:14.5px;
 line-height:1.38;
 font-weight:700;
}
.paths-close{
 max-width:1180px;
 margin:0 auto;
 padding:0 28px 16px;
}
.paths-close-inner{
 border-top:1px solid rgba(255,210,74,.42);
 padding-top:28px;
 color:#f8f0e4;
 display:flex;
 flex-wrap:wrap;
 gap:18px;
 justify-content:space-between;
 align-items:center;
}
.paths-close h2{
 margin:0;
 max-width:760px;
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(30px,4.2vw,56px);
 line-height:1;
}
.profile-actions .profile-btn{
 position:relative;
 overflow:hidden;
}
.profile-actions .profile-btn::after{
 content:"";
 position:absolute;
 top:0;bottom:0;
 left:-80%;
 width:55%;
 background:linear-gradient(105deg,transparent,rgba(255,255,255,.35),transparent);
 transform:skewX(-18deg);
 transition:left .55s ease;
 pointer-events:none;
}
.profile-actions .profile-btn:hover::after{left:125%;}
.gate a{display:block;transition:transform .35s cubic-bezier(.2,.7,.2,1);}
.gate a:hover{transform:translateY(-5px);}
.gate a .gate-icon{transition:border-color .35s,box-shadow .35s;}
.gate a:hover .gate-icon{
 border-color:var(--gold);
 box-shadow:10px 10px 0 rgba(255,210,74,.22),0 0 60px rgba(255,210,74,.14);
}
.path-contact-form{
 display:grid;
 gap:12px;
 max-width:560px;
 margin-top:26px;
}
.path-input,.path-textarea{
 width:100%;
 box-sizing:border-box;
 background:rgba(0,0,0,.32);
 border:1px solid rgba(255,255,255,.2);
 border-radius:8px;
 color:#f8f0e4;
 font:inherit;
 font-size:16px;
 padding:13px 15px;
 transition:border-color .25s,box-shadow .25s,background .25s;
}
.path-input::placeholder,.path-textarea::placeholder{color:#9c9384;}
.path-textarea{min-height:110px;resize:vertical;}
.path-input:focus,.path-textarea:focus{
 outline:none;
 border-color:var(--gold);
 box-shadow:0 0 0 3px rgba(255,210,74,.16);
 background:rgba(0,0,0,.45);
}
.path-contact-form .profile-btn{justify-self:start;cursor:pointer;}
.final .hl{
 background:linear-gradient(100deg,var(--gold) 20%,#fff3c4 42%,var(--gold) 58%);
 background-size:220% 100%;
 -webkit-background-clip:text;
 background-clip:text;
 -webkit-text-fill-color:transparent;
 animation:shimmer 4.5s linear infinite;
}
@keyframes shimmer{to{background-position:-220% 0;}}
.profile-actions .profile-btn{
 transition:transform .22s cubic-bezier(.2,.7,.2,1),background .2s,border-color .2s,color .2s;
}
.path-card:focus-visible,.profile-btn:focus-visible,.gate a:focus-visible{
 outline:2px solid var(--gold);
 outline-offset:3px;
}
.path-card:focus-visible{
 transform:translateY(-5px);
 border-color:rgba(255,210,74,.72);
 --spot:rgba(255,210,74,.17);
}
/* ── first-visit intro: life-bar copy, once only ──────────── */
.paths-boot{
 position:fixed;
 inset:0;
 z-index:100000;
 display:grid;
 place-items:center;
 background:#0b0a08;
 color:#f7f1e6;
 overflow:hidden;
 pointer-events:auto;
 opacity:1;
 transition:opacity .7s ease;
}
.paths-boot.is-gone{display:none !important;pointer-events:none;}
.paths-boot.is-exit{
 opacity:0;
 pointer-events:none;
}
.paths-boot-stage{
 position:relative;
 z-index:2;
 width:min(720px,88vw);
 text-align:left;
 padding:8px 4px;
}
.paths-boot-line{
 display:block;
 opacity:0;
 transform:translateY(0.4em);
 transition:opacity .65s ease,transform .75s cubic-bezier(.16,1,.3,1);
}
.paths-boot-line.is-show{
 opacity:1;
 transform:none;
}
/* mirror life-bar / mission-charge type */
.paths-boot-line.call{
 margin:0 0 16px;
 font-family:"SF Mono",Menlo,monospace;
 font-size:13px;
 line-height:1.25;
 letter-spacing:.18em;
 text-transform:uppercase;
 color:var(--gold,#ffd24a);
 font-weight:800;
}
.paths-boot-line.hit{
 margin:0 0 6px;
 font-family:Georgia,"Times New Roman",serif;
 font-weight:500;
 font-size:clamp(28px,4vw,48px);
 line-height:1.08;
 letter-spacing:-.01em;
 color:#fbfaf7;
}
.paths-boot-line.life{
 margin:0 0 18px;
 font-family:Georgia,"Times New Roman",serif;
 font-weight:700;
 font-size:clamp(36px,5.2vw,58px);
 line-height:1.02;
 letter-spacing:-.02em;
 color:var(--gold,#ffd24a);
}
.paths-boot-line.terms{
 margin:0;
 font-size:clamp(17px,2vw,20px);
 line-height:1.4;
 font-weight:700;
 color:var(--warn);
}
body.is-booting{overflow:hidden !important;}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto;}
 .fx{opacity:1;transform:none;transition:none;}
 .paths-hero h1.fx{filter:none;}
 .paths-kicker.fx::after{transform:scaleX(1);transition:none;}
 .paths-landing::before{animation:none;}
 .path-card::before{translate:none;}
 .final .hl{animation:none;background:none;-webkit-text-fill-color:var(--gold);}
 .path-card,.path-card::before,.path-card strong,.path-card .tag,
 .paths-mini-stack span,.gate a,.profile-actions .profile-btn,
 .profile-actions .profile-btn::after{transition:none;}
 .paths-boot{display:none !important;}
 body.is-booting{overflow:unset !important;}
}
html{overflow-x:clip;}
/* site.css sets body.site-home{overflow-x:hidden}, which makes body a scroll
   container and silently disables position:sticky on .index-top; clip keeps
   horizontal overflow contained without creating a scroll container */
body.site-home.paths-landing{overflow-x:clip;}
@media(max-width:900px){
 .paths-proof-inner{grid-template-columns:1fr;}
  .pain-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}

 .paths-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:820px){
 /* site.css makes .life-bar position:fixed on mobile (sized for a thin
    one-line bar); this page's banner is a tall block, so keep it in flow
    and let the sticky --lift carry it away smoothly */
 .paths-landing .life-bar{position:static;}
}
@media(max-width:700px){
	.bg-parallax{
 display:none;
 position:fixed;
 left:0;right:0;top:150;
 height:150vh;
 pointer-events:none;
 background:url("deck-assets/bg/torched.png") left top / cover no-repeat;
 will-change:transform,opacity;
}
 .gate{grid-template-columns:1fr;gap:24px;}
 .gate-icon{
  height:240px;width:210px;max-width:100%;
  margin:0 auto;border-width:9px;border-bottom:none;
  box-shadow:7px 7px 0 rgba(17,16,14,.12);
 }
 .gate-icon:before,.gate-icon:after{width:48px;height:150px;}
 .gate-icon:before{left:32px;}
 .gate-icon:after{right:32px;}
 .final{font-size:clamp(34px,11vw,52px);letter-spacing:-1px;}
}
@media(max-width:640px){

 .paths-hero h1{font-size:42px;line-height:.95;}
  .pain-action-grid{grid-template-columns:1fr;}

 .paths-hero .lead{font-size:17px;}
 .paths-proof,.paths-grid,.paths-close{padding-left:18px;padding-right:18px;}
 .paths-grid{grid-template-columns:1fr;}
 .path-card{min-height:230px;}
 .paths-close h2{font-size:clamp(26px,7.6vw,34px);line-height:1.06;}
 }
/* EXPAND CARDS EXPERIMENT CSS */
  .expand-experiment { position: relative; overflow: hidden; }
  .expand-experiment .tag, .expand-experiment strong, .expand-experiment .hint-text { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; z-index: 2; }
  .expand-experiment:hover .tag { transform: translateY(-20px); }
  .expand-experiment:hover strong { transform: translateY(-20px); }
  .expand-experiment:hover .hint-text { transform: translateY(-20px); opacity: 0; }
  .expand-panel { position: absolute; bottom: -100%; left: 0; right: 0; height: 75%; background: linear-gradient(to top, rgba(10,10,12,0.98) 0%, rgba(10,10,12,0.9) 70%, transparent 100%); -webkit-backdrop-filter:blur(8px);
 backdrop-filter:blur(8px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 20px; text-align: center; transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 3; border-top: 1px solid rgba(255,210,74,0.3); }
  .expand-experiment:hover .expand-panel { bottom: 0; }
  .hint-text { font-family: 'SF Mono', Menlo, monospace; font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 15px; text-transform: uppercase; }
  .action-label-exp { font-family: 'SF Mono', Menlo, monospace; color: var(--gold); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 15px; }
  .action-copy-exp { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.5; margin-bottom: 15px; }
  .action-clue-exp { font-family: 'SF Mono', Menlo, monospace; color: #fff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,30,30,0.1); padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(255,30,30,0.5); }

  /* --- Interactive Experimental CSS (Consolidated) --- */
  
  /* Shared System Text */
  .sys-corner { position: absolute; font-family: 'SF Mono', Menlo, monospace; font-size: 10px; color: rgba(255,210,74,0.3); letter-spacing: 0.2em; pointer-events: none; transition: all 0.5s ease; z-index: 5; }
  .top-left { top: 20px; left: 20px; }
  .bottom-right { bottom: 20px; right: 20px; }

  /* Interactive Global Tools Trigger */
  .fun-trigger-global { grid-column: 1 / -1; background: radial-gradient(circle at center, rgba(15,20,25,0.9) 0%, rgba(2,2,4,0.9) 100%); border: 1px solid rgba(255,210,74,0.15); border-radius: 12px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; cursor: pointer; margin-top: 40px; text-decoration: none; -webkit-backdrop-filter:blur(10px);
 backdrop-filter:blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,210,74,0.05); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
  .fun-trigger-global::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,210,74,0.08) 60deg, transparent 90deg); animation: radar 6s linear infinite; opacity: 0.3; z-index: 0; }
  @keyframes radar { 100% { transform: rotate(360deg); } }
  .fun-trigger-global::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,210,74,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,210,74,0.04) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; mask-image: radial-gradient(circle at center, black 10%, transparent 70%); -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 70%); z-index: 1; transition: all 0.5s ease; }
  .fun-trigger-global:hover { border-color: rgba(255,210,74,0.5); background: radial-gradient(circle at center, rgba(30,35,40,0.95) 0%, rgba(5,5,10,0.9) 100%); box-shadow: 0 10px 40px rgba(255,210,74,0.1), inset 0 0 40px rgba(255,210,74,0.1); transform: translateY(-2px); }
  .fun-trigger-global:hover::before { opacity: 1; animation-duration: 2s; }
  .fun-trigger-global:hover::after { mask-image: radial-gradient(circle at center, black 30%, transparent 100%); -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 100%); }
  .fun-trigger-global:hover .sys-corner { color: rgba(255,210,74,0.8); }
  .fun-trigger-global:hover .bottom-right::after { content: ' » ACTIVE'; color: #00e5ff; font-weight: bold;}
  .fun-trigger-global .node-core { width: 16px; height: 16px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 20px var(--gold); position: relative; z-index: 2; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .fun-trigger-global:hover .node-core { transform: scale(1.5); box-shadow: 0 0 40px var(--gold), 0 0 80px rgba(255,210,74,0.4); }
  .fun-trigger-global .ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,210,74,0.3); border-radius: 50%; opacity: 0; transition: all 0.5s ease; pointer-events: none; z-index: 1; }
  .fun-trigger-global .ring-1 { width: 60px; height: 60px; }
  .fun-trigger-global .ring-2 { width: 120px; height: 120px; border: 1px dashed rgba(255,210,74,0.2); }
  .fun-trigger-global .ring-3 { width: 180px; height: 180px; }
  .fun-trigger-global:hover .ring-1 { opacity: 1; animation: ripple 2s infinite linear; }
  .fun-trigger-global:hover .ring-2 { opacity: 1; animation: ripple 2s infinite linear 0.6s; }
  .fun-trigger-global:hover .ring-3 { opacity: 1; animation: ripple 2s infinite linear 1.2s; }
  @keyframes ripple { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; } }
  .fun-text { font-family: 'SF Mono', Menlo, monospace; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 40px; font-size: 13px; z-index: 2; transition: all 0.4s ease; }
  .fun-trigger-global:hover .fun-text { color: var(--gold); letter-spacing: 0.15em; text-shadow: 0 0 15px rgba(255,210,74,0.5); }

  /* Interactive War Room Trigger */
  .fun-trigger-war { grid-column: 1 / -1; background: #050505; border: 1px solid rgba(255,60,60,0.2); border-radius: 12px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; cursor: pointer; margin-top: 30px; text-decoration: none; transition: all 0.5s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,60,60,0.05); }
  .fun-trigger-war::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 2px, rgba(0,0,0,0.3) 4px); pointer-events: none; z-index: 2; }
  .fun-trigger-war::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,60,60,0.1), rgba(255,60,60,0.1) 10px, transparent 10px, transparent 20px) top / 100% 8px no-repeat, repeating-linear-gradient(-45deg, rgba(255,60,60,0.1), rgba(255,60,60,0.1) 10px, transparent 10px, transparent 20px) bottom / 100% 8px no-repeat; transition: all 0.5s; z-index: 1; }
  .fun-trigger-war:hover { border-color: rgba(255,210,74,0.6); box-shadow: 0 10px 40px rgba(255,210,74,0.15), inset 0 0 50px rgba(255,210,74,0.1); transform: translateY(-2px); }
  .fun-trigger-war:hover::after { background: repeating-linear-gradient(45deg, rgba(255,210,74,0.2), rgba(255,210,74,0.2) 10px, transparent 10px, transparent 20px) top / 100% 12px no-repeat, repeating-linear-gradient(-45deg, rgba(255,210,74,0.2), rgba(255,210,74,0.2) 10px, transparent 10px, transparent 20px) bottom / 100% 12px no-repeat; }
  .fun-trigger-war:hover .sys-corner { color: rgba(255,210,74,0.8) !important; }
  .fun-trigger-war:hover .top-left::after { content: ' » GRANTED'; color: #00e5ff; font-weight: bold; }
  .fun-trigger-war:hover .bottom-right { opacity: 0; }
  .lock-icon { width: 24px; height: 20px; border: 2px solid rgba(255,60,60,0.5); border-radius: 3px; position: relative; margin-bottom: 5px; z-index: 3; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .lock-icon::before { content: ''; position: absolute; top: -12px; left: 3px; right: 3px; height: 12px; border: 2px solid rgba(255,60,60,0.5); border-bottom: none; border-radius: 10px 10px 0 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .fun-trigger-war:hover .lock-icon { border-color: var(--gold); box-shadow: 0 0 15px rgba(255,210,74,0.4); }
  .fun-trigger-war:hover .lock-icon::before { border-color: var(--gold); transform: translateY(-6px); }
  .fun-trigger-war:hover .fun-text { color: var(--gold); letter-spacing: 0.15em; }
  .glitch-wrapper { position: relative; display: inline-block; z-index: 3; }
  .glitch-overlay { position: absolute; inset: 0; background: #050505; color: #00e5ff; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; font-weight: bold; }
  .fun-trigger-war:hover .glitch-overlay { animation: glitch-anim 0.7s steps(5, end) forwards; opacity: 1; }
  @keyframes glitch-anim { 0% { clip-path: inset(0 0 0 0); transform: translateX(-4px); } 20% { clip-path: inset(20% 0 80% 0); transform: translateX(4px); } 40% { clip-path: inset(60% 0 10% 0); transform: translateX(-4px); } 60% { clip-path: inset(40% 0 40% 0); transform: translateX(4px); } 80% { clip-path: inset(10% 0 60% 0); transform: translateX(-4px); } 100% { opacity: 0; clip-path: inset(100% 0 0 0); } }




.hierarchy-flip-wrapper {
  perspective: 1200px;
  position: relative;
}

.hierarchy-flip-inner {
  position: relative;
  width: 100%;
  height: 520px;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.hierarchy-flip-wrapper:hover .hierarchy-flip-inner {
  transform: rotateX(180deg);
}
.hierarchy-flip-wrapper:hover { z-index: 50 !important; }

.hierarchy-front, .hierarchy-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 210, 74, 0.2);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.hierarchy-front {
  display: flex;
  flex-direction: column;
}

.hierarchy-back {
  transform: rotateX(180deg);
  background: #0b0a08;
  padding: 30px;
  border-color: var(--gold);
  box-shadow: inset 0 0 40px rgba(255,210,74,0.05);
  overflow-y: auto;
}

.hierarchy-back h3 {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

/* THE 4 THINGS YOU CAN DO (CLEAN INTEGRATED LIST) */
.hierarchy-back-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  height: 100%;
}

.integrated-card {
  border-left: 3px solid rgba(255,210,74,.36);
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s;
  text-decoration: none;
}
.integrated-card:hover {
  background: rgba(255,210,74,0.08);
  border-left-color: var(--gold);
}

.int-pain {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.int-doorway {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.int-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 4px 0;
}
.int-exit {
  font-size: 14px;
  color: #d8cfc0;
  line-height: 1.4;
}
.int-action-clue {
  font-family: "SF Mono", Menlo, monospace;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  margin-top: auto;
  font-weight: bold;
}

.hierarchy-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.4s, transform 4s ease-out;
}
.hierarchy-flip-wrapper:hover .hierarchy-img {
  opacity: 0.9;
  transform: scale(1.05);
}

.hierarchy-content {
  padding: 30px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.h-tag {
	    align-self: flex-start;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 8px;
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 4px 8px;
}
.h-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}
.h-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop Hierarchy Overlaps */
@media (min-width: 900px) {

  
  .hierarchy-flip-inner {
    height: 480px;
  }
  
  .hierarchy-front {
    flex-direction: row;
  }
  
  .hierarchy-img {
    height: 100%;
    width: 60%;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .hierarchy-content {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
  }
  
  .hierarchy-back-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  /* Staggering the grid */



}

/* --------------------------------------------------- */

/* ==========================================
     GLOBAL ACTION ENGINE MODAL (THE BACKSIDE)
     ========================================== */
  #global-engine-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(11, 10, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  #global-engine-modal.active {
    opacity: 1;
    pointer-events: all;
  }

  .modal-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .modal-close-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
  }

  .back-engine {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    box-sizing: border-box;
  }
  
  @media (max-width: 900px) {
    .back-engine {
      grid-template-columns: 1fr;
      overflow-y: auto;
      max-height: 90vh;
    }
    .engine-flow { display: none; }
  }

  .engine-trigger {
    background: rgba(20, 18, 15, 0.8);
    border: 1px solid rgba(255, 210, 74, 0.2);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }

  .engine-impacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .engine-node {
    background: rgba(20, 18, 15, 0.5);
    border: 1px dashed rgba(255, 210, 74, 0.3);
    border-radius: 12px;
    padding: 24px;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  #global-engine-modal.active .engine-node {
    transform: translateX(0);
    opacity: 1;
  }

  .engine-flow {
    position: relative;
    width: 100%;
    height: 300px;
  }

  .engine-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
  }

  .engine-path {
    fill: none;
    stroke: rgba(255, 210, 74, 0.15);
    stroke-width: 2;
  }

  .engine-pulse {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 8 8;
    animation: flow-pulse 1s linear infinite;
  }

  @keyframes flow-pulse {
    to { stroke-dashoffset: -16; }
  }
  
  .engine-tag {
    display: inline-block;
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    background: rgba(255, 210, 74, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 210, 74, 0.3);
  }
  
  .engine-trigger h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 16px 0;
    color: #fff;
  }

/* --------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Georgia:ital@0;1&family=Inter:wght@400;500;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-color: #0b0a08;
  --gold: #FFD24A;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --font-serif: Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.graphic-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 210, 74, 0.2);
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.8;
  /* Add a dark vignette so text is readable */
  box-shadow: inset 0 0 150px 100px #0b0a08;
}

/* Base overlay container for text positioning */
.overlay-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  pointer-events: none; /* Let clicks pass through to potential interactive graphic elements */
}

/* Shared Text Styles */
.info-box {
  position: absolute;
  background: rgba(11, 10, 8, 0.85);
  border: 1px solid rgba(255, 210, 74, 0.3);
  padding: 24px;
  max-width: 300px;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  pointer-events: auto;
  transition: border-color 0.3s;
}
.info-box:hover {
  border-color: var(--gold);
}

.info-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-title::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.info-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================
   1. PYRAMID GRAPHIC OVERLAYS
   ========================================== */
/* Adjust these percentages based on where the generated pyramid sits in the frame */
.pyr-apex {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 350px;
  background: transparent;
  border: none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.pyr-apex .info-title { justify-content: center; font-size: 16px;}
.pyr-apex .info-title::before { display: none; }

.pyr-mid {
  top: 45%;
  right: 5%;
}

.pyr-base {
  bottom: 15%;
  left: 5%;
}

/* ==========================================
   2. HEXAGON GRAPHIC OVERLAYS
   ========================================== */
.hex-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: transparent;
  border: none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.hex-center .info-title {
  font-size: 24px;
  justify-content: center;
  text-shadow: 0 0 20px var(--gold);
}
.hex-center .info-title::before { display: none; }

.hex-node-1 { top: 15%; left: 20%; }
.hex-node-2 { top: 15%; right: 20%; }
.hex-node-3 { bottom: 20%; left: 15%; }
.hex-node-4 { bottom: 20%; right: 15%; }

/* --------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg: #050505;
  --surface: #0a0a0a;
  --surface-elevated: #141414;
  --gold: #FFD24A;
  --gold-dim: rgba(255, 210, 74, 0.15);
  --text-primary: #f2f2f2;
  --text-secondary: #8c8c8c;
  --border: rgba(255, 255, 255, 0.08);
  --danger: #ff4a4a;
  
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.terminal-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 5, 0.8);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sys-id {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sys-id::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.page-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.page-subtitle {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 600px;
  margin-bottom: 80px;
}

.ops-board {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.ops-category {
  position: relative;
}

.category-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.category-label {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.maneuver-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.maneuver-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background: var(--gold);
  transition: height 0.4s ease;
}

.maneuver-card:hover {
  background: var(--surface-elevated);
  border-color: rgba(255, 210, 74, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.maneuver-card:hover::before {
  height: 100%;
}

.m-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.m-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.m-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.m-audience {
  display: inline-block;
  margin-top: 24px;
  padding: 4px 8px;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,210,74,0.2);
}

/* Specific styling for War Room cards to make them feel different */
.war-room-card {
  background: rgba(255, 210, 74, 0.03);
  border-color: rgba(255, 210, 74, 0.15);
}
.war-room-card .m-title {
  color: var(--gold);
}

@media (max-width: 900px) {
  .category-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Georgia:ital@0;1&family=Inter:wght@400;500;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-dark: #080806;
  --bg-darker: #040403;
  --gold: #FFD24A;
  --text-primary: #f2ede6;
  --text-muted: #8c857a;
  
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.dossier-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
}

/* LEFT COLUMN: THE MANDATE */
.mandate-panel {
  background: var(--bg-dark);
  padding: 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255, 210, 74, 0.15);
}

.clearance-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bg-dark);
  background: var(--gold);
  padding: 6px 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 40px;
  width: max-content;
}

.mandate-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 32px;
}

.mandate-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.status-indicator {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* RIGHT COLUMN: EXECUTION PROTOCOLS */
.execution-panel {
  padding: 6vw;
  background: 
    radial-gradient(circle at top right, rgba(255, 210, 74, 0.05), transparent 40%),
    var(--bg-darker);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
}

.protocol-block {
  margin-bottom: 80px;
}

.protocol-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.protocol-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.protocol-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
}

.action-trigger {
  display: inline-flex;
  align-items: center;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.action-trigger:hover {
  background: var(--gold);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(255, 210, 74, 0.3);
}

.quote-box {
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  font-style: italic;
  color: var(--text-muted);
  max-width: 600px;
}

@media (max-width: 980px) {
  .dossier-layout {
    grid-template-columns: 1fr;
  }
  .mandate-panel {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 210, 74, 0.15);
    padding: 10vw 6vw;
  }
}

/* --------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Playfair+Display:ital,wght@0,600;1,600&family=JetBrains+Mono:wght@400;700&display=swap');

  :root {
    --bg: #030406;
    --gold: #ffd24a;
    --red: #ff3d00;
    --red-glow: rgba(255, 61, 0, 0.4);
    --blue: #00e5ff;
    --glass-bg: rgba(15, 20, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #fbfaf7;
    --text-muted: #8b9eb0;
  }

  body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  .nav-header {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
  }

  .nav-header .kicker {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
  }

  /* Main Layout */
  .engine-container {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
  }

  /* Left Panel: The Narrative / Action */
  .control-panel {
    width: 45%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .control-kicker {
    color: var(--gold);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }
/*    -webkit-text-fill-color: transparent;




  h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.05;
    margin: 0 0 20px;
    background: linear-gradient(180deg, #ffffff, var(--bg2));
	  	      -webkit-background-clip: text;

  }*/

  .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
  }

  .action-trigger {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .action-trigger:hover {
    border-color: var(--gold);
    background: rgba(255, 210, 74, 0.05);
    transform: translateY(-2px);
  }

  .action-trigger h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
  }

  .action-trigger p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
  }

  /* Right Panel: The Visualization */
  .visual-panel {
    width: 55%;
    position: relative;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* The Grid representing Layer 1 (Local) */
  .local-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    position: relative;
    z-index: 2;
  }

  .sim-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.5s ease;
  }

  /* The Mob Attack State */
  .state-attack .sim-node:nth-child(3n+1) {
    background: var(--red);
    box-shadow: 0 0 15px var(--red);
    animation: pulse-red 1s infinite alternate;
  }

  @keyframes pulse-red {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.5); opacity: 1; }
  }

  /* The Public Figure (Layer 3) */
  .public-figure {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.1, 0.7, 0.1, 1);
  }

  .pf-dot {
    width: 30px;
    height: 30px;
    background: var(--gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 0 30px var(--gold-glow);
  }

  .pf-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  /* The Shield Effect (Permission Structure) */
  .sim-shield {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(255, 210, 74, 0.15), transparent 70%);
    border-top: 2px solid var(--gold);
    border-radius: 50% 50% 0 0;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.1, 0.7, 0.1, 1);
    z-index: 1;
    pointer-events: none;
  }

  /* State: Defended */
  .state-defended .public-figure {
    opacity: 1;
    top: 50px;
  }

  .state-defended .sim-shield {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    top: 100px;
  }

  .state-defended .sim-node:nth-child(3n+1) {
    animation: none;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    transform: scale(1);
  }
  
  .state-defended .sim-node {
    background: rgba(255, 210, 74, 0.3);
  }

  /* Explanatory text that appears */
  .defense-readout {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    border: 1px solid var(--gold);
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
    text-align: center;
  }

  .state-defended .defense-readout {
    opacity: 1;
  }

  @media (max-width: 1024px) {
    .engine-container {
      flex-direction: column;
    }
    .control-panel, .visual-panel {
      width: 100%;
      padding: 40px;
    }
    .visual-panel {
      min-height: 600px;
    }
  }

/* --------------------------------------------------- */

html{scroll-behavior:smooth;}
::selection{background:var(--gold);color:#171006;}

/* scroll parallax: JS moves the bg image onto a fixed layer that drifts
   at a fraction of scroll speed; without JS (or with reduced motion) the
   static body background above stays as-is */
.bg-parallax{
 display:none;
 position:fixed;
 left:0;right:0;top:150;
 height:150vh;
 pointer-events:none;
 background:url("deck-assets/bg/torched.png") left top / contain no-repeat;
 will-change:transform,opacity;
}
.bg-veil{
 display:none;
 position:fixed;
 inset:0;
 pointer-events:none;
 background:linear-gradient(180deg,rgba(8,8,6,.18),#0b0a08 100%);
}
body.has-parallax{background:#0b0a08;}
body.has-parallax .bg-parallax,
body.has-parallax .bg-veil{display:block;}
/* content rides above the fixed background layers */
body.has-parallax main{position:relative;z-index:1;}
.paths-landing::before{
 content:"";
 position:fixed;
 inset:-25%;
 background:
  radial-gradient(640px circle at 18% 12%,rgba(255,210,74,.075),transparent 60%),
  radial-gradient(520px circle at 84% 70%,rgba(255,210,74,.045),transparent 62%);
 pointer-events:none;
 z-index:1;
 animation:glow-drift 22s ease-in-out infinite alternate;
}
@keyframes glow-drift{
 from{transform:translate3d(-2%,-1%,0) scale(1);}
 to{transform:translate3d(2%,3%,0) scale(1.06);}
}
.paths-landing::after{
 content:"";
 position:fixed;
 inset:0;
 opacity:.045;
 pointer-events:none;
 z-index:2;
}
	
.index-top{
 position:sticky;
 top: min(var(--lift),0px);
 z-index:60;
 transition:background .35s ease,box-shadow .35s ease;
}
.life-bar{will-change:opacity;}
.index-top.glass{
 background:rgba(11,10,8,.74);
 -webkit-backdrop-filter:blur(14px) saturate(1.25);
 backdrop-filter:blur(14px) saturate(1.25);
 box-shadow:0 1px 0 rgba(255,210,74,.28),0 14px 44px rgba(0,0,0,.38);
}
.scroll-progress{
 position:fixed;
 top:0;left:0;
 height:3px;width:0;
 background:linear-gradient(90deg,var(--gold),#ffb62e);
 box-shadow:0 0 14px rgba(255,210,74,.55);
 z-index:9999;
 pointer-events:none;
}
/* scroll-reveal: .fx is added by JS only, so no-JS visitors see everything */
.fx{
 opacity:0;
 transform:translateY(26px);
 transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);
 transition-delay:var(--d,0s);
}
.fx.in{opacity:1;transform:none;}
 .experiment-header { text-align: center; margin-top: 60px; }
.experiment-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; margin-bottom: 10px; color: #fbfaf7; }
.experiment-header p { color: #d8cfc0; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* COMPACT 280px */
.exp-path-card {
  position: relative;
  height: 280px; 
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #f8f0e4;
  text-decoration: none;
  background: #0b0a08;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.exp-path-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "SF Mono", Menlo, monospace;
  color: #171006;
  background: #ffd24a;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.exp-path-card:hover .tag {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.front-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
  transition: all 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
}

.front-content::before {
  content: ""; position: absolute; inset: 0;
  background: var(--path-image) center / cover no-repeat; z-index: -2;
}
.front-content::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,6,.1), rgba(8,8,6,.98)); z-index: -1;
}

.front-content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: #fbfaf7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.back-content {
  position: absolute;
  inset: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 4;
  background: #0b0a08;
  overflow-y: auto; 
  box-sizing: border-box;
  border-radius: 8px;
}

/* SLEEK TERMINAL SCROLLBAR */
.back-content::-webkit-scrollbar { width: 4px; opacity: 0; transition: opacity 0.3s; }
.back-content:hover::-webkit-scrollbar { opacity: 1; }
.back-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); margin: 10px 0; }
.back-content::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.15); border-radius: 4px; }
.back-content:hover::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.4); }

/* STRUCTURED COPY TYPOGRAPHY */
.sol-wisdom { font-family: "Times New Roman", Times, serif; font-size: 16px; color: var(--gold); margin-bottom: 4px; text-align: center; flex-shrink: 0; }
.sol-translation { font-family: Georgia, serif; font-size: 13px; color: rgba(255,210,74,0.8); font-style: italic; margin-bottom: 16px; text-align: center; flex-shrink: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sol-section { margin-bottom: 14px; flex-shrink: 0; }
.sol-section strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 4px; font-family: "SF Mono", Menlo, monospace; }
.sol-section p { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; margin: 0; }
.sol-clue { font-family: "SF Mono", Menlo, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(255,210,74,0.1); color: #ffd24a; padding: 8px 12px; border-radius: 4px; border: 1px solid rgba(255,210,74,0.3); display: block; text-align: center; font-weight: bold; flex-shrink: 0; margin-top: auto; }

/* =========================================
   3. The Holographic Pop-Out
   ========================================= */
  
.exp-popout { overflow: visible; z-index: 1; border: none; background: transparent; }
.exp-popout .card-body { 
  position: absolute; inset: 0; border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); 
  display: flex; flex-direction: column;
}
.exp-popout:hover { z-index: 50; }
.exp-popout:hover .card-body {
  top: -80px; bottom: -80px; left: -20px; right: -20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px var(--gold);
  z-index: 50;
}
.exp-popout .back-content { opacity: 0; transition: opacity 0.2s ease; background: rgba(11,10,8,0.98); border-radius: 8px; justify-content: flex-start; }
.exp-popout:hover .back-content { opacity: 1; transition-delay: 0.15s; }



.paths-hero h1.fx{
 filter:blur(12px);
 transform:translateY(30px) scale(.985);
 transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1),filter .9s ease;
 transition-delay:var(--d,0s);
}
.paths-hero h1.fx.in{filter:blur(0);transform:none;}

.paths-kicker{
 font-family:"SF Mono",Menlo,monospace;
 color:var(--gold);
 text-transform:uppercase;
 letter-spacing:.16em;
 font-size:12px;
 font-weight:900;
 display:inline-block;
}
.paths-kicker::after{
 content:"";
 display:block;
 height:2px;
 margin-top:10px;
 background:linear-gradient(90deg,var(--gold),rgba(255,210,74,0));
 transform-origin:left;
 transition:transform .9s .35s cubic-bezier(.2,.7,.2,1);
}
.paths-kicker.fx::after{transform:scaleX(0);}
.paths-kicker.fx.in::after{transform:scaleX(1);}
.paths-hero h1{
 max-width:980px;
 margin:18px 0 0;
 color:#fbfaf7;
 font-size:clamp(54px,8.4vw,116px);
 line-height:.9;
	font-weight: 600;
}
.paths-hero .lead{
 max-width:880px;
 margin:26px 0 0;
 color:#e5d9c8;
 font-size:clamp(19px,2.15vw,27px);
 line-height:1.35;
 font-weight:750;
}
.paths-proof{
 max-width:1180px;
 margin:0 auto;
 padding:0 28px 28px;
}
.paths-proof-inner{
 border:1px solid rgba(255,210,74,.34);
 border-radius:8px;
 background:linear-gradient(135deg,rgba(255,210,74,.14),rgba(255,255,255,.05));
 padding:clamp(22px,4vw,38px);
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(260px,360px);
 gap:24px;
 align-items:center;
}
.paths-proof strong{
 display:block;
 font-family:Georgia,"Times New Roman",serif;
 color:#fbfaf7;
 font-size:clamp(28px,4vw,42px);
 line-height:1.3;
}
.paths-proof p{
 margin:12px 0 0;
 color:#d8cfc0;
 line-height:1.5;
}
.paths-mini-stack{
 display:grid;
 gap:10px;
}

.pains .paths-proof-inner{
 display:block;
}
.pains h2{
 max-width:860px;
}

.paths-mini-stack a{
 border:1px solid rgba(255,255,255,.17);
 border-left:3px solid rgba(255,210,74,.3);
 border-radius:8px;
 padding:12px 14px;
 text-decoration: none;
 color:#f8f0e4;
 background:rgba(0,0,0,.24);
 font-weight:850;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,background .3s;
}
.paths-mini-stack a:hover{
 transform:translateX(6px);
 border-left-color:var(--gold);
 border-color:rgba(255,210,74,.55);
 background:rgba(255,210,74,.07);
}
.pain-action-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:12px;
 margin-top:22px;
}
.pain-action-card{
 border:1px solid rgba(255,255,255,.14);
 border-left:3px solid rgba(255,210,74,.36);
 border-radius:8px;
 background:rgba(0,0,0,.24);
 color:#f8f0e4;
 text-decoration:none;
 padding:14px;
 min-height:150px;
 display:flex;
 flex-direction:column;
 gap:9px;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,background .3s;
}
.pain-action-card:hover{
 transform:translateY(-3px);
 border-color:rgba(255,210,74,.58);
 border-left-color:var(--gold);
 background:rgba(255,210,74,.07);
}
.pain-action-card .pain-label,
.pain-action-card .action-label{
 font-family:"SF Mono",Menlo,monospace;
 font-size:10px;
 letter-spacing:.08em;
 text-transform:uppercase;
 font-weight:900;
}
.pain-action-card .pain-label{color:rgba(255,255,255,.62);}
.pain-action-card .action-label{
 color:var(--gold);
 margin-top:auto;
}
.pain-action-card strong{
 font-size:clamp(20px,2.1vw,27px);
 line-height:1.08;
}
.pain-action-card span:not(.pain-label):not(.action-label){
 color:#d8cfc0;
 line-height:1.4;
 font-size:14px;
}


.paths-grid{
 max-width:1180px;
 margin:0 auto;
 padding:34px 28px 78px;
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px;
}
.path-card{
 position:relative;
 min-height:280px;
 border:1px solid rgba(255,255,255,.16);
 border-radius:8px;
 overflow:hidden;
 color:#f8f0e4;
 text-decoration:none;
 background:#0b0a08;
 --spot:transparent;
 padding:18px;
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
 transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .35s,box-shadow .35s;
 will-change:transform;
}
.path-card::before{
 content:"";
 position:absolute;
 inset:-30px 0;
 background:var(--path-image) center / cover no-repeat;
 translate:0 var(--py,0px);
 transition:transform .7s cubic-bezier(.2,.6,.2,1),filter .7s ease;
}
.path-card::after{
 content:"";
 position:absolute;
 inset:0;
 background:
  radial-gradient(340px circle at var(--mx,50%) var(--my,28%),var(--spot),transparent 62%),
  linear-gradient(180deg,rgba(8,8,6,.25),rgba(8,8,6,.94));
}
.path-card:hover{
 transform:translateY(-5px);
 border-color:rgba(255,210,74,.72);
 box-shadow:0 26px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,210,74,.25);
 --spot:rgba(255,210,74,.17);
}
.path-card:hover::before{
 transform:scale(1.07);
 filter:saturate(1.12) contrast(1.04);
}
.path-card strong,
.path-card .path-copy,
.path-card > span:not(.tag):not(.action-clue){position:relative;z-index:2;}
.path-card strong{transition:transform .35s cubic-bezier(.2,.7,.2,1);}
.path-card:hover strong{transform:translateY(-2px);}
.path-card .tag{
 z-index:3;
 transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s;
}
.path-card:hover .tag{
 transform:translateY(-2px) rotate(-2deg);
 box-shadow:0 6px 18px rgba(255,210,74,.4);
}
.exp-path-card .action-clue, .path-card .action-clue {
 position:relative;
 z-index:3;
 font-family:"SF Mono",Menlo,monospace;
 font-size:0.75rem;
 text-transform:uppercase;
 letter-spacing:.04em;
 background:rgba(255,210,74,0.15);
 color:var(--gold);
 border: 1px solid rgba(255,210,74,0.3);
 padding:6px 10px;
 border-radius:4px;
 margin-top:14px;
 width:max-content;
 font-weight:700;
 transition:transform .3s cubic-bezier(.2,.7,.2,1), background .3s, box-shadow .3s;
 display: block;
}
.exp-path-card:hover .action-clue, .path-card:hover .action-clue {
 transform:translateY(-2px);
 background:var(--gold);
 color:#0b0a08;
 box-shadow:0 4px 12px rgba(255,210,74,.3);
}
.path-card .tag{
 position:absolute;
 top:14px;
 left:14px;
 font-family:"SF Mono",Menlo,monospace;
 color:#171006;
 background:var(--gold);
 border-radius:999px;
 padding:7px 9px;
 font-size:11px;
 font-weight:950;
 letter-spacing:.08em;
 text-transform:uppercase;
}
.path-card strong{
 display:block;
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(25px,2.5vw,34px);
 line-height:1.02;
 color:#fbfaf7;
}
.path-card .path-copy,
.path-card > span:not(.tag):not(.action-clue){
 display:block;
 margin-top:10px;
 color:#d8cfc0;
 font-size:14.5px;
 line-height:1.38;
 font-weight:700;
}

.paths-close-inner{
 border-top:1px solid rgba(255,210,74,.42);
 padding-top:28px;
 color:#f8f0e4;
 display:flex;
 flex-wrap:wrap;
 gap:18px;
 justify-content:space-between;
 align-items:center;
}
.paths-close h2{
 margin:0;
 max-width:760px;
 font-family:Georgia,"Times New Roman",serif;
 font-size:clamp(30px,4.2vw,56px);
 line-height:1;
}
.profile-actions .profile-btn{
 position:relative;
 overflow:hidden;
}
.profile-actions .profile-btn::after{
 content:"";
 position:absolute;
 top:0;bottom:0;
 left:-80%;
 width:55%;
 background:linear-gradient(105deg,transparent,rgba(255,255,255,.35),transparent);
 transform:skewX(-18deg);
 transition:left .55s ease;
 pointer-events:none;
}
.profile-actions .profile-btn:hover::after{left:125%;}
.gate a{display:block;transition:transform .35s cubic-bezier(.2,.7,.2,1);}
.gate a:hover{transform:translateY(-5px);}
.gate a .gate-icon{transition:border-color .35s,box-shadow .35s;}
.gate a:hover .gate-icon{
 border-color:var(--gold);
 box-shadow:10px 10px 0 rgba(255,210,74,.22),0 0 60px rgba(255,210,74,.14);
}
.path-contact-form{
 display:grid;
 gap:12px;
 max-width:560px;
 margin-top:26px;
}
.path-input,.path-textarea{
 width:100%;
 box-sizing:border-box;
 background:rgba(0,0,0,.32);
 border:1px solid rgba(255,255,255,.2);
 border-radius:8px;
 color:#f8f0e4;
 font:inherit;
 font-size:16px;
 padding:13px 15px;
 transition:border-color .25s,box-shadow .25s,background .25s;
}
.path-input::placeholder,.path-textarea::placeholder{color:#9c9384;}
.path-textarea{min-height:110px;resize:vertical;}
.path-input:focus,.path-textarea:focus{
 outline:none;
 border-color:var(--gold);
 box-shadow:0 0 0 3px rgba(255,210,74,.16);
 background:rgba(0,0,0,.45);
}
.path-contact-form .profile-btn{justify-self:start;cursor:pointer;}
.final .hl{
 background:linear-gradient(100deg,var(--gold) 20%,#fff3c4 42%,var(--gold) 58%);
 background-size:220% 100%;
 -webkit-background-clip:text;
 background-clip:text;
 -webkit-text-fill-color:transparent;
 animation:shimmer 4.5s linear infinite;
}
@keyframes shimmer{to{background-position:-220% 0;}}
.profile-actions .profile-btn{
 transition:transform .22s cubic-bezier(.2,.7,.2,1),background .2s,border-color .2s,color .2s;
}
.path-card:focus-visible,.profile-btn:focus-visible,.gate a:focus-visible{
 outline:2px solid var(--gold);
 outline-offset:3px;
}
.path-card:focus-visible{
 transform:translateY(-5px);
 border-color:rgba(255,210,74,.72);
 --spot:rgba(255,210,74,.17);
}
/* ── first-visit intro: life-bar copy, once only ──────────── */
.paths-boot{
 position:fixed;
 inset:0;
 z-index:100000;
 display:grid;
 place-items:center;
 background:#0b0a08;
 color:#f7f1e6;
 overflow:hidden;
 pointer-events:auto;
 opacity:1;
 transition:opacity .7s ease;
}
.paths-boot.is-gone{display:none !important;pointer-events:none;}
.paths-boot.is-exit{
 opacity:0;
 pointer-events:none;
}
.paths-boot-stage{
 position:relative;
 z-index:2;
 width:min(720px,88vw);
 text-align:left;
 padding:8px 4px;
}
.paths-boot-line{
 display:block;
 opacity:0;
 transform:translateY(0.4em);
 transition:opacity .65s ease,transform .75s cubic-bezier(.16,1,.3,1);
}
.paths-boot-line.is-show{
 opacity:1;
 transform:none;
}
/* mirror life-bar / mission-charge type */
.paths-boot-line.call{
 margin:0 0 16px;
 font-family:"SF Mono",Menlo,monospace;
 font-size:13px;
 line-height:1.25;
 letter-spacing:.18em;
 text-transform:uppercase;
 color:var(--gold,#ffd24a);
 font-weight:800;
}
.paths-boot-line.hit{
 margin:0 0 6px;
 font-family:Georgia,"Times New Roman",serif;
 font-weight:500;
 font-size:clamp(28px,4vw,48px);
 line-height:1.08;
 letter-spacing:-.01em;
 color:#fbfaf7;
}
.paths-boot-line.life{
 margin:0 0 18px;
 font-family:Georgia,"Times New Roman",serif;
 font-weight:700;
 font-size:clamp(36px,5.2vw,58px);
 line-height:1.02;
 letter-spacing:-.02em;
 color:var(--gold,#ffd24a);
}
.paths-boot-line.terms{
 margin:0;
 font-size:clamp(17px,2vw,20px);
 line-height:1.4;
 font-weight:700;
 color:var(--warn);
}
body.is-booting{overflow:hidden !important;}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto;}
 .fx{opacity:1;transform:none;transition:none;}
 .paths-hero h1.fx{filter:none;}
 .paths-kicker.fx::after{transform:scaleX(1);transition:none;}
 .paths-landing::before{animation:none;}
 .path-card::before{translate:none;}
 .final .hl{animation:none;background:none;-webkit-text-fill-color:var(--gold);}
 .path-card,.path-card::before,.path-card strong,.path-card .tag,
 .paths-mini-stack span,.gate a,.profile-actions .profile-btn,
 .profile-actions .profile-btn::after{transition:none;}
 .paths-boot{display:none !important;}
 body.is-booting{overflow:unset !important;}
}
html{overflow-x:clip;}
/* site.css sets body.site-home{overflow-x:hidden}, which makes body a scroll
   container and silently disables position:sticky on .index-top; clip keeps
   horizontal overflow contained without creating a scroll container */
body.site-home.paths-landing{overflow-x:clip;}
@media(max-width:900px){
 .paths-proof-inner{grid-template-columns:1fr;}
  .pain-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}

 .paths-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:820px){
 /* site.css makes .life-bar position:fixed on mobile (sized for a thin
    one-line bar); this page's banner is a tall block, so keep it in flow
    and let the sticky --lift carry it away smoothly */
 .paths-landing .life-bar{position:static;}
}
@media(max-width:700px){
	.bg-parallax{
 display:none;
 position:fixed;
 left:0;right:0;top:150;
 height:150vh;
 pointer-events:none;
 background:url("deck-assets/bg/torched.png") left top / cover no-repeat;
 will-change:transform,opacity;
}
 .gate{grid-template-columns:1fr;gap:24px;}
 .gate-icon{
  height:240px;width:210px;max-width:100%;
  margin:0 auto;border-width:9px;border-bottom:none;
  box-shadow:7px 7px 0 rgba(17,16,14,.12);
 }
 .gate-icon:before,.gate-icon:after{width:48px;height:150px;}
 .gate-icon:before{left:32px;}
 .gate-icon:after{right:32px;}
 .final{font-size:clamp(34px,11vw,52px);letter-spacing:-1px;}
}
@media(max-width:640px){

 .paths-hero h1{font-size:42px;line-height:.95;}
  .pain-action-grid{grid-template-columns:1fr;}

 .paths-hero .lead{font-size:17px;}
 .paths-proof,.paths-grid,.paths-close{padding-left:18px;padding-right:18px;}
 .paths-grid{grid-template-columns:1fr;}
 .path-card{min-height:230px;}
 .paths-close h2{font-size:clamp(26px,7.6vw,34px);line-height:1.06;}
 }
  /* EXPAND CARDS EXPERIMENT CSS */
  .expand-experiment { position: relative; overflow: hidden; }
  .expand-experiment .tag, .expand-experiment strong, .expand-experiment .hint-text { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; z-index: 2; }
  .expand-experiment:hover .tag { transform: translateY(-20px); }
  .expand-experiment:hover strong { transform: translateY(-20px); }
  .expand-experiment:hover .hint-text { transform: translateY(-20px); opacity: 0; }
  .expand-panel { position: absolute; bottom: -100%; left: 0; right: 0; height: 75%; background: linear-gradient(to top, rgba(10,10,12,0.98) 0%, rgba(10,10,12,0.9) 70%, transparent 100%); -webkit-backdrop-filter:blur(8px);
 backdrop-filter:blur(8px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 20px; text-align: center; transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); z-index: 3; border-top: 1px solid rgba(255,210,74,0.3); }
  .expand-experiment:hover .expand-panel { bottom: 0; }
  .hint-text { font-family: 'SF Mono', Menlo, monospace; font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 15px; text-transform: uppercase; }
  .action-label-exp { font-family: 'SF Mono', Menlo, monospace; color: var(--gold); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 15px; }
  .action-copy-exp { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.5; margin-bottom: 15px; }
  .action-clue-exp { font-family: 'SF Mono', Menlo, monospace; color: #fff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,30,30,0.1); padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(255,30,30,0.5); }

  /* --- Interactive Experimental CSS (Consolidated) --- */
  
  /* Shared System Text */
  .sys-corner { position: absolute; font-family: 'SF Mono', Menlo, monospace; font-size: 10px; color: rgba(255,210,74,0.3); letter-spacing: 0.2em; pointer-events: none; transition: all 0.5s ease; z-index: 5; }
  .top-left { top: 20px; left: 20px; }
  .bottom-right { bottom: 20px; right: 20px; }

  /* Interactive Global Tools Trigger */
  .fun-trigger-global { grid-column: 1 / -1; background: radial-gradient(circle at center, rgba(15,20,25,0.9) 0%, rgba(2,2,4,0.9) 100%); border: 1px solid rgba(255,210,74,0.15); border-radius: 12px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; cursor: pointer; margin-top: 40px; text-decoration: none; -webkit-backdrop-filter:blur(10px);
 backdrop-filter:blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,210,74,0.05); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
  .fun-trigger-global::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,210,74,0.08) 60deg, transparent 90deg); animation: radar 6s linear infinite; opacity: 0.3; z-index: 0; }
  @keyframes radar { 100% { transform: rotate(360deg); } }
  .fun-trigger-global::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,210,74,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,210,74,0.04) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; mask-image: radial-gradient(circle at center, black 10%, transparent 70%); -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 70%); z-index: 1; transition: all 0.5s ease; }
  .fun-trigger-global:hover { border-color: rgba(255,210,74,0.5); background: radial-gradient(circle at center, rgba(30,35,40,0.95) 0%, rgba(5,5,10,0.9) 100%); box-shadow: 0 10px 40px rgba(255,210,74,0.1), inset 0 0 40px rgba(255,210,74,0.1); transform: translateY(-2px); }
  .fun-trigger-global:hover::before { opacity: 1; animation-duration: 2s; }
  .fun-trigger-global:hover::after { mask-image: radial-gradient(circle at center, black 30%, transparent 100%); -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 100%); }
  .fun-trigger-global:hover .sys-corner { color: rgba(255,210,74,0.8); }
  .fun-trigger-global:hover .bottom-right::after { content: ' » ACTIVE'; color: #00e5ff; font-weight: bold;}
  .fun-trigger-global .sim-node-core { width: 16px; height: 16px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 20px var(--gold); position: relative; z-index: 2; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .fun-trigger-global:hover .sim-node-core { transform: scale(1.5); box-shadow: 0 0 40px var(--gold), 0 0 80px rgba(255,210,74,0.4); }
  .fun-trigger-global .ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,210,74,0.3); border-radius: 50%; opacity: 0; transition: all 0.5s ease; pointer-events: none; z-index: 1; }
  .fun-trigger-global .ring-1 { width: 60px; height: 60px; }
  .fun-trigger-global .ring-2 { width: 120px; height: 120px; border: 1px dashed rgba(255,210,74,0.2); }
  .fun-trigger-global .ring-3 { width: 180px; height: 180px; }
  .fun-trigger-global:hover .ring-1 { opacity: 1; animation: ripple 2s infinite linear; }
  .fun-trigger-global:hover .ring-2 { opacity: 1; animation: ripple 2s infinite linear 0.6s; }
  .fun-trigger-global:hover .ring-3 { opacity: 1; animation: ripple 2s infinite linear 1.2s; }
  @keyframes ripple { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; } }
  .fun-text { font-family: 'SF Mono', Menlo, monospace; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 40px; font-size: 13px; z-index: 2; transition: all 0.4s ease; }
  .fun-trigger-global:hover .fun-text { color: var(--gold); letter-spacing: 0.15em; text-shadow: 0 0 15px rgba(255,210,74,0.5); }

  /* Interactive War Room Trigger */
  .fun-trigger-war { grid-column: 1 / -1; background: #050505; border: 1px solid rgba(255,60,60,0.2); border-radius: 12px; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; cursor: pointer; margin-top: 30px; text-decoration: none; transition: all 0.5s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,60,60,0.05); }
  .fun-trigger-war::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 2px, rgba(0,0,0,0.3) 4px); pointer-events: none; z-index: 2; }
  .fun-trigger-war::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,60,60,0.1), rgba(255,60,60,0.1) 10px, transparent 10px, transparent 20px) top / 100% 8px no-repeat, repeating-linear-gradient(-45deg, rgba(255,60,60,0.1), rgba(255,60,60,0.1) 10px, transparent 10px, transparent 20px) bottom / 100% 8px no-repeat; transition: all 0.5s; z-index: 1; }
  .fun-trigger-war:hover { border-color: rgba(255,210,74,0.6); box-shadow: 0 10px 40px rgba(255,210,74,0.15), inset 0 0 50px rgba(255,210,74,0.1); transform: translateY(-2px); }
  .fun-trigger-war:hover::after { background: repeating-linear-gradient(45deg, rgba(255,210,74,0.2), rgba(255,210,74,0.2) 10px, transparent 10px, transparent 20px) top / 100% 12px no-repeat, repeating-linear-gradient(-45deg, rgba(255,210,74,0.2), rgba(255,210,74,0.2) 10px, transparent 10px, transparent 20px) bottom / 100% 12px no-repeat; }
  .fun-trigger-war:hover .sys-corner { color: rgba(255,210,74,0.8) !important; }
  .fun-trigger-war:hover .top-left::after { content: ' » GRANTED'; color: #00e5ff; font-weight: bold; }
  .fun-trigger-war:hover .bottom-right { opacity: 0; }
  .lock-icon { width: 24px; height: 20px; border: 2px solid rgba(255,60,60,0.5); border-radius: 3px; position: relative; margin-bottom: 5px; z-index: 3; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .lock-icon::before { content: ''; position: absolute; top: -12px; left: 3px; right: 3px; height: 12px; border: 2px solid rgba(255,60,60,0.5); border-bottom: none; border-radius: 10px 10px 0 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
  .fun-trigger-war:hover .lock-icon { border-color: var(--gold); box-shadow: 0 0 15px rgba(255,210,74,0.4); }
  .fun-trigger-war:hover .lock-icon::before { border-color: var(--gold); transform: translateY(-6px); }
  .fun-trigger-war:hover .fun-text { color: var(--gold); letter-spacing: 0.15em; }
  .glitch-wrapper { position: relative; display: inline-block; z-index: 3; }
  .glitch-overlay { position: absolute; inset: 0; background: #050505; color: #00e5ff; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; font-weight: bold; }
  .fun-trigger-war:hover .glitch-overlay { animation: glitch-anim 0.7s steps(5, end) forwards; opacity: 1; }
  @keyframes glitch-anim { 0% { clip-path: inset(0 0 0 0); transform: translateX(-4px); } 20% { clip-path: inset(20% 0 80% 0); transform: translateX(4px); } 40% { clip-path: inset(60% 0 10% 0); transform: translateX(-4px); } 60% { clip-path: inset(40% 0 40% 0); transform: translateX(4px); } 80% { clip-path: inset(10% 0 60% 0); transform: translateX(-4px); } 100% { opacity: 0; clip-path: inset(100% 0 0 0); } }

/* --------------------------------------------------- */

/* Base Setup & Grid */
body { background: #0b0a08; color: #f8f0e4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.exp-paths-grid {
  max-width: 1400px;
  margin: 60px auto;
  padding: 34px 28px 78px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.experiment-header { text-align: center; margin-top: 60px; }
.experiment-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; margin-bottom: 10px; color: #fbfaf7; }
.experiment-header p { color: #d8cfc0; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* COMPACT 280px */
.exp-path-card {
  position: relative;
  height: 280px; 
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #f8f0e4;
  text-decoration: none;
  background: #0b0a08;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.exp-path-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "SF Mono", Menlo, monospace;
  color: #171006;
  background: #ffd24a;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.exp-path-card:hover .tag {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.front-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
  transition: all 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
}

.front-content::before {
  content: ""; position: absolute; inset: 0;
  background: var(--exp-path-image) center / cover no-repeat; z-index: -2;
}
.front-content::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,6,.1), rgba(8,8,6,.98)); z-index: -1;
}

.front-content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  color: #fbfaf7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.back-content {
  position: absolute;
  inset: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 4;
  background: #0b0a08;
  overflow-y: auto; 
  box-sizing: border-box;
  border-radius: 8px;
}

/* SLEEK TERMINAL SCROLLBAR */
.back-content::-webkit-scrollbar { width: 4px; opacity: 0; transition: opacity 0.3s; }
.back-content:hover::-webkit-scrollbar { opacity: 1; }
.back-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); margin: 10px 0; }
.back-content::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.15); border-radius: 4px; }
.back-content:hover::-webkit-scrollbar-thumb { background: rgba(255,210,74,0.4); }

/* STRUCTURED COPY TYPOGRAPHY */
.sol-wisdom { font-family: "Times New Roman", Times, serif; font-size: 16px; color: #ffd24a; margin-bottom: 4px; text-align: center; flex-shrink: 0; }
.sol-translation { font-family: Georgia, serif; font-size: 13px; color: rgba(255,210,74,0.8); font-style: italic; margin-bottom: 16px; text-align: center; flex-shrink: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sol-section { margin-bottom: 14px; flex-shrink: 0; }
.sol-section strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 4px; font-family: "SF Mono", Menlo, monospace; }
.sol-section p { font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.5; margin: 0; }
.sol-clue { font-family: "SF Mono", Menlo, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(255,210,74,0.1); color: #ffd24a; padding: 8px 12px; border-radius: 4px; border: 1px solid rgba(255,210,74,0.3); display: block; text-align: center; font-weight: bold; flex-shrink: 0; margin-top: auto; }

/* =========================================
   1. The Slide-Up Panel
   ========================================= */
.exp-slide { overflow: hidden; }
.exp-slide .back-content { top: 100%; transition: top 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); background: rgba(11,10,8,0.95); -webkit-backdrop-filter:blur(10px);
 backdrop-filter:blur(10px); border-top: 1px solid var(--gold); }
.exp-slide:hover .back-content { top: 0; }
.exp-slide:hover .front-content strong { transform: translateY(-20px); opacity: 0; }

/* =========================================
   2. The Vault Flip
   ========================================= */
.exp-flip { background: transparent; border: none; perspective: 1000px; }
.exp-flip .flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.exp-flip:hover .flip-inner { transform: rotateY(180deg); }
.exp-flip .front-content, .exp-flip .back-content { backface-visibility: hidden; border: 1px solid rgba(255,255,255,.16); }
.exp-flip .back-content { transform: rotateY(180deg); border-color: rgba(255,210,74,0.5); box-shadow: inset 0 0 40px rgba(255,210,74,0.05); }

/* =========================================
   3. The Holographic Pop-Out
   ========================================= */
.exp-popout { overflow: visible; z-index: 1; border: none; background: transparent; }
.exp-popout .card-body { 
  position: absolute; inset: 0; border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); 
  display: flex; flex-direction: column;
}
.exp-popout:hover { z-index: 50; }
.exp-popout:hover .card-body {
  top: -80px; bottom: -80px; left: -20px; right: -20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px var(--gold);
  z-index: 50;
}
.exp-popout .back-content { opacity: 0; transition: opacity 0.2s ease; background: rgba(11,10,8,0.98); border-radius: 8px; justify-content: flex-start; }
.exp-popout:hover .back-content { opacity: 1; transition-delay: 0.15s; }

/* =========================================
   4. The Vertical Flip
   ========================================= */
.exp-flip-v { background: transparent; border: none; perspective: 1000px; }
.exp-flip-v .flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; }
.exp-flip-v:hover .flip-inner { transform: rotateX(-180deg); }
.exp-flip-v .front-content, .exp-flip-v .back-content { backface-visibility: hidden; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); }
.exp-flip-v .back-content { transform: rotateX(180deg); border-color: var(--gold); }

/* =========================================
   5. The Iris Wipe
   ========================================= */
.exp-iris { overflow: hidden; }
.exp-iris .back-content { clip-path: circle(0% at 50% 50%); transition: clip-path 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); background: rgba(11,10,8,0.98); }
.exp-iris:hover .back-content { clip-path: circle(150% at 50% 50%); }

/* =========================================
   6. The Folder Tab Pull-Down
   ========================================= */
.exp-folder { overflow: hidden; }
.exp-folder .back-content { top: -100%; transition: top 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); background: rgba(11,10,8,0.98); border-bottom: 3px solid var(--gold); }
.exp-folder:hover .back-content { top: 0; }

/* --------------------------------------------------- */

/* Base Setup & Grid (Inherited from index-paths.html) */
body { background: #0b0a08; color: #f8f0e4; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.paths-grid {
  max-width: 1180px;
  margin: 60px auto;
  padding: 34px 28px 78px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns for better side-by-side comparison */
  gap: 30px;
}
.experiment-header { text-align: center; margin-top: 60px; }
.experiment-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; margin-bottom: 10px; color: #fbfaf7; }
.experiment-header p { color: #d8cfc0; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

.path-card {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  overflow: hidden;
  color: #f8f0e4;
  text-decoration: none;
  background: #0b0a08;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  will-change: transform;
}
.path-card::before {
  content: "";
  position: absolute;
  inset: -30px 0;
  background: var(--path-image) center / cover no-repeat;
  transition: transform .7s cubic-bezier(.2,.6,.2,1), filter .7s ease;
}
.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at 50% 28%, transparent, transparent 62%),
              linear-gradient(180deg, rgba(8,8,6,.25), rgba(8,8,6,.94));
}
.path-card strong, .path-card .tag { position: relative; z-index: 2; }
.path-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "SF Mono", Menlo, monospace;
  color: #171006;
  background: #ffd24a;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 15px;
  letter-spacing: 0.4px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 5;
}
.path-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.85vw, 24px);
  line-height: 1.08;
  color: rgba(251,250,247,0.9);
}

/* =========================================
   EXPERIMENT A: The Slide-Up Panel (Refined)
   ========================================= */
.exp-slide { overflow: hidden; }
.exp-slide .front-content { transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; z-index: 3; }
.exp-slide:hover .front-content { transform: translateY(-30px); opacity: 0; }
.exp-slide .slide-panel {
  position: absolute;
  bottom: -100%;
  left: 0; right: 0;
  height: 85%;
  background: linear-gradient(to top, rgba(11,10,8,0.98) 0%, rgba(11,10,8,0.95) 70%, transparent 100%);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 24px;
  transition: bottom 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 4;
  border-top: 1px solid rgba(255,210,74,0.3);
}
.exp-slide:hover .slide-panel { bottom: 0; }

/* =========================================
   EXPERIMENT B: The Vault Flip (3D Card)
   ========================================= */
.exp-flip { perspective: 1000px; background: transparent; border: none; overflow: visible; padding: 0; }
.exp-flip .flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.exp-flip:hover .flip-inner { transform: rotateY(180deg); }
.exp-flip .flip-front, .exp-flip .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
}
.exp-flip .flip-front {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.exp-flip .flip-front::before {
  content: ""; position: absolute; inset: -30px 0;
  background: var(--path-image) center / cover no-repeat; z-index: -2;
}
.exp-flip .flip-front::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,6,.25), rgba(8,8,6,.94)); z-index: -1;
}
.exp-flip .flip-back {
  background: #0b0a08;
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center; padding: 24px;
  border-color: rgba(255,210,74,0.5);
  box-shadow: inset 0 0 40px rgba(255,210,74,0.05);
}

/* =========================================
   EXPERIMENT C: The Focus Shift (Blur Reveal)
   ========================================= */
.exp-blur .blur-front {
  position: relative; z-index: 4; transition: all 0.5s ease;
  display: flex; flex-direction: column; height: 100%; justify-content: flex-end;
}
.exp-blur .blur-back {
  position: absolute; inset: 0; z-index: 3; padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; filter: blur(10px); transform: scale(1.05);
  background: rgba(11,10,8,0.85);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.exp-blur:hover .blur-front { opacity: 0; filter: blur(10px); transform: scale(0.95); }
.exp-blur:hover .blur-back { opacity: 1; filter: blur(0); transform: scale(1); }

/* =========================================
   EXPERIMENT D: Terminal Decryption (Glitch/Scramble)
   ========================================= */
.exp-decrypt .decrypt-front { position: relative; z-index: 4; transition: opacity 0.1s 0.3s; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; }
.exp-decrypt .decrypt-back {
  position: absolute; inset: 0; z-index: 5; padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
  background: rgba(5,5,5,0.95);
  opacity: 0; pointer-events: none;
  border: 1px solid rgba(0,229,255,0.3);
}
.exp-decrypt:hover .decrypt-front { opacity: 0; transition-delay: 0s; }
.exp-decrypt:hover .decrypt-back { opacity: 1; pointer-events: auto; animation: terminal-scan 0.5s ease-out forwards; }
@keyframes terminal-scan {
  0% { clip-path: polygon(0 0, 100% 0, 100% 5%, 0 5%); opacity: 0.5; }
  50% { clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); opacity: 0.8; }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
}


/* Shared Solution Typography */
.sol-anchor { font-family: Georgia, serif; font-size: 16px; color: #ffd24a; font-style: italic; margin-bottom: 12px; line-height: 1.4; }
.sol-root { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 12px; }
.sol-action { font-size: 14px; color: #fff; font-weight: 600; margin-bottom: 20px; line-height: 1.4; }
.sol-clue { font-family: "SF Mono", Menlo, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; background: rgba(255,210,74,0.15); color: #ffd24a; padding: 8px 12px; border-radius: 4px; border: 1px solid rgba(255,210,74,0.3); display: inline-block; width: max-content; }
.decrypt-theme .sol-anchor { color: #00e5ff; font-family: "SF Mono", monospace; font-style: normal; font-size: 12px; }
.decrypt-theme .sol-clue { color: #00e5ff; border-color: #00e5ff; background: rgba(0,229,255,0.1); }

/* --------------------------------------------------- */
.accordion-hierarchy-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 40px; position: relative; z-index: 10; }
      @media (max-width: 768px) { .accordion-hierarchy-container { gap: 20px; } }
      
      .myth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
      @media (max-width: 900px) { .myth-grid { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 600px) { .myth-grid { grid-template-columns: 1fr; } }
      .paths-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
      @media (max-width: 900px) { .paths-grid { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 600px) { .paths-grid { grid-template-columns: 1fr; } }

      .exp-popout .back-content { overflow-y: auto !important; }
      .hierarchy-content .h-tag { align-self: flex-start; }

      /* .control-panel/.visual-panel widths from the flex engine layout leak
         into the shield grid and crush the text column — reset them here */
      .layout-shield { background: #0b0a08; border-color: rgba(255,255,255,0.12); }
      .layout-shield .control-panel { width: 100%; padding: 0; }
      .layout-shield .visual-panel { width: 100%; }
      @media (max-width: 1000px) { .layout-shield .control-panel h1 { font-size: 2.4rem; } }

      /* shared .integrated-card is near-transparent; solid backing so the
         page background doesn't read through the myth cards */
      .myth-grid .integrated-card { background: #0b0a08; border: 1px solid rgba(255,255,255,0.16); border-left: 3px solid rgba(255,210,74,.36); }
      .myth-grid .integrated-card:hover { background: #171410; }
      body { background: #0b0a08; color: white; }
      .page-title { font-family: var(--font-serif); font-size: 3rem; text-align: center; margin: 60px 0 20px 0; color: #fff; }

.myth-theory-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    color: rgb(255, 255, 255);
    padding: 22px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.13);
    border-image: none;
    border-radius: 8px;
    background: radial-gradient(circle at right top, rgba(255, 210, 74, 0.08), transparent 45%), rgb(11, 10, 8);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.myth-card-action {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 22px;
    padding: 8px 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 210, 74, 0.32);
    border-image: none;
    border-radius: 4px;
    background: rgba(255, 210, 74, 0.08);
}


/* Mobile Responsive Overrides */
@media (max-width: 800px) {
  .layout-shield {
    padding: 20px;
    gap: 20px;
  }
  .layout-shield .visual-panel {
    min-height: 250px;
  }
  .sim-shield-arc {
    width: 250px !important;
    height: 250px !important;
  }
  
  .myth-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .myth-table th, .myth-table td {
    min-width: 140px;
    font-size: 0.75rem;
  }
}


@media (max-width: 800px) {
  .sim-shield {
    width: 250px !important;
    height: 250px !important;
  }
}


/* Educator Engine Container Mobile Fixes */
@media (max-width: 1024px) {
  .engine-container {
    padding: 20px;
  }
  .control-panel {
    padding: 20px !important;
  }
  .visual-panel {
    min-height: 350px !important;
    padding: 20px !important;
  }
}

@media (max-width: 800px) {
  .sim-shield {
    width: 250px !important;
    height: 250px !important;
  }
  .public-figure {
    top: -40px !important;
  }
  .state-defended .public-figure {
    top: 10px !important;
  }
  .state-defended .sim-shield {
    top: 50px !important;
  }
  .local-grid {
    gap: 8px !important;
  }
  .sim-node {
    width: 8px !important;
    height: 8px !important;
  }
  .defense-readout {
    font-size: 0.7rem !important;
    padding: 10px 15px !important;
    bottom: 10px !important;
  }
  .state-defended .defense-readout {
    bottom: 10px !important;
  }
}


/* Fix shield z-index so it's behind the public figure */
.public-figure {
  z-index: 3 !important;
}


/* Fix action-trigger text squishing on mobile */
@media (max-width: 800px) {
  .action-trigger {
    display: block !important;
    text-align: left !important;
  }
}

/* Dynamic Path Card Colors based on href (adds distinct flavor colors to the homepage and paths index) */
a.path-card, a.exp-path-card {
  --c-main: var(--gold, #ffd24a);
  --c-r: 255;
  --c-g: 210;
  --c-b: 74;
}

a.path-card[href="loner-path.html"], a.exp-path-card[href="loner-path.html"] { --c-main: #c9b896; --c-r: 201; --c-g: 184; --c-b: 150; }
a.path-card[href="women-path.html"], a.exp-path-card[href="women-path.html"] { --c-main: #e8a0b0; --c-r: 232; --c-g: 160; --c-b: 176; }
a.path-card[href="advocate-path.html"], a.path-card[href="minorities-path.html"], a.exp-path-card[href="advocate-path.html"] { --c-main: #7ec8e3; --c-r: 126; --c-g: 200; --c-b: 227; }
a.path-card[href="fathers-path.html"], a.exp-path-card[href="fathers-path.html"] { --c-main: #8fbf7a; --c-r: 143; --c-g: 191; --c-b: 122; }
a.path-card[href="story.html"], a.exp-path-card[href="story.html"] { --c-main: #d4a574; --c-r: 212; --c-g: 165; --c-b: 116; }
a.path-card[href="journalist.html"], a.exp-path-card[href="journalist.html"] { --c-main: #9ab0c8; --c-r: 154; --c-g: 176; --c-b: 200; }
a.path-card[href="educator.html"], a.exp-path-card[href="educator.html"] { --c-main: #e0b84a; --c-r: 224; --c-g: 184; --c-b: 74; }
a.path-card[href="christian.html"], a.exp-path-card[href="christian.html"] { --c-main: #b8a0d4; --c-r: 184; --c-g: 160; --c-b: 212; }
a.path-card[href="student.html"], a.exp-path-card[href="student.html"] { --c-main: #6ec9b8; --c-r: 110; --c-g: 201; --c-b: 184; }
a.path-card[href="citizen.html"], a.exp-path-card[href="citizen.html"] { --c-main: #7aa8d4; --c-r: 122; --c-g: 168; --c-b: 212; }
a.path-card[href="founder.html"], a.exp-path-card[href="founder.html"] { --c-main: #f0a060; --c-r: 240; --c-g: 160; --c-b: 96; }
a.path-card[href="warrior.html"], a.exp-path-card[href="warrior.html"] { --c-main: #d07060; --c-r: 208; --c-g: 112; --c-b: 96; }
a.path-card[href="public-positions.html"], a.exp-path-card[href="public-positions.html"] { --c-main: #ffd24a; --c-r: 255; --c-g: 210; --c-b: 74; }
a.path-card[href="Jew.html"], a.exp-path-card[href="Jew.html"] { --c-main: #5b8fd9; --c-r: 91; --c-g: 143; --c-b: 217; }
a.path-card[href="Israelis.html"], a.exp-path-card[href="Israelis.html"] { --c-main: #3d8fdb; --c-r: 61; --c-g: 143; --c-b: 219; }
a.path-card[href="creators.html"], a.exp-path-card[href="creators.html"] { --c-main: #57b271; --c-r: 87; --c-g: 178; --c-b: 113; }
a.path-card[href="tech.html"], a.exp-path-card[href="tech.html"] { --c-main: #5ec8e8; --c-r: 94; --c-g: 200; --c-b: 232; }
a.path-card[href="researcher.html"], a.exp-path-card[href="researcher.html"] { --c-main: #6a9fd4; --c-r: 106; --c-g: 159; --c-b: 212; }
a.path-card[href="funders.html"], a.exp-path-card[href="funders.html"] { --c-main: #ffd24a; --c-r: 255; --c-g: 210; --c-b: 74; }

/* Apply to .path-card and .exp-path-card based on inline variables if needed */
a.path-card:hover, a.exp-path-card:hover {
  border-color: rgba(var(--c-r), var(--c-g), var(--c-b), 0.72) !important;
  box-shadow: 0 26px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(var(--c-r), var(--c-g), var(--c-b), 0.25) !important;
  --spot: rgba(var(--c-r), var(--c-g), var(--c-b), 0.17) !important;
}

a.path-card .tag, a.exp-path-card .tag {
  background: var(--c-main) !important;
  color: #171006 !important;
}

a.path-card .action-clue, a.exp-path-card .action-clue {
  color: var(--c-main) !important;
  background: rgba(var(--c-r), var(--c-g), var(--c-b), 0.15) !important;
  border-color: rgba(var(--c-r), var(--c-g), var(--c-b), 0.3) !important;
}

a.path-card:hover .action-clue, a.exp-path-card:hover .action-clue {
  background: var(--c-main) !important;
  color: #0b0a08 !important;
  box-shadow: 0 4px 12px rgba(var(--c-r), var(--c-g), var(--c-b), 0.3) !important;
}

a.path-card:hover .tag, a.exp-path-card:hover .tag {
  box-shadow: 0 6px 18px rgba(var(--c-r), var(--c-g), var(--c-b), 0.4) !important;
}

/* Mobile-friendly checkbox cards for forms */
.path-checkbox-group {
  display: grid;
  gap: 10px;
  margin: 1.5rem 0;
  text-align: left;
}
.path-checkbox-group p {
  margin-bottom: 0.25rem;
  font-weight: bold;
  font-size: 0.95em;
  color: #fbfaf7;
}
.path-checkbox-card {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #e5d9c8;
  transition: .12s ease;
  line-height: 1.3;
}
.path-checkbox-card:has(input:checked) {
  border-color: rgba(255,210,74,0.55);
  background: rgba(255,210,74,0.08);
  color: #fbfaf7;
}
.path-checkbox-card input {
  margin-right: 12px;
  accent-color: var(--gold, #ffd24a);
  vertical-align: middle;
  transform: scale(1.1);
}
.path-data-consent {
  display: block;
  font-size: 0.85em;
  text-align: left;
  margin-bottom: 1.5rem;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,0.2);
  cursor: pointer;
}
.path-data-consent input {
  margin-right: 8px;
  vertical-align: middle;
}

