/* BJS Project Showcase */
.bjsp{--bjsp-r:40px;--bjsp-cw:42%;--bjsp-pw:56%;--bjsp-sh:78%;--bjsp-sw:72%;--bjsp-ease:cubic-bezier(.2,.7,.2,1);
  position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;border-radius:var(--bjsp-r);background:#fff;min-height:80vh}
.bjsp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bjsp__bg,.bjsp__shade,.bjsp__frost{position:absolute;inset:0;pointer-events:none}
.bjsp__bg{z-index:-3}
.bjsp__bg img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--bjsp-bgx,50%) var(--bjsp-bgy,50%)}
.bjsp__shade{z-index:-2;opacity:var(--bjsp-op,1);background:linear-gradient(var(--bjsp-ang,90deg),var(--bjsp-c1,#fff) var(--bjsp-s1,0%),var(--bjsp-c2,rgba(255,255,255,0)) var(--bjsp-s2,71%))}
.bjsp__frost{z-index:-1;background:rgba(255,255,255,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .5s ease}
.bjsp--frost.is-open .bjsp__frost{opacity:1}

.bjsp__body{position:relative;z-index:1;width:var(--bjsp-cw);max-width:720px;box-sizing:border-box}
.bjsp__title{margin:0 0 25px;text-transform:uppercase;font-weight:700;line-height:1.05;font-size:clamp(1.7rem,3.2vw,3.2rem)}
.bjsp__title a{color:inherit;text-decoration:none}
.bjsp__title a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.bjsp__intro{margin:0 0 30px;line-height:1.7;font-size:1.1em}
.bjsp__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;transition:opacity .3s ease}

.bjsp__btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:46px;padding:10px 26px;border-radius:40px;
  font-weight:700;text-transform:uppercase;font-size:15px;line-height:1.2;text-decoration:none;cursor:pointer;white-space:nowrap;
  transition:background-color .25s,color .25s,transform .25s,box-shadow .25s;box-sizing:border-box}
.bjsp__btn--project{background:var(--bjsp-bp-bg,#22697D);color:var(--bjsp-bp-fg,#fff)!important;border:0}
.bjsp__btn--project:hover{background:var(--bjsp-bp-bgh,#1F6577);transform:translateY(-2px)}
.bjsp__toggle{background:var(--bjsp-bq-bg,rgba(255,255,255,.92));color:var(--bjsp-bq-fg,#1F6577);border:0;border-bottom:2px solid var(--bjsp-bq-bd,#27788F);padding:10px 22px}
.bjsp__toggle:hover{background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.bjsp__ico{display:inline-flex;line-height:1}
.bjsp__ico svg{width:1em;height:1em;fill:currentColor}
.bjsp__ico i{font-size:1em}
.bjsp__toggle .bjsp__ico{transition:transform .3s var(--bjsp-ease)}
.bjsp__lbl--close,.bjsp__ico--close{display:none}
.bjsp__toggle[aria-expanded="true"] .bjsp__lbl--open,.bjsp__toggle[aria-expanded="true"] .bjsp__ico--open{display:none}
.bjsp__toggle[aria-expanded="true"] .bjsp__lbl--close,.bjsp__toggle[aria-expanded="true"] .bjsp__ico--close{display:inline-flex}
.bjsp__toggle[aria-expanded="true"] .bjsp__ico--close{animation:bjsp-spin .3s var(--bjsp-ease)}
@keyframes bjsp-spin{from{transform:rotate(-90deg)}to{transform:none}}
.bjsp__hint{font-size:13px;color:#555;background:#fff;padding:6px 10px;border-radius:6px}

/* Slideshow panel */
.bjsp__panel{position:absolute;z-index:2;top:0;right:0;bottom:0;width:var(--bjsp-pw);display:flex;flex-direction:column;justify-content:center;gap:16px;
  box-sizing:border-box;padding:40px 0;visibility:hidden;opacity:0;transform:translateX(40px);
  transition:opacity .45s ease,transform .5s var(--bjsp-ease),visibility 0s linear .5s;outline:none}
.bjsp.is-open .bjsp__panel{visibility:visible;opacity:1;transform:none;transition-delay:0s}
.bjsp__track{outline:none;margin:0;padding:0 6% 0 0;display:flex;gap:20px;height:var(--bjsp-sh);min-height:220px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.bjsp__track::-webkit-scrollbar{display:none}
.bjsp__slide{flex:0 0 var(--bjsp-sw);margin:0;padding:0;scroll-snap-align:start;display:flex;align-items:center;justify-content:center;height:100%}
.bjsp__slide img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none;-webkit-user-drag:none}
.bjsp--fit-cover .bjsp__slide img{object-fit:cover;border-radius:14px}
.bjsp--fit-cover-top .bjsp__slide img{object-fit:cover;object-position:top center;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18)}

.bjsp__bar{display:flex;align-items:center;gap:12px;padding:0 6% 0 0;flex-wrap:nowrap}
.bjsp__ctl{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:var(--bjsp-ctl-bg,#fff);color:var(--bjsp-ctl-fg,#1F6577);box-shadow:0 4px 14px rgba(0,0,0,.16);transition:transform .2s,box-shadow .2s,opacity .2s}
.bjsp__ctl svg{width:22px;height:22px}
.bjsp__ctl:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.24)}
.bjsp__ctl[disabled]{opacity:.45;cursor:default;transform:none}
.bjsp__x{margin-left:auto;background:var(--bjsp-x-bg,#CCAE68);color:var(--bjsp-x-fg,#1D2A31)}
.bjsp__count{white-space:nowrap;min-width:52px;text-align:center;font-weight:600;font-size:15px;color:#1D2A31;background:rgba(255,255,255,.9);border-radius:20px;padding:6px 10px;font-variant-numeric:tabular-nums}
.bjsp__more{display:none;align-items:center;min-height:44px;padding:0 16px;border-radius:30px;background:var(--bjsp-bp-bg,#22697D);color:var(--bjsp-bp-fg,#fff)!important;
  font-weight:700;font-size:13px;text-transform:uppercase;text-decoration:none;white-space:nowrap}

.bjsp__track:focus-visible{outline:3px solid #1D2A31;outline-offset:-3px;border-radius:14px}
.bjsp a:focus-visible,.bjsp button:focus-visible{outline:3px solid #1D2A31;outline-offset:3px;box-shadow:0 0 0 6px #fff}

@media (prefers-reduced-motion:reduce){
  .bjsp *,.bjsp__panel{transition:none!important;animation:none!important}
  .bjsp__track{scroll-behavior:auto}
}
/* Guard against theme/kit global button styles */
.bjsp button.bjsp__toggle,.bjsp button.bjsp__toggle:hover,.bjsp button.bjsp__toggle:focus{color:var(--bjsp-bq-fg,#1F6577);text-transform:uppercase;letter-spacing:normal}
.bjsp button.bjsp__toggle:hover,.bjsp button.bjsp__toggle:focus{background:#fff}
.bjsp button.bjsp__ctl,.bjsp button.bjsp__ctl:hover,.bjsp button.bjsp__ctl:focus{background:var(--bjsp-ctl-bg,#fff);color:var(--bjsp-ctl-fg,#1F6577);border:0;padding:0}
.bjsp button.bjsp__x,.bjsp button.bjsp__x:hover,.bjsp button.bjsp__x:focus{background:var(--bjsp-x-bg,#CCAE68);color:var(--bjsp-x-fg,#1D2A31)}
.bjsp a.bjsp__btn--project:hover,.bjsp a.bjsp__btn--project:focus{color:var(--bjsp-bp-fg,#fff)!important}
/* Bottom-aligned images: flush with the card edge */
.bjsp--va-bottom .bjsp__panel{justify-content:flex-end;padding-bottom:0}
.bjsp--va-bottom .bjsp__slide{align-items:flex-end}
.bjsp--va-bottom .bjsp__slide img{object-position:center bottom}
.bjsp--va-bottom .bjsp__track{height:var(--bjsp-sh)}
.bjsp--ctl-above .bjsp__bar{order:-1}
