/* Figma case detail: scoped to explicitly enabled cases. */
.case-page{background:#f1efe9;color:#0c1612}
.case-page h1,.case-page h2,.case-page h3,.case-page p,.case-page figure,.case-page dl,.case-page dd{margin:0}
.case-hero{display:grid;grid-template-columns:1fr 1fr}
.case-hero-copy{padding:30px 40px 67.5px;background:#0c1612;color:#f1efe9;min-height:0}
.case-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;color:#afaca3;line-height:1.5}
.case-breadcrumbs a:hover{color:#f0b817}
.case-hero-text{padding-top:86px}
.case-kicker{color:#f0b817;text-transform:uppercase;font-size:14px;font-weight:600;margin-bottom:50px!important}
.case-hero h1{font-size:clamp(38px,4.03vw,58px);line-height:1;letter-spacing:-.04em;font-weight:500;max-width:680px}
.case-tagline{margin-top:26px!important;color:#afaca3;font-size:16px;line-height:1.5}
.case-hero .button{margin-top:45px;min-width:245px}
.case-hero-media{position:relative;min-width:0;overflow:hidden;background:#29322e}
.case-hero-media>img,.case-hero-media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.case-page .case-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));width:min(1360px,calc(100% - 80px));margin:0 auto;border-bottom:1px solid #dfddd8}
.case-metrics>div{min-width:0;padding:24px;border-right:1px solid #dfddd8}
.case-metrics>div:last-child{border-right:0}
.case-metrics dt{font-size:14px;color:#68665e;margin-bottom:8px}
.case-metrics dd{font-size:34px;letter-spacing:-.06em;line-height:1.1}
.case-metrics p{font-size:13px;color:#68665e;margin-top:8px;line-height:1.4}
.case-section{padding:100px 40px}
.case-about{padding-top:140px}
.case-section-head{display:grid;grid-template-columns:213px minmax(0,1fr);gap:40px;margin-bottom:80px}
.case-section-head>.eyebrow{padding-top:12px}
.case-section-head h2{font-size:58px;letter-spacing:-.04em;line-height:1.05;font-weight:500}
.case-section-head>div>p{margin-top:24px;color:#68665e;line-height:1.5}
.case-intro{font-size:34px;line-height:1.3;letter-spacing:-.02em}
.case-comparison{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.case-compare{padding:32px 32px 0;border-radius:21px;background:#f5f5f5;display:flex;flex-direction:column;overflow:hidden}
.case-compare h2{display:flex;align-items:center;gap:22px;font-size:14px;color:#0d6e4a;margin-bottom:32px;font-weight:500}
.case-compare h2 span{display:grid;place-items:center;width:54px;height:54px;border-radius:10px;background:#0d6e4a19;font-size:24px}
.case-richtext{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.case-richtext p+p{margin-top:18px}.case-richtext ul,.case-richtext ol{padding-left:24px}
.case-richtext a{text-decoration:underline}
.case-compare .case-richtext{padding-bottom:32px}
.case-compare-after{background:#0c1612;color:#f1efe9}
.case-compare-after h2{color:#f0b817}.case-compare-after h2 span{background:#f0b81719}
.case-compare figure{position:relative;margin-top:auto;padding:0 9%}
.case-compare figure img{display:block;width:100%;height:260px;object-fit:cover;object-position:top;border:3px solid #dfddd8;border-bottom:0;border-radius:12px 12px 0 0}
.case-compare figcaption{position:absolute;left:0;bottom:32px;padding:6px 16px;border-radius:100px;background:#f0b817;color:#0c1612;font-size:12px}
.case-compare-after figcaption{background:#0d6e4a;color:#f1efe9}
.case-process{padding-top:100px;padding-bottom:140px}
.case-process ol{list-style:none;padding:0;margin:0}
.case-process li{position:relative;display:grid;grid-template-columns:213px minmax(0,1fr) minmax(0,440px);gap:40px;align-items:center;padding:58px 0;border-top:1px solid #d0cec8}
.case-process li:last-child{border-bottom:1px solid #d0cec8}
.case-step{background:#0d6e4a;color:#fff;border-radius:100px;width:80px;text-align:center;padding:8px 20px;font-size:13px}
.case-process h3{font-size:26px;font-weight:500;letter-spacing:-.04em;line-height:1.15}
.case-process li>p{font-size:16px;line-height:1.5;color:#68665e}
.case-phase-image{position:absolute;left:37%;top:50%;width:25%;z-index:2;pointer-events:none;transform:translateY(-50%) rotate(-5deg);opacity:0;transition:opacity .2s}
.case-phase-image img{width:100%;height:183px;object-fit:cover;border-radius:5px;box-shadow:0 30px 70px #6a63491a}
.case-process li:hover .case-phase-image,.case-process li:focus .case-phase-image{opacity:1}
.case-process li:focus-visible{outline:2px solid #0d6e4a;outline-offset:5px}
.case-gallery{background:#0c1612;padding:40px 0;overflow:hidden}
.case-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;width:110%;margin-left:-5%}
.case-gallery figure{min-width:0;border:1px solid #ffffff26;border-radius:8px;overflow:hidden;background:#29322e}
.case-gallery img{display:block;width:100%;aspect-ratio:420/267;object-fit:cover;object-position:top}
.case-gallery figcaption{padding:8px 16px;color:#f1efe9;font-size:12px}
.case-features{padding-block:140px}
.case-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d0cec8;border-left:1px solid #d0cec8}
.case-feature-grid article{padding:40px;min-height:280px;border-right:1px solid #d0cec8;border-bottom:1px solid #d0cec8}
.case-feature-grid article>span{display:block;color:#0d6e4a;margin-bottom:40px}
.case-feature-grid h3{font-size:24px;font-weight:500;margin-bottom:18px;letter-spacing:-.03em}
.case-feature-grid p{color:#68665e;font-size:16px;line-height:1.5}
.case-results{padding-top:0}.case-results .case-section-head{margin-bottom:0}
.case-testimonial{background:#0c1612;color:#f1efe9;display:grid;grid-template-columns:2fr 1fr;gap:60px}
.case-testimonial blockquote{font-size:32px;line-height:1.4;margin:0}.case-testimonial p{align-self:end;line-height:1.6}
.case-related{padding-block:140px}
.case-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.case-related-grid>a{position:relative;overflow:hidden;border-radius:20px;background:#29322e;min-height:360px;color:#fff}
.case-related-grid img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.case-related-grid>a:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#0c1612e6)}
.case-related-grid>a>div{position:absolute;left:25px;right:25px;bottom:25px;display:flex;gap:20px;justify-content:space-between;align-items:end;z-index:1}
.case-related-grid h3{font-size:24px;line-height:1.2;font-weight:500}
.case-related-grid span{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f0b817;color:#0c1612}
.case-page a:focus-visible,.case-page video:focus-visible{outline:3px solid #0d6e4a;outline-offset:5px}
@media(min-width:1441px){.case-section{padding-inline:calc((100% - 1360px)/2)}.case-hero-copy{padding-left:calc((100vw - 1360px)/2)}}
@media(max-width:1100px){.case-page .case-metrics{width:calc(100% - 56px)}.case-hero-copy{padding:28px 28px 21px;min-height:0}.case-hero-text{padding-top:55px}.case-kicker{margin-bottom:30px!important}.case-section{padding:80px 28px}.case-section-head{grid-template-columns:160px 1fr;gap:24px}.case-section-head h2{font-size:46px}.case-intro{font-size:28px}.case-process li{grid-template-columns:100px 1fr 1fr;gap:24px}.case-comparison{gap:24px}.case-feature-grid article{padding:28px}.case-related-grid h3{font-size:20px}}
@media(max-width:760px){.case-hero{grid-template-columns:1fr}.case-hero-copy{min-height:0;padding:24px 20px 37.5px}.case-breadcrumbs{font-size:11px}.case-hero-text{padding-top:50px}.case-hero h1{font-size:40px}.case-tagline{font-size:14px}.case-hero-media{aspect-ratio:1;max-height:650px}.case-kicker{font-size:12px}.case-page .case-metrics{width:calc(100% - 40px);grid-template-columns:repeat(2,minmax(0,1fr))}.case-metrics>div{padding:18px 16px;border-bottom:1px solid #dfddd8}.case-metrics>div:nth-child(2n){border-right:0}.case-metrics dt{font-size:12px}.case-metrics dd{font-size:28px}.case-section{padding:65px 20px}.case-section-head{grid-template-columns:1fr;gap:24px;margin-bottom:40px}.case-section-head h2{font-size:36px}.case-intro{font-size:25px}.case-comparison{grid-template-columns:1fr;gap:20px}.case-compare{padding:24px 24px 0}.case-compare figure img{height:220px}.case-process li{grid-template-columns:60px 1fr;gap:20px;padding:30px 0}.case-step{width:55px;padding:7px 10px}.case-process h3{font-size:23px}.case-process li>p{grid-column:2;font-size:14px}.case-phase-image{position:static;opacity:1;transform:none;width:100%;grid-column:2}.case-phase-image img{height:auto;max-height:240px}.case-gallery-grid{width:100%;margin:0;grid-template-columns:repeat(2,minmax(0,1fr))}.case-gallery{padding:20px}.case-gallery figcaption{font-size:10px;padding:8px}.case-feature-grid{grid-template-columns:1fr}.case-feature-grid article{min-height:0;padding:28px}.case-feature-grid article>span{margin-bottom:25px}.case-related-grid{grid-template-columns:1fr}.case-related-grid>a{min-height:400px}.case-testimonial{grid-template-columns:1fr;gap:30px}.case-testimonial blockquote{font-size:25px}.case-results{padding-top:0}}
@media(prefers-reduced-motion:reduce){.case-phase-image{transition:none}}

/* Reserve the Figma image slot so previews cannot cover phase titles. */
@media(min-width:761px){
 .case-process li{grid-template-columns:173px minmax(0,250px) minmax(0,1fr) minmax(0,400px);gap:40px}
 .case-process h3{grid-column:2;overflow-wrap:anywhere}
 .case-process li>p{grid-column:4}
 .case-phase-image{position:relative;left:auto;top:auto;grid-column:3;grid-row:1;width:100%;transform:rotate(-5deg)}
 .case-phase-image img{height:auto;aspect-ratio:343/183}
}
@media(min-width:761px) and (max-width:1100px){
 .case-process li{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:24px}
 .case-step{width:65px}
 .case-process h3{font-size:23px}
}
