/* A focused screening room, scoped to Motion & Animation and its private editor. */
#content:has(.motion-view),#content:has(.motion-loading){height:calc(100% - 74px);min-height:0;padding:0}.motion-view{height:100%;overflow:auto;overscroll-behavior:contain;padding:28px 5px 12px;scrollbar-color:#6b7567 #1b211e}.motion-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end;margin:0 0 26px}.motion-eyebrow{display:block;font:10px/1.5 Arial,sans-serif;letter-spacing:1.8px;color:#f3a07c;margin:0 0 11px;text-transform:uppercase}.motion-heading h2{font:500 clamp(30px,3.5vw,56px)/1.06 Arial,sans-serif;letter-spacing:-2px;margin:0;color:#f4f0e5}.motion-subtitle{margin:12px 0 0!important}.motion-heading-side{display:flex;flex-direction:column;gap:12px;align-items:start}.motion-heading-side p{font:14px/1.6 Arial,sans-serif!important;color:#b8c1b4!important;margin:0!important;max-width:400px!important}.motion-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid #52634e;border-radius:7px;color:#eeeade;background:#2a3827;text-decoration:none;font:13px/1.3 Arial,sans-serif;cursor:pointer}.motion-button:hover{background:#3c4a34;border-color:#eea781}.motion-button[hidden]{display:none}.motion-feature{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(190px,1fr);border:1px solid #616f5144;border-radius:12px;overflow:hidden;background:#111714}.motion-feature-media{min-width:0;background:#0d1210}.motion-feature-info{display:flex;flex-direction:column;justify-content:center;padding:28px}.motion-feature-info h3{font:500 clamp(24px,2.4vw,36px)/1.1 Arial,sans-serif;letter-spacing:-1px;margin:0 0 14px;color:#f2eee4}.motion-feature-info p{font:14px/1.7 Arial,sans-serif!important;color:#b6c1ae!important;margin:0 0 20px!important}.motion-feature-info .motion-button{align-self:start}.motion-video,.motion-image,.motion-frame{display:block;width:100%;border:0;aspect-ratio:16/9;object-fit:contain;background:#101512}.motion-frame{min-height:200px}.document-frame{aspect-ratio:4/5;min-height:450px;background:#eee}.motion-media-links{padding:10px 12px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #ffffff16}.motion-media-links .motion-button{min-height:38px;padding:6px 10px;font-size:12px}.motion-media-error{font:12px/1.5 Arial,sans-serif;color:#ffc4ab}.motion-art{aspect-ratio:16/9;position:relative;overflow:hidden;background:#d4ff45;color:#1c281e;isolation:isolate;display:flex;align-items:center;justify-content:center}.motion-art-word{font:800 clamp(30px,5vw,80px)/.88 Arial,sans-serif;letter-spacing:-4px;z-index:2;transform:rotate(-7deg)}.motion-art small{position:absolute;bottom:15px;left:18px;z-index:3;font:8px Arial,sans-serif;letter-spacing:1.2px;color:inherit}.motion-art-orbit{position:absolute;width:55%;aspect-ratio:1;border:34px solid #273c2a;border-radius:50%;right:-17%;top:-15%;animation:motion-orbit 12s ease-in-out infinite alternate}.motion-art-orbit.second{width:33%;border:22px solid #f4f1df;left:-10%;top:50%;animation-delay:-4s}.motion-art-character{background:#b5a0e6;color:#291c42}.motion-art-character .motion-art-word{font-size:clamp(25px,2.7vw,46px);letter-spacing:-2px;transform:rotate(0)}.motion-art-character .motion-art-orbit{border-radius:20%;border-color:#dfc9fc;transform:rotate(45deg)}.motion-art-type{background:#f09268;color:#32231e}.motion-art-type .motion-art-orbit{border-color:#ae421e}.motion-art-process{background:#d5d7c8;color:#28372b}.motion-art-process .motion-art-word{font:700 clamp(25px,2.7vw,46px)/.9 Arial,sans-serif;letter-spacing:-2px}.motion-art-process .motion-art-orbit{border-width:1px;box-shadow:0 0 0 12px #2a3e3422,0 0 0 24px #2a3e3411}.motion-art-process .second{border-width:2px}.motion-section-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #9ca98a44;margin:28px 0 20px;padding-bottom:13px}.motion-section-title h3{font:500 19px Arial,sans-serif;letter-spacing:-.4px;margin:0}.motion-section-title>span{font:9px monospace;letter-spacing:1.4px;color:#9daa93}.motion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.motion-project{min-width:0}.motion-project-open{width:100%;display:block;position:relative;background:#121c15;border:1px solid #9ca98a22;border-radius:9px;overflow:hidden;padding:0;text-align:left;cursor:pointer;aspect-ratio:16/10}.motion-project-open>.motion-art{height:100%;aspect-ratio:auto}.motion-project-open>img{width:100%;height:100%;object-fit:cover;display:block}.motion-project-open .motion-art-word{font-size:clamp(24px,2.8vw,48px);letter-spacing:-2px}.motion-project-open .motion-art small{font-size:6px;left:10px;bottom:11px;letter-spacing:.7px}.motion-project-open .motion-art-orbit{border-width:18px}.motion-play{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;background:#142116d9;border:1px solid #f1eddd77;color:#fff;border-radius:50%;font:16px Arial,sans-serif;transition:background .2s,transform .2s}.motion-project-open:hover .motion-play{background:#a54c2c;transform:scale(1.08)}.motion-project-info{padding:15px 2px}.motion-project-info .motion-eyebrow{font-size:8px;color:#adb99e;margin-bottom:8px}.motion-title-button{display:flex;align-items:center;justify-content:space-between;width:100%;font:500 20px/1.2 Arial,sans-serif;letter-spacing:-.5px;border:0;padding:0;background:none;color:#f2eddf;text-align:left;cursor:pointer}.motion-title-button span{color:#b8c5a8}.motion-project-info p{font:13px/1.6 Arial,sans-serif!important;color:#b4bfaa!important;margin:10px 0 0!important}.motion-text-block{grid-column:1/-1;padding:22px;border-top:1px solid #a7b69933}.motion-text-block h3{font:500 27px Arial,sans-serif;margin:0 0 12px}.motion-text-block p{white-space:pre-line;font:16px/1.7 Arial,sans-serif!important}.motion-end{display:flex;justify-content:space-between;padding:24px 0 7px;margin-top:15px;border-top:1px solid #a4b39544;font:8px Arial,sans-serif;letter-spacing:1.4px;color:#98a78a}.motion-audio{padding:24px;min-height:220px;display:flex;flex-direction:column;justify-content:center;gap:25px;background:#18251c}.motion-audio>img{max-height:260px;object-fit:contain}.motion-audio audio{width:100%;color-scheme:dark}.motion-wave{text-align:center;font:30px monospace;letter-spacing:3px;color:#e9a580}.motion-doc{min-height:220px;padding:30px;display:flex;flex-direction:column;gap:14px;align-items:start;background:#d7dacb;color:#1d3025}.motion-doc>span{font:44px Arial,sans-serif}.motion-doc>strong{font:16px Arial,sans-serif}.motion-doc p{color:#283e2c!important;font:14px Arial,sans-serif!important}.motion-link-cover{display:block;position:relative}.motion-link-cover>span{position:absolute;bottom:14px;right:14px;padding:10px;background:#17291c;color:#f7f4e4;border-radius:6px;font:14px Arial,sans-serif}.motion-loading{display:grid;place-content:center;height:100%;font:16px Arial,sans-serif}.motion-dialog{position:fixed;margin:auto;padding:0;background:#1a231c;border:1px solid #7b8b6b;border-radius:12px;color:#f5efdf;width:min(1000px,94vw);max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #0009}.motion-dialog::backdrop{background:#080d0bcf;backdrop-filter:blur(12px)}.motion-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#1a231cf5;border-bottom:1px solid #6a7c5544;font:10px Arial,sans-serif;letter-spacing:1.5px}.motion-dialog-header button{border:1px solid #81916966;border-radius:6px;background:#34412c;color:#f2eedf;min-height:44px;padding:0 16px;font:14px Arial,sans-serif;cursor:pointer}.motion-dialog-body{padding:25px}.motion-dialog-body h2{font:500 clamp(26px,4vw,42px)/1.1 Arial,sans-serif;letter-spacing:-1px;margin:0 0 12px}.motion-dialog-body>p{font:15px/1.7 Arial,sans-serif;white-space:pre-line;color:#c5ceba;margin:0 0 25px}.motion-dialog details,.motion-feature details{font:14px/1.7 Arial,sans-serif;white-space:pre-line;margin:15px 0}.motion-dialog summary,.motion-feature summary{cursor:pointer;min-height:44px}.motion-dialog a:focus-visible,.motion-view a:focus-visible,.motion-dialog button:focus-visible,.motion-view button:focus-visible{outline:3px solid #ffa87d;outline-offset:4px}@keyframes motion-orbit{to{translate:-12% 14%;rotate:18deg}}
@media(prefers-reduced-motion:reduce){.motion-art-orbit{animation:none}.motion-play{transition:none}}
@media(max-width:900px){.motion-feature{grid-template-columns:minmax(0,1.8fr) minmax(160px,1fr)}.motion-feature-info{padding:20px}.motion-heading{gap:22px}.motion-heading-side p{font-size:12px!important}.motion-grid{gap:15px}.motion-title-button{font-size:17px}.motion-feature-info p{font-size:12px!important}}
@media(max-width:600px){.motion-view{padding-top:20px}.motion-heading{grid-template-columns:1fr;gap:15px;margin-bottom:20px}.motion-heading h2{font-size:34px;letter-spacing:-1.2px}.motion-heading-side p{font-size:13px!important}.motion-subtitle{font-size:15px!important}.motion-feature{grid-template-columns:1fr}.motion-feature-info{padding:20px}.motion-feature-info h3{font-size:26px}.motion-art-word{font-size:54px}.motion-grid{grid-template-columns:1fr}.motion-project-open .motion-art-word{font-size:45px}.motion-project-open .motion-art small{font-size:8px}.motion-project-info p{font-size:14px!important}.motion-title-button{font-size:22px}.motion-eyebrow{font-size:9px}.motion-section-title h3{font-size:17px}.motion-section-title>span{font-size:7px}.motion-end{gap:15px;font-size:7px;line-height:1.5}.motion-dialog-body{padding:18px}.motion-dialog-header{padding:8px 16px}.document-frame{min-height:380px}#content:has(.motion-view){height:calc(100% - 66px)}}

/* Work-disk content fills the viewport below the portfolio controls. */
body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:78px minmax(0,1fr) 0}
body:has(#page.collection-fullscreen:not([hidden]))>footer{display:none}
#page.collection-fullscreen{width:100%;height:100%;margin:0;display:flex;flex-direction:column;min-height:0;overflow:hidden}
#page.collection-fullscreen .pagebar{flex:0 0 auto;padding:12px 3.5%;gap:10px}
#page.collection-fullscreen #content{flex:1 1 auto;width:100%;height:auto;min-height:0;padding:0;margin:0;background:#fff;overflow:hidden}
#page.collection-fullscreen #content>iframe,#page.collection-fullscreen #content>div:not(.motion-loading){display:block;width:100%;height:100%;min-height:0;border:0}
@media(max-width:560px){body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:var(--disk-header-height,58px) minmax(0,1fr) 0}#page.collection-fullscreen .pagebar{padding:8px 12px}}
/* Enlarge the shared navigation only while a work disk is open. */
@media(min-width:761px){
 body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:132px minmax(0,1fr) 0}
 body:has(#page.collection-fullscreen:not([hidden]))>header .brand-logo{width:clamp(128px,12vw,180px);height:94px}
 body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text strong{font-size:clamp(30px,3vw,46px);letter-spacing:-1.5px}
 body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text>span{font-size:12px;letter-spacing:2.5px}
 body:has(#page.collection-fullscreen:not([hidden]))>header nav button{font-size:clamp(15px,1.35vw,20px);min-height:64px;min-width:0;padding:0 clamp(10px,1.4vw,30px)}
 body:has(#page.collection-fullscreen:not([hidden]))>header #soundToggle{width:64px;height:64px;min-height:64px}
 #page.collection-fullscreen .pagebar{min-height:94px;padding:14px 3.5%}
 #page.collection-fullscreen .pagebar button,#page.collection-fullscreen .collection-editor-link{font-size:18px;min-height:64px;padding:10px 20px}
 #page.collection-fullscreen .pagebar>span{font-size:clamp(10px,1.05vw,15px);letter-spacing:1px}
}
@media(max-width:760px){
 body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:132px minmax(0,1fr) 0}
 body:has(#page.collection-fullscreen:not([hidden]))>header{grid-template-rows:62px 54px}
 body:has(#page.collection-fullscreen:not([hidden]))>header .brand-logo{width:86px;height:54px}
 body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text strong{font-size:clamp(20px,5vw,28px)}
 body:has(#page.collection-fullscreen:not([hidden]))>header nav button{font-size:clamp(11px,2.7vw,14px);min-height:48px}
 #page.collection-fullscreen .pagebar{min-height:64px;padding:8px 12px}
 #page.collection-fullscreen .pagebar button,#page.collection-fullscreen .collection-editor-link{font-size:14px;min-height:48px;padding:8px 12px}
}

/* Keep identity, navigation and disk actions on one compact desktop row. */
body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:82px minmax(0,1fr) 0}
body:has(#page.collection-fullscreen:not([hidden]))>header{display:flex;gap:clamp(8px,1vw,16px);margin:0 2%;min-width:0}
body:has(#page.collection-fullscreen:not([hidden]))>header .brand{order:0;gap:8px;flex:0 1 auto;min-width:0}
body:has(#page.collection-fullscreen:not([hidden]))>header .brand-logo{width:90px;height:60px}
body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text strong{font-size:clamp(22px,2vw,34px);letter-spacing:-.8px}
body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text>span{font-size:9px;letter-spacing:1.5px}
body:has(#page.collection-fullscreen:not([hidden]))>header .header-actions{order:2;display:flex;margin-left:auto;gap:8px;min-width:0}
body:has(#page.collection-fullscreen:not([hidden]))>header nav{display:flex;width:auto;gap:2px;padding:3px}
body:has(#page.collection-fullscreen:not([hidden]))>header nav button{font-size:clamp(12px,1vw,16px);min-height:44px;min-width:0;padding:0 clamp(7px,.8vw,16px)}
body:has(#page.collection-fullscreen:not([hidden]))>header #soundToggle{width:44px;height:44px;min-height:44px}
body:has(#page.collection-fullscreen:not([hidden]))>header .pagebar{display:contents}
body:has(#page.collection-fullscreen:not([hidden]))>header #back{order:1;flex:none;min-height:44px;padding:8px 12px;font-size:14px}
body:has(#page.collection-fullscreen:not([hidden]))>header #loaded{order:3;flex:0 1 auto;min-width:0;margin:0;font-size:clamp(9px,.7vw,12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:has(#page.collection-fullscreen:not([hidden]))>header .collection-editor-link{order:4;flex:none;min-height:44px;padding:8px 12px;font-size:14px}
@media(max-width:1000px){body:has(#page.collection-fullscreen:not([hidden]))>header #loaded{display:none}body:has(#page.collection-fullscreen:not([hidden]))>header .brand-logo{width:70px;height:50px}}
@media(max-width:760px){body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:128px minmax(0,1fr) 0}body:has(#page.collection-fullscreen:not([hidden]))>header{display:flex;flex-wrap:wrap;align-content:center;justify-content:space-between;gap:4px 8px;padding:4px 0}body:has(#page.collection-fullscreen:not([hidden]))>header .brand{order:0;flex:1 1 46%}body:has(#page.collection-fullscreen:not([hidden]))>header .brand-logo{width:60px;height:42px}body:has(#page.collection-fullscreen:not([hidden]))>header .brand .brand-text strong{font-size:20px}body:has(#page.collection-fullscreen:not([hidden]))>header #back{order:1;min-height:40px;font-size:12px}body:has(#page.collection-fullscreen:not([hidden]))>header .collection-editor-link{order:2;min-height:40px;font-size:12px}body:has(#page.collection-fullscreen:not([hidden]))>header .header-actions{order:3;display:flex;flex:1 1 100%;margin:0}body:has(#page.collection-fullscreen:not([hidden]))>header nav{display:flex;flex:1}body:has(#page.collection-fullscreen:not([hidden]))>header nav button{flex:1;min-height:40px;font-size:12px;padding:0 3px}body:has(#page.collection-fullscreen:not([hidden]))>header #soundToggle{width:40px;height:40px;min-height:40px}}

/* Work-disk controls float over the page; the page's own header is editable. */
body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:0 minmax(0,1fr) 0}
body:has(#page.collection-fullscreen:not([hidden]))>header{display:none}
#page.collection-fullscreen{position:relative;grid-row:2;grid-column:1}
#page.collection-fullscreen .pagebar{position:fixed;top:14px;bottom:auto;left:14px;right:14px;z-index:80;display:flex;justify-content:space-between;align-items:center;min-height:0;padding:0;pointer-events:none}
#page.collection-fullscreen .pagebar #loaded{display:none}
#page.collection-fullscreen .pagebar #back,#page.collection-fullscreen .collection-editor-link{pointer-events:auto;min-height:42px;padding:9px 14px;font:600 14px/1.2 Arial,sans-serif;border-radius:8px;background:#1b2925;color:#fff;border:1px solid #a2b5a8;box-shadow:0 3px 12px #0005}
@media(max-width:760px){body:has(#page.collection-fullscreen:not([hidden])){grid-template-rows:0 minmax(0,1fr) 0}body:has(#page.collection-fullscreen:not([hidden]))>header{display:none}#page.collection-fullscreen .pagebar{top:10px;bottom:auto;left:10px;right:10px;min-height:0;padding:0}}

/* Disk controls are available on right-click rather than covering the page. */
#page.collection-fullscreen .pagebar{display:none;position:fixed;top:0;left:0;right:auto;bottom:auto;width:190px;min-height:0;z-index:100;flex-direction:column;align-items:stretch;gap:4px;padding:6px;border:1px solid #587068;border-radius:10px;background:#1b2925;box-shadow:0 8px 25px #0006;pointer-events:auto}
#page.collection-fullscreen .pagebar.disk-menu-open{display:flex}
#page.collection-fullscreen .pagebar #back,#page.collection-fullscreen .pagebar .collection-editor-link{width:100%;min-height:42px;display:flex;align-items:center;justify-content:flex-start;padding:8px 10px;background:transparent;border:1px solid transparent;box-shadow:none;color:#fff;text-decoration:none}
#page.collection-fullscreen .pagebar #back:hover,#page.collection-fullscreen .pagebar .collection-editor-link:hover{background:#405b50}
@media(max-width:760px){#page.collection-fullscreen .pagebar{width:190px;right:auto;bottom:auto;min-height:0;padding:6px}}
