/* ==========================================================================
   SVIND Floor Crane 3D Showcase — Cinematic Scroll-Driven A-to-Z Sequence
   Pure white gallery viewport (#FFFFFF), sticky scroll runway, zero buttons,
   zero sliders, and crisp 3D-anchored SVG leader-line part callouts.
   ========================================================================== */

#floor-crane-showcase.core-band {
  overflow: clip;
  background-color: #FFFFFF;
  padding-inline: 0;
  padding-block-end: 0;
}

.sv-fc {
  margin-block-start: 0;
}

.sv-fc__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline: var(--band-inset, clamp(20px, 5vw, 72px));
  margin-block-end: 24px;
}

.sv-fc__kicker {
  margin: 0;
  font-family: "Plus Jakarta Sans", var(--font-sans, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-navy, #1E3A6B);
}

.sv-fc__intro {
  margin: 0;
  max-width: 60ch;
  font-family: "Plus Jakarta Sans", var(--font-sans, sans-serif);
  font-size: 15.5px;
  line-height: 1.6;
  color: #4B5563;
}

/* Full-Bleed Sticky Scroll Runway (A-to-Z Timeline: 0% -> 100%) */
.sv-fc__runway {
  --fc-ink: #111317;
  --fc-muted: #4B5563;
  --fc-subtle: #64748B;
  --fc-accent: #1E3A6B;
  --fc-leader: rgba(30, 58, 107, 0.56);

  position: relative;
  width: 100%;
  height: 460vh;
  background-color: #FFFFFF;
}

.sv-fc__sticky {
  position: sticky;
  top: 68px;
  width: 100%;
  height: calc(100vh - 68px);
  border: none;
  border-radius: 0;
  background-color: #FFFFFF;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.sv-fc__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
}

/* 100% Unobstructed Pure-White 3D Canvas */
.sv-fc__mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sv-fc__mount canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Static Fallback if WebGL is Unavailable */
.sv-fc__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  z-index: 6;
}

.sv-fc__fallback[hidden] {
  display: none;
}

.sv-fc__fallback img {
  max-width: 82%;
  max-height: 78%;
  object-fit: contain;
}

/* Quiet Top-Left Act Caption */
.sv-fc__hud-spec {
  position: absolute;
  top: 22px;
  left: var(--band-inset, clamp(20px, 5vw, 72px));
  z-index: 4;
  max-width: min(360px, calc(100% - 130px));
  padding: 4px 10px 6px 0;
  background-color: rgba(255, 255, 255, 0.86);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sv-fc__spec-code {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fc-accent);
  font-variant-numeric: tabular-nums;
}

.sv-fc__spec-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
  text-wrap: balance;
}

.sv-fc__spec-meta {
  margin: 2px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--fc-subtle);
  font-variant-numeric: tabular-nums;
}

/* Quiet Top-Right Act Index & Subtle Scroll Cue */
.sv-fc__hud-index {
  position: absolute;
  top: 24px;
  right: var(--band-inset, clamp(20px, 5vw, 72px));
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.sv-fc__index-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--fc-ink);
}

.sv-fc__scroll-cue {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--fc-subtle);
  transition: opacity 160ms linear;
}

/* 3D-Anchored Minimal SVG Leader-Line Part Tags (Unboxed, Zero Pills) */
.sv-fc__tags {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.sv-fc__tags-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.sv-fc__tag-svg-group {
  will-change: opacity;
}

.sv-fc__tag-line {
  stroke: var(--fc-leader);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sv-fc__tag-dot {
  fill: var(--fc-accent);
  stroke: #FFFFFF;
  stroke-width: 1.8;
}

.sv-fc__tag {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 2px 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  will-change: transform, opacity;
  pointer-events: none;
}

.sv-fc__tag-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fc-ink);
}

.sv-fc__tag-sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--fc-muted);
}

/* Whisper-Thin 2px Bottom Scroll Progress Hairline */
.sv-fc__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 6;
  background-color: rgba(17, 19, 23, 0.06);
  pointer-events: none;
}

.sv-fc__progress-fill {
  width: 100%;
  height: 100%;
  background-color: var(--fc-accent);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Tablet & Mobile Responsive */
@media (max-width: 899.98px) {
  .sv-fc__runway {
    height: 380vh;
  }

  .sv-fc__sticky {
    border-radius: 0;
  }

  .sv-fc__hud-spec {
    top: 18px;
    left: 18px;
    max-width: calc(100% - 104px);
  }

  .sv-fc__hud-index {
    top: 18px;
    right: 18px;
  }

  .sv-fc__tag-title {
    font-size: 11.5px;
  }

  .sv-fc__tag-sub {
    font-size: 9.5px;
  }
}

@media (max-width: 599.98px) {
  .sv-fc__runway {
    height: 320vh;
  }

  .sv-fc__sticky {
    top: 60px;
    height: calc(100dvh - 118px);
    min-height: 460px;
  }

  .sv-fc__hud-spec {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 88px);
  }

  .sv-fc__hud-index {
    top: 14px;
    right: 14px;
  }

  .sv-fc__spec-meta {
    display: none;
  }
}

/* Accessibility: Reduced Motion Static Split Fallback */
@media (prefers-reduced-motion: reduce) {
  .sv-fc__runway {
    height: auto;
  }

  .sv-fc__sticky {
    position: relative;
    top: 0;
    height: clamp(500px, 68vh, 660px);
  }

  .sv-fc__scroll-cue {
    display: none;
  }
}
