

    /* PISTA DE SCROLL CINEMATOGRÁFICA */
    .scroll-engine-track {
      position: relative;
      height: 800vh;
      width: 100%;
    }

    /* ESCENARIO FIJO STICKY */
    .sticky-stage-viewport {
      position: sticky;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* FONDOS GPU */
    .stage-canvas-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      will-change: opacity;
    }

    /* Viñeta cósmica: Azul noche luminoso en el centro degradándose a negro profundo */
.bg-night-blue {
  background: radial-gradient(
    circle at 50% 45%,
    #122b5c 0%,
    #09152E 22%,
    #040a18 45%,
    #000000 85%
  ) !important;
  background-color: #000000 !important;
  opacity: 1;
  z-index: 1;
}

    .bg-copper-glow {
      background: radial-gradient(ellipse 140% 85% at 50% 45%, #b56745 0%, #683021 55%, #09152E 100%);
      opacity: 0;
      z-index: 2;
    }

    .bg-cream-clean {
      background: radial-gradient(ellipse 150% 90% at 50% 65%, #F1E9DC 0%, #e0c8b0 55%, #854934 100%);
      opacity: 0;
      z-index: 3;
    }

    /* ==========================================================
       1. SECCIÓN 1 (TÚNEL HERO): TELÓN RECTO EN MOMENTO 0
    ========================================================== */
    .tunnel-hero-block {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%) translateY(0px);
      width: 100vw;
      height: 100vh;
      border-radius: 0px;
      background: radial-gradient(circle at center, #173264 0%, #09152E 85%);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 0 60px rgba(0, 71, 171, 0.4);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      z-index: 10;
      will-change: transform, width, height, border-radius, opacity;
      pointer-events: none;
    }

    .tunnel-grid-decor {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background-image: 
        linear-gradient(rgba(134, 201, 214, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(134, 201, 214, 0.18) 1px, transparent 1px);
      background-size: 38px 38px;
      opacity: 0.35;
      transform: rotateX(25deg);
    }

    .tunnel-chip-label {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #86C9D6;
      background: rgba(9, 21, 46, 0.85);
      padding: 6px 16px;
      border-radius: 20px;
      border: 1px solid rgba(134, 201, 214, 0.35);
      position: relative;
      z-index: 2;
    }

    .tunnel-title-text {
      font-size: clamp(26px, 3.8vw, 42px);
      font-weight: 800;
      text-align: center;
      color: #FFFFFF;
      position: relative;
      z-index: 2;
      text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
    }

    /* ==========================================================
       2. ÚNICO LIENZO DE MATERIA VIVA (ENCIMA DEL TELÓN)
    ========================================================== */
    #masterMatterCanvas {
      position: absolute;
      inset: 0;
      width: 100vw;
      height: 100vh;
      display: block;
      z-index: 20;
      pointer-events: auto;
      filter: drop-shadow(0 0 16px rgba(134, 201, 214, 0.75)) drop-shadow(0 0 32px rgba(229, 161, 127, 0.65));
    }

    /* SUBTÍTULOS Y AUDIO EN EL PISO DEL TERCIO INFERIOR (~65vh) */
    .subtitles-lower-dock {
      position: absolute;
      top: 65vh;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 840px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      z-index: 25;
      pointer-events: auto;
      opacity: 0;
      will-change: opacity;
    }

    .subtitles-pinned-box {
      font-size: clamp(16px, 2.1vw, 20px);
      line-height: 1.6;
      color: rgba(241, 233, 220, 0.95);
      text-align: center;
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
      font-weight: 550;
    }

    .subtitles-pinned-box span.word {
      display: inline-block;
      margin-right: 5px;
      opacity: 0.18;
      filter: blur(2px);
      transition: opacity 0.15s ease, filter 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
    }

    .subtitles-pinned-box span.word.lit {
      opacity: 1;
      filter: blur(0px);
      color: #FFFFFF;
      text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
    }

    /* BOTÓN CIRCULAR EN CRISTAL ESMERILADO (FROSTED GLASS) */
    .voice-speaker-btn {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.28);
      backdrop-filter: blur(16px) saturate(140%);
      -webkit-backdrop-filter: blur(16px) saturate(140%);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.15);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: relative;
    }

    .voice-speaker-btn:hover {
      background: rgba(255, 255, 255, 0.18);
      border-color: rgba(255, 176, 136, 0.6);
      transform: scale(1.08);
      box-shadow: 0 10px 30px rgba(181, 103, 69, 0.35);
    }

    .voice-speaker-btn.active {
      background: rgba(181, 103, 69, 0.35);
      border-color: #FFB088;
      box-shadow: 0 0 20px rgba(255, 176, 136, 0.5);
    }

    .speaker-icon-svg {
      width: 20px;
      height: 20px;
      fill: none;
      stroke: #E5A17F;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: stroke 0.25s ease;
    }

    .voice-speaker-btn:hover .speaker-icon-svg,
    .voice-speaker-btn.active .speaker-icon-svg {
      stroke: #FFFFFF;
    }

    .audio-waves {
      opacity: 0.35;
      transition: opacity 0.25s ease;
    }

    .voice-speaker-btn.active .audio-waves {
      opacity: 1;
      animation: soundPulse 1.2s infinite ease-in-out alternate;
    }

    @keyframes soundPulse {
      0% { transform: scale(0.9); opacity: 0.5; }
      100% { transform: scale(1.1); opacity: 1; }
    }

    /* ==========================================================
       3. TEXTOS DEL GANCHO (TRANSICIÓN AZUL -> COBRE)
    ========================================================== */
    .hook-typography-stage {
      position: absolute;
      width: 90%;
      max-width: 980px;
      display: flex;
      flex-direction: column;
      gap: 50px;
      z-index: 25;
      pointer-events: none;
      opacity: 0;
      will-change: transform, opacity;
    }









    /* ==========================================================
       4. HAZ LÁSER ÓPTICO Y FOGONAZO DE QUEMADURA (ZONA COBRE)
    ========================================================== */
    #laserSvgLayer {
      position: absolute;
      inset: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 28;
      overflow: visible;
    }

    .impact-burn-flash {
      position: absolute;
      top: 44%;
      left: 50%;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: radial-gradient(circle, #FFFFFF 0%, rgba(255, 220, 180, 0.95) 25%, rgba(229, 161, 127, 0.6) 50%, rgba(181, 103, 69, 0.25) 75%, transparent 100%);
      transform: translate(-50%, -50%) scale(0);
      mix-blend-mode: screen;
      pointer-events: none;
      z-index: 29;
      will-change: transform, opacity;
      opacity: 0;
    }

    /* ==========================================================
       5. CÁPSULA MORFOLÓGICA (CERO LÍNEAS DENTRO)
    ========================================================== */
    .fosema-morph-capsule {
      position: absolute;
      top: 44%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 86px;
      height: 86px;
      border-radius: 43px;
      background: #09152E;
      backdrop-filter: blur(28px) saturate(140%);
      -webkit-backdrop-filter: blur(28px) saturate(140%);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(181, 103, 69, 0.25);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      z-index: 30;
      opacity: 0;
      overflow: hidden;
      will-change: width, height, border-radius, transform, opacity;
    }

    .morph-center-photon {
      position: absolute;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #FFFFFF;
      box-shadow: 
        0 0 12px 4px #FFFFFF,
        0 0 26px 8px rgba(134, 201, 214, 0.6),
        0 0 42px 14px rgba(229, 161, 127, 0.4);
      z-index: 3;
      will-change: opacity, transform;
    }

    #perimeterCanvas {
      position: absolute;
      inset: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 31;
      opacity: 0;
      will-change: opacity;
    }

    .morph-capsule-content {
      position: relative;
      z-index: 4;
      width: 100%;
      max-width: 820px;
      padding: 0 32px;
      opacity: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      will-change: opacity;
    }

    .capsule-meta-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .capsule-badge-pill {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #FFFFFF;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .badge-copper-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #B56745;
      box-shadow: 0 0 8px #B56745;
    }

    .capsule-sub-title {
      font-family: "Georgia", serif;
      font-style: italic;
      font-size: 15.5px;
      color: #E5A17F;
    }

    .capsule-lead-headline {
      font-size: clamp(17px, 2.3vw, 22px);
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1.35;
    }

    .capsule-lead-headline span {
      color: #E5A17F;
      font-family: "Georgia", serif;
      font-style: italic;
      font-weight: 600;
    }

    .capsule-copy-text {
      font-size: 13.5px;
      color: rgba(241, 233, 220, 0.88);
      line-height: 1.55;
    }

    /* ==========================================================
       6. TARJETAS DE LOS PILARES (ENTRAN EN LA ZONA CREMA)
    ========================================================== */
    .pillars-dock-stage {
      position: absolute;
      bottom: 5vh;
      width: 92vw;
      max-width: 1240px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      z-index: 35;
      opacity: 0;
      transform: translateY(60px);
      will-change: opacity, transform;
      pointer-events: none;
    }

    .pillar-glass-box {
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(28px) saturate(140%);
      -webkit-backdrop-filter: blur(28px) saturate(140%);
      border: 1px solid rgba(255, 255, 255, 0.95);
      border-radius: 24px;
      padding: 26px 22px;
      box-shadow: 0 16px 40px rgba(9, 21, 46, 0.08);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #09152E;
    }

    .pillar-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }

    .pillar-card-number {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #B56745;
    }

    .pillar-card-badge {
      font-size: 10px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 6px;
    }

    .badge-cyan { background: rgba(0, 71, 171, 0.08); color: #0047AB; }
    .badge-copper { background: rgba(181, 103, 69, 0.12); color: #B56745; }
    .badge-green { background: rgba(46, 125, 50, 0.1); color: #2E7D32; }

    .pillar-card-title {
      font-size: 19px;
      font-weight: 800;
      color: #09152E;
      margin-bottom: 8px;
    }

    .pillar-card-desc {
      font-size: 13px;
      line-height: 1.5;
      color: rgba(9, 21, 46, 0.75);
      margin-bottom: 16px;
    }

    .pillar-card-diagram {
      background: rgba(9, 21, 46, 0.035);
      border: 1px solid rgba(9, 21, 46, 0.08);
      border-radius: 16px;
      padding: 12px 10px;
      text-align: center;
      font-size: 11px;
      font-weight: 700;
      color: #09152E;
    }

    /* PASTILLA MINIMALISTA ACTUALIZADA */
    .scroll-instruction-pill {
      position: absolute;
      bottom: 20px;
      padding: 8px 18px;
      border-radius: 20px;
      background: rgba(9, 21, 46, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.2);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #E5A17F;
      z-index: 40;
      pointer-events: none;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    @media (max-width: 768px) {

      .pillars-dock-stage { grid-template-columns: 1fr; position: relative; bottom: auto; margin-top: 30px; }
      .fosema-morph-capsule { top: 34%; }
      .subtitles-lower-dock { top: 62vh; width: 94%; }
    }
  
/* Integration boundaries only: the Hero keeps all of its own CSS and DOM. */
html, body {overflow-x:clip;}
#masterMatterCanvas {pointer-events:none;}
.sticky-stage-viewport > :not(#tunnelHero) {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;}
#strategy-finale {background:#F1E9DC;padding:32px max(24px,6vw) 80px;}
#strategy-finale .strategy-action-band {max-width:1200px;margin-inline:auto;}

/* Fit the approved diagrams without changing their internal geometry or text sizes. */
#pillarsDock {bottom:max(64px,5vh);overflow-y:auto;overscroll-behavior-y:contain;grid-auto-rows:max-content;align-content:start;scrollbar-width:thin;scrollbar-color:transparent transparent;}
#capsuleRetorno,#perimeterCanvas {translate:0 var(--integration-rise,0px);}
@media(max-width:768px) {
 #pillarsDock {position:absolute;margin-top:0;bottom:max(64px,5vh);grid-template-columns:1fr;}
 .fosema-morph-capsule {top:44%;}
 .capsule-meta-top {flex-direction:column;align-items:flex-start;gap:6px;}
 .capsule-badge-pill {font-size:11px;letter-spacing:.09em;}
 .morph-capsule-content {padding:0 24px;}
}

