.cb-case-study,
.cb-case-feature { color: var(--cb-ink); background: var(--cb-white); font-family: Manrope, Arial, sans-serif; }
.cb-case-study *, .cb-case-study *::before, .cb-case-study *::after,
.cb-case-feature *, .cb-case-feature *::before, .cb-case-feature *::after { box-sizing: border-box; }
.cb-case-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.cb-case-study h1, .cb-case-study h2, .cb-case-study h3, .cb-case-study p,
.cb-case-feature h2, .cb-case-feature p { margin-top: 0; }
.cb-case-study h1 { max-width: 820px; margin-bottom: 0; color: #fff; font-size: clamp(42px, 5.8vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.cb-case-study h2, .cb-case-feature h2 { margin-bottom: 18px; color: var(--cb-navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.cb-case-study h3 { color: var(--cb-navy); font-size: 22px; line-height: 1.2; }
.cb-case-study p, .cb-case-study li, .cb-case-feature p { font-size: 17px; line-height: 1.72; }
.cb-case-eyebrow { margin-bottom: 18px !important; color: #a84300; font-size: 13px !important; font-weight: 800; line-height: 1.3 !important; letter-spacing: .13em; text-transform: uppercase; }

.cb-case-feature { padding: 86px 0; border-top: 1px solid var(--cb-line); background: #fff8ef; }
.cb-case-feature__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 64px; align-items: center; }
.cb-case-feature__copy > p:not(.cb-case-eyebrow) { max-width: 560px; margin-bottom: 28px; color: #566071; }
.cb-case-feature__logo { width: auto; height: 42px; margin: 0 0 26px; object-fit: contain; object-position: left center; }
.cb-case-feature__preview { display: block; overflow: hidden; border: 8px solid #fff; border-radius: 18px; box-shadow: 0 22px 60px rgb(23 32 51 / 16%); }
.cb-case-feature__preview img { display: block; width: 100%; height: auto; transition: transform .25s ease; }
.cb-case-feature__preview:hover img { transform: scale(1.015); }
.cb-case-feature .cb-button,
.cb-case-study .cb-button:not(.cb-button--light) { border-color: #a84300; background: #a84300; }

.cb-case-hero { padding: 96px 0 90px; background: var(--cb-navy); }
.cb-case-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 72px; align-items: center; }
.cb-case-hero__lede { max-width: 760px; margin: 24px 0 30px !important; color: #dfe5ee; font-size: clamp(19px, 2vw, 23px) !important; }
.cb-case-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cb-case-external { display: inline-flex; min-height: 48px; align-items: center; color: #fff !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 4px; }
.cb-case-summary { padding: 30px; border: 1px solid rgb(255 255 255 / 24%); border-radius: 14px; background: rgb(255 255 255 / 8%); color: #e7ebf1; }
.cb-case-summary > img { display: block; width: auto; max-width: 100%; height: 48px; margin-bottom: 26px; padding: 8px 12px; border-radius: 7px; background: #fff; object-fit: contain; }
.cb-case-summary dl, .cb-case-summary dd { margin: 0; }
.cb-case-summary dl { display: grid; gap: 16px; }
.cb-case-summary dl div { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 18%); }
.cb-case-summary dt { margin-bottom: 4px; color: #ff9a4c; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cb-case-summary dd { color: #fff; font-size: 15px; line-height: 1.5; }
.cb-case-hero .cb-case-eyebrow,
.cb-case-section--dark .cb-case-eyebrow { color: #ff9a4c; }

.cb-case-preview, .cb-case-section { padding: 88px 0; }
.cb-case-preview { background: #fff; }
.cb-case-section--tint { background: var(--cb-tint); }
.cb-case-section--dark { background: var(--cb-navy); color: #dfe5ee; }
.cb-case-section--dark h2 { color: #fff; }
.cb-case-section-heading { max-width: 780px; margin-bottom: 42px; }
.cb-browser-frame { display: block; overflow: hidden; border: 1px solid #ccd2dc; border-radius: 16px; background: #fff; box-shadow: 0 22px 64px rgb(23 32 51 / 12%); text-decoration: none; }
.cb-browser-frame__bar { display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #dfe3e9; background: #f6f7f9; }
.cb-browser-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd0d8; }
.cb-browser-frame__bar b { overflow: hidden; margin-left: 8px; color: #596579; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.cb-browser-frame img { display: block; width: 100%; height: auto; }
.cb-case-two-column { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 76px; align-items: start; }
.cb-case-two-column > p { margin: 0; color: #566071; }
.cb-case-approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cb-case-approach-grid article { padding: 32px; border: 1px solid var(--cb-line); border-radius: 14px; background: #fff; }
.cb-case-approach-grid article > span { display: block; margin-bottom: 28px; color: #a84300; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.cb-case-approach-grid article p { margin-bottom: 0; color: #5d6675; font-size: 15px; }
.cb-case-deliverables { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cb-case-deliverables li { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid rgb(255 255 255 / 18%); }
.cb-case-deliverables li:last-child { border-bottom: 1px solid rgb(255 255 255 / 18%); }
.cb-case-deliverables li::before { position: absolute; left: 0; color: #ff9a4c; content: '✓'; font-weight: 900; }
.cb-case-outcome { max-width: 860px; }
.cb-case-outcome > p:last-child { margin-bottom: 0; color: #566071; }
.cb-case-cta { padding: 68px 0; }

.cb-case-study a:focus-visible, .cb-case-feature a:focus-visible { outline: 3px solid #a84300; outline-offset: 4px; }
.cb-case-hero a:focus-visible, .cb-case-section--dark a:focus-visible { outline-color: #ff9a4c; }
.cb-case-study .cb-text-link:hover { color: #a84300 !important; }

@media (max-width: 900px) {
  .cb-case-feature__grid, .cb-case-hero__grid, .cb-case-two-column { grid-template-columns: 1fr; gap: 38px; }
  .cb-case-feature__grid { gap: 44px; }
}

@media (max-width: 620px) {
  .cb-case-container { width: min(100% - 30px, 1120px); }
  .cb-case-feature, .cb-case-preview, .cb-case-section { padding: 64px 0; }
  .cb-case-hero { padding: 64px 0; }
  .cb-case-study h1 { font-size: clamp(38px, 12vw, 52px); }
  .cb-case-approach-grid { grid-template-columns: 1fr; }
  .cb-case-approach-grid article { padding: 26px; }
  .cb-case-actions { align-items: stretch; flex-direction: column; }
  .cb-case-actions > * { width: 100%; justify-content: center; }
  .cb-case-feature .cb-button { width: 100%; text-align: center; }
  .cb-case-feature__preview { border-width: 5px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-case-study *, .cb-case-study *::before, .cb-case-study *::after,
  .cb-case-feature *, .cb-case-feature *::before, .cb-case-feature *::after { transition: none !important; }
}
