@font-face{font-family:Mundial;src:url("/fonts/Mundial-Regular.woff2") format("woff2");font-display:swap;font-weight:400}
@font-face{font-family:Cormorant;src:url("assets/CormorantGaramond.woff2") format("woff2");font-display:swap;font-weight:300 700}
:root{color-scheme:light;--ink:#35483c;--wall:#e3e5d9;--cotton:url("assets/paper-cotton-original.webp");font-family:Mundial,Arial,sans-serif;color:var(--ink);background:var(--wall)}
*{box-sizing:border-box}
body{margin:0}
button,input,textarea{font:inherit}
button{touch-action:manipulation}
[hidden]{display:none!important}
#stage{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 27% 30%,#eff0e7 0%,#e4e6db 48%,#d7dacc 100%)}
#stage::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:var(--cotton);background-size:440px;mix-blend-mode:multiply;opacity:.88;z-index:-1}
.intro{position:relative;margin:0 auto;padding:110px 0 0;width:min(85%,550px)}
.intro h1{font:500 clamp(5rem,8.8vw,10rem)/.81 Cormorant,Georgia,serif;letter-spacing:-.068em;margin:0 0 .24em}
.intro p{max-width:25ch;font:400 clamp(1rem,1.4vw,1.25rem)/1.4 Mundial,Arial,sans-serif;margin:0}
.suspension,.scenery,.hangers,.reader{display:none}
.sheet{position:relative;width:min(92%,538px);margin:42px auto;transform-origin:50% 0;color:#493e31;background-color:#faf3df;background-image:var(--cotton),linear-gradient(115deg,#fff8e8,#f4ebd6);background-size:350px,100% 100%;background-blend-mode:multiply,normal;box-shadow:0 1px 0 #c8bca5,0 2px 1px -1px #94856d,2px 8px 12px -8px #47483455,8px 19px 32px -17px #41453668}
html.has-rig #journey{position:relative;height:calc(var(--height) + var(--travel));overflow-anchor:none}
html.has-rig #stage{position:sticky;top:0;height:var(--height)}
html.has-rig .intro,html.has-rig .sheet{position:absolute;top:0;left:0;margin:0;padding:0}
html.has-rig .intro{width:auto}
html.has-rig .sheet{z-index:3;width:clamp(386px,39vw,550px);will-change:transform}
html.has-rig .suspension,html.has-rig .scenery,html.has-rig .hangers{display:block;position:absolute;inset:0;pointer-events:none}
.scenery{z-index:1}.hangers{z-index:4;overflow:visible}
.scenery img,.scenery>div,.cable{position:absolute;display:block;left:0;top:0}
#mobile-post,#return-pulley{display:none}
#rat>svg,#pulley>svg,#mobile-post>svg,#return-pulley>svg{width:100%;height:100%;display:block}
#ledge{filter:drop-shadow(2px 7px 4px #5550392c)}
#upright{filter:drop-shadow(3px 3px 2px #58513f22)}
html.has-rig .reader{position:absolute;bottom:clamp(16px,4vh,42px);left:clamp(20px,4vw,70px);display:flex;z-index:6}
.contact-credits{position:fixed;right:clamp(64px,7vw,100px);bottom:clamp(16px,4vh,42px);z-index:6;display:inline-flex;align-items:center;min-height:44px;padding:8px 3px;color:var(--ink);font-family:Mundial,Arial,sans-serif;font-size:10px;font-weight:400;text-decoration:none;touch-action:manipulation}
.contact-credits:hover{text-decoration:underline;text-underline-offset:4px}
.contact-credits:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.reader button{border:0;background:transparent;display:inline-flex;align-items:center;gap:12px;padding:8px 3px;min-height:44px;color:#465144;font-family:Mundial,Arial,sans-serif;font-size:.875rem;cursor:pointer}
.reader button:focus-visible{outline:2px solid #704740;outline-offset:4px}
.scroll-icon{position:relative;display:inline-block;width:15px;height:24px;border:1px solid #666e60;border-radius:8px}
.scroll-icon::after{content:"";position:absolute;top:5px;left:6px;width:1px;height:8px;background:#646e60}
.measure-vh{position:absolute;pointer-events:none;visibility:hidden;height:100vh;height:100svh;width:0;top:0}
@media(max-width:700px), (pointer:coarse) and (orientation:landscape) and (max-width:960px) and (max-height:540px){
  html.has-rig .sheet{width:min(calc(100% - 47px),438px)}
  #upright{display:none}
  #mobile-post,#return-pulley{display:block}
  html.has-rig body[data-ready="false"] .reader{bottom:auto;top:min(calc(100svh - 59px),calc(var(--height) - 59px))}
  .intro h1{font-size:clamp(5rem,18vw,7.6rem)}
  .intro p{font-size:1rem;max-width:22ch}
  html.has-rig .reader{bottom:max(12px,env(safe-area-inset-bottom))}
  .contact-credits{bottom:max(12px,env(safe-area-inset-bottom))}
}
@media(max-height:560px) and (min-width:701px){.intro h1{font-size:5rem}html.has-rig .reader{bottom:7px}}

#draw{transition:transform .6s cubic-bezier(.5,0,.2,1),opacity .45s ease}
body[data-started="true"] #draw{transform:translateX(calc(-100% - 90px));opacity:0;pointer-events:none}
