/* Monochrome editorial photography complements the quiet dark theme. */
.stories-hero { padding: 76px 0 52px; }
.stories-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 3.5vw, 44px); font-weight: 500; }
.stories-hero > p { color: var(--text-secondary); font-size: 16px; }
.stories-section { padding-bottom: 40px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 64px; }
.story-card { min-width: 0; position: relative; }
.story-card:not(:nth-child(3n))::after { content: ''; position: absolute; width: 1px; background: var(--border-subtle); top: 0; bottom: 0; right: -24px; }
.story-link { display: flex; flex-direction: column; height: 100%; }
.story-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: var(--surface-raised); filter: grayscale(1) brightness(.82); transition: filter .25s ease; }
.story-link:focus-visible .story-photo { filter: grayscale(0) brightness(1); }
@media (hover: hover) {
  .story-link:hover .story-photo { filter: grayscale(0) brightness(1); }
}
.story-link h2 { font-size: 20px; font-weight: 500; line-height: 1.6; margin: 22px 0 10px; }
.story-excerpt { color: var(--text-secondary); font-size: 15px; line-height: 1.85; }
.story-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-tertiary); font-size: 12px; padding-top: 26px; margin-top: auto; }
.story-meta span { color: var(--text-tertiary); }
.stories-section > .examples-note { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.story-hero { max-width: 900px; padding-bottom: 52px; }
.story-hero .eyebrow { margin-top: 40px; }
.story-hero h1 { font-size: clamp(32px, 4vw, 50px); }
.story-hero .detail-lead { max-width: 780px; }
.story-feature { padding-bottom: 72px; }
.story-feature .story-photo { max-height: 500px; aspect-ratio: 2.25; filter: none; }
.story-next { padding: 50px 0 64px; border-top: 1px solid var(--border-subtle); display: flex; align-items: flex-start; flex-direction: column; gap: 22px; }
.story-next > a:not(.detail-link) { font-size: 24px; line-height: 1.7; }
.story-next > a:hover { color: var(--text-secondary); }
.detail-columns article > .detail-link { margin-top: 22px; }
.report-sample h3 { margin-top: 20px; }
.report-sample .faq-list { margin-top: 24px; }
.report-sample .workflow-note { margin-top: 24px; }
.automation-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 52px; }
.automation-stage { padding: 32px 0 0; border-top: 1px solid var(--border-subtle); }
.automation-stage h3 { font-size: 24px; margin: 16px 0 20px; }
.automation-stage > p { color: var(--text-secondary); font-size: 16px; line-height: 1.95; }
.pricing-grid { gap: 40px; }
.pricing-grid article { display: flex; flex-direction: column; }
.pricing-grid .price-label { color: var(--text-primary); font-size: 23px; line-height: 1.6; margin: 8px 0 24px; font-weight: 500; }
.pricing-grid .quiet-list { flex: 1; margin-top: 24px; }
.pricing-grid .pricing-basis { font-size: 13px; color: var(--text-tertiary); padding-top: 24px; margin-top: 16px; border-top: 1px solid var(--border-subtle); }
@media (max-width: 1000px) {
  .story-grid { column-gap: 32px; row-gap: 48px; }
  .story-card:not(:nth-child(3n))::after { right: -16px; }
  .story-link h2 { font-size: 18px; }
  .story-link h2 br { display: none; }
  .automation-comparison { gap: 36px; }
  .pricing-grid { gap: 28px; }
}
@media (max-width: 800px) {
  .stories-hero { padding: 58px 0 38px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card:not(:nth-child(3n))::after { display: none; }
  .story-card:nth-child(odd)::after { display: block; content: ''; position: absolute; width: 1px; background: var(--border-subtle); top: 0; bottom: 0; right: -16px; }
  .story-feature { padding-bottom: 52px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stories-hero { padding: 48px 0 32px; }
  .stories-hero h1 { font-size: 30px; }
  .stories-hero > p { font-size: 15px; }
  .story-grid { grid-template-columns: 1fr; row-gap: 42px; }
  .story-card:nth-child(odd)::after { display: none; }
  .story-link h2 { font-size: 20px; margin-top: 20px; }
  .story-meta { padding-top: 18px; }
  .story-hero .eyebrow { margin-top: 32px; }
  .story-feature { padding-bottom: 40px; }
  .story-feature .story-photo { aspect-ratio: 16 / 9; }
  .story-next { padding: 36px 0 44px; }
  .story-next > a:not(.detail-link) { font-size: 21px; }
  .automation-comparison { grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
  .automation-stage h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-photo { transition: none; }
}
