/* A varied brand vocabulary from Identity pp. 16–18: glass, capsules, arrows, stars. */
.brand-visual { display: block; position: relative; min-width: 0; flex: none; }
.brand-visual svg { display: block; width: 100%; height: 100%; }
.material-art {
  overflow: hidden; border-radius: 12px 12px 12px 0;
  background: linear-gradient(135deg, var(--blue), var(--mist-pink));
  isolation: isolate;
}
.material-fan { background: var(--deep-teal); }
.material-fold { background: var(--cream); }
.brand-visual.material-art > img,
.programme-card .programme-footer .material-art > img,
.insight-card .insight-art .material-art > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; opacity: 1; object-fit: cover; object-position: center bottom;
  transform: none; transition: transform .6s; z-index: 0;
}
.visual-flower > img { width: 100%; height: 100%; object-fit: contain; }
.motif { color: var(--teal); }

/* Large material fields replace the repeated small flower on each card. */
.case-visual { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 160px; }
.case-visual.visual-flower { width: 180px; max-width: 60%; justify-self: end; }
.case-visual.motif { width: 240px; max-width: 90%; justify-self: end; }
.case-card.teal .material-fold { background: var(--deep-teal); }
.programme-footer > .brand-visual { width: min(65%, 260px); height: 160px; }
.programme-dark .material-art { background: var(--deep-teal); }
.insight-visual { grid-column: 2; grid-row: 2; justify-self: stretch; align-self: center; width: 100%; height: 140px; }
.insight-2 .motif { color: var(--aqua); }

/* Internal-page art matches the visual used in its programme or case. */
.page-hero-art > .brand-visual { width: 100%; height: 270px; max-width: 320px; }
.page-hero-art > .material-art { height: 320px; }
.page-hero-art > .visual-flower { max-width: 260px; }
.page-hero-art .brand-visual > img { max-height: none; height: 100%; }
.closing-emblem {
  grid-area: art; align-self: center; justify-self: center;
  width: 240px; max-width: 100%; height: 200px; color: var(--cream);
}
.contact-graphic { width: 240px; height: 160px; margin-top: 30px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case-card:hover .material-art > img,
  .programme-card:hover .programme-footer .material-art > img,
  .insight-card:hover .insight-art .material-art > img { transform: scale(1.035); }
}
@media (max-width: 900px) {
  .case-visual { height: 140px; }
  .case-visual.visual-flower { width: 160px; }
  .programme-footer > .brand-visual { height: 140px; }
}
@media (max-width: 600px) {
  .case-visual { height: 130px; }
  .case-visual.visual-flower { width: 150px; }
  .case-visual.motif { width: 210px; }
  .programme-footer > .brand-visual { height: 140px; width: 65%; }
  .insight-visual { height: 150px; }
  .page-hero-art > .brand-visual, .page-hero-art > .material-art { height: 205px; max-width: 270px; }
  .closing-emblem { grid-row: 3; width: 100px; height: 80px; }
  .contact-graphic { display: none; }
}
