/* case studies: Before | Now (owner's pick, 1.0.67) */
.bn-cs { --mu: #5a687d; --od: #eef3f9; --od2: rgba(238, 242, 246, .74); --ld: rgba(238, 242, 246, .16); --ink: #12223a; --ink-2: #2b3b52; --ease: cubic-bezier(.22, 1, .36, 1); }
.bn-cs__h h3 a { color: inherit; text-decoration: none; } .bn-cs__h h3 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.bn-cs__st { margin-top: 14px !important; font-weight: 600; } .bn-cs__tech { margin-top: 16px !important; font-size: .92rem; color: var(--mu) !important; }
.bn-cs :focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.bn-cv__img { display: block; width: 100%; max-width: 34em; margin: 0 auto; border-radius: .8em; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; box-shadow: 0 1.6em 3em -1.4em rgba(0, 0, 0, .6); }
.icases--bn .work__more { margin-top: 64px; } .icases--bn .icases__sub { margin: 90px 0 46px; }
.bn-cs + .bn-cs { margin-top: 100px; }
.bn-cs__h { margin-bottom: 22px; }
.bn-cs__h h3 { font: 600 2.2rem/1.1 var(--f-sans); letter-spacing: -.04em; }
.bn-cs__h p { color: var(--mu); margin-top: 4px; }
.bn-go { display: inline-flex; gap: 10px; font-weight: 600; border-bottom: 2px solid var(--amber); padding-bottom: 3px; cursor: pointer; }
.bn-go span { transition: transform .5s var(--ease); }
.bn-go:hover span { transform: translateX(6px); }
.bn-cv { --cut: 41%; position: relative; display: grid; grid-template-columns: var(--cut) minmax(0, 1fr); height: 430px; border-radius: 24px; overflow: hidden; background: #e1e7ee; box-shadow: 0 50px 90px -70px rgba(12, 35, 64, .9); transition: grid-template-columns 1s var(--ease); }
.bn-cv__b { position: relative; background: #e1e7ee; overflow: hidden; }
.bn-cv__n { position: relative; overflow: hidden; background: linear-gradient(140deg, #1b4474, #0f2b52); color: var(--od); font-size: 17.5px; padding: 3.4em 2.8em 2.2em; display: grid; align-content: center; transition: clip-path 1.3s var(--ease) .35s; }
.bn-tg0 { position: absolute; left: 24px; top: 20px; z-index: 3; font: 600 1rem/1 var(--f-sans); }
.bn-cv__b .bn-tg0 { color: #4a586d; }
.bn-cv__n .bn-tg0 { color: var(--amber); left: 48px; }
.bn-mid { position: absolute; left: var(--cut); top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--amber); color: #12223a; display: grid; place-items: center; font-size: 1.5rem; z-index: 5; border: 6px solid #f6f8fb; transition: transform .7s cubic-bezier(.34, 1.5, .5, 1) .2s, left 1s var(--ease); }
.bn-dots { position: absolute; z-index: 4; left: calc(var(--cut) - 105px); top: 50%; width: 160px; height: 8px; margin-top: -4px; transition: left 1s var(--ease); }
.bn-dots i { position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: bn-dt 3s cubic-bezier(.45, 0, .35, 1) infinite both; }
.bn-dots i:nth-child(2) { animation-delay: 1s; } .bn-dots i:nth-child(3) { animation-delay: 2s; }
@keyframes bn-dt { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes bn-dtv { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (hover: hover) and (min-width: 861px) { .bn-cv:has(.bn-cv__b:hover) { --cut: 50%; } }
.js .bn-cs:not(.bn-v) .bn-cv__n { clip-path: inset(0 0 0 100%); }
.js .bn-cs:not(.bn-v) .bn-mid { transform: scale(0); }
.js .bn-cs:not(.bn-v) .bn-dots { visibility: hidden; }
/* before */
.bn-lk { position: absolute; inset: 0; width: 100%; height: 100%; }
.bn-lk path { fill: none; stroke: #b4bfcc; stroke-width: 1.6; stroke-dasharray: 3 8; vector-effect: non-scaling-stroke; animation: bn-lk 1.8s ease-in-out infinite; }
.bn-lk path:nth-child(even) { animation-delay: .9s; }
@keyframes bn-lk { 50% { stroke-opacity: .15; } }
.bn-bx { position: absolute; inset: 50px 44px 20px 14px; max-width: 480px; }
.bn-tl, .bn-xl, .bn-no { position: absolute; transform: rotate(var(--r)); animation: bn-wob 5s ease-in-out var(--w, 0s) infinite alternate; }
.bn-tl { padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid rgba(18, 34, 58, .12); font-weight: 600; color: #4a586d; box-shadow: 0 14px 26px -18px rgba(18, 34, 58, .6); white-space: nowrap; }
.bn-xl { width: 33%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 8px; border-radius: 8px; background: #fff; border: 1px solid rgba(18, 34, 58, .12); box-shadow: 0 14px 26px -18px rgba(18, 34, 58, .6); }
.bn-xl i { height: 18px; background: #e6ebf1; } .bn-xl i:nth-child(-n+3) { background: #c9d3de; }
.bn-no { --r: 0deg; padding: 8px 14px; border-radius: 20px; background: #f8e0dc; color: #8c2f22; font-size: .94rem; font-weight: 650; white-space: nowrap; z-index: 2; }
@keyframes bn-wob { to { transform: rotate(calc(var(--r) * -1)) translateY(-7px); } }
/* text */
.bn-tx { display: grid; grid-template-columns: 41% minmax(0, 1fr); margin-top: 24px; }
.bn-tx p { color: var(--ink-2); }
.bn-tx > p { padding-right: 60px; font-size: 1.08rem; }
.bn-tx b { display: block; font: 600 1.45rem/1.3 var(--f-sans); letter-spacing: -.025em; margin-bottom: 8px; }
.bn-proof { position: relative; display: inline-flex; gap: 20px; align-items: center; margin-top: 22px; color: inherit; text-decoration: none; }
.bn-th { position: relative; width: 150px; aspect-ratio: 16 / 10; }
.bn-th img { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; border: 1px solid rgba(18, 34, 58, .14); z-index: 6; transition: width .7s var(--ease), box-shadow .7s var(--ease); }
@media (hover: hover) and (min-width: 861px) { .bn-th:hover img { width: 440px; box-shadow: 0 40px 80px -30px rgba(10, 27, 51, .75); } }
/* now: shared window bar */
.bn-wb { display: flex; align-items: center; gap: .35em; padding: .6em .9em; background: #e6ecf4; } .bn-wb i { width: .5em; height: .5em; border-radius: 50%; background: #b9c5d4; } .bn-wb span { margin-left: .6em; font: 500 .68em/1 var(--f-mono); color: #5a687d; }
/* now: one platform */
.bn-pf { position: relative; width: 100%; max-width: 33em; margin: 0 auto; padding-right: 4.4em; }
.bn-pf__w, .bn-rp { border-radius: .9em; overflow: hidden; background: #fff; color: var(--ink-2); box-shadow: 0 1.6em 3em -1.4em rgba(0, 0, 0, .6); }
.bn-pf__m { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.bn-pf__s { padding: .6em .9em; border-right: 1px solid #e6ecf4; }
.bn-cv .bn-pf__s p { display: flex; justify-content: space-between; align-items: center; padding: .55em 0; color: var(--ink); }
.bn-pf__s strong { font-size: .86em; font-weight: 600; }
.bn-pf__s em { width: 2.3em; height: 1.25em; padding: .125em; border-radius: 1em; background: #d3dce7; } .bn-pf__s em i { display: block; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.bn-pf__g { padding: .8em 2.6em .8em .8em; display: grid; gap: .5em; } .bn-pf__g span { display: grid; align-items: center; padding: .45em .8em; border-radius: .6em; font-weight: 600; font-size: .8em; line-height: 1.25; }
.bn-pf__p { position: absolute; right: 0; bottom: -1.8em; width: 7.2em; padding: 1.3em .8em .9em; border-radius: 1.2em; background: #fff; border: .26em solid #0a1b33; color: var(--ink); display: grid; gap: .5em; box-shadow: 0 1.6em 3em -1em rgba(0, 0, 0, .6); }
.bn-pf__p > i { position: absolute; left: 50%; top: .45em; width: 2em; height: .25em; margin-left: -1em; border-radius: 1em; background: #cfd9e5; } .bn-pf__p strong { font-size: .78em; } .bn-pf__p span { height: .8em; border-radius: .4em; background: #e6ecf4; } .bn-pf__p span.bn-ps { width: 60%; } .bn-pf__p small { justify-self: start; padding: .4em .65em; border-radius: 1em; background: var(--amber); font-weight: 600; font-size: .66em; line-height: 1.1; color: #12223a; }
/* now: report */
.bn-rp { width: 100%; max-width: 31em; margin: 0 auto; } .bn-rp small { display: block; font: 500 .7em/1.2 var(--f-mono); color: #5a687d; margin-bottom: .8em; }
.bn-rp__g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .bn-rp__c { padding: 1em; border-right: 1px solid #e6ecf4; } .bn-rp__c > div { display: flex; justify-content: space-around; height: 8.8em; }
.bn-cv .bn-rp__c p { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .45em; width: 3.6em; color: #5a687d; } .bn-rp__c p i { width: 2.2em; border-radius: .35em .35em 0 0; background: #2c629f; transform-origin: bottom; } .bn-rp__c p:last-child i { background: var(--amber); } .bn-rp__c p span { font-size: .74em; line-height: 1; }
.bn-rp__r { padding: 1em; } .bn-rp__r p { height: .85em; margin-bottom: .55em; border-radius: 1em; background: #eef2f6; overflow: hidden; } .bn-rp__r p i { display: block; height: 100%; border-radius: 1em; background: var(--amber); transform-origin: left; } .bn-rp__r p + small { margin-top: 1.2em; }
.bn-rp__r svg { display: block; width: 4em; } .bn-rp__r circle { fill: none; stroke: #e6ecf4; stroke-width: 6; } .bn-rp__r circle.bn-ra { stroke: #2c629f; stroke-dasharray: 1 1; transform: rotate(-90deg); transform-origin: 50% 50%; }
/* now: jobs */
.bn-jb { width: 100%; max-width: 33em; margin: 0 auto; display: grid; gap: 1em; } .bn-cv .bn-jb__t { font: 500 .78em/1 var(--f-mono); color: #ffc15c; }
.bn-jb > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(2em, .6fr) minmax(0, 1fr); align-items: center; gap: .8em; } .bn-jb strong { padding: .75em .9em; border-radius: .7em; font: 600 .9em/1.2 var(--f-sans); } .bn-jb strong:first-child { background: #fff; color: var(--ink); } .bn-jb strong:last-child { border: 1px solid; display: flex; justify-content: space-between; gap: .4em; } .bn-jb em { font-style: normal; }
.bn-jb u { height: 2px; background: rgba(238, 242, 246, .2); overflow: hidden; } .bn-jb u i { display: block; height: 100%; background: var(--amber); }
@keyframes ais-lit { 0% { background: #eef2f6; color: #76849a; } 6%, 60% { background: #ffe4b5; color: #6d4100; } 68%, 100% { background: #eef2f6; color: #76849a; } }
@keyframes ais-ring { 0% { stroke-dashoffset: 1; } 16%, 72% { stroke-dashoffset: .36; } 80%, 100% { stroke-dashoffset: 1; } }
@keyframes ais-trail { 0% { transform: translateX(-101%); } 9%, 66% { transform: none; } 72%, 100% { transform: translateX(-101%); } }
@keyframes ais-done { 0% { background: rgba(238, 242, 246, .08); color: rgba(238, 242, 246, .75); border-color: rgba(238, 242, 246, .2); } 5%, 58% { background: #f5a524; color: #12223a; border-color: #f5a524; } 66%, 100% { background: rgba(238, 242, 246, .08); color: rgba(238, 242, 246, .75); border-color: rgba(238, 242, 246, .2); } }
@keyframes ais-tog { 0% { transform: none; background: #fff; } 6%, 60% { transform: translateX(1.05em); background: var(--amber); } 66%, 100% { transform: none; background: #fff; } }
@media (max-width: 860.98px) {
	.bn-cv { grid-template-columns: minmax(0, 1fr); grid-template-rows: 250px auto; height: auto; }
	.bn-cv__n { font-size: 14px; min-height: 350px; padding: 4.4em 1.5em 4.6em; } .bn-cv__n .bn-tg0 { left: 24px; }
	.bn-mid { left: 50%; top: 250px; transform: rotate(90deg); } .js .bn-cs:not(.bn-v) .bn-mid { transform: rotate(90deg) scale(0); } .js .bn-cs:not(.bn-v) .bn-cv__n { clip-path: inset(0 0 100% 0); }
	.bn-dots { left: calc(50% - 4px); top: 180px; width: 8px; height: 140px; margin: 0; } .bn-dots i { animation-name: bn-dtv; }
	.bn-bx { inset: 48px 14px 40px 14px; } .bn-lk { height: 82%; }
	.bn-pf { padding-right: 0; } .bn-pf__p { right: -.3em; bottom: -5.4em; } .bn-pf__g { padding-right: .8em; }
	.bn-tx { grid-template-columns: minmax(0, 1fr); gap: 18px; } .bn-tx > p { padding: 0; }
}
@media (max-width: 640.98px) { .bn-cs + .bn-cs { margin-top: 70px; } .bn-cs__h h3 { font-size: 1.8rem; } .bn-cv__n { font-size: 12.5px; } .bn-tl { padding: 9px 13px; font-size: .88rem; } .bn-tx b { font-size: 1.28rem; } .bn-th { width: 120px; } }
@media (prefers-reduced-motion: reduce) { .bn-cv *, .bn-cv { animation: none !important; transition: none !important; } .bn-dots { display: none; } }
.bn-still .bn-cv * { animation-play-state: paused !important; }
@media (max-width: 400px) { .bn-no { font-size: .84rem; padding: 7px 11px; } }
