/* Black Hole AI / Pass 5: minimalist product-first presentation */
:root{--p5-bg:#070914;--p5-panel:#0b1020;--p5-line:rgba(132,112,255,.22);--p5-text:#f7f8ff;--p5-muted:rgba(231,236,255,.68);--p5-purple:#8d67ff;--p5-cyan:#57e1ff}
html{overflow-y:auto!important}body.p5-page{overflow-x:hidden!important;overflow-y:auto!important;background:var(--p5-bg)}
.p5-wrap{width:min(1510px,calc(100% - 20px));margin-inline:auto}.p5-kicker{font-size:.67rem;font-weight:800;letter-spacing:.15em;color:#a7b8ef}.p5-muted{color:var(--p5-muted)}
.p5-hero{width:min(1510px,calc(100% - 20px));height:clamp(300px,31vw,395px);margin:10px auto 0;position:relative;overflow:hidden;border:1px solid var(--p5-line);border-radius:22px;background:#090c17}
.p5-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.p5-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,15,.88) 0%,rgba(4,7,15,.12) 44%,rgba(4,7,15,.08) 100%)}
.p5-hero-copy{position:absolute;z-index:2;left:26px;right:26px;bottom:20px;display:flex;align-items:end;justify-content:space-between;gap:24px}.p5-hero-copy h1{margin:.3rem 0 0;font-size:clamp(1.75rem,2.7vw,2.7rem);line-height:1;letter-spacing:-.04em}.p5-hero-copy p{max-width:560px;margin:0;color:var(--p5-muted);font-size:.9rem;line-height:1.45;text-align:right}
.p5-section{width:min(1510px,calc(100% - 20px));margin:0 auto;padding:28px 0}.p5-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:12px}.p5-head h2{margin:.25rem 0 0;font-size:clamp(1.7rem,2.7vw,2.8rem);line-height:1;letter-spacing:-.045em}.p5-head p{max-width:540px;margin:0;color:var(--p5-muted);line-height:1.45}
.p5-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,305px);gap:10px;overflow-x:auto;padding:2px 1px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin}.p5-card{min-height:235px;position:relative;overflow:hidden;scroll-snap-align:start;border:1px solid var(--p5-line);border-radius:17px;background:#0a0d18;text-decoration:none;color:#fff}.p5-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.p5-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,15,.95),rgba(4,7,15,.08) 62%,transparent)}.p5-card span{position:absolute;z-index:2;left:14px;right:14px;bottom:12px}.p5-card small{display:block;margin-bottom:3px;color:#acbbed;font-size:.61rem;letter-spacing:.11em}.p5-card strong{font-size:1.02rem;line-height:1.15}
.p5-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.p5-grid3{display:grid;grid-template-columns:1.15fr .925fr .925fr;gap:10px}.p5-screen{position:relative;overflow:hidden;border:1px solid var(--p5-line);border-radius:17px;background:#090c17}.p5-screen img{width:100%;display:block;object-fit:cover}.p5-screen:after{content:"";position:absolute;inset:auto 0 0;height:38%;background:linear-gradient(0deg,rgba(4,7,15,.82),transparent)}.p5-label{position:absolute;z-index:2;left:12px;bottom:11px;padding:6px 8px;border-radius:7px;background:rgba(4,7,15,.78);font-size:.63rem;letter-spacing:.08em;color:#fff}
.p5-product-form{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:10px}.p5-form-card,.p5-preview-card{border:1px solid var(--p5-line);border-radius:18px;overflow:hidden}.p5-form-card{padding:20px;background:#f7f9fc;color:#13213b}.p5-form-card .p5-kicker{color:#3c639d}.p5-form-card h2,.p5-form-card h3{margin:.3rem 0 .5rem}.p5-form-card p{color:#66728a;line-height:1.45}.p5-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.p5-field{display:grid;gap:5px}.p5-field.full{grid-column:1/-1}.p5-field span{font-size:.69rem;font-weight:800;color:#36425a}.p5-field input,.p5-field select,.p5-field textarea{width:100%;min-height:44px;padding:10px 11px;border:1px solid #d9e0ed;border-radius:9px;background:#fff;color:#13213b;font:inherit}.p5-field textarea{min-height:92px;resize:vertical}.p5-form-action{margin-top:12px;display:flex;gap:9px;flex-wrap:wrap}.p5-form-action button,.p5-form-action a{min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:9px;border:1px solid #293b60;text-decoration:none;font-weight:800;cursor:pointer}.p5-form-action .primary{background:#16294d;color:#fff}.p5-form-action .secondary{background:#fff;color:#1c3159}
.p5-preview-card{background:#0b1020;color:#fff;display:grid;grid-template-rows:auto 1fr}.p5-preview-head{padding:16px;border-bottom:1px solid rgba(255,255,255,.08)}.p5-preview-head h3{margin:.3rem 0 0}.p5-lead-tile{margin:16px;padding:16px;border:1px solid rgba(87,225,255,.22);border-radius:14px;background:linear-gradient(145deg,#10182b,#0c1221)}.p5-lead-tile header{display:flex;justify-content:space-between;gap:12px;align-items:center}.p5-score{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(87,225,255,.32);border-radius:50%;font-weight:900;color:#69ddff}.p5-lead-tile h4{margin:0 0 3px;font-size:1.15rem}.p5-lead-tile p{margin:0;color:#91a3c4}.p5-lead-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px}.p5-lead-meta div{padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025)}.p5-lead-meta small{display:block;color:#7f94bc;font-size:.61rem;letter-spacing:.08em}.p5-lead-meta strong{display:block;margin-top:3px;font-size:.82rem}.p5-stage-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.p5-stage-row span{padding:6px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.08);color:#9fb4df;font-size:.64rem}.p5-stage-row .active{border-color:rgba(87,225,255,.35);background:rgba(87,225,255,.08);color:#80e6ff}
.p5-build-shell{display:grid;grid-template-columns:minmax(280px,.62fr) minmax(0,1.38fr);gap:10px}.p5-build-aside{position:relative;min-height:590px;overflow:hidden;border:1px solid var(--p5-line);border-radius:18px}.p5-build-aside img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}.p5-build-aside:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,15,.96),transparent 52%)}.p5-build-aside div{position:absolute;z-index:2;left:18px;right:18px;bottom:18px}.p5-build-aside h2{margin:.3rem 0 .4rem;font-size:1.8rem}.p5-build-aside p{margin:0;color:var(--p5-muted)}
.p5-minimal-copy{max-width:520px}.p5-minimal-copy h1{font-size:clamp(1.55rem,2.3vw,2.35rem)}
@media(max-width:1000px){.p5-product-form,.p5-build-shell{grid-template-columns:1fr}.p5-grid3{grid-template-columns:1fr 1fr}.p5-grid3>*:first-child{grid-column:1/-1}.p5-hero-copy{align-items:flex-start;flex-direction:column}.p5-hero-copy p{text-align:left}}
@media(max-width:700px){.p5-hero{width:calc(100% - 12px);height:350px}.p5-section,.p5-wrap{width:calc(100% - 12px)}.p5-hero-copy{left:16px;right:16px;bottom:15px}.p5-head{align-items:flex-start;flex-direction:column}.p5-rail{grid-auto-columns:82vw}.p5-grid2,.p5-grid3,.p5-form-grid{grid-template-columns:1fr}.p5-grid3>*:first-child,.p5-field.full{grid-column:auto}.p5-build-aside{min-height:480px}}


