/* Origin story: a first-person note on why Feather Terminal exists. */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 44px;
  align-items: start;
}

.story-prose p {
  margin: 0 0 17px;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.75;
}
.story-prose p:last-child {
  margin-bottom: 0;
}
.story-prose strong {
  color: var(--text);
  font-weight: 600;
}
.story-prose .story-lead {
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.62;
}

/* The one line the whole section exists to land. */
.story-prose .story-pull {
  margin: 28px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--accent-line);
  color: var(--text);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.story-prose .story-sign {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.story-prose .story-sign::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 1px;
  background: var(--accent-line);
}

.story-aside {
  /* figure carries a default 40px side margin in every browser. */
  margin: 0;
  display: grid;
  gap: 11px;
  padding: 22px;
  border-radius: 16px;
}
.story-strip {
  display: grid;
  gap: 8px;
}
/* mini-row is nowrap by default; let the path shrink instead of overflowing. */
.story-strip .mini-row code {
  flex: 1 1 auto;
  min-width: 0;
}
.story-arrow {
  margin: 1px 0;
  color: #6c8d81;
  font-size: 13px;
  line-height: 1;
  text-align: center;
}
.story-aside figcaption {
  margin-top: 3px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .story-prose p {
    max-width: none;
  }
}
@media (max-width: 460px) {
  .story-strip .mini-row code {
    display: none;
  }
}
