
:root{--bg:#070910;--panel:#101521;--line:#283142;--ink:#f2f5fa;--muted:#a3adbf;--accent:#b9a1ff;--gold:#eac78e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 Inter,system-ui,Arial,sans-serif}a{color:inherit}.shell{max-width:1280px;margin:auto;padding:0 5%}.mast{border-bottom:1px solid var(--line);background:#080b13}.mast .shell{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-size:19px;font-weight:850;letter-spacing:.16em}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.26em;font-weight:500}.contact{color:var(--muted);font-size:13px;text-decoration:none}.navwrap{position:sticky;top:0;z-index:50;background:#0b0e17f5;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.tabs{display:flex;justify-content:center;align-items:center;gap:6px;overflow-x:auto;padding:12px 0;scrollbar-width:thin}.tabs a{white-space:nowrap;text-decoration:none;color:#aeb8c9;border:1px solid transparent;border-radius:100px;padding:10px 17px;font-size:13px;font-weight:650;transition:.2s}.tabs a:hover{color:#fff;background:#1b2230}.tabs a.active{background:#eee8ff;color:#17102c}.hero{padding:76px 0 58px}.eyebrow{font-size:11px;letter-spacing:.23em;text-transform:uppercase;color:var(--gold);font-weight:750}.hero h1{font-size:clamp(39px,6.4vw,84px);line-height:1.05;letter-spacing:-.055em;max-width:1050px;margin:16px 0 23px}.lead{font-size:clamp(16px,2vw,20px);color:var(--muted);max-width:750px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.button{border:1px solid #5a6071;text-decoration:none;border-radius:9px;padding:12px 21px;font-size:14px;font-weight:750;display:inline-block}.button.primary{background:#d3c1ff;color:#181124;border-color:#d3c1ff}.section{padding:30px 0 75px}.section h2{font-size:clamp(26px,3.5vw,42px);line-height:1.15;letter-spacing:-.035em}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:30px 0}.tile{background:linear-gradient(155deg,#171e2d,#0d121e);border:1px solid var(--line);border-radius:16px;padding:27px;min-height:210px;display:flex;flex-direction:column}.tile h3{font-size:23px;margin:8px 0}.tile p{color:var(--muted);font-size:14px}.tile a{margin-top:auto;color:#d4c6ff;text-decoration:none;font-weight:750;font-size:13px}.num{color:var(--gold);font-size:12px;letter-spacing:.15em}.strip{background:#121927;border:1px solid #2d3850;border-radius:18px;padding:28px;margin:25px 0}.strip p{color:var(--muted)}footer{border-top:1px solid var(--line);padding:30px 0;color:var(--muted);font-size:13px}.visual{min-height:170px;background:radial-gradient(ellipse at 60% 30%,#5b439b55,transparent 60%),linear-gradient(135deg,#242e49,#0a101a);border-radius:10px;margin-bottom:15px;position:relative;overflow:hidden}.visual:after{content:'';position:absolute;inset:15% 20%;border:1px solid #b6a5e277;transform:perspective(400px) rotateX(55deg) rotateZ(-20deg);box-shadow:0 0 60px #8b6bff33}.facts{display:flex;gap:22px;flex-wrap:wrap;color:#c2cad7;font-size:13px;margin:25px 0}.facts span{border-left:2px solid #a58bea;padding-left:12px}@media(max-width:650px){.mast .shell{min-height:66px}.contact{display:none}.tabs{justify-content:flex-start}.tabs a{padding:9px 12px}.hero{padding-top:49px}.tile{min-height:185px}}

.feature-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}.feature-hero img{width:100%;height:360px;object-fit:cover;border-radius:18px;border:1px solid var(--line)}.feature-hero h1{font-size:clamp(38px,5vw,68px)}.section-head p{color:var(--muted);max-width:760px}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px;margin-top:25px}.catalog-card{border:1px solid #34405c;border-radius:15px;overflow:hidden;background:#101725;display:flex;flex-direction:column}.catalog-card img{display:block;width:100%;height:175px;object-fit:cover;background:#1b2135}.catalog-body{padding:20px;display:flex;flex-direction:column;flex:1}.catalog-body h3{font-size:19px;line-height:1.25;margin:10px 0 8px}.catalog-body p{color:var(--muted);font-size:14px;line-height:1.6;flex:1}.tag{font-size:10px;letter-spacing:.13em;color:#eac78e;font-weight:800}.mini-link{display:inline-block;color:#d3c1ff;font-size:13px;font-weight:750;text-decoration:none;margin-top:12px}.cta{margin-bottom:70px}.cta .button{margin-top:12px}@media(max-width:800px){.feature-hero{grid-template-columns:1fr}.feature-hero img{height:250px}}
.portfolio-image{overflow:hidden;min-height:210px}.portfolio-image img{display:block;width:100%;height:100%;min-height:210px;object-fit:cover;object-position:center}

/* Portfolio-first editorial layout */
.portfolio-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(25px,5vw,80px);padding:70px 0 65px;min-height:620px}.portfolio-hero h1{font-size:clamp(44px,5.9vw,83px);letter-spacing:-.055em;line-height:1.06;margin:19px 0 23px}.portfolio-hero h1 em{font-style:normal;color:#cbb8ff}.hero-note{margin-top:55px;font-size:11px;letter-spacing:.09em;color:#b0b9c9}.hero-note span{color:#bda7fa;margin:0 7px}.hero-visual{position:relative;display:block;min-height:520px;overflow:hidden;border-radius:19px;border:1px solid #333e55;background:#171d2a}.hero-visual img{position:absolute;width:100%;height:100%;object-fit:cover}.hero-visual:after,.work-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#05070be8,transparent 52%);pointer-events:none}.hero-visual>span{position:absolute;bottom:24px;left:26px;right:26px;z-index:2;font-size:15px;font-weight:750;display:flex;justify-content:space-between}.portfolio-section{padding:80px 0;border-top:1px solid #222b3c}.portfolio-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.portfolio-section-title h2,.process-section h2,.secondary-commerce h2,.portfolio-cta h2{font-size:clamp(31px,4vw,51px);line-height:1.1;letter-spacing:-.04em;margin:12px 0}.portfolio-section-title p{max-width:330px;color:var(--muted);font-size:14px}.work-grid{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:250px 250px;gap:16px}.work-card{position:relative;overflow:hidden;border:1px solid #364055;border-radius:15px;background:#171d2a}.work-card-large{grid-row:span 2}.work-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.work-card:hover img,.expertise-card:hover img{transform:scale(1.04)}.work-overlay{position:absolute;bottom:22px;left:24px;right:24px;z-index:1}.work-overlay small,.expertise-card small{font-size:10px;letter-spacing:.13em;color:#e9cb98;font-weight:750}.work-overlay h3{font-size:clamp(20px,2.3vw,29px);line-height:1.1;margin:9px 0}.work-overlay span,.expertise-card span{font-size:13px;color:#d6c7ff;font-weight:700}.expertise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.expertise-card{display:block;background:#111724;border:1px solid #303b50;border-radius:15px;overflow:hidden;text-decoration:none}.expertise-card img{width:100%;height:200px;object-fit:cover;display:block;transition:transform .35s}.expertise-card>div{padding:22px}.expertise-card h3{font-size:22px;margin:8px 0}.expertise-card p{color:var(--muted);font-size:14px;min-height:55px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:36px}.process-grid>div{border-top:1px solid #596077;padding-top:20px}.process-grid strong{font-size:12px;color:#d4c0ff}.process-grid h3{font-size:24px;margin:14px 0 5px}.process-grid p{color:var(--muted);font-size:14px}.secondary-commerce{display:grid;grid-template-columns:1fr .8fr;gap:50px;align-items:center}.secondary-commerce p,.portfolio-cta p{color:var(--muted);max-width:650px}.secondary-commerce img{width:100%;height:300px;object-fit:cover;border-radius:15px}.portfolio-cta{text-align:center;padding:90px 20px 110px}.portfolio-cta p{margin:15px auto 25px}.portfolio-cta .button{margin-top:5px}@media(max-width:900px){.portfolio-hero{grid-template-columns:1fr;min-height:0}.hero-visual{min-height:370px}.expertise-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.portfolio-hero{padding:42px 0}.hero-note{margin-top:28px}.hero-visual{min-height:300px}.portfolio-section{padding:52px 0}.portfolio-section-title{display:block}.work-grid{grid-template-columns:1fr;grid-template-rows:repeat(3,270px)}.work-card-large{grid-row:span 1}.expertise-grid,.process-grid,.secondary-commerce{grid-template-columns:1fr}.secondary-commerce img{height:210px}.portfolio-cta{padding:60px 12px 80px}}

/* Original user-provided images only — portfolio gallery */
.user-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:28px}
.user-gallery-item{margin:0;background:#10132a;border:1px solid #292b47;border-radius:14px;overflow:hidden}
.user-gallery-item img{display:block;width:100%;height:220px;object-fit:cover}
.user-gallery-item figcaption{font-size:13px;color:#d9d5ee;padding:12px 14px}
@media(max-width:760px){.user-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.user-gallery-item img{height:170px}}
@media(max-width:480px){.user-gallery{grid-template-columns:1fr}.user-gallery-item img{height:auto;max-height:340px;object-fit:contain;background:#070910}}

.official-product-reference{min-height:170px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;padding:22px;background:linear-gradient(125deg,#151b36,#25244c);border-bottom:1px solid #454365}.official-product-reference span{font-size:.72rem;letter-spacing:.11em;color:#bcb4e9}.official-product-reference a{font-weight:700;color:#f1cbff;text-decoration:underline}.equipment-compatibility{font-size:.83rem;color:#c7c9dc;border-top:1px solid #3b3d57;padding-top:12px;margin-top:12px}

/* Compact portfolio-first stage preview */
.preview-module{max-width:860px;margin:20px auto 28px;border:1px solid #36355c;border-radius:18px;overflow:hidden;background:#0d1030}
.preview-module summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px}
.preview-module summary::-webkit-details-marker{display:none}
.preview-module summary span{display:grid;gap:3px}.preview-module summary b{font-size:1.04rem}.preview-module summary small{font-size:.8rem;color:#a7abd0}
.preview-module summary strong{font-size:.9rem;padding:11px 15px;border-radius:10px;background:#5524d9;color:white;white-space:nowrap}
.preview-module[open] summary strong{background:#242747}.preview-module[open] summary strong::after{content:' · Close'}
.preview-content{padding:12px}.scene-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.scene-tabs button{border:1px solid #393d68;background:#181b3e;color:white;padding:9px 12px;border-radius:9px;cursor:pointer}.scene-tabs .scene-on{background:#5524d9}
#show-stage-photo{margin:0}#show-stage-photo img{display:block;width:100%;max-height:440px;object-fit:contain;background:#050509;border-radius:12px}#show-stage-photo figcaption{color:#afb6dc;font-size:.8rem;padding:10px}
#interactive-scene[hidden],#show-stage-photo[hidden]{display:none!important}
.real-product-photo{display:flex;flex-direction:column;justify-content:center;min-height:180px;background:#f1f1f3;text-decoration:none;color:#111;overflow:hidden}
.real-product-photo img{width:100%;height:190px;object-fit:contain;display:block;background:#fff}
.real-product-photo>span:last-child{display:block;padding:10px 14px;background:#15172c;color:#e5e6fa;font-size:.84rem}
.real-product-photo.photo-reference{background:linear-gradient(130deg,#1b2046,#31375a);color:white;padding-top:35px;text-align:center}
.photo-label{font-weight:700;font-size:1.2rem;padding:20px}

/* Interactive production stage — intentionally compact */
.production-sim{max-width:940px;margin:12px auto}.production-stage{position:relative;overflow:hidden;border-radius:12px;background:#03050b;aspect-ratio:16/8;max-height:410px}.production-stage>img{width:100%;height:100%;object-fit:cover;display:block}.production-stage canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen}.production-caption{position:absolute;bottom:8px;left:10px;color:white;background:#090c1cb9;padding:5px 9px;border-radius:6px;font-size:11px}.production-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;background:#10132a;border-radius:0 0 12px 12px}.production-controls label{display:flex;align-items:center;gap:6px;font-size:12px}.production-controls input[type=range]{width:85px}.production-presets{display:flex;gap:5px;flex-wrap:wrap}.production-controls button{background:#20284a;color:white;border:1px solid #48537c;border-radius:8px;padding:8px 10px;cursor:pointer}.production-controls button.active{background:#a41dba}.preview-module{max-width:1040px;margin:14px auto}.preview-module summary{cursor:pointer}
