/* ==========================================================================
   STORYBOARD: CANCER CARE BANGLADESH (CCB) PLATFORM (2026-11-09)
   Page-specific layer on top of storyboard.css (the sb3 system from the
   Clinic storyboard, APPLE-STANDARD.md grammar). Loaded after
   storyboard.css on ccb-platform-story.html only. Unique prefix: scc.
   Additions: the journey tracker panel staged beside Farhana in the
   pinned sequence, narrow stagings for the phone-shaped real screens,
   and the guided-journey exit.
   ========================================================================== */

/* Pinned sequence: her journey tracker, staged in one glass panel -------- */
.scc-panel {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: min(520px, calc(100vw - 48px));
  max-height: 88vh;
  overflow: hidden;
  background: rgba(7, 12, 24, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px 26px 20px;
  opacity: 0;
}
.scc-panel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.scc-steps { list-style: none; margin: 0; padding: 0; }
.scc-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 9px 0;
  opacity: 0.32;
}
.scc-dot {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
}
/* The fill is painted by the page script (background colour only,
   no layout change) as each step turns done. */
.scc-step-txt { flex: 1; }
.scc-step-name {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
}
.scc-step-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 2px 0 0;
}

/* Real screens, staged at the width they were made at --------------------- */
.scc-shot-narrow {
  margin: 48px auto 8px;
  max-width: 520px;
}
.scc-shot-mid {
  margin: 48px auto 8px;
  max-width: 640px;
}
.scc-shot-narrow img,
.scc-shot-mid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 16px;
}
.scc-shot-narrow figcaption,
.scc-shot-mid figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Fallback: the certificate screen closes the static story ---------------- */
.scc-fallback-shot { max-width: 520px; margin: 40px auto 0; }
.scc-fallback-shot img {
  width: 100%;
  display: block;
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 16px;
}

/* Guided-journey exit ------------------------------------------------------ */
.scc-exit { padding: 40px 0 10px; }
.scc-exit-link {
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
}
.scc-exit-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.scc-exit .sb3-support { margin-top: 12px; }

@media (max-width: 820px) {
  .scc-panel { padding: 22px 20px 18px; }
  .scc-shot-narrow, .scc-shot-mid { margin-top: 36px; }
}
