/* Quiet graphic grain: uninterrupted base, feathered accents at the page edges. */
body { background-color: #0a0c0b; }
main { overflow: clip; background: #0a0c0b; }
#projects, #quiz, #why, #works, #process, #faq, #request, #about {
 position: relative;
 isolation: isolate;
 background: transparent;
}
#projects::before, #quiz::before, #process::before, #request::before, #about::before {
 content: '';
 position: absolute;
 pointer-events: none;
 z-index: -1;
 top: 0;
 bottom: 0;
 width: 100vw;
 left: 50%;
 transform: translateX(-50%);
 background-repeat: no-repeat;
 opacity: .24;
 /* Fade before section boundaries, so there are no visible rectangular edges. */
 -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent);
 mask-image: linear-gradient(transparent, #000 18%, #000 78%, transparent);
}
#projects::before {
 background-image: url('/assets/grain-fine.svg');
 background-size: 400px 680px;
 background-position: left -60px top 30px;
}
#quiz::before {
 background-image: url('/assets/grain-wide.svg');
 background-size: 680px 970px;
 background-position: right -370px center;
 opacity: .21;
}
#process::before {
 background-image: url('/assets/grain-wide.svg');
 background-size: 720px 1030px;
 background-position: left -480px center;
 opacity: .18;
}
#request::before {
 background-image: url('/assets/grain-fine.svg');
 background-size: 390px 665px;
 background-position: left -70px center;
 transform: translateX(-50%) scaleX(-1);
 opacity: .23;
}
#about::before {
 background-image: url('/assets/grain-fine.svg');
 background-size: 350px 595px;
 background-position: left -160px center;
 opacity: .18;
}
#process .process-node { box-shadow: 0 0 0 8px #0a0c0b; }
#process .process-node b { background: #0a0c0b; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 95px; pointer-events: none; background: linear-gradient(transparent,#0a0c0b); }
@media(max-width:800px) {
 #projects::before { background-size: 270px 459px; background-position: left -110px top 20px; opacity: .17; }
 #quiz::before { background-size: 480px 686px; background-position: right -310px center; opacity: .16; }
 #process::before { background-size: 520px 743px; background-position: left -380px center; opacity: .13; }
 #request::before { background-size: 270px 459px; background-position: left -120px center; opacity: .16; }
 #about::before { background-size: 270px 459px; background-position: left -160px center; opacity: .14; }
}
