/* resume (batch 8): one paper sheet on the wall, page scrolls with the normal scrollbar on the right */
html,body.resume-page{height:auto;min-height:100%}
body.resume-page{overflow-x:hidden;overflow-y:auto;color:#2e2a26;font-family:'EB Garamond',serif}
#rs-wall{position:fixed;inset:0;z-index:0;pointer-events:none}
.rs-bar{position:fixed;left:0;right:0;top:0;height:96px;z-index:20;pointer-events:none;background:linear-gradient(#f3e8d6 0,#f3e8d6 74px,rgba(243,232,214,0) 96px)}
.rs-bar a{pointer-events:auto}
#rs-back{position:fixed;left:40px;top:30px;z-index:21}
#rs-dl{position:fixed;right:40px;top:24px;z-index:21;text-decoration:none;font-size:19px}
#resume{position:relative;z-index:1;padding:96px 24px 90px}
.rs-hint{text-align:center;font-size:16px;color:#5a534b;margin:0 0 18px}
#rs-zoom{width:860px;max-width:calc(100vw - 200px);margin:0 auto}
#sheet{position:relative;box-sizing:border-box;padding:54px 64px 50px;background:#fcf8f0;isolation:isolate;cursor:zoom-in;transform-origin:0 0}
#sheet::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url(/img/resume-paper.webp) center/cover;opacity:.1;filter:grayscale(1) brightness(1.15);mix-blend-mode:normal}
#sheet>*{position:relative;z-index:2}
#sheet .rs-frame{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:1}
body.zoomed #sheet{cursor:zoom-out}
body.zoomed{overflow-x:auto}
#sheet h1{font-family:'EB Garamond',serif;font-weight:500;font-size:34px;margin:0;letter-spacing:.01em}
#sheet .role{font-family:Kalam,cursive;font-size:18px;color:#7a3a20;margin:2px 0 4px}
#sheet .ct{font-size:14.5px;color:#4f4942}
#sheet h2.plain{letter-spacing:normal}
#sheet h2{font-family:Kalam,cursive;font-weight:400;font-size:19px;color:#6e4512;margin:18px 0 4px;letter-spacing:.06em;display:inline-block}
#sheet p,#sheet li{font-size:14.6px;line-height:1.36;margin:0}
#sheet .it{display:flex;justify-content:space-between;gap:16px;margin-top:8px;font-size:15px}
#sheet .it b{font-weight:600}#sheet .it span{color:#4f4942;white-space:nowrap;font-style:italic;font-size:14px}
#sheet ul{margin:2px 0 0;padding-left:16px}#sheet li{margin:1px 0}
#sheet .sk p{margin:2px 0}
#sheet a{color:inherit;text-decoration:none;border-bottom:1.1px solid currentColor;transition:background-color 420ms cubic-bezier(.2,.72,.24,1)}
#sheet a:hover{background:#e9c77a66}
#sheet a:focus-visible,#rs-dl:focus-visible,#rs-back:focus-visible{outline:none;box-shadow:0 0 0 3px #fbf7ef,0 0 0 5px #2e2a26}
@media (max-width:1100px){#rs-zoom{max-width:calc(100vw - 120px)}#sheet{padding:44px 40px 42px}#sheet .it{flex-wrap:wrap;gap:0 16px}#sheet .it span{white-space:normal}}
@media (max-width:767px){.rs-bar{height:84px;background:linear-gradient(#f3e8d6 0,#f3e8d6 64px,rgba(243,232,214,0) 84px)}#resume{padding:84px 12px 60px}#rs-zoom{max-width:none;width:auto}#sheet{padding:30px 20px}#rs-back{left:16px;top:22px}#rs-dl{right:16px;top:16px}}
/* print: just the sheet, plain paper, no wall, buttons or frame */
@media print{
 html body.resume-page>main#resume#resume{display:block!important;padding:0}
 #rs-wall,.rs-bar,.rs-hint,#sheet .rs-frame{display:none!important}
 #rs-zoom{width:auto;max-width:none}
 #rs-zoom{zoom:1!important;width:auto!important}
 #sheet{background:#fff!important;padding:0}
 #sheet::before{display:none!important}
 #sheet a{border-bottom:none}
 @page{size:A4;margin:14mm 14mm}
}
