/* Small project drawings and readable editorial details within the shared layout. */
.story-case{--story-accent:#705768}
.verdant-case.story-case{--story-accent:#4d634a}
.vinyl-case.story-case{--story-accent:#7b6242}
[data-theme="dark"] .story-case{--story-accent:#c9aec0}
[data-theme="dark"] .verdant-case.story-case{--story-accent:#b4c5aa}
[data-theme="dark"] .vinyl-case.story-case{--story-accent:#d4bfa3}
.story-icon{display:block;flex-shrink:0;width:64px;height:64px;color:var(--story-accent);overflow:visible;transition:transform .3s ease}
.case-kicker{display:flex;align-items:center;gap:20px}
.story-case .eyebrow{font-size:12px;letter-spacing:1.1px}
.story-case .case-summary{max-width:680px}
.story-case .case-story p{font-size:17px;line-height:1.75}
.story-case .case-facts dd{font-size:15px}
.story-case .story-audiences{gap:28px;margin:36px 0 42px}
.story-case .story-audiences>.audience-card{border-top:1px solid var(--line);padding-top:25px}
.audience-card>.story-icon{width:72px;height:72px;margin:0 0 24px}
.audience-card:hover>.story-icon{transform:rotate(-5deg) translateY(-3px)}
.story-case .story-audiences .persona-label{font-size:15px;letter-spacing:0;color:var(--story-accent);line-height:1.5}
.story-case .story-audiences h3{font-size:24px;line-height:1.2;margin:12px 0 15px}
.story-case .story-audiences p{font-size:16px;line-height:1.7;margin:0}
.story-persona{display:flex;align-items:center;gap:28px;border-block:1px solid var(--line);padding:26px 0;margin:30px 0 40px}
.story-persona>.story-icon{width:86px;height:86px}
.story-case .story-persona h3{margin:0 0 8px;font-size:26px}
.story-case .story-persona p{margin:0;font-size:16px}
.story-case .story-flow{gap:16px}
.story-case .story-flow li{display:block;padding:0;min-width:0;background:var(--surface-soft)}
.story-flow a{display:flex;flex-direction:column;gap:10px;height:100%;padding:22px 18px;border-radius:10px;color:var(--ink);text-decoration:none}
.story-flow .story-icon{width:40px;height:40px;margin-bottom:10px}
.story-case .story-flow b{font-size:19px;line-height:1.3}
.story-case .story-flow span{font-size:15px;line-height:1.5;margin:0}
.story-flow a:hover .story-icon,.story-flow a:focus-visible .story-icon{transform:translate(3px,-3px) rotate(-6deg)}
.story-case .story-flow a:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.story-case .case-story [id^="step-"]{scroll-margin-top:48px}
.story-case .case-story article:target h3{color:var(--story-accent)}
.story-case .wander-step .story-icon{width:46px;height:46px;margin-bottom:20px}
.story-case .vinyl-step-head{grid-template-columns:minmax(0,1fr)}
.vinyl-step-head>.story-icon{width:48px;height:48px}
.story-case figcaption,.story-case .verdant-caption,.story-case .wander-caption,.story-case .vinyl-caption{font-size:14px;line-height:1.65}
.story-case .vinyl-source-link,.story-case .back-link{font-size:14px}
.story-notes{margin:30px 0;border-block:1px solid var(--line);padding:18px 0;color:var(--muted)}
.story-notes summary{font-size:15px;cursor:pointer;color:var(--ink);line-height:1.6}
.story-notes ul{padding-left:22px;font-size:15px;line-height:1.7;max-width:64ch}
.story-notes li+li{margin-top:8px}
.story-notes summary:focus-visible{outline:2px solid var(--focus);outline-offset:5px}
.story-case .story-source-note{font-size:14px;line-height:1.65}
@media(prefers-reduced-motion:no-preference){
  .story-seen .story-icon path,.story-seen .story-icon circle{stroke-dasharray:1;animation:story-draw .85s cubic-bezier(.2,.7,.3,1) both}
  .story-seen .story-icon path:nth-child(2),.story-seen .story-icon circle:nth-child(2){animation-delay:.12s}
  .story-seen .story-icon path:nth-child(3),.story-seen .story-icon circle:nth-child(3){animation-delay:.22s}
  @keyframes story-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
}
@media(max-width:1000px){
  .story-case .story-audiences{gap:30px}
  .audience-card>.story-icon{width:64px;height:64px;margin-bottom:18px}
  .story-flow a{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:18px;align-items:center}
  .story-flow .story-icon{grid-row:1/3;margin:0}
  .story-flow b,.story-flow span{grid-column:2}
}
@media(max-width:700px){
  .case-kicker{gap:15px}
  .case-kicker .story-icon{width:48px;height:48px}
  .story-case .case-story p{font-size:16px;line-height:1.75}
  .story-persona{gap:20px;align-items:flex-start}
  .story-persona>.story-icon{width:62px;height:62px}
  .story-case .story-persona h3{font-size:25px}
  .story-case .vinyl-flow{grid-template-columns:1fr}
  .story-case .case-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .story-case .case-facts dd{font-size:14px}
  .story-case .vinyl-step-head{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .story-icon{transition:none!important;animation:none!important}
  .story-icon path,.story-icon circle{animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important}
  .story-case .story-icon{transform:none!important}
  html:focus-within{scroll-behavior:auto}
}

/* Keep screenshots within their export detail instead of stretching to page width. */
.story-case .case-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.verdant-case .case-art{max-width:960px;margin-inline:auto}
.vinyl-case .vinyl-hero{max-width:960px;margin-inline:auto}
.vinyl-case .vinyl-art,.vinyl-case #process .vp-art{max-width:900px;margin-inline:auto}
.story-case .case-story p{max-width:64ch}
.story-case .wander-hero .wander-screen{max-width:240px}
.story-case .wander-step>.wander-screen{max-width:240px;justify-self:center}
.story-case .wander-caption,.story-case .wander-mode-caption{color:var(--muted)}

@media(max-width:700px){.story-case .case-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.story-case .wander-step>.wander-screen{width:240px}}

/* Consistent project emblems, drawn with generous internal space. */
.case-kicker .project-emblem{box-sizing:border-box;width:72px;height:72px;padding:9px;border-radius:50%;background:color-mix(in srgb,var(--story-accent) 7%,transparent);flex:0 0 auto}
.case-kicker{gap:18px}
.case-kicker .eyebrow{line-height:1.6}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.case-kicker:hover .project-emblem{transform:translateY(-2px);background:color-mix(in srgb,var(--story-accent) 11%,transparent)}}
@media(max-width:700px){.case-kicker .project-emblem{width:58px;height:58px;padding:7px}.case-kicker{gap:14px}}
