.work-stories {
  margin: 0 0 72px;
  color: var(--navy);
}
.stories-heading { text-align: center; max-width: 840px; margin: 0 auto 36px; }
.stories-heading .eyebrow { font-size: .875rem; letter-spacing: .15em; margin-bottom: 20px; }
.stories-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 0 0 20px;
}
.stories-heading > p:last-child { font-size: 1.125rem; line-height: 1.8; color: #52647b; margin: 0; }
.case-story {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.case-story-body { padding: clamp(24px, 3vw, 40px); min-width: 0; }
.case-example-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  background: #e6edf6;
  color: #3f597d;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.case-story-body > h3 { font-size: clamp(1.375rem, 2.15vw, 1.875rem); line-height: 1.4; font-weight: 600; letter-spacing: -.025em; margin: 0 0 10px; }
.case-story-subtitle { font-size: 1.0625rem; line-height: 1.7; color: #52647b; margin: 0 0 24px; }
.case-steps { list-style: none; padding: 0; margin: 0; }
.case-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 20px; padding: 20px 0; }
.case-steps li + li { border-top: 1px solid var(--line); }
.case-steps li:last-child { padding-bottom: 0; }
.case-step-number { font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: #52647b; }
.case-steps h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; margin: 0 0 6px; }
.case-steps p { font-size: 1rem; line-height: 1.75; color: #52647b; margin: 0; }
.case-goal { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; color: #fff; background: var(--navy); }
.case-goal .eyebrow { color: #c4d5eb; font-size: .875rem; letter-spacing: .15em; margin-bottom: 24px; }
.case-goal h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.35; letter-spacing: -.03em; font-weight: 600; margin: 0 0 22px; }
.case-goal-copy { font-size: 1.125rem; line-height: 1.75; color: #dbe5f2; margin: 0; }
.case-conversation { margin-top: 36px; border-color: #fff; max-width: 100%; }
.case-preview-note { margin: 14px 0 0; font-size: .875rem; line-height: 1.75; color: #52647b; }
@media (max-width: 850px) {
  .case-story { grid-template-columns: minmax(0, 1fr); }
  .case-goal { padding: 30px; }
  .case-goal h3 { font-size: 1.75rem; }
  .case-conversation { margin-top: 24px; }
}
@media (max-width: 600px) {
  .work-stories { margin-bottom: 44px; }
  .stories-heading { margin-bottom: 26px; text-align: left; }
  .stories-heading .eyebrow { letter-spacing: .08em; }
  .stories-heading > p:last-child { font-size: 1rem; }
  .case-story-body, .case-goal { padding: 24px 20px; }
  .case-steps li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .case-step-number { font-size: 1.0625rem; }
  .case-goal-copy { font-size: 1rem; }
  .case-conversation { width: 100%; }
}

/* Kafelki wyboru ogólnego przebiegu współpracy. */
.scenario-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.scenario-tile { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; min-width: 0; border: 1px solid #cbd6e3; border-radius: 8px; background: #fff; color: #182b48; text-decoration: none; }
.scenario-tile-number { font-size: .8125rem; color: #52647b; }
.scenario-tile strong { font-size: 1rem; line-height: 1.5; font-weight: 600; }
.scenario-tile-description { color: #52647b; font-size: .875rem; line-height: 1.7; }
.scenario-tile-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; font-size: .875rem; line-height: 1.6; font-weight: 600; }
.scenario-tile:hover { border-color: #526f97; background: #edf2f7; }
.scenario-tile[aria-current="true"] { background: #182b48; border-color: #182b48; color: #fff; }
.scenario-tile[aria-current="true"] .scenario-tile-number, .scenario-tile[aria-current="true"] .scenario-tile-description { color: #dbe5f2; }
.scenario-tile:focus-visible { outline: 3px solid #526f97; outline-offset: 4px; }
.work-stories .case-preview-note { margin: 0 0 22px; }
.work-stories .case-story { scroll-margin-top: 110px; }
.work-stories .case-story + .case-story { margin-top: 24px; }
.work-stories.scenarios-ready .case-story { margin-top: 0; }
.work-stories [hidden] { display: none !important; }
.case-story-body > h3:focus-visible { outline: 2px solid #526f97; outline-offset: 6px; border-radius: 2px; }
@media (max-width: 1000px) { .scenario-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .scenario-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scenario-tile { padding: 16px 14px; gap: 9px; }
  .scenario-tile:last-child { grid-column: 1 / -1; }
  .scenario-tile-description { display: none; }
}
@media (max-width: 360px) {
  .scenario-tiles { grid-template-columns: minmax(0, 1fr); }
}
