/* The title and caption share the scene's existing left edge and safe-area gutter. */
.score-shell[data-page="home"] .home-scene-caption {
  box-sizing: border-box;
  width: min(100%, 39ch);
  margin: clamp(12px, 1.65svh, 22px) 0 0;
  padding: 0;
  color: #f0ece4;
  font: 400 clamp(1rem, 1.35vw, 1.25rem)/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-align: start;
  text-transform: none;
  text-shadow: 0 1px 5px #111, 0 0 12px #1119;
  pointer-events: none;
}
.score-shell[data-page="home"] .home-scene-caption > p {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}
.score-shell[data-page="home"] .home-scene-caption .home-scene-label {
  margin-bottom: 5px;
  color: #e4ddd2;
  font: 600 .75rem/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
@media (max-width: 720px) and (orientation: portrait) {
  .score-shell[data-page="home"] .intro-scene:has(.home-scene-caption) .intro-copy {
    padding-bottom: clamp(48px, 8svh, 76px);
  }
  .score-shell[data-page="home"] .intro-nico:has(.home-scene-caption) .intro-copy {
    padding-bottom: clamp(24px, 4.5svh, 46px);
  }
  .score-shell[data-page="home"] .home-scene-caption {
    position: absolute;
    inset-inline-start: 0;
    bottom: calc(100% + 16px);
    width: min(100%, 35ch);
    margin: 0;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) and (min-width: 721px) {
  .score-shell[data-page="home"] .intro-scene.is-motion-active .home-scene-caption {
    animation: home-caption-focus 300ms ease-out;
  }
  @keyframes home-caption-focus {
    from { opacity: .48; filter: blur(2px); transform: translateY(3px); }
    to { opacity: 1; filter: none; transform: none; }
  }
}

/* A client-side return from a page running the earlier bundle keeps its original nodes. */
.score-shell[data-page="home"] .intro-copy:has(> .home-scene-caption) > :is(.intro-sub, i, .intro-statement) {
  display: none;
}
