/* File: style.css | Purpose: Pxster Mini artwork styling. Does: Expand the original particle field to the viewport. 2026-10-29 | Cxder. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');
*{box-sizing:border-box}html,body{margin:0;background:#0A0A0B;color:#e8e8ec}body{font-family:'IBM Plex Mono',monospace}button,input{font:inherit}button{background:none;border:0;cursor:pointer}button:focus-visible{outline:1px solid #9A9AA3;outline-offset:4px}main{width:100%}
.wave-scene{position:relative;min-width:0;height:520px;margin:0 -20px 0 -20px;align-self:center}
.wave-scene canvas{display:block;width:100%;height:100%;touch-action:pan-y}
.wave-scene figcaption{position:absolute;left:32px;right:30px;top:10px;display:flex;justify-content:space-between;font-size:6px;letter-spacing:.19em;color:#e8e8ec3a;pointer-events:none}
.wave-corner{position:absolute;width:13px;height:13px;border-color:#e8e8ec2c;border-style:solid;pointer-events:none}
.wave-corner.top-left{left:20px;top:36px;border-width:1px 0 0 1px}
.wave-corner.bottom-right{right:20px;bottom:74px;border-width:0 1px 1px 0}
.wave-control-strip{position:absolute;bottom:22px;left:30px;right:30px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#e8e8ec70}
.wave-modes{display:flex;gap:17px}
.wave-modes button{font-size:8px;letter-spacing:.15em;font-weight:400;padding:5px 0;text-transform:uppercase;color:#e8e8ec50;border-bottom:1px solid transparent}
.wave-modes button.selected{color:#e8e8ecba;border-color:#e8e8ec65}
.wave-range{display:flex;align-items:center;gap:13px;text-transform:uppercase;letter-spacing:.12em;font-size:7px}
.wave-range input{padding:0;border:0;width:66px;height:2px;accent-color:#e8e8ec;background:#e8e8ec24;cursor:pointer}
.wave-motion{display:grid;place-items:center;width:25px;height:25px;padding:5px;color:#e8e8ecb0}
.wave-motion .icon{width:12px;height:12px}
@media(min-width:1500px){.landing-hero{min-height:780px}.wave-scene{height:640px}}
@media(max-width:1100px){.landing-shell{padding:0 36px}.landing-nav-links{margin-right:25px}.landing-hero{min-height:600px;padding:60px 0}.hero-copy h1{font-size:76px}.wave-scene{height:460px;margin-left:-30px;margin-right:-20px}.wave-scene figcaption{font-size:5px}.wave-control-strip{left:20px;right:20px;gap:12px}.wave-modes{gap:12px}.wave-range{gap:9px}.wave-range input{width:44px}.wave-range{font-size:6px}.wave-modes button{font-size:7px}.landing-platforms>div{gap:20px}.landing-platforms>div>span{font-size:9px;gap:8px}.landing-workflow{gap:55px;padding:95px 0}.insights-intro{gap:35px}.insights-intro>p{max-width:320px}}
@media(max-width:800px){.landing-shell{padding:0 26px}.landing-nav{height:86px;gap:15px}.landing-brand,.landing-brand img{width:110px;height:47px}.landing-nav-links{gap:18px;margin-right:12px}.landing-nav-links a,.landing-entry{font-size:9px}.landing-entry{gap:12px}.landing-hero{min-height:570px;grid-template-columns:1fr 1fr;padding:52px 0}.hero-copy h1{font-size:63px}.hero-copy>p{font-size:11px}.landing-cta{gap:20px;padding:13px 15px;font-size:10px}.wave-scene{height:420px;margin-left:-50px;margin-right:-20px}.wave-control-strip{left:32px;right:5px;bottom:18px;gap:8px}.wave-range{display:none}.wave-scene figcaption>span:last-child{display:none}.wave-scene figcaption{left:45px;top:15px;font-size:5px}.wave-corner.top-left{left:35px}.landing-platforms{align-items:flex-start;gap:20px}.landing-platforms>p{font-size:7px;margin-top:3px}.landing-platforms>div{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 25px}.landing-workflow{gap:36px;grid-template-columns:.8fr 1.2fr;padding:80px 0}.section-intro h2,.insights-intro h2{font-size:33px}.section-intro p{font-size:11px}.workflow-steps article{gap:15px}.workflow-steps h3{font-size:16px}.workflow-steps p{font-size:10px}.step-detail{font-size:6px}.insights-intro>p{font-size:10px;max-width:260px}.insights-metrics{gap:20px}.insights-metrics h3{font-size:13px}.insights-metrics p{font-size:9px}.insights-note{align-items:flex-start}.landing-footer{gap:20px;flex-wrap:wrap}.landing-footer>span{font-size:7px}}
@media(max-width:570px){.landing-shell{padding:0 22px}.landing-nav{height:80px}.landing-nav-links{display:none}.landing-hero{grid-template-columns:1fr;padding:48px 0 20px;min-height:auto}.hero-copy h1{font-size:72px;letter-spacing:-.07em;margin-bottom:24px}.hero-copy>p{font-size:12px;margin-bottom:25px}.hero-copy>p br:last-child{display:none}.hero-copy{padding-right:15px}.hero-caption{font-size:6px;letter-spacing:.2em}.wave-scene{height:340px;margin:-10px -14px 0}.wave-control-strip{left:28px;right:24px;bottom:15px}.wave-range{display:flex}.wave-range input{width:60px}.wave-modes button{font-size:8px}.wave-scene figcaption{left:30px;top:28px;font-size:5px}.wave-corner.top-left{left:20px;top:47px}.wave-corner.bottom-right{bottom:52px}.landing-platforms{padding:25px 0;flex-direction:column;gap:22px}.landing-platforms>div{width:100%;gap:20px}.landing-platforms>div>span{font-size:10px;gap:11px}.landing-platforms>p{font-size:7px}.landing-workflow{grid-template-columns:1fr;gap:45px;padding:65px 0}.section-intro h2{font-size:40px}.section-intro h2 br:last-child{display:none}.landing-label{font-size:7px;margin-bottom:18px}.section-intro p{font-size:12px}.workflow-steps article:first-child{border-top:1px solid #e8e8ec19;padding-top:24px}.workflow-steps article{gap:20px}.workflow-steps h3{font-size:18px}.workflow-steps p{font-size:11px}.step-detail{font-size:6px}.landing-insights{padding:55px 0}.insights-intro{flex-direction:column;align-items:flex-start;gap:24px;margin-bottom:25px}.insights-intro h2{font-size:39px}.insights-intro>p{max-width:none;font-size:11px;line-height:1.9}.insights-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.insights-metrics h3{font-size:14px}.insights-metrics p{font-size:10px}.insights-metrics>div{padding-bottom:20px}.insights-note{flex-direction:column;gap:9px}.insights-note p{font-size:9px}.insights-note a{font-size:10px}.landing-close{padding:60px 0 65px}.landing-close h2{font-size:43px}.landing-footer{padding:24px 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.landing-footer>span{grid-column:1/-1;line-height:1.7}.landing-footer p{text-align:right}}
.wave-scene canvas{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23e8e8ec' stroke-width='1'/%3E%3C/svg%3E") 12 12,crosshair}
.wave-scene canvas:focus-visible{outline:1px dashed #e8e8ec50;outline-offset:-14px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wave-scene canvas{touch-action:none}
.wave-dot-colors{display:flex;align-items:center;gap:0}
.wave-dot-colors button{position:relative;display:grid;place-items:center;width:19px;height:24px;padding:0;border:0;border-radius:3px;background:transparent;outline:none}
.wave-dot-colors button::after{content:"";display:block;width:6px;height:6px;border-radius:50%;background:var(--dot-color);opacity:.45;transition:opacity .2s,box-shadow .2s}
.wave-dot-colors button.selected::after{opacity:.9;box-shadow:0 0 0 2px #0A0A0B,0 0 0 3px #e8e8ec40}
.wave-dot-colors button:hover::after,.wave-dot-colors button:focus-visible::after{opacity:1}
.wave-dot-colors button:focus-visible{outline:1px solid #e8e8ec80;outline-offset:1px}
.wave-range{white-space:nowrap}
@media(max-width:800px){.wave-control-strip{display:grid;grid-template-columns:auto 1fr auto;row-gap:14px}.wave-dot-colors{justify-self:center}.wave-range{display:flex;grid-column:1/-1;grid-row:2;justify-self:center}.wave-motion{grid-column:3;grid-row:1}}
.wave-scene figcaption{align-items:center;gap:12px}
.wave-scene .wave-principles-link{pointer-events:auto;display:inline-flex;align-items:center;gap:7px;min-height:24px;color:inherit;font:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap}
.wave-principles-link>span{font-size:1.5em;font-weight:400;line-height:1}
.wave-scene .wave-principles-link:hover{color:var(--text,#E8E8EC)}
.wave-principles-link:focus-visible{outline:1px solid #9A9AA3;outline-offset:4px;border-radius:2px}
.principles-main .wave-scene{height:420px;width:100%;margin:30px 0 46px}
@media(max-width:600px){.principles-main .wave-scene{height:330px;margin:24px 0 32px}.principles-story p{font-size:13px;line-height:1.95}}
@media(pointer:coarse){.wave-scene canvas{touch-action:pan-y pinch-zoom}.wave-dot-colors button{width:36px;height:44px}.wave-modes button,.wave-motion{min-width:44px;min-height:44px}.wave-range input{height:20px;min-width:84px}}
.wave-readout{position:absolute;top:48px;left:24px;z-index:2;pointer-events:none;white-space:pre;font-family:inherit;font-size:9px;font-weight:400;line-height:1.8;letter-spacing:.08em;font-variant-numeric:tabular-nums;color:#e8e8ec99}
@media(max-width:650px){.wave-readout{left:16px;top:42px;font-size:8px}}
.wave-readout{font-size:7px;line-height:1.6;letter-spacing:.04em}
.wave-readout-cyan{color:#00F0FF}
.wave-readout-magenta{color:#E879F9}
@media(max-width:650px){.wave-readout{font-size:6px}}
.wave-readout{left:auto;right:24px;text-align:right}
@media(max-width:650px){.wave-readout{left:auto;right:16px}}
/* 2026-10-29 | Cxder | Give the complete assembly the full available area. */
.wave-scene{width:100%;height:100svh;min-height:440px;margin:0;overflow:hidden}
.wave-scene figcaption{top:20px;left:32px;right:32px;font-size:8px}
.wave-scene .wave-principles-link{font-size:10px;color:#9A9AA3}
.wave-corner.top-left{left:24px;top:62px}.wave-corner.bottom-right{right:24px;bottom:86px}
.wave-readout{top:78px;right:32px;font-size:8px}
.wave-control-strip{bottom:24px;left:32px;right:32px;display:flex;gap:20px}
.wave-modes{gap:20px}.wave-modes button{font-size:10px;min-height:36px}.wave-range{font-size:9px;display:flex}.wave-range input{width:120px}.wave-motion{width:36px;height:36px}.wave-dot-colors button{width:32px;height:36px}
@media(max-width:600px){.wave-scene{min-height:440px}.wave-scene figcaption{left:20px;right:20px;top:14px}.wave-corner.top-left{left:16px;top:52px}.wave-corner.bottom-right{right:16px;bottom:128px}.wave-readout{right:22px;top:65px;font-size:7px}.wave-control-strip{left:20px;right:20px;bottom:16px;display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px}.wave-range{grid-column:1/-1;grid-row:2;justify-self:center;min-height:36px}.wave-motion{grid-column:3;grid-row:1}.wave-modes button,.wave-motion,.wave-dot-colors button{min-width:44px;min-height:44px}.wave-dot-colors{justify-self:center}.wave-scene canvas{touch-action:pan-y pinch-zoom}}

/* 2026-10-29 | Cxder | Frame the larger assembly with generous surrounding space. */
main{min-height:100svh;display:grid;place-items:center;padding:clamp(28px,6vh,72px) clamp(20px,6vw,100px)}
.wave-scene{width:100%;max-width:1500px;height:82svh;max-height:1000px;min-height:440px}
@media(max-width:600px){main{padding:28px 16px}.wave-scene{height:calc(100svh - 56px);min-height:440px}.wave-scene figcaption{left:12px;right:12px}.wave-control-strip{left:12px;right:12px}}

/* 2026-10-29 | Cxder | Quiet left-side mechanics for the balance challenge. */
main{grid-template-columns:180px minmax(0,1fr);gap:clamp(24px,4vw,64px)}
.mechanics{align-self:center;font-size:10px;line-height:1.9;color:#9A9AA3;max-width:180px}.game-label{font-size:8px;letter-spacing:.16em;color:#6e6e77}.mechanics h1{font:400 24px/1.25 'IBM Plex Mono',monospace;letter-spacing:-.06em;color:#e8e8ec;margin:20px 0}.mechanics p{margin:18px 0}.game-target{display:flex;justify-content:space-between;gap:18px;font-size:9px;padding:7px 0;border-bottom:1px solid #e8e8ec12}.cyan{color:#00F0FF}.magenta{color:#E879F9}.game-stats{font-variant-numeric:tabular-nums;color:#e8e8ecaa;margin-top:25px}#game-status{min-height:38px;color:#9A9AA3}#game-start{color:#e8e8ecb0;padding:8px 0;border-bottom:1px solid #e8e8ec40;font-size:10px;text-align:left}#game-start:hover{color:#fff}.game-note{font-size:8px;color:#72727c}
@media(max-width:760px){main{grid-template-columns:1fr;gap:20px;padding:32px 20px}.mechanics{max-width:none;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-items:start}.mechanics h1{font-size:20px;margin:10px 0}.mechanics p{margin:10px 0}.game-label{grid-column:1/-1}.game-target{grid-column:2}.game-tip{grid-column:1;grid-row:3/6}.game-stats{margin-top:10px;grid-column:2}#game-status{grid-column:1;min-height:0}#game-start{grid-column:2;align-self:center;justify-self:start}.game-note{grid-column:1/-1}.wave-scene{height:70svh;min-height:440px}}

/* 2026-10-29 | Cxder | Minimal objective selector. */
#game-objective{display:block;width:100%;margin:10px 0 18px;padding:9px 3px;background:#0A0A0B;color:#9A9AA3;border:0;border-bottom:1px solid #e8e8ec30;border-radius:0;font:9px 'IBM Plex Mono',monospace;color-scheme:dark}#game-objective:focus-visible{outline:1px solid #9A9AA3;outline-offset:3px}.game-target span:last-child{text-align:right}.mechanics h1{font-size:22px}.game-target{line-height:1.6}
@media(max-width:760px){#game-objective{grid-column:1/-1;margin:8px 0 12px}#game-title{grid-column:1;grid-row:3}#game-targets{grid-column:2;grid-row:4/6}.game-tip{grid-column:1;grid-row:auto}.game-target{grid-column:auto}.game-stats{grid-column:2}.mechanics>p:not([class]){grid-column:1}}

/* 2026-10-29 | Cxder | Haiku, circular reset and visible grab steering. */
.mechanics{max-width:205px;font-size:9px;line-height:1.8}main{grid-template-columns:205px minmax(0,1fr)}.mechanics h1{font-size:21px;margin:15px 0}.mechanics p{margin:14px 0}.game-haiku{white-space:pre-line;color:#e8e8ec9c;font-size:9px;line-height:2;font-style:italic}.game-config{white-space:pre-line;font-size:8px;color:#72727c}.game-stats{white-space:pre-line;font-size:9px;margin-top:18px}#game-status{line-height:1.8;min-height:64px}.game-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}#game-reset{width:32px;height:32px;color:#9A9AA3;padding:5px}#game-reset svg{display:block;width:100%;height:100%}#game-reset:hover{color:#e8e8ec}#game-next{color:#e8e8ecaa;font-size:9px;padding:8px 0;border-bottom:1px solid #e8e8ec40}#game-next[hidden]{display:none}#game-start:disabled{opacity:.45;cursor:default}.wave-scene canvas{touch-action:none}.wave-scene canvas.is-grabbable{cursor:grab!important}.wave-scene canvas.is-steering{cursor:grabbing!important}#steer-guide{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;opacity:0}#steer-guide.visible{opacity:1}#steer-line{fill:none;stroke:#e8e8ec99;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){main{grid-template-columns:1fr}.mechanics{max-width:none}.game-haiku{grid-column:1}.game-config{grid-column:2}.game-actions{grid-column:1/-1}#game-status{min-height:0;grid-column:1/-1}#game-limits{grid-column:1}#game-targets{grid-column:2;grid-row:3/5}.game-stats{grid-column:2}.mechanics .game-note{grid-column:1/-1}}

/* 2026-10-29 | Cxder | Match Mini title shimmer on completion and align progress with the field readout. */
#game-title.challenge-complete{background:linear-gradient(110deg,#E8E8EC 10%,#00F0FF 33%,#E879F9 50%,#E8E8EC 70%);background-size:240% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:challenge-shimmer 3s ease-in-out infinite}
@keyframes challenge-shimmer{0%,100%{background-position:100% 50%}50%{background-position:0% 50%}}
.wave-game-stats{position:absolute;top:78px;left:32px;z-index:2;margin:0;pointer-events:none;font-size:8px;line-height:1.6;letter-spacing:.04em;font-weight:400;color:#e8e8ec99;white-space:pre-line;text-align:left}
@media(max-width:600px){.wave-game-stats{top:65px;left:22px;font-size:7px;max-width:48%}}
@media(prefers-reduced-motion:reduce){#game-title.challenge-complete{animation:none;background-position:40% 50%}}

/* 2026-10-29 | Cxder | In-page objective menu and a floating footer haiku collection. */
.objective-picker{position:relative;margin:10px 0 18px;z-index:5;width:100%}#game-objective{position:relative;margin:0;padding:10px 22px 10px 3px;text-align:left;font-size:9px;line-height:1.6;min-height:36px}#game-objective::after{content:'';position:absolute;right:5px;top:14px;width:5px;height:5px;border-right:1px solid #9A9AA3;border-bottom:1px solid #9A9AA3;transform:rotate(45deg)}#game-objective[aria-expanded=true]::after{transform:rotate(225deg);top:17px}
#objective-options{position:absolute;top:calc(100% + 5px);left:0;width:max(100%,260px);max-width:calc(100vw - 40px);max-height:min(360px,55svh);overflow-y:auto;padding:6px;background:#101012;border:1px solid #e8e8ec20;box-shadow:0 12px 36px #0005;scrollbar-width:thin;scrollbar-color:#494950 #101012}#objective-options[hidden]{display:none}#objective-options button{display:block;width:100%;text-align:left;padding:10px 11px;color:#9A9AA3;font:9px/1.6 'IBM Plex Mono',monospace;border:0;border-radius:0}#objective-options button:hover,#objective-options button:focus-visible{background:#e8e8ec09;color:#e8e8ec;outline:0}#objective-options button[aria-selected=true]{color:#e8e8ec;background:#e8e8ec06}
main{min-height:calc(100svh - 48px)}.wave-scene{height:78svh}.site-footer{display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:14px clamp(20px,6vw,100px);min-height:48px;color:#72727c;font-size:8px;letter-spacing:.03em}.site-footer button{color:#9A9AA3;padding:4px 0;font:inherit}.site-footer button:hover{color:#e8e8ec}.site-footer span{white-space:nowrap}
#haiku-dialog{position:fixed;inset:auto clamp(20px,6vw,100px) 62px auto;margin:0;padding:26px;width:min(660px,calc(100vw - 40px));max-height:78svh;background:#101012;color:#e8e8ec;border:1px solid #e8e8ec25;box-shadow:0 20px 80px #0008;font-family:'IBM Plex Mono',monospace;overflow:auto;scrollbar-width:thin;scrollbar-color:#494950 #101012}#haiku-dialog::backdrop{background:#0007}#haiku-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}#haiku-title{margin:0;font-size:16px;font-weight:400;letter-spacing:-.03em}#haiku-close{color:#9A9AA3;font-size:23px;width:32px;height:32px;line-height:1}#haiku-collection{display:grid;grid-template-columns:1fr 1fr;gap:28px 34px}#haiku-collection h3{font-size:9px;font-weight:400;color:#9A9AA3;line-height:1.7;margin:0 0 12px}#haiku-collection p{white-space:pre-line;color:#e8e8ecb0;font-size:10px;line-height:2;margin:0;font-style:italic}
@media(max-width:760px){.objective-picker{grid-column:1/-1}.wave-scene{height:70svh}.site-footer{justify-content:space-between;gap:16px}#haiku-dialog{right:20px;bottom:62px;padding:22px}}
@media(max-width:480px){#haiku-collection{grid-template-columns:1fr;gap:26px}}

/* 2026-10-29 | Cxder | Keep the wave motto quiet in the footer. */
.wave-motto{margin-right:auto;color:#72727c;font-size:8px;letter-spacing:.08em}
@media(max-width:480px){.site-footer{flex-wrap:wrap;gap:8px 18px}.wave-motto{flex-basis:100%}}
