#flow-story { display: none; }
html[data-style="prism"] #flow-story {
  display: block;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #21242d;
  border-bottom: 1px solid #21242d;
  border-radius: 0;
  background: #080a0e;
  color: #edf0f2;
}
#flow-story *, #flow-story *::before, #flow-story *::after { box-sizing: border-box; }
#flow-story .flow-story-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(89%, 1180px);
  min-height: 620px;
  margin-inline: auto;
  padding-block: 88px;
}
#flow-story .flow-story-copy { position: relative; z-index: 1; min-width: 0; }
#flow-story h2 {
  margin: 0 0 19px;
  color: #edf0f2;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(44px, 3.8vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}
#flow-story h2 em {
  color: #98afc4;
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: inherit;
}
#flow-story .flow-story-intro {
  margin: 0 0 27px;
  color: #a5afb6;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.01em;
}
#flow-story .flow-story-modes {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  border-bottom: 1px solid #2b333a;
}
#flow-story .flow-story-modes button {
  position: relative;
  min-height: 44px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 14px 12px;
  background: transparent;
  color: #939da6;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}
#flow-story .flow-story-modes button:first-child { padding-left: 0; }
#flow-story .flow-story-modes button[aria-pressed="true"] { border-bottom-color: #91b5da; color: #edf2f7; }
#flow-story .flow-story-modes button:hover { color: #edf2f7; }
#flow-story .flow-story-modes button:focus-visible { outline: 2px solid #9bbddf; outline-offset: 5px; }
#flow-story .flow-story-description {
  max-width: 420px;
  min-height: 103px;
  margin: 17px 0 0;
  color: #a5afb6;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
#flow-story .flow-story-art {
  position: relative;
  min-width: 0;
  width: 100%;
  margin-right: calc(-1 * clamp(0px, 4vw, 60px));
}
#flow-story .flow-story-art::before {
  content: ""; position: absolute; inset: -10% -6%; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 55% 52%, #2a5fa82a, transparent 70%);
}
#flow-story .flow-story-canvas {
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 4; height: auto; background: #080a0e;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 66%, transparent), linear-gradient(transparent, #000 32%, #000 68%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000 66%, transparent), linear-gradient(transparent, #000 32%, #000 68%, transparent);
  mask-composite: intersect;
}
#flow-story .flow-story-art.is-static .flow-story-canvas { background: radial-gradient(ellipse 60% 40% at 45% 45%, #6f9fe0 0%, #2a5394 30%, #0e1828 62%, #080a0e 100%); }
#flow-story .flow-story-modes { gap: 26px; }
#flow-story .flow-story-modes button { display: inline-flex; align-items: baseline; gap: 9px; padding: 10px 0 14px; border-bottom-color: transparent !important; }
#flow-story .flow-story-modes button:first-child { padding-left: 0; }
#flow-story .flow-step { font: 500 11px/1 "IBM Plex Mono", Consolas, monospace; letter-spacing: .04em; color: #6f7c8c; }
#flow-story .flow-story-modes button[aria-pressed="true"] .flow-step { color: #9cc2ec; }
#flow-story .flow-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #91b5da; transform-origin: left; transform: scaleX(0); }
#flow-story .flow-story-modes button[aria-pressed="true"] .flow-progress { transform: scaleX(var(--flow-progress, 1)); }
#flow-story .flow-story-description { transition: opacity .18s, transform .18s; }
#flow-story .flow-story-description.is-changing { opacity: 0; transform: translateY(4px); }
@media (max-width: 920px) {
  #flow-story .flow-story-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px; }
  #flow-story h2 { font-size: 44px; }
  #flow-story .flow-story-modes button { padding-inline: 0; }
  #flow-story .flow-story-description { min-height: 128px; }
}
@media (max-width: 700px) {
  #flow-story .flow-story-inner { display: flex; flex-direction: column; align-items: stretch; gap: 25px; min-height: 0; padding-block: 48px; }
  #flow-story .flow-story-art { margin-right: 0; }
  #flow-story .flow-story-canvas { aspect-ratio: 1 / 1; }
  #flow-story .flow-story-modes { gap: 18px; }
  #flow-story h2 { font-size: 44px; margin-bottom: 17px; }
  #flow-story .flow-story-intro { margin-bottom: 20px; font-size: 16px; }
  #flow-story .flow-story-modes button { padding-inline: 0; font-size: 14px; }
  #flow-story .flow-story-description { max-width: 470px; min-height: 100px; margin-top: 16px; font-size: 16px; line-height: 1.55; }
}
@media (max-width: 380px) {
  #flow-story .flow-story-modes { gap: 12px; }
  #flow-story .flow-story-modes button { padding-inline: 0; font-size: 13px; gap: 6px; }
}
