/* Supplied complete H-type apparatus illustrations for the two input modules. */
body.home-reimagined #platform .home-visual .home-cell-illustration {
  grid-column:1/-1; min-width:0; width:100%; max-width:480px; justify-self:center;
  margin:0; padding:10px 10px 8px; border:1px solid #9fcbd52b; border-radius:12px;
  background:#11172c; text-align:center;
}
body.home-reimagined #platform .home-visual .home-cell-illustration img {
  display:block; width:100%; max-width:480px; height:auto; max-height:none; aspect-ratio:3/2;
  margin:0 auto; object-fit:contain;
  mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent),linear-gradient(to bottom,transparent,#000 2%,#000 96%,transparent);
  mask-composite:intersect;
}
body.home-reimagined #platform .home-visual .home-cell-illustration figcaption {
  margin:2px 0 4px; padding:0; border:0; color:#c8cedb; font:400 14px/1.45 var(--sans,Arial,sans-serif);
  text-transform:none; letter-spacing:0;
}
.home-reimagined #platform .has-cell-illustration .flow-input > img { display:none !important; }
.home-reimagined #platform .has-cell-illustration .flow-carbon { color:#efc6ad; }
.home-reimagined #platform .has-cell-illustration .flow-nitrogen { color:#b1dce3; }
.home-reimagined #platform .has-cell-illustration .flow-input { padding-block:0; gap:0; }
.home-reimagined #platform .has-cell-illustration .flow-convergence { height:52px; }
body.home-reimagined #platform.home-story-unpinned > .home-chapter-inner { align-items:start; }
@media(min-width:1000px) and (min-height:700px) and (prefers-reduced-motion:no-preference) {
  body.home-reimagined #platform .has-cell-illustration .flow-core > img { max-height:clamp(155px,23svh,230px); }
}
@media(max-width:480px) {
  .home-reimagined #platform .home-cell-illustration figcaption { max-width:28ch; margin-inline:auto; }
}

/* Each input contains one whole dual-chamber apparatus. The source asset is
   duplicated intact; the chambers are never split into separate modules. */
body.home-reimagined.a2p-fused-home #platform .platform-flow.has-dual-cell-illustrations .flow-input {
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;
  justify-items:stretch;align-content:start;gap:8px;min-width:0;padding-block:0;
}
body.home-reimagined.a2p-fused-home #platform .platform-flow.has-dual-cell-illustrations .flow-input>.home-cell-illustration {
  display:block;grid-column:auto;grid-row:1;justify-self:stretch;width:100%;max-width:none;
  min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
body.home-reimagined.a2p-fused-home #platform .platform-flow.has-dual-cell-illustrations .home-cell-illustration>img {
  display:block;width:100%;height:clamp(150px,calc(var(--home-screen-content,600px) * .34),260px);
  max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;
  margin:0;mask-image:none;mask-composite:add;clip-path:none;filter:none;
  transform:none;translate:none;scale:none;rotate:none;
}
body.home-reimagined.a2p-fused-home #platform .platform-flow.has-dual-cell-illustrations .flow-input>span {
  grid-column:1;grid-row:2;justify-self:center;text-align:center;
}

/* Photographs are an optional inspection; the chapter keeps its source art. */
body.home-reimagined #platform .flow-input[aria-haspopup="dialog"] {cursor:zoom-in}
html.home-cell-photo-open:has(>body.home-reimagined) {overflow:hidden;scroll-snap-type:none!important}
body.home-reimagined.home-cell-photo-open {overflow:hidden}
.home-cell-photo-dialog {box-sizing:border-box;position:fixed;inset:24px;margin:auto;width:min(1080px,calc(100vw - 48px));height:calc(100dvh - 48px);max-width:1080px;max-height:calc(100dvh - 48px);padding:16px;border:1px solid #b8a3c246;border-radius:8px;background:#0a0f1e;color:#f1ede5;overflow:hidden}
.home-cell-photo-dialog[open] {display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px}
.home-cell-photo-dialog::backdrop {background:#030611df;backdrop-filter:blur(5px)}
.home-cell-photo-heading {display:flex;align-items:center;justify-content:space-between;gap:18px}
body.home-reimagined .home-cell-photo-dialog .home-cell-photo-heading h2 {flex:1 1 auto;min-width:0;width:auto;max-width:none;margin:0;font:600 22px/1.3 var(--sans,"Source Sans 3",sans-serif);color:inherit}
.home-cell-photo-close {flex:none;display:grid;place-items:center;min-width:40px;min-height:40px;padding:3px 10px;border:1px solid #d8b6a14d;border-radius:4px;background:#151b30;color:#f3d8c0;font:500 28px/1 var(--sans,"Source Sans 3",sans-serif);cursor:pointer}
.home-cell-photo-close:focus-visible {outline:2px solid #b4dfeb;outline-offset:3px}
.home-cell-photo-dialog>.home-cell-photo {display:block;min-width:0;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
