.mw-transmission .mwb-hero { min-height: max(710px, 95svh); }
.mw-transmission .mwb-hero-art img { object-position: 35% 50%; }
.mw-transmission .mwb-hero-shade {
    background: linear-gradient(90deg, transparent 16%, #080f2420 35%, #080f24d9 62%, #080f24f5),
                linear-gradient(0deg, #080f24, transparent 19%);
}
.mw-transmission .mwb-hero-content { padding: 145px 0 110px 48%; }
.mw-transmission .mwb-hero h1 { font-size: clamp(44px, 4.6vw, 76px); }
.mw-transmission .mwb-seal { left: 42px; right: auto; }
.mwt-chapter { border-bottom: 1px solid var(--mwb-line); }
.mwt-chapter:nth-child(odd) { background: linear-gradient(120deg, #101b31, #0a1224 70%); }
.mwt-chapter .mwb-chapter { padding-block: clamp(60px, 7vw, 108px); }
.mwt-chapter .mwb-copy p { max-width: 65ch; }
.mwt-intro .mwb-copy p:first-child, .mwt-parfum .mwb-copy p:first-of-type {
    font: clamp(25px, 2.3vw, 38px)/1.45 Georgia, serif;
}
.mwt-chapter .mwb-copy p:last-child > strong:only-child {
    display: block; border-inline-start: 2px solid #907649; padding-inline-start: 1em;
}
.mw-transmission .mwb-finale-copy p:last-child { font-size: clamp(22px, 2.5vw, 34px); }
@media (max-width: 700px) {
    .mw-transmission .mwb-hero { min-height: 0; display: block; padding-top: clamp(255px, 70vw, 430px); }
    .mw-transmission .mwb-hero-art { height: clamp(325px, 88vw, 530px); }
    .mw-transmission .mwb-hero-art img { object-position: 17% center; }
    .mw-transmission .mwb-hero-shade {
        height: clamp(326px, 88vw, 531px);
        background: linear-gradient(0deg, #070e20, transparent 42%, transparent 68%, #070e20aa);
    }
    .mw-transmission .mwb-hero-content { padding: 26px 0 54px; }
    .mw-transmission .mwb-hero h1 { font-size: clamp(36px, 9.7vw, 54px); }
    .mw-transmission .mwb-seal { left: auto; right: 20px; bottom: 24px; }
}

/* The paintings share a horizon. Only their light and the snowfall move. */
.mw-transmission .mwbonheur { overflow: clip; }
.mwt-story { position: relative; isolation: isolate; background: #0a1422; }
.mwt-manuscrit { --painting: url(images/transmission/manuscrit.webp); --view: 40% 55%; }
.mwt-neige { --painting: url(images/transmission/neige.webp); --view: 70% 52%; }
.mwt-couronne { --painting: url(images/transmission/couronne.webp); --view: 25% 50%; }
.mwt-racines { --painting: url(images/transmission/racines.webp); --view: 21% 46%; }
.mwt-projection { --painting: url(images/transmission/projection.webp); --view: 85% 50%; }
.mwt-lanternes { --painting: url(images/transmission/lanternes.webp); --view: 77% 50%; }
.mwt-atmosphere { display: none; }
.mwt-story .mwt-chapter {
    position: relative; background: #0c1523; isolation: isolate;
    border-bottom: 1px solid #a9b4ad24;
}
.mwt-chapter::before, .mwt-chapter::after, .mwt-landscape, .mwt-light, .mwt-snow {
    content: ''; position: absolute; inset: 0; pointer-events: none;
}
.mwt-chapter::before, .mwt-landscape {
    background-image: var(--painting); background-size: cover; background-position: var(--view);
}
.mwt-chapter::after {
    background: linear-gradient(90deg, #08102028, #07101dd9 28%, #07101de8 52%, #08121ddc 72%, #07102230),
                linear-gradient(0deg, #09122288, transparent 20%, transparent 88%, #09122270);
}
.mwt-chapter .mwb-chapter {
    position: relative; z-index: 1; display: block; padding-block: clamp(70px, 8vw, 140px);
}
.mwt-chapter .mwb-copy { width: min(100%, 66ch); max-width: none; margin-inline: auto; }
.mwt-chapter .mwb-chapter-number {
    display: block; margin-bottom: 1.25em; font: 15px/1.4 Georgia,serif; letter-spacing: .16em; color: #f1d7a5;
}
.mwt-intro .mwb-copy p:first-of-type { font: clamp(25px, 2.3vw, 38px)/1.45 Georgia, serif; }
.mwt-story.is-layered .mwt-atmosphere {
    display: block; position: sticky; top: 0; height: 100vh; height: 100svh;
    margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; pointer-events: none;
}
.mwt-story.is-layered .mwt-chapter { background: transparent; }
.mwt-story.is-layered .mwt-chapter::before { display: none; }
.mwt-landscape { opacity: 0; transition: opacity 2.8s ease-in-out; }
.mwt-landscape.is-shown { opacity: 1; }
.mwt-light {
    background: radial-gradient(ellipse at 10% 62%, #f7b76c48, transparent 38%),
                radial-gradient(ellipse at 92% 45%, #ffd09140, transparent 33%);
    opacity: var(--warmth, .20); transition: opacity 5s ease-in-out;
}
.mwt-snow { opacity: 0; transition: opacity 5s ease-in-out; }
.mwt-story[data-weather="neige"] .mwt-snow { opacity: .85; }
.mwt-snow i {
    position: absolute; top: -12px; left: var(--x); width: var(--size); height: var(--size);
    background: #ecf7ff; border-radius: 55% 45% 55% 45%; opacity: var(--alpha);
    box-shadow: 0 0 2px #d5ebff75;
    animation: mwt-fall var(--duration) linear var(--delay) infinite;
    animation-play-state: paused;
}
.mwt-story.is-snowing .mwt-snow i { animation-play-state: running; }
@keyframes mwt-fall {
    0% { transform: translate3d(0,-8px,0); }
    48% { transform: translate3d(var(--drift),49vh,0); }
    100% { transform: translate3d(3px,calc(100vh + 22px),0); }
}
@media (max-width: 700px) {
    .mwt-manuscrit { --painting: url(images/transmission/manuscrit-mobile.webp); --view: 42% 45%; }
    .mwt-neige { --painting: url(images/transmission/neige-mobile.webp); --view: 58% 46%; }
    .mwt-couronne { --painting: url(images/transmission/couronne-mobile.webp); --view: 50% 50%; }
    .mwt-racines { --painting: url(images/transmission/racines-mobile.webp); --view: 50% 50%; }
    .mwt-projection { --painting: url(images/transmission/projection-mobile.webp); --view: 50% 50%; }
    .mwt-lanternes { --painting: url(images/transmission/lanternes-mobile.webp); --view: 50% 50%; }
    .mwt-chapter::after {
        background: linear-gradient(90deg, #08101e90, #070f1bd3 13%, #070f1bd4 87%, #07101e97),
                    linear-gradient(0deg, #08111b50, transparent 20%, transparent 90%, #09122140);
        mask-image: linear-gradient(180deg, #0002, #000 100px, #000 calc(100% - 25px), #000c);
    }
    .mwt-chapter .mwb-chapter { padding-block: 100px 64px; }
    .mwt-snow i:nth-child(n+33) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mwt-snow, .mwt-light { display: none; }
    .mwt-landscape { transition: none; }
}

.mwt-story .mwt-chapter { min-height:100vh; min-height:100svh; }
.mwt-chapter .mwb-chapter { min-height:100vh; min-height:100svh; display:grid; grid-template-columns:minmax(0,1fr); align-content:center; }
@supports (height:100svh) and (overflow:clip) {
    .mwt-story:not(.is-layered) .mwt-chapter::before {
        position:sticky; top:0; display:block; height:100svh; margin-bottom:-100svh;
    }
}
.mwt-gate-link {
    position:relative; isolation:isolate; display:flex; align-items:center; min-height:100vh; min-height:100svh;
    overflow:hidden; background:#091622; border-top:1px solid #a6915b77;
}
.mwt-gate-art,.mwt-gate-art img,.mwt-gate-link::before { position:absolute; inset:0; width:100%; height:100%; }
.mwt-gate-art { z-index:-2; }
.mwt-gate-art img { object-fit:cover; object-position:70% 52%; }
.mwt-gate-link::before {
    content:""; z-index:-1; pointer-events:none;
    background:linear-gradient(90deg,#05101ce8 0%,#081421b5 31%,#0a18244d 47%,transparent 66%),linear-gradient(0deg,#09142599,transparent 28%);
}
.mwt-gate-copy { padding-block:74px; }
.mwt-gate-copy h2 { max-width:10ch; font-size:clamp(54px,6.2vw,100px); line-height:1.02; text-wrap:initial; text-shadow:0 2px 16px #031222; }
.mwt-gate-action { display:inline-flex; align-items:center; gap:1em; padding:12px 19px; margin-top:32px;
    color:#ffe6af; border:1px solid #d9b36f; background:#132031b5; font-size:16px; line-height:1.5; }
.mwt-gate-action span { color:#ffdc8f; }
.mwt-gate-link:focus-visible { outline:3px solid #ffe2a2; outline-offset:-7px; }
.mwt-gate-link:is(:hover,:focus-visible) .mwt-gate-action { background:#22313f; box-shadow:0 0 26px #efbf6e40; }
@media(prefers-reduced-motion:no-preference) {
    .mwbonheur:not(.is-lite) .mwt-gate-action { transition:background 1s,box-shadow 1s; }
    .mwbonheur:not(.is-lite) .mwt-gate-art img { transition:filter 1.8s; }
    .mwbonheur:not(.is-lite) .mwt-gate-link:is(:hover,:focus-visible) img { filter:brightness(1.10); }
}
@media(max-width:700px) {
    .mwt-chapter .mwb-chapter { padding-block-start:clamp(150px,26svh,255px); }
    .mwt-chapter::after {
        background:linear-gradient(180deg,#07121e1c,#06101bd1 165px,#06101bde calc(100% - 50px),#081322af);
        mask-image:none;
    }
    .mwt-gate-link { align-items:flex-end; }
    .mwt-gate-art img { object-position:center; }
    .mwt-gate-link::before { background:linear-gradient(0deg,#061320f5,#061320cc 22%,#06132035 49%,transparent 70%); }
    .mwt-gate-copy { padding-block:55px; }
    .mwt-gate-action { margin-top:20px; }
}
