:root{--accent-orange:#FF803B}
@font-face{font-family:Montserrat;src:url('assets/Montserrat-Variable.ttf')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#111110;color:#f5f2eb;font-family:Arial,sans-serif}a{color:inherit;text-decoration:none}button,a,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:2px solid var(--accent-orange);outline-offset:6px}header{height:100px;margin:0 auto;max-width:1440px;padding:0 5%;display:flex;align-items:center;gap:40px;position:relative;z-index:3}nav{display:flex;gap:30px;margin-left:auto;font-size:13px;color:#b9b8b2}nav a:hover,nav a.active{color:var(--accent-orange)}.wordmark{font-family:Montserrat,sans-serif;font-weight:800;letter-spacing:.025em;font-size:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:32px;background:var(--accent-orange);color:#15110e;border-radius:10px;padding:18px 25px;font-size:14px;font-weight:600;border:0;cursor:pointer}.button:hover{background:var(--accent-orange)}.button.small{padding:13px 18px;font-size:12px}.subtle{background:#252522;color:#ece9e2}.hero{max-width:1440px;margin:auto;min-height:680px;padding:100px 5% 60px;position:relative;isolation:isolate}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#b5b2a9;margin-bottom:25px;display:flex;align-items:center;gap:12px}.dot{width:6px;height:6px;background:var(--accent-orange);border-radius:50%;display:inline-block}h1{font-size:clamp(46px,6.1vw,88px);line-height:1.05;letter-spacing:-.055em;margin:0 0 28px;font-weight:500;max-width:850px}h1 em{font-style:normal;color:var(--accent-orange)}p{line-height:1.7;color:#aeada6;font-size:16px}.hero-copy{max-width:540px;position:relative;z-index:2}.hero-copy p{max-width:380px;margin-bottom:30px}.hero-art{position:absolute;right:4%;top:35px;width:55%;height:590px;z-index:-1;overflow:hidden;border-radius:220px 220px 16px 16px;mask-image:linear-gradient(to right,transparent,#000 25%)}.hero-art img{width:100%;height:100%;object-fit:cover;filter:brightness(.65)}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111110,transparent 45%)}.scroll-note{margin-top:80px;font-size:10px;letter-spacing:.15em;color:#8a8980}.section{max-width:1300px;margin:auto;padding:90px 5%}.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:40px}h2{font-size:clamp(32px,4vw,54px);line-height:1.12;letter-spacing:-.04em;font-weight:400;margin:12px 0}h3{font-size:23px;font-weight:400;letter-spacing:-.025em}.section-head p{max-width:340px}.preview{position:relative;background:#20201e;padding:10px;border-radius:18px;box-shadow:0 35px 90px #0005}.preview img{width:100%;display:block;border-radius:10px}.caption{font-size:11px;color:#99978f;margin:18px 0}.text-link{color:var(--accent-orange);font-size:13px;display:inline-block;padding:10px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature{padding:30px;background:#1b1b19;border-radius:16px}.number{color:var(--accent-orange);font-size:11px}.gallery{display:grid;grid-template-columns:1.15fr 1fr;gap:28px}.art-card{margin:0}.art-card button{width:100%;padding:0;border:0;border-radius:16px;background:#232320;overflow:hidden;cursor:zoom-in;display:block}.art-card img{width:100%;height:400px;display:block;object-fit:cover;transition:transform .5s}.art-card button:hover img{transform:scale(1.025)}.art-card:nth-child(2){padding-top:90px}.art-card figcaption{display:flex;justify-content:space-between;font-size:12px;margin-top:16px;color:#bdb9b0}.cta{padding:70px;background:#20201c;border-radius:22px;text-align:center}.cta h2{max-width:600px;margin:0 auto 25px}.page-top{padding-top:65px;padding-bottom:30px}.page-top h1{font-size:clamp(44px,6vw,76px)}.page-top p{max-width:600px}.rows{display:grid;grid-template-columns:1fr 1fr;gap:28px}.panel{border-radius:18px;padding:38px;background:#1c1c19}.panel p{max-width:550px}.notice{padding:18px 22px;background:#24231e;color:#c5bba9;border-radius:12px;font-size:13px;line-height:1.6}details{background:#1c1c19;border-radius:12px;margin-bottom:12px;padding:24px}summary{cursor:pointer;font-size:18px}details p{max-width:800px}footer{max-width:1300px;margin:70px auto 0;padding:50px 5%;display:flex;gap:32px;align-items:center;flex-wrap:wrap}footer p{font-size:12px}footer div{margin-left:auto;display:flex;gap:20px;font-size:11px;color:#85847d}#grain{position:fixed;inset:0;pointer-events:none;z-index:8;width:100%;height:100%}.reveal{opacity:0;filter:blur(9px);transform:perspective(1000px) translateZ(-45px) translateY(28px);transition:opacity .65s ease,filter .65s ease,transform .85s cubic-bezier(.2,.7,.2,1)}.reveal.visible{opacity:1;filter:blur(0);transform:perspective(1000px) translateZ(0) translateY(0)}dialog{background:#181816;color:#f4f1e9;border:0;border-radius:18px;padding:20px;max-width:min(1100px,92vw);max-height:92vh}dialog::backdrop{background:#000c;backdrop-filter:blur(10px)}dialog img{max-width:100%;max-height:72vh;display:block;margin:auto}dialog p{font-size:13px}.close{float:right;background:#33332c;color:white;border:0;border-radius:50%;width:35px;height:35px;font-size:25px;cursor:pointer;margin-bottom:10px}@media(max-width:800px){header{height:auto;padding:25px 6%;flex-wrap:wrap;gap:22px}nav{order:3;width:100%;gap:20px;overflow:auto;margin:0}header>.button{margin-left:auto}.hero{padding:65px 6% 35px;min-height:730px}.hero-art{width:90%;height:470px;top:260px;right:0;opacity:.7;mask-image:linear-gradient(0deg,#000,transparent)}.hero-copy p{max-width:320px}.scroll-note{margin-top:260px}.section{padding:50px 6%}.section-head{display:block}.grid,.rows{grid-template-columns:1fr}.gallery{gap:18px}.art-card img{height:240px}.art-card:nth-child(2){padding-top:45px}.art-card figcaption{display:block;line-height:1.7}.cta{padding:40px 20px}footer{display:block;margin-top:30px}footer div{flex-wrap:wrap}.panel{padding:25px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;filter:none;transform:none;transition:none}#grain{display:none}.art-card img{transition:none}}

.reveal,.reveal.visible{transition:none;transform:none;filter:none}



.gallery-scroll-room{height:75vh;pointer-events:none}



/* Light starting palette. */

body{background:#f7f5ef;color:#24241f}nav,.eyebrow{color:#66665e}p{color:#68685f}.scroll-note,.caption,.art-card figcaption,footer div{color:#74746b}.feature,.panel,details,.cta{background:#eeece5}.notice{background:#e9e6dc;color:#646052}.preview{background:#e9e7df;box-shadow:0 25px 65px #302a1815}.subtle{background:#e6e3da;color:#303029}.hero-art:after{background:linear-gradient(0deg,#f7f5ef,transparent 45%)}.text-link,.number,nav a:hover,nav a.active{color:var(--accent-orange)}



#grain,#particles{display:none}.hero-art{z-index:0;mask-image:none}.hero-art img{filter:none}.hero-art:after{display:none}.hero-copy{z-index:2}.gallery-scroll-room{display:none}



.hero-art{border-radius:16px;mask-image:linear-gradient(to right,transparent 0%,#000 32%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 32%)}



.gradual-blur{position:fixed;left:0;right:0;height:6rem;z-index:20;pointer-events:none;transition:opacity .25s ease}.gradual-blur-top{top:0}.gradual-blur-bottom{bottom:0}@media(max-width:800px){.gradual-blur{height:4rem}}@supports not (backdrop-filter:blur(1px)){.gradual-blur{display:none}}

.color-scatter{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:21}

.element-scatter{position:absolute;pointer-events:none;z-index:21}.color-scatter{display:none}

/* Noise-only preview. */
.gradual-blur{display:none}

/* Inverted Galaxy behind the existing content. */
body{isolation:isolate}.galaxy-background{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}

@property --edge-offset{syntax:'<length>';inherits:false;initial-value:0px}
@keyframes follow-viewport{from{--edge-offset:-100vh}to{--edge-offset:var(--fx-height)}}
.native-edge{--edge-band:144px;animation:follow-viewport linear both;animation-timeline:view(block);animation-range:cover;}
.edge-dissolve{mask-image:linear-gradient(to bottom,transparent var(--edge-offset),rgba(0,0,0,.156) calc(var(--edge-offset) + var(--edge-band)*.25),rgba(0,0,0,.5) calc(var(--edge-offset) + var(--edge-band)*.5),rgba(0,0,0,.844) calc(var(--edge-offset) + var(--edge-band)*.75),black calc(var(--edge-offset) + var(--edge-band)),black calc(var(--edge-offset) + 100vh - var(--edge-band)),rgba(0,0,0,.844) calc(var(--edge-offset) + 100vh - var(--edge-band)*.75),rgba(0,0,0,.5) calc(var(--edge-offset) + 100vh - var(--edge-band)*.5),rgba(0,0,0,.156) calc(var(--edge-offset) + 100vh - var(--edge-band)*.25),transparent calc(var(--edge-offset) + 100vh));}
.element-scatter{mask-image:linear-gradient(to bottom,transparent calc(var(--edge-offset) - 30px),rgba(0,0,0,.4) var(--edge-offset),black calc(var(--edge-offset) + 48px),transparent calc(var(--edge-offset) + 96px),transparent calc(var(--edge-offset) + 100vh - 96px),black calc(var(--edge-offset) + 100vh - 48px),rgba(0,0,0,.4) calc(var(--edge-offset) + 100vh),transparent calc(var(--edge-offset) + 100vh + 30px));}
.hero-art img{mask-image:linear-gradient(to right,transparent,#000 32%)}
@media(max-width:800px){.native-edge{--edge-band:96px}}
@supports not (animation-timeline:view()){.native-edge{animation:none}}
@media(prefers-reduced-motion:reduce){.element-scatter{display:none}.edge-dissolve{mask-image:none;animation:none}}

/* Keep the dissolve inside the scatter band, avoiding a pale separation. */
.native-edge{--edge-band:88px}
@media(max-width:800px){.native-edge{--edge-band:64px}}

/* Grain is confined to the fade: clear middle + soft grain through the transition. */
.edge-dissolve{
 --clear-center:linear-gradient(to bottom,transparent calc(var(--edge-offset) + var(--edge-band)*.6),black calc(var(--edge-offset) + var(--edge-band)),black calc(var(--edge-offset) + 100vh - var(--edge-band)),transparent calc(var(--edge-offset) + 100vh - var(--edge-band)*.6));
 --soft-fade:linear-gradient(to bottom,transparent calc(var(--edge-offset) + 12px),rgba(0,0,0,.25) calc(var(--edge-offset) + var(--edge-band)*.3),rgba(0,0,0,.65) calc(var(--edge-offset) + var(--edge-band)*.6),black calc(var(--edge-offset) + var(--edge-band)),black calc(var(--edge-offset) + 100vh - var(--edge-band)),rgba(0,0,0,.65) calc(var(--edge-offset) + 100vh - var(--edge-band)*.6),rgba(0,0,0,.25) calc(var(--edge-offset) + 100vh - var(--edge-band)*.3),transparent calc(var(--edge-offset) + 100vh - 12px));
 mask-image:var(--clear-center),var(--soft-fade),var(--soft-mask-grain);
 mask-size:100% 100%,100% 100%,192px 192px;mask-composite:add,intersect;
}
@media(prefers-reduced-motion:reduce){.edge-dissolve{mask-image:none}}

.element-scatter.scatter-top{mask-image:linear-gradient(to bottom,transparent calc(var(--edge-offset) - 30px),rgba(0,0,0,.4) var(--edge-offset),black calc(var(--edge-offset) + 48px),transparent calc(var(--edge-offset) + 96px))}
.element-scatter.scatter-bottom{mask-image:linear-gradient(to bottom,transparent calc(var(--edge-offset) + 100vh - 96px),black calc(var(--edge-offset) + 100vh - 48px),rgba(0,0,0,.4) calc(var(--edge-offset) + 100vh),transparent calc(var(--edge-offset) + 100vh + 30px))}

.element-scatter.fine-scatter{z-index:20;mask-image:linear-gradient(to bottom,transparent calc(var(--edge-offset) + 18px),black calc(var(--edge-offset) + 65px),transparent calc(var(--edge-offset) + 112px),transparent calc(var(--edge-offset) + 100vh - 112px),black calc(var(--edge-offset) + 100vh - 65px),transparent calc(var(--edge-offset) + 100vh - 18px))}

/* Content masks never contain the independently rendered noise layers. */
#main{position:relative;z-index:1}
body>.element-scatter{z-index:31}
body>.element-scatter.fine-scatter{z-index:30}

/* Particle canvases have 40px of padding; contain grains within the source shape. */
body>.element-scatter{clip-path:inset(40px round var(--scatter-radius,0px))}

/* Keep padded effect surfaces from widening the mobile page. */
html{overflow-x:clip}
@media(max-width:600px){.gallery{grid-template-columns:1fr}.art-card:nth-child(2){padding-top:12px}}

@media(max-width:800px){.hero{min-height:0}.hero-art{position:relative;top:auto;right:auto;width:100%;height:360px;margin-top:32px;opacity:1}.scroll-note{margin-top:32px}.hero-art img{mask-image:none}}
/* V2 depth scenes: scroll remains native; content changes in place. */
.space-mode #main{position:relative;max-width:none;padding:0}
.space-mode .space-step{height:100vh;pointer-events:none}
.space-mode .space-scene{position:fixed;inset:100px max(5vw,24px) 32px;margin:0 auto;padding:24px 0;max-width:1200px;width:auto;min-height:0;overflow:auto;transform-origin:center;mask-size:100% 100%;mask-repeat:no-repeat;will-change:transform,opacity;scrollbar-width:thin}
.space-mode .space-scene.hero{padding-top:50px}
.space-mode .space-scene.hero .hero-art{top:20px;bottom:20px;height:auto}
.space-mode footer{position:relative;z-index:3;background:var(--bg,#f7f5ef)}
.space-mode .gallery-scroll-room{display:none}
.space-mode .space-scene .reveal{opacity:1;transform:none}
@media(max-width:800px){.space-mode .space-scene{inset:86px 20px 20px}.space-mode .space-scene.hero .hero-art{position:relative;top:auto;bottom:auto;height:300px}.space-mode .space-scene.hero{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.space-mode .space-scene{will-change:opacity}}

/* V2 grain uses CSS pixel dimensions, independent of panel proportions. */
.space-mode .space-scene{mask-size:192px 192px;mask-repeat:repeat}
/* Keep navigation outside the depth/dissolve stage. */
.space-mode header{position:fixed;top:0;left:0;right:0;width:100%;max-width:none;margin:0;z-index:100;background:#f7f5ef;isolation:isolate}
.space-mode .space-scene{top:calc(var(--space-header-height,100px) + 16px)}

.space-particles{position:fixed;inset:0;width:100%;height:100%;z-index:80;pointer-events:none}
@media(prefers-reduced-motion:reduce){.space-particles{display:none}}

/* Fit scene content to the stage instead of creating an inner scroll area. */
.space-mode .space-scene{overflow:clip;display:flex;flex-direction:column;justify-content:center;padding:12px 0}
.space-content{width:100%;display:flow-root;flex-shrink:0}
.space-mode .hero .space-content{position:relative;min-height:550px}
.space-mode .hero .hero-art{right:0;top:0;bottom:0;height:100%}
.space-mode .preview img{max-height:55vh;object-fit:contain}
.space-mode .section-head{margin-bottom:clamp(16px,4vh,40px)}
@media(max-width:800px){.space-mode .hero .space-content{min-height:0}.space-mode .hero .hero-art{position:relative;top:auto;bottom:auto;height:clamp(150px,28vh,300px);margin-top:20px}.space-mode .hero h1{font-size:clamp(32px,6vw,54px)}.space-mode .hero .scroll-note{margin-top:16px}.space-mode .feature{padding:18px}.space-mode .grid,.space-mode .rows{gap:12px}.space-mode .panel{padding:20px}}
/* Scrolling advances scenes without a visible page scrollbar. */
html:has(body.space-mode){scrollbar-width:none}
html:has(body.space-mode)::-webkit-scrollbar{display:none}

/* Persistent footer and stronger depth treatment in V2. */
.space-mode footer{position:fixed;left:0;right:0;bottom:0;max-width:none;margin:0;padding:14px 5%;min-height:50px;z-index:100;background:#f7f5ef;gap:20px}
.space-mode footer p{margin:0}
.space-mode .space-scene{bottom:calc(var(--space-footer-height,50px) + 16px);will-change:transform,opacity,filter}
@media(max-width:800px){.space-mode footer{display:flex;flex-wrap:wrap;padding:10px 20px;gap:8px 20px}.space-mode footer div{margin-left:auto;gap:12px}.space-mode footer p{font-size:11px}}

/* First paint already uses the scene layout, before JS prepares particles. */
.space-mode:not(.space-ready) #main>section{display:none}
.space-mode:not(.space-ready) #main>section:first-child{display:block;position:fixed;inset:116px 5% 82px;margin:0 auto;max-width:1200px;overflow:clip}

.space-mode .preview img{aspect-ratio:16/9;width:100%;height:auto}

/* Scene progress follows native wheel input immediately. */
html:has(body.space-mode){scroll-behavior:auto}

/* One nonrepeating grain field per scene: no visible tile copies. */
.space-mode .space-scene{mask-size:max(1280px,100%) max(960px,100%);mask-repeat:no-repeat;mask-position:center}

/* Restore the decoded round-dot masks while preserving organic image contours. */
.space-mode .space-scene{mask-size:192px 192px;mask-repeat:repeat;mask-position:center}

/* Full-section alpha grain: one field, no repeated tiles. */
.space-mode .space-scene{mask-size:max(1280px,100%) max(960px,100%);mask-repeat:no-repeat;mask-position:center}

/* Small decoded masks avoid large texture swaps; mismatched scales break repetition. */
.space-mode .space-scene{mask-size:192px 192px,229px 211px;mask-repeat:repeat;mask-position:0 0,79px 53px;mask-composite:intersect}

/* One wraparound dot field, without intersecting scales or edge-density seams. */
.space-mode .space-scene{mask-size:384px 384px;mask-repeat:repeat;mask-position:0 0;mask-composite:add}

/* Give the final scene enough native scroll range to finish arriving. */
.space-mode .space-step:last-of-type{height:140vh}

/* First scene is already present: omit its entrance distance. */
.space-mode .space-step:first-child:not(:last-of-type){height:65vh}

/* 60vh departure and arrival, plus the established hold on later scenes. */
.space-mode .space-step{height:153vh}
.space-mode .space-step:first-child:not(:last-of-type){height:65vh}
.space-mode .space-step:last-of-type{height:160vh}

/* V2 gesture navigation: native page position stays fixed during timed transitions. */
html:has(body.space-mode){overflow:hidden}
.space-mode .space-step,.space-mode .space-step:first-child:not(:last-of-type),.space-mode .space-step:last-of-type{height:0}
.space-mode #main{touch-action:pan-x}

.hero-art video{width:100%;height:100%;object-fit:cover;display:block;mask-image:linear-gradient(to right,transparent,#000 32%)}
@media(max-width:800px){.hero-art video{mask-image:none}}

/* Show the complete 1920x1152 hero frame, with no left fade. */
.space-mode .hero .hero-art{top:50%;bottom:auto;height:auto;aspect-ratio:5/3;transform:translateY(-50%);mask-image:none}
.space-mode .hero-art video{height:auto;aspect-ratio:5/3;object-fit:contain;mask-image:none}
.space-mode .hero-art:after{display:none}
@media(max-width:800px){.space-mode .hero .hero-art{top:auto;bottom:auto;transform:none;height:auto;aspect-ratio:5/3}}

/* Align hero copy and uncropped video within a shared row. */
.space-mode .hero .space-content{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);align-items:center;gap:40px;min-height:0}
.space-mode .hero .hero-copy{max-width:none}
.space-mode .hero .hero-art{position:relative;top:auto;bottom:auto;right:auto;width:100%;height:auto;aspect-ratio:5/3;transform:none;margin:0;z-index:0;border-radius:16px}
@media(max-width:800px){.space-mode .hero .space-content{grid-template-columns:1fr;gap:24px}.space-mode .hero .hero-art{margin:0}}
.space-mode .space-scene.hero .hero-art{top:auto;bottom:auto;height:auto}

/* Larger vertically flipped hero, fading toward the adjacent copy. */
.space-mode .hero .space-content{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:16px}
.space-mode .hero .hero-art video{transform:scaleY(-1);mask-image:linear-gradient(to right,transparent,#000 26%)}
@media(max-width:800px){.space-mode .hero .space-content{grid-template-columns:1fr;gap:24px}.space-mode .hero .hero-art video{mask-image:none}}

.space-mode .hero .hero-art video{transform:scaleX(-1);mask-image:linear-gradient(to left,transparent,#000 26%)}
@media(max-width:800px){.space-mode .hero .hero-art video{mask-image:none}}

/* Give the full-frame hero video more of the desktop stage. */
.space-mode .space-scene.hero{max-width:1400px}
.space-mode .hero .space-content{grid-template-columns:minmax(0,.72fr) minmax(0,1.48fr);gap:8px}
@media(max-width:800px){.space-mode .hero .space-content{grid-template-columns:1fr;gap:24px}}

.space-mode .preview img{aspect-ratio:3839/2023}

.space-page-number{position:fixed;right:5%;bottom:calc(var(--space-footer-height,50px) + 14px);z-index:101;color:#74746b;font-size:12px;letter-spacing:.12em;font-variant-numeric:tabular-nums;pointer-events:none}
@media(max-width:800px){.space-page-number{right:20px}}

/* Section number belongs to the scene, so it shares the dissolve and scatter. */


/* Animated grain dissolve on the mirrored hero video. */
.space-mode .hero .hero-art video{mask-image:url(assets/hero-noise-mask.png);mask-size:100% 256px;mask-repeat:repeat-y;mask-position:0 0;animation:hero-noise-drift 12s linear infinite}
@keyframes hero-noise-drift{to{mask-position:0 256px}}
@media(prefers-reduced-motion:reduce){.space-mode .hero .hero-art video{animation:none}}
@media(max-width:800px){.space-mode .hero .hero-art video{mask-image:none;animation:none}}

.space-mode .hero .hero-art video{mask-size:100% 100%;mask-repeat:no-repeat;mask-position:center;animation:none}

/* Static video dissolve; the existing background particles supply motion. */
.space-mode .hero .hero-art video{mask-image:url(assets/hero-noise-mask.png);mask-size:100% 100%;mask-repeat:no-repeat;mask-position:center;animation:none}
@media(max-width:800px){.space-mode .hero .hero-art video{mask-image:none}}

/* Float real video-colored particles over the edge, matching supporting noise. */
.space-mode .hero .hero-art video{mask-image:linear-gradient(to left,transparent,#000 26%);animation:none}
@media(max-width:800px){.space-mode .hero .hero-art video{mask-image:none}}

/* Smooth eased hero fade, mirrored to appear on the visual left. */
.space-mode .hero .hero-art video{mask-image:linear-gradient(to left,rgba(0,0,0,0) 0%,rgba(0,0,0,.04) 4%,rgba(0,0,0,.16) 8%,rgba(0,0,0,.34) 12%,rgba(0,0,0,.55) 16%,rgba(0,0,0,.75) 20%,rgba(0,0,0,.9) 24%,rgba(0,0,0,.98) 28%,#000 32%)}
@media(max-width:800px){.space-mode .hero .hero-art video{mask-image:none}}

/* Finer dissolve mask grains for scene content and page numbers. */
.space-mode .space-scene{mask-size:256px 256px}

/* Show the complete hero video without a left fade. */
.space-mode .hero .hero-art video{mask-image:none}

.space-mode .gallery .art-card img{max-height:58vh;width:100%;object-fit:contain}

/* Gallery uses native scrolling with alternating column parallax. */
.gallery-mode #main{position:fixed;inset:calc(var(--space-header-height,80px) + 12px) 0 calc(var(--space-footer-height,50px) + 12px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 5% 140px;scrollbar-width:thin}
.gallery-mode #main>.page-top{position:relative;inset:auto;min-height:0;padding:48px 0 56px;max-width:1400px;margin:auto}
.parallax-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:1400px;margin:auto;align-items:start}
.parallax-column{display:flex;flex-direction:column;gap:28px;will-change:transform}
.gallery-mode .art-card{margin:0;transform:none!important}
.gallery-mode .art-card button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:16px;overflow:hidden}
.gallery-mode .art-card img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;mask-image:none}
.gallery-mode .art-card figcaption{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px}
@media(max-width:800px){.parallax-gallery{grid-template-columns:1fr;gap:28px}.parallax-column{display:contents;will-change:auto}.gallery-mode #main{padding:0 20px 40px}.gallery-mode #main>.page-top{padding:24px 0 32px}}

/* Consistent gallery frames align the columns; viewer retains full images. */
.gallery-mode .art-card button{aspect-ratio:4/3}
.gallery-mode .art-card img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;object-position:center}

.justified-gallery{display:flex;flex-direction:column;gap:18px}
.gallery-row{display:flex;gap:18px;aspect-ratio:var(--row-ratio);width:100%;min-height:0}
.gallery-mode .gallery-row .art-card{min-width:0;height:100%;display:block}
.gallery-mode .gallery-row .art-card button{height:100%;aspect-ratio:auto;border-radius:12px}
.gallery-mode .gallery-row .art-card img{height:100%;aspect-ratio:auto;object-fit:cover}
@media(max-width:800px){.justified-gallery,.gallery-row{gap:8px}.gallery-mode .gallery-row .art-card button{border-radius:6px}}

/* Remove inherited staggered-card offsets inside aligned gallery rows. */
.gallery-mode .gallery-row .art-card{margin:0!important;align-self:stretch}
.gallery-mode .gallery-row .art-card button{margin:0;height:100%;width:100%}

.gallery-mode .gallery-row .art-card{padding:0!important}

/* Gallery swipes scroll natively rather than using scene navigation gestures. */
.space-mode.gallery-mode #main{touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}

/* Image motion stays inside fixed, aligned gallery frames. */
.gallery-mode .gallery-row .art-card button{position:relative;overflow:hidden}
.gallery-mode .gallery-row .art-card img{position:absolute;top:-8%;left:0;width:100%;height:116%;transition:none;object-fit:cover}
.gallery-mode .gallery-row .art-card button:hover img{scale:1}
@media(prefers-reduced-motion:reduce){.gallery-mode .gallery-row .art-card img{top:0;height:100%;transform:none!important}}

/* Home gallery previews fill their existing frames. */
.space-mode:not(.gallery-mode) .gallery .art-card img{width:100%;height:clamp(180px,38vh,400px);max-height:none;object-fit:cover;object-position:center}

.space-mode:not(.gallery-mode) .gallery .art-card figcaption{display:none}

/* Full-image viewer with a standalone orange close control. */
dialog#viewer{background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;width:max-content;max-width:96vw;max-height:96dvh;overflow:visible}
dialog#viewer::backdrop{background:rgba(0,0,0,.86);backdrop-filter:blur(14px)}
dialog#viewer .close{float:none;display:block;margin:0 0 10px auto;padding:0;background:transparent;color:var(--accent-orange);border-radius:0;width:40px;height:40px;font-size:40px;line-height:1;cursor:pointer}
dialog#viewer img{width:auto;height:auto;max-width:94vw;max-height:calc(96dvh - 60px);object-fit:contain;border-radius:0;margin:0 auto}
dialog#viewer p{display:none}

.space-mode .preview{background:transparent;padding:0;box-shadow:none;max-width:1500px;margin:auto;position:relative}
.space-mode .preview img{display:block;width:100%;height:auto;max-height:none;border-radius:12px}
.ui-hotspot{position:absolute;z-index:3;width:16px;height:16px;border:2px solid #fff;border-radius:50%;background:var(--accent-orange);transform:translate(-50%,-50%);cursor:pointer;padding:0}
.ui-hotspot::after{content:'';position:absolute;inset:-7px;border:2px solid var(--accent-orange);border-radius:50%;animation:ui-hotspot-pulse 2s ease-out infinite;pointer-events:none}
@keyframes ui-hotspot-pulse{0%{scale:.65;opacity:.8}100%{scale:1.7;opacity:0}}
.ui-hotspot[aria-expanded=true]{background:#fff;border-color:var(--accent-orange)}
.ui-panel-description{position:absolute;z-index:5;left:50%;top:45%;transform:translate(-50%,-50%);width:min(360px,85%);background:#f7f5ef;color:#24241f;padding:22px 26px;border-radius:12px;box-shadow:0 12px 45px #0005}
.ui-panel-description[hidden]{display:none}
.ui-panel-description p{font-size:14px;line-height:1.5;margin:8px 0 0}
.ui-panel-close{position:absolute;right:8px;top:5px;border:0;background:none;color:var(--accent-orange);font-size:24px;cursor:pointer}
@media(prefers-reduced-motion:reduce){.ui-hotspot::after{animation:none}}
@media(max-width:800px){.ui-hotspot{width:14px;height:14px}.ui-hotspot::before{content:'';position:absolute;inset:-14px}}

.ui-panel-description{width:min(320px,42%);padding:18px 22px}
@media(max-width:800px){.ui-panel-description{width:58%;padding:12px 16px}.ui-panel-description p{font-size:12px}.ui-panel-description strong{font-size:13px}}

.page-top .scroll-note{margin-top:36px}
@media(max-width:800px){.page-top .scroll-note{margin-top:24px}}

/* Match the workspace Ready indicator. */
.ui-hotspot{background:#7de8f5}
.ui-hotspot::after{border-color:#7de8f5}
.ui-hotspot[aria-expanded=true]{background:#fff;border-color:#7de8f5}
dialog#viewer.focus-viewer img{max-height:calc(96dvh - 150px)}
dialog#viewer.focus-viewer p{display:block;color:#f7f5ef;font-size:14px;line-height:1.6;max-width:740px;margin:16px auto 0;text-align:center;padding:0 12px}

/* Shared readable typography and a compact, safely fitted workspace layout. */
:root{--body-copy-size:16px;--caption-size:14px;--eyebrow-size:11px}
.space-mode main p{font-size:var(--body-copy-size);line-height:1.65}
.space-mode main .caption{font-size:var(--caption-size);line-height:1.5}
.space-mode .eyebrow{font-size:var(--eyebrow-size)}
.space-mode .workspace-section{padding:20px 0;justify-content:center}
.workspace-section .section-head{margin-bottom:12px;align-items:center}
.workspace-section .section-head .eyebrow{margin-bottom:14px}
.workspace-section .section-head h2{margin:0;font-size:clamp(36px,4vw,54px)}
.workspace-section .caption{margin:0 0 14px}
.space-mode .workspace-section .preview{width:min(100%,calc((100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 250px)*1.898));min-width:0;margin:0 auto}
@media(max-width:800px){.workspace-section .section-head{margin-bottom:12px}.workspace-section .section-head h2{font-size:36px}.workspace-section .section-head p{margin:12px 0}.space-mode .workspace-section .preview{width:100%}}

/* Align workspace introduction with the screenshot and heading baseline. */
.workspace-section .section-head{width:min(100%,calc((100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 250px)*1.898));margin:0 auto 24px;display:grid;grid-template-columns:1fr minmax(260px,340px);gap:48px;align-items:end}
.workspace-section .section-head>p{margin:0 0 4px;max-width:340px}
@media(max-width:800px){.workspace-section .section-head{width:100%;grid-template-columns:1fr;gap:14px;margin-bottom:20px}.workspace-section .section-head>p{margin:0;max-width:100%}}

/* Smaller markers retain generous touch targets. */
.ui-hotspot{width:12px;height:12px}
.ui-hotspot::after{inset:-6px;border-width:1px}
.ui-hotspot::before{content:"";position:absolute;inset:-16px}
@media(max-width:800px){.ui-hotspot{width:12px;height:12px}.ui-hotspot::before{inset:-16px}}

/* Focus Mode uses a darker, flat viewer backdrop. */
dialog#viewer.focus-viewer::backdrop{background:rgba(0,0,0,.96)}
dialog#viewer.focus-viewer,dialog#viewer.focus-viewer img{box-shadow:none;filter:none}

dialog#viewer.focus-viewer img{border-radius:12px}

/* Screenshot magnifications with readable descriptions below. */
dialog#panel-viewer{background:#18191b;color:#f7f5ef;border:0;border-radius:12px;box-shadow:none;padding:20px;width:min(640px,92vw);max-width:92vw;max-height:88dvh;overflow:auto}
dialog#panel-viewer::backdrop{background:rgba(0,0,0,.96);backdrop-filter:blur(14px)}
#panel-viewer .close{float:none;display:block;margin:0 0 12px auto;background:transparent;color:var(--accent-orange);font-size:34px;line-height:1;border-radius:0}
.panel-magnification{position:relative;overflow:hidden;border-radius:8px;width:100%;max-width:100%;background:#242529}
#panel-viewer .panel-magnification img{position:absolute;max-width:none;max-height:none;height:auto;display:block;margin:0;border-radius:0}
#panel-viewer h2{font-size:23px;margin:20px 0 10px;letter-spacing:-.025em}
#panel-viewer p{font-size:16px;line-height:1.65;color:#d3d2cc;margin:0}
@media(max-width:800px){dialog#panel-viewer{padding:16px;width:92vw}#panel-viewer p{font-size:16px}}

#panel-viewer .panel-magnification{margin:0 auto}

/* Inline magnification stays within the original workspace image. */
.ui-panel-description{padding:16px;background:#18191b;color:#f7f5ef;box-shadow:none;border:1px solid #ffffff24;max-width:calc(100% - 24px);max-height:calc(100% - 24px);overflow:auto;border-radius:12px}
.ui-panel-description .panel-magnification{margin:18px auto 16px;border-radius:8px}
.ui-panel-description .panel-magnification img{position:absolute;max-width:none;max-height:none;height:auto;display:block;margin:0;border-radius:0}
.ui-panel-description strong{display:block;font-size:18px;line-height:1.3}
.space-mode .ui-panel-description p{color:#d3d2cc;font-size:14px;line-height:1.6;margin:8px 0 0}
.ui-panel-description .ui-panel-close{color:var(--accent-orange)}

/* Native pixel crops: scroll large panels instead of stretching their pixels. */
.ui-panel-description .panel-magnification{aspect-ratio:auto!important;overflow:auto;max-width:100%;width:100%;border-radius:8px}
.ui-panel-description .panel-magnification canvas{display:block;width:auto;height:auto;max-width:none;max-height:none}

.ui-panel-description,.ui-panel-description .panel-magnification{scrollbar-width:thin;scrollbar-color:#666 #242529}

/* A brief pop-in keeps panel magnifications feeling responsive. */
.ui-panel-description:not([hidden]){animation:panel-pop-in 180ms cubic-bezier(.2,.8,.2,1) both}
@keyframes panel-pop-in{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.ui-panel-description:not([hidden]){animation:none}}

/* Persistent navigation sits directly over the page background. */
.space-mode header,.space-mode footer{background:transparent}

/* Shared hero media proportions. */
.space-mode .hero .hero-art,.space-mode .hero .hero-art video{aspect-ratio:1914/1080}

/* Keep the video credit beneath the full frame. */
.space-mode .hero .hero-art{aspect-ratio:auto;overflow:visible;border-radius:0}
.space-mode .hero .hero-art video{border-radius:16px}
.space-mode .hero .hero-video-caption{margin:12px 0 0;font-size:14px;line-height:1.6;color:#74746b;max-width:none;text-align:right}

.workspace-intro{max-width:340px;margin-bottom:4px}
.space-mode .workspace-intro p{margin:0}
.demo-trigger{display:inline-flex;align-items:center;gap:24px;margin-top:16px;border:0;cursor:pointer;text-align:left}
.demo-trigger:focus-visible{outline:2px solid var(--accent-orange);outline-offset:5px;border-radius:2px}
dialog#demo-viewer{padding:44px 0 0;background:transparent;border:0;border-radius:0;width:min(1600px,94vw);max-width:94vw;max-height:94dvh;overflow:visible;box-shadow:none}
dialog#demo-viewer::backdrop{background:rgba(0,0,0,.92);backdrop-filter:blur(14px)}
#demo-viewer video{display:block;width:100%;max-height:calc(94dvh - 44px);object-fit:contain;background:#000;border-radius:12px}
#demo-viewer .close{position:absolute;right:0;top:0;float:none;margin:0;background:transparent;color:var(--accent-orange);width:36px;height:36px;font-size:32px}

/* The demo action follows the workspace image and shares its right edge. */
.space-mode .workspace-demo-action{width:min(100%,calc((100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 250px)*1.898));margin:0 auto;display:flex;justify-content:flex-end}
.space-mode .workspace-demo-action .demo-trigger{margin-top:14px}
@media(max-width:800px){.space-mode .workspace-demo-action{width:100%}}

.space-mode .cta .eyebrow{justify-content:center}

/* Fixed section navigation with two-color noise dissolves. */
nav.section-dots{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:95;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;overflow:visible}
.section-dot{position:relative;display:block;width:32px;height:32px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:50%}

.section-dot canvas{position:absolute;width:48px;height:48px;left:-8px;top:-8px;pointer-events:none}
.section-dot:hover canvas{filter:brightness(1.15)}
.section-dot:focus-visible{outline:2px solid var(--accent-orange);outline-offset:1px}
@media(max-width:800px){nav.section-dots{right:2px;gap:4px}.section-dot{width:28px;height:32px}.section-dot canvas{left:-10px}}

header nav a{color:#62625b}
header nav a.active{color:var(--accent-orange)}
.header-title-noise{position:fixed;z-index:101;pointer-events:none}

/* Scene fitting wraps row cards, so their grid belongs on the inner content. */
.space-mode .rows > .space-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.space-mode .rows > .space-content > .panel:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:800px){.space-mode .rows > .space-content{grid-template-columns:1fr;gap:18px}}

/* Keep infinite scrolling native while removing the visual scrollbar. */
.gallery-mode #main{scrollbar-width:none;-ms-overflow-style:none}
.gallery-mode #main::-webkit-scrollbar{display:none;width:0;height:0}
.gallery-mode .gallery-row .art-card img{transition:scale .3s ease}
/* Cursor panning replaces the hover badge and zoom. */
@media(hover:hover) and (pointer:fine){.gallery-mode .gallery-row .art-card button:hover img{scale:1}}
dialog#viewer img{border-radius:12px}
@keyframes gallery-backdrop-in{from{background:rgba(0,0,0,0)}to{background:rgba(0,0,0,.86)}}
dialog#viewer:not(.focus-viewer)[open]::backdrop{animation:gallery-backdrop-in .3s ease-out}
@media(prefers-reduced-motion:reduce){.gallery-mode .gallery-row .art-card img,.gallery-mode .art-card button::after{transition:none}dialog#viewer[open]::backdrop{animation:none}}



/* Give the headline breathing room while preserving the hero's right alignment. */
@media(min-width:801px){.space-mode .hero .hero-art{width:95%;justify-self:end}}

/* Large, uncropped full-frame slideshow with instantaneous image changes. */
.integrity-section .section-head{margin-bottom:22px;align-items:center;gap:28px;position:relative;padding-top:12px}
.integrity-section .section-head .eyebrow{margin-bottom:8px}
.integrity-section .section-head h2{margin:0;font-size:clamp(30px,3.2vw,46px)}
.integrity-section .section-head p{margin:0;font-size:14px;line-height:1.5}
.integrity-slideshow{width:min(100%,calc((100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 220px) * 1.77966));margin:auto;border-radius:12px;overflow:hidden;aspect-ratio:1680/944}
.integrity-slideshow img{display:block;width:100%;height:100%;object-fit:contain;transition:none!important;animation:none!important}
.integrity-slide-titles{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:12px 0 8px}
.integrity-slide-titles button{font:inherit;font-size:13px;padding:7px 12px;border:0;border-radius:7px;background:#eeece5;color:#68685f;cursor:pointer}
.integrity-slide-titles button[aria-pressed="true"]{background:var(--accent-orange);color:#24241f}
.integrity-slide-titles .integrity-playback{display:inline-flex;align-items:center;justify-content:center;width:32px;padding:6px;background:var(--accent-orange);color:#24241f}.integrity-playback svg{display:block;width:18px;height:18px}.integrity-slide-titles .integrity-playback:hover{background:var(--accent-orange)}
.integrity-active-description{display:flex;justify-content:center;gap:12px;align-items:baseline;font-size:14px!important;line-height:1.5;min-height:42px;max-width:900px;margin:0 auto 6px;text-align:center}
.integrity-active-description strong{color:var(--accent-orange);white-space:nowrap;font-weight:600}
.integrity-section>.caption,.integrity-section .space-content>.caption{text-align:center;font-size:12px;margin:0;line-height:1.5}
@media(max-width:800px){.integrity-section .section-head p{margin-top:10px}.integrity-slideshow{width:100%}.integrity-slide-titles{gap:5px}.integrity-slide-titles button{font-size:11px;padding:7px 9px}.integrity-active-description{display:block;min-height:66px}.integrity-active-description strong{display:block;margin-bottom:4px}}

/* Overlap invisible sizing copies so every slide shares the tallest caption slot. */
.integrity-description-slot{display:grid;max-width:900px;margin:0 auto 6px}
.integrity-description-slot .integrity-active-description{grid-area:1/1;margin:0;width:100%;align-self:start}
.integrity-description-sizer{grid-area:1/1;display:grid;visibility:hidden;pointer-events:none}
.integrity-description-sizer>div{grid-area:1/1;display:flex;justify-content:center;gap:12px;align-items:baseline;font-size:14px;line-height:1.5;min-height:42px;text-align:center}
.integrity-description-sizer strong{white-space:nowrap;font-weight:600}
@media(max-width:800px){.integrity-description-sizer>div{display:block;min-height:66px}.integrity-description-sizer strong{display:block;margin-bottom:4px}}

.integrity-description-slot .integrity-active-description,.integrity-description-sizer>div{line-height:1.65!important}

/* Four portrait frames explain selecting a generated result for RG. */
.medusa-section .section-head{gap:32px;align-items:center;margin-bottom:22px;padding-top:12px}
.medusa-section .section-head h2{font-size:clamp(30px,3.2vw,46px);margin:0}
.medusa-section .section-head p{max-width:380px;font-size:16px;line-height:1.6;margin:0}
.medusa-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.medusa-step{min-width:0}
.medusa-image{display:block;width:100%;border:0;padding:0;border-radius:12px;overflow:hidden;background:transparent;cursor:zoom-in;aspect-ratio:3/4}
.medusa-image img{display:block;width:100%;height:100%;object-fit:contain}
.medusa-step .number{display:block;margin:0 0 8px;font-size:11px;text-transform:uppercase;letter-spacing:.1em}
.medusa-step h3{font-size:20px;line-height:1.25;margin:6px 0 4px}
.medusa-step p{font-size:14px;line-height:1.6;margin:0}
.medusa-note{font-size:14px;line-height:1.6;max-width:1000px;margin:22px auto 0;text-align:center}
@media(max-width:800px){.medusa-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.medusa-section .section-head p{margin-top:12px}.medusa-step h3{font-size:18px}.medusa-step p,.medusa-note{font-size:14px}}

.medusa-image{height:clamp(140px,calc(100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 300px),480px);width:auto;max-width:100%;margin-inline:auto}
@media(max-width:800px){.medusa-image{height:clamp(100px,18dvh,200px)}}

/* Fit the actual portrait instead of reserving a taller letterbox. */
.medusa-image{height:auto;width:min(100%,calc(clamp(140px,calc(100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 300px),480px) * .75));aspect-ratio:3/4}
.medusa-step .number{margin:0 0 20px}
.medusa-step h3{margin:20px 0 4px}
@media(max-width:800px){.medusa-image{height:auto;width:min(100%,calc(clamp(100px,18dvh,200px) * .75))}.medusa-step .number{margin-bottom:16px}.medusa-step h3{margin-top:16px}}

.medusa-section .section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,380px);column-gap:32px;row-gap:14px;align-items:start}
.medusa-section .section-head>div{display:contents}
.medusa-section .section-head .eyebrow{grid-column:1;grid-row:1;margin:0}
.medusa-section .section-head h2{grid-column:1;grid-row:2}
.medusa-section .section-head>p{grid-column:2;grid-row:2;align-self:start;margin:0}
.medusa-section h2 em{font-style:normal;color:var(--accent-orange)}
.medusa-step h3,.medusa-note{color:var(--accent-orange)}
@media(max-width:800px){.medusa-section .section-head{grid-template-columns:1fr;row-gap:12px}.medusa-section .section-head>p{grid-column:1;grid-row:3}}

.medusa-section .section-head{margin-bottom:54px}
.medusa-step h3{color:#24241f}
@media(max-width:800px){.medusa-section .section-head{margin-bottom:32px}}

.medusa-note{color:#24241f;text-align:left;max-width:none;margin:22px 0 0}

/* Shared design system: homepage hero for introductions; integrity page for content. */
:root{
 --intro-heading-size:clamp(46px,6.1vw,88px);
 --section-heading-size:clamp(30px,3.2vw,46px);
 --panel-heading-size:23px;
 --intro-copy-size:16px;
 --body-copy-size:14px;
 --caption-size:12px;
 --eyebrow-size:11px;
 --heading-content-gap:22px;
 --intro-column-gap:28px;
 --media-radius:12px;
}
.space-mode main .page-top h1{font-size:var(--intro-heading-size);font-weight:500;line-height:1.05;letter-spacing:-.055em;margin:0 0 28px;max-width:850px}
.space-mode main .page-top p,.space-mode main .hero-copy p{font-size:var(--intro-copy-size);line-height:1.65;max-width:380px}
.space-mode main .page-top .eyebrow{margin-bottom:25px}
.space-mode main .page-top .scroll-note{margin-top:80px}
.space-mode main .section:not(.page-top) h2{font-size:var(--section-heading-size);font-weight:400;line-height:1.12;letter-spacing:-.04em}
.space-mode main .section-head{gap:var(--intro-column-gap);margin-bottom:var(--heading-content-gap)}
.space-mode main .section-head .eyebrow{margin-bottom:8px}
.space-mode main .section-head h2{margin:0}
.space-mode main .section-head p{font-size:var(--body-copy-size);line-height:1.5;margin:0;max-width:380px}
.space-mode main .section:not(.page-top) p{font-size:var(--body-copy-size);line-height:1.5}
.space-mode main .section .caption{font-size:var(--caption-size);line-height:1.5}
.space-mode main .section .integrity-active-description{line-height:1.65}
.space-mode main .workspace-section .section-head{width:100%;grid-template-columns:minmax(0,1fr) minmax(260px,380px);gap:var(--intro-column-gap);align-items:center}
.space-mode main .medusa-section .section-head{column-gap:var(--intro-column-gap);row-gap:14px;margin-bottom:54px}
.space-mode main .medusa-section .section-head .eyebrow{margin:0}
.space-mode main .panel{padding:28px;border-radius:12px}
.space-mode main .panel h2{margin:0 0 12px}
.space-mode main .panel p{margin:0 0 12px}
.space-mode main .panel p:last-child{margin-bottom:0}
.space-mode main details{padding:24px;margin-bottom:12px}
.space-mode main details summary{font-size:18px;line-height:1.3}
.space-mode main details p{margin:12px 0 0}
.space-mode main .cta h2{margin-bottom:22px}
@media(max-width:800px){
 :root{--intro-heading-size:clamp(32px,6vw,54px)}
 .space-mode main .page-top .scroll-note{margin-top:16px}
 .space-mode main .workspace-section .section-head{grid-template-columns:1fr;gap:14px}
 .space-mode main .panel{padding:20px}
 .space-mode main .medusa-section .section-head{margin-bottom:32px;row-gap:12px}
}

.space-mode main .workspace-section .section-head{grid-template-columns:1fr;gap:12px;align-items:start}
.space-mode main .workspace-section .workspace-intro p{max-width:600px;text-align:left}

.space-mode .help-hero .hero-art img,.space-mode .about-hero .hero-art img{display:block;width:100%;height:auto;aspect-ratio:1914/1080;object-fit:cover;object-position:center;border-radius:16px;filter:none;transform:none;mask-image:none}
.space-mode .help-hero .hero-art:after,.space-mode .about-hero .hero-art:after{display:none}

.space-mode .help-hero .hero-art video,.space-mode .about-hero .hero-art video{display:block;width:100%;height:auto;aspect-ratio:1914/1080;object-fit:cover;border-radius:16px;transform:none;mask-image:none}

/* Center the primary intro group on the viewport; supporting items sit outside it. */
@media(min-width:801px){
 .space-mode .space-scene.hero,.space-mode .space-scene.page-top{top:0;bottom:0;padding:0}
 .space-mode .hero .hero-copy{position:relative}
 .space-mode main .hero-copy>p{margin-bottom:0}
 .space-mode .hero .hero-copy>.eyebrow{position:absolute;bottom:calc(100% + 25px);left:0;margin:0;width:100%}
 .space-mode .hero .hero-copy>.scroll-note{position:absolute;top:calc(100% + 80px);left:0;margin:0}
 .space-mode .hero .hero-art{width:calc(95% * var(--intro-media-fit,1));align-self:center}
 .space-mode .hero .hero-video-caption{position:absolute;top:100%;left:0;right:0;margin:12px 0 0}
 .space-mode .page-top .space-content{position:relative}
 .space-mode main .page-top .space-content>.eyebrow{position:absolute;bottom:calc(100% + 25px);left:0;margin:0}
 .space-mode main .page-top .space-content>.scroll-note{position:absolute;top:calc(100% + 80px);left:0;margin:0}
 .space-mode main .page-top .space-content>p{margin-bottom:0}
}

.space-mode main .workspace-section .section-head{width:min(100%,calc((100dvh - var(--space-header-height,100px) - var(--space-footer-height,50px) - 250px)*1.898));margin-inline:auto}
.space-mode main .workspace-section .workspace-intro{max-width:none;margin:0}
.space-mode main .workspace-section .workspace-intro p{max-width:none}
@media(min-width:801px){.space-mode main .workspace-section .section-head h2,.space-mode main .workspace-section .workspace-intro p{white-space:nowrap}}
@media(max-width:800px){.space-mode main .workspace-section .section-head{width:100%}}

@media(min-width:801px){.space-mode .space-scene.medusa-section{top:0;bottom:0;padding:0}.space-mode .medusa-section>.space-content{position:relative}}

/* Keep the integrity image centered without shrinking its supporting type. */
.space-mode .space-scene.integrity-section{top:0;bottom:0;padding:0}
.space-mode .integrity-section>.space-content{position:relative}
.space-mode .hero:not(.help-hero):not(.about-hero) .hero-art video{aspect-ratio:1914/1080;object-fit:cover;object-position:center}
.space-mode main .cta{background:transparent}
.space-mode main .integrity-section .section-head{margin-bottom:32px;padding-top:0;gap:28px}
.space-mode main .integrity-section .section-head>div{flex:1;min-width:0}
.space-mode main .integrity-section .section-head em{font-style:normal;color:var(--accent-orange)}
.space-mode main .integrity-section .section-head>p{flex:0 1 340px}
.integrity-slideshow{width:min(100%,var(--integrity-frame-width,100%));border-radius:var(--media-radius)}
.integrity-slide-titles{align-items:center;margin:16px 0 0;gap:8px}
.integrity-slide-titles button{min-height:32px;line-height:18px}
.integrity-description-slot{max-width:min(900px,100%);margin:20px auto 0}
.integrity-description-slot .integrity-active-description,.integrity-description-sizer>div{min-height:46px}
.space-mode main .integrity-section p.caption{font-size:var(--caption-size);line-height:1.5;max-width:900px;margin:24px auto 0}
.space-mode .space-scene.integrity-scroll-fit{top:calc(var(--space-header-height,100px) + 16px);bottom:calc(var(--space-footer-height,50px) + 16px);justify-content:flex-start;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-y pinch-zoom}
.integrity-scroll-fit::-webkit-scrollbar{display:none}
.space-mode #main:has(.integrity-scroll-fit:not([inert])){touch-action:pan-y pinch-zoom}
@media(max-width:800px){
 .space-mode main .integrity-section .section-head{display:block;margin-bottom:24px}
 .space-mode main .integrity-section .section-head>p{margin-top:12px}
 .integrity-slide-titles{gap:8px}
 .integrity-slide-titles button{font-size:12px;min-height:40px;padding:8px 10px}
 .integrity-slide-titles .integrity-playback{width:40px}
}

/* Why opening media matches the Help and About hero videos. */
.space-mode .why-hero .hero-art video{display:block;width:100%;height:auto;aspect-ratio:1914/1080;object-fit:cover;object-position:center;border-radius:16px;transform:none;mask-image:none}
.space-mode .why-hero .hero-art:after{display:none}

/* Help keeps the shared content type scale and lets detailed setup guides scroll. */
.space-mode #main:has(.help-support:not([inert])){touch-action:pan-x pan-y pinch-zoom}
.space-mode .space-scene.help-support{justify-content:flex-start;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:thin;padding:24px 4px 24px 0}
.space-mode .help-support>.space-content{position:relative;top:0;zoom:1}
.space-mode main .help-support .section-head{align-items:center}
.space-mode main .help-support h2 em{font-style:normal;color:var(--accent-orange)}
.space-mode main .help-support details.help-topic{padding:0;margin:0 0 12px;background:#eeece5;border-radius:12px;overflow:clip}
.space-mode main .help-support .help-topic>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:20px 24px;font-size:18px;line-height:1.3;cursor:pointer}
.help-topic>summary::-webkit-details-marker{display:none}
.help-topic>summary::after{content:'+';margin-left:auto;font-size:23px;font-weight:400;line-height:1;color:#68685f}
.help-topic[open]>summary::after{content:'−'}
.help-topic-number{font-size:var(--eyebrow-size);letter-spacing:.1em;color:var(--accent-orange);min-width:20px}
.help-support summary:focus-visible,.help-table-wrap:focus-visible{outline:2px solid var(--accent-orange);outline-offset:-4px;border-radius:8px}
.help-topic-body{padding:0 24px 24px}
.space-mode main .help-topic-body p{margin:0 0 14px;max-width:none}
.space-mode main .help-topic-body p:last-child{margin-bottom:0}
.help-table-wrap{max-width:100%;overflow-x:auto;margin:16px 0;scrollbar-width:thin}
.help-table{width:100%;min-width:640px;border-collapse:collapse;text-align:left;font-size:var(--body-copy-size);line-height:1.5;color:#68685f}
.help-table caption{text-align:left;font-size:18px;line-height:1.3;color:#24241f;margin-bottom:12px}
.help-table th,.help-table td{padding:12px 16px 12px 0;border-bottom:1px solid #d9d6cc;vertical-align:top}
.help-table th{font-weight:400;color:#24241f}
.help-table thead th{font-size:var(--caption-size);color:#68685f}
.help-table tbody th{width:23%}
.help-table tr:last-child th,.help-table tr:last-child td{border-bottom:0}
.help-table td:last-child,.help-table th:last-child{padding-right:0}
.help-model-table{min-width:760px}
.help-model-table tbody th{width:30%}
.help-status{display:inline-block;color:var(--accent-orange);margin-right:6px}
.space-mode main .help-support details.help-more{background:none;border-radius:0;padding:14px 0;margin:0;border-top:1px solid #d9d6cc}
.space-mode main .help-support .help-more>summary{font-size:var(--body-copy-size);line-height:1.5;color:#24241f;cursor:pointer}
.space-mode main .help-support .help-more[open]>summary{margin-bottom:14px}
.space-mode main .help-support .help-guidance{font-size:var(--caption-size);line-height:1.5;margin:16px 0 0;color:#68685f}
.help-steps,.help-log-paths{padding-left:22px;margin:16px 0;font-size:var(--body-copy-size);line-height:1.5;color:#68685f}
.help-steps li,.help-log-paths li{padding-left:4px;margin-bottom:14px}
.help-steps li:last-child,.help-log-paths li:last-child{margin-bottom:0}
.help-steps li::marker{color:var(--accent-orange)}
.help-topic-body strong{font-weight:600;color:#24241f}
.help-subsection{margin-top:22px}
.space-mode main .help-subsection h3{font-size:18px;line-height:1.3;margin:0 0 12px}
.help-support code{font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:normal;color:#24241f}
.space-mode main .help-support .help-table-hint{display:none;font-size:var(--caption-size);line-height:1.5}
@media(max-width:800px){
 .space-mode main .help-support .section-head{display:block}
 .space-mode main .help-support .section-head>p{margin-top:12px;max-width:none}
 .space-mode main .help-support .help-topic>summary{padding:18px 20px;font-size:18px;gap:10px}
 .help-topic-body{padding:0 20px 20px}
 .space-mode main .help-support .help-table-hint{display:block}
 .help-table{min-width:600px}
 .help-model-table{min-width:710px}
}

/* A small brand line beside the wordmark, with room for navigation at every width. */
header .header-brand{display:flex;align-items:center;gap:20px;flex:0 0 auto;min-width:0}
header .header-brand .wordmark{flex:none}
header .header-tagline{font-size:var(--body-copy-size,14px);line-height:1.4;font-weight:400;letter-spacing:0;color:var(--accent-orange);white-space:nowrap}
@media(max-width:1200px){
 header .header-brand{flex-direction:column;align-items:flex-start;gap:4px}
}
@media(max-width:1000px){
 .space-mode header{height:auto;padding:25px 6%;flex-wrap:wrap;column-gap:28px;row-gap:16px}
 .space-mode header>nav{order:3;width:100%;margin:0;gap:24px;overflow-x:auto}
 .space-mode header>.button{margin-left:auto}
}
@media(max-width:520px){
 header .header-brand{flex-basis:100%;width:100%}
 header .header-tagline{max-width:100%;white-space:normal}
}

/* Align the visible lettering, and keep the header action compact. */
header>.button.small{gap:12px;padding-inline:16px}
@media(min-width:1201px){
 header .header-brand .wordmark{line-height:1;transform:translateY(-1px)}
 header .header-tagline{line-height:1.2;transform:translateY(.5px)}
}

/* Supporting links and readable information pages share the site type scale. */
.cta-support{margin-top:12px}
.inline-link{color:var(--accent-orange);text-decoration:underline;text-underline-offset:3px}
.info-grid,.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 40px;margin-top:32px}
.info-page h2 em{font-style:normal;color:var(--accent-orange)}
.info-page h3{font-size:20px;margin:0 0 8px}
.info-page p{font-size:14px;line-height:1.7;margin:0}
.info-page .info-note{margin-top:28px}
.space-mode .space-scene.info-page{top:calc(var(--space-header-height,100px) + 16px);bottom:calc(var(--space-footer-height,50px) + 16px);overflow-y:auto;touch-action:pan-y pinch-zoom;overscroll-behavior:contain}
.space-mode .info-page>.space-content{width:min(100%,1000px);margin:auto;zoom:1!important}
@media(max-width:650px){.info-grid,.contact-grid{grid-template-columns:1fr;gap:20px;margin-top:24px}.space-mode .space-scene.info-page{justify-content:flex-start}.space-mode .info-page>.space-content{margin:0 auto}}
.space-mode main:has(.info-page){touch-action:pan-y pinch-zoom}

/* Hover inertia moves a cover-sized image on the compositor. */
.gallery-mode .gallery-row .art-card img{top:0;left:0;max-width:none;object-fit:fill;object-position:50% 50%;transition:none;will-change:auto}
@media(prefers-reduced-motion:reduce){.gallery-mode .gallery-row .art-card img{transform:var(--gallery-pan,none)!important;will-change:auto}}
