@font-face{font-family:Spooky;src:url('./assets/spooky.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--ink:#09070c;--orange:#fe4600;--lavender:#9040c5;--lime:#7bc123;--white:#faf5ed;--muted:#b4aabc;--line:#39313f;font-family:Arial,Helvetica,sans-serif;font-synthesis:none;background:var(--ink);color:var(--white)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;width:100%}body{background:var(--ink)}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--lime);outline-offset:6px}a{color:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-header{display:flex;align-items:center;justify-content:space-between;max-width:1600px;margin:0 auto;padding:25px 5.4vw 14px;gap:24px}.brand{display:flex;align-items:center;text-decoration:none;width:133px;height:74px}.brand img{display:block;width:100%;height:100%;object-fit:contain}.header-right{display:flex;gap:33px;align-items:center}.edition{text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:700;color:var(--muted)}
.intro{max-width:1600px;margin:0 auto;padding:23px 5.4vw 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.93fr);gap:32px 7.3vw;align-items:center}.intro-copy{padding:16px 0 19px}.eyebrow{display:flex;gap:10px;align-items:center;text-transform:uppercase;letter-spacing:.14em;color:var(--lime);font-size:10px;font-weight:700;margin:0 0 27px}.small-spark{font-size:20px;line-height:1}h1{font-family:Spooky,Impact,sans-serif;text-transform:uppercase;font-size:clamp(70px,8.4vw,134px);font-weight:400;letter-spacing:.015em;line-height:.89;margin:0 0 30px;color:var(--orange);position:relative;display:inline-flex;flex-direction:column;isolation:isolate}.title-second{color:var(--lavender);margin-top:4px}.title-spark{position:absolute;right:-21px;top:47%;width:49px;fill:var(--lime);transform:rotate(11deg);z-index:-1}.intro-description{color:#e2d9e6;font-size:16px;line-height:1.65;max-width:400px;margin:0 0 30px}.intro-actions{display:flex;flex-direction:column;max-width:387px;gap:11px}.button{min-height:57px;padding:17px 21px;display:flex;gap:13px;justify-content:center;align-items:center;border-radius:5px;border:1px solid transparent;font-size:14px;font-weight:700;line-height:1.35;transition:background .18s,transform .18s}.button svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;flex-shrink:0}.button-primary{background:var(--orange);color:#130b05}.button-primary:hover{background:#ff8c2b}.button-primary:active,.button-secondary:active{transform:translateY(2px)}.button-arrow{margin-left:auto;font-size:23px;line-height:.8}.button-primary span:nth-child(2){margin-right:auto}.button-secondary{background:transparent;color:var(--white);border-color:#55465e}.button-secondary:hover{background:#201627}.button-secondary svg{width:17px;fill:var(--lavender);stroke:var(--lavender)}.camera-note{max-width:365px;margin:13px 0 25px;color:var(--muted);font-size:11px;line-height:1.5}.prototype-note{display:flex;gap:10px;align-items:flex-start;max-width:400px}.prototype-dot{height:6px;width:6px;border-radius:50%;background:var(--lime);flex-shrink:0;margin-top:6px}.prototype-note strong{font-size:11px;letter-spacing:.02em;font-weight:600}.prototype-note p{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 0}.how-to{border-top:1px solid var(--line);max-width:387px;margin-top:23px;font-size:12px}.how-to summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:17px 0 5px;list-style:none;color:#e6dceb}.how-to summary::-webkit-details-marker{display:none}.details-plus{font-size:20px;line-height:1;color:var(--lavender)}.how-to[open] .details-plus{transform:rotate(45deg)}.how-to ol{padding-left:20px;margin:18px 0;line-height:1.65;color:#d5cadc}.how-to li{padding-left:5px;margin-bottom:8px}.how-to>p{color:var(--muted);line-height:1.6;margin-bottom:3px}
.target-card{align-self:stretch;display:flex;flex-direction:column;min-width:0;margin-top:5px;padding-bottom:15px}.target-image{position:relative;overflow:hidden;min-height:580px;flex:1;background:#27202c;border-radius:120px 120px 5px 5px}.target-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 54%;filter:brightness(.87)}.target-image:after{position:absolute;inset:0;content:'';pointer-events:none;background:linear-gradient(180deg,transparent 65%,#08060be0)}.target-frame{z-index:1;position:absolute;width:24px;height:24px;border-color:var(--lime);border-style:solid;opacity:.9}.frame-tl{left:19px;top:40%;border-width:1.5px 0 0 1.5px}.frame-tr{right:19px;top:40%;border-width:1.5px 1.5px 0 0}.frame-bl{left:19px;bottom:20%;border-width:0 0 1.5px 1.5px}.frame-br{right:19px;bottom:20%;border-width:0 1.5px 1.5px 0}.photo-stamp{position:absolute;z-index:1;left:28px;bottom:24px;display:flex;gap:13px;align-items:center;font-size:13px;line-height:1.5;color:var(--white)}.photo-stamp>span:first-child{font-size:40px;color:var(--lime);line-height:1}.target-caption{padding:19px 0 0;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase}.target-caption-symbol{font-size:23px;color:var(--lavender);line-height:.65}.intro-footer{grid-column:1/-1;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:20px 0 22px;color:#7e7288;font-size:10px;line-height:1.4;letter-spacing:.03em}
#stage{position:fixed;inset:0;width:100%;height:100dvh;min-height:320px;isolation:isolate;background:#09070c;overflow:hidden;touch-action:manipulation}#reference-background{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}#render-host{position:absolute;inset:0;overflow:hidden}#render-host>canvas{position:absolute;inset:0;display:block;width:100%;height:100%;outline:0}#render-host>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stage-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(5,3,7,.8),transparent 27%,transparent 68%,rgba(5,3,7,.85));z-index:1}.stage-top{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:max(23px,env(safe-area-inset-top)) 26px;gap:16px;pointer-events:none}.stage-top>*{pointer-events:auto}.round-button{display:flex;align-items:center;justify-content:center;background:#0d0912a6;backdrop-filter:blur(12px);color:var(--white);border:1px solid #ffffff40;border-radius:50%;width:44px;height:44px;flex-shrink:0}.round-button:hover{background:#32213ee0}.round-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mode-label{border:1px solid #ffffff30;border-radius:50px;background:#0d0912bf;backdrop-filter:blur(12px);padding:11px 16px;font-size:11px;letter-spacing:.025em;text-align:center;color:#fff;line-height:1.4;margin:0}.stage-bottom{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:3;width:min(100%,560px);padding:24px 28px max(29px,env(safe-area-inset-bottom));pointer-events:none;text-align:center}.status-line{display:flex;align-items:center;gap:9px;justify-content:center}.status-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--lime);box-shadow:0 0 12px #c2ee8050}#status{margin:0;font-size:15px;line-height:1.4;font-weight:600;text-shadow:0 1px 7px #000}.stage-hint{color:#e6dce9;margin:9px auto 0;line-height:1.5;font-size:12px;max-width:380px;text-shadow:0 1px 5px #000}.stage-overlay{position:absolute;z-index:5;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#09070ced;padding:80px 30px;text-align:center}.stage-overlay h2{font-size:24px;line-height:1.25;font-weight:600;margin:25px 0 12px;color:var(--lavender)}.stage-overlay p{max-width:360px;line-height:1.6;color:#c9bdd2;font-size:14px;margin:0}.loading-eye{border:2px solid var(--lime);height:43px;width:70px;border-radius:80% 0 80% 0;transform:rotate(45deg);display:flex;align-items:center;justify-content:center}.loading-eye span{height:24px;width:24px;border-radius:50%;background:var(--lime);border:6px solid var(--lime);box-shadow:inset 0 0 0 7px var(--ink);animation:eye-look 1.8s ease-in-out infinite}.error-mark{height:54px;width:54px;display:grid;place-items:center;border:1px solid var(--orange);color:var(--orange);border-radius:50%;font-family:Spooky,Impact,sans-serif;font-size:35px}.error-overlay .button{margin-top:26px;min-width:190px}.error-overlay .error-footnote{font-size:11px;margin-top:20px;max-width:280px;color:var(--muted)}body[data-mode='preview'] .site-header,body[data-mode='camera'] .site-header{display:none}.stage-top:has(~.error-overlay:not([hidden])){z-index:6}.stage-top:has(~.loading-overlay:not([hidden])){z-index:6}body[data-mode='camera'] #reference-background{display:none!important}

@keyframes eye-look{0%,100%{transform:translate(-4px,4px)}50%{transform:translate(4px,-4px)}}
@media(min-width:1600px){.site-header{padding-left:86px;padding-right:86px}.intro{padding-left:86px;padding-right:86px;column-gap:117px}}
@media(max-width:1050px){.intro{column-gap:5vw}.target-image{min-height:560px}.intro-description{font-size:15px}h1{font-size:8.8vw}.edition{font-size:9px;letter-spacing:.1em}.intro-actions{max-width:100%}.title-spark{right:-15px;width:36px}}
@media(max-width:720px){.site-header{padding:16px 24px 12px}.brand{width:111px;height:62px}.intro{display:flex;flex-direction:column;align-items:stretch;padding:17px 24px 0;gap:0}.intro-copy{padding:0}.eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:23px}.small-spark{font-size:17px}h1{font-size:clamp(74px,18.2vw,125px);margin-bottom:24px;line-height:.89}.title-spark{width:42px;right:-25px;top:45%}.intro-description{font-size:15px;line-height:1.65;max-width:440px;margin-bottom:24px}.intro-actions{display:grid;grid-template-columns:1fr;max-width:none;gap:10px}.button{min-height:55px;font-size:14px}.camera-note{font-size:11px;max-width:100%;margin-bottom:23px}.prototype-note{max-width:100%}.prototype-note strong{font-size:11px}.prototype-note p{font-size:11px}.how-to{max-width:none;margin-top:23px}.how-to summary{padding:17px 0}.target-card{margin-top:27px;padding-bottom:0}.target-image{min-height:0;height:420px;flex:auto;border-radius:90px 90px 4px 4px}.target-image>img{object-position:center 57%}.target-caption{padding-top:15px;font-size:9px;letter-spacing:.06em}.photo-stamp{left:24px;bottom:22px;font-size:12px}.intro-footer{margin-top:34px;padding-top:17px;padding-bottom:23px;font-size:9px}.stage-top{padding: max(18px,env(safe-area-inset-top)) 17px 15px;gap:10px}.round-button{width:39px;height:39px}.mode-label{padding:10px 12px;font-size:10px;max-width:230px}.stage-bottom{padding:22px 21px max(25px,env(safe-area-inset-bottom))}#status{font-size:14px}.stage-hint{font-size:11px}.stage-overlay h2{font-size:22px}}
@media(max-width:370px){.site-header{padding-left:20px;padding-right:20px}.intro{padding-left:20px;padding-right:20px}.target-image{height:370px}.title-spark{right:-17px;width:32px}.intro-footer{font-size:8px}.mode-label{font-size:9px;padding:9px 10px}.stage-top{gap:6px;padding-left:12px;padding-right:12px}}
@media(max-height:520px) and (orientation:landscape){.stage-top{padding:12px 18px}.stage-bottom{padding-bottom:16px}.stage-overlay{padding:50px 24px}.stage-overlay h2{margin:16px 0 8px}.stage-overlay .button{margin-top:17px;min-height:44px;padding:10px 20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}
.photo-stamp>span:last-child{white-space:pre-line}

/* The framing stays quiet so the animated eye owns the scene. */
.edition{display:flex;align-items:center;gap:11px;color:var(--lavender)}
.edition svg{width:28px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3}
.edition svg>circle:first-of-type{fill:var(--lavender);stroke:none}
.edition svg .eye-glint{fill:var(--ink);stroke:none}
.intro-copy{position:relative}
h1{transform:rotate(-1.2deg);transform-origin:left center}
.title-second{transform:translateX(5px);letter-spacing:.025em}
.title-spark{width:52px;right:-25px;filter:drop-shadow(0 0 16px #c2ee8012)}
.intro-description{color:#e6dde9;max-width:370px}
.button{min-height:59px;border-radius:3px}
.button-primary{box-shadow:0 3px 0 #c34e00}
.button-primary:hover{box-shadow:0 3px 0 #c34e00,0 0 28px #ff740018}
.button-secondary{background:#bc91dc07;border-color:#bc91dc55;color:#e9d9f5}
.camera-note{font-size:11px;color:#a99bb5;margin-top:16px}
.target-image{border:1px solid #bc91dc47;box-shadow:0 0 0 8px #bc91dc04}
.photo-label{position:absolute;z-index:2;top:25px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.13em;text-transform:uppercase;border:1px solid #eae0ef70;padding:8px 11px;border-radius:99px;background:#09070c9c;color:#f8f3fa;white-space:nowrap;backdrop-filter:blur(10px)}
.photo-stamp{font-weight:600;letter-spacing:.02em}
.photo-stamp>span:first-child{font-weight:400}
.prototype-note{padding:12px 14px;background:#c2ee8006;border-left:1px solid #c2ee8070;max-width:387px}
.prototype-note strong{color:#ded6e3}
.prototype-note p{margin-top:5px;font-size:10px}
.stage-top{gap:13px}
.mode-label{color:#e6deec;background:#0c0811c7;border-color:#bc91dc4d;letter-spacing:.04em}
.round-button{border-color:#bc91dc66;background:#100b16b8}
.round-button:hover{border-color:var(--lavender)}
.stage-bottom{width:min(calc(100% - 36px),480px);bottom:max(18px,env(safe-area-inset-bottom));padding:17px 20px 15px;border:1px solid #bc91dc35;border-radius:6px;background:#0b0712b0;backdrop-filter:blur(14px)}
#status{font-size:14px;font-weight:600;letter-spacing:.015em}
.stage-hint{margin-top:7px;font-size:11px;color:#c9bbd4}

.stage-overlay h2{font-family:Spooky,Impact,sans-serif;font-size:37px;letter-spacing:.025em;font-weight:400}
.stage-overlay p{font-size:13px;max-width:300px}
.loading-eye{height:52px;width:85px;border-color:#c2ee80aa;box-shadow:0 0 38px #c2ee800b}
.loading-eye span{height:30px;width:30px;background:var(--lime);border-width:6px;box-shadow:inset 0 0 0 8px var(--ink),0 0 13px #c2ee8030}
@media(max-width:720px){.edition{font-size:8px;letter-spacing:.08em;gap:8px}.edition svg{width:25px}.header-right{gap:0}.title-spark{width:40px;right:-19px}.title-second{transform:translateX(3px)}.intro-description{max-width:410px}.button{min-height:56px;padding:16px 19px}.camera-note{margin-bottom:21px;line-height:1.5}.prototype-note{max-width:none;padding:11px 12px}.photo-label{top:21px;font-size:8px}.stage-bottom{width:calc(100% - 28px);bottom:max(16px,env(safe-area-inset-bottom));padding:15px 14px 14px}.stage-hint{font-size:11px;line-height:1.5}.mode-label{font-size:9px;max-width:218px;padding:10px 10px;letter-spacing:.015em}.stage-overlay h2{font-size:32px}}
@media(max-width:370px){.edition{font-size:7px;gap:6px}.edition svg{width:22px}.title-spark{width:30px;right:-11px}.stage-top{gap:6px}.mode-label{font-size:8px;padding:9px 7px}.stage-bottom{padding:13px 12px}#status{font-size:12px}}
@media(max-height:520px) and (orientation:landscape){.stage-bottom{bottom:11px;padding:10px 20px;width:min(90%,420px)}.stage-hint{margin-top:3px}.stage-overlay h2{font-size:28px}}

/* The photograph or live camera stays visible beneath the transparent effects. */
#reference-background{object-fit:contain;object-position:center;filter:none;opacity:1}
#render-host{background:transparent}
.stage-vignette{background:linear-gradient(180deg,#09070c38 0%,transparent 13%,transparent 89%,#09070c28 100%)}
#render-host:focus-visible{outline:2px solid #c2ee8080;outline-offset:-4px}
.effects-hud{width:min(calc(100% - 32px),480px);padding:13px 14px 12px;background:#0b0712bf;border-color:#bc91dc42}
.effects-hud #status{font-size:13px}
.effects-hud .stage-hint{font-size:11px;margin-top:5px}
.effects-row{display:flex;align-items:stretch;gap:8px;margin-top:12px;pointer-events:auto}
.effect-controls{display:grid;grid-template-columns:1fr 1.08fr 1.08fr;gap:4px;flex:1;min-width:0;border:0;padding:0;margin:0}
.effect-controls button{min-width:0;min-height:39px;padding:10px 6px;background:#bc91dc09;border:1px solid #bc91dc40;border-radius:3px;color:#d2c4dc;font-size:10px;line-height:1.15;transition:border-color .15s,color .15s,background .15s}
.effect-controls button:hover:not(:disabled){color:var(--white);border-color:#bc91dc90;background:#bc91dc15}
.effect-controls button[aria-pressed='true']{background:#bc91dc22;border-color:#bc91dc9c;color:#ecdcfa}
.effect-controls:disabled button{cursor:default;opacity:.4}
.burst-button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:39px;padding:10px 13px;border:1px solid #ff7400;border-radius:3px;background:var(--orange);color:#180b03;font-size:10px;font-weight:700;line-height:1.15;flex-shrink:0}
.burst-button svg{width:13px;height:13px;fill:currentColor;flex-shrink:0}
.burst-button:hover:not(:disabled){background:#ff922f;border-color:#ff922f}
.burst-button:disabled{cursor:default;opacity:.4}
.effect-controls button:focus-visible,.burst-button:focus-visible{outline-width:2px;outline-offset:3px}
@media(max-width:720px){.effects-hud{width:calc(100% - 24px);padding:11px 10px 10px;bottom:max(12px,env(safe-area-inset-bottom))}.effects-hud #status{font-size:12px}.effects-hud .stage-hint{font-size:10px;margin-top:4px}.effects-row{gap:6px;margin-top:10px}.effect-controls{gap:3px}.effect-controls button{min-height:37px;font-size:9px;padding:9px 4px}.burst-button{min-height:37px;font-size:9px;padding:9px 10px;gap:4px}.burst-button svg{width:11px;height:11px}}
@media(max-width:370px){.effects-hud{width:calc(100% - 20px);padding-left:8px;padding-right:8px}.effects-row{gap:5px}.effect-controls button{font-size:8px;padding-left:3px;padding-right:3px}.burst-button{font-size:8px;padding-left:8px;padding-right:8px}.burst-button svg{height:10px;width:10px}.effects-hud #status{font-size:11px}}
@media(max-height:520px) and (orientation:landscape){.effects-hud{width:min(calc(100% - 32px),450px);bottom:8px;padding:8px 10px}.effects-hud .stage-hint{display:none}.effects-row{margin-top:7px}.effect-controls button,.burst-button{min-height:32px;padding-top:7px;padding-bottom:7px}}

/* Sound remains a visitor-controlled, tap-started accompaniment. */
.stage-actions{display:flex;align-items:center;gap:8px;pointer-events:auto}.sound-toggle{width:auto;min-width:74px;padding:0 12px;border-radius:24px;font-size:10px;white-space:nowrap}.sound-toggle[aria-pressed="true"]{border-color:var(--lime);color:#fff}.title-second{color:#bc98dc}
@media(max-width:720px){.stage-top{gap:8px}.mode-label{max-width:135px;min-width:0;font-size:8px;padding:9px 8px}.stage-actions{gap:6px}.sound-toggle{min-width:64px;padding:0 8px;font-size:9px}}
