:root{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;color:#20292d;background:#c8d6df;font-size:16px;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 75% 65%,#e0ded5 0,transparent 54%),radial-gradient(ellipse at 10% 0%,#a3bbc9,transparent 69%),#c8d6df}button,input,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{background:none;border:0;cursor:pointer;text-align:left;padding:12px 0;min-height:44px}button[hidden]{display:none}button:hover,a:hover{text-decoration:underline;text-underline-offset:5px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #263b58;outline-offset:4px}a{color:inherit}.studio{max-width:1040px;margin:auto;padding: max(15px,env(safe-area-inset-top)) clamp(22px,6vw,70px) max(20px,env(safe-area-inset-bottom));min-height:100svh}header{border-bottom:1px solid #26363c35;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:55px;font-size:.82rem}#home{letter-spacing:.22em;font-size:.82rem}#install{justify-self:end}#section{color:#35434a}#screen{min-height:calc(100svh - 95px);display:grid;grid-template-rows:minmax(300px,1fr) auto;gap:8px}figure{margin:0;min-height:0;display:grid;place-items:center;position:relative}canvas{display:block;width:min(100%,620px);height:clamp(305px,61svh,680px);touch-action:pan-y}figure img{max-width:100%;max-height:53svh;object-fit:contain}.footer{max-width:480px;padding-bottom:14px}.footer h1{font-size:1.15rem;font-weight:500;margin:0 0 10px;letter-spacing:-.02em}.footer p{max-width:38ch;margin:4px 0 11px;line-height:1.48}.actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;border-top:1px solid #26363c42}.actions button,.actions a{font-size:.875rem}.actions a{padding:14px 0}small,.small{font-size:.81rem;line-height:1.4;color:#35434a}label{display:block;margin:8px 0}input,select{max-width:100%;border:1px solid #26363c55;background:#f4f5f149;padding:8px}.views{display:flex;gap:16px;flex-wrap:wrap}.legend{position:absolute;bottom:5px;pointer-events:none;color:#35434a;background:#d4dee0bf;padding:3px 5px}.owned{display:grid;gap:4px}.owned button{border-top:1px solid #26363c42}.guide{display:grid;gap:10px;font-size:.9rem;line-height:1.5;max-width:30ch}.figure-note{font-size:.82rem;position:absolute;bottom:12%;right:1%;max-width:12ch;border-top:1px solid #26363c75;padding-top:6px;background:#d4dee0aa}@media(max-width:550px){#screen{min-height:calc(100svh - 100px)}canvas{height:clamp(290px,54svh,520px)}.figure-note{bottom:24%;right:0;max-width:9ch}.footer{padding-top:6px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

@font-face{font-family:Inter;src:url(assets/inter.woff2) format("woff2");font-display:swap}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:#cad8df}
body{background:radial-gradient(ellipse at 48% 62%,#dce5e7 0%,transparent 62%),linear-gradient(155deg,#b2c8d5,#d3dfe3 63%,#bdced7);color:#18252c}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:url(assets/grain.png);opacity:.14;mix-blend-mode:multiply}
.studio{position:relative;width:min(100%,680px);padding: max(16px,env(safe-area-inset-top)) clamp(24px,6vw,51px) max(18px,env(safe-area-inset-bottom))}
header{border-bottom:0;min-height:48px;grid-template-columns:1fr 1fr;font-size:.8rem}#home{font-size:.78rem;letter-spacing:.10em}#section{display:none}#install{font-size:.76rem;font-weight:400}
#screen{min-height:calc(100svh - 88px);grid-template-rows:minmax(265px,1fr) auto}
figure{isolation:isolate}
.figure-art{display:block;width:min(100%,420px);height:clamp(285px,57svh,560px);object-fit:contain;mix-blend-mode:multiply;touch-action:pan-y;user-select:none;cursor:grab;max-height:none}
.figure-art:active{cursor:grabbing}
.opening-art{display:block;width:min(100%,465px);mix-blend-mode:multiply;pointer-events:none}
.figure-label{position:absolute;bottom:0;left:0;font-size:.72rem;color:#435660}
.footer{padding:20px 0 10px;max-width:none}.footer h1{font-size:.98rem;font-weight:450;margin-bottom:8px;letter-spacing:-.02em}.footer p{font-size:.82rem;color:#344953;max-width:42ch;margin-bottom:15px}.actions{gap:6px 22px;border-color:#3d53504a}.actions button,.actions a{font-size:.82rem;font-weight:420}.actions button:first-child,.actions a:first-child{font-weight:550}.figure-note{background:#dce6e699;font-size:.72rem;right:2%;bottom:21%}
.angle-controls{display:flex;gap:9px;position:absolute;bottom:0;right:0}.angle-controls button{min-height:44px;font-size:.73rem;padding:8px 4px;color:#435660}.angle-controls button[aria-pressed=true]{color:#18252c;text-decoration:underline;text-underline-offset:5px}
@media(max-width:550px){.studio{padding-inline:26px}.figure-art{height:clamp(280px,52svh,515px)}.footer{padding-top:20px}.figure-note{bottom:23%}}
.figure-art,.opening-art{mix-blend-mode:normal}
.opening-art{width:min(100%,410px);max-height:none}
.guide-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,390px);align-items:end}
.guide-views div{display:grid;justify-items:center;gap:7px;font-size:.71rem;color:#435660}
.guide-views img{width:100%;height:clamp(225px,44svh,410px);object-fit:contain}

/* The opening artwork arrives through the same frosted surface as the app. */
.opening-stage{width:min(100%,410px);aspect-ratio:3;position:relative;isolation:isolate}
.opening-piece{position:absolute;inset:0;background:url(assets/opening-forms-resolved.webp) center / contain no-repeat;clip-path:inset(0 calc(100% - var(--right)) 0 var(--left));filter:blur(.45px) saturate(.83);opacity:.88}
.opening-piece:nth-child(1){--left:0%;--right:18.8%;--delay:0ms}
.opening-piece:nth-child(2){--left:18.8%;--right:34.5%;--delay:90ms}
.opening-piece:nth-child(3){--left:34.5%;--right:48.5%;--delay:180ms}
.opening-piece:nth-child(4){--left:48.5%;--right:64%;--delay:270ms}
.opening-piece:nth-child(5){--left:64%;--right:85%;--delay:360ms}
.opening-piece:nth-child(6){--left:85%;--right:100%;--delay:450ms}
@media(prefers-reduced-motion:no-preference){
  .opening-piece{animation:figure-in 680ms cubic-bezier(.2,.66,.3,1) var(--delay) both}
  #screen[data-screen=welcome] .footer{animation:note-in 550ms 420ms both}
  .guide-views img{animation:note-in 360ms both}
  .guide-views div+div img{animation-delay:85ms}
}
@keyframes figure-in{from{opacity:0;filter:blur(8px) saturate(.83);transform:translateY(10px)}to{opacity:.88;filter:blur(.45px) saturate(.83);transform:translateY(0)}}
@keyframes note-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
#screen[data-screen=welcome] .footer h1{font-size:.95rem;font-weight:450}
#screen[data-screen=welcome] .actions{border:0;gap:20px}
#screen[data-screen=welcome] .actions button{padding-block:8px}
.figure-art{filter:saturate(.84) contrast(.96);-webkit-user-drag:none}
