/* Homepage: one screen cut into six slanted panels that together make one picture (abstract objects joined
   by a ribbon), each panel painting its part in its own style, the panels taking turns and rearranging
   (home.js and home-art.js draw it all on one canvas). The only words are the name and a side menu drawn
   in negative. */
html:has(body.hx-page){height:100%;overflow:hidden}
body.hx-page{height:100%;min-height:0;overflow:hidden;background:#281C3A}
.hx{position:fixed;inset:0;overflow:hidden}
.hx-art{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pinch-zoom}   /* (a finger drags the mouse's circle) */
/* no WebGL: the picture's ground (deep indigo above, plum below), so the menu still has something to sit on */
.hx-flat .hx{background:linear-gradient(180deg,#1A1A3C,#3A1E38)}
.hx-flat .hx-art{display:none}

/* ---------- the name as a ransom note: cut-out letters, in one place along the fourth strip ---------- */
.hx-notes{position:absolute;inset:0;z-index:5;pointer-events:none}
.hx-note{position:absolute;inset:0;--fs:40px}
.hx-note .rn__col{position:absolute;font-size:var(--fs)}   /* (the letters: .rn in site.css) */

/* ---------- the way in: a side menu in negative ----------
   No panel: white outline pills and sparkles, blended as "difference", so every line is the inverse of
   the picture under it (dark over light, light over dark). A pointed-at pill fills in: the picture
   inverted inside it, the true picture showing through the letters. */
.hx-menu{position:absolute;left:clamp(18px,3.2vw,52px);top:50%;z-index:10;translate:0 -50%;display:grid;gap:14px;justify-items:start;color:#fff;mix-blend-mode:difference}
.hx-menu__brand{display:inline-flex;align-items:center;gap:8px;margin-left:calc(var(--step,14px) * 4);color:inherit;font:800 13px/1 var(--f-ui);letter-spacing:.22em;text-decoration:none}
.hx-menu__brand i{font-style:normal;font-size:15px;letter-spacing:0}
.hx-menu ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.hx-menu li:nth-child(1){margin-left:calc(var(--step,14px) * 3)}
.hx-menu li:nth-child(2){margin-left:calc(var(--step,14px) * 2)}
.hx-menu li:nth-child(3),.hx-menu li[data-in]:nth-child(5){margin-left:var(--step,14px)}
.hx-menu a:not(.hx-menu__brand),.hx-menu button{display:inline-flex;align-items:center;gap:9px;padding:9px 20px 9px 13px;border:0;border-radius:999px;background:none;box-shadow:inset 0 0 0 1px #fff;
  color:#fff;font:700 13px/1 var(--f-ui);letter-spacing:.07em;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,translate .25s}
.hx-menu a:not(.hx-menu__brand)::after,.hx-menu button::after{content:"»";margin-left:2px;opacity:.7;transition:translate .25s,opacity .2s}
.hx-menu li i{font-style:normal;font-size:11px;transition:rotate .4s}
.hx-menu a:not(.hx-menu__brand):hover,.hx-menu a:not(.hx-menu__brand):focus-visible,.hx-menu button:hover,.hx-menu button:focus-visible{outline:none;background:#fff;color:#000;translate:4px 0}
.hx-menu a:hover::after,.hx-menu a:focus-visible::after,.hx-menu button:hover::after,.hx-menu button:focus-visible::after{translate:3px 0;opacity:1}
.hx-menu li a:hover i,.hx-menu li a:focus-visible i,.hx-menu li button:hover i,.hx-menu li button:focus-visible i{rotate:90deg}
.hx-menu__brand:focus-visible{outline:1px solid #fff;outline-offset:6px}

/* ---------- tall screens (phones, tablets held upright): five stacked bands, the menu at the foot ---------- */
@media (max-aspect-ratio:11/10){
  .hx-menu{--step:10px;top:auto;bottom:calc(min(8vw,52px) + 18px);translate:none;gap:11px}
  .hx-menu ul{gap:7px}
}
