/* Sepxo Labs premium-v3 round 7: /labs, /vn/labs and the project pages in the home visual system.
   Loaded after premium.css + premium-v3.css, only on those pages (body.pv3.r7). Colours come from the body.pv3 variables. */
body.r7{--r7-fs:.9375rem}
body.r7 main{background:var(--k0)}

/* ---- hero ---- */
.r7-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--k0);padding:clamp(56px,7vw,104px) 0 clamp(40px,5vw,72px)}
.r7-hero .v3-bg .g1{width:min(860px,120vw);height:420px;left:68%;top:90px;opacity:.9}
.r7-hero .v3-bg .g2{width:380px;height:300px;left:4%;top:20px}
.r7-hero .v3-bg .g3{display:none}
.r7-hero .w{position:relative}
.r7-hero .pill{display:inline-flex;align-items:center;gap:8px;margin:0;padding:6px 14px 6px 11px;border:1px solid var(--kl2);border-radius:999px;font-size:.8125rem;font-weight:500;color:#c9d0db;background:rgba(255,255,255,.03)}
.r7-hero .pill .lu{color:var(--ka-t)}
.r7-hero h1{margin:22px 0 0;max-width:22ch;font-size:clamp(2rem,1.4rem + 2.4vw,3rem);line-height:1.08;letter-spacing:-.03em;font-weight:600;color:#fff}
.r7-hero p{margin:20px 0 0;max-width:58ch;font-size:clamp(1rem,.95rem + .3vw,1.1875rem);line-height:1.6;color:var(--km)}
.r7-d{padding:clamp(40px,5vw,72px) 0 clamp(32px,4vw,56px)}
.r7-d h1{max-width:24ch}
.r7-d p{max-width:62ch}
.r7 .pj-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;font-size:.8125rem;color:var(--km)}
.r7 .pj-crumb a{color:#c9d0db;text-decoration:none}
.r7 .pj-crumb a:hover{color:#fff;text-decoration:none}
.r7 .pj-crumb .r7-sep{display:inline-flex;color:#5d6676}
.r7 .pj-crumb [aria-current]{color:var(--km)}
.r7 .pj-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.r7 .pj-meta .pill{font-size:.8125rem;padding:6px 14px 6px 11px}
.r7-d h1{margin-top:20px}
.r7 .pj-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:32px}
.r7 .pj-xl{display:inline-flex;align-items:center;gap:6px;color:#c9d0db;font-size:.875rem;font-weight:500;text-decoration:none;border:0;padding:8px 0}
.r7 .pj-xl:hover{color:#fff}
.r7 .v3-b .lu{margin-left:-2px}

/* ---- section canvas ---- */
body.r7 .sec{padding:clamp(40px,5vw,80px) 0}
body.r7 .wk-sec,body.r7 .sec.pj-sec,body.r7 .pj-rel{background:var(--k0);border-color:var(--kl)}
body.r7 .pj-sec .w{gap:clamp(32px,4vw,48px)}

/* ---- filter + legend ---- */
body.r7 .pj-bar{margin:0 0 20px}
body.r7 .pj-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:1px solid var(--kl2);border-radius:999px;background:rgba(255,255,255,.03);color:#c9d0db;font:inherit;font-size:.8125rem;font-weight:600;line-height:1;transition:background .2s,border-color .2s,color .2s}
body.r7 .pj-chip span{margin:0;color:var(--km);font-weight:500}
body.r7 .pj-chip:hover{border-color:rgba(255,255,255,.4);color:#fff}
body.r7 .pj-chip[aria-pressed="true"]{background:var(--ka);border-color:var(--ka);color:#fff;box-shadow:0 8px 24px -10px rgba(0,88,255,.8)}
body.r7 .pj-chip[aria-pressed="true"] span{color:rgba(255,255,255,.78)}
body.r7 .pj-count{color:var(--km)}
body.r7 .sy-legend{margin:0 0 24px;padding:12px 18px;border:1px solid var(--kl);border-radius:14px;background:var(--k1);font-size:.875rem}
body.r7 .sy-legend summary{color:#c9d0db;font-weight:500}
body.r7 .sy-legend li span:not(.bd){color:var(--km)}
body.r7 .bd-prev{color:#c4b5fd;background:rgba(139,92,246,.16)}
body.r7 .bd-hold{color:#b4bdcc;background:rgba(148,163,184,.14)}
body.r7 .bd{font-size:.6875rem}
.r7 :is(.pj-chip,.pj-more,.pj-live,.pj-xl,.sy-legend summary,.more):focus-visible{outline:2px solid #8fb3ff;outline-offset:3px}

/* ---- project cards ---- */
body.r7 .pj-grid{gap:20px}
body.r7 .wk{background:var(--k1);border:1px solid var(--kl);border-radius:16px;box-shadow:none;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
body.r7 .wk:hover{transform:translateY(-3px);border-color:rgba(111,155,255,.42);box-shadow:0 28px 56px -32px rgba(0,88,255,.6)}
body.r7 .wk-img{background:var(--k2);border-bottom:1px solid var(--kl)}
body.r7 .wk-tag{top:12px;left:12px;gap:6px;padding:6px 11px 6px 8px;border:1px solid var(--kl2);border-radius:999px;background:rgba(5,7,10,.78);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:none;color:#dbe3f0;font-size:.6875rem;font-weight:600;letter-spacing:.02em}
body.r7 .wk-tag .lu{color:var(--ka-t)}
body.r7 .wk-bo{padding:20px 22px 22px;gap:10px}
body.r7 .wk-bo h3{margin:0;font-size:1.125rem;line-height:1.3;letter-spacing:-.01em;color:#fff}
body.r7 .wk-bo p{color:var(--km);font-size:.875rem;line-height:1.6}
body.r7 .wk-bo .wk-proof{color:#7f8999!important;font-size:.8125rem!important;border-top:1px solid var(--kl);padding-top:12px}
body.r7 .wk-ln{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;margin-top:6px}
body.r7 .pj.wk .wk-ln{margin-top:auto;padding-top:10px}
body.r7 .wk-ln a{display:inline-flex;align-items:center;gap:6px;font-size:.875rem;font-weight:600;text-decoration:none}
body.r7 .pj-more{color:var(--ka-t)}
body.r7 .pj-more:hover{color:#a9c3ff;text-decoration:none}
body.r7 .pj-live{color:var(--km)!important;font-weight:500!important}
body.r7 .pj-live:hover{color:#fff!important;text-decoration:none}
body.r7 .pj-more .lu,body.r7 .pj-live .lu{transition:transform .2s}
body.r7 .pj-more:hover .lu{transform:translateX(3px)}
body.r7 .pj-live:hover .lu{transform:translate(2px,-2px)}
body.r7 .wk.pj-paused{background:transparent;border:1px dashed var(--kl2)}
body.r7 .wk.pj-paused{align-self:start}
body.r7 .wk.pj-paused:hover{transform:none;box-shadow:none;border-color:var(--kl2)}
body.r7 .pj-t:focus-visible::after,body.r7 .pj-feat h2 a:focus-visible::after{outline:2px solid #8fb3ff;outline-offset:2px}
body.r7 .pj-t::after,body.r7 .pj-feat h2 a::after{border-radius:16px}

/* flagship */
body.r7 .pj-feat{background:var(--k1);border:1px solid var(--kl2);border-radius:20px;box-shadow:0 0 120px -56px rgba(0,88,255,.6);transition:border-color .25s}
body.r7 .pj-feat:hover{transform:none;border-color:rgba(111,155,255,.42);box-shadow:0 0 120px -48px rgba(0,88,255,.7)}
body.r7 .pj-feat-i{background:var(--k2);border-right:1px solid var(--kl)}
body.r7 .pj-feat-t{padding:clamp(24px,3vw,40px)}
body.r7 .pj-feat-t .kick{display:inline-flex;align-items:center;gap:10px;margin:0;padding:0;border:0;background:none;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ka-t)}
body.r7 .pj-feat-t .kick::before{content:"";width:20px;height:1px;background:currentColor;opacity:.8}
body.r7 .pj-feat-t h2{margin:4px 0 0;max-width:none;font-size:clamp(1.5rem,1.2rem + 1.2vw,2rem);line-height:1.15;letter-spacing:-.025em;font-weight:600;color:#fff}
body.r7 .pj-feat-t p{color:var(--km);font-size:1rem;line-height:1.6}
body.r7 .pj-feat-t .wk-proof{color:#7f8999!important;border:0}

/* ---- notes under the grid ---- */
body.r7 .wk-note{margin-top:32px;font-size:.875rem;color:var(--km)}
body.r7 .wk-note a{color:var(--ka-t)!important;font-weight:600!important}

/* ---- detail pages ---- */
body.r7 .pj-fig figcaption{margin-top:12px;font-size:.8125rem;line-height:1.5;color:var(--km)}
body.r7 .pj-frame{background:var(--k1);border:1px solid var(--kl2);border-radius:14px;box-shadow:0 40px 80px -40px rgba(0,0,0,.9),0 0 100px -56px rgba(0,88,255,.55)}
body.r7 .pj-bar3{height:30px;background:var(--k2);border-bottom:1px solid var(--kl)}
body.r7 .pj-bar3 i{background:#2b313c}
body.r7 .pj-phone-f{border:8px solid #181d26;border-radius:38px;background:#181d26;box-shadow:0 0 0 1px var(--kl2),0 40px 80px -32px rgba(0,0,0,.9),0 0 90px -44px rgba(0,88,255,.55)}
body.r7 .pj-fig-wide img{border:1px solid var(--kl2);border-radius:14px}
body.r7 .pj-text{gap:clamp(28px,4vw,56px)}
body.r7 .pj-col h2,body.r7 .pj-facts h2{margin:0 0 14px;font-size:1.125rem;line-height:1.3;letter-spacing:-.01em;font-weight:600;color:#fff}
body.r7 .pj-col p{color:#b5bdca;font-size:var(--r7-fs);line-height:1.7}
body.r7 .pj-col .pj-note{margin-top:14px!important;font-size:.8125rem!important;color:var(--km)!important}
body.r7 .pj-list{list-style:none;padding:0;gap:12px;color:#b5bdca;font-size:var(--r7-fs);line-height:1.65}
body.r7 .pj-list li{position:relative;padding-left:20px}
body.r7 .pj-list li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--ka-t)}
body.r7 .pj-facts{padding:clamp(20px,2.4vw,28px) clamp(20px,3vw,32px);background:var(--k1);border:1px solid var(--kl);border-radius:16px;box-shadow:none}
body.r7 .pj-facts dl{gap:20px 32px}
body.r7 .pj-facts dt{margin:0 0 6px;font-size:.6875rem;letter-spacing:.1em;color:var(--km)}
body.r7 .pj-facts dd{font-size:.875rem;line-height:1.6;color:var(--ki)}
body.r7 .pj-rel .sh{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:0 0 28px}
body.r7 .pj-rel .sh h2{margin:0;font-size:clamp(1.5rem,1.2rem + 1.2vw,2rem);line-height:1.15;letter-spacing:-.025em;font-weight:600;color:#fff}
body.r7 .pj-rel .more{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:1px solid var(--kl2);border-radius:999px;color:#fff;font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap;transition:border-color .2s,background .2s}
body.r7 .pj-rel .more:hover{border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.04);text-decoration:none}
body.r7 .pj-grid-rel{gap:20px}

@media(max-width:980px){body.r7 .pj-feat-i{border-right:0;border-bottom:1px solid var(--kl)}}
@media(max-width:640px){
 .r7-hero .v3-bg .g1{left:50%;top:70px}
 body.r7 .wk-bo{padding:18px 18px 20px}
 body.r7 .pj-feat-t{padding:22px 20px}
 .r7 .pj-cta{gap:8px 20px}
}
@media(prefers-reduced-motion:reduce){
 .r7-hero .v3-bg i{animation:none}
 body.r7 .wk,body.r7 .wk:hover,body.r7 .pj-more .lu,body.r7 .pj-live .lu{transition:none;transform:none}
}
