/* Final shared preview refinements: image-backed heroes and readable details. */
@media(max-width:600px){.bp-hero-visual img[src$="-output-v3.webp"]{height:190px;object-fit:contain;object-position:center top;mask-image:linear-gradient(180deg,#000 75%,transparent 100%)}}
.bp-immersive-hero,.bp-native .bp-immersive-hero{position:relative;isolation:isolate;overflow:hidden;min-height:610px;margin:28px auto 60px!important;padding:60px!important;border:0!important;border-radius:24px;background:#f4f7fc!important;display:flex;align-items:center;text-align:left!important;width:min(calc(100% - 2*var(--gutter)),1296px)}
.bp-hero-visual{position:absolute;inset:0;z-index:-1;background:#f8faff}.bp-hero-visual img{width:100%;height:100%;object-fit:cover;display:block;object-position:center;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.02) 29%,rgba(0,0,0,.08) 45%,rgba(0,0,0,.45) 62%,rgba(0,0,0,.96) 85%)}
.bp-hero-content{width:58%;position:relative;min-width:0}.bp-hero-content h1,.bp-native .bp-hero-content h1{font-size:clamp(38px,4.3vw,60px)!important;font-weight:500!important;line-height:1.08!important;letter-spacing:-.05em!important;max-width:18ch!important;margin:0!important;color:#15171c!important;text-align:left!important}
.bp-hero-content p,.bp-native .bp-hero-content p{color:#414754!important;font-size:16px!important;line-height:1.8!important;max-width:580px!important;margin:24px 0 0!important}
.bp-hero-content .bp-eyebrow,.bp-hero-content .pr-eyebrow{font-size:11px!important;letter-spacing:.07em!important;margin:0 0 20px!important;text-transform:uppercase}
.bp-hero-content .bp-actions,.bp-hero-content .cta-row{justify-content:flex-start!important;margin-top:28px!important}
.bp-hero-content .bp-live-hero-chips{position:relative;z-index:1;flex-wrap:wrap;overflow:visible;padding:0;gap:8px;max-width:100%}
.bp-hero-content .bp-live-hero-chips .chip{max-width:100%;white-space:normal}
.bp-showcase-controls{padding-bottom:36px}.bp-showcase-controls .controls{margin-top:0}
/* Mobile only: full-width search, then the two selectors together. */
@media(max-width:640px){
.bp-showcase .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:none;width:100%;align-items:stretch}
.bp-showcase .controls>.search{grid-column:1/-1;width:100%;min-width:0;max-width:none;box-sizing:border-box}
.bp-showcase .controls .search input{min-width:0}
.bp-showcase .controls>.fsel-wrap,.bp-showcase .controls>.fsel{width:100%;min-width:0}
.bp-showcase .controls .fsel-wrap>button.fsel{display:block;width:100%;min-width:0;min-height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bp-showcase .controls .fsel-menu{max-width:calc((100vw - 2*var(--gutter) - 12px)/2);white-space:normal}
.bp-showcase .controls .fsel-menu button{overflow-wrap:anywhere}
}
.bp-live-content .sec-p{color:var(--muted)!important;text-align:center;margin:18px auto 36px!important;max-width:800px;font-size:16px;line-height:1.85}
.bp-cta p,.bp-main>.bp-cta p{color:#596170!important;text-align:center;margin-inline:auto}
.bp-cta h2,.bp-cta .bp-actions{text-align:center;justify-content:center}
.bp-rich-content .row{display:grid;grid-template-columns:1fr 1fr;gap:60px}.bp-rich-content .row.flip .copy{order:2}.bp-rich-content .row.flip .mock{order:1}
.bp-rich-content .mock{margin:0}.bp-rich-content .mk{padding:30px;border-radius:22px;background:#f4f6fa;max-width:none}
.bp-rich-content figcaption{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}.bp-rich-content figcaption small{font-size:11px;color:#596170;letter-spacing:.035em}.bp-rich-content figcaption b{font-size:18px;font-weight:500;line-height:1.5}
.bp-rich-content .mk-row{display:grid;grid-template-columns:1fr;gap:6px;background:#fff;border-radius:12px;padding:17px;margin-bottom:10px;font-size:13px;line-height:1.7}.bp-rich-content .mk-row b{font-weight:600;color:#202735}.bp-rich-content .mk-row span{color:#596170}.bp-rich-content .mk-note{font-size:12px;line-height:1.75;margin:20px 0 0;color:#596170}
.bp-native>.bp-extra-faq{font-family:Manrope,Arial,sans-serif;color:#15171c}
/* Match the existing FAQ controls: a plus when closed, a minus when open. */
.bp-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px}
.bp-faq summary::-webkit-details-marker{display:none}
.bp-faq summary::marker{content:""}
.bp-faq summary:not(:has(.plus))::after{content:"+";font-size:20px;font-weight:400;color:var(--muted);flex:0 0 auto}
.bp-faq details[open]>summary:not(:has(.plus))::after{content:"–"}
.nav-dd-menu a.nav-lab-category,.mnav-panel a.nav-lab-category{font-size:12px!important;font-weight:700!important;color:#596170!important;padding-top:18px!important;letter-spacing:.035em;border-top:1px solid var(--line);border-bottom:0!important;margin-top:8px}
.nav-dd-menu a.nav-lab-item{padding-left:24px}.mnav-panel a.nav-lab-item{padding-left:28px!important}
@media(max-width:900px){.bp-immersive-hero,.bp-native .bp-immersive-hero{padding:40px!important;min-height:580px}.bp-hero-content{width:72%}.bp-rich-content .row{grid-template-columns:1fr!important}.bp-rich-content .row.flip .copy{order:1}.bp-rich-content .row.flip .mock{order:2}}
@media(max-width:600px){.bp-immersive-hero,.bp-native .bp-immersive-hero{padding:190px 24px 32px!important;min-height:0!important;border-radius:20px;margin:18px auto 36px!important}.bp-hero-content{width:100%}.bp-hero-content h1,.bp-native .bp-hero-content h1{font-size:38px!important;max-width:none!important}.bp-hero-content p,.bp-native .bp-hero-content p{font-size:14px!important;line-height:1.85!important;margin-top:20px!important}.bp-hero-content .bp-eyebrow{font-size:10px!important;margin-top:0!important}.bp-hero-visual img{height:320px;object-position:center;mask-image:linear-gradient(180deg,rgba(0,0,0,.96) 0px,rgba(0,0,0,.8) 90px,rgba(0,0,0,.03) 190px,transparent 290px)}.bp-hero-content .bp-actions{gap:10px}.bp-hero-content .bp-button{font-size:12px;padding:10px 15px}.bp-live-content .sec-p{font-size:15px}.bp-rich-content .mk{padding:22px}.bp-rich-content .row{gap:28px}.bp-showcase-controls .controls{flex-wrap:wrap}.bp-showcase-controls .search{min-width:0;flex-basis:100%}.bp-showcase-controls .fsel{min-width:0;flex:1}}
/* Keep the tallest generated landmarks inside the wide hero crop. */
@media(max-width:600px){[data-hero-page="ai-game-builder.html"] .bp-hero-visual img{height:220px;object-position:85% center;mask-image:linear-gradient(180deg,#000 0px,#000 140px,transparent 220px)}}
@media(min-width:601px){[data-hero-page="defold-lab/index.html"] .bp-hero-visual img{object-position:center top}}
@media(max-width:600px){.bp-immersive-hero[data-hero-page$="/index.html"]:not([data-hero-page="game-lab/index.html"]) .bp-hero-visual img{object-position:85% center}}
/* Fit the 3D hero subjects completely inside wide desktop banners. */
@media(min-width:1100px){[data-hero-page="threejs-lab/index.html"] .bp-hero-visual img{object-fit:contain;object-position:right center;mask-image:linear-gradient(90deg,transparent 34%,rgba(0,0,0,.08) 45%,rgba(0,0,0,.45) 62%,rgba(0,0,0,.96) 85%)}}
@media(max-width:600px){[data-hero-page="concept-art-lab/index.html"] .bp-hero-visual img{height:220px;object-position:right center;mask-image:linear-gradient(180deg,#000 0px,#000 140px,transparent 220px)}}
[data-hero-page="contact.html"] .bp-hero-content .lead{text-align:left}
