/* Use the shared venom-story, case-stage and typography.css rules for project copy. */
body.vibe-portfolio-page #case-study{display:block;max-width:1100px;width:100%;margin:0 auto;padding:24px clamp(20px,4vw,48px) 40px;box-sizing:border-box}
body.vibe-portfolio-page #case-study .vibe-case{max-width:none;color:#fff}
body.vibe-portfolio-page #case-study .vibe-case p{display:block;overflow:visible;-webkit-line-clamp:unset}
.vibe-intro{padding:0}
.vibe-overview{display:block;padding:0 0 16px;border-bottom:1px solid #333}
.vibe-evidence{padding:28px 0;border-bottom:1px solid #333}
.vibe-evidence>h3:first-child{margin-top:0!important}
.vibe-compare,.vibe-demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.vibe-compare figure,.vibe-devices figure{margin:0;min-width:0}
.vibe-history-current{grid-column:1/-1}
.vibe-history a{display:block}
.vibe-history img{transition:border-color .2s}
.vibe-history a:hover img{border-color:#91d5ef}
body.vibe-portfolio-page #case-study .vibe-history-note{color:#aaa}
.vibe-compare img,.vibe-devices img{display:block;width:100%!important;height:auto!important;max-height:none!important;border:1px solid #333;box-sizing:border-box;border-radius:6px}
body.vibe-portfolio-page #case-study .vibe-case figcaption{color:#aaa;padding:0;margin:12px 0 16px}
.vibe-case strong{color:#eee}
body.vibe-portfolio-page #case-study .vibe-case a{font-family:Arial,sans-serif;font-size:13px;color:#91d5ef;text-decoration:none}
.vibe-case a:hover{text-decoration:underline!important}
.vibe-case a:focus-visible,.vibe-case input:focus-visible{outline:2px solid #fff;outline-offset:5px}
.vibe-case .vibe-text-link{display:inline-block;padding:12px 0}
body.vibe-portfolio-page #case-study .vibe-case .vibe-cta{border:1px solid #77909e!important;display:inline-flex;align-items:center;box-sizing:border-box;min-height:48px;height:auto;line-height:1.5;margin:24px 0 0;padding:12px 18px;overflow:visible;border-radius:0}
.vibe-cta:hover{background:#172027}
.vibe-devices{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(0,1fr);gap:28px;align-items:start;max-width:850px;margin:28px auto}
.vibe-demo-grid .vibe-reveal-demo{margin:0;width:100%;max-width:350px;justify-self:center}
.vibe-reveal-demo{border:1px solid #333;border-radius:6px;overflow:hidden}
.vibe-reveal-stage{position:relative;isolation:isolate;line-height:0;background:#fff}
.vibe-reveal-stage>img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.vibe-reveal-stage>.vibe-reveal-wire{position:absolute;inset:0;height:100%!important;clip-path:inset(0 calc(100% - var(--reveal)) 0 0)}
.vibe-reveal-stage>span{position:absolute;left:var(--reveal);top:0;bottom:0;width:2px;background:#72d6e2}
.vibe-reveal-demo label{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:16px;font:13px/1.6 Arial,sans-serif;color:#aaa}
.vibe-reveal-demo input{min-width:70px;width:100%;min-height:44px;flex:1;accent-color:#8edbd7}
body.vibe-portfolio-page #case-study .vibe-reveal-demo figcaption{padding:0 16px 16px;margin:0}
@media(max-width:700px){.vibe-compare,.vibe-demo-grid{grid-template-columns:1fr;gap:24px}.vibe-devices{gap:16px;grid-template-columns:1.4fr 1fr}.vibe-evidence{padding:24px 0}}
@media(prefers-reduced-motion:reduce){.vibe-portfolio-page *,.vibe-portfolio-page *:before,.vibe-portfolio-page *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
