/* The viewpoint stays in the chapter while the prose moves through it. */
.mw-horizon .mwbonheur,[data-mwr-theme="aube"] {overflow:clip}
.mw-horizon .mwh-chapter,.mw-horizon #horizon-acces,[data-mwr-theme="aube"] .mwk-chapter {
  position:relative; isolation:isolate; min-height:100vh; min-height:100svh; background:#091423;
}
.mwbonheur .mw-film {
  display:block; position:sticky; top:0; height:100vh; height:100svh; width:100%;
  margin:0 0 -100vh; margin-bottom:-100svh; padding:0; overflow:hidden; pointer-events:none;
  isolation:isolate; container-type:size; background:#091425;
}
.mw-film::after,.mwh-gate-view::after {content:"";position:absolute;inset:0;z-index:2;pointer-events:none}
.mw-film::after {
  background:linear-gradient(90deg,#07111c26 0%,#08142529 23%,#081424a8 45%,#051020ea 60%,#051020ed 88%,#0713219c),
             linear-gradient(0deg,#081221ab,transparent 18%,transparent 82%,#08122185);
}
.mwh-shot,.mwk-shot,.mwk-plate-window,.mwh-gate-view {position:absolute;inset:0;display:block;overflow:hidden}
.mwh-shot {opacity:0;transition:opacity 2s ease}
.mwh-shot.is-frame {opacity:1}
.mw-film-plane {
  position:absolute; width:100%;height:100%;display:block;left:0;top:0;
}
.mwbonheur .mw-film-plane img {width:100%;height:100%;object-fit:cover;max-width:none}
@supports(width:1cqw) {
  .mw-film-plane {
    width:max(100cqw,calc(100cqh * var(--ratio,1.77778))); height:auto;aspect-ratio:var(--ratio,1.77778);
    left:var(--focus-x,50%);top:var(--focus-y,50%);
    transform:translate(calc(-1 * var(--focus-x,50%)),calc(-1 * var(--focus-y,50%)));
  }
  .mwbonheur .mw-film-plane img {position:absolute;inset:0}
}
.mw-film-spark {
  position:absolute;left:var(--spark-x,50%);top:var(--spark-y,55%);width:clamp(54px,8vw,150px);aspect-ratio:1;
  border-radius:50%;transform:translate(-50%,-50%);opacity:.65;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(ellipse,#fff2baae 0%,#ffcc776e 7%,#edb05c44 20%,#e7ab5b1a 38%,transparent 70%);
}
.mw-film-spark::before,.mw-film-spark::after {content:"";position:absolute;inset:48% -18%;background:linear-gradient(90deg,transparent,#ffe5a877,transparent);border-radius:50%;transform:rotate(-12deg)}
.mw-film-spark::after {inset:10% 49%;transform:rotate(27deg);opacity:.65}
@keyframes mwfilm-light {0%{opacity:.1;scale:.76}52%{opacity:.96;scale:1.1}100%{opacity:.56;scale:1}}
@keyframes mwfilm-dissolve {from{opacity:0}to{opacity:1}}
.mwk-arriving {animation:mwfilm-dissolve 1.65s ease-out both}
.mwh-awake .is-frame .mw-film-spark,.mwk-arriving .mw-film-spark {animation:mwfilm-light 3.4s ease-out both}
.mw-horizon .mwh-spread,.mw-horizon #horizon-acces>.mwb-wrap,[data-mwr-theme="aube"] .mwk-chapter .mwb-chapter {
  position:relative;z-index:2;min-height:100vh;min-height:100svh;box-sizing:border-box;
}
.mw-horizon .mwh-spread {align-content:center}
.mw-horizon .mwh-heading h2,.mw-horizon .mwh-prose,.mw-horizon .mwb-finale-copy,.mwk-chapter .mwb-copy {text-shadow:0 2px 10px #030a15,0 1px 3px #030a15}
.mw-horizon .mwh-heading {position:relative;isolation:isolate}
.mw-horizon .mwh-heading::after {
  content:"";position:absolute;inset:-18% -13%;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at 44% 48%,#071221e6 10%,#071221a3 49%,transparent 74%);
}
.mw-horizon .mwh-prose {color:#fff8eb}
.mw-horizon #horizon-acces {padding:0}
.mw-horizon #horizon-acces>.mwb-wrap {display:flex;flex-direction:column;align-items:center;justify-content:center;padding-block:clamp(80px,12vh,160px)}
.mw-horizon #horizon-acces .mwb-finale-copy {margin-top:26px}
.mw-horizon #horizon-acces .mw-film::after {background:linear-gradient(90deg,#07112277,#071122d9 28%,#071122d9 72%,#07112277)}
.mw-horizon .mwh-inspiration {min-height:100svh}
[data-mwr-theme="aube"] .mwk-chapter .mwb-chapter {display:flex;justify-content:flex-end;align-items:center;padding-block:clamp(85px,12vh,150px)}
[data-mwr-theme="aube"] .mwk-chapter .mwb-copy {width:53%;max-width:65ch;min-width:0}
[data-mwr-theme="aube"] .mwr-copy[data-mwr-space] {padding-inline-start:0}
.mwk-credit {color:#f5dcab;font:italic 16px/1.5 Georgia,serif;margin-bottom:19px}
.mwk-credit>span:first-child {font:12px/1.4 system-ui,sans-serif;letter-spacing:.1em;margin-right:.65em}
.mwk-shot {background:#0b1926;--ratio:1}
.mwk-shot::before {content:"";position:absolute;inset:-3%;background:var(--wash) center/cover;filter:blur(12px);opacity:.8}
@media(min-width:761px) {
  .mwk-shot:not(.wide) .mw-film-plane {width:max(72cqw,100cqh);left:0;transform:translateY(calc(-1 * var(--focus-y,50%)));mask-image:linear-gradient(90deg,black 70%,transparent)}
}
.mwk-shot:is([data-picture="atelier"],[data-picture="quai"],[data-picture="passeur"],[data-picture="balise"]) {--ratio:1.77778}
[data-mwr-theme="aube"] #passage {isolation:isolate;min-height:100svh;display:grid;align-content:center;background:#081221}
.mwk-passage-art {z-index:-2;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
[data-mwr-theme="aube"] #passage::before {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 55%,#051021df, #0510219e 42%,#05102133)}
.mw-film :is([data-picture="relais-1"],[data-picture="relais-2"],[data-picture="relais-3"]) {--ratio:2.024;--spark-x:54%;--spark-y:74%}
.mw-film :is([data-picture="sentier-1"],[data-picture="sentier-2"],[data-picture="table-1"],[data-picture="table-2"]) {--ratio:1.5125}
[data-picture="aube"] {--ratio:1.5;--spark-x:62%;--spark-y:43%}
[data-picture="cabinet"] {--ratio:1.5}
[data-scene="univers"] {--spark-x:19%;--spark-y:31%}
[data-scene="univers"] .mw-film-spark {width:clamp(105px,17vw,290px);transition:left 2s,top 2s;background:radial-gradient(ellipse,#ffe8a95e,#efb65c28 38%,transparent 70%)}
[data-picture="sentier-1"] {--spark-x:67%;--spark-y:25%}
[data-picture="sentier-2"] {--spark-x:28%;--spark-y:46%}
[data-picture="table-1"] {--spark-x:57%;--spark-y:48%}
[data-picture="table-2"] {--spark-x:67%;--spark-y:60%}
[data-picture="gravure"] {--spark-x:24%;--spark-y:62%}
[data-picture="carnet"] {--ratio:1.5;--spark-x:44%;--spark-y:56%}
[data-picture="cle"] {--spark-x:31%;--spark-y:47%}
[data-picture="coeur"] {--spark-x:61%;--spark-y:68%}
[data-picture="lanterne"] {--spark-x:55%;--spark-y:64%}
[data-picture="seuil"] {--spark-x:70%;--spark-y:53%}
[data-picture="reflet"] {--spark-x:67%;--spark-y:73%}
[data-picture="aigle"] {--spark-x:67%;--spark-y:29%}
[data-picture="violon"] {--spark-x:70%;--spark-y:39%}
[data-picture="manuscrit"] {--spark-x:50%;--spark-y:67%}
[data-picture="ville"] {--spark-x:18%;--spark-y:26%}
[data-picture="boussole"] {--spark-x:58%;--spark-y:58%}
[data-picture="aurore"] {--spark-x:85%;--spark-y:14%}
[data-picture="pousse"] {--spark-x:49%;--spark-y:47%}
[data-picture="flammes"] {--spark-x:71%;--spark-y:61%}
[data-picture="atelier"] {--spark-x:29%;--spark-y:44%}
[data-picture="passeur"] {--spark-x:31%;--spark-y:56%}
[data-picture="quai"] {--spark-x:35%;--spark-y:16%}
[data-picture="balise"] {--spark-x:17%;--spark-y:19%}
.mw-horizon [data-scene="origine"] .mwh-frame {filter:brightness(.66);transition:filter 2.8s ease}
.mw-horizon [data-scene="origine"][data-beat="1"] .mwh-frame {filter:brightness(.94)}
.mw-horizon [data-scene="origine"][data-beat="2"] .mwh-frame {filter:brightness(1.10)}
.mwh-gateway {position:relative;isolation:isolate;background:#071323}
.mwh-gate-link {position:relative;display:flex;align-items:center;min-height:100vh;min-height:100svh;overflow:hidden}
.mwh-gate-view {pointer-events:none;container-type:size}
.mwh-gate-view::after {background:linear-gradient(90deg,#071221d9,#071221a6 30%,transparent 68%),linear-gradient(0deg,#07122186,transparent 25%)}
[data-picture="portail"] {--spark-x:75%;--spark-y:60%;--focus-x:73%}
.mwh-gate-view .mw-film-spark {width:clamp(120px,26vw,450px);opacity:.42}
.mwh-gate-copy {position:relative;z-index:2;display:block;padding-block:80px}
.mwh-gate-title {display:block;max-width:11ch;color:#ffe2a3;font:400 clamp(50px,6vw,96px)/1.04 Georgia,serif;letter-spacing:-.055em;text-shadow:0 2px 26px #060f20}
.mwh-gate-arrow {display:inline-block;margin-top:26px;border-bottom:1px solid #ebc481;color:#ffe3ab;font:36px/1.3 Georgia,serif;min-width:100px}
.mwh-gate-link:focus-visible {outline-offset:-8px}
.mwh-awake .mwh-gate-view .mw-film-spark {animation:mwfilm-light 4.5s ease-out both}
.mwh-gate-link:is(:hover,:focus-visible) .mwh-gate-view img {filter:brightness(1.1)}
.mwh-gate-view img {transition:filter 1.6s ease}
@media(max-width:760px) {
  .mw-film-plane {--focus-x:var(--spark-x,50%);--focus-y:var(--spark-y,50%)}
  [data-scene="univers"] .mw-film-plane {transition:left 2s,top 2s,transform 2s}
  .mw-film::after {background:linear-gradient(0deg,#081321c4,transparent 20%,transparent 85%,#08132152)}
  .mw-horizon .mwh-spread,[data-mwr-theme="aube"] .mwk-chapter .mwb-chapter {display:block;width:100%;padding:clamp(220px,42svh,395px) 0 8vh}
  .mw-horizon .mwh-heading,.mw-horizon .mwh-prose,[data-mwr-theme="aube"] .mwk-chapter .mwb-copy,.mw-horizon #horizon-acces>.mwb-wrap {
    width:100%;max-width:none;padding-inline:clamp(23px,6vw,47px);background:#07111ed6;
  }
  .mw-horizon .mwh-heading {margin:0;padding-block:22px 13px}
  .mw-horizon .mwh-heading::after {display:none}
  .mw-horizon .mwh-prose {padding-block:5px 26px}
  [data-mwr-theme="aube"] .mwk-chapter .mwb-copy {padding:23px clamp(23px,6vw,47px) 30px}
  .mw-horizon #horizon-acces>.mwb-wrap {justify-content:flex-end;background:linear-gradient(0deg,#071121ed 0% 69%,transparent);padding-top:36svh}
  .mwh-gate-link {align-items:flex-end}
  .mwh-gate-view::after {background:linear-gradient(0deg,#071121ed,transparent 70%)}
  .mw-horizon .mwb-hero-art,[data-mwr-theme="aube"] .mwb-hero-art {inset:0;height:100%}
  .mw-horizon .mwb-hero-shade,[data-mwr-theme="aube"] .mwb-hero-shade {height:100%;background:linear-gradient(0deg,#081222f5 0%,#081222d6 40%,transparent 77%)}
  [data-mwr-theme="aube"] .mwb-hero {display:flex;align-items:flex-end;min-height:100svh}
}
@media(prefers-reduced-motion:reduce) {
  .mw-film *,.mwh-gate-view * {animation:none!important;transition:none!important}
  .mw-film-spark,.mwh-gate-view .mw-film-spark {display:none}
}
.is-lite .mw-film-spark,.is-lite .mwh-gate-view .mw-film-spark {display:none}

.mw-horizon .mwb-hero,[data-mwr-theme="aube"] .mwb-hero {min-height:100vh;min-height:100svh}
@media(prefers-reduced-motion:no-preference) {
  .mwbonheur:not(.is-lite) .mwh-awake [data-picture="cle"] .mw-film-plane::after {
    content:"";position:absolute;left:24%;top:43%;width:9%;height:12%;pointer-events:none;
    background:radial-gradient(ellipse,#fff5bfbb,#ffdc8166 24%,transparent 65%);
    mix-blend-mode:screen;animation:mwh-key-trace 3.3s .5s ease-in-out both;
  }
  .mwbonheur:not(.is-lite) .mwh-awake .mwh-gate-view .mw-film-plane::after {
    content:"";position:absolute;left:69.5%;top:14%;width:7.5%;height:12%;border-radius:50%;
    background:radial-gradient(ellipse,#ffefbbbd, #facc7e4d 32%,transparent 69%);
    mix-blend-mode:screen;pointer-events:none;animation:mwh-armillary 5s ease-out both;
  }
  @keyframes mwh-key-trace {0%{opacity:0;transform:translateX(0)}25%{opacity:.8}83%{opacity:.6}100%{opacity:0;transform:translateX(590%)}}
  @keyframes mwh-armillary {0%{opacity:0;scale:.65}48%{opacity:.95;scale:1.45}100%{opacity:.35;scale:1}}
}
