/* ================= 9 · THE ADVENTURE =================
   Stacked on phones; on wide screens each act fills the window and slides sideways. */
.adventure { position: relative; background: var(--ink); }
.reel { display: flex; flex-direction: column; }
.act { --off: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; padding: 4.5rem var(--gut) 4rem; overflow: hidden; isolation: isolate; }
.act-art { position: relative; z-index: 2; width: min(100%, 560px); }
.act-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.act-text { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; max-width: 40ch; }
.act-num { font: 400 clamp(3.4rem, 9vw, 8rem)/1.1 var(--chunk); }
.act-text h3 { font-weight: 800; font-stretch: 76%; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: .95; }
.act-text p { font: clamp(1.25rem, 1.8vw, 1.7rem)/1.25 var(--hand); }
.ghost { position: absolute; z-index: 0; white-space: nowrap; pointer-events: none; user-select: none; line-height: 1; }
.prop { position: absolute; z-index: 4; width: clamp(60px, 9vw, 140px); pointer-events: none; filter: drop-shadow(0 12px 10px rgb(0 0 0 / .28)); translate: calc(var(--off) * var(--k, 220px)) 0; }

/* title card */
.act-title { background: var(--sun); }
.act-title::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgb(21 19 26 / .16) 0 2.5px, transparent 3px) 0 0 / 30px 30px; }
.act-kicker { font-size: 1.6rem; }
.act-title .display { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: clamp(3.4rem, 17vw, 8rem); text-transform: uppercase; }
.act-title .display span:nth-child(2) { color: var(--paper); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; }
.act-title .display em { text-transform: none; font: 400 .6em/1.35 var(--chunk); color: var(--paper); background: var(--cobalt); border: 4px solid var(--ink); border-radius: .3em; padding: 0 .3em; rotate: -3deg; hyphens: manual; }
.act-title img { height: min(300px, 44vw); width: auto; filter: drop-shadow(0 18px 14px rgb(0 0 0 / .25)); }
.act-cue { font-size: 1.6rem; }
.act-cue b { display: inline-block; animation: nudge 1s ease-in-out infinite alternate; }
@keyframes nudge { to { translate: 14px 0; } }

