/* DesignProof's case-study additions; shared type, spacing and themes come from site.css. */
.dp-case .actions { flex-wrap: wrap; }
.dp-top .case-hero h1 { max-width: 12em; }
.dp-top .case-hero .lede { max-width: min(42em, calc(100% - 220px)); }
.dp-top .case-hero .actions { max-width: 100%; }
.dp-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 70px); }
.dp-window { min-width: 0; border-radius: 20px; overflow: hidden; background: #f0f1eb; color: #181a18; box-shadow: 0 24px 48px -32px rgba(28,20,51,.55); rotate: -1deg; }
.dp-window-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 18px; background: #23185a; color: #fff; font-size: .75rem; line-height: 1.4; letter-spacing: .06em; }
.dp-window-bar span:last-child { color: #d3f23a; }
.dp-window a { display: block; }
.dp-window img { width: 100%; height: auto; display: block; }
.dp-showcase-side { min-width: 0; padding: 16px 0; }
.dp-eyebrow { font-size: .875rem; line-height: 1.4; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dp-showcase h2 { margin-top: 20px; font: 700 clamp(2rem, 3.8vw, 3.5rem)/1.03 var(--display); letter-spacing: -.045em; }
.dp-mini-flow { padding: 0; margin: 32px 0 0; list-style: none; }
.dp-mini-flow li { padding: 18px 0; border-top: 1px solid rgba(28,20,51,.25); font-size: 1rem; line-height: 1.5; }
.dp-mini-flow span { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.375rem; font-weight: 700; }
.dp-capture-note { margin-top: 24px; font-size: .875rem; line-height: 1.55; max-width: 38ch; }
.dp-role-facts { margin-top: 32px; }
.dp-journey { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 32px 0; padding: 0; list-style: none; }
.dp-journey li { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--rule); }
.dp-journey li:nth-child(1),.dp-journey li:nth-child(6) { background: var(--lime); color: var(--on-color); border-color: transparent; }
.dp-journey b { display: block; margin-bottom: 10px; font-size: 1.125rem; line-height: 1.15; font-family: var(--display); }
.dp-journey span { display: block; font-size: .875rem; line-height: 1.5; }
.dp-equation { margin-top: 32px; padding: clamp(20px, 3vw, 32px); background: var(--violet); color: var(--on-violet); border-radius: 24px; }
.dp-equation > div { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; margin-top: 24px; align-items: center; }
.dp-equation > div > p { min-width: 0; }
.dp-equation b { display: block; font: 700 clamp(1.375rem, 2.35vw, 2rem)/1.05 var(--display); letter-spacing: -.04em; }
.dp-equation p span { display: block; margin-top: 9px; font-size: .875rem; line-height: 1.4; }
.dp-equation-net b { color: var(--lime); }
.dp-equation .dp-small { margin-top: 26px; font-size: .875rem; line-height: 1.5; opacity: .85; }
.dp-shot { max-width: 680px; }
.dp-shot a { background: #f0f1eb; }
.dp-shot img { display: block; width: 100%; height: auto; }
.dp-after { margin-top: 30px; }
.dp-case .case-end .hire { background: var(--pink); color: var(--on-color); }
@media (max-width: 960px) {
 .dp-top .case-hero .lede { max-width: 100%; }
 .dp-journey { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .dp-shot { max-width: 760px; }
}
@media (max-width: 760px) {
 .dp-top .case-hero h1 { max-width: 100%; }
 .dp-showcase { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .dp-showcase-side { padding: 4px 0 0; }
 .dp-showcase h2 { font-size: 2.125rem; }
 .dp-mini-flow { margin-top: 20px; }
 .dp-mini-flow li { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 10px; align-items: baseline; padding: 14px 0; }
 .dp-mini-flow span { font-size: 1.125rem; margin: 0; }
 .dp-capture-note { max-width: 100%; }
 .dp-journey { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .dp-journey li { padding: 18px; }
 .dp-window-bar { padding: 12px; font-size: .6875rem; }
}
@media (max-width: 480px) {
 .dp-equation > div { grid-template-columns: 1fr; gap: 16px; }
 .dp-equation > div > span { display: none; }
 .dp-equation > div > p { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
 .dp-equation p span { max-width: 14ch; text-align: right; margin-top: 0; }
 .dp-equation-net { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); }
}
/* The hero keeps dark text on its fixed lime background in either theme. */
.dp-top .btn-ghost { color: var(--on-color); border-color: color-mix(in srgb, var(--on-color) 55%, transparent); }
.dp-top .btn-ghost:hover { background: var(--on-color); color: var(--lime); }
@media (max-width: 760px) {
 .dp-case > .thread { translate: -10px 0; }
}
