/* Open, paper-and-pine composition: the character belongs to the page. */
.hero__grid {
  grid-template-columns: 1fr 1.06fr;
  gap: 24px;
  padding-bottom: 30px;
}
.hero-mascot {
  position: relative;
  min-width: 0;
  width: 100%;
  align-self: center;
}
.hero-mascot__scene {
  position: relative;
  isolation: isolate;
  height: clamp(400px, 39vw, 550px);
}
.hero-mascot__scene::before {
  content: "";
  position: absolute;
  inset: 13% 8% 6% 12%;
  z-index: -1;
  border-radius: 48% 52% 38% 62% / 58% 39% 61% 42%;
  background: radial-gradient(
    ellipse at 50% 42%,
    var(--brand-sage),
    transparent 73%
  );
}
.hero-mascot__trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: visible;
  color: var(--brand-orange);
}
.hero-mascot__trail > path:first-child {
  stroke: var(--brand-border);
  stroke-width: 1.5;
  stroke-dasharray: 4 9;
  stroke-linecap: round;
}
.hero-mascot__arrow,
.hero-mascot__trail circle {
  fill: currentColor;
}
.hero-mascot tralupo-mascot {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.hero-mascot tralupo-mascot > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-mascot__footer {
  min-height: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px 16px;
  padding: 6px 0;
}
.hero-mascot__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-neutral-600);
  text-align: center;
}
.hero-mascot__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-mascot__controls[hidden] {
  display: none;
}
.mascot-hello {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-forest);
  transition:
    background 180ms,
    transform 180ms;
}
.mascot-hello {
  padding: 0 15px;
  font-size: 12px;
  font-weight: 600;
}
.mascot-hello:hover:not(:disabled) {
  background: var(--brand-sage);
  transform: translateY(-2px);
}
.mascot-hello:disabled {
  opacity: 0.5;
  cursor: default;
}
.hero-mascot.is-loading .hero-mascot__trail > path:first-child {
  stroke: var(--brand-orange);
  animation: companionTrail 2s linear infinite;
}
.hero-mascot.is-loading .hero-mascot__arrow {
  transform-box: fill-box;
  transform-origin: center;
  animation: companionCompass 1.6s ease-in-out infinite alternate;
}
@keyframes companionTrail {
  to {
    stroke-dashoffset: -52;
  }
}
@keyframes companionCompass {
  from {
    transform: rotate(-12deg) scale(0.9);
  }
  to {
    transform: rotate(12deg) scale(1.05);
  }
}
.closer__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
}
.closer__inner {
  min-width: 0;
}
.closer .h2 {
  font-size: clamp(32px, 3.3vw, 48px);
  text-wrap: balance;
}
.closer .journey-art {
  width: calc(100% - 16px);
  max-width: 490px;
  justify-self: center;
}
@media (max-width: 979px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-mascot__scene {
    height: 410px;
  }
  .hero-mascot__footer {
    min-height: 100px;
  }
  .closer__grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 719px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-mascot {
    max-width: 480px;
    margin-inline: auto;
  }
  .hero-mascot__scene {
    height: clamp(320px, 94vw, 450px);
  }
  .hero-mascot__footer {
    min-height: 100px;
    gap: 8px 14px;
  }
  .closer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .closer .journey-art {
    max-width: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot *,
  .hero-mascot *::before {
    animation: none !important;
    transition: none !important;
  }
}
