*{box-sizing:border-box}html{color-scheme:light;scroll-behavior:smooth}body{margin:0;background:#f4efe3;color:#252823;font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid #aaa99d;border-radius:8px;padding:.6rem .9rem;background:#fffcf4;color:#252823;font-weight:650}button:hover{background:#eae7dc;border-color:#454a3e}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-underline-offset:.22em}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2655b8;outline-offset:3px}h1,h2,h3,p{margin-top:0}h2{font-size:clamp(1.35rem,3vw,2rem);line-height:1.2;letter-spacing:-.035em}h3{line-height:1.35}input,select,textarea{max-width:100%;min-height:44px;padding:.5rem .65rem;border:1px solid #8e9483;border-radius:7px;background:#fffef8;color:#252823}input[type=range]{padding:0;accent-color:#26362a}label{display:grid;gap:.35rem;font-size:.85rem;font-weight:650}fieldset{border:0;padding:0;margin:0}legend{font-size:.75rem;padding:0 0 .3rem}main,.top,footer{width:min(1160px,calc(100% - 64px));margin:auto}.top{display:flex;justify-content:space-between;align-items:center;min-height:90px;border-bottom:1px solid #c9c9b9;gap:1rem}.brand{display:flex;align-items:center;gap:9px;font-size:1.4rem;font-weight:800;text-decoration:none;letter-spacing:-.06em}.brandmark{display:grid;place-items:center;background:#eb7857;width:34px;height:34px;border-radius:50%;font-size:1.9rem;line-height:1}.tag{font-size:.6rem;font-weight:650;letter-spacing:.035em;margin-left:.7rem;text-transform:uppercase;border-left:1px solid #aaa;padding-left:1rem}.languages{display:flex;gap:.3rem;align-items:center}.languages legend{float:left;margin-right:.4rem}.languages button{font-size:.75rem;padding:.3rem .65rem}.languages button[aria-pressed=true]{background:#29392d;color:#fff}.hero{padding:48px 0 36px;display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:center}.eyebrow{font-size:.65rem;letter-spacing:.14em;font-weight:800;margin-bottom:1rem}.hero h1{white-space:pre-line;font-size:clamp(2.5rem,5.3vw,4.6rem);font-weight:750;line-height:1.04;letter-spacing:-.065em;margin-bottom:1.2rem}.intro{color:#575e51;max-width:48ch;font-size:1rem;margin:0}.challenge{display:flex;gap:24px;align-items:center;border:1px solid #b4c1a8;background:#e2e8d6;padding:24px;border-radius:16px}.challenge .eyebrow{margin-bottom:.5rem}.challenge p:not(.eyebrow){font-size:.9rem;margin-bottom:.7rem}.record{flex:0 0 80px;height:80px;border-radius:50%;background:repeating-radial-gradient(#354937 0 3px,#56634a 4px 5px);display:grid;place-items:center;transform:rotate(-12deg)}.record span{display:grid;place-items:center;background:#eb875f;color:#202a21;border-radius:50%;width:35px;height:35px;font-size:1.3rem;font-weight:800}.text-button{border:0;border-bottom:1px solid #455642;border-radius:0;background:none;padding:0;font-size:.8rem;min-height:34px}.workshop{background:#fffcf4;border:1px solid #c3c3b5;border-radius:18px;padding:28px;box-shadow:0 5px 0 #e3ded1}.workshop-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.workshop-heading h2{margin-bottom:0}.workshop-heading .eyebrow{color:#65705f;margin-bottom:.5rem}.transport-state{border:1px solid #bdc6b3;border-radius:999px;background:#edf0e5;font-size:.7rem;padding:.4rem .75rem;white-space:nowrap}.project-line{display:grid;grid-template-columns:1fr 2fr;gap:24px;margin-top:24px}.presets{display:flex;align-content:end;align-items:end;flex-wrap:wrap;gap:6px}.presets legend{font-size:.85rem;font-weight:650}.presets button{font-size:.75rem}.transport{display:flex;gap:12px;align-items:end;flex-wrap:wrap;border-top:1px solid #dfdfd1;padding-top:20px;margin-top:22px}.play{background:#d7eb6b;border-color:#809843;min-width:148px;font-weight:800;display:flex;gap:14px;justify-content:center;align-items:center}.play:hover{background:#c6df4a}.stop{display:flex;gap:10px;align-items:center}.number-field{display:flex;align-items:center;gap:6px;color:#66705e}.number-field input{width:80px}.number-field span{font-size:.65rem}.volume{margin-left:auto;min-width:180px}.volume input{height:28px;min-height:28px}.volume #volume-value{font-size:.65rem}.hint{font-size:.72rem;color:#606656;margin-top:12px;margin-bottom:0}.grid-help{font-size:.78rem;color:#5c6554;margin:20px 0 16px;max-width:90ch}.tracks{display:grid;gap:14px}.track{border:1px solid #d4d6c8;border-radius:10px;padding:10px;background:#f8f8ef}.track-header{display:flex;align-items:center;gap:8px;margin-bottom:9px}.track-header h3{margin:0 auto 0 0;font-size:.85rem;display:flex;align-items:center;gap:10px}.swatch{height:11px;width:11px;border-radius:3px;background:var(--voice)}.track-header button{padding:.2rem .55rem;font-size:.7rem;min-height:32px}.track.muted .pad[aria-pressed=true]{opacity:.5}.track-header button[aria-pressed=true]{background:#29392d;color:#fff}.pads{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:5px}.pad{min-height:40px;padding:0;position:relative;display:grid;place-items:center;border-radius:6px;border:1px solid #c5cabc;background:#e8ebdf;font-size:.62rem;font-weight:700;color:#58604f;touch-action:manipulation}.pad:nth-child(4n+1){border-left:3px solid #727f67}.pad[aria-pressed=true]{background:var(--voice);border-color:#545d4c;color:#1e2820;box-shadow:inset 0 -3px 0 #00000015}.pad.current{outline:2px solid #1d2821;outline-offset:1px}.voice-kick{--voice:#efa181}.voice-snare{--voice:#dbdb81}.voice-hat{--voice:#9fc8bf}.voice-tone{--voice:#bdb0da}.save-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}.save-row button{font-size:.8rem}.save-row span{margin-left:auto;font-size:.72rem;color:#59634f}.status{font-size:.82rem;min-height:1.55em;padding-top:12px;margin:10px 0 0;border-top:1px solid #e0e1d4}.status.error{color:#8c311c;font-weight:600}.outputs{margin-top:46px}.outputs header>p:last-child{color:#5e6555;max-width:70ch;font-size:.9rem}.output-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.output-grid article{border-top:2px solid #283b2c;padding:20px 0;min-width:0;display:flex;flex-direction:column;gap:10px}.output-grid p{font-size:.82rem;color:#586250;margin-bottom:.35rem}.output-grid h3{margin:0;font-size:1.1rem}.output-icon{font-size:1.8rem;font-weight:550;color:#506340}.output-grid button{font-size:.8rem;width:100%}.primary{background:#293d2d;color:#fff;border-color:#293d2d}.primary:hover{background:#42583e;color:#fff}.bars{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto}.card-actions{display:flex;gap:8px}.card-actions button{font-size:.7rem}.output-grid textarea{width:100%;font-size:.7rem;font-weight:400}.guide{border-top:1px solid #bdc3af;padding:30px 0;margin-top:24px}.guide>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.guide h3{font-size:.95rem}.guide p{font-size:.85rem;color:#586250}.limits{border-top:1px solid #bdc3af;padding:28px 0}.limits h2{font-size:1rem;letter-spacing:0}.limits p{font-size:.8rem;color:#586250;max-width:100ch}.limits button{font-size:.75rem}footer{border-top:1px solid #bdc3af;padding:25px 0 40px;display:flex;gap:12px 24px;align-items:center;flex-wrap:wrap;font-size:.72rem;color:#586250}footer strong{color:#252823;font-size:1rem}footer strong small{font-size:.55rem}footer p{margin:0}footer p:last-child{flex-basis:100%}dialog{max-width:min(480px,calc(100% - 28px));background:#fffcf4;color:#252823;border:1px solid #809077;border-radius:16px;padding:26px}dialog::backdrop{background:#17231dc9}dialog h2{font-size:1.4rem}dialog p{font-size:.9rem}dialog form>div{display:flex;gap:12px;justify-content:end}.skip{position:fixed;top:0;left:12px;transform:translateY(-150%);padding:12px;background:#fff;z-index:9}.skip:focus{transform:none}[hidden]{display:none!important}
@media(max-width:850px){.hero{gap:24px;grid-template-columns:1.15fr 1fr}.record{display:none}.challenge{padding:20px}.project-line{grid-template-columns:1fr}.output-grid{gap:20px}.volume{margin-left:0}.tag{display:none}}
@media(max-width:700px){main,.top,footer{width:calc(100% - 32px)}.top{min-height:74px}.hero{grid-template-columns:1fr;padding:30px 0;gap:22px}.hero h1{font-size:clamp(2.6rem,10vw,4rem)}.intro{font-size:.9rem}.challenge{gap:18px}.record{display:grid;flex-basis:65px;height:65px}.workshop{padding:16px;border-radius:12px}.pads{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.pad{min-height:36px}.track{padding:8px}.transport{gap:10px}.volume{flex:1 1 160px}.tempo{flex:1 1 100px}.play{flex:1}.project-line{gap:14px}.output-grid{grid-template-columns:1fr}.output-grid article{border-top:1px solid #7d8b71;padding:20px 0}.output-grid button{max-width:100%}.output-grid p{max-width:60ch}.output-icon{font-size:1.35rem}.guide>div{grid-template-columns:1fr;gap:8px}.save-row span{margin-left:0;flex-basis:100%}.workshop-heading{align-items:start}.workshop-heading h2{font-size:1.3rem}.transport-state{font-size:.62rem}.languages legend{display:none}.languages button{padding:.3rem .5rem}.brand{font-size:1.2rem}.track-header h3{font-size:.78rem}.track-header button{min-height:38px}.presets button{flex:1 1 40%;font-size:.7rem}.outputs{margin-top:32px}.card-actions{flex-wrap:wrap}.card-actions button{flex:1 1 100px}}
@media(max-width:350px){main,.top,footer{width:calc(100% - 24px)}.workshop{padding:12px}.track{padding:6px}.pads{gap:4px}.pad{min-height:34px}.record{display:none}.hero h1{font-size:2.5rem}.track-header{flex-wrap:wrap}.track-header h3{flex-basis:100%}.transport-state{max-width:84px;white-space:normal}.languages{gap:4px}.brandmark{width:27px;height:27px}.challenge{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pad.current{outline:none}.record{transform:none}}
@media(forced-colors:active){button,input,select,textarea,.workshop,.track,.challenge{border:1px solid CanvasText}.pad[aria-pressed=true]{background:Highlight;color:HighlightText;forced-color-adjust:none}.pad[aria-pressed=true]::after{content:'●';position:absolute;right:2px;bottom:0;font-size:7px}.play,.primary{background:ButtonFace;color:ButtonText}.swatch{border:1px solid CanvasText}.record{background:Canvas;color:CanvasText;border:2px solid CanvasText}}
