/* Eight saturated night colours give each chapter its own flat reading ground. */
#qe.retro-edition #inizio{background:var(--q14-background-hero)}
#qe.retro-edition .desk-footer{background:var(--q14-background-hero)}
#qe #q-story #manifesto{--q17-chapter-bg:var(--q14-background-flow);background:var(--q17-chapter-bg)}
#qe #q-story #metodo{--q17-chapter-bg:var(--q14-background-method);background:var(--q17-chapter-bg)}
#qe #q-story #flussi{--q17-chapter-bg:var(--q14-background-flow);background:var(--q17-chapter-bg)}
#qe #q-story #livelli{--q17-chapter-bg:var(--q14-background-levels);background:var(--q17-chapter-bg)}
#qe #q-story #desk{--q17-chapter-bg:var(--q14-background-program);background:var(--q17-chapter-bg)}
#qe #q-story #report{--q17-chapter-bg:var(--q14-background-reports);background:var(--q17-chapter-bg)}
#qe #q-story #ricerca{--q17-chapter-bg:var(--q14-background-levels);background:var(--q17-chapter-bg)}
#qe #q-story #desk-film{--q17-chapter-bg:var(--q14-background-culture);background:var(--q17-chapter-bg)}
#qe #q-story #immaginario{--q17-chapter-bg:var(--q14-background-culture);background:var(--q17-chapter-bg)}
#qe #q-story #cabinet{--q17-chapter-bg:var(--q14-background-culture);background:var(--q17-chapter-bg)}
#qe #q-story #programma{--q17-chapter-bg:var(--q14-background-program);background:var(--q17-chapter-bg)}
#qe #q-story #fixed-income{--q17-chapter-bg:var(--q14-background-reports);background:var(--q17-chapter-bg)}
#qe #q-story #team{--q17-chapter-bg:var(--q14-background-method);background:var(--q17-chapter-bg)}
#qe #q-story #iscrizione{--q17-chapter-bg:var(--q14-background-access);background:var(--q17-chapter-bg)}
#qe #q-story #site-footer{background:var(--q14-background-hero)}

/* The cinema image keeps its detail while its edge falls into the culture chapter. */
#qe #q-story #desk-film .cinema-shade{background:linear-gradient(0deg,var(--q14-background-culture),transparent 70%),linear-gradient(90deg,color-mix(in srgb,var(--q14-background-culture) 75%,transparent),transparent 90%)}

/* Bridges keep their approved geometry; an inert paint layer spans the viewport. */
#qe #q-story .v8-chapter-bridge{position:relative;isolation:isolate;background:transparent}
#qe #q-story .v8-chapter-bridge:before{content:"";position:absolute;inset:0 calc(50% - 50vw);z-index:-1;pointer-events:none;background:linear-gradient(180deg,var(--q17-bridge-from),var(--q17-bridge-to))}
#qe #q-story #bridge-1{--q17-bridge-from:var(--q14-background-flow);--q17-bridge-to:var(--q14-background-method)}
#qe #q-story #bridge-2{--q17-bridge-from:var(--q14-background-method);--q17-bridge-to:var(--q14-background-flow)}
#qe #q-story #bridge-3{--q17-bridge-from:var(--q14-background-flow);--q17-bridge-to:var(--q14-background-levels)}
#qe #q-story #bridge-4{--q17-bridge-from:var(--q14-background-levels);--q17-bridge-to:var(--q14-background-program)}
#qe #q-story #bridge-5{--q17-bridge-from:var(--q14-background-program);--q17-bridge-to:var(--q14-background-reports)}
#qe #q-story #bridge-6{--q17-bridge-from:var(--q14-background-reports);--q17-bridge-to:var(--q14-background-levels)}
#qe #q-story #bridge-7{--q17-bridge-from:var(--q14-background-program);--q17-bridge-to:var(--q14-background-reports)}
#qe #q-story #bridge-8{--q17-bridge-from:var(--q14-background-method);--q17-bridge-to:var(--q14-background-access)}

/* Existing moving line art stays faint enough for the new solid grounds. */
#qe #q-story .q9-atmosphere{opacity:.38}
#qe #q-story .q9-night-grid{opacity:.06}
#qe #q-story .q9-night-ribbon{border-color:color-mix(in srgb,var(--q14-section) 6%,transparent)}
#qe #q-story .q9-night-glint,
#qe #q-story .q9-atmosphere-section:nth-of-type(even) .q9-night-glint{background:repeating-linear-gradient(0deg,color-mix(in srgb,var(--q14-section) 8%,transparent) 0 6px,transparent 6px 13px)}
