/* Additive tools and motion. The original portfolio theme is unchanged. */
[hidden]{display:none!important}
.lab-launch{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;border:1px solid #343431;padding:24px 27px;background:#191917}
.lab-launch h3{margin:0 0 6px;font-size:22px;letter-spacing:-.04em}
.lab-launch p{margin:0;color:#aaa9a4;font-size:14px}
.lab-launch .button{min-width:180px;white-space:nowrap}
.lab-dialog{width:min(1020px,calc(100% - 32px));max-width:1020px;max-height:90dvh;overflow:auto;padding:0;border:1px solid #64645d;background:#1a1a18;color:#f8f8f5}
.lab-dialog::backdrop{background:#000c}
.lab-head{padding:28px 32px 0;display:flex;align-items:start;justify-content:space-between;gap:18px}
.lab-head h2{font-size:30px;letter-spacing:-.04em;line-height:1.2;margin:7px 0 18px}
.lab-head .eyebrow{margin:0;font-size:12px}
.lab-close{width:44px;height:44px;flex:none;background:transparent;border:1px solid #555;color:#eee;font-size:24px}
.lab-tabs{display:flex;gap:20px;padding:0 32px;border-bottom:1px solid #343431;overflow:auto}
.lab-tab{background:transparent;border:0;border-bottom:2px solid transparent;color:#aaa9a4;padding:15px 0;font:14px 'DM Mono',monospace;white-space:nowrap}
.lab-tab[aria-selected=true]{color:#f8f8f5;border-bottom-color:#f8f8f5}
.lab-panel{padding:28px 32px 32px;min-height:510px}
.lab-description{font-size:16px;color:#c5c5bf;margin:0 0 24px;max-width:740px}
.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.lab-label,.lab-fieldset legend{display:block;font:13px/1.5 'DM Mono',monospace;letter-spacing:.03em;color:#c5c5bf;margin:0 0 18px}
.lab-label select,.lab-label textarea{display:block;width:100%;margin-top:10px;border:1px solid #555650;background:#151513;color:#f8f8f5;padding:12px;font:16px/1.5 Inter,Arial,sans-serif;border-radius:0}
.lab-label textarea{min-height:148px;resize:vertical}
.lab-label select{min-height:46px}
.lab-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.lab-small{font:12px/1.6 'DM Mono',monospace;color:#aaa9a4;margin:10px 0}
.lab-text-button{background:transparent;border:0;border-bottom:1px solid #777;color:#e9e9e4;min-height:36px;padding:0;font-size:14px}
.lab-preview{border:1px solid #343431;background:#151513;padding:22px;min-width:0}
.lab-preview h3{font-size:16px;margin:0 0 14px;letter-spacing:-.025em}
.lab-output{display:block;width:100%;height:300px;resize:vertical;border:0;background:transparent;color:#d6d6d1;font:14px/1.65 'DM Mono',monospace}
.lab-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.lab-actions .button{min-width:0;text-transform:none;letter-spacing:.03em;font-size:14px;padding:10px 18px}
.lab-status{font-size:13px;line-height:1.5;color:#c5c5bf;min-height:20px;margin:12px 0 0}
.lab-note{font-size:13px;line-height:1.6;color:#aaa9a4;margin:18px 0 0}
.lab-flow-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}
.lab-flow-heading .lab-label{width:min(100%,370px)}
.lab-stage-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:10px 0 26px;padding:0;list-style:none}
.lab-stage{position:relative;min-height:102px;border:1px solid #555650;background:#151513;color:#aaa9a4;text-align:left;padding:18px;font-size:15px}
.lab-stage:not(:last-child):after{content:'→';position:absolute;right:-17px;top:40%;color:#aaa9a4;font-size:14px;pointer-events:none}
.lab-stage span{display:block;font:12px 'DM Mono',monospace;margin-bottom:10px}
.lab-stage[aria-selected=true]{background:#f8f8f5;color:#151513;border-color:#f8f8f5}
.lab-stage-body{display:grid;grid-template-columns:1fr 1fr;gap:24px;min-height:175px}
.lab-stage-body h3{font-size:24px;letter-spacing:-.04em;margin:8px 0 12px}
.lab-stage-body p{color:#c5c5bf;font-size:16px;margin:0}
.lab-example{border:1px solid #555650;padding:20px;background:#151513;font:14px/1.7 'DM Mono',monospace;white-space:pre-line;overflow-wrap:anywhere}
.lab-example b{display:block;font-size:12px;font-weight:400;letter-spacing:.08em;margin-bottom:10px;color:#aaa9a4}
.lab-ux-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;align-items:start}
.lab-ux-copy h3{font-size:26px;letter-spacing:-.04em;margin:0 0 12px}
.lab-ux-copy p{color:#c5c5bf;font-size:16px}
.lab-booking{border:1px solid #555650;background:#151513;padding:24px;min-width:0}
.lab-booking-head{display:flex;justify-content:space-between;gap:12px;padding-bottom:20px;border-bottom:1px solid #343431;font:13px 'DM Mono',monospace}
.lab-booking-head strong{letter-spacing:.12em;font-weight:500}
.lab-booking-progress{display:flex;gap:8px;margin:18px 0 22px;list-style:none;padding:0}
.lab-booking-progress li{flex:1;border-top:2px solid #343431;color:#aaa9a4;padding-top:10px;font:12px 'DM Mono',monospace}
.lab-booking-progress li[aria-current=step]{border-color:#f8f8f5;color:#f8f8f5}
.lab-fieldset{border:0;margin:0;padding:0;min-width:0}
.lab-fieldset legend{font-size:16px;font-family:Inter,Arial,sans-serif;letter-spacing:0;margin-bottom:16px}
.lab-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #555650;padding:14px;margin:0 0 10px;cursor:pointer;font-size:15px}
.lab-choice span{display:flex;align-items:center;gap:12px}
.lab-choice small{font-size:13px;color:#aaa9a4}
.lab-choice input{accent-color:#f8f8f5;width:16px;height:16px;flex:none}
.lab-choice:has(input:checked){border-color:#f8f8f5;background:#191917}
.lab-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lab-slots .lab-choice{justify-content:center;padding:13px 10px}
.lab-booking .lab-actions{justify-content:space-between}
.lab-summary{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:15px}
.lab-summary dt{color:#aaa9a4}.lab-summary dd{margin:0;text-align:right}
.lab-confirmed{font-size:25px;margin:15px 0 12px;letter-spacing:-.03em}
.lab-disclaimer{border-top:1px solid #343431;padding-top:16px;margin-top:22px;font-size:13px;color:#aaa9a4}
.motion-toggle{position:fixed;right:76px;bottom:18px;z-index:4;min-height:44px;padding:10px 12px;border:1px solid #555;background:#151513;color:#eee;font:12px 'DM Mono',monospace}
.motion-toggle[aria-pressed=true]{color:#aaa9a4}
.scroll-trace{position:fixed;top:0;left:0;width:100%;height:2px;background:#c5c5bf;opacity:.6;transform-origin:left;transform:scaleX(0);z-index:8;pointer-events:none}
.lab-dialog-open{overflow:hidden}
.motion-enabled .button,.motion-enabled .skill-card,.motion-enabled .project,.motion-enabled .lab-stage,.motion-enabled .lab-choice{transition:transform 180ms cubic-bezier(.2,.65,.3,1)}
.motion-enabled .button:active{transform:translateY(0) scale(.985);transition-duration:100ms}
.motion-enabled .hero-buttons .button>span:last-child{display:inline-block;transition:transform 180ms ease}
@media(hover:hover) and (pointer:fine){.motion-enabled .hero-buttons .button:hover>span:last-child{transform:translateX(3px)}}
:where(#skills,#experience,#projects,#contact){scroll-margin-top:90px}
@media(hover:hover) and (pointer:fine){.motion-enabled .skill-card:hover,.motion-enabled .project:hover{transform:translateY(-3px);box-shadow:0 14px 28px #0004}.motion-enabled .button:hover{transform:translateY(-1px)}}
html[data-motion=off]{scroll-behavior:auto!important}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important}
@media(max-width:720px){.lab-launch{flex-direction:column;align-items:start;padding:23px}.lab-launch .button{width:100%}.lab-dialog{width:calc(100% - 20px);max-height:94dvh}.lab-head{padding:22px 20px 0}.lab-head h2{font-size:26px}.lab-tabs{padding:0 20px;gap:18px}.lab-tab{font-size:13px}.lab-panel{padding:22px 20px;min-height:0}.lab-grid,.lab-ux-grid,.lab-stage-body{grid-template-columns:1fr}.lab-stage-list{gap:10px;grid-template-columns:repeat(2,1fr)}.lab-stage{min-height:90px;padding:14px}.lab-stage:after{display:none}.lab-output{height:240px}.lab-preview,.lab-booking{padding:18px}.lab-flow-heading{flex-direction:column;gap:0}.lab-controls{grid-template-columns:1fr;gap:0}.lab-slots{gap:7px}.lab-slots .lab-choice{padding:12px 5px;font-size:14px}.lab-note{margin-top:14px}.lab-launch h3{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.motion-enabled *,.motion-enabled *:before,.motion-enabled *:after{animation:none!important;transition:none!important}.motion-enabled .skill-card:hover,.motion-enabled .project:hover,.motion-enabled .button:hover{transform:none}}
