/* Porsche 911 (992) GT3 RS · Interactive 3D Studio — static port of studio.css for farissuhail.com */
html,body{margin:0;min-height:100%;background:#080d13}html{line-height:1.5}body{font-family:Inter,Arial,Helvetica,sans-serif}button,a{touch-action:manipulation}button{cursor:pointer}svg{flex-shrink:0}button:disabled{cursor:default}a{color:inherit}
.gt3-studio{--background:#030a13;--foreground:#dae4ef;--primary:#b6d7ff;--primary-foreground:#101b28;--muted:#344453;--muted-foreground:#8b9cac;--input:#273b4f;--ring:#9dccff;--border:#8394a63d;--accent:#273b4e;--panel:linear-gradient(135deg,#131e2ace,#060e18dc);position:relative;isolation:isolate;width:100%;height:100svh;min-height:700px;overflow:hidden;background:var(--background);color:var(--foreground);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;color-scheme:dark}
.gt3-studio[data-theme=light]{--background:#e9edf0;--foreground:#223345;--muted:#b8c4cf;--muted-foreground:#586b7b;--input:#b6c6d7;--border:#5d778c55;--accent:#dae6f0;--panel:linear-gradient(135deg,#f5f8fbe8,#e2e9efe0);--primary:#416b99;color-scheme:light}
.gt3-studio *{box-sizing:border-box}.gt3-studio button{font:inherit;color:inherit}.gt3-studio button:focus-visible,.gt3-studio a:focus-visible,.gt3-viewport:focus-visible{outline:2px solid var(--ring);outline-offset:4px}.gt3-studio button:disabled{cursor:wait;opacity:.4}.gt3-studio button:hover{color:var(--foreground)}.gt3-viewport{position:absolute;inset:0;outline:none;touch-action:none}.gt3-viewport canvas{display:block;width:100%;height:100%}.gt3-heading{position:absolute;top:38px;left:44px;pointer-events:none}.gt3-wordmark{font-weight:600;letter-spacing:.28em;font-size:14px}.gt3-heading h1{font-size:44px;font-weight:400;letter-spacing:.055em;line-height:1.15;margin:4px 0 8px;display:flex;align-items:center;gap:10px}.gt3-heading h1 span{font-size:14px;letter-spacing:0;border:1px solid var(--border);padding:4px 6px}.gt3-heading p{margin:0;color:var(--muted-foreground);font-size:14px}.gt3-light-label{position:absolute;right:43px;top:43px;font-size:12px;letter-spacing:.14em;color:var(--muted-foreground)}.gt3-light-label span+span{margin-left:7px}
.gt3-exit{position:absolute;right:43px;top:96px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px solid var(--border);border-radius:999px;background:var(--panel);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-family:'JetBrains Mono',Consolas,ui-monospace,monospace;font-size:11px;letter-spacing:.14em;text-decoration:none;color:var(--foreground)}.gt3-exit:hover{border-color:var(--ring);color:var(--primary)}
.gt3-glass{background:var(--panel);border:1px solid var(--border);box-shadow:0 12px 40px #0002,inset 0 1px #ffffff09;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:17px}.gt3-sidebar{position:absolute;left:36px;top:190px;bottom:42px;width:244px;overflow:auto;padding:20px 10px 18px;scrollbar-width:thin;scrollbar-color:#7c8c9a55 transparent}.gt3-sidebar h2{display:flex;align-items:center;gap:10px;margin:0 11px 14px;font-size:16px;font-weight:500}.gt3-parts{display:grid;gap:3px}.gt3-parts button{min-height:63px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:transparent;border:1px solid transparent;border-radius:7px;text-align:left}.gt3-parts button:hover{background:#8293a417}.gt3-parts button.is-active{background:#9ab0c329;border-color:#b2c6d936}.gt3-parts strong{display:block;font-weight:400;font-size:14px;line-height:1.4}.gt3-parts small{display:block;font-size:12px;color:var(--muted-foreground);line-height:1.4;margin-top:5px;letter-spacing:.01em}.gt3-count{font-size:12px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}.gt3-appearance{border-top:1px solid var(--border);padding-top:15px;margin:15px 10px 0}.gt3-appearance-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:9px;font-size:14px}.gt3-theme-options{display:flex;gap:8px}.gt3-theme-options button{display:grid;place-items:center;border-radius:50%;width:23px;height:23px;border:1px solid #879aae;color:#a8b8c5}.gt3-theme-options button[aria-pressed=true],.gt3-paints button[aria-pressed=true]{outline:1px solid var(--ring);outline-offset:4px}.gt3-theme-dark{background:#08121d}.gt3-theme-options .gt3-theme-light{background:#fff;color:#344353}.gt3-paint-label{margin:17px 0 12px}.gt3-paints{display:flex;justify-content:space-between;gap:8px;padding:3px}.gt3-paints button{width:22px;height:22px;border-radius:50%;border:1px solid #ffffff60;display:grid;place-items:center;padding:0}.gt3-paints .gt3-check{display:none;place-items:center}
/* native switch */
.gt3-switch{position:relative;display:inline-flex;align-items:center;width:32px;height:19px;padding:1px;border:1px solid var(--border);border-radius:20px;background:var(--input);cursor:pointer;flex:0 0 auto}.gt3-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer}.gt3-switch i{display:block;border-radius:50%;background:#0c1724;width:15px;height:15px;transition:transform .2s;pointer-events:none}.gt3-switch:has(input:checked){background:var(--primary)}.gt3-switch:has(input:checked) i{transform:translateX(12px)}.gt3-switch:has(input:focus-visible){outline:2px solid var(--ring);outline-offset:3px}.gt3-switch:has(input:disabled){opacity:.4;cursor:wait}
.gt3-camera{position:absolute;right:32px;top:38%;display:flex;flex-direction:column;align-items:center;padding:8px 5px;gap:3px;width:58px}.gt3-camera button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:7px;background:transparent;color:#aebfce}.gt3-camera button:hover,.gt3-camera button[aria-pressed=true]{background:var(--accent);color:var(--foreground)}.gt3-camera svg{width:21px;height:21px;stroke-width:1.7}.gt3-camera>span{height:1px;width:29px;background:var(--border);margin:7px 0}.gt3-controls{position:absolute;bottom:74px;left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 620px));min-width:480px;padding:19px 23px 18px;border-radius:17px}.gt3-control-block label{position:relative;display:block;text-align:center;font-size:14px;line-height:25px;color:var(--muted-foreground)}.gt3-control-block label output{position:absolute;right:0;color:var(--foreground);font-size:18px;font-variant-numeric:tabular-nums}.gt3-control-block output small{font-size:12px;color:var(--muted-foreground);margin-left:4px}.gt3-range-row{display:flex;align-items:center;gap:15px;margin:10px 0 5px}.gt3-range-row>button{background:transparent;border:1px solid var(--border);border-radius:5px;font-size:12px;padding:6px 8px;min-width:78px;white-space:nowrap}.gt3-range-row>button[aria-pressed=true]{background:#7d9ab525;border-color:#a4bfd356}.gt3-control-block+.gt3-control-block{margin-top:3px}
/* native range slider */
.gt3-range{-webkit-appearance:none;appearance:none;flex:1;min-width:0;width:100%;height:24px;margin:0;background:transparent;cursor:pointer;--p:0%}.gt3-range:disabled{opacity:.5;cursor:wait}.gt3-range::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--primary) var(--p),var(--muted) var(--p))}.gt3-range::-moz-range-track{height:4px;border-radius:4px;background:var(--muted)}.gt3-range::-moz-range-progress{height:4px;border-radius:4px;background:var(--primary)}.gt3-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;margin-top:-4px;border:1px solid #94b7d3;border-radius:50%;background:#f5faff;cursor:grab}.gt3-range::-moz-range-thumb{width:12px;height:12px;border:1px solid #94b7d3;border-radius:50%;background:#f5faff;cursor:grab}.gt3-range:focus-visible{outline:none}.gt3-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #97c8ff60}.gt3-range:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #97c8ff60}
.gt3-environment-row{display:flex;align-items:center;gap:9px;margin-top:16px;padding-top:12px;border-top:1px solid #8ba7be19}.gt3-environments{display:flex;gap:3px}.gt3-environments button{border:1px solid var(--border);border-radius:4px;font-size:12px;white-space:nowrap;padding:9px 6px;background:transparent}.gt3-environments button[aria-pressed=true]{background:#92b3cf30;border-color:#b5cadd60}.gt3-environment-row label{font-size:12px;white-space:nowrap;color:var(--muted-foreground)}.gt3-environment-row output{font-size:12px;min-width:31px;text-align:right}.gt3-environment-row .gt3-range{min-width:55px}
.gt3-part-info{position:absolute;right:102px;top:170px;width:238px;padding:23px}.gt3-part-info small{font-size:12px;color:#8dacc5;letter-spacing:.05em}.gt3-part-info h2{font-size:19px;line-height:1.3;font-weight:400;margin:17px 0}.gt3-part-info p{font-size:14px;line-height:1.7;color:var(--muted-foreground);margin:0}.gt3-part-info button{font-size:12px;color:var(--foreground);border:0;border-bottom:1px solid var(--border);background:none;padding:0 0 4px;margin-top:18px}.gt3-footer{position:absolute;bottom:24px;left:36px;right:36px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--muted-foreground);pointer-events:none}.gt3-footer>span{font-size:12px;letter-spacing:.08em;display:flex;align-items:center;gap:8px}.gt3-footer b{font-weight:400}.gt3-footer i{display:block;width:5px;height:5px;background:#a8d3fb;border-radius:50%}.gt3-footer p,.gt3-footer small{font-size:12px;margin:0}.gt3-credit{position:absolute;left:37px;bottom:5px;display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted-foreground);opacity:.8}.gt3-credit a{text-decoration:none}.gt3-credit a:hover{color:var(--foreground)}.gt3-loading,.gt3-error{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:13px;background:#07121cec;border:1px solid #829bb34d;padding:24px 30px;border-radius:12px;color:#e4edf5;text-align:center;max-width:390px;width:max-content}.gt3-loading strong{font-size:12px;font-weight:400;color:#9dafbe}.gt3-loading svg{animation:gt3-spin 1.2s linear infinite}.gt3-error p{line-height:1.6;font-size:14px;margin:0}.gt3-error button{border:1px solid #89b3d4;background:#213b50;border-radius:5px;padding:8px 15px}@keyframes gt3-spin{to{transform:rotate(360deg)}}
.gt3-studio [hidden]{display:none!important}
@media(min-width:1550px){.gt3-sidebar{bottom:auto;max-height:calc(100% - 265px)}.gt3-controls{width:700px;min-width:700px}}
@media(max-width:1120px){.gt3-sidebar{left:22px;width:218px;top:155px}.gt3-heading{left:28px;top:29px}.gt3-heading h1{font-size:38px}.gt3-controls{width:530px;min-width:0;left:calc(50% + 65px);padding:15px}.gt3-camera{right:20px}.gt3-environments button{padding:8px 4px}.gt3-environment-row{flex-wrap:wrap}.gt3-environment-row .gt3-range{flex:1}.gt3-part-info{right:91px;width:210px;top:145px}.gt3-footer small{display:none}}
@media(max-width:800px){.gt3-studio{height:100svh;min-height:780px}.gt3-heading{top:22px;left:22px}.gt3-heading h1{font-size:34px}.gt3-light-label{top:25px;right:22px;font-size:12px}.gt3-exit{right:16px;top:72px;padding:6px 9px;font-size:10px}.gt3-sidebar{left:16px;right:16px;width:auto;top:128px;bottom:auto;padding:10px;border-radius:12px;overflow:visible}.gt3-sidebar h2{display:none}.gt3-parts{display:flex;overflow:auto;gap:5px;padding-bottom:2px}.gt3-parts button{flex:0 0 auto;width:auto;min-height:44px;padding:7px 10px;gap:8px}.gt3-parts small{display:none}.gt3-parts strong{font-size:12px}.gt3-count{font-size:12px}.gt3-appearance{display:flex;align-items:center;gap:15px;border:0;margin:10px 3px 0;padding:0}.gt3-appearance-row{margin:0;font-size:12px;gap:8px}.gt3-small-title,.gt3-paint-label{display:none}.gt3-paints{margin-left:auto;gap:9px}.gt3-paints button{width:19px;height:19px}.gt3-theme-options{gap:8px}.gt3-theme-options button{width:19px;height:19px}.gt3-camera{right:16px;top:320px;width:46px;padding:6px 3px}.gt3-camera button{width:36px;height:36px}.gt3-camera svg{width:18px;height:18px}.gt3-controls{bottom:67px;left:16px;right:16px;transform:none;width:auto;border-radius:12px;padding:14px 16px}.gt3-range-row{gap:12px}.gt3-environment-row{gap:8px;flex-wrap:wrap}.gt3-environments{width:100%;gap:5px;margin-bottom:4px}.gt3-environments button{flex:1;font-size:12px}.gt3-environment-row label{font-size:12px}.gt3-part-info{right:auto;left:18px;top:248px;padding:13px;width:190px}.gt3-part-info small{font-size:12px}.gt3-part-info h2{font-size:16px;margin:9px 0}.gt3-part-info p{display:none}.gt3-part-info button{margin-top:5px}.gt3-footer{bottom:36px;left:20px;right:20px}.gt3-footer>span{display:none}.gt3-footer p{font-size:12px;text-align:center;width:100%}.gt3-credit{left:50%;transform:translateX(-50%);bottom:12px;white-space:nowrap}.gt3-loading,.gt3-error{top:44%;max-width:calc(100% - 48px)}.gt3-loading{font-size:14px}}
@media(max-width:470px){.gt3-light-label{display:none}.gt3-appearance{gap:10px}.gt3-appearance-row label{font-size:12px}.gt3-paints{gap:7px}.gt3-range-row>button{min-width:67px;padding:6px}.gt3-controls{padding:14px 12px}.gt3-heading h1{font-size:32px}.gt3-paints button{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.gt3-studio *{scroll-behavior:auto;transition:none}.gt3-loading svg{animation:none}}
