/* Work presentations extend the existing neutral design tokens. */
.work-story .case-hero{max-width:100%;padding-block:24px 32px}
.work-story .case-hero h1{max-width:1040px;font-size:clamp(32px,3.6vw,52px);line-height:1.12;margin-block:16px 20px;overflow-wrap:normal}
.work-story .case-hero .lead{max-width:860px;margin-bottom:24px}
.work-kicker{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--ui-muted-foreground)}
.work-kicker .badge{color:var(--ui-foreground)}
.work-story .case-layout{grid-template-columns:240px minmax(0,1fr);gap:48px;margin-block:40px}
.work-story .case-meta{border:0;border-top:1px solid var(--ui-border);padding:24px 0;background:none}
.work-story .case-meta dl{margin-bottom:0}
.work-story .case-meta dd{overflow-wrap:anywhere}
.work-story .case-sections{display:block;min-width:0}
.story-section{padding-block:28px;border-top:1px solid var(--ui-border);max-width:100%}
.story-section:first-child{padding-top:0;border-top:0}
.story-section h2{font-size:clamp(23px,2.2vw,30px);line-height:1.25;max-width:780px}
.story-section p{max-width:780px;font-size:16px;line-height:1.8;margin-block:16px 0}
.story-section p:first-of-type{margin-top:0}
.story-media{margin:0 0 32px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-xl);overflow:hidden;background:var(--ui-muted)}
.story-media>a{display:block;background:white;cursor:zoom-in}
.story-media img{display:block;width:100%;height:auto;max-height:760px;object-fit:contain;object-position:top;background:white}
.story-media figcaption{padding:16px 20px;font-size:12px;line-height:1.65;color:var(--ui-muted-foreground);border-top:1px solid var(--ui-border)}
.story-media--mobile img{max-height:640px;width:auto;max-width:100%;margin-inline:auto}
.story-cover{margin-block:8px 48px}
.story-cover img{max-height:720px}
.story-flow{padding:24px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-xl);background:var(--ui-muted);margin-block:24px 36px}
.story-flow>p{margin:0 0 20px;font-size:12px;color:var(--ui-muted-foreground)}
.story-flow ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0;counter-reset:steps}
.story-flow li{counter-increment:steps;min-width:0}
.story-flow li::before{content:counter(steps,decimal-leading-zero);display:block;font-family:var(--ui-font-mono);font-size:12px;color:var(--ui-muted-foreground);margin-bottom:12px}
.story-flow strong{display:block;font-size:16px;font-weight:500;line-height:1.4}
.story-flow span{display:block;font-size:13px;line-height:1.7;color:var(--ui-muted-foreground);margin-top:6px}
.story-result{background:var(--ui-muted);padding:28px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-xl);margin-top:24px}
.story-result p{margin-bottom:0;line-height:1.8;max-width:780px}
.story-result h2{font-size:26px;margin-bottom:16px}
.industry-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.industry-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);font-size:13px;line-height:1.4;text-decoration:none}
.industry-links a:hover{background:var(--ui-muted);text-decoration:underline}
.story-examples{padding-block:28px}
.story-examples h2{font-size:22px}
.story-examples ul{list-style:none;margin:16px 0 0;padding:0;display:flex;gap:8px 24px;flex-wrap:wrap}
.story-examples a{display:inline-flex;min-height:44px;align-items:center;font-size:14px;text-underline-offset:4px}
.story-note{font-size:12px;line-height:1.7;color:var(--ui-muted-foreground);margin-block:16px 24px;max-width:780px}
.work-filters:has(#work-industry){grid-template-columns:1fr 1fr 1.5fr auto}
.work-filter-context{font-size:13px;color:var(--ui-muted-foreground);margin-top:12px}
@media(max-width:1000px){.work-story .case-layout{gap:28px;grid-template-columns:200px minmax(0,1fr)}.work-filters:has(#work-industry){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.work-story .case-layout{grid-template-columns:1fr;gap:24px;margin-block:24px}.work-story .case-meta{display:block}.work-story .case-meta .client-logo{float:left;margin:0 20px 20px 0}.work-story .case-meta dl{margin:0;display:flow-root}.work-story .case-meta dl>dt:first-child{margin-top:0}.work-story .case-meta .industry-links{clear:both}.work-story .case-hero{padding-top:12px}.work-story .case-hero h1{font-size:34px}.story-section{padding-block:24px}.story-media{border-radius:var(--ui-radius-lg);margin-bottom:24px}.story-flow{padding:20px}.story-result{padding:24px}.story-media figcaption{padding:12px 16px}.story-media img{max-height:none}.story-media--mobile img{max-height:620px}.work-story .case-meta dd{font-size:14px}}
@media(max-width:420px){.story-flow ol{grid-template-columns:1fr;gap:24px}.work-filters:has(#work-industry){grid-template-columns:1fr}.work-story .case-hero h1{font-size:30px}.work-story .lead{font-size:17px}}
