/* Slide decks: cinematic dark page, picture left, narrator and idea right. Light motion on the drawings. */
.deck-layer { z-index: 40; place-items: center; background: radial-gradient(circle at 30% 20%, #2a0707, #070707 70%); padding: 20px max(16px, env(safe-area-inset-left, 0px)); }
.deck { width: min(1100px, 100%); justify-self: center; display: grid; gap: 14px; }
.deck-top { display: flex; justify-content: space-between; align-items: center; }
.slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; background: linear-gradient(#1d1d1d, #101010); border: 1px solid #000; box-shadow: inset 0 0 0 1px #3a3a3a, 0 20px 60px #000; border-radius: 10px; padding: 28px; min-height: 440px; animation: sl-in .45s ease-out; }
.slide.k-story { border-top: 4px solid var(--gold); } .slide.k-idea { border-top: 4px solid #8fb3d9; } .slide.k-mission { border-top: 4px solid var(--cinnabar); }
.slide-art { background: #0f0f0f; border-radius: 8px; box-shadow: inset 0 0 0 1px #2c2c2c; padding: 10px; }
.art { width: 100%; height: auto; display: block; font-family: var(--f-body); }
.slide-text { display: grid; gap: 14px; align-content: center; }
.slide-text h2 { font: italic 700 clamp(24px, 3.2vw, 36px)/1.15 var(--f-display); color: #fff; text-shadow: 0 2px 0 var(--blood, #8e0b0b); }
.slide-body { margin: 0; font-size: 16px; line-height: 1.6; color: #e6e6e6; max-width: 52ch; }
.who { display: flex; align-items: center; gap: 10px; }
.who b { display: block; } .who small { color: var(--muted); font-size: 12px; }
.mono-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 20px var(--f-display); color: #111; border: 2px solid #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); flex: none; }
.kind { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: #2b2b2b; color: var(--gold); }
.k-idea .kind { color: #8fb3d9; } .k-mission .kind { color: #fff; background: var(--cinnabar); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.points div { background: #232323; border: 1px solid #3a3a3a; border-left: 3px solid var(--gold); border-radius: 6px; padding: 8px 10px; display: grid; gap: 2px; animation: sl-in .5s ease-out both; }
.points div:nth-child(2) { animation-delay: .1s; } .points div:nth-child(3) { animation-delay: .2s; } .points div:nth-child(4) { animation-delay: .3s; }
.points b { color: var(--gold); } .points span { font-size: 13px; color: #d8d8d8; }
.deck-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.deck-nav .btn.primary { padding: 10px 26px; font-size: 15px; }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; } .dots i.past { background: #7a5c10; } .dots i.on { background: var(--gold); transform: scale(1.3); }
.story-after { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #1f1a10; font-style: italic; color: #f0e2bd; }
/* drawing motion */
.art .draw { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s ease-out .2s forwards; }
.art .pop { transform-box: fill-box; transform-origin: center; animation: pop .5s ease-out both; }
.art .grow { transform-box: fill-box; transform-origin: bottom; animation: grow 1s ease-out both; }
.art .drain { transform-box: fill-box; transform-origin: bottom; animation: drain 2.4s ease-in-out infinite alternate; }
.art .swing { transform-box: fill-box; transform-origin: bottom left; animation: swing 2s ease-in-out infinite alternate; }
.art .needle { transform-origin: 200px 190px; animation: needle 2.2s ease-in-out infinite alternate; }
.art .tilt { transform-origin: 200px 195px; animation: tilt 1.6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes drain { to { transform: scaleY(.45); } }
@keyframes swing { to { transform: rotate(-12deg); } }
@keyframes needle { from { transform: rotate(-70deg); } }
@keyframes tilt { from { transform: rotate(0); } to { transform: rotate(12deg); } }
@keyframes sl-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 860px) { .slide { grid-template-columns: minmax(0, 1fr); padding: 16px; min-height: 0; gap: 14px; } .slide-body { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .slide, .points div, .art * { animation: none !important; stroke-dashoffset: 0 !important; } }
.deck-layer { position: fixed; inset: 0; overflow: auto; }
@media (max-width: 860px) { .deck-layer { align-items: start; padding-top: 12px; } }
