/* Let every story introduction meet the paper surface below. */
body .case-hero { background-image:linear-gradient(to bottom,transparent 48%,var(--paper) 100%); }

/* Carry each project card atmosphere into its story introduction. */
body.myko-case .myko-case-hero {
 background:linear-gradient(to bottom,transparent 48%,var(--paper) 100%),radial-gradient(ellipse at 72% 72%,#ffc46970,transparent 48%),linear-gradient(90deg,#e9ded4,#d6c4bd 58%,#b9afb9);
 color:var(--ink);
}
body.migration-case:not(:is(.smart-grid-case,.lucalight-case,.plugin-case,.yubl-case,.arthouse-case)) .migration-hero {
 background:linear-gradient(to bottom,transparent 48%,var(--paper) 100%),radial-gradient(ellipse at 78% 67%,#d3b7ff99,transparent 55%),linear-gradient(90deg,#ede8f3,#ded3ed 65%,#c9b7e1);
 color:var(--ink);
}
body.smart-grid-case .sg-hero {
 background:linear-gradient(to bottom,transparent 48%,var(--paper) 100%),radial-gradient(circle at 83% 26%,#fffef4 0 2.3%,#ffffff70 2.6%,transparent 10%),linear-gradient(180deg,#bad9ee 0%,#d8eaf5 55%,#f2f7f8 100%);
 color:var(--ink);
}
body:is(.myko-case,.migration-case) .case-hero .eyebrow { color:#595750; }
@media(max-width:760px) {
 body.smart-grid-case .sg-hero { background:linear-gradient(to bottom,transparent 48%,var(--paper) 100%),radial-gradient(circle at 82% 10%,#fffef4 0 3%,#ffffff70 3.4%,transparent 12%),linear-gradient(180deg,#bad9ee 0%,#d8eaf5 45%,#f2f7f8 100%); }
}

/* Give the Myko scene more breathing room beside its introduction. */
@media(min-width:761px) {
 body.myko-case .myko-hero-visual { width:45%;right:4%; }
}
@media(max-width:760px) {
 body.myko-case .case-hero > .myko-hero-visual { width:95%;align-self:center;margin:0; }
}

/* Keep the Migration artwork comfortably within the hero. */
@media(min-width:761px) {
 body.migration-case:not(:is(.smart-grid-case,.lucalight-case,.plugin-case,.yubl-case,.arthouse-case)) .migration-hero-art .migration-transfer-art { width:45%;margin-right:2%; }
}
@media(max-width:760px) {
 body.migration-case:not(:is(.smart-grid-case,.lucalight-case,.plugin-case,.yubl-case,.arthouse-case)) .case-hero .migration-hero-art > .migration-transfer-art { width:90%; }
}

/* Continue the opening atmosphere through the navigation. */
body.myko-case > .site-header { background:linear-gradient(90deg,#e9ded4,#d6c4bd 58%,#b9afb9); }
body.smart-grid-case > .site-header { background:#bad9ee; }
body.migration-case:not(:is(.smart-grid-case,.lucalight-case,.plugin-case,.yubl-case,.arthouse-case)) > .site-header { background:linear-gradient(90deg,#ede8f3,#ded3ed 65%,#c9b7e1); }
body:is(.lucalight-case,.plugin-case,.yubl-case,.arthouse-case) .case-hero { background:var(--paper); }
body.yubl-case .case-body > .migration-chapter:first-child { border-top:0; }
