/* Separate Story page experiment; shared website styles remain unchanged. */
.story-page main {
  background: #f5f5f7;
}

.story-page #people {
  background: #fff;
}

.story-page #people .people-hint {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6e6e73;
}

.story-page #people .people-hint + .steps {
  margin-top: 12px;
}

.story-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.story-page nav a[aria-current="page"] {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.story-path {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 8% 0;
  font-size: 13px;
  color: #6e6e73;
}

.story-path a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
}

.story-feature {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 38px;
  padding-bottom: 76px;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 7%;
}

.story-feature .editorial-person {
  max-width: 440px;
}

.story-feature .editorial-person img {
  aspect-ratio: 4 / 5;
}

.story-copy h1 {
  margin: 0 0 30px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -2.7px;
}

.story-copy h1 em {
  color: #86868b;
}

.story-copy p {
  font-size: 18px;
}

.story-copy .statement {
  font-size: 26px;
}

.story-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.story-actions .button {
  margin: 0;
}

.story-cycle-link,
.story-footer-link {
  font-size: 13px;
  color: #0066cc;
}

.story-cycle-link:hover,
.story-footer-link:hover,
.story-path a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  /* Animate only after an explicit opt-in when reduced motion is requested. */
  .story-page.motion-enabled #people .minute {
    animation: clock 25s linear infinite !important;
  }

  .story-page.motion-enabled #people .demo[data-stage="2"] .minute {
    animation-duration: 80s !important;
  }
}

/* Also pauses an explicitly enabled reduced-motion animation in a hidden tab. */
.story-page.paused #people .minute {
  animation-play-state: paused !important;
}

@media (max-width: 800px) {
  .story-path {
    padding: 22px 7% 0;
  }

  .story-feature {
    padding: 28px 7% 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .story-feature .editorial-person {
    max-width: none;
  }

  .story-feature .editorial-person img {
    max-height: 480px;
    aspect-ratio: 1.3;
    object-position: 50% 40%;
  }

  .story-copy h1 {
    font-size: clamp(36px, 6vw, 48px);
    letter-spacing: -1.8px;
    margin-bottom: 24px;
  }

  .story-copy p {
    font-size: 17px;
  }

  .story-copy .statement {
    font-size: 24px;
    margin-top: 30px;
  }
}
