:root{color-scheme:dark;--ink:#f5f9df;--muted:#b3c9c7;--accent:#d4ff44;--panel:rgba(0,32,41,.94)}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:#002b36;color:var(--ink);font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input{font:inherit}button{color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,main:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0;background:none}#viewport{position:fixed;inset:0;overflow:hidden;touch-action:none;outline:none;cursor:default}#world{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none;contain:layout style}.asset{position:absolute;contain:layout style paint;pointer-events:none}.asset img{width:100%;height:100%;display:block;object-fit:fill}.tools{position:fixed;right:max(26px,env(safe-area-inset-right));bottom:max(26px,env(safe-area-inset-bottom));display:flex;gap:4px;padding:6px;border:1px solid #ffffff21;border-radius:22px;background:rgba(0,31,40,.86);box-shadow:0 8px 32px #0002;backdrop-filter:blur(16px)}.tool{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;transition:background .2s,color .2s}.tool:hover{background:#ffffff15}.tool[aria-pressed=true],.tool[aria-expanded=true]{background:var(--accent);color:#002b36}.tool svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.hint{position:fixed;bottom:max(34px,env(safe-area-inset-bottom));left:max(30px,env(safe-area-inset-left));display:flex;gap:16px;align-items:center;padding:16px 18px;border:1px solid #ffffff20;border-radius:20px;background:rgba(0,31,40,.85);backdrop-filter:blur(16px);font-size:14px;transition:opacity .4s,transform .4s;max-width:calc(100vw - 300px)}.hint small{font-size:13px;color:var(--muted)}.hint-symbol{font-size:35px;color:var(--accent)}.hint button,.panel-heading button{font-size:26px;width:30px;height:36px;line-height:1;color:var(--muted)}.hint.gone{opacity:0;transform:translateY(12px);pointer-events:none}.panel{position:fixed;right:max(26px,env(safe-area-inset-right));bottom:calc(max(26px,env(safe-area-inset-bottom)) + 82px);width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 150px);overflow:auto;padding:22px 24px;border:1px solid #ffffff29;border-radius:24px;background:var(--panel);backdrop-filter:blur(24px);box-shadow:0 20px 80px #0004}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.panel h1{font-size:20px;letter-spacing:-.5px;margin:0;font-weight:600}.panel label{display:flex;justify-content:space-between;font-size:14px}.panel output{color:var(--accent);font-variant-numeric:tabular-nums}.panel input[type=range]{width:100%;margin:17px 0 8px;accent-color:var(--accent);cursor:pointer}.range-captions{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.switch-row{align-items:center;padding:22px 0;margin:10px 0 20px;border-bottom:1px solid #ffffff17}.switch-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.switch-row input{appearance:none;width:42px;height:25px;flex-shrink:0;border-radius:20px;background:#4e6870;position:relative;cursor:pointer;transition:background .2s}.switch-row input:before{content:"";position:absolute;left:4px;top:4px;width:17px;height:17px;border-radius:50%;background:#f5f9df;transition:transform .2s}.switch-row input:checked{background:#84a920}.switch-row input:checked:before{transform:translateX(17px)}.wide{width:100%;border:1px solid #ffffff35;padding:12px;border-radius:12px;font-size:14px;margin:20px 0 10px}.panel small{font-size:12px;color:var(--muted)}.panel-note{color:var(--muted);font-size:12px;line-height:1.7;margin:22px 0 0}#notice{position:fixed;left:50%;top:max(90px,env(safe-area-inset-top));transform:translateX(-50%);max-width:calc(100vw - 36px);padding:12px 20px;border-radius:14px;background:var(--panel);border:1px solid #ffffff24;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s}#notice.show{opacity:1}.mobile{display:none!important}[hidden]{display:none!important}@media(pointer:coarse),(max-width:700px){.mobile{display:block!important}.tool.mobile{display:grid!important}.tools{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));border-radius:21px}.hint{left:16px;bottom:calc(100px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);padding:12px 16px;font-size:14px}.hint-symbol{font-size:30px}.panel{right:16px;bottom:calc(94px + env(safe-area-inset-bottom));padding:20px 22px;max-height:calc(100dvh - 190px)}.tool{width:46px;height:46px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.hint{transition:none}}

/* Fixed foreground, preserving the original alpha aperture and the full logo on every aspect ratio. */
#viewport{z-index:0}#foreground{position:fixed;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}.tools,.hint{z-index:4}.panel{z-index:5}#notice{z-index:6}

/* Exact Photoshop glyphs, at half their previous size, in a centred row. */
:root{--paper:#f8f6f3;--header-height:clamp(64px,4.5vw,90px)}
html,body{background:var(--paper)}
.site-header{position:fixed;inset:0 0 auto;height:var(--header-height);z-index:3;background:var(--paper);color:#000}
.header-inner{position:relative;width:100%;height:100%;max-width:2000px;margin:0 auto}

.main-menu{position:absolute;left:50%;top:0;height:100%;transform:translateX(-50%);display:flex;align-items:center;gap:min(2.2vw,44px);width:max-content}
.menu-item{position:relative;display:block;flex:none;aspect-ratio:var(--word-width)/var(--word-height);cursor:default;touch-action:manipulation;outline-offset:9px;-webkit-tap-highlight-color:transparent}
.menu-item::before{content:"";position:absolute;inset:-14px -10px}
.menu-item:focus-visible{outline:2px solid #000;border-radius:2px}
.menu-letter{position:absolute;display:block;background-color:#000;-webkit-mask-image:var(--glyph);mask-image:var(--glyph);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;transition:none;transform-origin:50% 60%;pointer-events:none}
.menu-collectibles{width:min(7.7285714vw,154.571428px)}
.menu-paintings{width:min(7.2857143vw,145.714286px)}
.menu-goodman{width:min(5.0142857vw,100.285714px)}
.menu-contact{width:min(5.3285714vw,106.571428px);transform:translateY(-12.5%)}
#foreground{inset:var(--header-height) 0 0;height:calc(100% - var(--header-height))}
@media(max-width:700px){
 :root{--header-height:68px}

 .main-menu{left:20px;right:20px;top:0;width:auto;height:100%;transform:none;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;column-gap:16px;row-gap:0;padding:13px 0;justify-items:center;align-items:center}
 .menu-item{width:auto}
 .menu-collectibles{height:12.5px}.menu-paintings{height:15.5px}.menu-goodman{height:18.5px}.menu-contact{height:15px;transform:translateY(-17%)}
}
@media(max-width:359px){.main-menu{left:16px;right:16px;column-gap:12px}.menu-collectibles{height:11px}.menu-paintings{height:12px}.menu-goodman{height:16px}.menu-contact{height:12px}}
@media(orientation:landscape) and (max-height:500px) and (min-width:701px){:root{--header-height:65px}.header-inner{max-width:1100px}}

/* Scale the entire word separately from each letter and contact's alignment. */
.menu-item{scale:1;transform-origin:center;transition:scale .16s ease-out}
@media(hover:hover) and (pointer:fine){.menu-item:hover{scale:1.2}}
.menu-item:focus-visible{scale:1.2}
@media(prefers-reduced-motion:reduce){.menu-item{transition:none}}
