.why-story {
  --why-gutter: clamp(16px, 4vw, 64px);
  --why-sticky-top: 64px;
  --why-travel: 0px;
}
.why-story .why-story-panel { width: min(100% - 2 * var(--why-gutter), 1280px); }
.why-story .section-head { margin-bottom: clamp(22px, 4vh, 40px); }
.why-story-window {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
  border-radius: 24px;
}
.why-story-window:focus-visible,
.why-story-skip:focus-visible { outline: 2px solid #e6b350; outline-offset: 3px; }
.why-story .why-rows {
  flex-direction: row;
  align-items: stretch;
  gap: clamp(12px, 1.6vw, 24px);
  margin: 0;
}
.why-story .why-row {
  box-sizing: border-box;
  flex: 0 0 87%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(14px, 2.8vw, 36px);
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background: var(--bg);
  scroll-snap-align: start;
}
.why-story .why-row:last-child { scroll-snap-align: end; }
.why-story .why-row:nth-child(even) .why-media { order: 0; }
.why-story .why-media-inner {
  max-width: min(362px, 44svh);
  border-radius: 18px;
  transform: none;
}
.why-story-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
}
.why-story-position { font-variant-numeric: tabular-nums; white-space: nowrap; }
.why-story-line { height: 2px; border-radius: 2px; background: var(--hairline); }
.why-story-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #e6b350;
  transform-origin: left;
  transform: scaleX(var(--why-progress, .166667));
}
.why-story-skip { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; }
.why-story-skip:hover { color: var(--text); text-decoration: underline; }
#features { scroll-margin-top: 64px; }

.why-story.is-pinned { padding-block: 0; min-height: calc(100svh - var(--why-sticky-top) + var(--why-travel)); }
.why-story.is-pinned .why-story-panel {
  position: sticky;
  top: var(--why-sticky-top);
  min-height: calc(100svh - var(--why-sticky-top));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 24px;
}
.why-story.is-pinned .why-story-window { overflow: hidden; scroll-snap-type: none; }
@supports (overflow: clip) {
  body:has(.why-story.is-pinned) { overflow-x: clip; }
}

@media (max-width: 760px) {
  .why-story .why-row { flex-basis: 92%; grid-template-columns: minmax(0, 1fr); align-content: start; }
  .why-story .why-media-inner { max-width: min(100%, 280px); }
}
