/* Chevrons: translucent gradient triangles at the page edges, a different size and colour in every section.
   In timeline sections each chevron is a pair: the second triangle sits a little lower, in another colour */
:where(section){position:relative;isolation:isolate}
.chev{position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;pointer-events:none}
.chev b{position:absolute;top:var(--t);width:var(--w);height:var(--h)}
.chev.l b{left:0;transform-origin:0 50%}
.chev.r b{right:0;transform-origin:100% 50%}
.chev b i{position:absolute;inset:0;opacity:.46;background:linear-gradient(180deg,var(--a),var(--b) 55%,var(--c))}
.chev b i + i{top:60%;bottom:-60%;opacity:.38}
.chev.l b i{clip-path:polygon(0 0,100% 50%,0 100%)}
.chev.r b i{clip-path:polygon(100% 0,0 50%,100% 100%)}
/* They breathe: each chevron grows out from its edge and shrinks back, and drifts up and down, on its own rhythm */
@media (prefers-reduced-motion: no-preference){
  .chev b:nth-of-type(odd){animation:chevA 7s ease-in-out var(--dl) infinite alternate,chevUp 5s ease-in-out var(--dl) infinite alternate}
  .chev b:nth-of-type(even){animation:chevB 9s ease-in-out calc(var(--dl) - 3s) infinite alternate,chevDown 6s ease-in-out calc(var(--dl) - 2s) infinite alternate}
  @keyframes chevA{0%{transform:scale(.72,.8);opacity:.7}100%{transform:scale(1.32,1.2);opacity:1}}
  @keyframes chevB{0%{transform:scale(1.28,1.18);opacity:1}100%{transform:scale(.7,.78);opacity:.65}}
  @keyframes chevUp{0%{translate:0 40px}100%{translate:0 -60px}}
  @keyframes chevDown{0%{translate:0 -50px}100%{translate:0 50px}}
}
@media (max-width:820px){.chev b{width:calc(var(--w) * .6);height:calc(var(--h) * .65)}}
