/* The recurring Move cast fits the page's existing title and icon spaces. */
body.ma-storybook main .member-scene:not(.service-card-scene) {
  width: 96px;
  margin: 0 0 8px 18px;
}
body.ma-storybook .readable-banner .member-scene {
  --member-ground: var(--banner-wash);
  width: 88px;
  margin: 0 0 6px 12px;
}

/* New title companions leave the supporting copy its full reading width. */
body.ma-storybook .toon-title-pair {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
body.ma-storybook .toon-title-pair > h3 { flex: 1; min-width: 0; margin: 0; }
body.ma-storybook main .toon-slot.member-scene {
  --member-ground: #fff;
  float: none;
  flex: 0 0 auto;
  width: 88px;
  margin: 0;
}
body.ma-storybook #services .readable-banner .toon-slot {
  --member-ground: var(--banner-wash);
}

/* The card's decorative badge space becomes a tiny exercise corner. */
body.ma-storybook .toon-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 88px;
  margin-bottom: 12px;
}
body.ma-storybook .toon-card-top .ma-ibadge { margin: 0; }
body.ma-storybook .ma-step-top { min-height: 88px; gap: 12px; }
body.ma-storybook .toon-eyebrow-pair {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto 12px;
}
body.ma-storybook .toon-eyebrow-pair .wwo-eyebrow {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  margin: 0;
}
body.ma-storybook .toon-eyebrow-pair > .member-scene {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
body.ma-storybook main .toon-slot--location.member-scene { width: 80px; }

/* Keep the actual hit target accessible even when the character is tiny. */
body.ma-storybook .member-scene:not(.service-card-scene) .member-motion-toggle {
  right: -6px;
  bottom: -4px;
  width: 44px;
  height: 44px;
}
@media (max-width: 760px) {
  body.ma-storybook main .member-scene:not(.service-card-scene),
  body.ma-storybook .readable-banner .member-scene,
  body.ma-storybook main .toon-slot.member-scene {
    width: 72px;
  }
  body.ma-storybook .toon-title-pair { gap: 12px; }
  body.ma-storybook .toon-card-top, body.ma-storybook .ma-step-top { min-height: 72px; }
  body.ma-storybook .toon-eyebrow-pair {
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    gap: 8px;
  }
  body.ma-storybook .toon-eyebrow-pair .wwo-eyebrow { gap: 8px; }
  body.ma-storybook .toon-eyebrow-pair .wwo-eyebrow span { width: 18px; }
}

/* Equal side lanes keep the words centered even with a toon on only one side. */
body.ma-storybook .member-heading,
body.ma-storybook #services .service-overview-heading {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 96px;
  align-items: center;
  column-gap: 24px;
  width: 100%;
  text-align: center !important;
}
body.ma-storybook .member-heading > .member-heading-copy,
body.ma-storybook #services .service-overview-heading > .member-heading-copy {
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
body.ma-storybook main .member-heading > .member-scene,
body.ma-storybook #services .service-overview-heading > .member-scene {
  float: none;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: 96px;
  margin: 0;
}
body.ma-storybook main .member-heading--reverse > .member-scene {
  grid-column: 1;
  justify-self: start;
}
body.ma-storybook .member-heading .wwo-eyebrow {
  justify-content: center;
}
body.ma-storybook .member-heading .wwo-title,
body.ma-storybook #services .service-overview-heading .wwo-title {
  margin-inline: auto;
  text-wrap: balance;
}
body.ma-storybook .member-heading .wwo-sub,
body.ma-storybook #services .service-overview-heading .wwo-sub {
  margin-inline: auto !important;
}

/* Small screens give the full line to the text and a separate corner to the toon. */
@media (max-width: 900px) {
  body.ma-storybook .member-heading,
  body.ma-storybook #services .service-overview-heading {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  body.ma-storybook .member-heading > .member-heading-copy,
  body.ma-storybook #services .service-overview-heading > .member-heading-copy {
    grid-column: 1;
    grid-row: 1;
  }
  body.ma-storybook main .member-heading > .member-scene,
  body.ma-storybook #services .service-overview-heading > .member-scene {
    grid-column: 1;
    grid-row: 2;
    width: 64px;
  }
  body.ma-storybook #services .service-overview-heading .wwo-eyebrow {
    margin-bottom: 18px;
  }
  body.ma-storybook #services .service-overview-heading .wwo-title {
    margin-bottom: 20px;
  }
}