/* Next-pass navigation pilot: products on the left, a compact tinted masthead. */
@media(min-width:1100px){
body{padding-left:216px}
body .site-header{position:fixed;inset:0 auto 0 0;width:216px;height:100dvh;background:linear-gradient(180deg,#131022,#080d18);border-right:1px solid #8570bc30;z-index:30}
body .header-inner{height:100%;padding:26px 16px;display:flex;flex-direction:column;align-items:stretch;gap:32px}
body .site-header .brand{gap:10px;font-size:13px}
body .site-header .brand-orbit{width:30px;height:30px;flex:none}
body .site-header .brand small{font-size:8px}
body #primary-nav{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%}
body #primary-nav a{padding:13px 14px;border:1px solid transparent;border-radius:10px;font-size:12px;color:#bbb8cc}
body #primary-nav a:hover{background:#ffffff08;color:#fff}
body #primary-nav a[aria-current=page]{background:linear-gradient(110deg,#6c439c50,#29203e80);border-color:#af8fdd40;color:#fff;box-shadow:inset 3px 0 #ac83ef}
body .header-cta{margin-top:auto;justify-content:center;font-size:11px}
body .menu-toggle{display:none}
body #main:before{content:'BLACK HOLE AI  /  REAL SYSTEMS';display:flex;align-items:center;height:64px;margin:14px 12px 12px;padding:0 26px;box-sizing:border-box;border:1px solid #997ad738;border-radius:16px;background:linear-gradient(90deg,#100d24f5,#171331b5,#090f2490),url('/assets/flagship/lead-black-hole-reference.png') center 48%/cover;box-shadow:inset 0 1px #ffffff0c;color:#eee8ff;font-size:12px;font-weight:650;letter-spacing:.16em}
body .lead-studio{width:calc(100% - 24px);margin-top:0}
}

@media(min-width:1100px){body #primary-nav a::after{display:none}body #primary-nav{overflow-y:auto;min-height:0}body .header-inner{gap:20px}body #primary-nav a{padding:10px 12px}body .site-header .header-inner{max-width:none}body #main{min-width:0}}

/* Override Pass 4's runtime header rule after it activates. */
@media(min-width:1100px){body.p4-active header.site-header,body header.site-header{position:fixed;inset:0 auto 0 0;height:100dvh;width:216px;margin:0;z-index:1500}body.p4-active .header-inner{height:100%;max-height:100dvh;box-sizing:border-box}body.p4-active #primary-nav{margin-left:0}}
.p5-hero.showroom-crossfade{isolation:isolate}
.p5-hero.showroom-crossfade>img.showroom-alternate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:showroom-dissolve 18s ease-in-out infinite;pointer-events:none}
.p5-hero.showroom-crossfade .p5-hero-copy{z-index:2}
.showroom-motion-toggle{position:absolute;z-index:3;right:14px;top:14px;padding:7px 10px;border:1px solid #d3c1ff55;border-radius:8px;background:#0d1125bb;backdrop-filter:blur(8px);color:#eee7ff;font:inherit;font-size:10px;cursor:pointer}
.showroom-crossfade.is-paused>img.showroom-alternate{animation-play-state:paused}
@keyframes showroom-dissolve{0%,32%,100%{opacity:0}43%,82%{opacity:1}93%{opacity:0}}
@media(prefers-reduced-motion:reduce){.p5-hero.showroom-crossfade>img.showroom-alternate{animation:none}.showroom-motion-toggle{display:none}}

/* Consistent, compact deployment intros; keep screens close to the navigation. */
body .section.page-intro{padding:24px 24px 12px;margin:0 auto;min-height:0}
body .section.page-intro h1{font-size:clamp(28px,3.2vw,44px);line-height:1.12;margin:14px 0;letter-spacing:-.025em}
body .section.page-intro p{font-size:14px;line-height:1.6;margin:10px 0;max-width:780px}
body .section.page-intro .button{min-height:40px;padding:10px 14px;font-size:12px}
body .section.page-intro+.section{padding-top:12px}
body .p4-splash h1{font-size:clamp(30px,3vw,44px);line-height:1.12}
body .p4-splash>img[src*="eila-business"],body .p5-hero>img[src*="eila-business"]{object-position:center 15%}
body .p4-splash:has(>img[src*="eila-business"]){background:#09101c}
body .p4-splash>img[src*="eila-business"]{object-fit:contain;object-position:right center}
body .p5-hero:has(>img[src*="eila-business"]){height:260px}
body .p5-hero>img[src*="eila-business"]{object-fit:contain;object-position:right top;background:#09101c}
@media(max-width:1099px){body #primary-nav{max-height:70dvh;overflow:auto}}
body main.flagship-section.flagship-tight{padding:0 24px 24px}
body .flagship-section-head h1{font-size:clamp(28px,3.2vw,44px);line-height:1.14;margin:14px 0}
body .flagship-rail-card>img{width:100%;height:150px;object-fit:cover;object-position:top;border-radius:10px;margin-bottom:12px}
body .flagship-rail-card{min-height:0}

/* Supplied portfolio artwork: preserve the complete image at every width. */
body #main:before{display:none}
body:has(.store-brand-banner){overflow-x:clip!important;overflow-y:visible!important}
.store-brand-banner{position:sticky;top:0;z-index:1400;margin:14px 12px 12px;overflow:hidden;border-radius:12px;background:#030716}
.store-brand-banner>img{display:block;width:100%;height:auto;aspect-ratio:4959/250;object-fit:contain}
@media(max-width:700px){.store-brand-banner{margin:8px 6px;border-radius:7px}}
.homepage-masthead{position:relative;margin:0;background:#070b16;overflow:hidden}
.homepage-masthead>img{display:block;width:100%;height:auto;aspect-ratio:2048/449;object-fit:contain}
.homepage-masthead:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#060a131c,transparent 45%,#0709144d);box-shadow:inset 0 -10px 25px #07091430}
.homepage-universe{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:24px;align-items:center}
.universe-art{display:block;overflow:hidden;border:1px solid #a98de833;border-radius:18px;box-shadow:0 18px 60px #0004}
.universe-art img{display:block;width:100%;height:auto;object-fit:contain}
.universe-products h2{font-size:clamp(24px,2.8vw,38px);line-height:1.12;margin:12px 0 20px}
.universe-products>a{display:block;padding:13px 0;border-bottom:1px solid #9287b326}
.universe-products strong{display:block;font-size:14px;color:#f3eeff}
.universe-products a span{display:block;margin-top:5px;font-size:12px;color:#b2aac5}
.universe-products a:hover strong{color:#bd9aff}
.sales-brief-rail{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 16px;scrollbar-color:#8b68be #101525}
.sales-brief-rail figure{flex:0 0 min(90%,960px);margin:0;scroll-snap-align:start;background:#0d1320;border:1px solid #9480bc42;border-radius:16px;overflow:hidden}
.sales-brief-rail img{display:block;width:100%;height:auto;object-fit:contain}
.sales-brief-rail figcaption{display:flex;justify-content:space-between;padding:13px 16px;font-size:12px;color:#ede7fa}
.sales-brief-rail figcaption span{color:#b29bcf}
/* Interface screenshots remain complete; captions sit below the pixels. */
.p5-screen>img{height:auto;object-fit:contain}
.p5-screen:after{display:none}
.p5-screen>.p5-label{position:static;display:block;background:#0c1120;border-radius:0;padding:12px;margin:0}
@media(max-width:820px){.homepage-universe{grid-template-columns:1fr;gap:16px}.universe-products>a{padding:11px 0}.sales-brief-rail figure{flex-basis:96%}.sales-brief-rail figcaption{font-size:10px}.homepage-masthead{margin-top:0}}
.studio-runtime-capture{margin-top:14px;border:1px solid #9381b844;border-radius:14px;overflow:hidden;background:#0c1120}.studio-runtime-capture summary{padding:14px 18px;font-size:12px;color:#d8c8f0;cursor:pointer}.studio-runtime-capture img{display:block;width:100%;height:auto}

/* Studio storefront placements */
.studio-side-ad{display:flex;flex-direction:column;gap:7px;margin:10px 0 0;border:1px solid #9468d568;border-radius:14px;padding:11px;background:linear-gradient(135deg,#251738,#0a1425);text-decoration:none;color:#fff}
.studio-side-ad img{width:100%;height:auto;border-radius:7px}
.studio-side-ad span{font-size:8px;letter-spacing:.1em;color:#c8b0ee}
.studio-side-ad strong{font-size:14px;line-height:1.25}.studio-side-ad small{font-size:10px;color:#c2c5d5}.studio-side-ad b{font-size:11px;color:#d5b4ff}
.studio-buy-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:26px 10px;overflow:hidden;border:1px solid #9473c555;border-radius:20px;background:linear-gradient(120deg,#16102b,#0b1728)}
.studio-buy-banner>img{width:100%;height:100%;object-fit:contain}
.studio-buy-banner>div{padding:26px;align-self:center}.studio-buy-banner span{font-size:10px;letter-spacing:.14em;color:#c6a5fa}.studio-buy-banner h2{font-size:clamp(22px,2.5vw,32px);margin:10px 0}.studio-buy-banner p{font-size:14px;color:#c3c7d5;line-height:1.5}
@media(min-width:1100px){body .site-header .header-inner{overflow-y:auto;justify-content:flex-start;gap:12px}body .site-header .header-cta{margin-top:8px;flex-shrink:0;order:3}.studio-side-ad{order:2;flex-shrink:0}body .site-header #primary-nav{flex-shrink:0}}
@media(max-width:1099px){.studio-side-ad{display:none}}
@media(max-width:650px){.studio-buy-banner{grid-template-columns:1fr}.studio-buy-banner>div{padding:20px}}

/* Compact software promotion: the primary product banner stays first. */
.studio-buy-banner{grid-template-columns:150px minmax(0,1fr);margin:14px 10px;border-radius:14px;align-items:center}
.studio-buy-banner>img{height:110px;object-fit:contain}
.studio-buy-banner>div{padding:12px 18px;display:grid;grid-template-columns:1fr auto;gap:4px 18px;align-items:center}
.studio-buy-banner span{font-size:9px;grid-column:1}
.studio-buy-banner h2{font-size:20px;margin:0;grid-column:1}
.studio-buy-banner p{font-size:12px;margin:0;grid-column:1}
.studio-buy-banner .button{grid-column:2;grid-row:1 / 4;padding:10px 16px;font-size:12px;white-space:nowrap}
@media(max-width:700px){.studio-buy-banner{grid-template-columns:90px minmax(0,1fr)}.studio-buy-banner>img{height:90px}.studio-buy-banner>div{display:block;padding:10px}.studio-buy-banner h2{font-size:16px}.studio-buy-banner span{display:none}.studio-buy-banner .button{margin-top:6px;padding:6px 10px}.studio-buy-banner p{font-size:11px}}

/* Small full-art purchase tile; no full-width advertising strip. */
.studio-promo-tile{position:relative;isolation:isolate;display:block;width:340px;max-width:calc(100% - 20px);height:236px;overflow:hidden;border:1px solid #a184d666;border-radius:16px;background:#0c1020;margin:14px 10px;color:#fff;text-decoration:none;flex-shrink:0;scroll-snap-align:start}
.studio-promo-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.studio-promo-tile:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#080c20df,transparent 45%,#080c2080 65%,#080c20f5)}
.studio-promo-copy{height:100%;padding:14px;display:flex;flex-direction:column}
.studio-promo-copy>span{font-size:8px;letter-spacing:.08em;font-weight:700;color:#ddc7ff}
.studio-promo-copy h2{font-size:17px;line-height:1.2;margin:5px 0;color:#fff;letter-spacing:-.025em}
.studio-promo-copy p{font-size:10px;line-height:1.4;margin:0;color:#e0e2ee}
.studio-promo-price{margin-top:auto;display:flex;align-items:baseline;gap:7px}
.studio-promo-price strong{font-size:25px;letter-spacing:-.04em}.studio-promo-price del{font-size:12px;color:#c0b5d0}.studio-promo-price small{font-size:8px;color:#ddd}
.studio-promo-copy>b{margin-top:7px;padding:9px 12px;border-radius:8px;text-align:center;font-size:11px;background:linear-gradient(110deg,#9561df,#6442bb);border:1px solid #c69fff55}
.studio-promo-tile:hover{border-color:#c5a0ff}.studio-promo-tile:focus-visible{outline:2px solid #c5a0ff;outline-offset:3px}
.p5-rail>.studio-promo-tile{margin:0;min-width:280px;width:280px;max-width:none;height:236px}
