/* Workshop branch only: a vertical, manually scrolled wall of artwork. */
/* The line rises and rotates as before, with a slower fade across its words. */
.js-scroll-reveal .workshop-word-reveal [data-scroll-reveal].is-revealed { animation-duration:1100ms; }
.workshop-reveal-word { display:inline-block; }
.js-scroll-reveal .workshop-word-reveal .workshop-reveal-word { opacity:0; }
.js-scroll-reveal .workshop-word-reveal .is-revealed .workshop-reveal-word { animation:workshop-word-fade 850ms ease calc(var(--reveal-delay,0ms) + var(--word-delay,0ms)) both; }
@keyframes workshop-word-fade { from { opacity:0; } to { opacity:1; } }
html:has(.workshop-cinematic-intro) { overflow-anchor:none; }
.workshop-cinematic-intro { --workshop-type-width:min(80vw,1200px); }
.workshop-cinematic-intro > .content-wrapper { padding-top:0!important; }
.workshop-type-track { position:relative;overflow:visible; }
.workshop-type-panel { position:sticky;top:var(--workshop-type-header);display:flex;align-items:center;justify-content:center; }
.workshop-type-panel .experimental-intro-block { width:var(--workshop-type-width);height:auto;flex:none; }
.workshop-cinematic-intro .fluid-engine > .workshop-type-divider { grid-column:1/-1;width:var(--workshop-type-width);justify-self:center; }
.js-scroll-reveal .workshop-type-divider hr { clip-path:inset(0 var(--divider-remaining,100%) 0 0); }
.workshop-type-cue { position:absolute;bottom:20px;left:calc(50% - 24px);display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;background:none;color:#38383b;cursor:pointer; }
.workshop-type-cue[hidden] { display:none; }
.workshop-type-cue svg { width:24px;height:15px;fill:none;stroke:currentColor;stroke-width:2.25; }
.workshop-type-cue:focus-visible { outline:2px solid currentColor;outline-offset:4px; }
.js-scroll-reveal .workshop-word-reveal :is(.workshop-scroll-line,.workshop-lower-line) .workshop-reveal-word { opacity:var(--word-opacity,0);animation:none; }
.js-scroll-reveal .workshop-word-reveal .workshop-first-line.is-revealed { animation:portfolio-text-rise 1100ms cubic-bezier(.2,.7,.2,1) both; }
.js-scroll-reveal .workshop-word-reveal .workshop-first-line.is-revealed .workshop-reveal-word { animation:workshop-word-fade 850ms ease var(--word-delay,0ms) both; }
.js-scroll-reveal .workshop-word-reveal .has-scrolled .workshop-first-line.is-revealed,
.js-scroll-reveal .workshop-word-reveal .has-scrolled .workshop-first-line.is-revealed .workshop-reveal-word { animation:none; }
.workshop-scroll-line { display:inline-block; }
.workshop-lower-line { display:inline-block; }
@media(max-width:767px) { .workshop-cinematic-intro { --workshop-type-width:88vw; } }
@media(prefers-reduced-motion:reduce) { .workshop-word-reveal .workshop-reveal-word { opacity:1!important;animation:none!important; } }
@media(prefers-reduced-motion:reduce) { .workshop-type-panel { position:relative;top:0; }.workshop-scroll-line,.workshop-lower-line { opacity:1!important;transform:none!important;animation:none!important; } }
@media(prefers-reduced-motion:reduce) { .workshop-type-divider hr { clip-path:none!important; } }
.workshop-board { position:relative;isolation:isolate;scroll-margin-top:var(--header-height,88px);background:var(--workshop-gray,#f2f2f2) linear-gradient(to bottom,#fff,var(--workshop-gray,#f2f2f2)) top/100% clamp(180px,22vw,320px) no-repeat;padding:clamp(70px,8vw,120px) 0 60px;overflow:hidden;overflow:clip; }
.workshop-board-inner { width:min(82vw,1160px);margin:0 auto; }
.workshop-cluster { position:relative;isolation:isolate;height:min(82vw,1050px); }
.workshop-artwork { position:absolute;margin:0;width:48%;padding:8px;background:#fff;box-sizing:border-box;box-shadow:0 3px 5px #24242410,0 12px 25px #24242414;transform:rotate(var(--art-angle));translate:0 var(--art-rise,0px);transform-origin:center;transition:box-shadow 180ms ease; }
.workshop-artwork--1 { top:0;left:1%;z-index:1; }
.workshop-artwork--2 { top:8%;right:0;z-index:2;width:49%; }
.workshop-artwork--3 { top:40%;left:26%;z-index:3;width:47%; }
.workshop-artwork :is(img,video) { display:block;width:100%;height:auto;max-width:100%;object-fit:contain; }
.workshop-artwork a { display:block;color:inherit;text-decoration:none; }
.workshop-artwork:is([data-artwork-id="4"],[data-artwork-id="5"]) a { aspect-ratio:1366/768;overflow:hidden; }
.workshop-artwork:is([data-artwork-id="4"],[data-artwork-id="5"]) :is(img,video) { height:100%;object-fit:cover;object-position:center; }
.workshop-artwork:hover,.workshop-artwork:focus-within { z-index:10;box-shadow:0 4px 8px #24242415,0 20px 36px #24242424; }
.workshop-artwork :is(a,button):focus-visible { outline:2px solid #38383b;outline-offset:5px; }
.workshop-artwork .migration-gallery-video { aspect-ratio:auto;background:#fff; }
.workshop-artwork .migration-gallery-video img { height:auto;object-fit:contain; }
.workshop-cluster--wide { height:min(54vw,700px); }
.workshop-cluster--wide .workshop-artwork--1 { top:0;left:0;width:65%; }
.workshop-cluster--wide .workshop-artwork--2 { top:25%;right:0;width:62%; }
.workshop-cluster--motion { height:min(62vw,800px); }
.workshop-cluster--motion .workshop-artwork--1 { width:54%; }
.workshop-cluster--motion .workshop-artwork--2 { top:10%;width:53%; }
.workshop-cluster--motion .workshop-artwork--3 { top:41%;left:17%;width:56%; }
.workshop-cluster--final { height:min(64vw,820px); }
.workshop-cluster--final .workshop-artwork--1 { width:55%; }
.workshop-cluster--final .workshop-artwork--2 { width:53%;top:25%; }
/* Keep each series together and scale its cards and spacing to 85%. */
.workshop-series .workshop-cluster { width:85%;margin-inline:auto; }
/* Bridge each trio into the next so a series reads as one continuous collage. */
.workshop-series .workshop-cluster + .workshop-cluster { margin-top:max(-11vw,-142px); }
.workshop-series .workshop-cluster--identities { height:min(69.7vw,892.5px); }
.workshop-series .workshop-cluster--motion { height:min(52.7vw,680px); }
.workshop-series .workshop-cluster--final { height:min(54.4vw,697px); }
@media(max-width:767px) {
 .workshop-board { padding-top:55px;padding-bottom:25px; }
 .workshop-board-inner { width:88vw; }
 .workshop-cluster { height:211vw; }
 .workshop-artwork { padding:5px; }
 .workshop-cluster .workshop-artwork--1 { left:0;top:0;width:75%; }
 .workshop-cluster .workshop-artwork--2 { right:0;top:29%;width:75%; }
 .workshop-cluster .workshop-artwork--3 { left:5%;top:56%;width:77%; }
 .workshop-cluster--wide { height:127vw; }
 .workshop-cluster--wide .workshop-artwork--1 { width:93%; }
 .workshop-cluster--wide .workshop-artwork--2 { top:37%;width:90%; }
 .workshop-cluster--motion { height:151vw; }
 .workshop-cluster--motion .workshop-artwork--1 { width:83%; }
 .workshop-cluster--motion .workshop-artwork--2 { top:28%;width:82%; }
 .workshop-cluster--motion .workshop-artwork--3 { top:56%;width:83%; }
 .workshop-cluster--final { height:169vw; }
 .workshop-cluster--final .workshop-artwork--1 { width:83%; }
 .workshop-cluster--final .workshop-artwork--2 { top:43%;width:80%; }
 .workshop-series .workshop-cluster + .workshop-cluster { margin-top:-26vw; }
 .workshop-series .workshop-cluster--identities { height:179.35vw; }
 .workshop-series .workshop-cluster--motion { height:128.35vw; }
 .workshop-series .workshop-cluster--final { height:143.65vw; }
}
@media(prefers-reduced-motion:reduce) { .workshop-artwork { transition:none;translate:none; } }

/* Carry the collage across category boundaries, without blank section breaks. */
.workshop-series { display:flow-root; }
.workshop-cluster--posters + .workshop-series { margin-top:max(-18vw,-232px); }
.workshop-series--gif-studies + .workshop-series--identities { margin-top:max(-11vw,-142px); }
.workshop-series--identities + .workshop-cluster--wide { margin-top:max(-15vw,-192px); }
.workshop-cluster--wide + .workshop-cluster--mixed-media { margin-top:max(-17vw,-218px); }
@media(max-width:767px) {
 .workshop-cluster--posters + .workshop-series { margin-top:-40vw; }
 .workshop-series--gif-studies + .workshop-series--identities { margin-top:-26vw; }
 .workshop-series--identities + .workshop-cluster--wide { margin-top:-42vw; }
 .workshop-cluster--wide + .workshop-cluster--mixed-media { margin-top:-45vw; }
}

/* A mouse-only label follows pointer movement; it never blocks artwork clicks. */
.workshop-cursor { position:fixed;left:0;top:0;z-index:10001;display:flex;align-items:center;gap:7px;width:max-content;max-width:calc(100vw - 16px);pointer-events:none;opacity:0;visibility:hidden; }
.workshop-cursor.is-visible { opacity:1;visibility:visible; }
.workshop-cursor-icon { font:28px/1.2 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.workshop-cursor-label { padding:8px 12px;background:#fff;color:#38383b;border:1px solid #38383b1f;border-radius:999px;box-shadow:0 3px 14px #24242418;font:500 14px/1.3 "sofia-pro",sans-serif;white-space:nowrap; }
.workshop-youtube { position:relative;width:100%;aspect-ratio:1;min-height:0;background:#fff;overflow:hidden; }
.workshop-youtube .migration-gallery-video { position:absolute;inset:0;width:100%;height:100%; }
.workshop-youtube .migration-gallery-video img { width:100%;height:100%;object-fit:cover; }
.workshop-youtube-player,.workshop-youtube iframe { position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none; }
.workshop-youtube iframe { opacity:0; }
.workshop-youtube.is-playing iframe { opacity:1; }

/* Related artwork keeps its natural proportions in a transparent masonry lightbox. */
.workshop-gallery-trigger { display:block;width:100%;padding:0;border:0;background:#fff;color:inherit;cursor:pointer; }
.workshop-gallery { box-sizing:border-box;width:min(1400px,94vw);max-width:94vw;max-height:calc(100svh - 112px);padding:0;border:0;background:transparent;color:#fff;box-shadow:none;overscroll-behavior:contain; }
.workshop-gallery:focus { outline:none; }
.workshop-gallery-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.workshop-gallery-grid:is(.is-single,.is-stack) { grid-template-columns:minmax(0,1fr); }
.workshop-gallery-column { display:flex;flex-direction:column;gap:18px;min-width:0; }
.workshop-gallery-cell { width:100%;margin:0;padding:0;background:#fff;box-sizing:border-box; }
.workshop-gallery-cell img { display:block;width:100%;height:auto;background:#fff; }
body:has(.workshop-board) .migration-lightbox img { background:#fff; }
/* Hide the one-pixel gray export edge on Electric Mystic’s top/right sides. */
.workshop-artwork[data-artwork-id="20"] img,
.migration-lightbox img[src*="9f098199cacb-electric_mystic_portfolio_cover-03"] { clip-path:inset(.4% .4% 0 0);background:#000; }
@media(max-width:767px) {
 .workshop-gallery-grid { display:flex;flex-direction:column;gap:12px; }
 .workshop-gallery-column { display:contents; }
}

/* All four YouTube experiments share square cards in one overlapping group. */
.workshop-cluster--mixed-media { height:min(100vw,1280px); }
.workshop-cluster--mixed-media .workshop-artwork--1 { width:54%;left:0;top:0; }
.workshop-cluster--mixed-media .workshop-artwork--2 { width:53%;right:0;top:12%; }
.workshop-cluster--mixed-media .workshop-artwork--3 { width:54%;left:2%;top:43%; }
.workshop-cluster--mixed-media .workshop-artwork--4 { width:53%;right:0;top:55%;z-index:4; }
/* Crop the portrait player to its central artwork; the sound lightbox stays full-frame. */
.workshop-youtube--portrait iframe { height:177.7778%;top:-38.8889%; }
@media(max-width:767px) {
 .workshop-cluster--mixed-media { height:260vw; }
 .workshop-cluster--mixed-media .workshop-artwork--1 { width:83%;left:0;top:0; }
 .workshop-cluster--mixed-media .workshop-artwork--2 { width:82%;right:0;top:22%; }
 .workshop-cluster--mixed-media .workshop-artwork--3 { width:83%;left:0;top:44%; }
 .workshop-cluster--mixed-media .workshop-artwork--4 { width:82%;right:0;top:66%; }
}

/* Match the studies' visual footprint on desktop while preserving artwork ratios. */
@media(min-width:768px) {
 .workshop-cluster--posters { height:min(55vw,704px); }
 .workshop-cluster--posters .workshop-artwork--1 { width:34%;left:10%; }
 .workshop-cluster--posters .workshop-artwork--2 { width:35%;right:10%;top:12%; }
 .workshop-cluster--posters .workshop-artwork--3 { width:37%;left:28%;top:36%; }
 .workshop-series .workshop-cluster--identities { height:min(58vw,742px); }
 .workshop-cluster--identities .workshop-artwork--1 { width:40.5%;left:4%; }
 .workshop-cluster--identities .workshop-artwork--2 { width:40%;right:4%; }
 .workshop-cluster--identities .workshop-artwork--3 { width:40.5%;left:29%; }
 .workshop-series .workshop-cluster--final { height:min(40vw,512px); }
 .workshop-cluster--final .workshop-artwork--1 { width:40.5%;left:4%; }
 .workshop-cluster--final .workshop-artwork--2 { width:46%;right:4%; }
 .workshop-cluster--wide { height:min(36vw,461px); }
 .workshop-cluster--wide .workshop-artwork--1 { width:49%;left:10%; }
 .workshop-cluster--wide .workshop-artwork--2 { width:49%;right:4%;top:35%; }
 .workshop-cluster--mixed-media { height:min(74vw,947px); }
 .workshop-cluster--mixed-media .workshop-artwork--1 { width:35%;left:16%; }
 .workshop-cluster--mixed-media .workshop-artwork--2 { width:34%;right:26%; }
 .workshop-cluster--mixed-media .workshop-artwork--3 { width:35%;left:20%; }
 .workshop-cluster--mixed-media .workshop-artwork--4 { width:34%;right:16%; }
 .workshop-cluster--posters + .workshop-series { margin-top:max(-14vw,-179px); }
 .workshop-series--identities + .workshop-cluster--wide { margin-top:max(-8vw,-102px); }
 .workshop-cluster--wide + .workshop-cluster--mixed-media { margin-top:max(-5vw,-64px); }
}
