.about-story {
  background: #f5f8ff;
}

.timeline-shell {
  margin-top: 36px;
  padding: 28px 34px 38px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 0 100%, rgb(116 62 143 / 75%), transparent 42%),
    linear-gradient(112deg, #3b4793 0%, #1c5ba1 58%, #00aadb 100%);
  box-shadow: 0 20px 45px rgb(28 91 161 / 15%);
}

.timeline-intro { margin: 0 0 24px; font-weight: 700; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 26px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.timeline li:not(:nth-child(4n)):not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -21px;
  top: 52px;
  color: rgb(255 255 255 / 80%);
  font-size: 1.35rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 47px 1fr;
  align-content: start;
  gap: 6px 10px;
  width: 100%;
  min-height: 158px;
  padding: 19px 16px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 18px;
  background: rgb(255 255 255 / 8%);
  color: #fff;
  text-align: left;
  font: inherit;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.timeline-item:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 19%);
  transform: translateY(-3px);
}
.timeline-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline time { display: block; margin: 0; color: #fff; font-size: 1.8rem; line-height: 1; font-weight: 800; }
.timeline-item span { grid-column: 2; font-size: .87rem; line-height: 1.32; }
.timeline-hint { display: none; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline li::after { display: none; }
}

@media (max-width: 640px) {
  .timeline-shell { width: 100%; border-radius: 0; padding: 24px 20px 30px; }
  .timeline { display: flex; gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 4px 0 15px; }
  .timeline li { flex: 0 0 min(75vw, 270px); scroll-snap-align: start; }
  .timeline-item { min-height: 175px; }
  .timeline-hint { display: block; margin: 4px 0 0; font-size: .78rem; color: rgb(255 255 255 / 85%); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-item { transition: none; }
}
