/* JB Technologies editorial hero & stack — isolated CSS, Inter inherited globally */
.jb-editorial-hero,.jb-editorial-stack{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-sizing:border-box;color:#071c38;}
.jb-editorial-hero *, .jb-editorial-stack *{box-sizing:border-box}
.jb-editorial-shell{width:min(1300px,calc(100% - 8vw));margin:0 auto}
.jb-editorial-hero{background:#f8fafc;position:relative;overflow:hidden;border-bottom:1px solid #e7edf5;padding:80px 0 90px;isolation:isolate}
.jb-editorial-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 69% 46%,#dcebf9bb,transparent 49%),radial-gradient(ellipse at 8% 5%,#ffffff,transparent 44%)}
.jb-editorial-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.06fr);gap:clamp(25px,5vw,90px);align-items:center;min-height:610px}
.jb-editorial-copy{padding:30px 0}
.jb-editorial-pill{display:inline-flex;align-items:center;gap:9px;background:white;border:1px solid #dae5f1;border-radius:30px;padding:10px 13px;font-size:10px;letter-spacing:.14em;color:#476182;font-weight:750;margin-bottom:36px}
.jb-editorial-pill-mark{background:#092f63;color:white;border-radius:100%;height:20px;width:20px;display:grid;place-items:center;font-size:12px}
.jb-editorial-hero h1{font-size:clamp(42px,4.55vw,74px);line-height:1.1;letter-spacing:-.065em;font-weight:750;margin:0;max-width:730px;color:#091d3b}
.jb-editorial-hero h1 em{font-style:normal;color:#6386b1}
.jb-editorial-intro{font-size:clamp(15px,1.2vw,18px);line-height:1.75;color:#63728a;max-width:490px;margin:27px 0 29px}
.jb-editorial-actions{display:flex;flex-wrap:wrap;gap:10px}
.jb-editorial-actions a{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:20px;text-decoration:none!important;border-radius:8px;padding:12px 19px;font-size:13px;font-weight:750;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.jb-editorial-actions a:hover{transform:translateY(-2px)}
.jb-editorial-primary{background:#09264d;color:white!important;box-shadow:0 8px 24px #0e315020}
.jb-editorial-primary:hover{background:#164575}
.jb-editorial-secondary{border:1px solid #d5e0ee;background:white;color:#163a65!important}
.jb-editorial-proof{margin-top:67px;display:flex;align-items:center;gap:12px;font-size:10px;color:#7a8ba4;letter-spacing:.12em;font-weight:700}
.jb-editorial-proof .jb-editorial-rule{width:30px;height:1px;background:#89a9cb}
.jb-editorial-preview-wrap{position:relative;min-width:0;padding-top:28px}
.jb-editorial-preview-accent{position:absolute;inset:5% 0 auto 8%;height:90%;border-radius:38% 60% 49% 44%;background:linear-gradient(130deg,#e9eef4,#dbe8f7);filter:blur(6px);transform:rotate(-8deg)}
.jb-editorial-preview-stack{position:relative;height:clamp(345px,38vw,535px);isolation:isolate}
.jb-editorial-preview-frame{position:absolute;inset:24px 2% 0 2%;margin:0;background:#0b1628;border-radius:17px;overflow:hidden;display:flex;flex-direction:column;border:7px solid #fff;box-shadow:0 25px 70px #13365a30,0 7px 22px #13365a15;opacity:0;transform:translateY(22px) scale(.95) rotate(2deg);transition:opacity .85s ease,transform .85s cubic-bezier(.16,1,.3,1);pointer-events:none}
.jb-editorial-preview-frame.is-active{opacity:1;transform:translateY(0) scale(1) rotate(0);z-index:2}
.jb-editorial-window-top{height:33px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 13px;color:#92a4b6;font-size:9px;letter-spacing:.16em;font-weight:700;flex:none}
.jb-editorial-window-lights{display:flex;gap:4px}.jb-editorial-window-lights b{width:7px;height:7px;background:#d2dfe7;border-radius:50%}.jb-editorial-window-lights b:first-child{background:#ffb9a7}.jb-editorial-window-lights b:nth-child(2){background:#f5d6a7}
.jb-editorial-window-menu{font-size:17px}.jb-editorial-preview-frame img{width:100%;height:calc(100% - 92px);object-fit:cover;object-position:center;flex:1;min-height:0;display:block}
.jb-editorial-preview-frame figcaption{background:#fff;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:17px 17px 15px;color:#132e51;font-size:13px;font-weight:700;flex:none}.jb-editorial-preview-frame small{font-size:9px;letter-spacing:.09em;color:#8e9eb1}
.jb-editorial-preview-footer{margin:24px 2% 0;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative}.jb-editorial-preview-overline{font-size:10px;font-weight:750;letter-spacing:.13em;color:#7489a4}.jb-editorial-preview-overline>span:first-child{padding:0 7px;color:#a0b8cd}
.jb-editorial-preview-nav{display:flex;align-items:center;gap:12px}.jb-editorial-preview-nav>button{border:1px solid #cbdbea;background:#fff;color:#0d3568;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:18px;transition:background .2s}.jb-editorial-preview-nav>button:hover{background:#e5effa}.jb-editorial-preview-dots{display:flex;gap:7px;align-items:center}.jb-editorial-preview-dots button{width:7px;height:7px;border:0;padding:0;background:#a8c0d9;border-radius:30px;cursor:pointer;transition:all .3s}.jb-editorial-preview-dots button[aria-pressed=true]{width:23px;background:#103e70}
.jb-editorial-stack{background:#fff;padding:110px 0 90px;border-top:1px solid #e4ebf3}
.jb-stack-main{display:grid;grid-template-columns:.9fr 1.1fr;min-height:455px;gap:clamp(30px,5vw,100px);align-items:center}.jb-stack-copy{padding:30px 0}.jb-stack-kicker{font-size:11px;letter-spacing:.22em;font-weight:800;color:#416b98;margin:0 0 24px}.jb-stack-copy h2{font-size:clamp(38px,4vw,65px);line-height:1.12;letter-spacing:-.065em;margin:0 0 21px;color:#081f3e}.jb-stack-copy h2 span{color:#7892b5}.jb-stack-copy>p:not(.jb-stack-kicker){font-size:16px;line-height:1.8;color:#66768a;max-width:480px;margin:0 0 26px}.jb-stack-link{background:#071e3e;color:white!important;display:inline-flex;gap:22px;align-items:center;padding:15px 20px;border-radius:7px;text-decoration:none!important;font-size:13px;font-weight:750}.jb-stack-link:hover{background:#1b4779}
.jb-stack-art{height:440px;position:relative;isolation:isolate;perspective:900px}.jb-stack-art:before{content:'';position:absolute;width:390px;height:270px;left:15%;top:22%;border-radius:50%;background:#e9f0f8;filter:blur(40px);z-index:-1}
.jb-stack-floating{position:absolute;border-radius:14px;box-shadow:0 22px 45px #1b385528,0 4px 9px #14385a14;overflow:hidden;transition:transform .35s ease}.jb-stack-floating:hover{transform:translateY(-9px) rotate(0deg)!important}
.jb-stack-terminal{width:54%;height:230px;background:#101c2c;color:#d4e0ed;top:12px;left:9%;transform:rotate(-4deg);z-index:2;padding:13px 18px}.jb-stack-top{display:flex;justify-content:space-between;font-size:9px;color:#90a7b7;letter-spacing:.09em;border-bottom:1px solid #3a4c5e;padding-bottom:12px}.jb-stack-top>span:first-child{color:#edaa85;letter-spacing:.22em}.jb-stack-terminal code{font-family:ui-monospace,monospace;font-size:clamp(9px,1.05vw,13px);line-height:2.2;display:block;margin-top:19px}.jb-stack-code-green{color:#69caa8}.jb-stack-code-pink{color:#ee9abf}.jb-stack-code-cursor{animation:jbCursor 1s steps(2,end) infinite}@keyframes jbCursor{50%{opacity:0}}
.jb-stack-design{width:36%;height:250px;background:#f7fafc;right:3%;top:28px;transform:rotate(4deg);z-index:1;padding:16px 14px;color:#3f526b;border:1px solid #dbe4ef}.jb-stack-design-title{display:flex;justify-content:space-between;font-weight:800;font-size:12px;margin:0 0 15px}.jb-stack-design>div:not(.jb-stack-design-title){font-size:11px;background:#fff;border:1px solid #e4eaf2;border-radius:7px;padding:11px 8px;margin-bottom:8px}.jb-stack-design i{font-style:normal;font-weight:700;color:#5075a4;margin-right:7px}
.jb-stack-center-card{width:190px;height:177px;background:linear-gradient(135deg,#e4ecf5,#fff);border:1px solid #c7d8e9;top:157px;left:30%;transform:rotate(3deg);z-index:4;padding:23px 14px;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:12px}.jb-stack-monogram{font-size:64px;letter-spacing:-.13em;font-weight:850;line-height:.9}.jb-stack-monogram span{color:#5b9fe0}.jb-stack-center-card strong{font-size:10px;letter-spacing:.13em}.jb-stack-center-card small{font-size:10px;color:#7c8c9d}
.jb-stack-file{width:42%;height:182px;background:#0c1b2e;color:#c5e1f0;bottom:14px;right:5%;transform:rotate(5deg);z-index:3;padding:14px 18px}.jb-stack-file-head{font-size:10px;color:#d7e4f1;border-bottom:1px solid #394f65;padding-bottom:11px;display:flex;justify-content:space-between}.jb-stack-file-head span{color:#78cba8}.jb-stack-file code{font-family:ui-monospace,monospace;font-size:clamp(9px,.91vw,12px);line-height:1.8;display:block;margin-top:11px}
.jb-stack-catalog{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:37px}.jb-stack-tech-tile{border:1px solid #e3eaf2;border-radius:14px;background:linear-gradient(160deg,#fff,#f9fbfe);min-height:112px;display:flex;align-items:center;justify-content:center;gap:13px;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.jb-stack-tech-tile:hover{transform:translateY(-5px);border-color:#afc5e0;box-shadow:0 15px 30px #123b6713}.jb-stack-icon{height:39px;width:39px;display:grid;place-items:center}.jb-stack-icon img{width:34px;height:34px;object-fit:contain}.jb-stack-tech-tile strong{font-size:12px;color:#283c57;font-weight:700}.jb-stack-note{text-align:center;color:#92a1b3;font-size:12px;margin:22px 0 0}
@media(max-width:1050px){.jb-editorial-hero-grid{grid-template-columns:1fr 1fr;gap:25px}.jb-editorial-hero{padding:70px 0}.jb-editorial-shell{width:min(1300px,calc(100% - 48px))}.jb-editorial-hero h1{font-size:clamp(38px,5vw,57px)}.jb-editorial-preview-frame small{display:none}.jb-stack-catalog{grid-template-columns:repeat(4,1fr)}.jb-stack-main{gap:25px}}
@media(max-width:760px){.jb-editorial-hero{padding:48px 0 58px}.jb-editorial-hero-grid{grid-template-columns:1fr;min-height:0;gap:6px}.jb-editorial-copy{padding:12px 0 16px}.jb-editorial-pill{margin-bottom:25px;font-size:9px}.jb-editorial-hero h1{font-size:clamp(39px,8vw,57px)}.jb-editorial-intro{margin:17px 0 22px}.jb-editorial-proof{margin-top:34px}.jb-editorial-preview-wrap{padding-top:10px}.jb-editorial-preview-stack{height:clamp(315px,77vw,450px)}.jb-editorial-preview-footer{margin-top:14px}.jb-editorial-stack{padding:58px 0}.jb-stack-main{grid-template-columns:1fr;gap:0}.jb-stack-copy{padding:0 0 10px}.jb-stack-copy h2{font-size:clamp(38px,8vw,53px)}.jb-stack-art{height:385px;max-width:590px;width:100%;margin:auto}.jb-stack-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.jb-stack-tech-tile{min-height:92px}}
@media(max-width:440px){.jb-editorial-shell{width:calc(100% - 30px)}.jb-editorial-actions{flex-direction:column;align-items:stretch}.jb-editorial-actions a{justify-content:space-between}.jb-editorial-preview-stack{height:300px}.jb-editorial-preview-frame{border-width:4px;inset:15px 0 0}.jb-editorial-window-top{height:25px;font-size:7px}.jb-editorial-preview-frame figcaption{padding:10px;font-size:11px}.jb-editorial-preview-overline{font-size:8px;letter-spacing:.03em}.jb-editorial-preview-footer{gap:7px}.jb-editorial-preview-nav{gap:5px}.jb-editorial-preview-nav>button{width:29px;height:29px}.jb-stack-art{height:320px}.jb-stack-terminal{width:58%;left:1%;height:186px;padding:10px}.jb-stack-terminal code{font-size:9px}.jb-stack-design{right:0;width:42%;height:193px;padding:9px}.jb-stack-design>div:not(.jb-stack-design-title){font-size:9px;padding:7px}.jb-stack-center-card{width:140px;height:125px;top:128px;left:27%;padding:12px}.jb-stack-monogram{font-size:46px}.jb-stack-center-card strong{font-size:8px}.jb-stack-center-card small{font-size:8px}.jb-stack-file{width:50%;height:125px;bottom:0;padding:8px}.jb-stack-file code{font-size:8px}.jb-stack-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.jb-stack-tech-tile{min-height:88px;border-radius:10px}.jb-stack-tech-tile strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.jb-editorial-preview-frame,.jb-stack-floating,.jb-stack-tech-tile,.jb-editorial-actions a{transition:none!important}.jb-stack-code-cursor{animation:none}}

/* 2026-10-23 — sequential layered website previews, replacing horizontal/fade-only carousel. */
.jb-editorial-preview-wrap{padding-top:60px}
.jb-editorial-preview-stack{height:clamp(355px,35vw,540px);isolation:isolate;overflow:visible;perspective:1200px}
.jb-editorial-preview-accent{height:82%;top:8%;left:10%;background:linear-gradient(125deg,#e9f1fa,#eef2f8);filter:blur(19px)}
.jb-editorial-preview-frame{
  inset:67px 3% 0;opacity:1;border:1px solid #d6dee8;border-radius:14px;
  background:#fff;overflow:hidden;display:block;pointer-events:none;
  box-shadow:0 30px 56px #0b284121,0 8px 18px #163f631c;
  transform-origin:center bottom;
  transition:transform 1050ms cubic-bezier(.23,1,.32,1),opacity 850ms ease,filter 850ms ease;
  will-change:transform
}
.jb-editorial-preview-frame.is-front{z-index:4;opacity:1;filter:brightness(1);transform:translate3d(0,0,0) scale(1)}
.jb-editorial-preview-frame.is-second{z-index:3;opacity:1;filter:brightness(.965);transform:translate3d(0,-43px,0) scale(.97)}
.jb-editorial-preview-frame.is-third{z-index:2;opacity:1;filter:brightness(.945);transform:translate3d(0,-86px,0) scale(.94)}
.jb-editorial-preview-frame.is-fourth{z-index:1;opacity:1;filter:brightness(.92);transform:translate3d(0,-129px,0) scale(.91)}
.jb-editorial-preview-screen{position:absolute;inset:0;overflow:hidden;background:#f5f7fb}
.jb-editorial-preview-screen img{display:block;position:absolute;top:0;left:0;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top center;max-width:unset;transform:translateY(0);transition:none!important}
.jb-editorial-preview-frame.is-front .jb-editorial-preview-screen img{animation:jb-preview-page-pan 7.05s linear both}
@keyframes jb-preview-page-pan{0%,7%{transform:translateY(0)}93%,100%{transform:translateY(-30%)}}
.jb-editorial-preview-caption{display:none}
.jb-editorial-preview-footer{margin:19px 3% 0;gap:15px}
.jb-editorial-preview-descriptor{min-width:0;display:flex;flex-direction:column;gap:5px}
.jb-editorial-preview-descriptor strong{font-size:14px;line-height:1.3;letter-spacing:-.02em;color:#122c4d}
.jb-editorial-preview-descriptor>span{font-size:9px;letter-spacing:.14em;font-weight:700;color:#8799ad}
.jb-editorial-preview-help{font-size:11px;color:#8493a7;margin:11px 3% 0;line-height:1.6}
.jb-editorial-preview-nav>[data-jb-preview-pause]{font-family:Arial, sans-serif;font-size:12px;width:34px;height:34px}
.jb-editorial-preview-nav button:focus-visible,.jb-editorial-preview-stack:focus-visible{outline:3px solid #2f6fb7;outline-offset:3px}
.jb-editorial-preview-dots button{min-width:10px;min-height:10px}
.jb-editorial-preview-dots button[aria-pressed=true]{width:23px}
.jb-stack-catalog{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.jb-stack-tech-tile{background:#fff;border:1px solid #e1e7ed;min-height:105px;border-radius:14px;box-shadow:0 4px 10px #081e3e04}
.jb-stack-tech-tile:hover{background:#f7faff;box-shadow:0 12px 28px #071b3518;transform:translateY(-4px)}
.jb-stack-icon{width:46px;height:46px}
.jb-stack-icon img{height:39px;width:39px;object-fit:contain}
.jb-stack-tech-tile strong{color:#1e2f44}
@media(max-width:1160px){.jb-stack-catalog{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:900px){.jb-stack-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.jb-editorial-preview-wrap{padding-top:54px}.jb-editorial-preview-stack{height:clamp(355px,72vw,470px)}.jb-editorial-preview-frame{inset:64px 3% 0}.jb-editorial-preview-frame.is-second{transform:translate3d(0,-41px,0) scale(.97)}.jb-editorial-preview-frame.is-third{transform:translate3d(0,-80px,0) scale(.94)}.jb-editorial-preview-frame.is-fourth{transform:translate3d(0,-117px,0) scale(.91)}.jb-stack-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:440px){.jb-editorial-preview-stack{height:330px}.jb-editorial-preview-frame{inset:66px 1% 0;border-width:1px}.jb-editorial-preview-frame.is-second{transform:translate3d(0,-39px,0) scale(.97)}.jb-editorial-preview-frame.is-third{transform:translate3d(0,-77px,0) scale(.94)}.jb-editorial-preview-frame.is-fourth{transform:translate3d(0,-113px,0) scale(.91)}.jb-editorial-preview-footer{flex-wrap:wrap;gap:9px}.jb-editorial-preview-descriptor strong{font-size:12px}.jb-editorial-preview-nav{gap:6px}.jb-stack-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.jb-editorial-preview-frame,.jb-editorial-preview-screen img{animation:none!important;transition:none!important}}

/* 2026-10-31: screenshot cleanup: keep carousel controls right-aligned without the descriptor. */
.jb-editorial-preview-footer{justify-content:flex-end}
