
.case-page>*{max-width:580px}.case-title{margin-bottom:40px}.case-back{margin-bottom:32px}.case-back a{color:#999;text-decoration:none}.case-back a:hover{color:#8050b5;text-decoration:underline}.case-title h1{font-weight:500}
.case-summary{display:grid;grid-template-columns:1fr;gap:40px;scroll-margin-top:48px}.case-summary h2,.case-section h2{color:#999;margin-bottom:16px}.case-summary h3{margin-bottom:8px;font-weight:500}.case-summary p+p{margin-top:24px}.case-summary a{color:#8050b5;text-decoration:none}.case-summary a:hover{text-decoration:underline}
.case-section{margin-top:48px;scroll-margin-top:48px}.case-section p+p{margin-top:24px}.case-snippets{margin-top:36px}.case-snippets h2{color:#333;font-weight:500}.case-snippets ul{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 40px}.case-snippets li{padding:16px 0;border-top:1px solid #eee}
.case-next{margin-top:36px;padding-top:24px;border-top:1px solid #eee}.case-next p{margin-bottom:8px}.case-next a{text-decoration:none}.case-next a:hover{color:#8050b5;text-decoration:underline;text-decoration-color:currentColor}
@media(max-width:700px){.case-summary{grid-template-columns:1fr;gap:32px}.case-snippets ul{grid-template-columns:1fr}.case-section{margin-top:40px}}

/* The project map sits in the right viewport margin, outside the reading column. */
.project-map-shell{position:fixed;left:auto;right:32px;top:50%;transform:translateY(-50%);width:180px;max-height:calc(100dvh - 64px);overflow:auto;z-index:6;font-size:14px}
.project-map.section-index{position:static;transform:none;display:flex;align-items:stretch;flex-direction:column;gap:4px}
.project-map.section-index button{font:inherit;font-size:13px;line-height:1.5;text-align:left;justify-content:flex-start;display:block;width:100%;height:auto;min-height:30px;color:#999;padding:5px 0;background:none;transition:color .32s}
.project-map.section-index button::before,.project-map.section-index button::after{display:none}
.project-map.section-index button.is-active{color:#111}.project-map.section-index button:hover{color:#8050b5}
.resume-open .project-map-shell,.recap-open .project-map-shell{visibility:hidden}
.case-page>.case-media,.case-page>.recap-section{max-width:780px}

.case-back a.copy-email{color:#000;padding:6px 14px;text-decoration:none}.case-back a.copy-email:hover{color:#000;text-decoration:none}.case-title .case-back{margin-bottom:0}.case-title:has(h1) .case-back{margin-bottom:32px}.case-brand{font-weight:500;margin-bottom:8px}
.case-summary>section{scroll-margin-top:48px}
@media(max-width:1199px){.project-map-shell{position:relative;left:auto;right:auto;top:auto;transform:none;width:100%;max-width:580px;max-height:none;margin-bottom:32px}.project-map.section-index{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px 20px}.project-map.section-index button{width:auto}}

/* One marker glides along the section rail as the reading position changes. */
.project-map.section-index{position:relative;inset:auto;transform:none;padding-left:14px}
.project-map.section-index::before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:#e5e5e5}
.project-map-marker{position:absolute;left:0;top:0;width:2.3px;height:var(--marker-height,30px);background:#222;transform:translateY(var(--marker-y,0px));will-change:transform;transition:transform .6s cubic-bezier(.22,1,.36,1),height .6s cubic-bezier(.22,1,.36,1);pointer-events:none}
@media(max-width:1199px){.project-map.section-index{padding-left:0;padding-bottom:6px}.project-map.section-index::before{top:auto;bottom:0;width:100%;height:1px}.project-map-marker{top:auto;bottom:0;width:var(--marker-width,0px);height:2.3px;transform:translateX(var(--marker-x,0px));transition:transform .6s cubic-bezier(.22,1,.36,1),width .6s cubic-bezier(.22,1,.36,1)}}
@media(prefers-reduced-motion:reduce){.project-map-marker{transition:none}}

@media(min-width:1200px){.project-map.section-index{padding-left:0;padding-right:14px}.project-map.section-index button{text-align:right}.project-map.section-index::before,.project-map-marker{left:auto;right:0}}

/* Size the desktop map to its longest label so section names stay intact. */
.project-map.section-index button{white-space:nowrap}
@media(min-width:1200px){.project-map-shell{width:max-content}}

/* Text-only project navigation. */
.project-map.section-index{padding:0}
.project-map.section-index::before,.project-map-marker,.project-map.section-index button::before,.project-map.section-index button::after{display:none}
.project-map.section-index button{padding-right:0}

.case-page .case-section{margin-top:36px}.case-page .case-summary{gap:36px}.case-page .case-title{margin-bottom:4px}
