/* VIWIV portfolio redesign — strictly scoped; does not affect other landing sections. */
body.jq-page[data-theme="theme-09"] .viwiv-portfolio{
 width:min(1560px,calc(100% - 88px));max-width:1560px;padding:48px 0 0;margin-inline:auto;scroll-margin-top:82px;overflow:visible
}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__header{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 24px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__heading{min-width:0}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__eyebrow{display:inline-flex;align-items:center;justify-content:center;padding:10px 21px;border:1px solid rgba(0,190,255,.85);border-radius:999px;background:rgba(0,140,255,.08);box-shadow:0 0 22px rgba(0,154,255,.2),inset 0 0 14px rgba(0,154,255,.05);color:#19d1ff;font-size:14px;font-weight:850;line-height:1.1;letter-spacing:.015em}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__heading h2{margin:16px 0 7px;color:#f6f9ff;font-size:clamp(34px,3.75vw,64px);line-height:1.03;letter-spacing:-.04em;font-weight:900}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__heading p{margin:0;color:#a9bfd5;font-size:clamp(14px,1.08vw,18px);line-height:1.5}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0;padding-bottom:2px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__filter{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border:1px solid rgba(0,159,255,.45);border-radius:12px;background:rgba(2,11,22,.9);color:#18caff;font:700 12px/1.25 Inter,Manrope,Arial,sans-serif;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s,color .2s}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__filter:hover{border-color:#00bbff;box-shadow:0 0 18px rgba(0,159,255,.16)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__filter.is-active{color:#fff;background:linear-gradient(120deg,#087cff,#009efb);border-color:#119cff;box-shadow:0 0 23px rgba(0,124,255,.32)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__arrow{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid rgba(0,159,255,.6);border-radius:12px;background:rgba(3,15,29,.96);color:#eff9ff;font:400 27px/1 Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__arrow:hover:not(:disabled){background:#082746;border-color:#00b8ff;box-shadow:0 0 15px rgba(0,150,255,.18)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__arrow:disabled{opacity:.33;cursor:not-allowed;box-shadow:none}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track{display:flex;align-items:stretch;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 1px 6px;margin:0;touch-action:pan-x pan-y}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track::-webkit-scrollbar{display:none}
body.jq-page[data-theme="theme-09"] .viwiv-project-card{display:flex;flex:0 0 calc((100% - 36px)/3);flex-direction:column;min-width:0;min-height:526px;overflow:hidden;padding:0;background:linear-gradient(165deg,rgba(4,18,34,.98),rgba(1,7,15,.99));border:1px solid rgba(0,158,255,.58);border-radius:19px;box-shadow:inset 0 0 26px rgba(0,95,190,.045),0 0 0 1px rgba(0,72,142,.08);scroll-snap-align:start;transition:transform .24s,border-color .24s,box-shadow .24s}
body.jq-page[data-theme="theme-09"] .viwiv-project-card:hover{transform:translateY(-4px);border-color:rgba(0,193,255,.9);box-shadow:0 12px 34px rgba(0,70,145,.15),0 0 22px rgba(0,153,255,.08)}
body.jq-page[data-theme="theme-09"] .viwiv-project-card[hidden]{display:none!important}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__image{position:relative;display:block;width:100%;height:clamp(230px,20.3vw,336px);flex:0 0 auto;overflow:hidden;padding:0;text-align:left;border:0;border-bottom:1px solid rgba(0,170,255,.75);background:#061525;cursor:pointer;isolation:isolate}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__image:after{position:absolute;content:"";inset:42% 0 0;background:linear-gradient(180deg,rgba(1,8,17,0),rgba(1,8,17,.62));pointer-events:none;z-index:1}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .5s ease;}
body.jq-page[data-theme="theme-09"] .viwiv-project-card:hover .viwiv-project-card__image img{transform:scale(1.035)}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__index{position:absolute;z-index:2;top:16px;left:18px;color:#e5f4ff;font-size:11px;font-weight:700;letter-spacing:.055em;text-shadow:0 1px 9px #000}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__concept{position:absolute;z-index:2;right:14px;top:12px;padding:6px 9px;border:1px solid rgba(0,190,255,.55);border-radius:999px;background:rgba(0,12,24,.82);color:#bdefff;font-size:9px;letter-spacing:.04em;font-weight:800;backdrop-filter:blur(8px)}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__content{display:flex;flex:1;flex-direction:column;min-width:0;padding:17px 20px 18px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card h3{margin:0 0 7px;color:#f2f7ff;font-size:clamp(18px,1.25vw,22px);font-weight:850;line-height:1.28;letter-spacing:-.02em}
body.jq-page[data-theme="theme-09"] .viwiv-project-card p{margin:0 0 13px;color:#a9bfd5;font-size:clamp(13px,.96vw,16px);line-height:1.48}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding:0 0 14px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags i{display:inline-flex;align-items:center;min-height:29px;padding:5px 12px;border:1px solid rgba(0,142,221,.47);border-radius:999px;color:#b8d5ed;background:rgba(1,13,26,.72);font-size:11px;font-style:normal;line-height:1.1;white-space:nowrap}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__link{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#09c7ff;font:800 15px/1.35 Inter,Manrope,Arial,sans-serif;text-align:left;cursor:pointer}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__link span{transition:transform .2s}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__link:hover{color:#84e8ff}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__link:hover span{transform:translateX(4px)}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__arrow{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border:1px solid rgba(0,158,255,.8);border-radius:50%;background:linear-gradient(145deg,rgba(0,125,255,.14),rgba(1,13,27,.9));color:#e5f8ff;font:400 25px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 0 16px rgba(0,127,255,.12);transition:background .2s,transform .2s}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__arrow:hover{background:#07345d;transform:translateX(2px)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__disclaimer{margin:11px 0 0;color:#718ba5;font-size:11px;line-height:1.45}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stats{width:min(1560px,calc(100% - 88px));max-width:1560px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:28px 0 32px;margin:0 auto}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;column-gap:18px;min-width:0;padding:0 24px;border-right:1px solid rgba(0,137,228,.35)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat:first-child{padding-left:0}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat:last-child{padding-right:0;border-right:0}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat-icon{grid-row:span 3;display:grid;place-items:center;width:58px;height:58px;color:#078cff;filter:drop-shadow(0 0 10px rgba(0,126,255,.3))}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat strong{display:block;color:#f5f9ff;font-size:clamp(25px,2vw,34px);font-weight:900;letter-spacing:-.04em;line-height:1.1}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat b{display:block;color:#f0f6ff;font-size:14px;line-height:1.35;margin-top:2px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat small{display:block;color:#8ea8c4;font-size:12px;line-height:1.45;margin-top:5px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog{width:min(620px,calc(100% - 28px));max-width:620px;max-height:min(88vh,780px);padding:0;border:1px solid rgba(0,173,255,.65);border-radius:22px;background:linear-gradient(145deg,#07182b,#020811);color:#f5f9ff;box-shadow:0 28px 100px rgba(0,0,0,.7),0 0 40px rgba(0,120,255,.16)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog::backdrop{background:rgba(0,4,12,.78);backdrop-filter:blur(9px)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__inner{position:relative;padding:34px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:1px solid rgba(0,157,255,.45);border-radius:50%;background:#05172a;color:#effaff;font-size:26px;line-height:1;cursor:pointer}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__eyebrow{display:inline-block;color:#24d0ff;font-size:11px;font-weight:850;letter-spacing:.1em}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog h3{margin:15px 38px 12px 0;color:#f4f9ff;font-size:clamp(25px,3vw,34px);line-height:1.12}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog p{color:#afc4da;font-size:15px;line-height:1.65}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__tags{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__tags span{display:inline-flex;padding:7px 11px;border:1px solid rgba(0,159,255,.35);border-radius:99px;color:#b5dcf4;font-size:12px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog .viwiv-portfolio-dialog__note{padding:12px 14px;border-left:2px solid #098dff;background:rgba(0,116,255,.07);font-size:12px}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__cta{display:inline-flex;align-items:center;gap:9px;margin-top:7px;padding:13px 17px;border:1px solid #009dff;border-radius:11px;background:linear-gradient(115deg,#087cff,#00b9f4);color:white;text-decoration:none;font-size:13px;font-weight:800}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__cta:hover{filter:brightness(1.1)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio button:focus-visible,body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog button:focus-visible,body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog a:focus-visible{outline:2px solid #9aeaff;outline-offset:3px}
@media (max-width:1250px){
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio{width:calc(100% - 48px)}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__header{align-items:flex-start;flex-direction:column;gap:18px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__controls{justify-content:flex-start}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card{flex-basis:calc((100% - 18px)/2);min-height:500px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card__image{height:clamp(230px,27vw,320px)}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stats{width:calc(100% - 48px)}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat{grid-template-columns:52px minmax(0,1fr);column-gap:12px;padding-inline:14px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat-icon{width:48px;height:48px}
}
@media (max-width:760px){
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio{width:calc(100% - 32px);padding-top:28px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__header{gap:16px;margin-bottom:18px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__eyebrow{padding:8px 14px;font-size:11px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__heading h2{font-size:clamp(30px,8.3vw,43px);margin:12px 0 7px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__heading p{font-size:13px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__controls{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;overflow:visible;padding:0;gap:6px;scrollbar-width:auto}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__controls::-webkit-scrollbar{display:initial}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__filter{flex:0 1 auto;min-height:38px;padding:0 10px;font-size:11px;white-space:normal;text-align:center;border-radius:10px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__arrow{flex:0 0 38px;width:38px;height:38px;border-radius:10px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track{gap:12px;scroll-padding-left:1px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card{flex-basis:100%;min-height:0;border-radius:16px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card__image{height:clamp(205px,58vw,285px)}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card__content{padding:15px 16px 16px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card h3{font-size:20px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card p{font-size:13px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags i{min-height:27px;font-size:10px}
 body.jq-page[data-theme="theme-09"] .viwiv-project-card__link{font-size:14px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__disclaimer{font-size:10px;margin-top:9px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stats{width:calc(100% - 32px);grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 0;padding:24px 0 28px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat{grid-template-columns:38px minmax(0,1fr);column-gap:9px;padding:0 9px;border-right:0}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat:nth-child(odd){border-right:1px solid rgba(0,137,228,.28);padding-left:0;padding-right:12px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat:nth-child(even){padding-right:0;padding-left:12px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat-icon{width:34px;height:34px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat strong{font-size:24px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat b{font-size:11px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio__stat small{font-size:9px}
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog__inner{padding:29px 22px 23px}
}
@media (prefers-reduced-motion:reduce){
 body.jq-page[data-theme="theme-09"] .viwiv-portfolio *,body.jq-page[data-theme="theme-09"] .viwiv-portfolio-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
/* Let filtered sets use the available space when only one or two results remain. */
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track[data-visible-count="1"] .viwiv-project-card{flex-basis:calc((100% - 36px)/3)}
body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track[data-visible-count="2"] .viwiv-project-card{flex-basis:calc((100% - 18px)/2)}
@media (max-width:1250px){body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track[data-visible-count="1"] .viwiv-project-card{flex-basis:calc((100% - 36px)/3)}}
@media (max-width:760px){body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track[data-visible-count="1"] .viwiv-project-card,body.jq-page[data-theme="theme-09"] .viwiv-portfolio__track[data-visible-count="2"] .viwiv-project-card{flex-basis:100%}}
/* Higher-specificity normalization against legacy .jq-ref-stats child rules. */
body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;column-gap:18px}
body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat>span.viwiv-portfolio__stat-icon{grid-row:1 / span 3;display:grid;place-items:center;width:58px;height:58px;color:#078cff;font-size:initial;text-shadow:none;filter:drop-shadow(0 0 10px rgba(0,126,255,.3))}
@media (max-width:1250px){body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat{grid-template-columns:52px minmax(0,1fr);column-gap:12px}body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat>span.viwiv-portfolio__stat-icon{width:48px;height:48px}}
@media (max-width:760px){body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat{grid-template-columns:38px minmax(0,1fr);column-gap:9px}body.jq-page[data-theme="theme-09"] .jq-ref-stats.viwiv-portfolio__stats>div.viwiv-portfolio__stat>span.viwiv-portfolio__stat-icon{width:34px;height:34px}}
/* Compact card copy spacing so CTA stays visible without enlarging the reference cards. */
body.jq-page[data-theme="theme-09"] .viwiv-project-card__content{padding:15px 20px 14px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card h3{margin-bottom:5px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card p{margin-bottom:8px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags{margin-top:0;padding-bottom:8px}
body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags i{height:29px;max-height:29px;min-height:29px;flex:0 0 auto;box-sizing:border-box}
@media (max-width:760px){body.jq-page[data-theme="theme-09"] .viwiv-project-card__tags i{height:27px;max-height:27px;min-height:27px}}
