/* ===== Opening: the seal builds itself out of dots, settles into a clasp on the seam between two halves of the page,
   the clasp turns, and the halves part. The left half carries the seal; the right half has a round notch the seal sat in. ===== */
.gl{position:fixed;inset:0;z-index:2000;overflow:clip;pointer-events:all;--g:6px;--R:clamp(46px,5.2vw,76px);
  animation:gl-failsafe .4s 10s forwards} /* if the script never runs, still get out of the way */
@keyframes gl-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
.gl-back{position:absolute;inset:0;background:var(--paper)} /* fills the seam and the ring around the clasp until the halves part */
.gl-p{position:absolute;top:0;bottom:0;width:calc(50% - var(--g) / 2);background:var(--paper);will-change:transform}
.gl-l{left:0;z-index:2}
.gl-r{right:0;z-index:1;
  -webkit-mask:radial-gradient(circle at calc(var(--g) * -1) 50%,transparent calc(var(--R) + var(--g) - 1px),#000 calc(var(--R) + var(--g) - .5px));
          mask:radial-gradient(circle at calc(var(--g) * -1) 50%,transparent calc(var(--R) + var(--g) - 1px),#000 calc(var(--R) + var(--g) - .5px))}
.gl-edge{position:absolute;top:0;height:100%;width:1px;overflow:visible;pointer-events:none}
.gl-l .gl-edge{right:0}
.gl-r .gl-edge{left:0}
.gl-edge path,.gl-circle{fill:none;stroke:var(--ink);stroke-width:1;stroke-opacity:.55;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke}
.gl-clasp{position:absolute;top:50%;right:calc(var(--R) * -1);width:calc(var(--R) * 2);height:calc(var(--R) * 2);margin-top:calc(var(--R) * -1);
  display:grid;place-items:center;will-change:transform}
.gl-clasp svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.gl-clasp .gl-circle{fill:var(--paper)}
.gl-seal{position:relative;width:70%;height:auto;display:block;opacity:0;will-change:transform,opacity}
.gl-cv{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
html.gl-lock,html.gl-lock body{overflow:hidden!important}

/* ===== "René Guénon": scrolls up with the page, shrinking, and docks in the centre of the top bar ===== */
.rgfly{position:fixed;left:0;top:0;z-index:45;margin:0;white-space:nowrap;text-decoration:none;pointer-events:none;
  transform-origin:0 0;will-change:transform}
.rgfly.docked{pointer-events:auto;cursor:pointer}
h1.rg.rg-ghost{visibility:hidden}
@media (max-width:899px){body.rg-docked .top .logo span{display:none}}

/* ===== no line or shadow under the top bar (the reader keeps its own) ===== */
.top:not(.rd),body.scrolled .top:not(.rd),body.scrolled:has(main.home) .top:not(.rd){border-bottom-color:transparent!important;box-shadow:none!important}
