/* Digital Heritage Futurism uses the shared portfolio palette and gallery viewer. */
.case-heritage .heritage-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:clamp(28px,4vw,64px); align-items:center; padding-block:36px; }
.case-heritage .heritage-hero > * { min-width:0; }
.case-heritage .heritage-hero .project-client { margin-top:24px; }
.case-heritage .heritage-hero h1 { font-size:clamp(56px,7.2vw,112px); max-width:none; line-height:.96; letter-spacing:-.055em; margin:24px 0; }
.case-heritage .heritage-hero .dek { font-size:clamp(19px,1.65vw,25px); line-height:1.5; max-width:33ch; }
.case-heritage .heritage-tagline { font-size:clamp(22px,2.6vw,38px); line-height:1.15; letter-spacing:-.035em; max-width:18ch; margin:32px 0 24px; border-left:3px solid var(--focus); padding-left:20px; }
.case-heritage .heritage-status { font-size:.875rem; line-height:1.65; color:var(--muted); }
.case-heritage .heritage-frame { min-width:0; margin:0; }
.case-heritage .heritage-frame img { display:block; width:100%; height:auto; object-fit:contain; border:1px solid var(--line); cursor:zoom-in; }
.case-heritage .heritage-frame figcaption { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 18px; border-bottom:1px solid var(--line); padding:12px 0; font-size:.875rem; line-height:1.6; color:var(--muted); }
.case-heritage .heritage-frame .frame-label { color:var(--text); }
.case-heritage .heritage-frame .expand-cue { white-space:nowrap; color:var(--action-text); }
.case-heritage .heritage-frame .frame-description { flex-basis:100%; margin:0; }
.case-heritage .heritage-frame img:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.editorial-design.case-generative.case-heritage .case-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; margin:0; padding-block:40px; }
.case-heritage .heritage-drop { padding:32px 0 40px; border-top:1px solid var(--line); }
.case-heritage .heritage-drop-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px 24px; flex-wrap:wrap; margin-bottom:20px; }
.case-heritage .heritage-drop-head h2 { font-size:clamp(25px,3.1vw,48px); letter-spacing:-.045em; line-height:1.1; margin:0; overflow-wrap:anywhere; }
.case-heritage .heritage-drop-head .mono { font-size:.875rem; line-height:1.6; color:var(--muted); }
.case-heritage .heritage-drop-intro { max-width:68ch; font-size:1.125rem; line-height:1.65; margin:0 0 28px; }
.case-heritage .heritage-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; align-items:start; }
.case-heritage .heritage-gallery > .heritage-frame:last-child:nth-child(odd) { grid-column:1 / -1; width:calc((100% - 24px) / 2); justify-self:center; }
.case-heritage .heritage-cover-note { margin:0 0 18px; color:var(--muted); font-size:.875rem; line-height:1.6; }
.case-heritage .heritage-cover-note a { color:var(--action-text); text-underline-offset:4px; }
.editorial-home .four-concepts .workgrid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.editorial-home .four-concepts .cardline { align-items:flex-start; }
.editorial-home .four-concepts .cardline h3 { min-width:0; }
.editorial-home .four-concepts [data-thumbnail="digital-heritage-futurism"] .cardline { flex-wrap:wrap; }
.editorial-home .four-concepts [data-thumbnail="digital-heritage-futurism"] .cardline h3 { font-size:clamp(26px,2.7vw,44px); line-height:1.04; }
@media (hover:hover) and (pointer:fine) { .case-heritage .heritage-frame img:hover { outline:3px solid var(--focus); outline-offset:2px; } }
@media (min-width:721px) and (max-width:1099px) {
 .editorial-home .four-concepts .workgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .editorial-home .four-concepts .generative-card:first-child { grid-column:auto; display:block; }
 .editorial-home .four-concepts .generative-card:first-child .cardline { margin-top:18px; }
 .editorial-home .four-concepts .generative-card:first-child .cardline h3 { font-size:clamp(30px,4vw,44px); }
 .case-heritage .heritage-hero h1 { font-size:clamp(48px,7vw,72px); }
}
@media (max-width:720px) {
 .case-heritage .heritage-hero { grid-template-columns:minmax(0,1fr); gap:28px; padding-block:24px; }
 .case-heritage .heritage-hero h1 { font-size:clamp(48px,13.7vw,84px); }
 .case-heritage .heritage-hero .dek { font-size:1.125rem; }
 .case-heritage .heritage-tagline { font-size:clamp(24px,7vw,34px); margin:24px 0; }
 .editorial-design.case-generative.case-heritage .case-summary,.case-heritage .heritage-gallery { grid-template-columns:minmax(0,1fr); gap:28px; }
 .case-heritage .heritage-gallery > .heritage-frame:last-child:nth-child(odd) { width:100%; }
 .editorial-design.case-generative.case-heritage .case-summary { padding-block:28px; }
 .case-heritage .heritage-drop { padding-block:28px; }
 .case-heritage .heritage-drop-intro { font-size:1rem; }
 .editorial-home .four-concepts .workgrid { grid-template-columns:minmax(0,1fr); }
 .editorial-home .four-concepts [data-thumbnail="digital-heritage-futurism"] .cardline h3 { font-size:clamp(30px,9vw,48px); }
}
