/* Homepage experiment scenes. Motion is controlled by the scroll script only. */
.assembly-scene { opacity: 0; pointer-events: none; }
.assembly-scene text { fill: #f5ebc4; font-family: Arial, sans-serif; font-size: 21px; font-weight: 400; }
.assembly-scene .assembly-kicker { fill: #e9b91a; font-size: 18px; letter-spacing: 2.6px; }
.assembly-scene .assembly-title { font-family: Georgia, serif; font-size: 31px; }
.assembly-scene .assembly-label { font-size: 21px; }
.assembly-scene .assembly-small { fill: #c3ccc8; font-size: 18px; }
.assembly-scene .assembly-tiny { fill: #c3ccc8; font-size: 16px; }
.assembly-scene .assembly-centred { text-anchor: middle; }
.assembly-scene .assembly-line { fill: none; stroke: #f5ebc4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.assembly-scene .assembly-muted-line { fill: none; stroke: #a8bfb8; stroke-opacity: .55; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.assembly-scene .assembly-dashed { stroke-dasharray: 7 8; }
.assembly-scene .assembly-panel { fill: #163452; fill-opacity: .54; stroke: #a8bfb8; stroke-opacity: .3; stroke-width: 1.5; }
.assembly-scene .assembly-tube { fill: #eaf0de; fill-opacity: .055; stroke: #d8e4d7; stroke-width: 2.3; }
.assembly-scene .assembly-cap { fill: #c7d4cc; fill-opacity: .18; stroke: #d8e4d7; stroke-width: 2; }
.assembly-scene .assembly-rack { fill: #a6bfb7; fill-opacity: .08; stroke: #a6bfb7; stroke-opacity: .58; stroke-width: 2; }
.assembly-scene .assembly-photo-mat { fill: #f7f4e8; stroke: #e4dcc0; stroke-width: 1; }
.assembly-scene .assembly-photo { image-rendering: auto; }
.assembly-scene .assembly-domain { fill: #283d5c; stroke: #d6d9bf; stroke-width: 1.5; }
.assembly-scene .assembly-domain--mfp { fill: #706087; }
.assembly-scene .assembly-purple { fill: #8f65b8; }
.assembly-scene .assembly-cream { fill: #f5ebc4; }
.assembly-scene .assembly-outline { fill: none; stroke: #d8e4d7; stroke-width: 2.3; }
.assembly-scene .assembly-film { opacity: 0; }
.assembly-scene .assembly-sample,
.assembly-scene .assembly-ingredient,
.assembly-scene .assembly-ligand { will-change: opacity, transform; }

/* The unpinned layout already includes the illustrated application fallback. */
html:not(.desktop-flow-motion) .homepage-simple .flow-art { display: none; }

/* The same evidence is accessible from the animated story and its unpinned
   mobile/reduced-motion version. Every link opens the existing image dialog. */
.homepage-simple .flow-cycle-record {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  max-width: 100%;
  margin-top: .8rem;
  color: var(--ui-accent, #e9b91a);
  font: 500 .72rem/1.5 Arial, sans-serif;
  letter-spacing: .045em;
  text-decoration: none;
}
.homepage-simple .flow-cycle-record > span {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--ui-border, rgba(245,235,196,.25));
}
.homepage-simple .flow-cycle-record i { font-size: 1.1rem; font-style: normal; }
.homepage-simple .flow-cycle-record img {
  display: block;
  width: min(100%, 26rem);
  max-height: 14rem;
  object-fit: contain;
  object-position: left center;
  background: #faf8f0;
  border: 1px solid var(--ui-border, rgba(245,235,196,.25));
}
.homepage-simple .flow-cycle-record:hover > span { border-bottom-color: currentColor; }
.homepage-simple .flow-cycle-record:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: .3rem;
}
.desktop-flow-motion .homepage-simple .flow-cycle-record img { display: none; }

/* Molecular modules are schematic; maintain readable labels in both themes. */
html[data-theme] .assembly-material-domains text.assembly-small { fill: #faf7f2; }
html[data-theme] .homepage-simple .flow-copy--build .flow-kicker { color: var(--ui-accent, #754c95); }
.homepage-simple .flow-cycle-result {
  display: block;
  width: fit-content;
  margin-top: .65rem;
  color: var(--ui-accent, #e9b91a);
  font: 500 .72rem/1.5 Arial, sans-serif;
  text-underline-offset: .25rem;
}
