/* Each pin has enough runway to remain on screen until the next scene covers it. */
.scene-runway { display: contents }
.flow-cinema .scene-runway {
  display: block;
  position: relative;
  isolation: isolate;
  height: var(--run-length);
  margin-top: var(--run-overlap,0);
  pointer-events: none;
}
html.flow-cinema .scene-runway > section {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
  overflow: clip;
  pointer-events: auto;
  view-timeline: none;
}
html.flow-cinema .scene-runway > section[inert] { pointer-events: none }
html.flow-cinema .scene-runway section > :is(.arrival-screen,.jasmine-stage,.ribbon-screen,.coast-screen,.sky-screen) {
  position: relative;
  top: 0;
  height: 100%;
  min-height: 0;
}
html.flow-cinema .scene-runway :is(.arrival-first,.arrival-second,.arrival-arc,.arrival-copy,.arrival-caption,.jasmine-paper,.jasmine-left,.jasmine-right,.ribbon-arch,.ribbon-cloud,.ribbon-track,.ribbon-mask,.ribbon-progress span,.ribbon-intro [data-rise],.ribbon-outro > *,.ribbon-shot figcaption,.ribbon-route path:first-child,.coast-fog,.coast-aerial,.coast-title,.sky-photo,.sky-fold,[data-rise],.chapter-word > span) {
  animation: none !important;
}
html.has-opening.flow-cinema .arrival-first { animation: arrival-from-bottom 1.38s 1.48s var(--ease-cinema) both !important }
html.flow-cinema .arrival-second { display:block; clip-path:none; border-radius:0; transform:none }
html.flow-cinema .arrival-arc, html.flow-cinema .jasmine-paper, html.flow-cinema .ribbon-cloud { display:none }
html.flow-cinema .jasmine-stage {
  color: #f7f1dd;
  background: radial-gradient(ellipse at 76% 4%,#526a54 0%,transparent 57%), linear-gradient(132deg,#365747,#1e392e 61%,#152c25);
}
html.flow-cinema .jasmine-copy h2 { color:#fff6df }
html.flow-cinema .jasmine-copy h2 em { color:#d5d6a5 }
html.flow-cinema .roots-air { --cloud-opacity: .15 }
html.flow-cinema .jasmine-story { background: transparent }
html.flow-cinema .jasmine-left { top: -8%; left: -14% }
html.flow-cinema .jasmine-right { bottom: -14% }
html.flow-cinema .ribbon-screen { background: linear-gradient(150deg,#cbd6cb,#e8e9dd 55%,#e3e9e3) }
html.flow-cinema .ribbon-arch { display:none }
html.flow-cinema .ribbon-clip { overflow:clip }
html.flow-cinema .coast-chapter,html.flow-cinema .coast-screen { background: transparent }
html.flow-cinema .coast-screen::after { display:none }
html.flow-cinema .coast-aerial::after {
  content:""; position:absolute; inset:0; background:linear-gradient(0deg,#142b23ce,transparent 65%);
}
html.flow-cinema .coast-fog { display:block; inset:0; background:transparent; z-index:1 }
.fog-colour,.fog-banks { position:absolute; inset:0 }
.fog-colour { background:linear-gradient(155deg,#d6dfda,#e6e9df 56%,#d3ded9) }
.fog-bank {
  position:absolute; width:92%; aspect-ratio:2.45;
  background:center / cover url("assets/ciel-echraf.webp");
  mask-image:radial-gradient(ellipse 52% 46% at 50% 50%,#000 31%,#000e 57%,transparent 99%);
  animation:bank-wind 16s -5s ease-in-out infinite alternate;
}
.fog-bank:nth-child(1){left:-24%;top:-9%}
.fog-bank:nth-child(2){right:-26%;top:8%;animation-duration:12s;animation-direction:alternate-reverse}
.fog-bank:nth-child(3){left:-26%;bottom:1%;animation-delay:-10s}
.fog-bank:nth-child(4){right:-18%;bottom:-11%;animation-duration:19s}
.fog-bank:nth-child(5){width:74%;left:0;top:21%;animation-direction:alternate-reverse;animation-delay:-7s}
.fog-bank:nth-child(6){width:75%;right:-3%;top:39%;animation-delay:-1s}
.fog-bank:nth-child(2),.fog-bank:nth-child(3),.fog-bank:nth-child(5) {
  background: center / contain no-repeat url("assets/nuage-marin.webp");
  mask-image: none;
}
.fog-bank:nth-child(2) { opacity:.73; scale:-1 1 }
.fog-bank:nth-child(3) { bottom:5%; opacity:.81 }
.fog-bank:nth-child(5) { left:-27%; top:1%; width:83%; opacity:.42 }
.flow-cinema .ribbon-air .air-cloud:first-child, .flow-cinema .sky-air .air-cloud:first-child {
  background: center / contain no-repeat url("assets/nuage-marin.webp");
  mask-image: none;
}
.flow-cinema .ribbon-air .air-cloud:first-child { top:-14%; left:22%; width:78%; opacity:.33 }
.flow-cinema .sky-air .air-cloud:first-child { left:-17%; top:-4%; opacity:.79 }
@keyframes bank-wind {
  from {transform:translate3d(-11%,5%,0) scale(.95)}
  to {transform:translate3d(14%,-9%,0) scale(1.13)}
}
.flow-cinema .scene-asleep, .flow-cinema .scene-asleep * { animation-play-state:paused !important }
.flow-cinema .scene-asleep { visibility:hidden }
html.flow-cinema .sky-fold { height:38svh }
@media(max-width:740px) {
  .fog-bank { width:135%; aspect-ratio:1.8 }
  .fog-bank:nth-child(n+5) { width:112% }
  html.flow-cinema .jasmine { width:clamp(225px,65vw,360px) }
  html.flow-cinema .jasmine-left { left:-23%; top:0 }
  html.flow-cinema .jasmine-right { right:-23%; bottom:-5% }
  .flow-cinema .ribbon-air .air-cloud:first-child { width:115%; top:-4%; left:17% }
  .flow-cinema .sky-air .air-cloud:first-child { left:-27%; top:4% }
}
@media(max-height:520px) {
  .flow-cinema .jasmine-stage { padding-block:20px }
  .flow-cinema .jasmine-copy h2 { font-size:clamp(36px,10vh,62px); margin:.1em 0 }
  .flow-cinema .jasmine-copy p:not(.eyebrow) {margin-bottom:8px}
}
