/* EXPERIMENT 1.2.95.1 — Home cover stays (after safds.com): the picture or video is fixed to the screen and does not move at all while you scroll;
   the name and the intro scroll up with the page, and the works (an opaque sheet) slide up over them and over the cover, covering it.
   js/exp/cover.js sets the class "cover-on" on <html> when the hero has a picture or video, and "cover-off" once the hero is scrolled out of sight.
   Add ?exp=off to the address to see Home without it.
   To drop it: delete this file and js/exp/cover.js and their two tags in index.html, and set ?v= back to 1.2.95 in public/*.html. */
.cover-on .hero-img,.cover-on .hero::before{position:fixed}
/* the sheet: everything under the hero gets its own opaque background (the hairline colour of the grids is laid over the page colour, so the cover
   cannot show through the 1px gaps) and is stacked above the cover */
.cover-on main#works,.cover-on #thoughts{position:relative;z-index:2}
/* the footer is part of the sheet, unless the footer reveal (css/exp-reveal.css) keeps it underneath the sheet */
.cover-on:not(.reveal) #footer{position:relative;z-index:2}
.cover-on main#works,.cover-on:not(.reveal) #footer{background:linear-gradient(var(--line),var(--line)) var(--bg)}
.cover-on #thoughts{background:var(--bg)}
/* the top edge of the sheet that slides over the cover is drawn with a hairline */
.cover-on main#works{border-top:1px solid var(--line)}
/* once the hero is out of sight the cover is not drawn at all */
.cover-off .hero-img,.cover-off .hero::before{visibility:hidden}
