/* RC15.39 — Blueprint implementation of the approved Epilogue design */

/* The old transition shell is empty after moving The Next Story into the epilogue. */
.global-journey__climax{display:none !important;}

#next-story.epilogue{margin:0!important;border-top:1px solid rgba(103,232,249,.09);background:#06111f;}
.epilogue__chapter--memory{margin:0!important;padding:0!important;background:#06111f!important;}
.epilogue__memory-sequence{min-height:620vh!important;padding:0!important;margin:0!important;}
.epilogue__memory-sticky{position:sticky!important;top:0!important;height:100svh!important;overflow:hidden!important;background:#06111f!important;}
.memory-orbit{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;background:radial-gradient(circle at 50% 58%,rgba(28,74,116,.16),transparent 42%),#06111f!important;}

/* ========================= INITIAL BLUEPRINT STATE ========================= */
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__status,
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__progress{display:none!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit::before{display:none!important;}

.epilogue-reference-intro{position:absolute;z-index:25;left:0;top:0;width:100%;height:42svh;opacity:1;visibility:visible;transition:opacity .5s ease,transform .65s cubic-bezier(.22,.61,.36,1);}
.global-journey__next-story{position:absolute!important;z-index:30!important;left:50%!important;top:1.8svh!important;width:min(760px,72vw)!important;transform:translateX(-50%)!important;margin:0!important;padding:0!important;text-align:center!important;display:grid!important;justify-items:center!important;opacity:1!important;pointer-events:none!important;}
.global-journey__next-story span{font-size:clamp(54px,4.2vw,76px)!important;line-height:.95!important;letter-spacing:-.055em!important;font-weight:700!important;color:#f1f7ff!important;}
.global-journey__next-story strong{margin-top:7px!important;font-size:clamp(15px,1vw,19px)!important;line-height:1.3!important;color:#22d3ee!important;font-weight:400!important;}
.global-journey__next-story p{margin:5px 0 0!important;font-size:clamp(12px,.78vw,15px)!important;line-height:1.35!important;color:#e2ebf5!important;}
.global-journey__next-story i{display:block!important;width:1px!important;height:25px!important;margin-top:9px!important;background:linear-gradient(#22d3ee,rgba(34,211,238,0))!important;}

/* Four large photo cards: one clean row, no text overlap. */
.global-journey__epilogue-peek{position:absolute!important;z-index:20!important;left:3.2vw!important;right:3.2vw!important;top:15.6svh!important;height:24.8svh!important;display:grid!important;grid-template-columns:1.02fr 1.04fr 1.04fr 1.02fr!important;gap:1vw!important;align-items:stretch!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;}
.global-journey__epilogue-peek::before{display:none!important;}
.global-journey__epilogue-peek figure{position:relative!important;inset:auto!important;width:auto!important;height:100%!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(34,211,238,.28)!important;border-radius:16px!important;background:#071522!important;box-shadow:0 15px 42px rgba(0,0,0,.33),0 0 16px rgba(34,211,238,.05)!important;cursor:pointer!important;transform:none!important;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,filter .22s ease!important;}
.global-journey__epilogue-peek figure:nth-child(1),
.global-journey__epilogue-peek figure:nth-child(4){height:94%!important;align-self:end!important;}
.global-journey__epilogue-peek figure:nth-child(2),
.global-journey__epilogue-peek figure:nth-child(3){height:100%!important;align-self:start!important;}
.global-journey__epilogue-peek img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;opacity:.9!important;filter:brightness(.84) saturate(.92)!important;}
.global-journey__epilogue-peek figure:nth-child(2) img{object-position:center 44%!important;}
.global-journey__epilogue-peek figure::after{content:"";position:absolute;z-index:2;left:0;right:0;bottom:0;height:38%;background:linear-gradient(to top,rgba(1,7,15,.88),rgba(1,7,15,0));pointer-events:none;}
.global-journey__epilogue-peek figcaption{position:absolute!important;z-index:5!important;left:15px!important;bottom:12px!important;display:flex!important;gap:9px!important;align-items:baseline!important;opacity:1!important;visibility:visible!important;font-family:var(--font-mono,monospace)!important;text-shadow:0 1px 6px rgba(0,0,0,.95)!important;}
.global-journey__epilogue-peek figcaption b{color:#22d3ee!important;font-size:13px!important;font-weight:800!important;}
.global-journey__epilogue-peek figcaption span{color:#fff!important;font-size:12px!important;font-weight:700!important;}
.global-journey__epilogue-peek figure.is-memory-pulse{z-index:60!important;transform:scale(1.10)!important;box-shadow:0 24px 64px rgba(0,0,0,.56),0 0 30px rgba(34,211,238,.22)!important;filter:brightness(1.06)!important;}

/* Lower 05–18 orbit occupies the lower 58% of the SAME viewport. */
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__archive{position:absolute!important;z-index:4!important;left:0!important;top:42svh!important;width:100%!important;height:58svh!important;opacity:1!important;transform:none!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__archive::before{content:"";position:absolute;z-index:0;left:3.3%;top:3%;width:93.4%;height:91%;border:1.4px solid rgba(34,211,238,.95);border-radius:50%;box-shadow:0 0 13px rgba(34,211,238,.18);pointer-events:none;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__archive::after{content:"";position:absolute;z-index:1;inset:0;background:
 radial-gradient(circle at 8% 52%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 13% 72%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 22% 88%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 37% 95%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 52% 97%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 68% 93%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 82% 80%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 92% 60%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 91% 36%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 80% 14%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 64% 4%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 45% 3%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 27% 8%,#55e9ff 0 3px,transparent 4px),
 radial-gradient(circle at 14% 26%,#55e9ff 0 3px,transparent 4px);pointer-events:none;}

/* 01–04 are the large cards above. */
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(-n+4){opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(n+5){width:11.2vw!important;min-width:125px!important;max-width:190px!important;opacity:.95!important;visibility:visible!important;transform:translate(-50%,-50%) scale(1)!important;border-radius:12px!important;box-shadow:0 12px 30px rgba(0,0,0,.38),0 0 10px rgba(34,211,238,.08)!important;}

/* Clockwise 05–18 positions, normalized to the lower orbit zone. */
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(5){left:69.5%!important;top:11%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(6){left:80.5%!important;top:19%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(7){left:89.0%!important;top:31%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(8){left:92.0%!important;top:47%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(9){left:88.0%!important;top:65%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(10){left:79.0%!important;top:80%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(11){left:67.0%!important;top:90%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(12){left:54.0%!important;top:94%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(13){left:41.0%!important;top:94%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(14){left:28.0%!important;top:90%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(15){left:17.0%!important;top:79%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(16){left:9.5%!important;top:62%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(17){left:10.5%!important;top:39%!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(18){left:19.5%!important;top:17%!important;}

.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center{position:absolute!important;z-index:12!important;left:50%!important;top:69svh!important;width:min(42vw,650px)!important;transform:translate(-50%,-50%)!important;text-align:center!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center .epilogue__kicker{display:block!important;margin-bottom:10px!important;color:#22d3ee!important;font-size:9px!important;letter-spacing:.21em!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center h2{margin:0!important;font-size:clamp(60px,5.6vw,100px)!important;line-height:.80!important;letter-spacing:-.058em!important;}
.epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center p{margin:18px 0 0!important;color:#8fa4ba!important;font-size:clamp(11px,.72vw,14px)!important;line-height:1.5!important;}

/* ========================= FULL INTERACTIVE HANDOFF ========================= */
.epilogue__chapter--memory.is-blueprint-handoff .epilogue-reference-intro{opacity:0!important;visibility:hidden!important;transform:translateY(-40px)!important;pointer-events:none!important;}
.epilogue__chapter--memory.is-blueprint-handoff .memory-orbit__archive{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transition:all .7s cubic-bezier(.22,.61,.36,1)!important;}
.epilogue__chapter--memory.is-blueprint-handoff .memory-orbit__archive::before,
.epilogue__chapter--memory.is-blueprint-handoff .memory-orbit__archive::after{display:none!important;}
.epilogue__chapter--memory.is-blueprint-handoff .memory-orbit__center{transition:all .7s cubic-bezier(.22,.61,.36,1)!important;}

/* Desktop-first reference; tablet/mobile keep a simpler safe layout. */
@media(max-width:999px){
 .epilogue-reference-intro{height:48svh!important;}
 .global-journey__next-story{top:2svh!important;width:90vw!important;}
 .global-journey__next-story span{font-size:clamp(40px,8vw,58px)!important;}
 .global-journey__epilogue-peek{left:2vw!important;right:2vw!important;top:18svh!important;height:27svh!important;gap:6px!important;}
 .global-journey__epilogue-peek figcaption{left:7px!important;bottom:7px!important;gap:4px!important;}
 .global-journey__epilogue-peek figcaption b,.global-journey__epilogue-peek figcaption span{font-size:8px!important;}
 .epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__archive{top:48svh!important;height:52svh!important;}
 .epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__tile:nth-child(n+5){width:14vw!important;min-width:72px!important;}
 .epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center{top:73svh!important;width:70vw!important;}
 .epilogue__chapter--memory:not(.is-blueprint-handoff) .memory-orbit__center h2{font-size:clamp(42px,9vw,70px)!important;}
}
