/* Draft only. Copy into site/kangsapt only after the full seven-image ART_READY gate. */
.keyart-v01 {
  --keyart-ink: #16213a;
  --keyart-blue: #2547c7;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "copy art";
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: min(1160px, calc(100% - 2rem));
  margin: clamp(1rem, 3vw, 2rem) auto;
  padding: clamp(1rem, 2.8vw, 2rem);
  border: 1px solid #dce6fa;
  border-radius: 1.75rem;
  color: var(--keyart-ink);
  background: linear-gradient(120deg, #fff 0%, #f8fbff 48%, #eef4ff 100%);
  box-shadow: 0 12px 32px rgb(24 54 115 / 9%);
}
.keyart-v01__copy { grid-area: copy; min-width: 0; }
.keyart-v01__copy h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--keyart-blue);
  font-size: clamp(2rem, 2.5em, 3rem);
  line-height: 1.14;
  overflow-wrap: anywhere;
}
.keyart-v01__copy .eyebrow { margin: 0 0 .75rem; color: var(--keyart-blue); }
.keyart-v01__art {
  grid-area: art;
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  place-items: center;
  overflow: visible;
  border-radius: 1.25rem;
  background: #fff;
}
.keyart-v01__image,
img.keyart-v01__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: 30rem;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 1rem;
}
img.keyart-v01__replaced-image {
  height: auto !important;
  max-height: min(30rem, 42vw);
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}
figure:has(> img.keyart-v01__replaced-image) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  aspect-ratio: auto !important;
}
@media (max-width: 700px) {
  .keyart-v01 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "copy";
    gap: .8rem;
    width: min(100% - 1.25rem, 38rem);
    margin: .875rem auto 1.25rem;
    padding: .75rem;
    border-radius: 1.15rem;
  }
  .keyart-v01__art { border-radius: .8rem; }
  .keyart-v01__image { max-height: none; border-radius: .7rem; }
  img.keyart-v01__replaced-image { max-height: none; }
  .keyart-v01__copy h1 { max-width: 100%; font-size: clamp(2rem, 1.85em, 2.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .keyart-v01, .keyart-v01 * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
body.high-contrast .keyart-v01,
body.contrast .keyart-v01 {
  color: #000 !important;
  background: #fff !important;
  border: 3px solid #000 !important;
  box-shadow: none !important;
}
body.high-contrast .keyart-v01__copy h1,
body.high-contrast .keyart-v01__copy .eyebrow,
body.contrast .keyart-v01__copy h1,
body.contrast .keyart-v01__copy .eyebrow { color: #000 !important; }
body.high-contrast .keyart-v01__art,
body.contrast .keyart-v01__art { border: 2px solid #000 !important; background: #fff !important; }
