@media (prefers-reduced-motion: no-preference) {
  body:has(.hero.has-motion) [data-entrance].has-entered:not(:focus-within) {
    animation: home-entrance 480ms cubic-bezier(.2, .65, .32, 1) var(--entrance-delay, 0ms) backwards;
  }

  [data-entrance="rise"] { --entrance-offset: 12px; }
  [data-entrance="focus"] { --entrance-blur: 3px; }

  @keyframes home-entrance {
    from {
      opacity: .48;
      translate: 0 var(--entrance-offset, 0px);
      filter: blur(var(--entrance-blur, 0px));
    }
    to {
      opacity: 1;
      translate: 0 0;
      filter: none;
    }
  }
}

.card-symbol {
  display: block;
  box-sizing: content-box;
  padding: .68rem;
  margin-bottom: .95rem;
  color: #315747;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: .8rem;
}

.method { padding-bottom: clamp(1rem, 2.5vw, 2.2rem); }
.mz-differences { padding-top: clamp(.85rem, 2vw, 1.65rem); }

.figures-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, .53fr);
  grid-template-areas: "heading brand" "values brand";
  column-gap: clamp(1.25rem, 4vw, 3.5rem);
  row-gap: .3rem;
}
.figures-panel .section-heading { grid-area: heading; }
.figures-panel .figure-grid { grid-area: values; margin-top: .45rem; }
.figures-brand {
  grid-area: brand;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.4rem);
  border-radius: 1.25rem;
  background: var(--brand);
}
.figures-brand img {
  width: min(84%, 15rem);
  height: auto;
}
.audience-photo { object-position: center 58%; }
@media (max-width: 650px) {
  .figures-panel {
    grid-template-columns: minmax(0, 1fr) clamp(3.5rem, 17vw, 5.5rem);
    grid-template-areas: "heading brand" "values values";
    column-gap: .75rem;
  }
  .figures-brand { align-self: start; aspect-ratio: 1; padding: .55rem; border-radius: .75rem; }
  .figures-brand img { width: 100%; }
  .figures-panel h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* Stagger the cards in reading order when they enter together. */
:is(.method-steps, .mz-differences .cards) > :nth-child(2) { --entrance-delay: 120ms; }
:is(.method-steps, .mz-differences .cards) > :nth-child(3) { --entrance-delay: 240ms; }
:is(.method-steps, .mz-differences .cards) > :nth-child(4) { --entrance-delay: 360ms; }
.method-steps > :nth-child(5) { --entrance-delay: 480ms; }
