/* Interactive design tools, product demos and portfolio navigation. */
.command-trigger { display:none; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 12px; border:1px solid var(--line); background:var(--paper); border-radius:100px; color:var(--text); font-size:13px; white-space:nowrap; }
.command-ready .command-trigger { display:inline-flex; }
.command-trigger svg { width:16px;height:16px; }
.command-trigger kbd { font:inherit; color:var(--muted); }
.command-dialog { padding:0; width:min(620px,94vw); max-height:80dvh; border:1px solid var(--line); background:var(--paper); color:var(--text); border-radius:16px; box-shadow:0 24px 90px #0004; overflow:hidden; }
.command-dialog::backdrop { background:#19171cbf; backdrop-filter:blur(5px); }
.command-dialog__header { display:flex; align-items:center; gap:14px; padding:18px 20px; border-bottom:1px solid var(--line); }
.command-dialog input { background:transparent; border:0; color:var(--text); width:100%; min-height:44px; font-size:18px; outline:none; }
.command-dialog__close { background:var(--surface); padding:8px 12px; border-radius:7px; font-size:13px; }
.command-results { list-style:none; padding:8px; margin:0; max-height:min(52dvh,440px); overflow-y:auto; }
.command-results button { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; padding:14px; background:transparent; border-radius:8px; text-align:left; }
.command-results button[aria-selected="true"] { background:var(--lilac); color:var(--text); }
.command-results small { color:var(--muted); font-size:12px; }
.command-empty { padding:24px; color:var(--muted); }
.command-footer { border-top:1px solid var(--line); padding:12px 20px; color:var(--muted); font-size:12px; }
.command-footer kbd { font:inherit; }
@media(max-width:1100px) { .command-trigger kbd { display:none; } }
@media(max-width:760px) { .command-trigger { padding:0; width:40px; min-height:40px; } .command-trigger span { display:none; } }
.lab-tools { margin-top:28px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.lab-tool { padding:clamp(18px,3vw,32px); border:1px solid var(--line); border-radius:14px; background:var(--paper); min-width:0; }
.lab-tool .eyebrow { margin-bottom:8px; }
.lab-tool h3 { margin-bottom:10px; }
.lab-tool > p { color:var(--muted); margin-bottom:20px; }
.lab-preview { min-height:190px; background:var(--surface); border-radius:9px; display:grid; place-items:center; padding:20px; margin-bottom:22px; }
.lab-example-button { font:500 16px var(--body); min-height:44px; padding:12px 24px; border:2px solid transparent; transition:transform .18s; }
.lab-example-button:not(:disabled):active { transform:scale(.96); }
.lab-fields { display:grid; gap:14px; }
.lab-fields label { font-size:14px; font-weight:500; display:grid; gap:4px; }
.lab-fields input[type="text"],.lab-fields select { background:var(--bg); color:var(--text); border:1px solid var(--line); min-height:44px; border-radius:7px; padding:8px 12px; font:inherit; width:100%; }
.lab-fields input[type="color"] { width:100%; height:44px; border:1px solid var(--line); border-radius:7px; background:var(--bg); padding:5px; }
.lab-fields input[type="range"] { width:100%; accent-color:var(--accent); }
.lab-fields__row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.lab-label { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.lab-toolbar { margin-top:18px; display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.lab-toolbar .button { background:transparent; font-size:14px; }
.lab-toolbar .button:hover { background:var(--text); color:var(--bg); }
.lab-status { font-size:13px; color:var(--muted); min-height:22px; overflow-wrap:anywhere; margin-top:10px; white-space:pre-line; }
.motion-stage { position:relative; display:flex; flex-direction:column; justify-content:center; gap:16px; padding:20px; width:100%; }
.motion-track { height:64px; padding:8px; border-radius:10px; position:relative; border:1px solid var(--line); background:var(--paper); overflow:hidden; }
.motion-ball { position:absolute; top:8px; left:8px; width:46px; height:46px; border-radius:12px; background:var(--accent); }
.motion-curve { width:100%; max-width:170px; height:112px; margin:auto; }
.motion-curve path,.motion-curve line { fill:none; stroke:var(--accent); stroke-width:2; }
.motion-curve .curve-grid { stroke:var(--line); stroke-width:1; }
.leadership { border-top:1px solid var(--line); }
.leadership__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.leadership__grid article { padding:28px; border:1px solid var(--line); background:var(--paper); border-radius:12px; }
.leadership__grid h3 { font:500 28px/1.15 var(--display); letter-spacing:-.03em; margin:10px 0; }
.leadership__grid p { color:var(--muted); font-size:16px; }
.leadership__grid a { margin-top:15px; font-size:14px; }
.prototype-teaser { border-top:1px solid var(--line); }
.proto-teaser-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.proto-teaser-card { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); background:var(--paper); border-radius:12px; }
.proto-teaser-card__image { display:grid; place-items:center; min-height:300px; background:#17334b; padding:20px; }
.proto-teaser-card__image--venue { background:#d5ece1; }
.proto-teaser-card__image img { height:280px; max-width:100%; object-fit:contain; border-radius:8px; }
.proto-teaser-card__body { padding:25px; display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.proto-teaser-card__body h3 { font:500 32px/1.1 var(--display); letter-spacing:-.04em; }
.proto-teaser-card__body p { color:var(--muted); }
.proto-main { max-width:1440px; margin:auto; padding:64px var(--gutter) 90px; }
.proto-intro { max-width:850px; margin-bottom:35px; }
.proto-intro h1 { font:500 clamp(48px,9vw,112px)/.98 var(--display); letter-spacing:-.065em; margin:16px 0 20px; }
.proto-intro h1 em { font:inherit; color:var(--accent); }
.proto-intro > p { font-size:18px; color:var(--muted); max-width:65ch; }
.proto-shell { border:1px solid var(--line); border-radius:15px; overflow:hidden; background:var(--paper); }
.proto-tabs { display:flex; flex-wrap:wrap; gap:8px; padding:16px 22px; border-bottom:1px solid var(--line); }
.proto-tabs button { min-height:44px; padding:10px 18px; border:1px solid var(--line); background:transparent; border-radius:100px; }
.proto-tabs button[aria-pressed="true"] { background:var(--text); color:var(--bg); }
.proto-stage { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
.proto-stage__screen { display:grid; place-items:center; min-height:500px; background:#17334b; padding:25px; position:relative; }
.proto-stage__screen[data-project="venueri"] { background:#0b614c; }
.proto-stage__screen img { width:auto; max-width:100%; height:auto; max-height:540px; object-fit:contain; border-radius:14px; box-shadow:0 15px 45px #0003; }
.proto-stage__screen[data-project="rider"] img { border:5px solid #101722; border-radius:25px; }
.proto-stage__controls { padding:clamp(24px,4vw,48px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:18px; }
.proto-stage__controls h2 { font:500 clamp(30px,4vw,52px)/1.08 var(--display); letter-spacing:-.04em; }
.proto-stage__controls p { font-size:16px; color:var(--muted); }
.proto-progress-track { width:100%; height:6px; background:var(--line); border-radius:12px; overflow:hidden; }
.proto-progress-track i { display:block; height:100%; background:var(--accent); border-radius:12px; transition:width .25s; }
.proto-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.proto-actions button { min-height:44px; font-size:14px; }
.proto-actions .button:not(.button--accent) { background:transparent; }
.proto-step { font-size:13px; color:var(--accent); }
.proto-status { min-height:22px; color:var(--muted); font-size:13px; }
.proto-next-link { margin-top:10px; font-size:14px; }
@media(max-width:850px) { .lab-tools,.proto-teaser-grid,.leadership__grid,.proto-stage { grid-template-columns:1fr; } .proto-stage__screen { min-height:0; } .proto-stage__screen img { max-height:480px; } }
@media(prefers-reduced-motion:reduce) { .motion-ball,.proto-progress-track i,.lab-example-button { transition:none!important; } }
#palette-copy-all { background:transparent; margin-top:12px; }
#palette-copy-all:hover { background:var(--text); color:var(--bg); }
@media(max-width:1000px) { .command-trigger { padding:0; width:44px; } .command-trigger span { display:none; } }
