/* Informative, source-backed foreground graphics. Labels stay in real DOM;
   geometry is decorative SVG, so mobile scaling never shrinks the copy. */
.story-unit--graphic {
  min-width: 0;
}
.scene-infographic {
  --graphic-ink: #f5f2ea;
  --graphic-paper: #f5f2ea;
  --graphic-gold: #d7b44a;
  --graphic-sage: #a8bcb0;
  --graphic-padding: 18px 20px 16px;
  --graphic-background: rgb(9 11 11 / .6);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--graphic-padding);
  background: var(--graphic-background);
  color: var(--graphic-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.02em;
  text-shadow: none;
  box-sizing: border-box;
  isolation: isolate;
}
.infographic-caption { margin: 0 0 12px; }
.infographic-title { display: block; font-size: 17px; font-weight: 650; line-height: 1.4; text-wrap: balance; }
.infographic-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 116px;
  overflow: visible;
}
.infographic-art :is(path, rect, circle, ellipse) { vector-effect: non-scaling-stroke; }
.infographic-wire, .infographic-fine, .infographic-trace, .infographic-ink, .infographic-globe {
  fill: none;
  stroke: var(--graphic-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.infographic-wire { stroke-opacity: .22; }
.infographic-fine { stroke-width: 1; stroke-opacity: .4; }
.infographic-trace { stroke: var(--graphic-gold); stroke-width: 2; }
.infographic-node { fill: rgb(15 26 46 / .7); stroke: var(--graphic-gold); stroke-width: 1.5; }
.infographic-node--gold, .infographic-gold-plane { fill: rgb(215 180 74 / .12); stroke: var(--graphic-gold); }
.infographic-paper-plane { fill: rgb(15 26 46 / .4); stroke: var(--graphic-gold); stroke-opacity: .25; }
.infographic-globe { fill: rgb(15 26 46 / .5); stroke-width: 1.2; }
.infographic-globe :is(path, ellipse) { fill: none; }
.infographic-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.infographic-labels li {
  position: relative;
  min-width: 0;
  margin: 0;
  color: var(--graphic-ink);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
  word-break: keep-all;
  text-wrap: balance;
}
.infographic-labels li:last-child { text-align: right; }
.infographic-labels li:nth-child(2) { text-align: center; }
.copy[data-page] .scene-infographic .infographic-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; }

/* Thin gold circuitry sits on a translucent ink field. */
.scene-infographic--connection {
  --graphic-background: rgb(9 11 11 / .6);
  color: var(--graphic-paper);
  --graphic-ink: #f5f2ea;
  --graphic-border-top: 1px solid #d7b44a;
}
.scene-infographic--connection .infographic-node { fill: rgb(15 26 46 / .7); }
.scene-infographic--connection .infographic-node--gold { fill: rgb(215 180 74 / .12); }
.scene-infographic--connection .infographic-node--gold .infographic-ink { stroke: #d7b44a; }
.scene-infographic--connection .infographic-trace { stroke: #d7b44a; }
.scene-infographic--connection .infographic-labels { color: var(--graphic-paper); }

/* The relationship's lower return line carries continuity, while the community
   has four steps. Their paths never share a floating generic orbit. */
.scene-infographic--relationship { --graphic-border-left: 3px solid #d7b44a; --graphic-padding: 18px 20px 16px 17px; }
.scene-infographic--relationship .infographic-art { max-height: 100px; }
.scene-infographic--community .infographic-labels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.scene-infographic--community .infographic-labels li { text-align: center; }
.scene-infographic--community .infographic-art { max-height: 102px; }

/* Business is a typographic fork with two editorial axes, not an app UI. */
.scene-infographic--business { --graphic-background: rgb(9 11 11 / .64); color: var(--graphic-paper); --graphic-ink: #f5f2ea; }
.scene-infographic--business .infographic-art { max-height: 88px; }
.scene-infographic--business .infographic-ink { stroke: #d7b44a; }
.scene-infographic--business .infographic-node { fill: rgb(15 26 46 / .7); }
.scene-infographic--business .infographic-node .infographic-ink { stroke: #d7b44a; }
.scene-infographic--business .infographic-trace { stroke: #d7b44a; }
.infographic-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 10px 0 0; }
.infographic-branch { min-width: 0; border-top: 1px solid #d7b44a55; padding-top: 8px; }
.infographic-branch dt { font-size: 15px; font-weight: 650; }
.infographic-branch dd { margin: 4px 0 0; font-size: 13px; line-height: 1.5; word-break: keep-all; }

/* Product lanes are a labelled matrix. Each sequence remains simultaneously
   visible; motion never swaps the text or advances the user's content step. */
.scene-infographic--products { --graphic-background: rgb(9 11 11 / .6); }
.infographic-lanes { display: grid; gap: 10px; }
.infographic-lane { position: relative; display: grid; grid-template-columns: 106px 1fr; gap: 12px; align-items: center; padding-top: 10px; border-top: 1px solid #d7b44a40; }
.infographic-lane::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; border-top: 1px solid #d7b44a; transform-origin: left; }
.infographic-lane-title { font-size: 14px; font-weight: 650; line-height: 1.45; }
.infographic-lane .infographic-labels { gap: 16px; margin: 0; }
.infographic-lane .infographic-labels li { font-weight: 500; font-size: 13px; text-align: center; }
.infographic-lane .infographic-labels li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: .7em;
  width: 8px;
  height: 0;
  border-top: 1px solid #d7b44a;
}

/* The owned system and replaceable resources use different planes. The lower
   edge is a connection boundary, not a claim of deployed capability. */
.scene-infographic--research { --graphic-background: transparent; --graphic-ink: #f5f2ea; --graphic-padding: 0; color: var(--graphic-paper); }
.scene-infographic--research .infographic-caption { padding: 0 0 2px; }
.infographic-system { --graphic-ink: #f5f2ea; background: rgb(9 11 11 / .7); color: #f5f2ea; padding: 14px 18px 12px; border-top: 3px solid #d7b44a; }
.copy[data-page] .scene-infographic .infographic-system-title { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
.infographic-system .infographic-labels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
.infographic-system .infographic-labels li { text-align: center; padding: 6px 3px; border: 1px solid #d7b44a66; }
.infographic-system .infographic-labels li:nth-child(2) { background: rgb(215 180 74 / .12); border-color: #d7b44a; }
.copy[data-page] .scene-infographic .infographic-system-return { margin: 10px 0 0; font-size: 13px; text-align: right; }
.infographic-system-return::before { content: '↶'; margin-right: 6px; font-size: 16px; }
.infographic-resources { position: relative; margin-top: 12px; padding: 12px 18px; background: rgb(9 11 11 / .52); border-top: 1px solid #d7b44a; }
.infographic-resources::before { content: ''; position: absolute; top: -13px; left: 50%; height: 12px; border-left: 1px solid #d7b44a; }
.infographic-resources strong { font-size: 14px; font-weight: 620; }
.copy[data-page] .scene-infographic .infographic-resources p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; }

/* Preserve each figure's own plane through the shared story-unit reset. The
   figure itself is the measurement unit; no nested card or extra padding. */
.copy[data-page] .story-unit.scene-infographic {
  padding: var(--graphic-padding);
  background: var(--graphic-background);
  color: var(--graphic-ink);
  border: 0;
  border-top: var(--graphic-border-top, 0);
  border-left: var(--graphic-border-left, 0);
}

/* A finite line reveal settles into a fully readable static pose. Visibility
   changes pause it; reduced motion has no transition or hidden geometry. */
.scene-infographic .infographic-trace {
  stroke-dasharray: 1;
  animation: infographic-line-arrive 1800ms cubic-bezier(.22,.7,.22,1) both;
  animation-play-state: paused;
}
.scene-infographic .infographic-node {
  animation: infographic-node-arrive 1000ms ease-out both;
  animation-play-state: paused;
}
.scene-infographic .infographic-lane::before { animation: infographic-rule-arrive 1500ms ease-out both; animation-play-state: paused; }
.scene-infographic .infographic-resources::before { transform-origin: top; animation: infographic-link-arrive 1500ms ease-out both; animation-play-state: paused; }
.scene-infographic[data-motion="running"] :is(.infographic-trace, .infographic-node),
.scene-infographic[data-motion="running"] :is(.infographic-lane, .infographic-resources)::before { animation-play-state: running; }
.scene-infographic[data-reduced-motion="true"] :is(.infographic-trace, .infographic-node),
.scene-infographic[data-reduced-motion="true"] :is(.infographic-lane, .infographic-resources)::before { animation: none; }
@keyframes infographic-line-arrive { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes infographic-node-arrive { from { fill-opacity: .65; } to { fill-opacity: 1; } }
@keyframes infographic-rule-arrive { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes infographic-link-arrive { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 760px) {
  .scene-infographic { --graphic-padding: 14px 14px 12px; }
  .infographic-title { font-size: 16px; line-height: 1.4; }
  .infographic-caption { margin-bottom: 10px; }
  .infographic-art { max-height: 88px; }
  .infographic-labels { gap: 10px; margin-top: 7px; }
  .scene-infographic--relationship { --graphic-padding: 14px 14px 12px 11px; }
  .infographic-branches { gap: 12px; }
  .infographic-branch dd { font-size: 13px; }
  .infographic-lane { grid-template-columns: 81px 1fr; gap: 8px; }
  .infographic-lane .infographic-labels { gap: 12px; }
  .infographic-lane .infographic-labels li:not(:last-child)::after { right: -9px; width: 6px; }
  .scene-infographic--research { --graphic-padding: 0; }
  .infographic-system { padding: 12px 14px 10px; }
  .infographic-system .infographic-labels { gap: 6px; }
  .infographic-resources { padding: 10px 14px; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .scene-infographic { --graphic-padding: 10px 12px; }
  .scene-infographic--relationship { --graphic-padding: 10px 12px 10px 9px; }
  .infographic-caption { margin-bottom: 7px; }
  .infographic-art { max-height: 70px; }
  .infographic-lanes { gap: 6px; }
  .infographic-lane { padding-top: 7px; }
  .scene-infographic--research { --graphic-padding: 0; }
  .infographic-system { padding: 8px 12px; }
  .copy[data-page] .scene-infographic .infographic-system-title { margin-bottom: 7px; }
  .infographic-system .infographic-labels li { padding: 3px; }
  .copy[data-page] .scene-infographic .infographic-system-return { margin-top: 6px; }
  .infographic-resources { padding: 8px 12px; margin-top: 10px; }
  .infographic-resources::before { top: -11px; height: 10px; }
}
@media (min-width: 761px) and (max-height: 480px) {
  .scene-infographic { --graphic-padding: 10px 14px; }
  .scene-infographic--relationship { --graphic-padding: 10px 14px 10px 11px; }
  .infographic-title { font-size: 15px; }
  .infographic-caption { margin-bottom: 7px; }
  .infographic-art { max-height: 64px; }
  .scene-infographic--business .infographic-art { display: none; }
  .copy[data-page] .scene-infographic .infographic-note { margin-top: 7px; }
  .infographic-lanes { gap: 6px; }
  .infographic-lane { padding-top: 6px; }
  .scene-infographic--research { --graphic-padding: 0; }
  .infographic-system { padding: 10px 14px; }
  .copy[data-page] .scene-infographic .infographic-system-title { margin-bottom: 8px; }
  .infographic-resources { padding: 8px 14px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-infographic :is(.infographic-trace, .infographic-node),
  .scene-infographic :is(.infographic-lane, .infographic-resources)::before { animation: none; }
}
