:root{--aubergine:#2d1746;--plum:#48205e;--cream:#fff0dc;--gold:#ecbc61;--lavender:#d8b7f7;--ink:#201037;--focus:#ffe295}
*{box-sizing:border-box}
html{background:#2b153e;min-width:320px}
body{margin:0;min-height:100vh;font-family:Arial,'Helvetica Neue',sans-serif;color:var(--cream);background:radial-gradient(ellipse at 65% 15%,#6e4679,#321848 65%,#241332);overflow-x:hidden}
button{font:inherit;cursor:pointer}
button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.page-glow{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at 84% 15%,#aa6eb044,transparent 45%),radial-gradient(ellipse at 12% 95%,#c785a54a,transparent 48%);z-index:0}
.shell{position:relative;max-width:1320px;margin:0 auto;padding:18px 20px 35px}
.tool-frame{position:relative;overflow:hidden;border:1px solid #efd7af8a;border-radius:28px;box-shadow:0 28px 68px #170b27a8;background:#422458}
.brand-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;padding:17px 33px 12px;min-height:98px;background:linear-gradient(90deg,#321947,#58306e 65%,#3b1d53);border-bottom:1px solid #f4d8ac47}
.brand-group{display:flex;gap:12px;align-items:center}
.brand-mark{height:59px;width:49px;flex-shrink:0;filter:drop-shadow(0 3px 4px #1c0d31aa)}
.brand-text h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;letter-spacing:-.025em;font-size:clamp(32px,3.4vw,49px);margin:0;color:#fff1de;text-shadow:0 2px 8px #2d1936}
.gold-flourish{height:8px;width:65%;margin:4px auto 0;border-top:3px solid #efb95f;border-radius:50%;transform:rotate(-1deg)}
.header-tagline{color:#ffdfba;font-family:Georgia,serif;font-size:clamp(12px,1.3vw,17px);font-style:italic;margin:0 0 0 35px;padding-left:25px;border-left:1px solid #dfba8f8a}
.workspace{position:relative;min-height:565px;isolation:isolate}
.instrument-panel{position:relative;inset:0;height:565px;overflow:hidden;background:linear-gradient(#50255e28,#602c5838),url('assets/lavender-foreground.png') left bottom / auto 65% no-repeat,url('assets/mountains-photographic.webp') center bottom / auto 140% no-repeat}
.instrument-panel::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#522b5b1b,transparent 46%,#44214d18);pointer-events:none}
.instrument-stage{position:absolute;bottom:0;left:7%;width:min(75%,760px);height:auto;line-height:0;z-index:1}
.harp-svg{display:block;width:100%;height:auto;filter:drop-shadow(4px 10px 16px #30133489)}
.instrument-bottom-shine{position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#daa25b,#f9e1a3,#cf9557)}
.controls{position:absolute;right:4.2%;top:17%;width:225px;display:flex;flex-direction:column;gap:20px;z-index:8}
.selector-holder{position:relative;min-width:0}
.selector-label{font-size:14px;display:block;text-align:center;margin-bottom:6px;color:#fff1e2;text-shadow:0 2px 4px #251336}
.selector-button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:54px;padding:11px 15px 11px 21px;border:1px solid #f0caa5;border-radius:999px;box-shadow:0 6px 16px #1b102a69;color:var(--ink);font-family:Georgia,serif;font-size:18px;font-weight:700;text-align:left;white-space:nowrap}
.tuning-button{background:linear-gradient(180deg,#fff9ee,#fce5c7)}
.key-button{background:linear-gradient(180deg,#ecd5fb,#d1a2f3)}
.selector-button:hover,.reset-button:hover{filter:brightness(1.05)}
.chevron{border-right:2px solid #2d1746;border-bottom:2px solid #2d1746;width:9px;height:9px;transform:rotate(45deg) translateY(-2px);flex-shrink:0;margin-right:2px}
.selector-button[aria-expanded="true"] .chevron{transform:rotate(225deg) translateY(-1px)}
.selector-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:100%;width:max-content;max-width:min(310px,90vw);padding:9px;background:#fff8f1;border:1px solid #d7b7cf;border-radius:14px;box-shadow:0 13px 38px #1d0d30a8;color:var(--ink);z-index:20}
.selector-menu[hidden]{display:none}
.menu-heading{font-size:14px;font-weight:700;padding:5px 9px 3px}
.menu-note,.menu-footnote{font-size:11px;color:#65546b;margin:2px 9px 7px;line-height:1.4}
.menu-options{display:grid;gap:2px}
.menu-option{border:0;background:transparent;color:#26133e;min-height:40px;padding:9px 12px;border-radius:9px;text-align:left;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.menu-option:not(:disabled):hover,.menu-option:not(:disabled):focus-visible{background:#ead5ff}
.menu-option[aria-current="true"]{background:#e5c7fa;font-weight:700}
.menu-option:disabled{cursor:not-allowed;color:#a7a1aa;background:#f3eef0;opacity:.78}
.menu-option .checkmark{color:#532679;font-weight:800}
.key-options{display:grid;grid-template-columns:1fr 1fr;column-gap:4px;min-width:248px}
.key-options .menu-option{font-size:12px;min-height:36px;padding:8px}
.reset-button{border:1px solid #ffe9b7;border-radius:999px;min-height:52px;background:linear-gradient(#fff7e8,#f8ddba);color:#231038;font-family:Georgia,serif;font-weight:700;font-size:19px;box-shadow:0 6px 15px #24113288;display:flex;gap:7px;align-items:center;justify-content:center}
.reset-desktop{margin-top:20px}
.reset-mobile{display:none}
.reset-icon{font-size:27px;font-family:Arial,sans-serif;line-height:.75}
.harp-string{stroke-linecap:round;pointer-events:none}
.lever-switch{cursor:pointer;outline:none}
.lever-switch .lever-handle{transform:translateY(0);transition:transform 240ms cubic-bezier(.22,.74,.28,1)}
.lever-switch .metal-main{fill:url(#metal)}
.lever-switch .metal-highlight{opacity:.88}
.lever-switch.is-on .lever-handle{transform:translateY(-19px)}
.lever-switch.is-on .metal-main{fill:url(#redMetal)}
.lever-switch.is-on .metal-highlight{stroke:#ffd2c5;opacity:.8}
.lever-switch:focus-visible .focus-ring{stroke:#fff18d;stroke-width:4;opacity:1}
.lever-switch .focus-ring{opacity:0;fill:none;pointer-events:none}
.description{display:grid;grid-template-columns:1.45fr 1fr;gap:38px;margin:16px 2px 0;padding:20px 29px;border:1px solid #efd3a35e;border-radius:18px;background:#2e183fc7;color:#fbe9da}
.description h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0 0 7px;color:#ffe5b6}
.description p{font-size:14px;line-height:1.55;margin:0;color:#eddbeb}
.description .description-aside{align-self:center;border-left:2px solid #dcb76d;padding-left:20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){
 .shell{padding:9px 9px 24px}
 .tool-frame{border-radius:22px}
 .brand-header{min-height:87px;padding:13px 10px 10px}
 .brand-group{gap:8px}.brand-mark{height:49px;width:41px}.brand-text h1{font-size:clamp(27px,5.5vw,39px)}
 .header-tagline{display:none}
 .workspace{display:flex;flex-direction:column;min-height:0}
 .controls{position:relative;right:auto;top:auto;width:100%;order:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start;padding:12px 14px 13px;background:linear-gradient(180deg,#513067,#684276a0)}
 .selector-button{min-height:49px;padding:8px 10px 8px 13px;font-size:clamp(13px,3.3vw,18px)}
 .selector-label{font-size:12px;margin-bottom:5px}
 .selector-menu{top:calc(100% + 5px)}
 #tuning-menu{left:0;right:auto} #key-menu{right:0;left:auto}
 .reset-desktop{display:none}
 .instrument-panel{order:1;height:clamp(390px,105vw,510px);border-radius:0 0 22px 22px;background-position:center bottom}
 .instrument-stage{left:-4%;bottom:0;width:108%;max-width:none}
 .reset-mobile{display:flex;position:absolute;bottom:6%;left:50%;transform:translateX(-50%);min-height:44px;font-size:17px;padding:5px 26px;white-space:nowrap;z-index:5}
 .reset-icon{font-size:23px}
 .description{grid-template-columns:1fr;padding:17px;gap:11px;margin-top:12px}
 .description .description-aside{border-left:0;border-top:1px solid #dcb76d4f;padding-left:0;padding-top:11px}
}
@media(max-width:390px){.shell{padding:5px 5px 18px}.brand-header{padding:12px 7px}.brand-text h1{font-size:27px}.controls{padding:10px 9px 12px;gap:7px}.selector-button{font-size:13px;min-height:46px}.selector-menu{max-width:94vw}.key-options{min-width:255px}.description{margin-inline:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
