.bam-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: center;
  gap: 36px;
  margin-bottom: 20px;
}

.bam-hero-copy { min-width: 0; }
.bam-hero-copy .hero-label { max-width: 100%; letter-spacing: 1.6px; }
.bam-planner-hero .bam-hero-copy h1 { max-width: 830px; }
.bam-hero-copy .bam-hero-actions { margin-bottom: 0; }

.bam-mascot {
  width: 100%;
  max-width: 270px;
  margin: 0;
  align-self: center;
  text-align: center;
}

.bam-mascot-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 18px #071b1866);
}

.bam-mascot-image,
.bam-mascot-animation {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bam-mascot-animation {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.bam-mascot[data-motion="running"] .bam-mascot-image { opacity: 0; }
.bam-mascot[data-motion="running"] .bam-mascot-animation { visibility: visible; }

.bam-mascot-name {
  margin-top: 9px;
  color: #f8dfb6;
  font: 700 20px/1.2 Georgia, 'Times New Roman', serif;
}

@media (max-width: 960px) and (min-width: 681px) {
  .bam-hero-top {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
  }

  .bam-mascot { max-width: 210px; }
  .bam-planner-hero .bam-hero-copy h1 { font-size: clamp(42px, 5.5vw, 58px); }
}

@media (max-width: 680px) {
  .bam-hero-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 22px;
  }

  .bam-mascot {
    display: flex;
    align-items: center;
    gap: 14px;
    align-self: flex-start;
    max-width: 310px;
    text-align: left;
  }

  .bam-mascot-stage { width: 150px; flex: 0 0 150px; }
  .bam-mascot-name { margin: 0; font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .bam-mascot[data-motion="running"] .bam-mascot-image { opacity: 1; }
  .bam-mascot[data-motion="running"] .bam-mascot-animation { visibility: hidden; }
}

@media print {
  .bam-mascot { display: none; }
}
