:root{--desk:#fb5607}
@font-face{font-family:'Desk Garamond';src:url('/paper-desk/assets/fonts/EBGaramond.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
*{box-sizing:border-box}html{background:#fb5607}body{--ink:#352d26;--fiber:.19;--shadow:rgba(68,38,19,.17);margin:0;color:var(--ink);background:var(--desk);font:12px/1.5 'Courier New','Microsoft YaHei',monospace;transition:background .35s;min-height:100svh}body[data-theme=lime]{--shadow:rgba(40,54,21,.19)}body[data-theme=chalk]{--shadow:rgba(42,40,32,.15)}body[data-material=rough]{--fiber:.43}body[data-material=flat]{--fiber:0}button,a,select,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none;padding:0}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px dashed currentColor;outline-offset:5px}button:hover.text-link,a:hover{text-decoration:underline;text-underline-offset:4px}[hidden]{display:none!important}.hand{font-family:'Comic Sans MS','Segoe Print',cursive;font-weight:bold;letter-spacing:-.04em}.toolbar{height:83px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:0 38px;border-bottom:1px solid #49392125;font-size:10px}.edition{margin-right:auto;opacity:.65;font-size:9px;letter-spacing:.06em}.settings{display:flex;align-items:center;gap:23px}.settings fieldset{border:0;padding:0;margin:0;display:flex;align-items:center;gap:10px}.settings legend{float:left;margin:4px 12px 0 0;font-size:10px}.swatch{width:18px;height:18px;border-radius:50%;border:1px solid #332c2660;box-shadow:inset 0 0 0 2px #ffffff18}.swatch[aria-pressed=true]{outline:1px solid #352d26;outline-offset:4px}.swatch.apricot{background:#ec8856}.swatch.lime{background:#cddd74}.swatch.chalk{background:#e6e3d9}.settings select{font:10px 'Courier New';border:0;border-bottom:1px solid #49392150;background:transparent;color:inherit;padding:3px}.material-label{display:flex;align-items:center;gap:10px}#help{border:1px solid #49392160;border-radius:50%;width:21px;height:21px}.desk{position:relative;height:calc(100svh - 126px);min-height:630px;overflow:hidden}.scene{width:1280px;height:820px;position:absolute;left:50%;top:0;transform-origin:top center}.desk-caption{position:absolute;top:37px;left:62px;font-size:10px;letter-spacing:.09em}.desk-caption p{font-size:11px;line-height:1.9;letter-spacing:0;opacity:.64;margin-top:13px}.table-note{position:absolute;right:108px;top:53px;transform:rotate(9deg);font-size:26px;line-height:1.25;color:#352d2677}.piece{position:absolute;left:0;top:0;width:var(--w);height:var(--h);transform:translate(var(--x),var(--y));user-select:none;z-index:2;will-change:auto}.paper{width:100%;height:100%;position:relative;background:var(--paper,#f4efdf);transform:rotate(var(--r));transform-origin:48% 53%;box-shadow:0 2px 2px #3a2a1719,1px 7px 12px -7px #462d264d,inset 0 1px 0 #ffffff80;transition:transform .2s cubic-bezier(.2,.75,.3,1),box-shadow .2s;isolation:isolate;border:1px solid #45382b12}.paper:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:var(--fiber);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");mix-blend-mode:multiply}.paper:after{content:'';pointer-events:none;position:absolute;inset:2px;border:1px solid #ffffff15;border-radius:inherit;z-index:-1}.piece.lifted{will-change:transform}.piece.lifted .paper{transform:translateY(-10px) rotate(calc(var(--r) + 1.8deg)) scale(1.025);box-shadow:5px 30px 28px -10px #40251144,0 6px 10px -3px #4025111a,inset 0 1px #ffffff80}.piece.landed .paper{animation:land .24s ease-out}@keyframes land{0%{transform:translateY(-8px) rotate(calc(var(--r) + 1deg)) scale(1.018)}65%{transform:translateY(1px) rotate(calc(var(--r) - .3deg))}100%{transform:rotate(var(--r))}}.grip{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;font:9px 'Courier New';letter-spacing:.07em;min-height:30px;touch-action:none;cursor:grab}.grip span{font-size:8px}.text-link{font-size:10px;border-bottom:1px solid #4638265c;padding-bottom:3px}.memo{--paper:#db503d}.memo .paper{padding:13px 23px 18px;border-radius:1px 4px 2px 1px}.memo p{font-size:27px;line-height:1.13;margin:13px 0 13px}.memo .text-link{font-size:9px}.memo .pencil-mark{position:absolute;right:25px;bottom:15px;font:30px 'Segoe Print',cursive;transform:rotate(-10deg)}.identity{z-index:4;--paper:#f4f0e6}.identity .paper{padding:23px 28px;border-color:#ffffff55;border-radius:1px 2px 1px 3px;box-shadow:0 1px 1px #55473833,2px 8px 13px -7px #3e2c264d,inset 0 1px #fff}.identity .grip{font:8px Georgia;letter-spacing:.075em;min-height:15px}.identity .grip span{font:7px Georgia}.identity-front,.identity-back{height:100%;display:flex;flex-direction:column;justify-content:space-between}.name{text-align:center;text-shadow:0 1px 0 white,0 -1px 0 #8c827329}.name h1{font:small-caps 32px Georgia,'Times New Roman',serif;letter-spacing:.17em;margin:0 0 10px}.name p{font:10px Georgia;letter-spacing:.12em;margin:0}.card-bottom{display:flex;justify-content:space-between;gap:12px;font:7px Georgia;letter-spacing:.08em}.card-bottom button{font:9px 'Courier New';letter-spacing:0;border-bottom:1px solid #776e5c60}.identity-back h2{font:24px Georgia,serif;line-height:1.4;margin:12px 0 0;font-weight:400}.identity-back h2 i{font-size:19px;font-style:normal}.identity-back p{font:10px/1.8 Arial;margin:6px 0 12px;color:#776e60}.work{--paper:#3054c4;color:#f8f0d9}.work .paper{padding:19px 28px 25px;border-radius:2px 1px 4px 1px}.work .paper:before{background-position:31px 20px}.work h2{font:39px/1.07 Georgia,serif;font-weight:400;letter-spacing:-.03em;margin:20px 0 12px}.work-caption{font:10px Arial;color:#f2eed4b3;margin-bottom:22px}.work-list{display:flex;flex-direction:column}.work-list button{display:flex;justify-content:space-between;text-align:left;border-top:1px solid #f2eed449;padding:12px 0;font-size:10px}.work-list button:hover{padding-left:5px;color:white}.work-footer{display:flex;justify-content:space-between;align-items:center;font-size:7px;margin-top:15px}.work-footer .hand{font-size:17px;transform:rotate(-4deg)}.contact{--paper:#f1d858}.contact .paper{padding:18px 25px 25px;border-radius:2px 1px 6px 2px}.contact h2{font-size:52px;line-height:.96;margin:22px 0 18px;transform:rotate(-3deg)}.contact p{font:11px/1.9 Arial;margin:0 0 20px}.contact-cta{font:11px 'Courier New';border-bottom:1px solid;padding-bottom:5px}.tear-line{border-top:1px dashed #695a3290;position:absolute;bottom:34px;left:0;right:0}.ticket-foot{font:7px 'Courier New';position:absolute;bottom:15px;left:25px;letter-spacing:.04em}.sample{--paper:#e5e5c6}.sample .paper{padding:16px 20px;border-radius:1px 4px 2px 3px}.sample .grip{font-size:7px;min-height:19px}.paper-swatches{display:flex;align-items:center;height:65px;gap:7px;margin:7px 0}.paper-swatches span{display:block;width:51px;height:57px;background:#f2eee1;box-shadow:1px 2px 3px #493c1f20;transform:rotate(-5deg);border:1px solid #786b4520}.paper-swatches span:nth-child(2){background:#e8e6d7;transform:rotate(3deg);border-radius:2px 4px 1px 2px}.paper-swatches span:nth-child(3){background:#f3f0e4;transform:rotate(-1deg);border-width:0 1px 2px 0}.sample p{font:9px/1.7 Arial;display:inline-block;margin:0}.sample .text-link{position:absolute;bottom:18px;right:16px;font-size:8px}.sample.inspect .paper-swatches span:first-child{transform:rotate(-9deg) translateX(-4px)}.sample.inspect .paper-swatches span:nth-child(2){transform:rotate(6deg) translateY(-5px)}.sample.inspect .paper-swatches span:nth-child(3){transform:rotate(2deg) translateX(4px)}.paper-swatches span{transition:transform .25s}.desk-stamp{position:absolute;left:62px;bottom:42px;display:grid;grid-template-columns:110px 140px;gap:12px 16px;font:9px/1.55 'Courier New';color:#443b2aa1}.desk-stamp b{font-size:17px;line-height:1;letter-spacing:-1px;color:#352d26}.desk-stamp>span{font-size:8px;letter-spacing:.07em}.desk-stamp nav{grid-column:1/-1;display:flex;gap:20px;font-size:9px}.desk-stamp button:hover{text-decoration:underline;text-underline-offset:4px}.desk-footer{height:43px;margin:0 38px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid #49392125;padding-top:13px;font:9px/1.6 'Courier New';color:#352d2699}.mobile-hint{display:none}.live-status{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:10px 16px;max-width:90%;background:#352d26;color:#faf3df;font:11px 'Courier New';z-index:100;pointer-events:none;opacity:0;transition:opacity .2s}.live-status.show{opacity:1}dialog{color:#352d26;background:#f4f0e6;border:1px solid #ffffff80;width:min(600px,90vw);padding:42px;max-height:85svh;box-shadow:4px 15px 50px #20160c30;overflow:auto}dialog::backdrop{background:#2f261955;backdrop-filter:blur(3px)}dialog .close{float:right;font-size:25px;line-height:1}dialog .panel-index{font:9px 'Courier New';letter-spacing:.08em;margin:0 0 40px}dialog h2{font:36px/1.15 Georgia,serif;letter-spacing:-.025em;max-width:90%;margin:0 0 25px}dialog p{font:13px/1.9 Arial;color:#6c6255}.panel-content .footnote{font-size:10px;border-top:1px solid #c9c3b5;margin-top:30px;padding-top:14px}.panel-content button:not(.submit){border-bottom:1px solid;padding:4px 0;margin-top:15px}.panel-content ul{padding-left:18px;font:12px/2 Arial}.panel-content form{display:flex;flex-direction:column;gap:18px;margin-top:25px}.panel-content form label{font:11px 'Courier New';display:flex;flex-direction:column;gap:10px}.panel-content select,.panel-content textarea{font:13px/1.8 'Courier New';padding:12px;background:#fcf9ef;border:1px solid #c7bfab;border-radius:0;color:#352d26;resize:vertical}.submit{padding:12px 18px;background:#3054c4;color:#fff;align-self:start;font-size:11px}.form-status{min-height:22px;margin:0}body[data-material=rough] .paper{border-color:#6c583037}body[data-material=rough] .identity .paper{background:#efe9dc}body[data-material=rough] .memo .paper{border-radius:3px 7px 2px 5px}body[data-material=flat] .paper{border-radius:0}body[data-material=flat] .paper:after{display:none}
@media(pointer:fine){body{cursor:url('/paper-desk/assets/open-emoji.png') 24 24,default}.piece,.grip{cursor:url('/paper-desk/assets/open-emoji.png') 24 24,grab}a,button,select,summary{cursor:url('/paper-desk/assets/point-emoji.png') 19 4,pointer}button.grip{cursor:url('/paper-desk/assets/open-emoji.png') 24 24,grab}body.dragging,body.dragging *{cursor:url('/paper-desk/assets/grab-emoji.png') 24 24,grabbing!important}}
@media(max-width:760px){.toolbar{height:auto;min-height:115px;padding:20px;flex-wrap:wrap;gap:15px}.edition{margin:0 0 0 auto;font-size:8px}.settings{width:100%;justify-content:space-between;gap:10px}.settings fieldset{gap:9px}.settings legend{margin-right:7px}.material-label{font-size:9px;gap:4px}#reset{font-size:9px}.desk{height:auto;min-height:0;overflow:hidden;padding:25px 24px 45px}.scene{position:relative;left:0;width:100%;height:auto;transform:none!important;display:flex;flex-direction:column;align-items:center;gap:34px;padding-top:83px}.desk-caption{top:0;left:0;font-size:9px}.desk-caption p{font-size:10px;margin:8px 0}.table-note{right:0;top:0;font-size:19px}.piece{position:relative;transform:translate(var(--mx,0px),var(--my,0px));width:min(var(--w),100%);height:var(--h);flex-shrink:0;}.identity{order:0;height:230px;width:100%}.identity .paper{padding:22px}.name h1{font-size:27px}.identity .grip{font-size:7px}.identity .grip span{font-size:6px}.card-bottom{font-size:6px}.memo{order:2;align-self:start;margin-left:8px;width:70%;height:170px;}.work{order:1;width:93%;align-self:end;}.contact{order:3;width:83%;align-self:center;}.sample{order:4;align-self:start;width:73%;margin-left:10px;}.desk-stamp{position:relative;left:auto;bottom:auto;align-self:start;order:6;margin-top:0}.desk-footer{margin:0 20px;height:auto;padding:15px 0 22px;flex-direction:column;gap:8px;font-size:8px}.desktop-hint{display:none}.mobile-hint{display:block}.grip{min-height:32px!important}.identity .name{margin-top:4px}.contact .paper{padding-top:12px}dialog{padding:28px}dialog h2{font-size:30px}}


/* Compact corner imprint and properly contained paper text. */
.desk-stamp{width:165px;display:block;bottom:30px}.desk-stamp b{display:block}.desk-stamp>span{display:block;margin:10px 0}.desk-stamp nav{gap:13px;font-size:8px}.memo p{font-size:25px}.work .paper{padding-bottom:22px}.work .work-footer{margin-top:12px}@media(max-width:760px){.memo{height:195px}.desk-stamp{bottom:auto}}

.cursor-samples{display:flex;gap:30px;margin:20px 0 30px}.cursor-samples span{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:10px}.cursor-samples img{width:44px;height:44px}

@media(max-width:760px){.settings{flex-wrap:wrap;justify-content:start;gap:14px}.settings #help{margin-left:auto}.toolbar{padding-bottom:18px}}

.desk-smile{position:absolute;left:1025px;top:665px;width:96px;height:96px;color:#352d26;transform:rotate(8deg);pointer-events:none;opacity:.8}@media(max-width:760px){.desk-smile{left:auto;top:auto;right:20px;bottom:24px;width:78px;height:78px}}

/* Blank composition: only editing controls live outside the desk. */
html{background:var(--desk)}.toolbar{min-height:83px;height:auto;display:flex;padding:22px 30px;gap:24px;flex-wrap:wrap}.toolbar>a{white-space:nowrap}.color-picker{display:flex;align-items:center;gap:16px;margin-left:auto;flex-wrap:wrap}.swatches{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.swatch{width:20px;height:20px}.swatch[data-theme=shrigley-green]{margin-left:10px}.swatch[data-theme=cream]{margin-left:10px}#color-name{font-size:9px;min-width:145px;white-space:nowrap}.settings{gap:22px}.settings label{white-space:nowrap}.desk{height:calc(100svh - 83px)}.blank-grip{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;margin:0}.identity .paper,.memo .paper,.work .paper,.contact .paper,.sample .paper{padding:0}.scene>.piece{user-select:none}@media(max-width:1150px){.color-picker{order:3;width:100%;margin-left:0}.settings{margin-left:auto}.toolbar{gap:16px}}@media(max-width:760px){.toolbar{padding:18px 20px;min-height:0}.color-picker{gap:13px}.color-picker>span{font-size:10px}.swatches{gap:12px;max-width:100%}#color-name{display:block;width:100%;margin-top:2px}.settings{width:auto;justify-content:end;gap:18px}.settings select{font-size:10px}.desk{height:auto}.scene{padding-top:20px}.blank-grip{height:44px;bottom:auto}.identity .blank-grip{min-height:44px!important}.piece.sample{margin-bottom:20px}}

/* Calling card: small-cap typography and a lightly impressed cotton surface. */
.identity{--paper:#f2efe5}
.identity .paper{border-radius:.7px 1.2px .8px 1px;border:1px solid #c9c3b647;background-image:linear-gradient(117deg,#fff5 0%,#fff0 46%,#afa38708 100%);box-shadow:0 1px 0 #c6beac,0 2px 0 #e4dece,1px 4px 4px #5140321a,2px 9px 13px -8px #49382c55,inset 0 1px 0 #ffffffe0}
.identity .paper:before{opacity:calc(var(--fiber) * .9);background-size:112px 112px;mix-blend-mode:multiply}
.identity .paper:after{inset:1px;border-color:#ffffff32}
.calling-card{height:100%;padding:26px 29px 25px;position:relative;color:#36332e;pointer-events:none;font-family:'Desk Garamond',Garamond,Georgia,serif;font-weight:450;font-synthesis:none;font-kerning:normal;font-variant-caps:small-caps;text-shadow:.35px .6px .25px #fff9,-.15px -.25px .15px #463a3320}
.calling-card p{margin:0}
.calling-card-top{display:flex;justify-content:space-between;align-items:baseline;gap:18px;line-height:1.22}
.calling-card-location{font-size:11.3px;letter-spacing:.016em;word-spacing:.025em}
.calling-card-school{text-align:right;font-size:13.1px;letter-spacing:.009em;word-spacing:.025em}
.calling-card-school>span{display:block;margin-top:2.8px;font-size:10.6px;letter-spacing:.035em;word-spacing:.035em}
.calling-card-name{position:absolute;top:45%;left:25px;right:25px;text-align:center}
.calling-card-name h1{font-size:27px;line-height:1.1;font-weight:460;letter-spacing:0;margin:0;font-variant-caps:small-caps}
/* Hand-spaced pairs, using the font's real small caps. Values are optical,
   not random: narrow I needs more air; open L–I needs less. Keep a single
   accessible name while the visible letters receive separate adjustments. */
.name-lettering{display:inline-flex;align-items:baseline;gap:.255em;transform:translateX(-.025em)}
.name-word{display:inline-flex;align-items:baseline}
.glyph{display:inline-block;font-variant-caps:small-caps}
.glyph-z{font-size:1em;margin-right:.025em}
.glyph-h{font-size:1em;margin-right:.057em}
.glyph-i-first{font-size:1.012em;margin-right:.044em}
.glyph-y{font-size:1.006em;margin-right:.022em}
.glyph-e{font-size:.992em}
.glyph-l{font-size:.985em;margin-right:.014em}
.glyph-i-last{font-size:1.012em;margin-right:.053em}
.glyph-u{font-size:1em}
.calling-card-bottom{position:absolute;left:20px;right:20px;bottom:28px;text-align:center;font-size:12.4px;font-weight:430;line-height:1.3;letter-spacing:.012em;font-variant-caps:normal;font-variant-numeric:lining-nums}
.identity .blank-grip{z-index:1}
body[data-material=flat] .identity .paper{background-image:none}
body[data-material=flat] .calling-card{text-shadow:none}
@media(max-width:760px){.identity{height:auto;aspect-ratio:448/258}.calling-card{padding:22px 23px}.calling-card-top{gap:12px}.calling-card-location{font-size:10.2px}.calling-card-school{font-size:11.5px}.calling-card-school>span{font-size:9.4px;margin-top:2px}.calling-card-name h1{font-size:25px}.calling-card-bottom{font-size:11.5px;bottom:22px}}

/* Baseline: only material, card flip and reset remain in the toolbar. */
.toolbar .settings{margin-left:auto}.toolbar{min-height:83px}

/* Uninterrupted desk and solid colour cards. The calling card retains its paper finish. */
.desk{height:100svh}
.sample{--paper:#00884a}
.piece:not(.identity) .paper{background:var(--paper);border:0;box-shadow:1px 7px 12px -7px #462d264d}
.piece:not(.identity) .paper::before,.piece:not(.identity) .paper::after{display:none}
.piece:not(.identity).lifted .paper{box-shadow:5px 30px 28px -10px #40251144,0 6px 10px -3px #4025111a}
.identity{touch-action:manipulation}
@media(max-width:760px){.desk{height:auto}}

.piece{touch-action:manipulation}
body.card-expanded{overflow:hidden}
dialog.expanded-card{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:auto;transform-origin:0 0}
dialog.expanded-card::backdrop{background:transparent;backdrop-filter:none}
.expanded-card .close-card{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));right:max(28px,env(safe-area-inset-right));width:44px;height:44px;padding:12px;font:18px 'Courier New',monospace;z-index:1}
.expanded-content{min-height:100%;padding:80px 32px 32px}
@media(prefers-reduced-motion:reduce){.paper{transition:none}.piece.landed .paper{animation:none}}

/* All cards have square-cut corners, including the preserved calling-card surface. */
body .piece .paper,body[data-card=personal] .piece.identity .paper{border-radius:0}

/* A loose starting stack: business card, red, green, blue, then yellow. */
.piece.identity{z-index:7}.piece.memo{z-index:6}.piece.sample{z-index:5}.piece.work{z-index:4}.piece.contact{z-index:3}
@media(max-width:760px){
  body .desk{padding:0;min-height:480px}
  body .scene{position:absolute;left:50%;width:1280px;height:820px;display:block;padding:0;transform:translateX(-50%) scale(var(--scene-scale,1))!important}
  body .scene .piece{position:absolute;left:0;top:0;width:var(--w);height:var(--h);margin:0;aspect-ratio:auto;transform:translate(var(--x),var(--y))}
  body .scene .blank-grip{height:100%;min-height:0!important}
}
