/* Interactive implementation of the approved desk concept. */
.desk-home .glass-panel,.desk-home .glass-pill{box-sizing:border-box;background:linear-gradient(145deg,#ffffff14,#ffffff03),#28211bd9;border:1px solid #ffffff35;box-shadow:inset 0 1px 0 #ffffff15,0 12px 35px #0003;backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%);color:#fff;font-family:'DM Sans',Arial,sans-serif}
.desk-home .glass-panel{border-radius:18px}.desk-home .glass-pill{border-radius:99px;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 16px;font-size:13px;line-height:1.2;cursor:pointer}
.desk-home button:focus-visible,.desk-home a:focus-visible{outline:2px solid #ff8da3;outline-offset:4px}
.desk-intro{position:absolute;left:79%;top:21%;width:20%;padding:12px;z-index:6}
.desk-intro h2{font:500 clamp(12px,1.4cqw,22px)/1.35 'DM Sans',Arial,sans-serif;text-transform:none;letter-spacing:-.02em;color:#fff;margin:0}
.desk-intro p{font-size:clamp(8px,.8cqw,12px);line-height:1.5;color:#e4dfd9;margin:7px 0 0}
.desk-note-copy{appearance:none;border:0;background:none;padding:2px;cursor:pointer;pointer-events:auto;z-index:3;display:flex;flex-direction:column;gap:0;justify-content:center;align-items:center;font-size:1.28cqw;line-height:1.05}
.desk-note-copy .note-arrow{font-size:1.6em;line-height:.75;margin-top:4px;transform:rotate(14deg)}
.desk-about{left:34%;top:74%;width:36%;height:48%;border-radius:45%}
.desk-about .desk-tag{position:absolute;right:-5%;top:40%;bottom:auto}
.desk-about:focus-visible{outline-offset:-8px}
.desk-contact{isolation:isolate}
.dialler-screen{position:absolute;left:5%;top:4%;width:90%;height:88%;box-sizing:border-box;border-radius:5px;background:#080a0d;color:#fff;transform:rotate(7deg);display:flex;align-items:center;flex-direction:column;padding:13% 5% 4%;pointer-events:none;font-family:Arial,sans-serif;font-size:.5cqw;box-shadow:0 0 0 1px #ffffff10}
.dialler-number{font-size:.56cqw;font-weight:500;white-space:nowrap;margin-bottom:13%}
.dialler-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;width:85%}
.dialler-keys>span{display:grid;place-items:center;border-radius:50%;background:#28292d;aspect-ratio:1;line-height:1}
.dialler-call{display:grid;place-items:center;border-radius:50%;background:#34c759;width:24%;aspect-ratio:1;margin-top:8%;font-size:.58cqw}
.desk-contact .desk-tag{z-index:3;position:absolute;bottom:0;white-space:nowrap}
.desk-mode-control{position:absolute;left:23.8%;top:20.7%;z-index:8;min-height:36px}
.mode-switch{width:30px;height:18px;border-radius:20px;background:#ff385c;position:relative;flex-shrink:0}
.mode-switch::after{content:'';position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.desk-mode-control[aria-pressed=false] .mode-switch{background:#777}.desk-mode-control[aria-pressed=false] .mode-switch::after{transform:translateX(-12px)}
.desk-show-links{position:fixed;left:24px;bottom:22px;z-index:30;min-height:44px}
.desk-show-links[aria-pressed=true]{background:#3a3029ed;border-color:#ffffff60}
.labels-shown .desk-object .desk-tag{visibility:visible;opacity:1;transform:translateY(14px)}
.desk-mobile-shortcuts{display:none!important}
.desk-work-tray{position:absolute;left:35%;top:15.5%;width:42%;padding:14px;z-index:15}
.desk-work-tray[hidden]{display:none}
.tray-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.tray-heading h2{font:500 17px/1.25 'DM Sans',Arial,sans-serif;color:#fff;text-transform:none;letter-spacing:0;margin:0;white-space:nowrap}
.desk-home .tray-heading a{font-size:10px;color:#ddd8d4;text-decoration:none;margin-left:auto;white-space:nowrap}.tray-heading a span{font-size:18px;vertical-align:-1px;margin-left:4px}
.tray-close{width:28px;height:28px;flex-shrink:0;display:grid;place-items:center;color:#fff;background:transparent;border:0;border-radius:50%;font-size:24px;cursor:pointer;padding:0}
.tray-close:hover{background:#ffffff15}
.tray-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.desk-home .tray-project{color:#fff;text-decoration:none;padding:7px;background:#ffffff05;border:1px solid #ffffff16;border-radius:12px;min-width:0;transition:background .15s,border-color .15s}
.tray-project:hover{background:#ffffff12;border-color:#ffffff55}
.tray-thumbnail{height:clamp(48px,6.3cqw,100px);overflow:hidden;background:#d5d8dd;border-radius:8px;margin-bottom:8px;display:grid;place-items:center}
.tray-thumbnail img{width:100%;height:100%;display:block;object-fit:contain}.hays-thumb img{object-fit:cover;object-position:top}.hsbc-thumb{background:#efe6e6}.allianz-thumb{background:#dce7ed}
.tray-project h3{font-size:clamp(11px,1.15cqw,17px);line-height:1.2;font-weight:500;letter-spacing:0;margin:0 0 3px;color:#fff;white-space:nowrap}
.tray-project p{font-size:clamp(9px,.92cqw,13px);line-height:1.35;margin:0;color:#d6d0c9}.tray-project .tray-type{margin-bottom:4px;color:#f2eee9}
@media(min-aspect-ratio:3/4) and (max-aspect-ratio:4/3){
 .desk-intro{left:53%;top:32%;width:20%;padding:10px}.desk-intro h2{font-size:1.9cqw}.desk-intro p{font-size:1.25cqw}
 .desk-about{left:26%;top:76%;width:48%;height:42%}
 .desk-mode-control{left:25%;top:25%;min-height:36px;font-size:11px;padding:8px 12px!important}
 .desk-work-tray{left:23%;top:24%;width:53%}
 .work-open .desk-intro{visibility:hidden}
 .desk-note-copy{font-size:max(13px,1.7cqw)}
 .dialler-screen{transform:rotate(11deg);font-size:.85cqw}.dialler-number{font-size:.75cqw}.dialler-call{font-size:.9cqw}
}
@media(max-aspect-ratio:3/4){
 html:has(body.desk-home),body.desk-home{height:auto;overflow-y:auto;overflow-x:hidden}
 .desk-home #main{height:auto}
 .desk-scene{max-height:none}
 .desk-intro{left:0;top:-122px;width:100%;padding:14px 16px;border-radius:16px!important}
 .desk-intro h2{font-size:17px;line-height:1.3}.desk-intro p{font-size:10px;line-height:1.5;margin-top:7px}
 .desk-show-links{position:absolute;top:108px;left:10%;bottom:auto;font-size:11px!important;min-height:28px;padding:7px 11px!important}
 .desk-mode-control{left:40%;top:8.8%;min-height:32px;font-size:10px!important;padding:7px 10px!important;gap:6px!important}
 .mode-switch{width:25px;height:16px}.mode-switch::after{width:12px;height:12px}.desk-mode-control[aria-pressed=false] .mode-switch::after{transform:translateX(-9px)}
 .desk-about{left:22%;top:75%;width:56%;height:36%}.desk-about .desk-tag{right:-12%;top:30%}
 .desk-note-copy{font-size:10px;left:40%;top:32%;width:13.6%;height:6.4%}
 .dialler-screen{width:62%;left:26%;height:96%;top:0;transform:rotate(12deg);font-size:1.05cqw;padding-top:12%}
 .dialler-number{font-size:1.04cqw}.dialler-keys{gap:1px}.dialler-call{font-size:1.1cqw;margin-top:5%}
 .desk-mobile-shortcuts{display:flex!important;position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(320px,calc(100% - 40px));padding:7px!important;z-index:30;background:#2c231ce8!important}
 .desk-mobile-shortcuts a,.desk-mobile-shortcuts button{display:grid;place-items:center;flex:1;min-height:42px;border:0;border-radius:99px;color:#fff;background:transparent;font:500 13px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer}
 .quick-work{background:#ffffff0d!important}.quick-work::before{content:' ';width:6px;height:6px;border-radius:50%;background:#ff385c;display:inline-block}.quick-work{display:flex!important;align-items:center;justify-content:center;gap:7px}
 .desk-work-tray{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 32px);max-width:430px;max-height:calc(100svh - 100px);overflow-y:auto;padding:18px;background:#27211bef!important;z-index:40}
 .tray-heading{flex-wrap:wrap;margin-bottom:14px}.tray-heading h2{font-size:19px}.tray-heading a{font-size:11px!important}.tray-close{width:24px}
 .tray-projects{grid-template-columns:1fr;gap:10px}
 .tray-project{display:grid;grid-template-columns:90px 1fr;column-gap:12px;padding:9px!important}
 .tray-thumbnail{grid-column:1;grid-row:1/4;height:86px;margin:0}.tray-project h3{font-size:15px;white-space:normal;align-self:end}.tray-project p{font-size:12px;line-height:1.4}
 .work-open .desk-intro{visibility:visible}
}
@media(prefers-reduced-motion:reduce){.mode-switch::after,.tray-project{transition:none}}
/* One photograph keeps the rug and objects identical in both lighting modes. */
.desk-day,.lamp-off .desk-day{opacity:1;filter:none;transition:filter .45s ease}
.lamp-off .desk-day{filter:brightness(.66) saturate(.88)}
.desk-scene picture:first-of-type{--photo-front:var(--day-photo-front,var(--desk-front))}
.lamp-off .desk-scene::after{background:radial-gradient(ellipse 55% 70% at var(--light-x) var(--light-y),#ffc26b50 0%,#e6a34212 25%,#07102035 60%,#03081380 100%)}
.desk-loader{position:fixed;inset:0;z-index:100;background:radial-gradient(ellipse at 50% 45%,#38281d,#141311 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f7ead9;font:500 16px/1.5 'DM Sans',sans-serif;transition:opacity .35s ease,visibility .35s ease}
.desk-loader.is-ready{opacity:0;visibility:hidden;pointer-events:none}
.loader-lamp{font-size:42px;color:#ffd18a;text-shadow:0 0 35px #ffb047;animation:lamp-breathe 1.5s ease-in-out infinite}
.loader-track{height:3px;width:120px;border-radius:3px;background:#ffffff18;overflow:hidden}
.loader-track::after{content:'';display:block;width:45%;height:100%;background:#ffd18a;animation:desk-loading 1.4s ease-in-out infinite}
@keyframes lamp-breathe{50%{opacity:.5;text-shadow:0 0 10px #ffb047}}
@keyframes desk-loading{from{transform:translateX(-100%)}to{transform:translateX(325%)}}
@media(prefers-reduced-motion:reduce){.loader-lamp,.loader-track::after{animation:none}.desk-loader{transition:none}}
.lamp-off .desk-lamp::before{content:'';position:absolute;width:220%;height:160%;left:0;top:-60%;background:radial-gradient(ellipse,#ffb64b66,transparent 70%);filter:blur(12px);pointer-events:none}
.lamp-off .desk-lamp::after{content:'';position:absolute;left:8%;top:-85%;width:155%;height:5%;border-radius:9px;background:#fff2cc;box-shadow:0 0 8px 3px #ffbb60;pointer-events:none}
@media(max-aspect-ratio:3/4){.lamp-off .desk-lamp::after{left:60%;top:-65%;width:180%}}
@media(min-aspect-ratio:4/3){.lamp-off .desk-lamp::after{left:95%;width:170%}}
/* Keep the dialler contained within the photographed handset at every breakpoint. */
.dialler-screen{left:10%;top:8%;width:82%;height:80%;padding:8% 7% 5%;overflow:hidden;clip-path:inset(0 round 5px);display:grid;grid-template-rows:18% 64% 18%;gap:0;align-items:center;justify-items:center;transform:rotate(9deg);box-shadow:none}
.dialler-number{font-size:.48cqw;margin:0;max-width:100%;line-height:1;letter-spacing:-.03em}
.dialler-keys{width:100%;height:100%;min-height:0;grid-template-rows:repeat(4,minmax(0,1fr));gap:2px}
.dialler-keys>span{aspect-ratio:auto;min-height:0;font-size:.45cqw}
.dialler-call{margin:0;align-self:center;width:22%;font-size:.45cqw;line-height:1}
/* Position the lamp's light strip on the head, rather than on its arm. */
.lamp-off .desk-lamp::after{left:105%;top:-87%;width:145%;height:4%}
@media(min-aspect-ratio:3/4) and (max-aspect-ratio:4/3){
 .dialler-screen{left:8%;top:8%;width:82%;height:78%;transform:rotate(11deg)}
 .dialler-number{font-size:.65cqw}.dialler-keys>span,.dialler-call{font-size:.65cqw}
 .lamp-off .desk-lamp::after{left:85%;top:-99%;width:155%;height:5%}
}
@media(max-aspect-ratio:3/4){
 .dialler-screen{left:26%;top:8%;width:57%;height:78%;transform:rotate(12deg);padding:7% 4% 4%}
 .dialler-number{font-size:.9cqw}.dialler-keys>span,.dialler-call{font-size:.85cqw}.dialler-keys{gap:1px}
 .lamp-off .desk-lamp::after{left:92%;top:-79%;width:180%;height:4%}
 .desk-show-links{top:12px;left:12px;z-index:30}
 .desk-tag{max-width:calc(100vw - 32px);box-sizing:border-box}
}
/* Avoid filtering/rasterising the complete interactive scene. */
.desk-scene{filter:none}
.desk-photo{object-fit:contain;image-rendering:auto}
@media(max-aspect-ratio:3/4){
 .lamp-off .desk-lamp::after{left:10%;top:-43%;width:155%;height:3%}
 .desk-note-copy{top:29.8%;left:39%;font-size:8px;line-height:1.04;height:6.4%;width:13.6%;padding:1px}
 .desk-note-copy .note-arrow{font-size:12px;margin-top:1px}
}
/* Match the lighting mask to the shared photograph, including its rug edge. */
.desk-scene::after{--photo-front:var(--day-photo-front,var(--desk-front))}
@media(min-aspect-ratio:4/3){.desk-scene::after{--rug-bottom:95%}}
/* Deeper nighttime ambience; the lamp and interface remain readable. */
.lamp-off .desk-day{filter:brightness(.52) saturate(.82)}
.lamp-off .desk-hero::before{filter:brightness(.17) saturate(.65)}
/* Modern LED task lamp: a broad, soft pool of light over the work surface. */
.lamp-off .desk-scene::after{background:radial-gradient(ellipse 70% 85% at 38% 25%,#ffd39360 0%,#efb86228 32%,#07102024 65%,#03081380 100%)}
.lamp-off .desk-lamp::before{left:-100%;top:-100%;width:700%;height:450%;background:radial-gradient(ellipse,#ffc77744 0%,#ffb84b1a 40%,transparent 72%);filter:blur(20px)}
.lamp-off .desk-lamp::after{left:30%;top:-81%;width:325%;height:4%;background:#fff1cf;box-shadow:0 0 9px 3px #ffbd65}
@media(min-aspect-ratio:3/4) and (max-aspect-ratio:4/3){.lamp-off .desk-lamp::after{left:63%;top:-99%;width:230%;height:4%}}
@media(max-aspect-ratio:3/4){.lamp-off .desk-lamp::after{left:70%;top:-44%;width:136%;height:3%}.lamp-off .desk-lamp::before{width:500%;height:350%;left:-80%;top:-60%}}
/* Bird's-eye view: the down-facing LED is hidden beneath its opaque housing. */
.lamp-off .desk-lamp::after{display:none}
/* Neutral-white task lighting, concentrated above the seated person. */
.lamp-off .desk-scene::after{background:radial-gradient(ellipse 52% 42% at 38% 20%,#ffffff50 0%,#eef4ff20 32%,transparent 65%),linear-gradient(transparent 40%,#03081355 75%,#03081380)}
.lamp-off .desk-lamp::before{left:-70%;top:-100%;width:620%;height:320%;background:radial-gradient(ellipse,#ffffff38 0%,#edf3ff14 38%,transparent 72%);filter:blur(20px)}
@media(max-aspect-ratio:3/4){.lamp-off .desk-scene::after{background:radial-gradient(ellipse 65% 30% at 42% 20%,#ffffff50 0%,#eef4ff20 32%,transparent 70%),linear-gradient(transparent 45%,#03081355 75%,#03081380)}.lamp-off .desk-lamp::before{width:450%;height:260%;left:-60%;top:-60%}}
/* Soft 3500K-style task light: gently warm neutral white, focused on the desktop. */
.lamp-off .desk-scene::after{background:radial-gradient(ellipse 48% 34% at 40% 35%,#fff2dd42 0%,#fff0d51a 34%,transparent 68%),linear-gradient(transparent 40%,#03081355 75%,#03081380)}
.lamp-off .desk-lamp::before{left:-70%;top:-75%;width:600%;height:300%;background:radial-gradient(ellipse,#fff2dd2a 0%,#fff0d50f 38%,transparent 72%);filter:blur(20px)}
@media(max-aspect-ratio:3/4){.lamp-off .desk-scene::after{background:radial-gradient(ellipse 65% 28% at 42% 38%,#fff2dd42 0%,#fff0d51a 34%,transparent 70%),linear-gradient(transparent 45%,#03081355 75%,#03081380)}.lamp-off .desk-lamp::before{width:450%;height:260%;left:-60%;top:-60%}}
/* Midnight illumination is photographed into the scene; no artificial glow layers. */
.desk-day,.lamp-off .desk-day{filter:none;opacity:1}
.desk-scene::after,.lamp-off .desk-scene::after,.desk-lamp::before,.lamp-off .desk-lamp::before,.desk-lamp::after,.lamp-off .desk-lamp::after{display:none}
.lamp-off .desk-hero::before{filter:brightness(.15) saturate(.8)}
