.hero {
  container-type: inline-size;
}
.hero h1 {
  font-size: clamp(56px, 7.6cqw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-grid {
  --tile-height: max(80px, calc((100cqw - 60px) / 6 * 0.486));
  --scene-height: max(384px, 35.96cqw);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows:
    calc(var(--scene-height) - 2 * (var(--tile-height) + var(--gap)))
    repeat(3, var(--tile-height));
  gap: var(--gap);
  isolation: isolate;
}
.scene {
  position: relative;
  overflow: hidden;
  background-color: #d9f1df;
  background-image:
    repeating-linear-gradient(
      30deg,
      transparent 0 53px,
      #a7c4b0 54px,
      transparent 55px
    ),
    repeating-linear-gradient(
      -30deg,
      transparent 0 86px,
      #afc3b4 87px,
      transparent 88px
    );
}
.scene canvas {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-scene {
  grid-area: 1/1/4/-1;
}
.hero-scene::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16.67%;
  height: 24px;
  background: white;
}
.hero-intro {
  grid-area: 1/1/3 / span 2;
  align-self: start;
  z-index: 1;
  background: white;
  margin-right: calc(-1 * var(--gap));
  padding: 0 var(--pad) 24px 0;
  display: grid;
  gap: 24px;
}
.hero-intro p {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 350;
  letter-spacing: 0.01em;
  max-width: 40ch;
  color: #353b37;
  text-wrap: pretty;
}
.cta-pair {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
}
.hero-intro .cta-pair .button {
  flex: 1;
  gap: 8px;
}
.hero-controls {
  z-index: 1;
  grid-area: 2/1/4 / span 2;
  align-self: end;
  justify-self: start;
  margin: 0 0 var(--gap) var(--gap);
  width: min(calc(100% - 24px), 320px);
  display: grid;
  justify-items: start;
  gap: 8px;
}
.stage-switch {
  display: flex;
  background: white;
  gap: 4px;
  padding: 8px 10px;
  align-items: center;
}
.stage-switch button {
  border: 0;
  padding: 4px;
  background: transparent;
}
.pixel {
  width: 24px;
  height: 24px;
  display: block;
  background: #225939;
  position: relative;
  image-rendering: pixelated;
}
.pixel::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 4px solid #9bffa8;
}
.pixel-1 {
  background: conic-gradient(
      #4888c4 25%,
      #b0d7ff 0 50%,
      #4888c4 0 75%,
      #b0d7ff 0
    )
    0 0/12px 12px;
}
.pixel-1::after {
  display: none;
}
.pixel-2 {
  background: repeating-conic-gradient(#88579e 0 25%, #e7b5f6 0 50%) center/12px
    12px;
}
.pixel-2::after {
  inset: 7px;
  border: 0;
  background: #f1cdff;
}
.stage-switch button[aria-pressed="false"] .pixel {
  opacity: 0.42;
}
.stage-switch button[aria-pressed="true"] {
  background: #d8fadb;
}
.stage-switch button[data-stage="1"][aria-pressed="true"] {
  background: #d7eaff;
}
.stage-switch button[data-stage="2"][aria-pressed="true"] {
  background: #eedcf6;
}
.stage-switch button:hover .pixel {
  opacity: 1;
}
.readout {
  background: white;
  padding: 14px;
  width: 100%;
}
.readout strong {
  font-weight: 500;
}
.readout p {
  font-size: 14px;
  line-height: 1.4;
  color: #414642;
  margin-top: 2px;
  max-width: 33ch;
}
.tech-tiles {
  display: contents;
}
.tech-tile {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  background: var(--mist);
  color: #0a0b0a;
  box-shadow: 0 0 0 var(--gap) white;
  font-weight: 620;
  font-size: clamp(22px, 2vw, 34px);
  letter-spacing: -0.055em;
}
.tech-tile {
  --travel: var(--gap);
  --surface: var(--mist);
  --over: var(--mist);
  --base: #799482;
  --side: #a1bca7;
}
.tech-tile .raised-face {
  height: 100%;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  background: inherit;
}
.tech-tile:hover,
.tech-tile:focus-visible {
  z-index: 4;
}
@media (prefers-reduced-motion: reduce) {
  .tech-tile {
    --travel: 0px;
  }
}
.tile-fly {
  --side: #99badf;
  --base: #729bc8;
}
@media (max-width: 800px) {
  .hero-intro .secondary .moving-chevron {
    display: none;
  }
}

.tech-tile:focus-visible {
  z-index: 2;
  outline-offset: -4px;
}
.tile-apify {
  grid-area: 2/6;
  font-weight: 680;
}
.tile-box {
  grid-area: 3/5;
}
.tile-fly {
  grid-area: 3/6;
  background: #d5e9fb;
}
.tile-ollama {
  grid-area: 4/1/5/3;
}
.tile-pinecone {
  grid-area: 4/3/5/5;
  background: #e2f4dc;
  font-family: Georgia, serif;
  font-weight: 500;
}
.tile-typesafe {
  grid-area: 4/5/5/7;
}
.vendor-icon {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}
.tile-box .vendor-icon {
  width: 64px;
  height: 64px;
}
.statement p,
.workflow h2,
.registry-section h2,
.closing h2 {
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.statement p {
  text-indent: calc(25% + 3px);
}
.closing h2 {
  line-height: 1.05;
}
.reading-track[data-held] p {
  position: sticky;
  top: var(--reading-top);
}
.reading-track[data-held]::after {
  content: "";
  display: block;
  height: clamp(140px, 38svh, 360px);
}
@media (prefers-reduced-motion: reduce) {
  .reading-track[data-held] p {
    position: static;
  }
  .reading-track[data-held]::after {
    display: none;
  }
}
.reveal-word {
  white-space: nowrap;
}
.workflow h2,
.registry-section h2 {
  margin: 20px 0 32px;
}
.workflow-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  gap: var(--gap);
  min-height: clamp(480px, 49vw, 770px);
}
.workflow-scene > .scene {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.workflow-switch {
  grid-area: 1/1/2 / span 3;
  background: white;
  display: grid;
  align-self: start;
  padding: 0 var(--gap) var(--gap) 0;
}
.workflow-switch button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5px;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}
.workflow-switch .pixel {
  width: 14px;
  height: 14px;
}
.workflow-switch .pixel::after {
  inset: 3px;
  border-width: 2px;
}
.workflow-switch button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
}
.workflow-switch button[aria-pressed="false"] .pixel {
  opacity: 0.32;
}
.workflow-detail {
  grid-area: 3/9/4/-1;
  background: white;
  margin: 0 var(--gap) var(--gap) 0;
  border: 6px solid transparent;
  border-image: repeating-linear-gradient(
      45deg,
      #cad1cb 0 1px,
      transparent 1px 4px
    )
    6;
  padding: 18px;
}
.workflow-detail h3 {
  margin: 12px 0;
}
.workflow-detail p {
  font-weight: 350;
  margin-bottom: 26px;
}
.workflow-detail .button {
  display: flex;
}
.registry-section .lede {
  margin: -14px 0 28px;
}
.closing {
  text-align: center;
  padding-block: clamp(40px, 5vw, 80px);
}
.closing .overline {
  margin-inline: auto;
}
.closing .cta-pair {
  justify-content: center;
  margin-top: 24px;
}
.closing .metric-list {
  text-align: left;
  margin: clamp(48px, 7vw, 96px) 0 0;
}
@media (min-width: 801px) and (max-width: 999px) {
  .hero-intro {
    grid-column: 1 / span 4;
    display: flex;
    align-items: start;
  }
  .hero-intro p {
    flex: 1;
  }
  .hero-intro .cta-pair {
    flex-direction: column;
    min-width: 160px;
  }
  .workflow-detail {
    grid-column: 7/-1;
  }
}
@media (min-width: 1000px) and (max-width: 1149px) {
  .hero-intro .cta-pair {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero-intro {
    gap: 12px;
  }
  .workflow-detail {
    grid-column: 8/-1;
  }
}
@media (max-width: 800px) {
  .statement p,
  .workflow h2,
  .registry-section h2 {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .statement p {
    text-indent: calc((100% + 10px) / 6);
  }
  .closing h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }
  .hero {
    padding-top: 14px;
  }
  .hero h1 {
    font-size: clamp(34px, 11.1cqw, 56px);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 87.3cqw auto repeat(3, clamp(74px, 23cqw, 145px));
    gap: 10px;
  }
  .hero-intro {
    grid-area: 1/1/2/-1;
    display: grid;
    margin: 0;
    padding: 0 0 14px;
  }
  .hero-intro p {
    max-width: 290px;
  }
  .hero-scene {
    grid-area: 2/1/3/-1;
  }
  .hero-scene::after {
    display: none;
  }
  .hero-controls {
    grid-area: 3/1/4/-1;
    align-self: start;
    width: 100%;
    margin: 0;
    gap: 4px;
  }
  .stage-switch {
    padding: 0 0 4px;
  }
  .readout {
    padding: 0 4px 14px;
  }
  .tech-tile {
    box-shadow: none;
    font-size: clamp(20px, 5vw, 31px);
  }
  .tile-apify {
    grid-area: 4/1;
  }
  .tile-box {
    grid-area: 4/2;
  }
  .tile-fly {
    grid-area: 5/1;
  }
  .tile-ollama {
    grid-area: 5/2;
  }
  .tile-pinecone {
    grid-area: 6/1;
  }
  .tile-typesafe {
    grid-area: 6/2;
  }
  .workflow-scene {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto clamp(230px, 66vw, 465px) auto;
    gap: 0;
  }
  .workflow-scene > .scene {
    position: relative;
    grid-area: 2/1;
  }
  .workflow-switch {
    grid-area: 1/1;
    display: flex;
    padding: 0 0 10px;
  }
  .workflow-switch button {
    flex: 1;
    gap: 4px;
    padding: 9px 7px;
  }
  .workflow-detail {
    grid-area: 3/1;
    margin: 0;
    padding: 16px;
  }
}
@media (max-width: 359px) {
  .hero-intro .cta-pair {
    flex-direction: column;
    gap: 16px;
  }
  .closing .cta-pair {
    flex-direction: column;
  }
}

.hero h1 span {
  display: block;
  text-wrap: balance;
}
.hero-intro p {
  text-wrap: balance;
}
.folds canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.folds-ready i {
  display: none;
}
.folds {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  height: clamp(110px, 23vw, 340px);
  overflow: hidden;
  margin: clamp(26px, 5vw, 72px) auto 0;
  perspective: 1100px;
}
.folds i {
  width: 5.2%;
  height: 55%;
  flex: none;
  transform: rotateZ(calc(-85deg + var(--fold) * 3deg)) rotateY(-42deg)
    skewY(-12deg);
  background: linear-gradient(
    90deg,
    #cfdcc9 0 14%,
    #f2f5ef 14% 82%,
    #131813 82%
  );
  opacity: min(1, calc(0.15 + var(--fold) * 0.065));
}
.closing .folds + .metric-list {
  margin-top: 12px;
}
@media (max-width: 800px) {
  .hero-intro p {
    text-wrap: pretty;
  }
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.stage-switch {
  position: relative;
}
.stage-progress {
  pointer-events: none;
  position: absolute;
  inset: 100% 0 auto;
  height: 2px;
  background: #19ce68;
  transform-origin: left;
  transform: scaleX(0);
}
.stage-switch:has([data-stage="1"][aria-pressed="true"]) .stage-progress {
  background: #63afff;
}
.stage-switch:has([data-stage="2"][aria-pressed="true"]) .stage-progress {
  background: #bc8ce5;
}
.stage-switch [data-stage] {
  position: relative;
}
.machine-tip {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 4px;
  background: var(--mist);
  color: var(--ink);
  font: 12px/1.25 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms;
}
.stage-switch button:first-child .machine-tip {
  left: 0;
  transform: none;
}
.stage-switch button:focus-visible .machine-tip {
  opacity: 1;
}
@media (hover: hover) {
  .stage-switch button:hover .machine-tip {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .machine-tip {
    transition: none;
  }
}
.stage-switch button {
  transition: background-color 0.3s;
}
.stage-switch .pixel,
.workflow-switch .pixel {
  transition: opacity 0.2s;
}
.stage-switch [data-playback] {
  display: grid;
  place-content: center;
  align-self: stretch;
  width: 27px;
  border-left: 1px solid var(--line);
  margin-left: 3px;
  background: white;
}
.stage-switch [data-playback] span {
  width: 8px;
  height: 10px;
  border-inline: 2px solid #384237;
}
.stage-switch [data-playback][aria-pressed="true"] span {
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-left: 7px solid #384237;
  border-right: 0;
}
@media (prefers-reduced-motion: reduce) {
  .stage-progress {
    display: none;
  }
  .stage-switch button,
  .stage-switch .pixel,
  .workflow-switch .pixel {
    transition: none;
  }
}
.scene-machine {
  position: absolute;
  border: 0;
  padding: 0;
  background: transparent;
  touch-action: pan-y;
}
.scene-machine:focus-visible {
  background: #fff4;
}
.scene-tooltip {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -100%);
  padding: 4px 8px;
  background: white;
  color: var(--ink);
  font: 11px/1.4 var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
}
.readout small {
  display: block;
  margin-bottom: 4px;
  font: 10px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.workflow-scene {
  min-height: 744px;
}
.workflow-switch {
  padding: 6px 12px 24px;
  gap: 0;
}
.workflow-switch button {
  height: 36px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.2;
}
.workflow-switch button[aria-pressed="false"] .pixel {
  width: 7px;
  height: 7px;
  background: #d9dfd7;
  opacity: 1;
}
.workflow-switch button[aria-pressed="false"] .pixel::after {
  display: none;
}
.pixel-3 {
  background: #f1b252;
}
.pixel-4 {
  background: #9b71c8;
}
.workflow-detail {
  grid-area: 3/7/4/-1;
  justify-self: end;
  width: calc(100% - 24px);
  max-width: 366px;
  margin: 0 24px 24px 0;
  background: var(--texture), white;
  border: 0;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.workflow-detail > * {
  background: white;
  padding: 12px 14px;
  margin: 0;
}
.workflow-role {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workflow-role strong {
  font-weight: 450;
  font-size: 24px;
  letter-spacing: -0.035em;
}
.role-symbol {
  width: 22px;
  height: 22px;
  background: #a2f7ae;
  border: 5px solid #0b7839;
  box-shadow:
    inset 0 0 0 3px #a2f7ae,
    inset 0 0 0 6px #0b7839;
}
.workflow-scene:has([data-stage="1"][aria-pressed="true"]) .role-symbol {
  filter: hue-rotate(160deg);
}
.workflow-scene:has([data-stage="2"][aria-pressed="true"]) .role-symbol {
  filter: hue-rotate(100deg);
}
.workflow-scene:has([data-stage="3"][aria-pressed="true"]) .role-symbol {
  filter: hue-rotate(280deg);
}
.workflow-scene:has([data-stage="4"][aria-pressed="true"]) .role-symbol {
  filter: hue-rotate(140deg);
}
.workflow-detail p {
  margin: 0;
}
.workflow-example small {
  display: block;
  text-transform: uppercase;
  font: 11px/1.3 var(--mono);
  color: var(--muted);
  margin-bottom: 8px;
}
.workflow-example h3 {
  font-size: 23px;
  letter-spacing: -0.025em;
  margin: 0;
}
.workflow-caption {
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 0;
  margin-bottom: -8px;
  z-index: 1;
}
.workflow-detail [data-detail] {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.workflow-detail .raised-link {
  padding: 0;
}
.workflow-detail .raised-face {
  min-height: 36px;
}
@media (max-width: 800px) {
  .workflow-scene {
    min-height: 0;
    grid-template-rows: auto auto auto;
  }
  .workflow-switch {
    padding: 0 0 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }
  .workflow-switch button {
    font-size: 13px;
    padding: 6px 2px;
    justify-content: center;
  }
  .workflow-switch .pixel {
    display: none;
  }
  .workflow-scene > .scene {
    aspect-ratio: 161/121;
  }
  .workflow-detail {
    grid-area: 3/1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}
.run-stories {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px var(--gap);
}
.run-stories > h2,
.stories-lede,
.story-panels {
  grid-column: 4/-1;
}
.run-stories > h2,
.run-library > h2 {
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.run-stories > h2 {
  background: repeating-linear-gradient(
    transparent 0 calc(1.1em - 1px),
    var(--line) calc(1.1em - 1px) 1.1em
  );
  padding-bottom: 2px;
}
.stories-lede {
  grid-row: 2;
  max-width: 43ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.stories-rail {
  grid-column: 1 / span 2;
  grid-row: 2 / span 2;
}
.stories-rail > .overline {
  width: 100%;
}
.stories-rail nav {
  display: grid;
}
.stories-rail nav a {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.stories-rail nav a[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--ink);
}
.stories-rail nav a::after {
  content: "▸";
  float: right;
}
.stories-rail nav a[aria-selected="true"]::after {
  content: "▪";
}
.story-panel {
  --story-color: #21e77a;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr);
  gap: var(--pad);
  min-height: clamp(380px, 34vw, 565px);
}
.story-panel + .story-panel {
  margin-top: 12px;
}
.story-panel[role="tabpanel"] {
  margin-top: 0;
}
.story-repair {
  --story-color: #ddaee9;
}
.story-handoff {
  --story-color: #a8ccf9;
}
.story-specimen,
.story-body {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vw, 32px);
}
.story-specimen,
.story-byline {
  background: var(--mist);
}
.story-specimen h3 {
  font-size: 24px;
}
.specimen-mark {
  margin-block: auto;
  padding: 30px 0;
  text-align: center;
  font-size: clamp(46px, 6.3vw, 102px);
  line-height: 1;
  letter-spacing: -0.075em;
}
.story-repair .specimen-mark {
  font-family: var(--mono);
  font-size: clamp(34px, 4.2vw, 70px);
}
.story-specimen p,
.library-entry p {
  color: var(--muted);
  line-height: 1.45;
}
.story-result {
  display: flex;
  flex-direction: column;
}
.story-body {
  flex: 1;
  gap: 18px;
  background: var(--story-color);
}
.story-byline {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.story-body h3 {
  font-size: clamp(27px, 2.8vw, 45px);
  line-height: 1.05;
}
.story-body p {
  max-width: 32ch;
  font-size: clamp(17px, 1.7vw, 25px);
  line-height: 1.3;
}
.story-body dl {
  margin: auto 0 0;
  display: flex;
  gap: 20px;
  border-top: 1px solid #0003;
  padding-top: 14px;
}
.story-body dl div {
  display: flex;
  flex-direction: column-reverse;
}
.story-body dd {
  font-size: clamp(25px, 3.3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.story-body .story-date {
  font-size: clamp(18px, 1.9vw, 30px);
}
.story-body dt,
.library-entry small {
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
}
.run-library > h2 {
  margin: 20px 0 32px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.library-entry {
  text-decoration: none;
  display: block;
}
.library-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--texture), var(--mist);
  margin-bottom: 16px;
}
.library-art strong {
  display: inline-block;
  padding: 7px 15px;
  background: #b4f2b6;
  font-size: clamp(22px, 2.9vw, 46px);
  font-weight: 500;
  letter-spacing: -0.055em;
  box-shadow: -6px 6px 0 #253929;
  transition: transform 0.4s cubic-bezier(0.75, 0, 0.1, 0.99);
}
.library-art-2 strong {
  background: #eac4f2;
  box-shadow: -6px 6px 0 #4b304c;
}
.library-art-3 strong {
  background: #c7e1ff;
  box-shadow: -6px 6px 0 #243b51;
}
.library-entry:hover strong,
.library-entry:focus-visible strong {
  transform: translate(4px, -4px);
}
.library-entry h3 {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  margin: 7px 0 10px;
}
@media (max-width: 800px) {
  .run-stories {
    display: block;
  }
  .run-stories > h2,
  .run-library > h2 {
    font-size: 32px;
  }
  .stories-lede {
    margin: 20px 0;
  }
  .stories-rail {
    margin-bottom: 16px;
  }
  .stories-rail nav {
    display: flex;
    gap: 12px;
  }
  .stories-rail a {
    flex: 1;
  }
  .story-panel {
    min-height: 0;
    gap: 10px;
  }
  .library-grid {
    gap: 16px;
  }
}
@media (max-width: 570px) {
  .story-panel,
  .library-grid {
    grid-template-columns: 1fr;
  }
  .story-specimen {
    min-height: 185px;
  }
  .story-body {
    min-height: 220px;
  }
  .library-grid {
    gap: 32px;
  }
  .library-art strong {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .library-entry .library-art strong {
    transition: none;
    transform: none;
  }
}
