/* Stone Collage: living, true-to-scale cabochon collage, drawn on one canvas.
   Reads the site's --turquoise token when present, with a sensible fallback.
   Tune the look with the custom properties below; no other CSS is needed. */
.stone-collage{
  --sc-shadow-color:#18221e;                  /* colour of every shadow; the light model sets its strength */
  --sc-shadow-strength:1;                      /* 0.6 = paler shadows, 1.4 = deeper */
  --sc-accent:var(--turquoise, #3A6E73);       /* impact rings and ripples on the table */

  position:relative;
  width:100%;
  min-height:320px;
  touch-action:pan-y;           /* vertical page scroll still works on phones */
  -webkit-user-select:none; user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}
/* the canvas bleeds a little past the box so shadows fade out instead of being cut off at the edge */
.stone-collage .sc-canvas{
  position:absolute;
  display:block;
  pointer-events:none;
}
.stone-collage.sc-can-drag.is-over{ cursor:grab; }
.stone-collage.is-dragging,
.stone-collage.is-sweeping{ cursor:grabbing; }

.stone-collage.sc-error{ min-height:0; }

/* While the stones load: a small note and progress line, shown only if loading takes a moment */
.stone-collage .sc-loader{
  position:absolute;
  left:50%;
  top:50%;
  top:min(50%, 45vh);
  transform:translate(-50%, -50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  font-size:12px;
  line-height:1;
  letter-spacing:.16em;
  text-transform:uppercase;
  white-space:nowrap;
  pointer-events:none;
  opacity:0;
  transition:opacity .45s ease .35s;
}
.stone-collage .sc-loader.is-on{ opacity:1; }
.stone-collage .sc-loader.is-done{ opacity:0; transition-delay:0s; transition-duration:.3s; }
.stone-collage .sc-loader-label{ opacity:.62; }
.stone-collage .sc-loader-bar{
  position:relative;
  width:132px;
  height:2px;
  border-radius:2px;
  overflow:hidden;
  background:rgba(128,128,128,.2);
}
.stone-collage .sc-loader-bar i{
  position:absolute;
  left:0; top:0; right:0; bottom:0;
  background:var(--sc-accent);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .3s ease;
}
@media (prefers-reduced-motion: reduce){
  .stone-collage .sc-loader-bar i{ transition:none; }
}
