.ryan-case-card{display:grid;grid-template-columns:minmax(0,35%) minmax(0,65%);width:100%;margin:0 0 36px;background:#fff;border:1px solid #d8e0eb;border-radius:12px;overflow:hidden;color:#111d2b;box-shadow:0 18px 50px rgba(17,29,43,.06)}
.ryan-case-card-media{min-height:0;height:560px;overflow:hidden;background:#172638;display:flex;align-items:center;justify-content:center}
.ryan-case-card-media img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 32%;transition:transform .5s ease;display:block}
.ryan-case-card:hover .ryan-case-card-media img{transform:scale(1.03)}
.ryan-case-card-content{min-width:0;padding:clamp(28px,3.2vw,52px);display:flex;flex-direction:column;align-items:flex-start}
.ryan-case-eyebrow,.ryan-case-section-number{display:block;color:#2855d9;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.ryan-case-operator{margin:12px 0 0;color:#596575;font-size:15px;font-weight:600;line-height:1.5}
.ryan-case-card h3{margin:18px 0 14px;color:#111d2b;font-size:clamp(30px,2.4vw,36px);font-weight:600;letter-spacing:-.035em;line-height:1.13;text-wrap:balance;max-width:700px}
.ryan-case-summary{margin:0;color:#596575;font-size:16px;line-height:1.6}
.ryan-case-card blockquote{margin:23px 0 25px;padding:0 0 0 18px;border-left:2px solid #2855d9;color:#111d2b;font-size:16px;line-height:1.6;font-weight:500}
.ryan-case-card blockquote cite,.ryan-case-testimonial cite{display:block;margin-top:8px;color:#596575;font-size:13px;font-style:normal;font-weight:400}
.ryan-case-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;margin:0 0 26px;padding-top:20px;border-top:1px solid #d8e0eb}
.ryan-case-stats>div{min-width:0;padding:0 18px;border-left:1px solid #d8e0eb}
.ryan-case-stats>div:first-child{padding-left:0;border-left:0}
.ryan-case-stats strong,.ryan-case-result-grid strong{display:block;color:#111d2b;font-size:clamp(25px,2vw,31px);font-weight:650;line-height:1.1;white-space:nowrap}
.ryan-case-stats span,.ryan-case-result-grid span{display:block;margin-top:7px;color:#596575;font-size:12px;line-height:1.4}
.ryan-case-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 22px;background:#2855d9;color:#fff!important;border-radius:8px;text-decoration:none!important;font-size:14px;font-weight:650;transition:background .2s ease,transform .2s ease}
.ryan-case-button:hover,.ryan-case-button:focus-visible{background:#1e43b1;transform:translateY(-1px)}
.ryan-case-page{color:#111d2b;background:#fff}
.ryan-case-page .container{width:min(100% - 48px,1280px);margin-inline:auto}
.ryan-case-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 40px;color:#596575;font-size:12px}
.ryan-case-breadcrumb a{color:#596575;text-decoration:none}
.ryan-case-breadcrumb a:hover{color:#2855d9}
.ryan-case-hero{padding:34px 0 64px;background:#edf2f9}
.ryan-case-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(36px,5vw,80px);align-items:center}
.ryan-case-hero-copy{padding:24px 0}
.ryan-case-hero .ryan-case-operator{margin:28px 0 0;color:#2855d9;font-size:16px}
.ryan-case-hero h1{max-width:760px;margin:15px 0 25px;color:#111d2b;font-size:clamp(46px,5vw,72px);font-weight:550;line-height:1.04;letter-spacing:-.055em;text-wrap:balance}
.ryan-case-hero-summary{max-width:640px;margin:0;color:#596575;font-size:clamp(17px,1.45vw,20px);line-height:1.58}
.ryan-case-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}
.ryan-case-hero-meta span{padding:9px 13px;border:1px solid #cbd7e7;border-radius:999px;color:#263951;background:#f8faff;font-size:12px;font-weight:650}
.ryan-case-hero-photo{position:relative;min-height:460px;margin:0;overflow:hidden;border-radius:12px;background:#172638}
.ryan-case-hero-photo img{display:block;width:100%;height:100%;max-height:610px;object-fit:contain}
.ryan-case-hero-photo figcaption{position:absolute;inset:auto 0 0;padding:12px 18px;color:#fff;background:linear-gradient(transparent,rgba(12,25,42,.8));font-size:12px}
.ryan-case-evidence{background:#111d2b;color:#fff;padding:26px 0 30px}
.ryan-case-page .ryan-case-section-number{font-size:13px}
.ryan-case-evidence .ryan-case-section-number{color:#9fb8ff}
.ryan-case-evidence .ryan-case-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:24px}
.ryan-case-evidence .ryan-case-result-grid>div{padding:4px 26px;border-left:1px solid #405167}
.ryan-case-evidence .ryan-case-result-grid>div:first-child{border-left:0;padding-left:0}
.ryan-case-evidence .ryan-case-result-grid strong{color:#fff;font-size:clamp(28px,3vw,43px);font-weight:550}
.ryan-case-evidence .ryan-case-result-grid span{color:#b7c3d2;font-size:16px}
.ryan-case-section{padding:120px 0}
.ryan-case-section-heading{max-width:1060px;margin-bottom:56px}
.ryan-case-section h2{margin:14px 0 0;color:#111d2b;font-size:clamp(39px,4.2vw,60px);line-height:1.08;font-weight:550;letter-spacing:-.048em;text-wrap:balance}
.ryan-case-overview-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:clamp(60px,8vw,140px);align-items:center}
.ryan-case-lead{max-width:710px;margin:0;color:#263951;font-size:clamp(21px,2vw,27px);line-height:1.5;letter-spacing:-.017em}
.ryan-case-deployment{display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid #ccd7e4;border-bottom:1px solid #ccd7e4}
.ryan-case-deployment>div{padding:24px 12px 24px 0}.ryan-case-deployment>div+div{border-left:1px solid #ccd7e4;padding-left:32px}
.ryan-case-deployment strong{display:block;color:#2855d9;font-size:clamp(64px,7vw,96px);font-weight:500;line-height:1}
.ryan-case-deployment span{display:block;margin-top:6px;color:#263951;font-size:18px}
.ryan-case-deployment p{grid-column:1/-1;margin:0;padding:21px 0;border-top:1px solid #ccd7e4;color:#111d2b;font-size:18px;font-weight:600}
.ryan-case-deployment p span{display:inline;margin:0 10px;color:#2855d9}
.ryan-case-operations{background:#f3f6fa}
.ryan-case-operation-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}
.ryan-case-operation-list article{padding:27px 0 0;border-top:2px solid #2855d9}
.ryan-case-operation-list article>span,.ryan-case-proof-label{color:#2855d9;font-size:14px;font-weight:700;letter-spacing:.11em}
.ryan-case-operation-list h3{margin:38px 0 15px;color:#111d2b;font-size:clamp(24px,2.1vw,30px);line-height:1.18;letter-spacing:-.03em}
.ryan-case-operation-list p{max-width:370px;margin:0;color:#596575;font-size:17px;line-height:1.6}
.ryan-case-vendos-feature{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(35px,6vw,80px);align-items:center;margin-bottom:30px;padding:clamp(28px,4vw,56px);background:#f3f6fa;border-radius:16px}
.ryan-case-vendos-copy h3{max-width:460px;margin:22px 0 24px;color:#111d2b;font-size:clamp(37px,4vw,56px);line-height:1.08;letter-spacing:-.045em;font-weight:550}
.ryan-case-vendos-copy p{max-width:390px;margin:0;color:#596575;font-size:19px;line-height:1.55}
.ryan-case-screen{margin:0;padding:18px;border:1px solid #e0e5ee;border-radius:12px;background:#fff;overflow:hidden}
.ryan-case-screen a{display:block;max-width:100%;text-decoration:none}
.ryan-case-screen img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:5px}
.ryan-case-screen figcaption{display:flex;justify-content:space-between;gap:16px;margin-top:18px;padding:0 4px 3px;color:#111d2b;font-size:17px;font-weight:600;line-height:1.35}
.ryan-case-screen figcaption span{color:#2855d9}
.ryan-case-vendos-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.ryan-case-vendos-pair .ryan-case-screen{padding:22px}
.ryan-case-results{background:#f3f6fa}
.ryan-case-results-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(45px,7vw,110px);align-items:start}
.ryan-case-results-layout p{max-width:470px;margin:25px 0 0;color:#596575;font-size:19px;line-height:1.6}
.ryan-case-ranking{list-style:none;margin:0;padding:0;border-top:1px solid #c6d0dc}
.ryan-case-ranking li{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:18px;align-items:center;padding:28px 0;border-bottom:1px solid #c6d0dc}
.ryan-case-ranking li>span{color:#2855d9;font-size:16px;font-weight:700}
.ryan-case-ranking strong{color:#111d2b;font-size:18px;font-weight:600;line-height:1.35}
.ryan-case-ranking b{color:#111d2b;font-size:24px;font-weight:600;white-space:nowrap}
.ryan-case-testimonial{background:#111d2b;color:#fff}
.ryan-case-testimonial>.container{position:relative;max-width:1020px}
.ryan-case-testimonial .ryan-case-section-number{color:#9fb8ff}
.ryan-case-testimonial h2{color:#fff;margin-bottom:42px}
.ryan-case-quote-mark{position:absolute;top:-70px;right:0;color:#334a69;font-family:Georgia,serif;font-size:250px;line-height:1;pointer-events:none}
.ryan-case-testimonial blockquote{position:relative;margin:0;padding:0 0 0 30px;border-left:3px solid #6d92ff;color:#fff;font-size:clamp(22px,2.3vw,31px);line-height:1.5;letter-spacing:-.018em;font-weight:400}
.ryan-case-testimonial cite{display:block;margin-top:32px;color:#c0ccdc;font-size:16px;font-style:normal;letter-spacing:0}
@media(max-width:900px){.ryan-case-card{grid-template-columns:1fr}.ryan-case-card-media{min-height:0;height:360px}.ryan-case-card-media img{max-height:none}.ryan-case-hero-grid{grid-template-columns:1fr}.ryan-case-hero-photo{min-height:0;max-width:660px}.ryan-case-hero-photo img{max-height:560px}.ryan-case-overview-grid{grid-template-columns:1fr;gap:45px}.ryan-case-operation-list{grid-template-columns:1fr;gap:38px}.ryan-case-operation-list h3{margin-top:22px}.ryan-case-vendos-feature{grid-template-columns:1fr}.ryan-case-results-layout{grid-template-columns:1fr}.ryan-case-evidence .ryan-case-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}.ryan-case-evidence .ryan-case-result-grid>div:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:600px){.ryan-case-card{margin-bottom:26px}.ryan-case-card-media{height:280px}.ryan-case-card-content{padding:24px}.ryan-case-card h3{font-size:28px}.ryan-case-card blockquote{font-size:15px}.ryan-case-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}.ryan-case-stats>div{padding:0 12px}.ryan-case-stats>div:nth-child(3){padding-left:0;border-left:0}.ryan-case-stats strong{font-size:24px}.ryan-case-button{width:100%;min-height:50px}.ryan-case-page .container{width:min(100% - 32px,1280px)}.ryan-case-hero{padding:23px 0 42px}.ryan-case-breadcrumb{margin-bottom:28px}.ryan-case-hero-copy{padding:0}.ryan-case-hero h1{font-size:clamp(38px,10vw,52px)}.ryan-case-hero-summary{font-size:16px}.ryan-case-hero-meta{margin:23px 0 0}.ryan-case-hero-photo img{max-height:460px}.ryan-case-evidence .ryan-case-result-grid{gap:24px 0}.ryan-case-evidence .ryan-case-result-grid>div{padding:0 10px}.ryan-case-evidence .ryan-case-result-grid strong{font-size:27px}.ryan-case-evidence .ryan-case-result-grid span{font-size:13px}.ryan-case-section{padding:76px 0}.ryan-case-section h2{font-size:clamp(33px,8.7vw,41px)}.ryan-case-section-heading{margin-bottom:35px}.ryan-case-lead{font-size:21px}.ryan-case-deployment strong{font-size:66px}.ryan-case-operation-list p{font-size:16px}.ryan-case-vendos-feature{padding:14px;gap:28px}.ryan-case-vendos-copy{padding:12px}.ryan-case-vendos-copy h3{font-size:39px}.ryan-case-vendos-copy p{font-size:17px}.ryan-case-vendos-pair{grid-template-columns:1fr;gap:22px}.ryan-case-screen,.ryan-case-vendos-pair .ryan-case-screen{padding:12px}.ryan-case-screen figcaption{font-size:16px}.ryan-case-ranking li{grid-template-columns:27px 1fr;gap:10px 12px;padding:22px 0}.ryan-case-ranking b{grid-column:2;font-size:23px}.ryan-case-testimonial blockquote{padding-left:19px;font-size:21px}.ryan-case-quote-mark{font-size:170px;top:-38px}}
@media(prefers-reduced-motion:reduce){.ryan-case-card-media img,.ryan-case-button{transition:none!important}.ryan-case-card:hover .ryan-case-card-media img,.ryan-case-button:hover{transform:none}}

/* ============================================================
   Ryan Miller case study — visual redesign (2026-11-27)
   Brand blue #2855D9. Appended overrides; both SPA + static pages.
   ============================================================ */

/* Brand-accented headings: unified kicker bar + highlighted keyword */
.ryan-case-page .ryan-case-section-number{display:inline-flex;align-items:center;gap:10px;color:var(--b2-blue,#2855d9)}
.ryan-case-page .ryan-case-section-number::before{content:"";display:inline-block;width:26px;height:2px;border-radius:999px;background:var(--b2-blue,#2855d9)}
.ryan-case-page h1 em,.ryan-case-page h2 em,.ryan-case-page h3 em{font-style:normal;color:var(--b2-blue,#2855d9)}

/* ---- 1. Hero: edge-to-edge image fusion (no empty side rails) ---- */
.ryan-case-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,4.5vw,68px);align-items:center}
.ryan-case-hero-photo{min-height:620px;height:min(72vh,760px);border-radius:16px;background:#0e1c2c;box-shadow:0 30px 70px rgba(15,32,54,.22)}
.ryan-case-hero-photo img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 32%}
.ryan-case-hero-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(9,20,36,0) 55%,rgba(9,20,36,.62) 100%)}
.ryan-case-hero-photo figcaption{z-index:1;padding:20px 24px;font-size:13px;letter-spacing:.01em}

/* ---- 2. Operator-reported results: dashboard cards + count-up ---- */
.ryan-case-evidence{position:relative;overflow:hidden;padding:74px 0 78px;background:radial-gradient(1100px 420px at 82% -30%,rgba(40,85,217,.42),transparent 62%),linear-gradient(135deg,#0c1830 0%,#12234a 55%,#0b1730 100%)}
.ryan-case-evidence::before{content:"";position:absolute;top:-140px;right:-90px;width:520px;height:520px;border:1px solid rgba(120,160,255,.22);border-radius:50%;pointer-events:none}
.ryan-case-evidence .container{position:relative}
.ryan-case-evidence .ryan-case-section-number{color:#a9c2ff}
.ryan-case-evidence .ryan-case-section-number::before{background:#5b8cff}
.ryan-case-evidence .ryan-case-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:34px}
.ryan-case-evidence .ryan-case-result-card{display:flex;flex-direction:column;justify-content:center;min-height:158px;padding:22px 24px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.045);transition:border-color .3s ease,background .3s ease,transform .3s ease}
.ryan-case-evidence .ryan-case-result-card:hover{border-color:rgba(120,160,255,.5);transform:translateY(-3px)}
.ryan-case-evidence .ryan-case-result-card.is-featured{position:relative;border:1px solid rgba(90,140,255,.9);background:linear-gradient(135deg,rgba(40,85,217,.42),rgba(18,40,92,.72));box-shadow:0 22px 50px rgba(8,24,66,.5)}
.ryan-case-evidence .ryan-case-result-card.is-featured::after{content:"";position:absolute;left:24px;bottom:18px;width:38px;height:3px;border-radius:999px;background:#5b8cff}
.ryan-result-value{display:flex;align-items:baseline;gap:2px;color:#fff;font-size:clamp(34px,3.4vw,50px);font-weight:750;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.ryan-result-value i{font-style:normal;font-size:.72em;font-weight:700;transform:translateY(-.06em)}
.ryan-result-label{margin-top:12px;color:#b9c7de;font-size:14px;line-height:1.4}
.ryan-case-evidence .ryan-case-result-grid>div{padding:0;border-left:0}
.ryan-case-evidence .ryan-case-result-grid strong{color:inherit;font-size:inherit;font-weight:inherit;white-space:normal}
.ryan-case-evidence .ryan-case-result-grid span{margin-top:0}

/* ---- 3. VendOS: single-screen, clickable three-image carousel ---- */
.ryan-case-vendos{padding:100px 0}
.ryan-vendos-carousel{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);gap:clamp(28px,4vw,60px);align-items:center;padding:clamp(28px,3.6vw,52px);border:1px solid #dce4f0;border-radius:20px;background:linear-gradient(135deg,#f6f9ff,#eef3fb)}
.ryan-vendos-copy h3{max-width:420px;margin:18px 0 18px;color:#111d2b;font-size:clamp(32px,3vw,46px);line-height:1.1;letter-spacing:-.04em;font-weight:650}
.ryan-vendos-copy p{max-width:400px;margin:0;color:#596575;font-size:17px;line-height:1.6}
.ryan-carousel-controls{display:flex;align-items:center;gap:18px;margin-top:32px}
.ryan-carousel-arrow{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #c8d6ea;border-radius:50%;background:#fff;color:#2855d9;font-size:26px;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.ryan-carousel-arrow:hover{background:#2855d9;border-color:#2855d9;color:#fff}
.ryan-carousel-lines{display:flex;align-items:center;gap:9px}
.ryan-carousel-lines button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#bcc9db;cursor:pointer;transition:width .25s ease,background .25s ease,border-radius .25s ease}
.ryan-carousel-lines button.is-active{width:28px;border-radius:999px;background:#2855d9}
.ryan-vendos-stage{position:relative;width:100%;height:min(62vh,600px);border-radius:16px;background:#fff;box-shadow:0 20px 50px rgba(20,40,80,.14);overflow:hidden}
.ryan-vendos-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;padding:20px 20px 48px;opacity:0;visibility:hidden;transform:translateX(18px);transition:opacity .45s ease,transform .45s ease,visibility .45s}
.ryan-vendos-slide.is-active{opacity:1;visibility:visible;transform:translateX(0)}
.ryan-vendos-slide img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px}
.ryan-vendos-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;color:#263951;font-size:13px;font-weight:650;text-align:center;background:linear-gradient(transparent,#fff 42%)}

/* ---- 4. Testimonial: speech-bubble quote on gradient panel ---- */
.ryan-case-testimonial{position:relative;overflow:hidden;padding:108px 0;background:radial-gradient(900px 420px at 88% -20%,rgba(40,85,217,.55),transparent 60%),linear-gradient(135deg,#0a1628,#102552 58%,#0a1730);color:#fff}
.ryan-case-testimonial::before{content:"";position:absolute;top:-120px;right:-70px;width:420px;height:420px;border:1px solid rgba(120,160,255,.25);border-radius:50%;pointer-events:none}
.ryan-case-testimonial>.container{position:relative;z-index:1;max-width:1120px}
.ryan-case-testimonial .ryan-case-section-number{color:#a9c2ff}
.ryan-case-testimonial .ryan-case-section-number::before{background:#5b8cff}
.ryan-case-testimonial h2{margin:16px 0 40px;color:#fff;font-weight:650}
.ryan-case-testimonial h2 em{color:#7fa6ff}
.ryan-case-quote-mark{display:none}
.ryan-case-bubble{position:relative;margin:0;padding:clamp(28px,3.4vw,48px) clamp(26px,3.6vw,52px);border:1.5px solid rgba(96,146,255,.75);border-radius:22px;background:linear-gradient(135deg,rgba(30,64,130,.55),rgba(14,32,74,.62));box-shadow:0 26px 60px rgba(4,14,38,.45)}
.ryan-case-bubble::before{content:"";position:absolute;left:38px;bottom:-22px;width:34px;height:34px;border-left:1.5px solid rgba(96,146,255,.75);border-bottom:1.5px solid rgba(96,146,255,.75);background:linear-gradient(135deg,rgba(18,40,90,.9),rgba(14,32,74,.9));transform:rotate(-45deg);border-bottom-left-radius:6px}
.ryan-case-bubble blockquote{margin:0;padding:0;border:0;color:#fff;font-size:clamp(19px,1.9vw,27px);line-height:1.6;letter-spacing:-.01em;font-weight:400}
.ryan-case-bubble figcaption{display:block;margin-top:26px;padding-left:26px;position:relative;color:#c2d0e6;font-size:15px;font-style:normal}
.ryan-case-bubble figcaption::before{content:"";position:absolute;left:0;top:50%;width:18px;height:1px;background:#7fa6ff}
.ryan-case-bubble cite{display:inline;font-style:normal}

/* ---- Responsive ---- */
@media(max-width:900px){
  .ryan-case-hero-photo{min-height:0;height:520px}
  .ryan-case-evidence .ryan-case-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ryan-vendos-carousel{grid-template-columns:1fr}
  .ryan-vendos-stage{height:520px}
}
@media(max-width:600px){
  .ryan-case-hero-photo{height:440px}
  .ryan-case-evidence{padding:56px 0}
  .ryan-case-evidence .ryan-case-result-card{min-height:120px;padding:16px 18px}
  .ryan-result-value{font-size:32px}
  .ryan-vendos-stage{height:440px}
  .ryan-carousel-controls{gap:12px}
  .ryan-case-testimonial{padding:70px 0}
  .ryan-case-bubble figcaption{font-size:13px}
}


/* Specificity fix: override legacy .ryan-case-result-grid strong/span rules */
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-value{display:flex;align-items:baseline;gap:2px;color:#fff;font-size:clamp(34px,3.4vw,50px);font-weight:750;line-height:1;letter-spacing:-.04em;margin-top:0;font-variant-numeric:tabular-nums}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-value i{display:inline;font-style:normal;font-size:.72em;font-weight:700;color:#fff;margin-top:0;transform:translateY(-.06em)}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-value strong{display:inline;color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:nowrap;margin-top:0}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-label{display:block;margin-top:12px;color:#b9c7de;font-size:14px;font-weight:400;line-height:1.4}
@media(max-width:600px){.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-value{font-size:32px}}

/* ---- Refinement: centered metrics, line pagination, real customer avatar ---- */

/* 1) Data strip: numbers + labels centered */
.ryan-case-page .ryan-case-evidence > .container > .ryan-case-section-number{display:block;text-align:center}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-case-result-card{align-items:center;text-align:center}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-value{justify-content:center}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-result-label{text-align:center}
.ryan-case-page .ryan-case-evidence .ryan-case-result-grid .ryan-case-result-card.is-featured::after{left:50%;right:auto;transform:translateX(-50%)}

/* 2) VendOS: horizontal line pagination, no white stage block */
.ryan-case-page .ryan-carousel-lines button{width:26px;height:4px;border-radius:999px;background:#b6c5da}
.ryan-case-page .ryan-carousel-lines button.is-active{width:48px;background:#2855d9}
.ryan-case-page .ryan-vendos-stage{background:transparent;border-radius:0;box-shadow:none}
.ryan-case-page .ryan-vendos-slide{padding:0 0 34px}
.ryan-case-page .ryan-vendos-slide img{border-radius:14px;box-shadow:0 18px 44px rgba(20,45,95,.22)}
.ryan-case-page .ryan-vendos-slide figcaption{padding:10px 8px 0;color:#5a6b85;background:transparent;font-size:13px}

/* 3) Testimonial: real avatar + pointer bubble */
.ryan-case-page .ryan-case-testimonial .ryan-case-bubble{margin-left:104px}
.ryan-case-page .ryan-case-testimonial .ryan-case-bubble::before{left:-15px;bottom:64px;transform:rotate(45deg)}
.ryan-case-page .ryan-case-avatar{position:absolute;left:-116px;bottom:28px;width:124px;height:124px;border-radius:50%;object-fit:cover;border:3px solid #6a9bff;box-shadow:0 14px 34px rgba(4,14,38,.55)}
@media(max-width:900px){
  .ryan-case-page .ryan-case-testimonial .ryan-case-bubble{margin-left:78px}
  .ryan-case-page .ryan-case-avatar{left:-88px;bottom:20px;width:96px;height:96px}
}
@media(max-width:600px){
  .ryan-case-page .ryan-case-testimonial .ryan-case-bubble{margin-left:0;padding-top:78px}
  .ryan-case-page .ryan-case-avatar{left:26px;bottom:auto;top:18px;width:80px;height:80px}
  .ryan-case-page .ryan-case-testimonial .ryan-case-bubble::before{left:56px;bottom:-14px;transform:rotate(-45deg)}
  .ryan-case-page .ryan-vendos-stage{height:440px}
}


/* Force line pagination to a true thin bar (parent align-items was stretching buttons) */
.ryan-case-page .ryan-carousel-lines button{display:block;flex:0 0 auto;height:4px;min-height:4px;max-height:4px;align-self:center;line-height:0;font-size:0}

/* ---- Round 3 tweaks ---- */
/* Data strip label: no leading dash, centered, same font as other kicker labels */
.ryan-case-page .ryan-case-evidence > .container > .ryan-case-section-number::before{display:none}
.ryan-case-page .ryan-case-evidence > .container > .ryan-case-section-number{display:block;text-align:center;font-family:inherit;letter-spacing:.12em}
/* Widen the VendOS screenshot column (reference: larger Product Analysis frame) */
.ryan-case-page .ryan-vendos-carousel{grid-template-columns:minmax(240px,.6fr) minmax(0,1.4fr)}
.ryan-case-page .ryan-vendos-stage{padding-left:0}

/* ---- Round 4: case-card CTA anchored bottom-right ---- */
.ryan-case-card .ryan-case-button{align-self:flex-end;margin-top:auto}

/* ---- Round 5: case-card stats highlight + count-up ---- */
.ryan-case-card .ryan-case-stats{margin-bottom:22px}
.ryan-case-card .ryan-case-stats>div{padding:2px 18px;border-left:1px solid #e3e9f2}
.ryan-case-card .ryan-case-stats .ryan-stat-value{display:flex;align-items:baseline;gap:1px;margin-top:0;font-variant-numeric:tabular-nums}
.ryan-case-card .ryan-case-stats .ryan-stat-value i{font-style:normal;font-size:clamp(22px,1.9vw,30px);font-weight:750;color:#2855d9;transform:translateY(-.02em)}
.ryan-case-card .ryan-case-stats>div>strong,.ryan-case-card .ryan-case-stats .ryan-stat-value strong{display:inline;color:#2855d9;font-size:clamp(30px,2.6vw,40px);font-weight:750;line-height:1.1;letter-spacing:-.03em;white-space:nowrap;margin-top:0}
.ryan-case-card .ryan-case-stats>div>span:last-child{margin-top:8px;color:#596575;font-size:12px;font-weight:500;line-height:1.4}
@media(max-width:600px){.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-variant-numeric:tabular-nums}}

/* ---- Round 6: three-block spacing rebalance ---- */
/* Block 1 (top copy) tighter */
.ryan-case-card .ryan-case-operator{margin-top:8px;font-size:14px}
.ryan-case-card h3{margin:14px 0 10px;font-size:clamp(29px,2.2vw,34px);line-height:1.1}
.ryan-case-card .ryan-case-summary{font-size:15px;line-height:1.5}
.ryan-case-card blockquote{margin:16px 0 18px;font-size:15px;line-height:1.5;padding-left:14px}
.ryan-case-card blockquote cite{margin-top:6px;font-size:12px}
/* Block 2 (stats) centered + enlarged */
.ryan-case-card .ryan-case-stats{margin:0 0 20px;padding-top:16px}
.ryan-case-card .ryan-case-stats>div{text-align:center;padding:0 14px}
.ryan-case-card .ryan-case-stats>div:first-child{padding-left:14px}
.ryan-case-card .ryan-case-stats .ryan-stat-value{justify-content:center;gap:1px}
.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-size:clamp(34px,3vw,44px)}
.ryan-case-card .ryan-case-stats .ryan-stat-value i{font-size:clamp(25px,2.1vw,32px)}
.ryan-case-card .ryan-case-stats>div>span:last-child{margin-top:8px}
/* Block 3 (CTA) nudged down */
.ryan-case-card .ryan-case-button{margin-top:auto;align-self:flex-end}
@media(max-width:600px){.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-size:30px}.ryan-case-card .ryan-case-stats .ryan-stat-value i{font-size:22px}}

/* ---- Round 7: bigger stats + lower CTA ---- */
.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-size:clamp(42px,3.7vw,54px)}
.ryan-case-card .ryan-case-stats .ryan-stat-value i{font-size:clamp(31px,2.7vw,40px)}
.ryan-case-card .ryan-case-stats>div{padding:0 10px}
.ryan-case-card .ryan-case-stats>div:first-child{padding-left:10px}
.ryan-case-card .ryan-case-stats>div>span:last-child{margin-top:10px;font-size:13px}
.ryan-case-card .ryan-case-stats{margin-bottom:12px}
.ryan-case-card .ryan-case-card-content{padding-bottom:clamp(18px,1.6vw,28px)}
.ryan-case-card .ryan-case-button{margin-top:auto}
@media(max-width:600px){.ryan-case-card .ryan-case-stats .ryan-stat-value strong{font-size:36px}.ryan-case-card .ryan-case-stats .ryan-stat-value i{font-size:27px}}

/* ---- Round 8: vertically center stats between divider and CTA ---- */
.ryan-case-card .ryan-case-stats{flex:1 1 auto;align-content:center;padding-top:0;margin-bottom:0}
.ryan-case-card .ryan-case-button{margin-top:0}

/* ---- Detail-page specific round 1: deployment figures centered ---- */
.ryan-case-page .ryan-case-deployment{text-align:center}
.ryan-case-page .ryan-case-deployment>div{padding:24px 12px}
.ryan-case-page .ryan-case-deployment>div+div{padding-left:12px}
.ryan-case-page .ryan-case-deployment p{text-align:center}

/* ---- Detail-page specific round 2: ranking prices highlight + count-up ---- */
.ryan-case-page .ryan-case-ranking b.ryan-rank-price{display:flex;align-items:baseline;justify-content:flex-end;gap:1px;color:#2855d9;font-size:clamp(28px,2.5vw,36px);font-weight:750;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.ryan-case-page .ryan-case-ranking b.ryan-rank-price i{font-style:normal;font-size:.7em;font-weight:700;transform:translateY(-.03em)}
.ryan-case-page .ryan-case-ranking b.ryan-rank-price strong{display:inline;color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;white-space:nowrap}
@media(max-width:600px){.ryan-case-page .ryan-case-ranking b.ryan-rank-price{font-size:26px}}

/* ---- Detail-page specific round 4: evidence period note ---- */

/* ---- Detail-page specific round 5: project lead copy size ---- */
.ryan-case-page .ryan-case-lead{font-size:clamp(19px,1.75vw,24px)}
@media(max-width:600px){.ryan-case-page .ryan-case-lead{font-size:19px}}

/* ---- Case card overlay stack: one slot, up/down switch, 5s autoplay ---- */
.case-card-stack{width:100%;position:relative}
.case-card-stack-stage{display:grid;align-items:stretch;position:relative;padding-bottom:48px;perspective:1400px}
.case-card-stack-item{grid-area:1/1;transform-origin:center top;transition:transform .72s cubic-bezier(.22,1,.36,1),opacity .6s ease,filter .6s ease;will-change:transform,opacity,filter;backface-visibility:hidden}
.case-card-stack-item[aria-hidden="true"]{pointer-events:none}
.case-card-stack-item .ryan-case-card{height:100%;margin:0}
/* minimal vertical arrow control at card top-right */
.case-card-stack-controls{position:absolute;top:24px;right:24px;z-index:50;display:flex;flex-direction:column;align-items:center;gap:11px}
.case-card-stack-arrow{width:22px;height:18px;display:grid;place-items:center;padding:0;border:0;background:transparent;cursor:pointer;transition:transform .2s,opacity .2s}
.case-card-stack-arrow svg{width:18px;height:18px;display:block}
.case-card-stack-arrow.is-up{color:#2f6bff}
.case-card-stack-arrow.is-down{color:#3a4b66}
.case-card-stack-arrow:hover{opacity:.6}
.case-card-stack-arrow:active{transform:scale(.82)}
.case-card-stack-dots{display:flex;flex-direction:column;align-items:center;gap:7px}
.case-card-stack-dot{position:relative;width:8px;height:8px;min-width:8px;min-height:8px;flex:0 0 8px;padding:0;border:0;border-radius:50%;background:#cbd5e6;overflow:hidden;cursor:pointer;transition:background .25s,transform .25s}
/* override global main button{min-height:43px} that stretches the dots/arrows */
.case-card-stack .case-card-stack-dots button.case-card-stack-dot{min-width:8px;min-height:8px;width:8px;height:8px}
.case-card-stack button.case-card-stack-arrow{min-width:22px;min-height:18px;width:22px;height:18px}
.case-card-stack-dot.is-active{background:#a9c0f5}
.case-card-stack-dot:hover{background:#7b97e6}
.case-card-stack-dot-fill{position:absolute;inset:0;width:0;background:#2f6bff;border-radius:50%}
@media(max-width:700px){
  .case-card-stack-stage{padding-bottom:34px}
  .case-card-stack-controls{top:16px;right:16px;gap:9px}
}
@media(prefers-reduced-motion:reduce){
  .case-card-stack-item{transition:none}
}
