@font-face{font-family:Terminal;src:url('/public/terminal-f4.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{color-scheme:dark;--black:#050403;--cream:#ffefd4;--orange:#ff980e;--muted:#b29c7c;--line:#392916;--ease:cubic-bezier(.2,.75,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--black)}body{margin:0;background:var(--black);color:var(--cream);font-family:Terminal,'Courier New',monospace;font-size:18px;line-height:1.4;-webkit-font-smoothing:antialiased}body:not([data-chapter=home]){overflow:hidden}button,a,input{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer;border:0;background:none}a{text-decoration:none}button,a{touch-action:manipulation}button:hover,a:hover{color:var(--orange)}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:7px}button:disabled{opacity:.4;cursor:wait}[hidden]{display:none!important}::selection{color:var(--black);background:var(--orange)}.accent{color:var(--orange)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;top:-100px;left:20px;z-index:50;padding:12px;background:var(--orange);color:#000}.skip-link:focus{top:10px}
#atmosphere{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:.7}.grain{position:fixed;inset:0;z-index:20;pointer-events:none;opacity:.13;background:repeating-linear-gradient(0deg,transparent,transparent 2px,#000 2px,#000 3px);mix-blend-mode:multiply}
.header{height:100px;position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;margin:0 5.5%;border-bottom:1px solid #ffad361a}.wordmark{display:inline-flex;gap:12px;align-items:center;font-size:23px;letter-spacing:.02em;line-height:1}.brand-mark{color:var(--orange);font-size:19px;line-height:.42;display:inline-block;text-align:center;margin-right:2px;transform:translateY(-2px)}.header nav{display:flex;align-items:center;gap:32px;font-size:15px}.header button{padding:12px 0}.header #motion{display:flex;gap:10px;align-items:center;color:var(--muted)}.motion-icon{font-family:monospace;font-size:16px;color:var(--orange)}
#experience{position:relative;min-height:calc(100svh - 100px);isolation:isolate}.chapter-copy{position:relative;z-index:3;padding:clamp(65px,12vh,140px) 0 120px 8%;width:59%;pointer-events:none;transition:opacity .16s,transform .3s}.chapter-copy>*{pointer-events:auto}h1,h2,p{margin:0}h1{font-weight:400;font-size:clamp(54px,6.4vw,104px);line-height:1.01;letter-spacing:-.035em}h1>span{display:block}#chapter-title{outline:none}#chapter-title>span{white-space:nowrap}#chapter-description{color:var(--muted);font-size:clamp(17px,1.5vw,22px);line-height:1.5;max-width:480px;margin-top:28px;min-height:66px}.chapter-actions{display:flex;align-items:center;gap:28px;margin-top:35px}.button{display:inline-flex;min-height:58px;padding:15px 27px;align-items:center;justify-content:space-between;gap:64px;font-size:19px;line-height:1.2;border:1px solid var(--orange);position:relative;transition:background .2s,color .2s,box-shadow .2s}.button.primary{background:var(--orange);color:#140c01}.button.primary:hover{background:#ffbc50;box-shadow:0 0 35px #ff910029}.button span{font-family:monospace}.back{font-size:15px;color:var(--muted);padding:15px 0}.intro-bottom{position:absolute;bottom:30px;left:5.5%;right:5.5%;display:flex;justify-content:space-between;align-items:center;color:#8f7c60;font-size:13px;z-index:5}.story-progress{display:flex;gap:7px}.story-progress span{display:block;height:2px;width:40px;background:#4a3219;transition:background .4s}.story-progress span.active{background:var(--orange)}
.scene{position:absolute;width:48%;height:calc(100svh - 118px);min-height:480px;max-height:960px;right:2%;top:0;z-index:1;display:grid;place-items:center;transition:transform 1s var(--ease),opacity .65s var(--ease);pointer-events:none}.scene canvas,.lamp-fallback{height:100%;width:100%;object-fit:contain;grid-area:1/1;max-height:100%;position:relative;z-index:2;transition:opacity .4s}.scene canvas{filter:drop-shadow(0 0 14px #f8750512);opacity:0;aspect-ratio:640/900}.scene.ready canvas{opacity:1}.scene.ready .lamp-fallback{opacity:0}.lamp-fallback{mix-blend-mode:screen}.lamp-aura{position:absolute;width:80%;height:80%;background:radial-gradient(ellipse,#ff680010,transparent 64%);filter:blur(50px);opacity:.65;animation:breathe 7s ease-in-out infinite}.scene:after{content:'';position:absolute;bottom:5%;width:38%;height:3%;background:#e46c07;filter:blur(40px);opacity:.08}body[data-chapter=wax] .scene{transform:scale(1.06) translateY(1%)}body[data-chapter=camera] .scene,body[data-chapter=random] .scene{opacity:0;transform:scale(.8) translateX(25%)}
#camera-scene{position:absolute;inset:24% 0 0;z-index:1;overflow:hidden;opacity:0;transform:translateY(50px);transition:opacity .8s,transform 1.1s var(--ease);pointer-events:none}#camera-scene img{position:absolute;bottom:3%;width:100%;mix-blend-mode:screen}.camera-sweep{position:absolute;inset:20% 10% 10% 32%;background:linear-gradient(90deg,transparent,#ff9e090c,transparent);width:15%;animation:sweep 5s linear infinite;mix-blend-mode:screen}body[data-chapter=camera] #camera-scene{opacity:1;transform:none}body[data-chapter=camera] .chapter-copy{width:90%;padding-top:6vh}body[data-chapter=camera] h1{font-size:clamp(50px,5.5vw,82px)}body[data-chapter=camera] #chapter-description{max-width:600px;margin-top:16px;min-height:0}body[data-chapter=camera] .chapter-actions{margin-top:24px}
#security-scene{position:absolute;right:2%;top:0;bottom:10%;width:48%;display:grid;place-items:center;opacity:0;transform:scale(.9);transition:opacity .8s,transform 1s var(--ease);pointer-events:none}body[data-chapter=random] #security-scene{opacity:1;transform:none}.ascii-lock{color:#ffaa2a;font-family:monospace;font-size:clamp(11px,1.35vw,21px);line-height:1.4;letter-spacing:.08em;position:relative;z-index:2;text-shadow:0 0 26px #ff810055;animation:breathe 6s ease-in-out infinite}.random-cloud{position:absolute;inset:7%;overflow:hidden;color:#bd6e17;opacity:.22;font-family:monospace;font-size:12px;letter-spacing:9px;line-height:2.2;white-space:pre-wrap;mask-image:radial-gradient(ellipse,#000,transparent 68%)}
.chapter-copy.switching{opacity:0;transform:translateY(10px)}.typing-letter{display:inline-block;position:relative;white-space:pre}.typing-letter.pending{opacity:0}.typing-letter.decoding{color:var(--orange);opacity:.6}.quiet-link{border-bottom:1px solid #705023;padding-bottom:5px;display:inline-block;font-size:16px}.quiet-link:hover{border-color:var(--orange)}
#home{position:relative;z-index:1}.home-hero{position:relative;min-height:calc(100svh - 100px);padding:clamp(70px,10vh,140px) 8% 140px;overflow:hidden}.home-copy{position:relative;z-index:3;width:56%}.home-copy h1{font-size:clamp(68px,7.5vw,112px);line-height:.96;outline:none}.home-copy h1 .accent{display:inline}.home-copy>p{font-size:clamp(17px,1.5vw,21px);color:var(--muted);line-height:1.5;margin-top:30px;max-width:400px}.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:25px 32px;margin-top:32px}.home-actions .button{gap:28px}.home-actions .quiet-link{font-size:15px}#home-lamp-mount .scene{height:calc(100svh - 170px);max-height:950px;min-height:500px;right:2%;width:49%;top:0;pointer-events:auto}.lamp-tools{position:absolute;z-index:3;right:9%;bottom:70px;display:flex;gap:28px;color:var(--muted);font-size:14px}.lamp-tools button{padding:12px 0}.scroll-cue{position:absolute;left:8%;bottom:50px;color:var(--muted);display:flex;gap:50px;font-size:14px}.scroll-cue span{display:inline-block;animation:nudge 3s ease-in-out infinite}.home-copy .stir-response{font-size:14px;min-height:24px;margin-top:18px;color:var(--orange)}
.real-story{margin:0 5.5%;padding:95px 2.8% 90px;border-top:1px solid var(--line)}h2{font-size:clamp(33px,3.65vw,58px);font-weight:400;line-height:1.1;letter-spacing:-.03em}.story-heading-row{display:flex;align-items:end;justify-content:space-between;gap:40px}.story-heading-row h2{max-width:550px;white-space:nowrap}.story-heading-row h2 span{display:inline-block}.story-heading-row .quiet-link{font-size:14px}.diagram{margin:45px -4% 30px;position:relative;overflow:hidden;isolation:isolate}.diagram img{width:100%;display:block;mix-blend-mode:screen}.diagram-scan{position:absolute;inset:5% 0;background:linear-gradient(90deg,transparent,#ffb64009,transparent);width:30%;animation:sweep 8s linear infinite;mix-blend-mode:screen;pointer-events:none}.story-bottom{display:grid;grid-template-columns:1.15fr 1fr;gap:12%;border-top:1px solid var(--line);padding-top:30px;color:var(--muted);font-size:18px}.story-bottom>p{max-width:490px}.story-bottom>div>p{margin-bottom:22px}.story-bottom .quiet-link{color:var(--cream)}.take-it{margin:0 5.5%;padding:75px 2.8%;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:40px}.take-links{margin-top:35px;display:flex;flex-wrap:wrap;gap:26px;font-size:15px}.take-links a{border-bottom:1px solid #705023;padding-bottom:5px}.avatar-download{width:190px;flex-shrink:0;border:1px solid #ffbd4033;position:relative;transition:border-color .3s,transform .3s}.avatar-download:hover{border-color:var(--orange);transform:translateY(-4px)}.avatar-download img{width:100%;display:block}footer{margin:0 5.5%;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:35px;padding:35px 0 40px}footer p{font-size:12px;color:#8f7c60}footer button{font-size:26px;min-width:48px;min-height:48px}.reveal{opacity:0;transform:translateY(25px);transition:opacity .8s var(--ease),transform .8s var(--ease)}.reveal.visible{opacity:1;transform:none}.noscript-note{padding:25px;color:var(--muted)}
@keyframes breathe{0%,100%{opacity:.72}50%{opacity:1}}@keyframes sweep{from{transform:translateX(-150%)}to{transform:translateX(450%)}}@keyframes nudge{0%,80%,100%{transform:translateY(0)}90%{transform:translateY(5px)}}
html.paused *,html.paused *:before,html.paused *:after{animation-play-state:paused!important}html.paused{scroll-behavior:auto}html.paused .reveal{transition:none}html.paused .camera-sweep,html.paused .diagram-scan{opacity:0}
@media(min-width:1700px){.header,#home footer{max-width:1600px;margin-left:auto;margin-right:auto}.chapter-copy{padding-left:max(8%,calc((100% - 1440px)/2))}.home-hero{max-width:1700px;margin:auto}.real-story,.take-it{max-width:1500px;margin-left:auto;margin-right:auto}}
@media(max-width:1000px){.header{height:85px}.header nav{gap:22px}#experience{min-height:calc(100svh - 85px)}.chapter-copy{padding-left:6%;width:62%}h1{font-size:clamp(46px,7.3vw,75px)}.scene{right:-6%;width:53%}.home-hero{padding-left:6%;padding-right:6%}.home-copy h1{font-size:clamp(61px,8vw,90px)}.home-actions{gap:20px}.home-actions .quiet-link{font-size:14px}.lamp-tools{right:5%;gap:16px}.home-copy{width:59%}.home-copy>p{max-width:300px}.story-bottom{gap:8%}}
@media(max-width:700px){body{font-size:16px}.header{height:73px;margin:0 6%}.wordmark{font-size:19px;gap:8px}.header nav{gap:20px;font-size:12px}.header #motion{gap:6px}.header nav>a{display:none!important}.header #motion-label{display:none}.header #motion{min-width:32px;justify-content:center}.header .motion-icon{font-size:17px}#experience{min-height:calc(100svh - 73px)}.chapter-copy{padding:40px 7% 0;width:100%;pointer-events:none}.chapter-copy h1{font-size:clamp(42px,9.7vw,64px);line-height:1.01;max-width:95%}#chapter-description{font-size:16px;margin-top:19px;max-width:290px;line-height:1.4;min-height:46px}.chapter-actions{margin-top:24px;gap:22px}.button{min-height:49px;padding:12px 20px;font-size:16px;gap:44px}.back{font-size:13px}.scene{width:66%;height:58svh;min-height:0;max-height:510px;right:-12%;top:auto;bottom:18px;opacity:.82;z-index:1}.chapter-copy{z-index:3}.lamp-aura{opacity:.4}.intro-bottom{left:7%;right:7%;bottom:20px;font-size:10px;max-width:86%;gap:15px}#intro-hint{max-width:160px}.story-progress span{width:20px}.story-progress{gap:5px}body[data-chapter=wax] .scene{transform:none}body[data-chapter=camera] .chapter-copy{padding-top:40px;width:100%}body[data-chapter=camera] h1{font-size:clamp(43px,9.7vw,64px)}body[data-chapter=camera] #chapter-description{max-width:290px;margin-top:19px}#camera-scene{inset:39% -50% 0 -60%;}#camera-scene img{width:100%;bottom:10%}.camera-sweep{inset:20% 0 15% 45%}#security-scene{top:auto;bottom:10px;right:-8%;height:51svh;width:75%;opacity:0}.ascii-lock{font-size:clamp(9px,2.8vw,14px)}.random-cloud{font-size:10px;letter-spacing:5px}.home-hero{padding:43px 7% 90px;min-height:calc(100svh - 73px)}.home-copy{width:100%}.home-copy h1{font-size:clamp(56px,13vw,81px);max-width:87%}.home-copy>p{font-size:16px;max-width:270px;margin-top:20px}.home-actions{margin-top:25px;display:flex;max-width:270px;gap:22px}.home-actions .button{font-size:15px;padding:12px 18px;gap:35px}.home-actions .quiet-link{font-size:12px}.home-copy .stir-response{font-size:12px;max-width:190px;margin-top:14px}#home-lamp-mount .scene{width:68%;height:54svh;min-height:0;max-height:550px;right:-14%;top:auto;bottom:62px;opacity:.88}.lamp-tools{bottom:27px;right:7%;left:7%;justify-content:space-between;gap:10px;font-size:12px}.scroll-cue{display:none}.real-story{margin:0 6%;padding:53px 1%}.story-heading-row{display:block}.story-heading-row h2{font-size:35px}.story-heading-row .quiet-link{margin-top:20px;font-size:12px}.diagram{margin:35px -7% 25px;width:114%;}.story-bottom{grid-template-columns:1fr;gap:24px;font-size:16px;padding-top:25px}.story-bottom .quiet-link{font-size:14px}.take-it{padding:45px 1%;margin:0 6%;gap:15px;align-items:flex-start}.take-it h2{font-size:31px}.take-links{flex-direction:column;align-items:flex-start;gap:18px;margin-top:25px;font-size:13px}.avatar-download{width:95px;margin-top:3px}.take-it>div{flex:1}footer{margin:0 6%;padding:30px 0;gap:25px;flex-wrap:wrap}footer .wordmark{font-size:18px}footer p{font-size:10px;order:3;width:100%}footer button{margin-left:auto}.grain{opacity:.08}}
@media(max-width:700px) and (max-height:740px){.chapter-copy{padding-top:27px}.chapter-copy h1{font-size:clamp(37px,9vw,56px)}#chapter-description{margin-top:14px;font-size:14px;min-height:40px}.chapter-actions{margin-top:16px}.scene{height:53svh;right:-12%;bottom:15px;opacity:.7}.home-hero{padding-top:30px;min-height:680px}.home-copy h1{font-size:52px}#home-lamp-mount .scene{height:380px;bottom:60px}.home-copy>p{font-size:14px}body[data-chapter=camera] .chapter-copy{padding-top:27px}body[data-chapter=camera] h1{font-size:42px}#security-scene{height:42svh}#camera-scene{inset:45% -50% 0 -60%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}.camera-sweep,.diagram-scan{display:none}}
/* The canvas has a fixed logical ratio; grid intrinsic sizing must not enlarge it. */
#experience{overflow:clip}
.scene{display:block}
.scene canvas,.lamp-fallback{position:absolute;inset:0;width:100%;height:100%;max-height:100%;min-height:0;min-width:0}
.home-copy h1{font-size:clamp(100px,12vw,184px);line-height:.88;letter-spacing:-.035em}
.home-copy h1>span,.home-copy h1 .accent{display:block;white-space:nowrap}
.home-copy h1 .typing-letter{display:inline-block}
@media(max-width:1000px){.home-copy h1{font-size:clamp(95px,13vw,150px)}}
@media(max-width:700px){.home-copy h1{font-size:clamp(86px,24vw,133px)}.home-copy h1 .typing-letter{display:inline-block}.home-copy>p{max-width:235px}#home-lamp-mount .scene{bottom:65px}}
@media(max-width:700px) and (max-height:740px){.home-copy h1{font-size:88px}}
@media(max-width:700px){#camera-scene{left:-102%;right:-8%}.chapter-copy h1{font-size:clamp(32px,9.7vw,64px)}}
@media(max-width:700px) and (max-height:740px){#camera-scene{left:-102%;right:-8%}.chapter-copy h1{font-size:clamp(32px,9vw,56px)}}
.skip-link{top:10px;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden}
.skip-link:focus{width:auto;height:auto;padding:12px;clip-path:none;overflow:visible}
html.paused *,html.paused *:before,html.paused *:after{transition:none!important}
.noscript-note{position:fixed;bottom:0;left:0;right:0;background:var(--black);z-index:30;border-top:1px solid var(--line)}
/* Restored entry and home: quiet copy, clear source artwork, local hover response. */
#atmosphere,.grain,.lamp-aura,.scene:after,.random-cloud{display:none}
body:not([data-chapter=home]){overflow:auto}
#experience{min-height:calc(100svh - 100px);display:grid;align-items:center}
.chapter-copy{padding:65px 0 110px 8%;width:53%}
#chapter-title,body[data-chapter=camera] #chapter-title{font-size:clamp(30px,3.1vw,48px);line-height:1.3;letter-spacing:-.025em;max-width:590px;text-wrap:pretty}
body[data-chapter=landing] #chapter-title{font-size:clamp(56px,6vw,90px);line-height:1.1;max-width:480px;color:var(--orange)}
body[data-chapter=camera] .chapter-copy{width:53%;padding:65px 0 110px 8%}
.scene{pointer-events:auto;max-height:820px;min-height:0;height:calc(100svh - 135px);width:46%;right:3%;top:0;transform:none!important}
.scene canvas{cursor:crosshair;touch-action:pan-y;filter:none;transition:none}
body[data-chapter=camera] .scene,body[data-chapter=random] .scene{visibility:hidden;pointer-events:none}
.scene.ready .lamp-fallback{visibility:hidden}
#camera-scene{inset:0 3% 0 auto;top:0;width:46%;height:calc(100svh - 135px);transform:none;display:flex;align-items:center;pointer-events:none;visibility:hidden}
body[data-chapter=camera] #camera-scene{visibility:visible;pointer-events:auto}
#camera-scene img{position:relative;width:100%;bottom:auto}
.reactive-picture{position:relative}
.reactive-picture canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;cursor:crosshair;touch-action:pan-y;opacity:0}
.reactive-picture.ready canvas{opacity:1}
.reactive-picture.ready img{opacity:0}
#security-scene{right:3%;width:46%;pointer-events:none}
.ascii-lock{animation:none;font-size:clamp(13px,1.5vw,23px)}
.home-copy h1{font-size:clamp(92px,10vw,148px);line-height:.95}
.home-copy>p{max-width:340px;font-size:19px}
#home-lamp-mount .scene{width:46%;height:calc(100svh - 170px);min-height:0;right:3%;max-height:820px}
.home-copy .stir-response{display:none}
.story-heading-row h2,.take-it h2{font-size:34px}
.real-story{padding-top:60px;padding-bottom:60px}
.take-it{padding-top:42px;padding-bottom:42px}
.reveal{opacity:1;transform:none}
.scroll-cue span{animation:none}
.avatar-download{border:0}.avatar-download:hover{transform:none}
#camera-scene.ready img{visibility:hidden}
@media(max-width:1000px) and (min-width:701px){.header nav{gap:20px}.chapter-copy{width:54%}#chapter-title,body[data-chapter=camera] #chapter-title{font-size:34px}.home-copy h1{font-size:100px}}
@media(max-width:700px){
 .header{height:73px}.header nav{gap:17px;font-size:11px}.header #motion{gap:5px}
 #experience{min-height:calc(100svh - 73px);display:flex;flex-direction:column;justify-content:flex-start;overflow:visible;padding-bottom:25px}
 .chapter-copy,body[data-chapter=camera] .chapter-copy{width:100%;padding:32px 7% 0;order:0}
 #chapter-title,body[data-chapter=camera] #chapter-title{font-size:clamp(26px,6.8vw,34px);line-height:1.3;max-width:100%;min-height:100px}
 body[data-chapter=landing] #chapter-title{font-size:52px;min-height:0;max-width:100%}
 .chapter-actions{margin-top:18px;gap:24px}.button{min-height:46px;font-size:14px;padding:12px 20px;gap:44px}
 .scene{position:relative;width:100%;height:calc(100svh - 330px);max-height:510px;min-height:270px;right:auto;top:auto;bottom:auto;order:1;opacity:1}
 body[data-chapter=landing] .scene{height:calc(100svh - 260px)}
 body[data-chapter=camera] .scene,body[data-chapter=random] .scene{display:none}
 #camera-scene{display:none;position:relative;inset:auto;width:100%;height:calc(100svh - 335px);min-height:245px;max-height:460px;order:1;opacity:1}
 body[data-chapter=camera] #camera-scene{display:flex}
 #security-scene{display:none;position:relative;inset:auto;width:100%;height:calc(100svh - 365px);min-height:230px;order:1}
 body[data-chapter=random] #security-scene{display:grid}
 .ascii-lock{font-size:13px;line-height:1.3}
 .intro-bottom{position:relative;inset:auto;order:2;justify-content:center;margin-top:12px}.story-progress span{width:22px}
 .home-hero{padding:38px 7% 90px;min-height:calc(100svh - 73px);display:flex;flex-direction:column}
 .home-copy{width:100%}.home-copy h1{font-size:86px;max-width:100%}.home-copy>p{font-size:15px;max-width:260px;margin-top:20px}.home-actions{max-width:none;gap:20px;margin-top:22px}.home-actions .quiet-link{font-size:12px}.home-actions .button{font-size:14px}
 #home-lamp-mount{position:relative;height:380px;margin-top:15px}
 #home-lamp-mount .scene{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;opacity:1}
 .lamp-tools{bottom:30px;right:7%;left:7%;justify-content:center;font-size:12px}
 .real-story{padding:38px 1%}.story-heading-row h2,.take-it h2{font-size:28px}.story-heading-row .quiet-link{margin-top:15px;font-size:12px}.story-bottom{font-size:15px;gap:20px}.story-bottom .quiet-link{font-size:12px}.diagram{margin-top:25px;margin-bottom:22px}
 .take-it{padding:35px 1%}.take-links{font-size:12px}.avatar-download{width:100px}
}
@media(max-width:700px) and (max-height:740px){.chapter-copy,body[data-chapter=camera] .chapter-copy{padding-top:24px}.scene{min-height:225px}.home-copy h1{font-size:78px}#home-lamp-mount{height:330px}}

/* Launch details stay with the homepage; the three-sentence entry is unchanged. */
.pending-link{color:var(--muted);opacity:.7;cursor:default}
.home-hero{padding-top:clamp(44px,6vh,84px)}
.home-copy>p{margin-top:22px}
.launch-copy{margin-top:22px;font-size:15px;line-height:1.65;color:var(--muted);max-width:460px}
.launch-copy p+p{margin-top:13px}.launch-copy a{color:var(--cream)}.launch-copy a:hover{color:var(--orange)}.chain-type{font-size:12px}
.home-actions{margin-top:24px;gap:18px 25px}
.contract-slot{margin-top:24px;border-top:1px solid var(--line);padding-top:10px;width:min(100%,440px)}
.contract-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:var(--muted)}
.contract-heading button{padding:10px 0 10px 15px;min-width:55px;min-height:44px;color:var(--orange)}.contract-heading button:disabled{cursor:default;color:var(--muted)}
#contract-address{font:12px/1.8 'Courier New',monospace;display:block;color:var(--cream);overflow-wrap:anywhere;user-select:all}
@media(min-width:701px){.home-copy h1{font-size:clamp(92px,9vw,130px)}.home-hero{padding-bottom:115px}}
@media(max-width:700px){.header nav{gap:12px}.pending-link{font-size:10px}.home-hero{padding-top:32px}.launch-copy{font-size:12px;margin-top:18px;max-width:100%;line-height:1.7}.chain-type{font-size:10px}.launch-copy p+p{margin-top:12px}.home-actions{gap:18px;margin-top:21px}.home-actions .pending-link{font-size:11px}.contract-slot{margin-top:18px}.contract-heading{font-size:11px}#contract-address{font-size:11px}#home-lamp-mount{margin-top:22px}}
@media(max-width:360px){.header .wordmark{font-size:17px}.header nav{gap:9px;font-size:10px}.header .pending-link{font-size:9px}}

/* Motion enhances real text; words keep their natural whitespace and wrap points. */
.motion-word{display:inline-block;white-space:normal}
#chapter-title>.motion-word,.home-copy h1>.motion-word{display:inline-block;white-space:normal}
.header .wordmark{gap:11px;min-height:60px}
.header-character{display:block;position:relative;width:34px;height:66px;flex:none;transform-origin:50% 92%}
.header-character img,.header-character canvas{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen}
.header-character img{object-fit:cover;object-position:center;width:100%;height:100%}
.header-character canvas{opacity:0}
.header-character.ready canvas{opacity:1}
.header-character.ready img{visibility:hidden}
.header .wordmark:hover .header-character,.header .wordmark:focus-visible .header-character{animation:lamp-greeting 650ms ease-out both}
@keyframes lamp-greeting{0%,100%{transform:rotate(0) translateY(0)}30%{transform:rotate(-7deg) translateY(-3px)}65%{transform:rotate(5deg) translateY(-1px)}}
button:not(:disabled),a{transition:color .2s,background .2s,box-shadow .2s,text-shadow .2s}
.button:hover{box-shadow:0 0 30px #ff980e30}.button:active{translate:0 1px}
.story-progress span{transition:background .3s,box-shadow .3s}.story-progress span.active{box-shadow:0 0 10px #ff980e44}
.contract-slot,.real-story,.take-it,footer{transition:border-color .35s}.contract-slot:hover,.real-story:hover,.take-it:hover,footer:hover{border-color:#80521f}
@media(max-width:700px){.header .wordmark{gap:8px}.header-character{width:26px;height:52px}.header .brand-name{font-size:18px}.header .wordmark{min-height:54px}}
@media(max-width:360px){.header .brand-name{font-size:15px}.header-character{width:22px;height:48px}.header .wordmark{gap:6px}.header nav{gap:8px}}
html.paused .header-character,html.paused .button:active{animation:none!important;transform:none!important;translate:none!important}
@media(prefers-reduced-motion:reduce){.header-character{animation:none!important}.button:active{translate:none}}

/* First story beat: the actual subject is a whole wall of shelved lamps. */
body[data-chapter=wax] .scene{visibility:hidden;pointer-events:none}
#wall-scene{position:absolute;right:2%;top:0;width:48%;height:calc(100svh - 135px);max-height:820px;visibility:hidden;pointer-events:none;display:flex;align-items:center}
#wall-scene img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:screen}
body[data-chapter=wax] #wall-scene{visibility:visible;pointer-events:auto}
#wall-scene.ready img{visibility:hidden}
@media(max-width:700px){
 body[data-chapter=wax] .scene{display:none}
 #wall-scene{display:none;position:relative;inset:auto;order:1;width:100%;height:calc(100svh - 335px);min-height:310px;max-height:520px}
 body[data-chapter=wax] #wall-scene{display:flex}
}

/* Visual-only glyph overlays preserve real words, links and copyable addresses. */
.scramble-word{display:inline-block;position:relative;max-width:100%;vertical-align:baseline}
.scramble-word.scrambling{color:transparent!important;text-shadow:none!important}
.scramble-ink{position:absolute!important;inset:0;pointer-events:none;user-select:none;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;overflow:hidden;white-space:inherit}
.scramble-ink::after{content:attr(data-glyphs);text-shadow:0 0 9px #ff980e70}
#contract-address .scramble-word{overflow-wrap:anywhere}

.button .scramble-group,.button .scramble-word,.button .scramble-ink{font-family:inherit}
