.kb-article-shell:has(.kb-story) { max-width: 1320px; padding: 0 24px 64px; margin: 28px auto 0; }
.kb-story { --story-ink: #153128; --story-muted: #445b50; --story-edge: #dbe7df; color: var(--story-ink); }
.kb-story-hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(22px,4vw,60px); padding: clamp(25px,4vw,56px); background: #ecf2ec; border: 1px solid #dce8df; border-radius: 4px; }
.kb-story-kicker, .kb-story-date { color: #35664b; font-size: .82rem; font-weight: 650; }
.kb-story-kicker { margin: 0 0 15px; }
.kb-story-hero h1 { max-width: 13ch; margin: 0; font-size: clamp(2.45rem,5.15vw,5.25rem); line-height: 1.01; letter-spacing: -.054em; text-wrap: balance; }
.kb-story-summary { line-height: 1.66; font-size: clamp(.98rem,1.5vw,1.18rem); margin: 22px 0 18px; color: var(--story-muted); }
.kb-story-portraits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px,1.6vw,18px); align-items: stretch; }
.kb-story-portraits figure { display: flex; min-width: 0; flex-direction: column; margin: 0; border: 1px solid #d6e1d8; border-radius: 4px; background: #fff; overflow: hidden; }
.kb-story-portraits img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.kb-story-portraits figcaption { display: grid; gap: 5px; padding: clamp(10px,1.25vw,17px); font-size: clamp(.86rem,1.2vw,1.02rem); overflow-wrap: anywhere; }
.kb-story-portraits figcaption span { color: var(--story-muted); font-size: .8rem; line-height: 1.35; }
.kb-story-grid { display: grid; grid-template-columns: 210px minmax(0,780px); justify-content: center; gap: clamp(22px,5vw,72px); margin-top: clamp(30px,5vw,68px); }
.kb-story-nav { display: grid; align-self: start; position: sticky; top: 30px; gap: 6px; padding: 12px 0 12px 15px; border-left: 2px solid #d2e6d8; }
.kb-story-nav strong { margin-bottom: 6px; font-size: .84rem; }
.kb-story-nav a { color: var(--story-muted); font-size: .88rem; line-height: 1.45; padding: 4px 0; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kb-story-section { scroll-margin: 24px; margin-bottom: 42px; }
.kb-story-section h2 { margin: 0 0 15px; font-size: clamp(1.5rem,3vw,2.48rem); font-weight: 740; line-height: 1.15; letter-spacing: -.032em; }
.kb-story-section p { font-size: clamp(1rem,1.45vw,1.12rem); line-height: 1.7; color: var(--story-muted); }
.kb-story-product { margin: 24px 0 28px; border: 1px solid var(--story-edge); border-radius: 4px; background: #f9fbf8; overflow: hidden; }
.kb-story-product img { display: block; width: 100%; height: auto; }
.kb-story-product figcaption { padding: 10px 15px; border-top: 1px solid var(--story-edge); color: var(--story-muted); line-height: 1.45; font-size: .84rem; }
.kb-story-bio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.kb-story-bio article { border: 1px solid var(--story-edge); padding: 16px; border-radius: 4px; background: #f6f9f6; }
.kb-story-bio h3 { margin: 0 0 8px; font-size: 1rem; }
.kb-story-bio p { font-size: .92rem; margin: 0; }
.kb-story-actions { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--story-edge); }
.kb-story-actions a { color: #28704f; font-weight: 650; }
.kb-story-actions .kb-story-demo { display: inline-flex; gap: 14px; padding: 11px 16px; color: #fff; background: #1e6946; border-radius: 4px; text-decoration: none; }
.kb-story-demo:hover { background: #174d35; }
@media (max-width: 850px) {
  .kb-story-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .kb-story-nav { position: static; }
}
@media (max-width: 690px) {
  .kb-article-shell:has(.kb-story) { padding: 0 14px 44px; margin-top: 16px; }
  .kb-story-hero { grid-template-columns: minmax(0,1fr); padding: 20px 16px; }
  .kb-story-hero h1 { max-width: none; }
  .kb-story-summary { margin-top: 15px; }
  .kb-story-bio { grid-template-columns: minmax(0,1fr); }
}
