
body{margin:0;background:#0a0a0a}
a{color:#141414}a:hover{color:#555555}
.desk button{font:inherit;color:inherit;background-color:transparent;border:0;padding:0;margin:0;text-align:left;display:block;cursor:grab}
.desk button:focus-visible{outline:2px solid #f2f2f2;outline-offset:6px}
.desk .item:active button{cursor:grabbing}
.sheet a{text-underline-offset:4px}
.sheet button{cursor:pointer}
.desk-wood{background-color:#111;background-image:url(desk.jpg);background-size:1600px 1000px;background-position:-80px -50px}
.grain{background-image:url(grain.jpg);background-size:256px 256px}
.tex-letter{background-image:url(paper-letter.jpg);background-size:100% 100%}
.tex-typed{background-image:url(paper-typed.jpg);background-size:100% 100%}
.tex-crumpled{background-image:url(paper-torn.webp);background-size:100% 100%}
.tex-card{background-image:linear-gradient(180deg,rgba(0,0,0,0) 0 45px,rgba(15,15,15,0.7) 45px 46px,rgba(0,0,0,0) 46px),repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 23px,rgba(20,20,20,0.14) 23px 24px),url(card.jpg);background-size:100% 100%,100% 100%,100% 100%;background-position:0 0,0 46px,0 0}
.tex-sticky{background-image:url(sticky.jpg);background-size:100% 100%}
.tex-leather{background-image:url(leather.jpg);background-size:cover}
.tex-cloth{background-image:url(cloth.jpg);background-size:cover;background-blend-mode:overlay}
.tex-grainy{background-image:url(grain.jpg);background-size:180px 180px;background-blend-mode:overlay}
.tex-coaster{background-color:#efede7;background-image:url(card.jpg);background-size:cover;cursor:pointer}
.tex-coaster:focus-visible{outline:2px solid #f2f2f2;outline-offset:4px}
@keyframes stirLiqA{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes stirLiqB{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
@keyframes stirStrawA{0%{transform:rotate(0)}100%{transform:rotate(720deg)}}@keyframes stirStrawB{0%{transform:rotate(0)}100%{transform:rotate(720deg)}}
.liqA{animation:stirLiqA 1.6s cubic-bezier(0.35,0,0.15,1)}.liqB{animation:stirLiqB 1.6s cubic-bezier(0.35,0,0.15,1)}
.strawA{animation:stirStrawA 1.3s cubic-bezier(0.45,0,0.2,1)}.strawB{animation:stirStrawB 1.3s cubic-bezier(0.45,0,0.2,1)}
@media (prefers-reduced-motion: reduce){.liqA,.liqB,.strawA,.strawB{animation:none}}
.curl{position:relative}
.curl::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(128deg,rgba(255,255,255,0.22),rgba(255,255,255,0) 28%,rgba(0,0,0,0) 62%,rgba(0,0,0,0.16) 100%)}
.ink{mix-blend-mode:multiply}
.typed{text-shadow:0 0 0.6px rgba(0,0,0,0.55)}
@keyframes pwShakeA{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
@keyframes pwShakeB{0%,100%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}}
.shakeA{animation:pwShakeA 0.42s ease}.shakeB{animation:pwShakeB 0.42s ease}
@media (prefers-reduced-motion: reduce){.shakeA,.shakeB{animation:none}}
@media (prefers-reduced-motion: reduce){.anim,.item{transition-duration:1ms !important}}
.sh{box-shadow:0 0 0 0.5px rgba(0,0,0,0.4),1px 2px 2px rgba(0,0,0,0.6),6px 10px 14px -2px rgba(0,0,0,0.55),22px 34px 50px -10px rgba(0,0,0,0.75)}

/* ---- site shell ---- */
html,body{margin:0;padding:0;background:#0b0a09}
body.rsd{overflow:hidden;-webkit-text-size-adjust:100%}
body.rsd.rsd-mobile{overflow:hidden;position:fixed;inset:0;overscroll-behavior:none}
.rsd-mobile #stage{touch-action:none;overscroll-behavior:none}
#stage{position:relative;width:100vw;height:100vh;overflow:hidden}
#overlay[hidden]{display:none}
#overlay{font-family:'Newsreader',Georgia,serif;color:#141414}
#overlay button{font:inherit;color:inherit;margin:0;text-align:left;cursor:pointer}
#overlay button[data-action=close]{background:transparent;border:0;padding:0}
#sheet{-webkit-overflow-scrolling:touch}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:700px){
  #sheet{padding:48px 22px 30px !important}
  .wod-photos{height:auto !important;display:flex;flex-direction:column;gap:22px}
  .wod-photos>div{position:relative !important;left:auto !important;right:auto !important;top:auto !important;width:auto !important;transform:none !important}
}

/* phone: readable controls, room for the browser toolbar */
.rsd-mobile #desk [data-action=tidy]{font-size:23px !important;line-height:1.4 !important;padding:22px 2px 4px !important;right:34px !important;bottom:auto !important;border-bottom-width:2px !important}
.rsd-mobile #rsd-hint{font-size:23px !important;left:34px !important;right:auto !important;bottom:auto !important;line-height:1.4}

#overlay [data-action=close]:focus{outline:none}
#overlay [data-action=close]:focus-visible{outline:2px solid #141414;outline-offset:2px;border-radius:4px}
#overlay [data-play]:hover span:first-child{text-decoration:underline;text-underline-offset:4px}

.rsd-mobile #desk [data-item]{touch-action:none !important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
#desk [data-item].lifted{filter:drop-shadow(0 18px 22px rgba(0,0,0,0.55))}

/* ---- crumpled notes ---- */
#note-ov{position:fixed;inset:0;z-index:9500}
#note-ov[hidden]{display:none}
#note-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;margin:0;padding:0;background:rgba(0,0,0,0.74);cursor:pointer;opacity:0}
#note-wrap{position:fixed;left:50%;top:50%;will-change:transform,opacity;transform:translate(-50%,-50%)}
#note-wrap .note-shadow{position:absolute;inset:14px 10px 10px;box-shadow:0 2px 4px rgba(0,0,0,0.45),0 30px 60px -6px rgba(0,0,0,0.7);pointer-events:none}
#note-wrap .note-fold{position:absolute;inset:0;pointer-events:none;will-change:opacity;opacity:0;background:repeating-linear-gradient(180deg,rgba(0,0,0,0.16) 0,rgba(0,0,0,0) 9%,rgba(255,255,255,0.10) 16.6%,rgba(0,0,0,0.18) 16.7%,rgba(0,0,0,0) 26%,rgba(0,0,0,0.12) 33.3%),linear-gradient(90deg,rgba(0,0,0,0.15),rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,rgba(0,0,0,0.15))}
#note{--lh:27px;position:relative;display:block;box-sizing:border-box;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;
  padding:68px 40px 52px 78px;color:#1c1c1c;font-family:'DM Mono',monospace;font-size:15px;line-height:var(--lh);
  background-color:transparent;
  background-image:linear-gradient(90deg,rgba(0,0,0,0) 0 56px,rgba(120,120,120,0.35) 56px 57px,rgba(0,0,0,0) 57px),repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 calc(var(--lh) - 1px),rgba(70,78,88,0.2) calc(var(--lh) - 1px) var(--lh)),url(note-paper.webp);
  background-size:100% 100%,100% var(--lh),100% 100%;background-position:0 0,0 62px,0 0;background-repeat:no-repeat,repeat-y,no-repeat;background-attachment:local,local,local;
  -webkit-user-select:text;user-select:text}
#note .note-close{position:absolute;right:14px;top:14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#4f4f4f;cursor:pointer;padding:0}
#note .note-close:focus{outline:none}#note .note-close:focus-visible{outline:2px solid #141414;outline-offset:2px;border-radius:4px}
#note .note-date{position:absolute;left:78px;top:30px;font-size:11px;letter-spacing:0.14em;color:#6a6a6a;line-height:1}
#note .note-body{position:relative;text-shadow:0 0 0.4px rgba(0,0,0,0.5)}
#note .note-body p{margin:0}
#note .note-body p.gap{margin-top:var(--lh)}
#note .note-body del,#note .note-body s,#note .note-body strike{text-decoration:none;color:rgba(28,28,28,0.62)}
#note .note-body ins{text-decoration:none;display:inline-block;font-family:'Homemade Apple',cursive;font-size:0.98em;line-height:1;color:#b3261e;transform:rotate(-5deg) translateY(-0.38em);mix-blend-mode:multiply;opacity:0.93;margin:0 0.18em 0 0.1em;text-shadow:none}
#note .note-body .hand{font-family:'Homemade Apple',cursive;font-size:0.95em;line-height:1}
#note .note-body .aside{font-family:'Homemade Apple',cursive;color:#b3261e;font-size:13px;line-height:1.3;transform:rotate(-3deg);margin:6px 0 0 auto;max-width:60%;text-align:right;mix-blend-mode:multiply}
#note.is-draft .note-body{padding-top:var(--lh)}
@media (max-width:700px){#note{--lh:26px;font-size:14px;padding:60px 18px 40px 52px;background-image:linear-gradient(90deg,rgba(0,0,0,0) 0 38px,rgba(120,120,120,0.35) 38px 39px,rgba(0,0,0,0) 39px),repeating-linear-gradient(180deg,rgba(0,0,0,0) 0 calc(var(--lh) - 1px),rgba(70,78,88,0.2) calc(var(--lh) - 1px) var(--lh)),url(note-paper.webp);background-position:0 0,0 54px,0 0}#note .note-date{left:52px;top:26px}}
.rsd #desk [data-item^=crumple]:focus{outline:none}
.rsd #desk [data-item^=crumple]:focus-visible{outline:2px solid #e8e8e8;outline-offset:4px;border-radius:50%}

/* ---- intro: opening tabs, then the desk lamp ---- */
#rsd-intro{position:fixed;inset:0;z-index:20000;align-items:center;justify-content:center;font-family:'DM Mono','Courier New',monospace;color:#e9e7e2;cursor:pointer;-webkit-user-select:none;user-select:none}
#rsd-intro .ri-dark{position:absolute;inset:0;background:#0b0a09;will-change:opacity}
#rsd-intro .ri-pool{position:absolute;inset:0;background:radial-gradient(ellipse 62% 58% at 50% 46%,rgba(11,10,9,0) 0%,rgba(11,10,9,0.35) 45%,rgba(11,10,9,0.92) 100%);opacity:0;will-change:opacity}
#rsd-intro .ri-box{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px;width:min(440px,calc(100vw - 48px));will-change:opacity,transform}
#rsd-intro .ri-label{font-size:11px;letter-spacing:0.2em;color:#8c8a85;text-transform:lowercase}
#rsd-intro .ri-n{color:#e9e7e2;margin-left:6px}
#rsd-intro .ri-of{color:#5d5b57}
#rsd-intro .ri-tabs{width:100%;border-bottom:1px solid rgba(233,231,226,0.22);display:flex}
#rsd-intro .ri-tab{display:flex;align-items:center;gap:18px;max-width:100%;padding:11px 14px 10px 16px;border:1px solid rgba(233,231,226,0.22);border-bottom:0;border-radius:9px 9px 0 0;background:#151413;margin-bottom:-1px;font-size:15px;line-height:1.3;white-space:nowrap}
#rsd-intro .ri-name{overflow:hidden;text-overflow:ellipsis}
#rsd-intro .ri-x{color:#6d6b66;font-size:14px}
#rsd-intro .ri-tab.stuck .ri-name{color:#fff}
#rsd-intro .ri-come{font-size:15px;color:#e9e7e2;opacity:0;height:20px}
#rsd-intro .ri-skip{position:absolute;right:22px;bottom:calc(22px + env(safe-area-inset-bottom));font:inherit;font-size:11px;letter-spacing:0.14em;color:#6d6b66;background:none;border:0;padding:10px;cursor:pointer}
#rsd-intro .ri-skip:hover{color:#bdbbb6}
@media (min-width:900px){#rsd-intro .ri-box{width:520px}#rsd-intro .ri-tab{font-size:17px}#rsd-intro .ri-label{font-size:12px}#rsd-intro .ri-come{font-size:17px}}

/* sign-off, where the black card used to be */
#rsd-sign{position:absolute;right:36px;bottom:22px;z-index:4000;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-family:'DM Mono',monospace;font-size:10px;line-height:1.5;letter-spacing:0.06em;color:#8a8a8a;pointer-events:none;text-align:right}
#rsd-sign span:last-child{color:#6a6a6a}
.rsd-mobile #rsd-sign{right:34px;font-size:16px;line-height:1.45}
