/* V3.8 — film first, compact glass controls, a consistent gallery rhythm. */
.gallery-page{background:#08090b;color:#f5f5f7}.gallery-page .nav{top:30px;position:absolute;background:linear-gradient(145deg,#ffffff0c,transparent),#202125a6;border-color:#ffffff24;box-shadow:inset 0 1px 0 #ffffff1a,0 8px 30px #0002}
.gallery-page #galleryStage{scroll-margin-top:16px}.gallery-page .gallery-stage{margin:16px;height:calc(100svh - 32px);min-height:660px;max-height:1200px;border:1px solid #ffffff17;border-radius:30px;background:#0d0e11;isolation:isolate;outline:none}.gallery-stage:focus-visible{outline:2px solid #8cbdf6;outline-offset:-4px}
.stage-atmosphere{position:absolute;inset:-50px;z-index:-4;background-size:cover;background-position:center;opacity:.42;filter:blur(52px) saturate(.6);transition:background-image .6s;transform:scale(1.08)}
.gallery-page .stage-media{inset:91px 0 171px;z-index:-2;overflow:hidden}.gallery-page .stage-media video,.stage-media #stagePoster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:transparent;transition:opacity .4s,filter .5s;filter:none}.stage-media #stagePoster{opacity:1}.gallery-page .stage-media video{opacity:0}.video-ready .stage-media video{opacity:1}.video-ready .stage-media #stagePoster{opacity:0}.gallery-page .stage-shade{background:linear-gradient(0deg,#08090bc9,transparent 38%,transparent 80%,#08090b90);z-index:-1}
.gallery-page .stage-top{top:28px;left:32px;right:32px;align-items:center;letter-spacing:0;text-shadow:none;gap:12px}.stage-top h1{font-size:17px;font-weight:500;line-height:1.4;margin:0;display:flex;flex-direction:column;gap:4px}.stage-top h1 span{font-size:10px;letter-spacing:.035em;font-weight:400;color:#b3b5bd}.gallery-page #stageCounter{font-size:12px;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#c7c9d1}
.gallery-dock{position:absolute;left:24px;right:24px;bottom:20px;z-index:4;padding:23px 25px 17px;border:1px solid #ffffff2b;border-radius:25px;background:linear-gradient(140deg,#ffffff0c,transparent 48%),rgba(21,22,27,.64);backdrop-filter:blur(32px) saturate(.65);-webkit-backdrop-filter:blur(32px) saturate(.65);box-shadow:inset 0 1px 0 #ffffff1b,0 12px 35px #0003;overflow:hidden}
.dock-main{display:flex;justify-content:space-between;align-items:center;gap:25px}.gallery-page .stage-info{position:static;inset:auto;max-width:none;min-width:0;flex:1}.stage-info #stageCategory{font-size:10px;letter-spacing:.025em;color:#b7bac3;line-height:1.5;display:block}.gallery-page .stage-info h2{font-size:clamp(23px,2.5vw,35px);font-weight:550;line-height:1.3;letter-spacing:-.025em;margin:7px 0 0;text-wrap:balance}
.dock-actions,.transport{display:flex;align-items:center;gap:8px;flex-shrink:0}.dock-actions{gap:19px}.gallery-page .stage-watch{position:static;inset:auto;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 20px;border-radius:999px;background:linear-gradient(145deg,#fff,#e5e7ec);color:#1d1d1f;border:1px solid #fff9;font-size:13px;line-height:24px;font-weight:500;box-shadow:inset 0 1px 0 #fff,0 5px 18px #0002;backdrop-filter:none;transition:transform .25s,box-shadow .25s}.gallery-page .stage-watch .play-disc{width:21px;height:21px;min-width:21px;padding:0;border:0;background:none;box-shadow:none}.stage-watch .play-disc svg{width:20px;height:20px}.stage-watch:hover{transform:translateY(-2px);box-shadow:0 7px 22px #0004}
.transport button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff25;border-radius:50%;background:#ffffff09;color:#e5e6eb;padding:0;transition:background .25s,transform .25s}.transport button svg{width:18px;height:18px}.transport button:hover:not(:disabled){background:#ffffff22;transform:translateY(-2px)}.transport button:disabled{opacity:.25;cursor:default}
.dock-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding-top:14px;border-top:1px solid #ffffff16}.gallery-category-root{width:390px;max-width:100%;min-width:0}.gallery-categories{width:100%;--gn-muted:#b9bcc6!important;--gn-ink:#fff!important}.gallery-categories .gooey-nav__stage{width:100%}.gallery-categories .gooey-nav__list{width:100%;flex-wrap:nowrap;gap:3px}.gallery-categories .gooey-nav__item{flex:1;min-width:0}.gallery-categories .gooey-nav__link{width:100%;justify-content:center;min-height:35px;line-height:19px;font-size:12px;padding:8px 12px;letter-spacing:0}.gallery-categories .gooey-nav__canvas{max-width:none}.gallery-categories .gooey-nav__list--active .gooey-nav__link{color:var(--gn-active-ink)}
.gallery-dock .category-nav{width:auto;border:0;margin:0;padding:0;gap:15px}.gallery-dock .category-nav a{font-size:12px}.preview-meta{display:flex;align-items:center;gap:16px;color:#a9acb5;font-size:10px;white-space:nowrap}.preview-meta #previewStatus:before{content:'';display:inline-block;vertical-align:middle;width:4px;height:4px;border-radius:50%;background:#c4d5eb;margin-right:7px}.is-paused .preview-meta #previewStatus:before{background:#747983}#previewTime{font-variant-numeric:tabular-nums;letter-spacing:.7px}.stage-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#ffffff08;overflow:hidden}.stage-progress i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:#e0e8f4;transition:transform .3s linear}
.is-switching .stage-info{animation:gallery-title-in .55s cubic-bezier(.2,.8,.2,1) both}.is-switching .stage-media{animation:gallery-frame-in .6s ease both}@keyframes gallery-title-in{from{opacity:.3;transform:translateY(7px);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}@keyframes gallery-frame-in{from{opacity:.25;transform:scale(1.012)}to{opacity:1;transform:scale(1)}}
.gallery-page .gallery-index,.gallery-page .gallery-next{width:calc(100% - 80px);max-width:1540px;margin-inline:auto}.gallery-page .gallery-index{padding:43px 0 54px}.gallery-page .index-heading{padding:0 0 19px;margin:0;border:0}.index-heading h2,.next-heading h2{display:flex;align-items:baseline;gap:13px;font-size:21px;font-weight:500;letter-spacing:-.02em;line-height:1.4}.index-heading h2 span,.next-heading h2 span{font-size:12px;font-weight:400;letter-spacing:0;color:#7e828d}.gallery-page #indexCount{font-size:12px;letter-spacing:1px;color:#8a8f9a}
.gallery-page .project-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:27px 22px}.gallery-page .project-tile{display:block;opacity:1;min-width:0;background:none;border:0;border-radius:0;padding:0;box-shadow:none;transition:transform .3s}.tile-image{position:relative;overflow:hidden;aspect-ratio:16/10;border-radius:17px;background:#181a20;border:1px solid #ffffff10;transition:box-shadow .3s,border-color .3s}.gallery-page .project-tile img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border:0;display:block;opacity:.8;transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .4s}.gallery-page .project-tile:hover{transform:translateY(-3px)}.gallery-page .project-tile:hover img{transform:scale(1.045);opacity:1}.gallery-page .project-tile[aria-current=true]{background:none;box-shadow:none;border:0}.gallery-page .project-tile[aria-current=true] .tile-image{border-color:#ffffff70;box-shadow:0 0 0 3px #ffffff09}.gallery-page .project-tile[aria-current=true] img{opacity:1;border:0}.tile-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:12px}.gallery-page .project-tile strong{font-size:14px;font-weight:450;line-height:1.5;margin:0;color:#e6e8ee}.tile-caption>span{font-size:16px;color:#7e838e;transition:transform .3s}.project-tile:hover .tile-caption>span{transform:translate(2px,-2px);color:white}.gallery-page .project-tile small{font-size:10px;line-height:1.5;letter-spacing:.4px;margin-top:5px;color:#818692}.gallery-page .project-tile .tile-playing{top:10px;left:10px;z-index:2;background:#18191da6;border:1px solid #ffffff24;backdrop-filter:blur(16px);border-radius:999px;padding:5px 9px;font-size:9px}.tile-play{position:absolute;inset:auto 12px 12px auto;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff38;border-radius:50%;background:#1d1d1f55;backdrop-filter:blur(16px);color:white;opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s}.tile-play svg{width:17px;height:17px}.project-tile:hover .tile-play,.project-tile:focus-visible .tile-play{opacity:1;transform:none}
.gallery-page .gallery-next{border-top:1px solid #ffffff14;padding:33px 0 55px}.next-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.gallery-page .next-heading h2{font-size:21px;margin:0}.next-heading>span{font-size:11px;color:#747985}.next-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.next-placeholder{position:relative;height:175px;background:linear-gradient(135deg,#e8e9ec,#cfd2d8);border:1px solid #fff5;border-radius:19px;color:#5d626c;overflow:hidden}.next-placeholder:last-child{background:linear-gradient(135deg,#d8dbe1,#b8bdc7)}.next-cross{position:absolute;top:50%;left:50%;transform:translate(-50%,-60%);font-size:34px;font-weight:200;color:#9197a2}.next-placeholder>div{position:absolute;left:22px;right:22px;bottom:19px;display:flex;justify-content:space-between;align-items:baseline;font-size:13px}.next-placeholder>div span{font-size:10px;color:#828893}.gallery-page footer{font-size:10px;padding-block:27px}.gallery-page #filmDialog{background:#050506}.gallery-page .film-toolbar{position:absolute;top:18px;left:20px;right:20px;height:auto;min-height:56px;padding:10px 13px 10px 20px;border:1px solid #ffffff20;border-radius:18px;background:#1b1d248f;backdrop-filter:blur(24px);z-index:2}.film-toolbar h2{font-size:13px!important}.film-toolbar button{border-radius:999px!important;border:1px solid #ffffff30!important;background:#ffffff08!important;padding:9px 14px!important}.gallery-page #filmVideo{height:100svh;width:100%;object-fit:contain}
@media(min-width:1600px){.gallery-page .project-rail{grid-template-columns:repeat(6,minmax(0,1fr))}.gallery-dock{left:40px;right:40px;bottom:30px}}
@media(max-width:900px){.gallery-page .stage-top{top:94px}.gallery-page .stage-media{inset:140px 0 194px}.dock-actions{gap:12px}.gallery-dock{padding:20px}.gallery-page .stage-info h2{font-size:25px}.gallery-page .stage-watch{padding-inline:15px}.transport button{width:36px;height:36px}.gallery-category-root{width:350px}.preview-meta{gap:8px}}
@media(max-width:700px){.gallery-page .nav{top:21px}.gallery-page .gallery-stage{margin:8px;height:calc(100svh - 16px);min-height:680px;max-height:1000px;border-radius:24px}.gallery-page #galleryStage{scroll-margin-top:8px}.gallery-page .stage-top{top:89px;left:20px;right:20px}.stage-top h1{font-size:16px;flex-direction:row;align-items:baseline;gap:9px}.stage-top h1 span{font-size:10px}.gallery-page #stageCounter{font-size:10px;letter-spacing:.4px}.gallery-page .stage-media{inset:125px 0 252px}.stage-atmosphere{opacity:.35}.gallery-dock{left:12px;right:12px;bottom:12px;padding:17px 16px 15px;border-radius:21px}.dock-main{display:block}.gallery-page .stage-info h2{font-size:24px;line-height:1.25;margin-top:7px;letter-spacing:-.02em}.stage-info #stageCategory{font-size:9px}.dock-actions{justify-content:space-between;gap:10px;margin-top:17px}.gallery-page .stage-watch{min-height:40px;padding:8px 15px;font-size:12px;gap:8px;line-height:22px}.gallery-page .stage-watch .play-disc{width:18px;height:18px;min-width:18px}.stage-watch .play-disc svg{width:17px;height:17px}.transport{gap:6px}.transport button{width:34px;height:34px}.transport button svg{width:16px;height:16px}.dock-bottom{display:block;margin-top:15px;padding-top:10px}.gallery-category-root{width:100%}.gallery-categories .gooey-nav__list{gap:2px}.gallery-categories .gooey-nav__link{font-size:11px;line-height:18px;min-height:34px;padding:8px 5px}.preview-meta{justify-content:space-between;margin-top:11px;font-size:9px}.gallery-page .gallery-index,.gallery-page .gallery-next{width:calc(100% - 40px)}.gallery-page .gallery-index{padding:32px 0 36px}.gallery-page .project-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.tile-image{border-radius:13px;aspect-ratio:4/3}.gallery-page .project-tile strong{font-size:12px}.gallery-page .project-tile small{font-size:9px}.tile-caption{margin-top:9px;gap:5px}.tile-caption>span{font-size:14px}.gallery-page .project-tile .tile-playing{top:7px;left:7px;font-size:8px;padding:4px 6px}.tile-play{display:none}.index-heading h2,.gallery-page .next-heading h2{font-size:19px;gap:9px}.index-heading h2 span,.next-heading h2 span{font-size:10px}.gallery-page .gallery-next{padding:27px 0 36px}.next-grid{gap:12px}.next-placeholder{height:145px;border-radius:15px}.next-placeholder>div{left:14px;right:14px;bottom:14px;display:block;font-size:12px}.next-placeholder>div span{display:block;margin-top:3px;font-size:9px}.gallery-page .film-toolbar{top:12px;left:12px;right:12px;padding:8px 10px 8px 14px;gap:12px;border-radius:16px}.film-toolbar h2{font-size:11px!important;line-height:1.5}.film-toolbar button{font-size:11px!important;padding:8px 10px!important;white-space:nowrap}.gallery-page .gallery-description{display:none}}
@media(prefers-reduced-motion:reduce){.gallery-page *{animation:none!important;scroll-behavior:auto!important}.gallery-page .stage-media video,.gallery-page #stagePoster,.gallery-page .project-tile,.gallery-page .project-tile img,.stage-progress i{transition:none}.gallery-page .project-tile:hover,.gallery-page .project-tile:hover img{transform:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.gallery-dock{background:#202126}.film-toolbar{background:#202126}}

/* Keep the entire original frame above the responsive control dock. */
.gallery-page .stage-media{bottom:var(--preview-bottom,202px)}
/* V3.9 — full-canvas presentation, transient floating controls. */
.gallery-page .gallery-stage{height:calc(100svh - 16px);margin:8px;border-radius:24px;min-height:520px;max-height:none}
.gallery-page .stage-media{inset:0;bottom:0}.gallery-page .stage-shade{background:linear-gradient(0deg,#08090b88,transparent 27%,transparent 80%,#08090b55);transition:opacity .6s}
.gallery-page .gallery-dock{left:50%;right:auto;bottom:24px;width:calc(100% - 64px);max-width:1040px;padding:17px 21px 13px;border-radius:23px;transform:translateX(-50%);background:linear-gradient(145deg,#ffffff0c,transparent),#141820a6;transition:opacity .45s,transform .55s,visibility .45s;box-shadow:inset 0 1px 0 #ffffff20,0 12px 40px #0006}
.gallery-page .stage-info h2{font-size:clamp(22px,2.2vw,29px);margin-top:4px}.gallery-page .dock-bottom{margin-top:13px;padding-top:10px}.gallery-page .stage-watch{min-height:42px;padding:8px 17px}.gallery-page .transport button{width:35px;height:35px}.gallery-page .stage-top{top:32px}.gallery-page .stage-top,.gallery-page .nav{transition:opacity .45s,transform .55s}
.gallery-idle .gallery-dock{opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,18px)}.gallery-idle .stage-top,.gallery-idle .nav{opacity:0;pointer-events:none}.gallery-idle .stage-shade{opacity:0}.gallery-idle .gallery-stage{cursor:none}.gallery-page .nav:focus-within{opacity:1;pointer-events:auto}
@media(max-width:900px){.gallery-page .stage-top{top:94px}.gallery-page .gallery-dock{width:calc(100% - 40px)}}
@media(max-width:700px){.gallery-page .gallery-stage{min-height:600px}.gallery-page .gallery-dock{width:calc(100% - 24px);bottom:12px;padding:14px;border-radius:21px}.gallery-page .stage-info h2{font-size:22px}.gallery-page .dock-actions{margin-top:12px}.gallery-page .dock-bottom{margin-top:12px;padding-top:8px}.gallery-page .preview-meta{margin-top:7px}.gallery-page .stage-watch{min-height:38px;padding:7px 14px}.gallery-page .stage-top{left:20px;right:20px}}
@media(prefers-reduced-motion:reduce){.gallery-page .gallery-dock,.gallery-page .nav,.gallery-page .stage-top,.gallery-page .stage-shade{transition:none}}
.gallery-category-root{width:490px}.is-product .stage-media video{display:none}.is-product .stage-media #stagePoster{opacity:1;object-fit:contain}.is-product .stage-media{inset:100px 6% 190px}.is-product .stage-progress{display:none}.gallery-dock [hidden]{display:none!important}
@media(max-width:700px){.gallery-category-root{width:100%}.gallery-categories .gooey-nav__link{font-size:10px;padding-inline:3px}.is-product .stage-media{inset:140px 5% 240px}}
