/* ==========================================================================
   STORYBOARD: HUMAN ATLAS (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 human-atlas-story.html only. The pinned sequence
   crossfades real captures from the live explorer: the body assembles,
   opens into systems, and one part steps out and names itself.
   ========================================================================== */

/* Cold open: the explorer capture, dimmed to a night-study mood so the
   claim type sits on it cleanly ------------------------------------------ */
.sat-dim { filter: brightness(0.5) saturate(0.9); }

/* Pinned sequence frames: real explorer captures, stacked ---------------- */
.sat-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  opacity: 0;
}
.sat-frame-first { opacity: 1; }

/* The part names itself: one quiet label card over the isolate capture --- */
.sat-namecard {
  position: absolute;
  left: 50%;
  bottom: 9vh;
  transform: translateX(-50%);
  z-index: 4;
  width: min(520px, calc(100vw - 48px));
  background: rgba(7, 12, 24, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 20px 24px;
  text-align: center;
  opacity: 0;
}
.sat-namecard .n-name {
  font-weight: 600;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.sat-namecard .n-note {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Staged fact: one count per body, never blended -------------------------- */
.sat-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 90px;
  margin-top: 14px;
}
.sat-fact .f-num {
  font-weight: 600;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.sat-fact .f-sub {
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-secondary);
  max-width: 340px;
  margin: 0;
}

/* Guided-journey exit ------------------------------------------------------ */
.sb3-exit { padding: 40px 0 10px; }
.sb3-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;
}
.sb3-exit-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.sb3-exit .sb3-support { margin-top: 12px; }

@media (max-width: 820px) {
  .sat-facts { gap: 40px; }
  .sat-namecard { padding: 18px 20px; }
}

/* Cold open: the capture carries the explorer's own header; a top scrim
   settles it behind the page chrome so the label and claim read first */
.sat-open::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 42%; background: linear-gradient(180deg, rgba(3,6,14,0.78), rgba(3,6,14,0)); z-index: 1; pointer-events: none; }
