.story-container {
  width: min(100% - 3rem, 760px);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.story-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1.75rem;
  color: var(--teal);
  font-size: 1rem;
}

.story-container h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.story-deck {
  margin: 1.5rem 0 0;
  color: #c2cbc8;
  font-size: 1.2rem;
  line-height: 1.6;
}

.story-byline {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.story-byline a,
.story-conversation a,
.story-learning-link a,
.story-next a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.story-draft-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid #60726e;
  background: var(--surface);
  color: #c2cbc8;
  line-height: 1.6;
}

.story-draft-note p {
  margin: 0;
}

.story-draft-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--paper);
  font-weight: 500;
}

.story-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6rem, 18vw, 9rem);
  align-items: center;
  gap: 1.25rem;
}

.story-art-figure {
  width: 100%;
  margin: 0;
}

.story-art-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.story-body section {
  margin-top: 2.5rem;
}

.story-body h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.story-body p {
  color: #c2cbc8;
  font-size: 1.1rem;
  line-height: 1.75;
}

.story-conversation,
.story-learning-link {
  margin: 2rem 0 0;
}

.story-ending-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(5.5rem, 14vw, 7rem);
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.story-ending-row .story-conversation {
  margin: 0;
}

.story-ending-row .story-art-figure {
  width: clamp(3rem, 16vw, 6rem);
  min-width: 0;
  max-width: 100%;
  justify-self: end;
}

.story-conversation a,
.story-learning-link a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
}

.story-next {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.story-next h2 {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.story-next a {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .story-container {
    width: calc(100% - 2rem);
  }

  .story-back {
    margin-bottom: 1rem;
  }

  .story-title-row {
    grid-template-columns: minmax(0, 1fr) 5.5rem;
    gap: 0.75rem;
  }

  .story-ending-row {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
  }

  .story-ending-row .story-art-figure {
    width: clamp(3rem, 16vw, 4rem);
  }
}

.story-chapter-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(5.5rem, 14vw, 7rem);
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.story-chapter-title-row h2 {
  margin: 0;
}

@media (max-width: 560px) {
  .story-chapter-title-row {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
  }
}
