/* Case-study library and readable editorial pages. */
.case-topic-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; min-height: 280px; padding: 36px; color: #f5f5f7; background: radial-gradient(ellipse at 85% 10%, #4b1319, transparent 65%), #101014; }
.case-topic-number { position: absolute; top: -24px; right: 26px; color: #ffffff09; font-size: 210px; line-height: 1; letter-spacing: -.09em; font-weight: 700; }
.case-topic-art > p { position: relative; margin: 0 0 25px; color: #ff9b93; font-size: .75rem; letter-spacing: .04em; }
.case-topic-art ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: topic; }
.case-topic-art li { border-top: 1px solid #ffffff45; padding-top: 18px; font-size: .92rem; line-height: 1.55; counter-increment: topic; }
.case-topic-art li::before { content: counter(topic, decimal-leading-zero); display: block; color: #ff8c83; font-size: .67rem; margin-bottom: 10px; }
.case-cover > .case-topic-art { min-height: 320px; border-radius: 14px; }
.case-library-grid .case-feature { display: flex; flex-direction: column; }
.case-library-grid .case-feature-image { height: 280px; }
.case-library-grid .case-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.case-library-grid .case-feature-copy { display: flex; flex-direction: column; flex: 1; }
.case-library-grid .case-read { margin-top: auto; }
@media (max-width: 600px) {
  .case-topic-art { padding: 24px; min-height: 250px; }
  .case-topic-art ol { gap: 12px; }
  .case-topic-art li { font-size: .83rem; }
  .case-topic-art > p { max-width: 230px; }
  .case-library-grid .case-feature-image { height: 250px; }
  .case-cover > .case-topic-art { min-height: 280px; }
}
.case-preview { background: #fff; border-top: 1px solid #e7e7eb; }
.case-preview-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.case-preview-heading h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1.1; }
.case-preview-heading > p:not(.eyebrow) { max-width: 430px; margin-block: 24px; color: #656570; line-height: 1.8; }
.case-preview-heading .case-preview-note { font-size: .85rem; }
.case-feature { display: block; min-width: 0; overflow: hidden; border: 1px solid #e2e2e7; border-radius: 14px; background: #fff; transition: box-shadow 250ms ease, border-color 250ms ease, transform 250ms ease; }
.case-feature:hover { border-color: #dcb6b3; box-shadow: 0 20px 50px #0000000a; transform: translateY(-3px); }
.case-feature-image { position: relative; overflow: hidden; background: #101014; }
.case-feature-image img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; transition: transform 600ms ease; }
.case-feature:hover img { transform: scale(1.025); }
.case-badge { display: inline-flex; align-items: center; width: fit-content; min-height: 30px; padding: 6px 11px; border: 1px solid #ffffff35; border-radius: 5px; color: #f4e2df; background: #27151a; font-size: .66rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; }
.case-feature-image .case-badge { position: absolute; top: 20px; left: 20px; }
.case-feature-copy { padding: 30px; }
.case-feature-copy h3 { font-size: clamp(1.65rem, 2.3vw, 2.2rem); line-height: 1.1; }
.case-feature-copy > p:not(.card-kicker) { color: #64646f; font-size: .94rem; line-height: 1.75; margin: 15px 0 23px; max-width: 500px; }
.case-read { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-top: 1px solid #ededf0; padding-top: 16px; color: #b30000; font-size: .84rem; font-weight: 650; }
.case-read > span { font-size: 1.2rem; transition: transform 250ms ease; }
.case-feature:hover .case-read > span { transform: translate(3px, -3px); }
.case-page { background: #fafafa; }
.case-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 54px; color: #adadb8; font-size: .75rem; }
.case-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: #eeeef1; }
.case-breadcrumbs a:hover { color: #ff9289; }
.case-library-hero, .case-detail-hero { padding-block: 30px 84px; color: #fff; background: radial-gradient(ellipse at 85% 100%, #351015, #0b0b0e 68%); }
.case-page .eyebrow { color: #b30000; }
.case-library-hero .eyebrow, .case-detail-hero .eyebrow, .case-project-cta .eyebrow { color: #ff8c83; }
.case-library-hero h1, .case-detail-hero h1 { color: #fff; font-size: clamp(3rem, 5.7vw, 5.7rem); font-weight: 550; line-height: 1.06; max-width: 960px; }
.case-library-intro { color: #b9b9c4; max-width: 650px; font-size: 1.05rem; line-height: 1.85; margin: 30px 0 0; }
.case-library-hero { padding-bottom: 56px; }
.case-library-hero .case-breadcrumbs { margin-bottom: 28px; }
.case-library-hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.25rem); }
.case-library-content { padding-block: 48px 96px; }
.case-library-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #dedee4; }
.case-library-bar h2 { font-size: 1.7rem; }
.case-library-bar > span { color: #74747f; font-size: .82rem; }
.library-status-note { color: #686872; font-size: .9rem; line-height: 1.7; margin-block: 20px 36px; max-width: 740px; }
.case-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case-project-cta { text-align: center; padding-block: 90px; background: radial-gradient(ellipse at 50% 130%, #461116, #09090c 65%); }
.case-project-cta h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.12; }
.case-project-cta p:not(.eyebrow) { color: #b9b9c4; max-width: 570px; margin: 24px auto 30px; line-height: 1.8; }
.case-page-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 38px; }
.case-page-footer p { color: #9b9ba7; margin: 0; font-size: .75rem; }
.case-page-footer > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; color: #c3c3cf; }
.case-detail-hero h1 span { color: #ff675d; }
.case-detail-subtitle { max-width: 560px; color: #c1c1cd; font-size: 1.16rem; line-height: 1.7; margin: 28px 0; }
.case-draft-notice { max-width: 750px; margin-block: 32px; padding-left: 18px; border-left: 2px solid #c5332a; }
.case-draft-notice p { color: #aaaab6; font-size: .85rem; line-height: 1.7; margin: 12px 0 0; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; max-width: 950px; border-top: 1px solid #ffffff24; padding-top: 27px; margin: 44px 0 0; }
.case-facts dt { color: #94949f; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.case-facts dd { margin: 0; color: #e5e5ed; font-size: .9rem; }
.case-cover { margin-block: 56px 0; }
.case-cover img { width: 100%; max-height: 590px; height: auto; object-fit: cover; border-radius: 14px; background: #101014; }
.case-cover figcaption { color: #73737f; font-size: .77rem; line-height: 1.6; margin-top: 14px; }
.case-reading-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(40px, 7vw, 100px); padding-block: 70px 100px; justify-content: space-between; align-items: start; }
.case-contents { position: sticky; top: calc(var(--header-height) + 36px); display: grid; align-content: start; gap: 3px; }
.case-contents > p { color: #95959f; text-transform: uppercase; font-size: .65rem; letter-spacing: .14em; margin-bottom: 12px; }
.case-contents a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: #52525f; font-size: .85rem; border-bottom: 1px solid #e9e9ec; line-height: 1.5; }
.case-contents a:hover { color: #b30000; }
.case-prose { min-width: 0; }
.case-prose > section + section { margin-top: 60px; border-top: 1px solid #e0e0e6; padding-top: 56px; }
.case-prose h2 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.13; margin-bottom: 25px; }
.case-prose h3 { font-size: 1.22rem; letter-spacing: -.035em; line-height: 1.35; margin-top: 26px; }
.case-prose p, .case-prose li, .case-measures dd { color: #555560; font-size: 1rem; line-height: 1.85; }
.case-prose p { margin-bottom: 20px; }
.case-prose > section > .eyebrow { font-size: .67rem; line-height: 1.4; margin-bottom: 18px; }
.case-prose ul { padding-left: 20px; margin-bottom: 24px; }
.case-prose ul li { padding-left: 5px; margin-bottom: 10px; }
.case-prose li::marker { color: #c72016; }
.case-prose strong { color: #272730; font-weight: 650; }
.case-callout { padding: 26px 30px; margin: 28px 0; background: #f3f0f1; border-left: 2px solid #cf2920; }
.case-callout h3 { margin-top: 0; }
.case-callout p { margin: 12px 0 0; font-size: .94rem; }
.case-delivery-steps { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: delivery; }
.case-delivery-steps li { position: relative; counter-increment: delivery; padding: 0 0 28px 58px; }
.case-delivery-steps li::before { content: counter(delivery, decimal-leading-zero); display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 36px; height: 36px; border: 1px solid #eac9c6; border-radius: 50%; color: #b30000; background: #fff3f2; font: .7rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.case-delivery-steps li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 42px; bottom: 8px; width: 1px; background: #ead5d3; }
.case-delivery-steps h3 { margin-top: 0; }
.case-delivery-steps p { margin: 10px 0 0; }
.case-measures { margin: 28px 0; }
.case-measures > div { border-top: 1px solid #e1e1e7; padding-block: 20px; }
.case-measures dt { font-weight: 650; color: #25252d; }
.case-measures dd { margin: 6px 0 0; font-size: .94rem; }
.case-prose .case-evidence-note { padding: 24px; background: #f0f0f3; font-size: .9rem; border-radius: 8px; }
.case-evidence-note strong { display: block; margin-bottom: 6px; }
.case-result-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 30px 0; border: 1px solid #323239; border-radius: 12px; overflow: hidden; background: #323239; }
.case-result-highlights > div { padding: 24px 20px; background: #111114; }
.case-result-highlights span { display: block; color: #bdbdc7; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.case-result-highlights strong { display: block; margin-top: 16px; color: #ff8178; font-size: clamp(2.2rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.case-result-highlights p { margin: 14px 0 0; color: #dddde5; font-size: .84rem; line-height: 1.65; }
.case-results-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 28px; border: 1px solid #dddde4; border-radius: 10px; }
.case-results-table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: .84rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.case-results-table caption { padding: 16px 18px; color: #64646f; text-align: left; font-size: .78rem; background: #f1f1f4; }
.case-results-table th, .case-results-table td { padding: 16px; border-top: 1px solid #e0e0e6; vertical-align: top; }
.case-results-table thead th { color: #fff; background: #16161b; font-weight: 600; }
.case-results-table tbody th { width: 35%; color: #30303a; font-weight: 600; }
.case-results-table td { color: #575762; }
.case-results-table td:last-child { color: #a52017; font-weight: 600; }
.case-results-table tbody tr:nth-child(even) { background: #f3f3f6; }
.case-back-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; color: #bcbcc7; font-size: .86rem; }
.case-back-link:hover { color: #fff; }
@media (max-width: 1120px) { .case-preview-layout { gap: 40px; } .case-reading-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 44px; } }
@media (max-width: 900px) {
  .case-preview-layout { grid-template-columns: 1fr; gap: 36px; }
  .case-preview-heading > p:not(.eyebrow) { max-width: 620px; }
  .case-reading-layout { grid-template-columns: 1fr; gap: 40px; }
  .case-contents { position: static; border-bottom: 1px solid #dedee4; padding-bottom: 25px; }
  .case-contents a { border-bottom: 0; }
  .case-library-grid { grid-template-columns: 1fr; }
  .case-page-footer { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .case-preview-heading h2 { font-size: 2.5rem; }
  .case-feature-copy { padding: 24px; }
  .case-feature-image .case-badge { top: 12px; left: 12px; font-size: .61rem; }
  .case-library-hero, .case-detail-hero { padding-block: 15px 48px; }
  .case-breadcrumbs { margin-bottom: 30px; gap: 8px; font-size: .7rem; }
  .case-library-hero h1, .case-detail-hero h1 { font-size: 3.1rem; }
  .case-library-intro, .case-detail-subtitle { font-size: 1rem; }
  .case-library-content { padding-block: 48px 64px; }
  .case-library-bar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .case-facts { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }
  .case-facts dt { margin-bottom: 5px; }
  .case-cover { margin-top: 28px; }
  .case-reading-layout { padding-block: 40px 65px; }
  .case-prose h2 { font-size: 2.25rem; }
  .case-prose > section + section { margin-top: 42px; padding-top: 40px; }
  .case-callout { padding: 22px; }
  .case-result-highlights { grid-template-columns: 1fr; }
  .case-result-highlights > div { padding: 22px; }
  .case-result-highlights strong { margin-top: 10px; }
  .case-result-highlights p { margin-top: 8px; }
  .case-delivery-steps li { padding-left: 48px; }
  .case-project-cta { padding-block: 68px; }
  .case-page-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media print { .case-contents, .case-project-cta, .case-page-footer { display: none; } .case-library-hero, .case-detail-hero { background: #fff; color: #111; } .case-library-hero h1, .case-detail-hero h1 { color: #111; } .case-reading-layout { display: block; } }
