/* Case studies inherit Vertex's existing Modern Heritage design system. */
.heritage-case-study .case-article{max-width:1180px;margin:0 auto;padding:clamp(32px,4.7vw,64px) 32px 80px;min-width:0}
.heritage-case-study .case-kicker{color:#a34d26;margin:0 0 13px;letter-spacing:.07em}
.heritage-case-study .case-article h1{max-width:820px;font-size:clamp(2.3rem,4.1vw,3.65rem);line-height:1.1;letter-spacing:-.032em;margin:0 0 14px;text-wrap:balance}
.heritage-case-study .case-lead{max-width:730px;font-size:clamp(1.02rem,1.55vw,1.17rem);line-height:1.6;color:var(--muted);margin:0 0 28px}
.heritage-case-study .case-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;min-width:0;margin:28px 0 32px;padding:0;background:var(--green);color:#fff;border:1px solid var(--green)}
.heritage-case-study .case-fact{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:15px clamp(10px,1.6vw,22px);border-right:1px solid rgba(255,255,255,.22)}
.heritage-case-study .case-fact:first-child{padding-left:clamp(16px,2vw,24px)}
.heritage-case-study .case-fact:last-child{border-right:0}
.heritage-case-study .case-fact dt{font-size:.72rem;line-height:1.4;letter-spacing:.1em;font-weight:700;text-transform:uppercase;color:rgba(255,255,255,.76);overflow-wrap:anywhere}
.heritage-case-study .case-fact dd{margin:0;font-weight:650;font-size:clamp(.92rem,1.2vw,1.05rem);line-height:1.4;color:#fff;white-space:normal;overflow-wrap:anywhere}
.heritage-case-study .case-feature-visual{margin:0 0 clamp(30px,4vw,48px)}
.heritage-case-study .case-feature-visual .case-photo{width:100%;margin:0}
.heritage-case-study .case-feature-visual .case-photo a{display:block;width:100%;overflow:hidden;border:1px solid var(--line)}
.heritage-case-study .case-feature-visual img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:680px;object-fit:cover}
.heritage-case-study .case-article h2{font-size:clamp(1.55rem,2.65vw,2.35rem);margin:0 0 17px;line-height:1.17}
.heritage-case-study .case-scope{max-width:860px;font-size:1.03rem;line-height:1.7;color:var(--muted);margin:0}
.heritage-case-study .case-details{margin:0 0 48px}
.heritage-case-study .case-gallery{margin-top:38px}
.heritage-case-study .case-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:20px}
.heritage-case-study .case-photo{min-width:0;margin:0;background:transparent}
.heritage-case-study .case-photos .case-photo a{display:block;overflow:hidden;border:1px solid var(--line)}
.heritage-case-study .case-photos .case-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .3s ease}
@media(hover:hover){.heritage-case-study .case-photos .case-photo a:hover img{transform:scale(1.015)}}
.heritage-case-study .case-photo figcaption{padding:10px 2px 2px;color:var(--muted);font-size:.87rem;line-height:1.45}
.heritage-case-study .case-back{margin-top:35px;white-space:normal}
.heritage-case-study .case-article a:focus-visible{outline:3px solid #86a87f;outline-offset:3px}
@media(max-width:760px){.heritage-case-study .case-article{padding:32px 24px 65px}.heritage-case-study .case-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0}.heritage-case-study .case-fact{padding:12px 14px;border-right:0}.heritage-case-study .case-fact:nth-child(odd){padding-left:14px;border-right:1px solid rgba(255,255,255,.22)}.heritage-case-study .case-fact:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.22)}}
@media(max-width:560px){.heritage-case-study .case-article{padding:28px 20px 57px}.heritage-case-study .case-article h1{font-size:clamp(2.1rem,8.4vw,2.7rem)}.heritage-case-study .case-lead{font-size:1rem;line-height:1.6}.heritage-case-study .case-photos{grid-template-columns:1fr;gap:18px}.heritage-case-study .case-feature-visual img{aspect-ratio:4/3}.heritage-case-study .case-details{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){.heritage-case-study .case-photo img{transition:none}}
