:root {
  color-scheme: light;
  --blue: #294bd9;
  --deep-blue: #17246d;
  --pink: #f51d78;
  --ink: #17142a;
  --paper: #fff;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Georgia, "Times New Roman", serif; }
img { display: block; }

.loading-note { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; color: var(--blue); background: #fff; font: .72rem/1 Arial, sans-serif; letter-spacing: .18em; transition: opacity .35s ease; }
.is-ready .loading-note { opacity: 0; pointer-events: none; }

.reading-progress { position: fixed; z-index: 30; right: 3vw; bottom: 1.25rem; left: 3vw; height: 2px; background: rgb(40 77 219 / 15%); pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--pink); }
.scroll-cue { position: fixed; z-index: 30; right: 3vw; bottom: 1.55rem; color: var(--deep-blue); font: 600 .62rem/1 Arial, sans-serif; letter-spacing: .18em; opacity: var(--cue-opacity, 1); pointer-events: none; }
.scroll-cue::after { display: inline-block; width: 1.5rem; height: 1px; margin: 0 0 .2rem .6rem; background: var(--pink); content: ""; }

.story-intro { position: relative; min-height: 118svh; overflow: hidden; color: var(--deep-blue); background: #fff; isolation: isolate; }
.story-intro::before { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(ellipse at 18% 26%, rgb(255 36 126 / 18%), transparent 24%), radial-gradient(ellipse at 84% 72%, rgb(41 75 217 / 20%), transparent 30%), radial-gradient(ellipse at 50% 48%, rgb(245 205 221 / 22%), transparent 42%); content: ""; animation: intro-drift 11s ease-in-out infinite alternate; }
.story-intro__grain { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgb(23 36 109 / 36%) .6px, transparent .6px); background-size: 7px 7px; mix-blend-mode: multiply; }
@keyframes intro-drift { to { transform: scale(1.08) rotate(1.5deg); } }
.story-intro__content { display: grid; align-content: center; min-height: 118svh; padding: clamp(2rem, 8vw, 8rem); }
.story-intro__kicker, .story-intro__prompt { margin: 0; font: 600 .7rem/1.2 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.story-intro__content h1 { max-width: 58rem; margin: 1.35rem 0 3rem; font-size: clamp(4rem, 10vw, 10rem); font-weight: 400; line-height: .87; letter-spacing: -.065em; }
.story-intro__content h1 em { color: var(--pink); font-style: normal; }
.story-intro__prompt { color: rgb(23 36 109 / 70%); }
.story-intro__prompt span { display: inline-block; margin-left: .5rem; color: var(--pink); font-size: 1.2rem; animation: prompt 1.7s ease-in-out infinite; }
@keyframes prompt { 50% { transform: translateY(.35rem); } }

.scene { --scene-length: 1.25; position: relative; min-height: calc(var(--scene-length) * 100svh); background: #fff; }
.scene__sticky { position: sticky; top: 0; width: 100%; height: 100svh; overflow: hidden; background: #fff; }
.scene__folio { position: absolute; z-index: 8; top: 2.4rem; right: 4vw; left: 4vw; display: flex; align-items: center; gap: .85rem; color: rgb(23 36 109 / 60%); font: 600 .64rem/1 Arial, sans-serif; letter-spacing: .2em; }
.scene__folio i { display: block; width: 4.5rem; height: 1px; background: var(--pink); }
.scene__index { position: absolute; z-index: 7; right: 4vw; bottom: 4.4rem; color: rgb(23 36 109 / 22%); font: 500 clamp(3rem, 6vw, 6rem)/.8 Georgia, serif; letter-spacing: -.06em; }

.scene__art { position: absolute; z-index: 1; top: 43%; left: 50%; width: min(88vw, 1040px); aspect-ratio: var(--art-ratio); overflow: visible; background: #fff; opacity: 0; transform: translate3d(calc(-50% + var(--art-x, 0px)), calc(-50% + var(--art-y, 0px)), 0) scale(var(--art-scale, 1)); transform-origin: center; transition: opacity .12s linear; will-change: transform, opacity; }
.scene__stack, .scene__reference, .scene__base, .scene__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.scene__reference { z-index: 1; }
.scene__stack { z-index: 2; }
.scene__stack { isolation: isolate; opacity: 1 !important; }
.scene__stack-reference { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.scene__stack, .scene__stack.has-error { display: none !important; visibility: hidden !important; }
.scene__reference { display: block !important; }
.scene__layer { position: absolute; z-index: 1; opacity: var(--layer-opacity, 1) !important; mix-blend-mode: var(--layer-blend, normal); will-change: transform; }
.scene--01 .scene__stack, .scene--04 .scene__stack, .scene--05 .scene__stack, .scene--06 .scene__stack, .scene--11 .scene__stack, .scene--12 .scene__stack { display: block !important; visibility: visible !important; opacity: 1 !important; }

/* Keep the flattened sibling only as an error fallback. The reference inside
   the isolated stack is the actual backdrop for PSD blend modes. */
.scene__reference { display: none !important; }
.scene__reference.is-fallback { display: block !important; }

/* PSD-first rendering: the flattened page is the layout authority. */
.scene__wash,
.scene__copy-layer,
.scene__folio,
.scene__index,
.reading-progress,
.scroll-cue { display: none !important; }
.scene__art {
  top: 50% !important;
  left: 50% !important;
  width: min(94vw, 1280px) !important;
  opacity: 1 !important;
  transform: translate3d(-50%, -50%, 0) !important;
  transition: none !important;
  will-change: auto;
}
.scene__states { position: absolute; inset: 0; }
.scene__state { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.scene__state--a { animation: shoe-state-a 4s steps(1, end) infinite; }
.scene__state--b { opacity: 0; animation: shoe-state-b 4s steps(1, end) infinite; }
@keyframes shoe-state-a {
  0%, 49.999% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes shoe-state-b {
  0%, 49.999% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

.scene__copy-layer { position: absolute; z-index: 9; inset: 0; pointer-events: none; }
.scene__copy { position: absolute; top: 46%; width: min(35rem, 34vw); margin: 0; color: var(--deep-blue); font-size: clamp(1.18rem, 1.45vw, 1.55rem); line-height: 1.46; letter-spacing: .003em; text-wrap: balance; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.scene__copy::before { display: block; width: 3.4rem; height: 3px; margin-bottom: 1rem; background: var(--pink); content: ""; }
.scene__copy .big { display: inline-block; margin: .08em 0; color: inherit; font-size: clamp(1.45rem, 2.25vw, 2.65rem); line-height: 1.08; letter-spacing: -.025em; }
.scene__copy--left { left: clamp(2rem, 6vw, 8rem); }
.scene__copy--right { right: clamp(2rem, 6vw, 8rem); }
.scene__copy--center { top: 67%; left: 50%; width: min(50rem, 70vw); text-align: center; }
.scene__copy--center::before, .scene__copy--gutter::before { margin-right: auto; margin-left: auto; }
.scene__copy--gutter { top: 68%; left: 50%; width: min(51rem, 70vw); text-align: center; }
.scene__copy--pink { color: #d4005d; }
.scene__copy--dark { padding: 1.35rem 1.5rem 1.45rem; color: #fff; background: var(--deep-blue); box-shadow: .65rem .65rem 0 var(--pink); }
.scene__copy--dark .big { color: #fff; }

.scene__flecks { position: absolute; z-index: 3; inset: -3%; width: 106%; height: 106%; object-fit: fill; opacity: 0; pointer-events: none; mix-blend-mode: multiply; will-change: transform, opacity; }
.scene--01 .scene__art { top: 34%; width: min(88vw, 1120px); }
.scene--01 .scene__copy--center { top: 63%; }
.scene--01::after { position: absolute; z-index: 0; top: 53%; right: 0; left: 0; height: 47svh; background: #fff; content: ""; }
.scene--02 .scene__art { width: min(70vw, 860px); opacity: .92; }
.scene--04 { --scene-length: 3.1; }
.scene--04 .scene__art { width: min(92vw, 1120px); }
.scene--04 .scene__copy--left, .scene--04 .scene__copy--right { top: 47%; }
.scene--04 .scene__copy--gutter { top: 61%; }
.scene--05 .scene__art, .scene--10 .scene__art { width: min(92vw, 1140px); }
.scene--06 .scene__art, .scene--11 .scene__art { width: min(88vw, 1040px); }
.scene--12 .scene__art, .scene--14 .scene__art { width: min(92vw, 1140px); }
.scene--15 .scene__art { top: 44%; transform-origin: center top; }

/* Let the page breathe like a moving illustration: clean exits, no white blur. */
.scene__copy--paper { padding: 1.1rem 1.25rem 1.2rem; background: #fff; box-shadow: .35rem .35rem 0 rgb(255 36 126 / 88%); }
.scene__copy--paper::before { width: 2.8rem; height: 2px; }
.scene__copy--pink { text-shadow: .08em .08em 0 rgb(255 36 126 / 12%); }
.scene__copy--gutter { width: min(46rem, 56vw); }
.scene__copy--center { width: min(48rem, 64vw); }

@media (max-width: 760px) {
  .story-intro, .story-intro__content { min-height: 105svh; }
  .story-intro__content { padding: 1.5rem; }
  .story-intro__content h1 { margin: 1rem 0 2.3rem; font-size: clamp(3.1rem, 15vw, 5.5rem); }
  .scene { --scene-length: 1.45; }
  .scene--04 { --scene-length: 3.35; }
  .scene__folio { top: 1.2rem; right: 1.25rem; left: 1.25rem; }
  .scene__index { right: 1.25rem; bottom: 1.7rem; font-size: 3rem; }
  .scene__art, .scene--01 .scene__art, .scene--04 .scene__art, .scene--05 .scene__art, .scene--06 .scene__art, .scene--10 .scene__art, .scene--11 .scene__art, .scene--12 .scene__art, .scene--14 .scene__art { top: 29%; left: 50%; width: 94vw; }
  .scene--01 .scene__art { top: 29%; }
  .scene__copy, .scene__copy--left, .scene__copy--right, .scene__copy--center, .scene__copy--gutter { top: 57%; right: 1.25rem; left: 1.25rem; width: auto; font-size: 1.06rem; text-align: left; }
  .scene__copy--center, .scene__copy--gutter { text-align: center; }
  .scene__copy .big { font-size: 1.55rem; }
  .scene__copy--dark { padding: 1.05rem 1.05rem 1.15rem; }
  .scene__copy--gutter { top: 62%; }
  .scene--01 .scene__copy--center { top: 59%; }
  .scene--04 .scene__copy--left, .scene--04 .scene__copy--right { top: 57%; }
  .scene--04 .scene__copy--gutter { top: 63%; }
  .scene__flecks { inset: -2%; width: 104%; height: 104%; }
  .reading-progress { right: 1.25rem; bottom: .8rem; left: 1.25rem; }
  .scroll-cue { right: 1.25rem; bottom: 1.2rem; }
  .scroll-cue::after { width: 1rem; }
}

/* Per-page placement must come last so it wins over the shared responsive rules. */
.scene__copy { top: 69%; left: 50%; right: auto; width: min(44rem, 72vw); text-align: center; }
.scene--01 .scene__copy { top: auto; bottom: 15%; }
.scene--02 .scene__copy { top: 68%; }
.scene--03 .scene__copy { top: 11%; }
.scene--04 .scene__copy { top: 64%; }
.scene--05 .scene__copy { top: 12%; }
.scene--06 .scene__copy { top: 10%; }
.scene--07 .scene__copy, .scene--08 .scene__copy { top: 10%; }
.scene--09 .scene__copy { top: 12%; }
.scene--10 .scene__copy { top: 68%; }
.scene--11 .scene__copy { top: 12%; }
.scene--12 .scene__copy { top: 10%; }
.scene--13 .scene__copy { top: 68%; }
.scene--14 .scene__copy { top: 11%; }
.scene--15 .scene__copy { top: auto; bottom: 14%; }
.scene__flecks { opacity: .22 !important; }
.scene__shoe-echo { z-index: 4; }
@media (max-width: 760px) {
  .scene__copy { left: 1.25rem; right: 1.25rem; width: auto; }
  .scene--01 .scene__copy { top: auto; bottom: 13%; }
  .scene--02 .scene__copy, .scene--04 .scene__copy, .scene--10 .scene__copy, .scene--13 .scene__copy { top: 66%; }
  .scene--03 .scene__copy, .scene--05 .scene__copy, .scene--06 .scene__copy, .scene--07 .scene__copy, .scene--08 .scene__copy, .scene--09 .scene__copy, .scene--11 .scene__copy, .scene--12 .scene__copy, .scene--14 .scene__copy { top: 62%; }
.scene--15 .scene__copy { top: auto; bottom: 11%; }
}

/* Last-pass art direction overrides. */
.scene--merged-hidden { display: none !important; }
.scene--01::after { display: none !important; }
.scene__copy,
.scene__copy--paper,
.scene__copy--dark,
.scene__copy--pink,
.scene__copy--blue {
  color: var(--deep-blue) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
}
.scene__copy::before,
.scene__copy--center::before,
.scene__copy--gutter::before { display: none !important; }
.scene--04 .scene__copy { top: 53% !important; }
.scene--07 .scene__copy { top: auto !important; bottom: 9% !important; }
.scene--07 .scene__shoe-echo { mix-blend-mode: normal; }
@media (max-width: 760px) {
  .scene--04 .scene__copy { top: 54% !important; }
  .scene--07 .scene__copy { top: auto !important; bottom: 8% !important; }
}

/* Small readability adjustment requested for pages 06 and 10. */
.scene--06 .scene__layer[data-layer-index="8"] { transform: translate3d(0, 8px, 0) !important; }
.scene--10 .scene__art { top: calc(39% + 8px) !important; }
@media (max-width: 760px) {
  .scene--10 .scene__art { top: calc(32% + 8px) !important; }
}

/* Page-turn treatment: artwork and its original typography arrive together,
   soften at the edges, then dissolve before the following page takes over. */
:root { --pointer-x: .5; --pointer-y: .5; }
.scene__sticky { isolation: isolate; }
.scene__sticky::before,
.scene__sticky::after {
  position: absolute;
  z-index: 7;
  right: 0;
  left: 0;
  height: clamp(3.5rem, 11vh, 8rem);
  pointer-events: none;
  content: "";
  opacity: calc(.5 + (1 - var(--scene-visibility, 1)) * .5);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.scene__sticky::before {
  top: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 96%), rgb(255 255 255 / 0%));
}
.scene__sticky::after {
  bottom: 0;
  background: linear-gradient(to top, rgb(255 255 255 / 96%), rgb(255 255 255 / 0%));
}
.scene__wash { display: block !important; z-index: 1; opacity: calc(.2 + var(--scene-visibility, 1) * .45) !important; }
.scene__cursor-wash {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: calc(var(--scene-visibility, 1) * .22);
  background: radial-gradient(circle, rgb(255 36 126 / 24%), rgb(255 255 255 / 0%) 68%);
  mix-blend-mode: multiply;
  filter: blur(14px);
  transform: translate3d(calc(var(--pointer-x) * 100vw - 17rem), calc(var(--pointer-y) * 100vh - 17rem), 0);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.scene__ripple-layer { position: absolute; z-index: 4; inset: 0; overflow: hidden; pointer-events: none; }
.scene__ripple-layer i {
  position: absolute;
  top: var(--ripple-y);
  left: var(--ripple-x);
  width: 1rem;
  height: 1rem;
  border: 1px solid rgb(39 72 196 / 42%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.2);
  opacity: .8;
  mix-blend-mode: multiply;
  animation: pool-ripple 1.35s cubic-bezier(.15,.65,.25,1) forwards;
}
@keyframes pool-ripple { to { transform: translate(-50%, -50%) scale(34); opacity: 0; } }
.scene__ornament { position: absolute; z-index: 6; right: clamp(1.1rem, 3.2vw, 3.5rem); bottom: clamp(1.4rem, 4vh, 3rem); display: grid; grid-template-columns: repeat(3, .35rem); gap: .35rem; pointer-events: none; opacity: calc(var(--scene-visibility, 1) * .62); }
.scene__ornament span { width: .35rem; height: .35rem; border: 1px solid var(--deep-blue); border-radius: 50%; animation: ornament-pulse 2.7s ease-in-out infinite; }
.scene__ornament span:nth-child(2) { animation-delay: .28s; }
.scene__ornament span:nth-child(3) { animation-delay: .56s; }
@keyframes ornament-pulse { 50% { background: var(--pink); border-color: var(--pink); transform: scale(1.25); } }
.scene__sticky.is-awake .scene__wash { filter: blur(28px) saturate(135%); }
.scene__sticky.is-awake .scene__cursor-wash { opacity: calc(var(--scene-visibility, 1) * .42); }
.scene__touch-hint { position: absolute; z-index: 8; bottom: clamp(1.35rem, 4vh, 3rem); left: clamp(1.1rem, 3.2vw, 3.5rem); margin: 0; color: var(--deep-blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; font-weight: 700; letter-spacing: .16em; opacity: calc(var(--scene-visibility, 1) * .76); pointer-events: none; }
.scene__touch-hint b { display: inline-block; margin-left: .25rem; color: var(--pink); font-size: 1rem; animation: touch-arrow 1.6s ease-in-out infinite alternate; }
@keyframes touch-arrow { to { transform: translate3d(.35rem, -.3rem, 0); } }
.scene__art {
  transform-style: preserve-3d;
  transition: opacity .18s linear, filter .24s ease-out, transform .24s cubic-bezier(.2,.8,.2,1) !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 87%, transparent 100%);
}
.scene__art img { transition: filter .5s ease; }
.scene__sticky[style*="--scene-visibility: 0"] .scene__art { filter: blur(3px); }
.scene__folio, .scene__index { display: flex !important; opacity: calc(var(--scene-visibility, 1) * .72); transition: opacity .35s ease; }
.scene__index { display: block !important; }

@media (max-width: 760px) {
  .scene__sticky::before, .scene__sticky::after { height: 4.5rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .scene__cursor-wash { width: 22rem; height: 22rem; transform: translate3d(calc(var(--pointer-x) * 100vw - 11rem), calc(var(--pointer-y) * 100vh - 11rem), 0); }
  .scene__ornament { right: 1.2rem; bottom: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scene__cursor-wash, .scene__wash::before, .scene__wash::after, .scene__ornament span, .scene__ripple-layer i, .scene__touch-hint b { animation: none; transition: none; }
  .scene__art, .scene__folio, .scene__index { transition: none !important; }
}

/* Last-pass art direction overrides. */
.scene--merged-hidden { display: none !important; }
.scene--01::after { display: none !important; }
.scene__copy,
.scene__copy--paper,
.scene__copy--dark,
.scene__copy--pink,
.scene__copy--blue {
  color: var(--deep-blue) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
}
.scene__copy::before,
.scene__copy--center::before,
.scene__copy--gutter::before { display: none !important; }
.scene--04 .scene__copy { top: 53% !important; }
.scene--07 .scene__copy { top: auto !important; bottom: 9% !important; }
.scene--07 .scene__shoe-echo { mix-blend-mode: normal; }
@media (max-width: 760px) {
  .scene--04 .scene__copy { top: 54% !important; }
  .scene--07 .scene__copy { top: auto !important; bottom: 8% !important; }
}

/* Final cleanup: keep the reading surface quiet and let the artwork carry the motion. */
.scene--merged-hidden { display: none !important; }
.scene--01::after { display: none !important; }
.scene__copy,
.scene__copy--paper,
.scene__copy--dark,
.scene__copy--pink,
.scene__copy--blue {
  color: var(--deep-blue) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
}
.scene__copy::before,
.scene__copy--center::before,
.scene__copy--gutter::before { display: none !important; }
.scene--04 .scene__copy { top: 53% !important; }
.scene--07 .scene__copy { top: auto !important; bottom: 9% !important; }
.scene--07 .scene__shoe-echo { mix-blend-mode: normal; }

@media (max-width: 760px) {
  .scene--04 .scene__copy { top: 54% !important; }
  .scene--07 .scene__copy { top: auto !important; bottom: 8% !important; }
}

/* Composition-led copy positions: each page uses its own quiet area. */
.scene__copy { top: 69%; }
.scene--01 .scene__copy { top: auto; bottom: 15%; }
.scene--02 .scene__copy { top: 68%; }
.scene--03 .scene__copy { top: 11%; }
.scene--04 .scene__copy { top: 64%; }
.scene--05 .scene__copy { top: 12%; }
.scene--06 .scene__copy { top: 10%; }
.scene--07 .scene__copy, .scene--08 .scene__copy { top: 10%; }
.scene--09 .scene__copy { top: 12%; }
.scene--10 .scene__copy { top: 68%; }
.scene--11 .scene__copy { top: 12%; }
.scene--12 .scene__copy { top: 10%; }
.scene--13 .scene__copy { top: 68%; }
.scene--14 .scene__copy { top: 11%; }
.scene--15 .scene__copy { top: auto; bottom: 14%; }
.scene__shoe-echo { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; mix-blend-mode: screen; pointer-events: none; will-change: opacity, transform; }

@media (max-width: 760px) {
  .scene--01 .scene__copy { top: auto; bottom: 13%; }
  .scene--03 .scene__copy, .scene--05 .scene__copy, .scene--06 .scene__copy, .scene--07 .scene__copy, .scene--08 .scene__copy, .scene--09 .scene__copy, .scene--11 .scene__copy, .scene--12 .scene__copy, .scene--14 .scene__copy { top: 62%; }
  .scene--02 .scene__copy, .scene--04 .scene__copy, .scene--10 .scene__copy, .scene--13 .scene__copy { top: 66%; }
  .scene--15 .scene__copy { top: auto; bottom: 11%; }
}

/* Final typography rule: the artwork supplies the drama; text stays quiet and consistent. */
.scene__art { transition: none; }
.scene__copy, .scene__copy--paper, .scene__copy--dark, .scene__copy--pink, .scene__copy--blue { color: var(--deep-blue); background: transparent; border: 0; box-shadow: none; text-shadow: none; padding: 0; font-size: clamp(1.18rem, 1.45vw, 1.55rem); line-height: 1.46; transition: none; }
.scene__copy .big, .scene__copy--dark .big { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.scene__copy::before, .scene__copy--center::before, .scene__copy--gutter::before { display: none; }
.scene__layer { transition: none; }
.scene__flecks { opacity: .22 !important; }

@media (max-width: 760px) {
  .scene__copy, .scene__copy--paper, .scene__copy--dark, .scene__copy--pink, .scene__copy--blue { font-size: 1.06rem; line-height: 1.5; }
  .scene__copy .big, .scene__copy--dark .big { font-size: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-intro::before, .story-intro__prompt span { animation: none; }
  .scene__art, .scene__copy, .scene__flecks { transition: none; }
  .scene__stack { display: none !important; opacity: 0 !important; }
  .scene__reference { display: block; }
  /* The illustrated layer is part of the artwork, not optional UI motion. */
  .scene--01 .scene__stack, .scene--04 .scene__stack, .scene--05 .scene__stack, .scene--06 .scene__stack, .scene--11 .scene__stack, .scene--12 .scene__stack { display: block !important; visibility: visible !important; opacity: 1 !important; }
}

/* New reading rhythm: one centered paragraph per page, motion only at page edges. */
.scene__sticky { isolation: isolate; }
.scene__wash { position: absolute; z-index: 0; inset: -18%; overflow: hidden; pointer-events: none; opacity: .72; filter: blur(34px) saturate(115%); }
.scene__wash::before, .scene__wash::after { position: absolute; width: 42vw; height: 28vw; min-width: 20rem; min-height: 14rem; border-radius: 50%; content: ""; }
.scene__wash::before { top: 8%; left: 4%; background: radial-gradient(ellipse, rgb(255 36 126 / 20%), transparent 68%); animation: wash-drift-a 18s ease-in-out infinite alternate; }
.scene__wash::after { right: 2%; bottom: 2%; background: radial-gradient(ellipse, rgb(40 77 219 / 18%), transparent 68%); animation: wash-drift-b 22s ease-in-out infinite alternate; }
@keyframes wash-drift-a { to { transform: translate3d(10vw, 8vh, 0) scale(1.2) rotate(12deg); } }
@keyframes wash-drift-b { to { transform: translate3d(-12vw, -6vh, 0) scale(1.28) rotate(-15deg); } }
.scene__folio, .scene__index { z-index: 9; }
.scene__art { z-index: 2; top: 39%; width: min(84vw, 1020px); transition: opacity .2s linear, transform .2s ease-out; }
.scene__copy-layer { z-index: 8; }
.scene__copy, .scene__copy--left, .scene__copy--right, .scene__copy--center, .scene__copy--gutter { top: 69%; right: auto; left: 50%; width: min(44rem, 72vw); text-align: center; }
.scene__copy::before, .scene__copy--center::before, .scene__copy--gutter::before { margin-right: auto; margin-left: auto; }
.scene__copy--paper { box-shadow: none; }
.scene__copy--dark { box-shadow: .45rem .45rem 0 var(--pink); }
.scene__stack { opacity: 0; transition: opacity .3s ease; }
.scene__stack.is-loaded { opacity: 1; }
.scene__stack.has-error { display: none; }
.scene__reference { display: block; opacity: 1; }
.scene__reference.is-fallback { opacity: 1; }
.scene__flecks { opacity: 0 !important; }
.scene--01 .scene__art, .scene--15 .scene__art { top: 35%; }
.scene--01 .scene__copy--center { top: 69%; }

@media (max-width: 760px) {
  .scene__wash { inset: -14%; filter: blur(28px) saturate(115%); opacity: .58; }
  .scene__art, .scene--01 .scene__art, .scene--04 .scene__art, .scene--05 .scene__art, .scene--06 .scene__art, .scene--10 .scene__art, .scene--11 .scene__art, .scene--12 .scene__art, .scene--14 .scene__art, .scene--15 .scene__art { top: 32%; left: 50%; width: 92vw; }
  .scene__copy, .scene__copy--left, .scene__copy--right, .scene__copy--center, .scene__copy--gutter { top: 67%; right: 1.25rem; left: 1.25rem; width: auto; text-align: center; }
  .scene--01 .scene__copy--center { top: 66%; }
}

/* Final composition overrides. */
.scene__copy { top: 69%; left: 50%; right: auto; width: min(44rem, 72vw); text-align: center; }
.scene--01 .scene__copy { top: auto; bottom: 15%; }
.scene--02 .scene__copy { top: 68%; }
.scene--03 .scene__copy { top: 11%; }
.scene--04 .scene__copy { top: 64%; }
.scene--05 .scene__copy { top: 12%; }
.scene--06 .scene__copy { top: 10%; }
.scene--07 .scene__copy, .scene--08 .scene__copy { top: 10%; }
.scene--09 .scene__copy { top: 12%; }
.scene--10 .scene__copy { top: 68%; }
.scene--11 .scene__copy { top: 12%; }
.scene--12 .scene__copy { top: 10%; }
.scene--13 .scene__copy { top: 68%; }
.scene--14 .scene__copy { top: 11%; }
.scene--15 .scene__copy { top: auto; bottom: 14%; }
.scene__flecks { opacity: .22 !important; }
@media (max-width: 760px) {
  .scene__copy { left: 1.25rem; right: 1.25rem; width: auto; }
  .scene--01 .scene__copy { top: auto; bottom: 13%; }
  .scene--02 .scene__copy, .scene--04 .scene__copy, .scene--10 .scene__copy, .scene--13 .scene__copy { top: 66%; }
  .scene--03 .scene__copy, .scene--05 .scene__copy, .scene--06 .scene__copy, .scene--07 .scene__copy, .scene--08 .scene__copy, .scene--09 .scene__copy, .scene--11 .scene__copy, .scene--12 .scene__copy, .scene--14 .scene__copy { top: 62%; }
  .scene--15 .scene__copy { top: auto; bottom: 11%; }
}

/* Last-pass art direction overrides. */
.scene--merged-hidden { display: none !important; }
.scene--01::after { display: none !important; }
.scene__copy,
.scene__copy--paper,
.scene__copy--dark,
.scene__copy--pink,
.scene__copy--blue {
  color: var(--deep-blue) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  padding: 0 !important;
}
.scene__copy::before,
.scene__copy--center::before,
.scene__copy--gutter::before { display: none !important; }
.scene--04 .scene__copy { top: 53% !important; }
.scene--07 .scene__copy { top: auto !important; bottom: 9% !important; }
.scene--07 .scene__shoe-echo { mix-blend-mode: normal; }
@media (max-width: 760px) {
  .scene--04 .scene__copy { top: 54% !important; }
  .scene--07 .scene__copy { top: auto !important; bottom: 8% !important; }
}
