/* ══════════════════════════════════════════════════════════
   PRODUCT SHOWCASE (sticky scale)
   ══════════════════════════════════════════════════════════ */
#showcase{ position:relative; height:340vh; background:var(--ink); }
[data-allocore-showcase]{ position:relative; height:340vh; background:var(--ink); }
.sc-sticky{
  position:sticky; top:0; height:100svh;
  display:grid; place-items:center; overflow:hidden;
}
.sc-bg{
  position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 50%,var(--glow-sc),transparent 70%);
  will-change:transform,opacity;
}
/* Stops just short of the caption's eyebrow, so the line lands on
   "Introducing" rather than running through it. Same 1px --line-2 hairline
   and travelling --flame pulse as .scroll-cue .rail in hero-video.css —
   the pulse is a CSS keyframe on the pseudo-element, which is why GSAP can
   own scaleY on the element itself without the two fighting. */
.sc-tether{
  position:absolute; top:0; left:50%; z-index:3;
  width:1px; margin-left:-.5px;
  height:calc(clamp(70px,11vh,110px) - 16px);
  background:var(--line-2); overflow:hidden;
  transform-origin:top center; will-change:transform;
  pointer-events:none;
}
.sc-tether::after{
  content:''; position:absolute; inset:0; background:var(--flame);
  animation:tetherrun 2.1s var(--ease) infinite;
}
@keyframes tetherrun{ 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }

.sc-caption{
  position:absolute; top:clamp(70px,11vh,110px); left:0; right:0;
  text-align:center; padding-inline:var(--pad); z-index:4;
  pointer-events:none;
}
.sc-caption h2{ font-size:clamp(26px,3.6vw,54px); letter-spacing:-.045em; line-height:1.02; }
.sc-caption p{ font-size:14px; color:var(--paragraph); margin-top:12px; }
.sc-frame{
  position:relative; z-index:2;
  width:min(92vw,1180px);
  transform-origin:center 75%;
  will-change:transform;
}
.sc-frame--phone{ width:min(44vw,560px); }
/* a transparent-background device render — no frame, no border, no radius.
   Its shadow is already baked into the PNG; a box-shadow here would draw a
   rectangle around the silhouette. */
.sc-frame img{ width:100%; display:block; }
.sc-note{
  position:absolute; z-index:5;
  max-width:220px;
  padding:14px 16px; border-radius:var(--r-md);
  background:var(--glass); border:1px solid var(--line-2);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  will-change:transform,opacity;
}
.sc-note b, .sc-note h3{ font-family:var(--font-display); font-size:12.5px; font-weight:700; display:block; letter-spacing:-.02em; }
.sc-note span{ font-size:11px; color:var(--fog-dim); display:block; margin-top:4px; line-height:1.45; }
.sc-note::before{
  content:''; position:absolute; width:7px; height:7px; border-radius:50%;
  background:var(--flame); box-shadow:0 0 0 5px var(--flame-dim);
}
.n1{ top: 38%; left: 23%; }   .n1::before{ right:-22px; top:20px }
.n2{ top:30%; right:21%; }  .n2::before{ left:-22px; top:20px }
.n3{ bottom:36%; right:20%; }.n3::before{ left:-22px; top:20px }
/* fourth callout — used by the Allocore One page, which annotates four
   regions rather than three */
.n4{ bottom:26%; left:21%; } .n4::before{ right:-22px; top:20px }

/* The queue laptop has a wider working surface than the centered portal
   renders. Keep its callouts outside the device silhouette so the labels do
   not compete with the table content as the showcase scrubs. */
.showcase--queues .sc-frame{ width:min(78vw,1080px); }
.showcase--queues .n1,
.showcase--queues .n4{ left:clamp(18px,6vw,96px); }
.showcase--queues .n2,
.showcase--queues .n3{ right:clamp(18px,6vw,96px); }

.showcase--program .sc-frame{ width:min(82vw,1120px); }
.showcase--program .n1,
.showcase--program .n4{ left:clamp(18px,6vw,96px); }
.showcase--program .n2,
.showcase--program .n3{ right:clamp(18px,6vw,96px); }

.showcase--program-config .sc-frame{ width:min(82vw,1120px); }
.showcase--program-config .n1,
.showcase--program-config .n4{ left:clamp(18px,6vw,96px); }
.showcase--program-config .n2,
.showcase--program-config .n3{ right:clamp(18px,6vw,96px); }

.program-view-media img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  padding:0;
}