/* 01 · the blank: a hushed gallery wall */
.act-blank { background: linear-gradient(#f3f2ef 0 72%, #dcd9d2 72%); }
.act-blank .ghost { left: 50%; top: 5%; translate: calc(-50% + var(--off) * 40vw) 0; font-weight: 800; font-stretch: 75%; font-size: 31vw; color: transparent; -webkit-text-stroke: 2px rgb(21 19 26 / .2); }
.act-blank .act-art { padding: clamp(14px, 2.4vw, 34px); background: #fff; border: 12px solid var(--ink); box-shadow: 0 40px 50px -24px rgb(0 0 0 / .5), inset 0 0 0 1px #ccc; }
.act-blank .act-text { background: #fff; padding: 1.2rem 1.5rem 1.4rem; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.act-blank .rope { position: absolute; z-index: 1; left: 4%; right: 4%; bottom: 7%; height: 40px; border-bottom: 7px solid var(--tomato); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.act-blank .p1 { right: 7%; bottom: 12%; rotate: 24deg; }

/* 02 · the spark: lights out, one glowing circle */
.act-spark { background: radial-gradient(circle at 62% 44%, #39246e, #15131a 62%); color: var(--paper); }
.act-spark .ghost { right: 2%; bottom: 4%; translate: calc(var(--off) * 36vw) 0; font: 400 25vw/1.2 var(--chunk); color: rgb(183 140 255 / .22); }
.act-spark .stars { position: absolute; left: 8%; top: 12%; z-index: 1; color: var(--sun); font-size: clamp(1.4rem, 3vw, 2.8rem); letter-spacing: .9em; animation: twinkle 1.6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }
.act-spark .act-art { width: min(100%, 520px); }
.act-spark .act-art img { aspect-ratio: 1; object-position: 62% 50%; border-radius: 50%; border: 6px solid var(--paper); box-shadow: 0 0 0 14px rgb(255 196 20 / .45), 0 0 0 30px rgb(255 119 183 / .24), 0 0 90px 40px rgb(183 140 255 / .6); }
.act-spark .act-num { color: var(--sun); }
.act-spark .p1 { left: 44%; top: 15%; rotate: 14deg; --k: 340px; }
.act-spark .p2 { right: 6%; top: 17%; rotate: -10deg; }

/* 03 · the mess: everything at once */
.act-mess { background: repeating-linear-gradient(-45deg, var(--cobalt) 0 70px, #1f37c9 70px 140px); color: var(--paper); }
.act-mess .ghost { left: -4%; top: 40%; translate: calc(var(--off) * -50vw) 0; rotate: -8deg; font-weight: 800; font-stretch: 100%; font-size: 15vw; color: rgb(255 254 251 / .1); }
.act-mess .act-art { filter: drop-shadow(14px 16px 0 var(--ink)); rotate: calc(-3deg + var(--off) * 14deg); }
.act-mess .act-art img { aspect-ratio: 5 / 4; clip-path: polygon(3% 9%, 17% 2%, 34% 7%, 52% 0, 69% 6%, 88% 1%, 98% 14%, 94% 33%, 100% 52%, 95% 71%, 99% 89%, 83% 97%, 66% 93%, 49% 100%, 31% 94%, 12% 99%, 1% 86%, 6% 66%, 0 47%, 5% 27%); }
.act-mess .act-text { background: var(--paper); color: var(--ink); padding: 1.1rem 1.5rem 1.5rem; rotate: 2.5deg; clip-path: polygon(0 3%, 12% 0, 28% 4%, 47% 1%, 68% 4%, 84% 0, 100% 3%, 98% 97%, 82% 100%, 63% 96%, 44% 100%, 24% 97%, 8% 100%, 1% 96%); }
.act-mess .act-num { color: var(--tomato); }
.yell { position: absolute; z-index: 4; padding: .1rem 1rem .25rem; border: 3px solid var(--ink); border-radius: 99px; color: var(--ink); font: clamp(1.3rem, 2.4vw, 2.2rem)/1.3 var(--hand); animation: shake .9s ease-in-out infinite alternate; }
@keyframes shake { from { rotate: -7deg; } to { rotate: 6deg; translate: 0 -7px; } }
.y1 { left: 47%; top: 13%; background: var(--sun); }
.y2 { right: 7%; bottom: 17%; background: var(--pink); animation-delay: -.4s; }
.y3 { left: 6%; bottom: 16%; background: var(--lime); animation-delay: -.7s; }
.act-mess .p1 { right: 5%; top: 14%; rotate: 20deg; --k: 360px; }
.act-mess .p2 { left: 3%; top: 15%; rotate: -24deg; --k: 150px; }
.act-mess .p3 { left: 46%; bottom: 8%; --k: 280px; }

/* 04 · the extraordinary: sunburst and a window into the new world */
.act-wow { background: var(--tomato); }
.act-wow .burst { position: absolute; left: 34%; top: 50%; z-index: -1; width: 220vmax; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(var(--sun) 0 8deg, transparent 8deg 18deg); animation: turn 70s linear infinite; }
.act-wow .ghost { right: -1%; top: 5%; translate: calc(var(--off) * 40vw) 0; font-weight: 800; font-stretch: 75%; font-size: 19vw; color: var(--paper); -webkit-text-stroke: .04em var(--ink); paint-order: stroke fill; }
.act-wow .act-art img { aspect-ratio: 1; border: 6px solid var(--ink); border-radius: 999px 999px 26px 26px; box-shadow: 18px 18px 0 var(--ink); }
.act-wow .act-art { width: min(100%, 540px); }
.act-wow .act-text { background: var(--paper); padding: 1.1rem 1.5rem 1.4rem; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); }
.act-wow .p1 { left: 4%; top: 12%; rotate: -12deg; }
.act-wow .p2 { right: 6%; bottom: 28%; rotate: 12deg; --k: 320px; }
.act-wow .p3 { left: 43%; bottom: 9%; rotate: -8deg; --k: 150px; }
.act-cta { position: relative; z-index: 4; }

.hud { display: none; }

/* ---------- wide screens: pinned, sideways ---------- */
.adventure.pinned .adventure-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; }
.adventure.pinned .reel { flex-direction: row; width: max-content; height: 100%; will-change: transform; }
.adventure.pinned .act { flex: none; width: 100vw; height: 100%; flex-direction: row; justify-content: center; gap: clamp(2rem, 5vw, 6rem); padding: 84px var(--gut) 118px; }
.adventure.pinned .act-art { flex: none; width: min(50vw, calc((100svh - 270px) * 1.3)); translate: calc(var(--off) * 18vw) 0; }
.adventure.pinned .act-spark .act-art, .adventure.pinned .act-wow .act-art { width: min(42vw, calc(100svh - 260px)); }
.adventure.pinned .act-text { width: min(30vw, 440px); translate: calc(var(--off) * 36vw) 0; }
.adventure.pinned .act-spark { flex-direction: row-reverse; }
.adventure.pinned .act-mess .act-text { align-self: flex-end; margin-bottom: 5svh; }
.adventure.pinned .act-blank .act-text { align-self: flex-end; margin-bottom: 8svh; }
.adventure.pinned .act-wow { flex-direction: row-reverse; }
.adventure.pinned .act-wow .act-cta { position: absolute; left: var(--gut); bottom: calc(118px + 3svh); }
.adventure.pinned .act-wow .act-text { align-self: center; margin-bottom: 6svh; }
.adventure.pinned .act-title { display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; align-items: center; column-gap: 5vw; row-gap: 1rem; }
.adventure.pinned .act-title .act-kicker { grid-column: 1; grid-row: 1; justify-self: center; }
.adventure.pinned .act-title .display { grid-column: 1; grid-row: 2; font-size: min(10.5vw, 15.5svh); }
.adventure.pinned .act-title img { grid-column: 2; grid-row: 1 / span 2; height: min(58svh, 34vw); }
.adventure.pinned .act-title .act-cue { grid-column: 2; grid-row: 3; justify-self: center; }

/* progress trail with Blan walking along it */
.adventure.pinned .hud { display: block; position: absolute; left: 10vw; right: max(30vw, 430px); bottom: 42px; height: 16px; z-index: 6; }
.hud-line { position: absolute; inset: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: 99px; overflow: hidden; }
.hud-line b { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--leaf) 8px 16px); transform: scaleX(0); transform-origin: left; }
.hud-blan { position: absolute; bottom: 6px; left: 0; translate: -50% 0; z-index: 2; pointer-events: none; }
.hud-blan .porthole { width: 52px; }
.hud-blan img { width: calc(941 / 440 * 100%); left: calc(-220 / 440 * 100%); }
.stop { position: absolute; top: 50%; left: calc(var(--at) * 100%); translate: -50% -50%; width: 26px; height: 26px; padding: 0; border: 3px solid var(--ink); border-radius: 50%; background: var(--paper); }
.stop[aria-current] { background: var(--sun); }
.stop span { position: absolute; left: 50%; top: calc(100% + 8px); translate: -50% 0; white-space: nowrap; padding: .05rem .6rem; background: var(--ink); color: var(--paper); border-radius: 99px; font-size: .78rem; font-weight: 700; }

@media (min-width: 761px) and (max-width: 1100px) {
  .adventure.pinned .act-art { width: min(50vw, calc((100svh - 270px) * 1.3)); }
  .adventure.pinned .hud { left: 9vw; right: 9vw; bottom: 100px; }
  .adventure.pinned .stop span { display: none; }
  .adventure.pinned .act { padding-bottom: 150px; }
}
@media (max-width: 760px) {
  .act-blank .p1, .y3, .act-spark .p2, .act-mess .p2 { display: none; }
  .act .prop { translate: none; }
  .act-blank .ghost { translate: -50% 0; top: 1%; }
  .act-spark .ghost, .act-wow .ghost { translate: none; }
  .act-wow .ghost { top: 1%; }
  .act-mess .ghost { translate: none; }
  .y1 { left: auto; right: 6%; top: 2%; }
  .y2 { bottom: 2%; }
  .act-spark .act-art { width: min(82%, 420px); margin-block: 1.6rem; }
  .act-wow .act-art { margin-top: 2.4rem; }
  .act-wow .burst { top: 30%; left: 50%; }
  .act-mess .p1 { top: auto; bottom: 1%; right: auto; left: 5%; }
  .act-mess .p3 { display: none; }
  .act-spark .p1 { left: auto; right: 4%; top: 3%; }
  .act-wow .p2 { display: none; }
  .act-wow .p3 { left: auto; right: 4%; bottom: 1%; }
}
