.work-intro{display:grid;grid-template-columns:1fr 1.5fr;gap:clamp(30px,6vw,90px);padding-block:clamp(48px,6vw,90px)}
.work-intro .eyebrow{margin-bottom:22px}.work-intro>p,.chapter-content p{max-width:60ch}
.video-chapter{border-top:1px solid var(--line);background:var(--paper);color:var(--ink);container-type:inline-size}
.chapter-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto 1fr;column-gap:clamp(32px,5vw,72px);align-items:start;position:relative;isolation:isolate;padding-bottom:clamp(36px,4vw,60px)}
/* The band follows the actual heading row, never bisecting introductory copy. */
.chapter-header::before{content:"";position:absolute;z-index:-1;grid-column:1/-1;grid-row:1/2;top:0;bottom:0;left:calc((100% - 100cqw)/2);width:100cqw;background:color-mix(in srgb,var(--paper),var(--ink) 9%);border-bottom:1px solid var(--line)}
.chapter-intro{grid-column:1;grid-row:1;padding-top:clamp(28px,2.5vw,36px);padding-bottom:24px;min-width:0}.chapter-intro .eyebrow{margin:0 0 12px}.chapter-intro h2{font-size:clamp(2rem,3vw,3.3rem);margin:0;line-height:1.08;text-wrap:balance}
.chapter-header>.simple-player,.chapter-header>.player-placeholder{grid-column:2;grid-row:1/3;align-self:start;margin-top:clamp(28px,3vw,42px);box-shadow:0 12px 32px rgb(0 0 0 / .22)}
.chapter-content{grid-column:1;grid-row:2;min-width:0;padding-top:24px}
.chapter-content p{margin:0;max-width:52ch;line-height:1.6}.chapter-content .chapter-lede{font-size:clamp(1.1rem,1.4vw,1.3rem);line-height:1.45;margin-bottom:18px;text-wrap:pretty}
.video-chapter:nth-of-type(3) .chapter-header{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.video-chapter:nth-of-type(3) .chapter-intro,.video-chapter:nth-of-type(3) .chapter-content{grid-column:2}
.video-chapter:nth-of-type(3) .chapter-header>.simple-player,.video-chapter:nth-of-type(3) .chapter-header>.player-placeholder{grid-column:1}
.simple-player{position:relative;min-width:0;background:#111;color:#fff}
.simple-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#111}
.player-controls{position:absolute;inset:0;pointer-events:none}
.player-controls button,.player-controls input{pointer-events:auto}
.player-toggle,.player-expand,.player-close{font:16px/1.2 Arial,sans-serif;color:#fff;background:rgb(0 0 0 / .85);border:1px solid #fff;border-radius:4px;padding:12px 18px;cursor:pointer}
.player-toggle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:0;width:64px;height:64px;padding:0;border-radius:50%;display:block}
.player-toggle::before{content:"";display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:22px;height:26px;border-inline:7px solid currentColor;box-sizing:border-box}
.is-paused .player-toggle::before{width:0;height:0;border:0;border-left:23px solid currentColor;border-top:14px solid transparent;border-bottom:14px solid transparent;margin-left:4px}
.player-expand{position:absolute;right:12px;top:12px;font-size:0;width:44px;height:44px;padding:9px}
.player-expand::before{content:"";display:block;width:24px;height:24px;background:linear-gradient(currentColor,currentColor) left top/8px 2px,linear-gradient(currentColor,currentColor) left top/2px 8px,linear-gradient(currentColor,currentColor) right top/8px 2px,linear-gradient(currentColor,currentColor) right top/2px 8px,linear-gradient(currentColor,currentColor) left bottom/8px 2px,linear-gradient(currentColor,currentColor) left bottom/2px 8px,linear-gradient(currentColor,currentColor) right bottom/8px 2px,linear-gradient(currentColor,currentColor) right bottom/2px 8px;background-repeat:no-repeat}
.simple-player:not(.is-paused):not(:hover):not(:focus-within):not(.touch-controls) .player-toggle,.simple-player:not(:hover):not(:focus-within):not(.touch-controls) .player-expand{opacity:0;pointer-events:none}
.simple-player.play-flash::after{content:'▶';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:26px Arial,sans-serif;color:#fff;background:rgb(0 0 0 / .8);border-radius:50%;padding:16px;pointer-events:none}
.player-progress{position:absolute;bottom:0;left:0;width:100%;display:flex;align-items:center;padding:8px 12px;background:rgb(0 0 0 / .65);font-size:0}
.player-progress input{width:100%;accent-color:#fff}
.player-status{padding:0 12px;font:14px/1.4 Arial,sans-serif}.player-status:not(:empty){padding:12px}.player-status:empty{display:none}
.player-dialog{width:min(96vw,1400px);max-width:none;max-height:95vh;background:#171717;color:#fff;border:1px solid #777;padding:12px}
.player-dialog::backdrop{background:rgb(0 0 0 / .9)}.player-dialog .simple-player video{max-height:calc(90vh - 24px)}
.simple-player.is-expanded .player-expand{opacity:1;pointer-events:auto}
.is-expanded .player-expand::before{background:linear-gradient(45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px)),linear-gradient(-45deg,transparent calc(50% - 1px),currentColor calc(50% - 1px),currentColor calc(50% + 1px),transparent calc(50% + 1px))}
.installation-gallery{padding-block:clamp(48px,7vw,110px)}
#installation-heading{scroll-margin-top:190px}
.installation-gallery>h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1.1;margin:0 0 1em}

.installation-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.installation-photos img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}
.installation-photos a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.installation-photos.is-slider{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-block:12px;mask-image:linear-gradient(to right,transparent,#000 22%,#000 78%,transparent)}
.installation-photos.is-slider::-webkit-scrollbar{display:none}
.installation-photos.is-slider a{display:grid;place-items:center;scroll-snap-align:start;min-width:0}
.installation-photos.is-slider img{height:clamp(220px,26vw,360px);max-height:none;width:100%;object-fit:contain}
.gallery-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:14px}
.gallery-toolbar button,.installation-lightbox button{font:24px/1 Arial,sans-serif;display:grid;place-items:center;width:44px;height:44px;padding:0;color:inherit;background:var(--paper,#171717);border:1px solid currentColor;cursor:pointer;border-radius:50%}
.gallery-toolbar button:disabled{opacity:.3;cursor:default}
.gallery-position{font:14px Arial,sans-serif;min-width:36px;text-align:center}
.installation-lightbox{width:min(96vw,1500px);max-width:96vw;max-height:96vh;padding:56px 64px 16px;background:#171717;color:#eee;border:1px solid #777}
.installation-lightbox[open]{display:grid;grid-template-columns:1fr;place-items:center}
.installation-lightbox::backdrop{background:rgb(0 0 0 / .9)}
.installation-lightbox button{position:absolute;background:#171717;color:#eee;z-index:1}
.gallery-close{right:12px;top:10px}.lightbox-previous{left:10px;top:calc(50% - 22px)}.lightbox-next{right:10px;top:calc(50% - 22px)}
.installation-lightbox figure{margin:0;min-width:0;width:100%}.installation-lightbox figcaption{text-align:center;font:14px Arial,sans-serif;margin-top:12px}
.installation-lightbox img{display:block;width:100%;height:calc(86vh - 90px);object-fit:contain}
@media(max-width:800px){.installation-photos.is-slider{grid-auto-columns:calc((100% - 16px)/2.2)}}
@media(max-width:480px){.installation-photos.is-slider{grid-auto-columns:82%}.installation-lightbox{padding-inline:44px}.installation-lightbox .lightbox-previous{left:0}.installation-lightbox .lightbox-next{right:0}}
@media(max-width:800px){.work-intro{grid-template-columns:1fr;gap:22px}.chapter-header,.video-chapter:nth-of-type(3) .chapter-header{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:0}.chapter-header .chapter-intro,.video-chapter:nth-of-type(3) .chapter-intro{grid-column:1;grid-row:1;padding-block:26px}.chapter-header .chapter-content,.video-chapter:nth-of-type(3) .chapter-content{grid-column:1;grid-row:2;padding-top:22px}.chapter-header>.simple-player,.chapter-header>.player-placeholder,.video-chapter:nth-of-type(3) .chapter-header>.simple-player,.video-chapter:nth-of-type(3) .chapter-header>.player-placeholder{grid-column:1;grid-row:3;margin-top:24px}.installation-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.installation-photos{grid-template-columns:1fr}}
