/* Continuous source-led project stories. Plans and images share the same canvas. */
.editorial-case{--cs-gap:clamp(20px,2.6vw,44px);--cs-section:clamp(64px,7vw,112px)}
html:has(.editorial-case){scroll-padding-top:var(--header-height)}
.cs-case{padding-top:var(--header-height)}
.cs-opening{padding:24px var(--gutter) 0}
.cs-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:13px;color:var(--muted)}
.cs-back .icon{width:18px;height:18px}
.cs-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin:24px 0 36px}
.cs-title-row h1{font-size:clamp(42px,5.4vw,86px);line-height:1.04;letter-spacing:-.04em;max-width:21ch;text-wrap:balance}
.cs-title-row>p{font-size:14px;line-height:1.65;color:var(--muted);padding-bottom:4px;flex:0 0 230px}
.cs-figure{min-width:0;margin:0;align-self:start}
.cs-image{position:relative;display:block;width:100%;padding:0;overflow:hidden;background:transparent;text-align:left}
.cs-image>img{width:100%;height:auto;transition:transform .6s var(--ease)}
.cs-image:hover>img{transform:scale(1.012)}
.cs-enlarge{display:grid;place-items:center;position:absolute;right:14px;bottom:14px;width:42px;height:42px;border-radius:50%;background:var(--paper);color:var(--ink);opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s}
.cs-image:hover .cs-enlarge,.cs-image:focus-visible .cs-enlarge{opacity:1;transform:none}
.cs-figure figcaption{font-size:13px;line-height:1.5;margin-top:12px}
.cs-figure figcaption small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:var(--muted)}
.cs-hero .cs-image{height:clamp(380px,57vw,780px);max-height:76svh;background:var(--image-surface)}
.cs-hero img{height:100%;object-fit:cover}
.cs-hero:has(img[alt*="Stool"]) img{object-fit:contain}
.cs-hero figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.cs-hero figcaption small{margin:0}
.cs-chapters{position:sticky;top:var(--header-height);z-index:5;background:var(--paper);border-block:1px solid var(--line);margin-top:32px;padding:0 var(--gutter);display:flex;gap:28px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) var(--paper);overscroll-behavior-x:contain}
.cs-chapters a{font-size:13px;min-height:58px;display:flex;align-items:center;white-space:nowrap;border-bottom:2px solid transparent;color:var(--muted)}
.cs-chapters a:hover,.cs-chapters a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.cs-brief,.cs-story-section{padding:var(--cs-section) var(--gutter);scroll-margin-top:60px}
.cs-brief{padding-bottom:clamp(56px,5vw,80px)}
.cs-brief>h2{font-size:clamp(30px,3.8vw,58px);line-height:1.15;max-width:31ch;letter-spacing:-.035em;text-wrap:balance}
.cs-facts{display:grid;grid-template-columns:1.1fr 1fr 1.3fr 1fr;gap:var(--cs-gap);border-block:1px solid var(--line);padding:26px 0;margin:40px 0 44px}
.cs-facts dt{font-size:12px;color:var(--muted);margin-bottom:10px}
.cs-facts dd{margin:0;font-size:14px;line-height:1.7}
.cs-brief-story{display:grid;grid-template-columns:1fr 2fr;gap:var(--cs-gap)}
.cs-brief-story h3{font-size:23px;line-height:1.3;letter-spacing:-.025em;max-width:15ch}
.cs-brief-story>div{max-width:75ch}
.cs-brief-story p,.cs-story-copy p{font-size:16px;line-height:1.8;margin:0 0 18px;max-width:75ch}
.cs-brief-story p:last-child,.cs-story-copy p:last-child{margin-bottom:0}
.cs-drawing-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:30px}
.cs-story-section{border-top:1px solid var(--line)}
.cs-story-heading{margin-bottom:32px}
.cs-story-heading h2{font-size:clamp(34px,4.1vw,64px);line-height:1.08;letter-spacing:-.035em;max-width:25ch;text-wrap:balance}
.cs-story-copy{margin:0 0 32px;max-width:75ch}
.cs-composition{position:relative}
.cs-composition+.cs-composition{margin-top:56px}
.cs-composition-title{font-size:20px;line-height:1.5;letter-spacing:-.02em;margin-bottom:22px;color:var(--ink)}
.cs-composition-row{display:grid;grid-template-columns:var(--composition-columns);gap:var(--cs-gap);align-items:start;margin-top:28px}
.cs-composition-row:first-child{margin-top:0}
.cs-kind-d .cs-image{padding:clamp(14px,2vw,26px);background:white}
.cs-kind-d img{height:clamp(260px,30vw,460px);object-fit:contain;transform:none}
.cs-kind-d .cs-enlarge{opacity:1;transform:none;background:var(--accent);color:var(--accent-ink)}
.cs-small-detail .cs-image{max-width:440px;margin-inline:auto}.cs-small-detail img{height:240px}.cs-single-row>.cs-small-detail{width:min(100%,440px)}
.cs-kind-m img{height:clamp(120px,13vw,200px);object-fit:contain;transform:none}
.cs-kind-m figcaption{font-size:12px}
.cs-kind-m figcaption small{font-size:10px}
.cs-kind-r img,.cs-kind-e img,.cs-kind-s img{height:clamp(200px,26vw,380px);object-fit:contain}
.cs-single-row>.cs-kind-v .cs-image,.cs-single-row>.cs-kind-b .cs-image{max-height:720px}
.cs-single-row>.cs-kind-v img,.cs-single-row>.cs-kind-b img{max-height:720px;object-fit:contain}
.cs-single-row>.cs-kind-d img{height:auto;max-height:640px}.cs-single-row>.cs-small-detail img{height:auto;max-height:240px}
.cs-single-row>.cs-kind-m,.cs-single-row>.cs-kind-r,.cs-single-row>.cs-kind-s,.cs-single-row>.cs-kind-e{width:min(100%,720px);margin-inline:auto}
.cs-anchor{display:block;position:relative;scroll-margin-top:80px}
.cs-schedule{margin-top:32px;border-top:1px solid var(--line)}
.cs-schedule summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:60px;padding:16px 0;font-size:16px;cursor:pointer}
.cs-schedule summary::-webkit-details-marker{display:none}
.cs-schedule summary .icon{width:20px;height:20px;transition:transform .2s}
.cs-schedule[open] summary .icon{transform:rotate(45deg)}
.cs-schedule dl{display:grid;grid-template-columns:1fr 1fr;gap:26px 48px;margin:12px 0 30px}
.cs-schedule dl>div{display:grid;grid-template-columns:1fr 2fr;gap:20px;break-inside:avoid}
.cs-schedule dt{font-size:13px;color:var(--muted)}
.cs-schedule dd{margin:0;font-size:14px;line-height:1.7}
.cs-closing{padding:52px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line)}
.cs-closing p{font-size:24px;letter-spacing:-.025em}
.cs-next{padding:80px var(--gutter);border-top:1px solid var(--line)}
.cs-next>a{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.cs-next p{font-size:13px;color:var(--muted);margin-bottom:20px}
.cs-next h2{font-size:clamp(35px,4vw,64px);line-height:1.1;letter-spacing:-.035em;text-wrap:balance}
.cs-next span{display:inline-flex;align-items:center;gap:24px;font-size:14px;margin-top:30px;min-height:44px}
.cs-next img{width:100%;aspect-ratio:1.6;object-fit:cover}
.editorial-case .lightbox :focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(hover:none){.cs-enlarge{opacity:1;transform:none}}
@media(max-width:1100px){.cs-facts{grid-template-columns:1fr 1fr;gap:28px}.cs-title-row>p{flex-basis:190px}.cs-sample-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){
 .cs-opening{padding-top:16px}.cs-title-row{display:block;margin:20px 0 26px}.cs-title-row h1{font-size:clamp(38px,9vw,58px);max-width:22ch}.cs-title-row>p{font-size:13px;margin-top:20px}.cs-hero .cs-image{height:auto;max-height:none}.cs-hero img{height:auto;object-fit:contain}
 .cs-hero figcaption{display:block}.cs-hero figcaption small{margin-top:4px}.cs-figure figcaption{font-size:12px}.cs-figure figcaption small{font-size:11px}.cs-chapters{gap:24px;margin-top:24px}.cs-chapters a{min-height:52px;font-size:12px}.cs-enlarge{width:36px;height:36px;right:12px;bottom:12px}
 .cs-brief,.cs-story-section{scroll-margin-top:54px}.cs-brief>h2{font-size:32px;max-width:24ch}.cs-facts{padding:24px 0;margin:30px 0 36px;gap:26px 22px}.cs-facts dd{font-size:13px}.cs-facts dt{font-size:11px;margin-bottom:7px}.cs-brief-story{grid-template-columns:1fr;gap:20px}.cs-brief-story h3{font-size:22px;max-width:none}.cs-brief-story p,.cs-story-copy p{font-size:16px;line-height:1.75}
 .cs-story-heading{margin-bottom:24px}.cs-story-heading h2{font-size:36px;max-width:20ch}.cs-story-copy{margin-bottom:28px}.cs-composition+.cs-composition{margin-top:40px}.cs-composition-title{font-size:18px;margin-bottom:20px}.cs-composition-row{grid-template-columns:1fr;gap:28px;margin-top:28px}.cs-sample-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.cs-kind-d img{height:auto;max-height:540px}.cs-kind-m img{height:135px}.cs-kind-r img,.cs-kind-e img,.cs-kind-s img{height:auto;max-height:420px}.cs-sample-row .cs-figure figcaption small{font-size:10px}.cs-schedule dl{grid-template-columns:1fr;gap:24px}.cs-schedule dd{font-size:13px}
 .cs-closing{display:block;padding-block:44px}.cs-closing p{font-size:22px;margin-bottom:20px}.cs-next{padding-block:56px}.cs-next>a{grid-template-columns:1fr;gap:28px}.cs-next h2{font-size:38px}.cs-next span{margin-top:18px}.editorial-case .lightbox-stage{grid-template-columns:44px minmax(0,1fr) 44px}.editorial-case .lightbox-stage .icon-button{min-width:44px}
}
@media(prefers-reduced-motion:reduce){.cs-image>img,.cs-enlarge,.cs-schedule summary .icon{transition:none}.cs-image:hover>img{transform:none}}
@media print{.cs-chapters{display:none}.cs-composition-row{break-inside:avoid}.cs-story-section{padding-block:32px}}
