/* Client pages reuse the site's typeface, charcoal canvas and orange accents. */
.case-page {
    padding: 112px 0 80px;
    background: #161b24;
    color: #fff;
}

.case-page a:focus-visible {
    outline: 2px solid #f9b740;
    outline-offset: 6px;
}

.case-page__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #a4acb8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 42px;
}

.case-page__breadcrumbs a:hover { color: #f9b740; }
.case-page__breadcrumbs [aria-current] { color: #e4e6eb; }

.case-page__heading { margin-bottom: 36px; }
.case-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5a044;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.case-page__eyebrow > span {
    width: 22px;
    height: 2px;
    background: #f5a044;
}

.case-page__heading h1 {
    max-width: 960px;
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 600;
    letter-spacing: -1.4px;
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: anywhere;
    margin-bottom: 16px;
}

.case-page__subtitle { color: #b3bbc7; font-size: 17px; line-height: 1.6; }
.case-page__story { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; align-items: start; }
.case-page__profile { min-width: 0; }
.case-page__portrait {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f3f3f1;
    border-radius: 10px;
}

.case-page__portrait img { display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; }
.case-page__portrait .case-page__placeholder { width: 48%; height: auto; margin: 50px 0; }
.case-page__download {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e88b3a;
    border-radius: 4px;
    color: #f5a044;
    padding: 14px 20px;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.case-page__download:hover { background: #ef7a2e; border-color: #ef7a2e; color: #161b24; }
.case-page__quote {
    min-width: 0;
    padding: 34px 42px 38px;
    border-radius: 10px;
    background: #fff;
    color: #262d38;
}

.case-page__quote-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 23px; }
.case-page__quote-mark { height: 42px; color: #ef7a2e; font-family: Georgia, serif; font-size: 88px; line-height: 1; }
.case-page__quote-heading h2 { color: #727883; font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.6px; }
.case-page__content { font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.case-page__content > * + * { margin-top: 20px; }
.case-page__content > p:first-child { color: #161b24; font-size: 23px; font-weight: 500; line-height: 1.5; letter-spacing: -.25px; }
.case-page__content p:empty { display: none; }
.case-page__content h2 { font-size: 27px; font-weight: 600; line-height: 1.35; }
.case-page__content h3 { font-size: 22px; font-weight: 600; line-height: 1.4; }
.case-page__content a { color: #a8490b; text-decoration: underline; text-underline-offset: 3px; }
.case-page__content :is(ul, ol) { padding-left: 24px; }
.case-page__content ul li { list-style: disc; }
.case-page__content ol li { list-style: decimal; }
.case-page__content li + li { margin-top: 8px; }
.case-page__content blockquote { padding-left: 20px; border-left: 3px solid #ef7a2e; }
.case-page__content img,
.case-page__content video { max-width: 100%; height: auto; }
.case-page__content iframe { max-width: 100%; }
.case-page__content .wp-block-table { overflow-x: auto; }
.case-page__content table { border-collapse: collapse; width: 100%; }
.case-page__content :is(td, th) { padding: 8px; border: 1px solid #d8dbe0; text-align: left; }
.case-page__content .post-password-form input { border: 1px solid #acb2bc; padding: 10px; max-width: 100%; }
.case-page__signature { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; margin-top: 28px; }
.case-page__signature > span { width: 25px; height: 2px; flex-shrink: 0; background: #ef7a2e; }
.case-page__related { border-top: 1px solid #323844; margin-top: 50px; padding-top: 42px; }
.case-page__section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 25px; }
.case-page__section-heading h2 { font-size: 30px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; }
.case-page__section-heading h2 span { color: #f5a044; }
.case-page__section-heading > a { color: #b3bbc7; font-size: 14px; line-height: 1.5; }
.case-page__section-heading > a:hover { color: #f5a044; }
.case-page__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-page__card { display: flex; flex-direction: column; padding: 25px; background: #1e2530; border: 1px solid #333b48; border-radius: 8px; transition: border-color .2s ease; }
.case-page__card:hover { border-color: #ef7a2e; }
.case-page__card-person { display: flex; align-items: center; gap: 14px; }
.case-page__card-person img { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; }
.case-page__card-person h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.case-page__card-person p { color: #a4acb8; font-size: 13px; line-height: 1.5; margin-top: 4px; }
.case-page__card-excerpt { font-size: 15px; line-height: 1.65; color: #c3c9d2; margin: 22px 0 26px; }
.case-page__card-link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; color: #f5a044; font-size: 14px; font-weight: 500; line-height: 1.5; }
.case-page__cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 64px; padding: 36px 40px; border: 1px solid #5a4434; border-radius: 8px; background: #242323; }
.case-page__cta .case-page__eyebrow { font-size: 11px; margin-bottom: 10px; }
.case-page__cta h2 { font-size: 29px; font-weight: 600; line-height: 1.25; letter-spacing: -.5px; }
.case-page__cta h2 + p { font-size: 15px; line-height: 1.6; color: #b3bbc7; margin-top: 10px; }
.case-page__cta > a { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 28px; padding: 17px 24px; border-radius: 4px; background: linear-gradient(120deg, #ef7a2e, #f9b740); color: #161b24; font-size: 15px; font-weight: 600; line-height: 1.5; }
.case-page__cta > a:hover { background: #f9b740; }

@media (min-width: 601px) {
    .case-page__portrait { width: 220px; height: 220px; }
    .case-page__portrait img { height: 220px; object-fit: cover; object-position: center 25%; }
    .case-page__portrait .case-page__placeholder { height: auto; margin: 0; object-fit: contain; }
}

@media (max-width: 1100px) {
    .case-page__story { gap: 30px; }
    .case-page__quote { padding: 30px; }
    .case-page__card { padding: 20px; }
}

@media (max-width: 900px) {
    .case-page__story { gap: 24px; }
    .case-page__content { font-size: 17px; }
    .case-page__content > p:first-child { font-size: 21px; }
    .case-page__cards { grid-template-columns: 1fr; }
    .case-page__card-excerpt { margin: 16px 0; }
    .case-page__cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
    .case-page { padding: 90px 0 48px; }
    .case-page__breadcrumbs { margin-bottom: 30px; gap: 7px; font-size: 12px; }
    .case-page__heading { margin-bottom: 28px; }
    .case-page__heading h1 { letter-spacing: -.7px; }
    .case-page__subtitle { font-size: 15px; }
    .case-page__story { grid-template-columns: 1fr; gap: 25px; }
    .case-page__portrait { width: 180px; max-width: 100%; }
    .case-page__download { margin-top: 20px; }
    .case-page__quote { padding: 25px 23px; }
    .case-page__quote-heading { margin-bottom: 20px; }
    .case-page__related { margin-top: 30px; padding-top: 30px; }
    .case-page__section-heading { flex-direction: column; gap: 12px; }
    .case-page__section-heading h2 { font-size: 27px; }
    .case-page__cta { padding: 26px 23px; margin-top: 38px; gap: 24px; }
    .case-page__cta h2 { font-size: 26px; }
    .case-page__cta > a { width: 100%; }
}
