/* ==========================================================================
   HONEY BEE LOADER -- the home page loader, loaded after style.css.
   Concept C, "comb becomes logo", kept small and set in the look of the hero's
   first frame: the same grey ground and soft shadows, so the site opens without
   a change of scene. No visible text and no loading line: the comb shows the
   progress.
   ========================================================================== */
/* the hero's ground colour before the loader itself has been read, so nothing flashes */
html.bee-loading { background: #b9bcb4; }

.bee-loader {
  position: fixed;
  left: 0;
  top: 0;
  /* sized to the whole window, scrollbars included: they appear as the site
     opens, and with "inset: 0" the finished mark jumped to the new middle */
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  background: #b9bcb4; /* the ground of hero3d.js */
}

/* small: the finished mark is about 160 px wide */
.bee-stage {
  position: relative;
  width: min(60vw, 34vh, 240px);
  aspect-ratio: 448 / 400;
}
/* the canvas (made by bee-loader.js) reaches past the stage, so the bee's circle
   is not cut: 640 x 560 drawing units round the stage's 448 x 400 */
.bee-stage canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 142.857%;
  height: 140%;
  transform: translate(-50%, -50%);
}

.bee-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
