/* A full-viewport brand opening, followed by the existing company homepage. */
.hero.hero--motion {
  --home-header-height: var(--header-height);
  --motion-title-size: clamp(2.625rem, 5vw, 4rem);
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100vh - var(--home-header-height));
  height: calc(100svh - var(--home-header-height));
  padding: 0;
  text-align: center;
}
.brand-motion {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding-inline: var(--gutter);
  color: var(--ink);
}
.brand-motion-stage {
  position: relative;
  width: min(100%, 960px);
  height: 100%;
  max-height: 700px;
  min-height: 0;
}
.brand-motion-art {
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: visible;
}
[data-motion-ready='true'] .brand-motion-art {
  opacity: 1;
}
.brand-motion-fallback {
  position: absolute;
  top: var(--motion-center-y, 37%);
  left: 50%;
  width: auto;
  height: var(--motion-logo-height, min(260px, 26svh));
  transform: translate(-50%, -50%);
}
.brand-motion-caption,
.hero--motion .brand-motion-title {
  position: absolute;
  top: var(--motion-caption-y, 74%);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  translate: 0 -50%;
  text-align: center;
}
.brand-motion-caption {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.035em;
  opacity: 0;
  pointer-events: none;
}
.hero--motion .brand-motion-title {
  font-size: var(--motion-title-size);
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.hero--motion .hero-bottom {
  padding-top: 18px;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}
.hero--motion .actions {
  margin: 0;
  gap: 12px;
  flex-wrap: nowrap;
}
.hero--motion .hero-bottom .button {
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .hero.hero--motion {
    --motion-title-size: clamp(2.5rem, 6.5vw, 3.5rem);
  }
}
@media (max-width: 560px) {
  .hero.hero--motion {
    --motion-title-size: clamp(2.125rem, 9.5vw, 2.75rem);
  }
  .brand-motion-caption {
    font-size: clamp(1.125rem, 4.6vw, 1.5rem);
  }
  .hero--motion .hero-bottom {
    padding-top: 18px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .hero--motion .actions {
    gap: 10px;
  }
}
@media (max-height: 540px) {
  .hero.hero--motion {
    --motion-title-size: clamp(1.5rem, 7svh, 2.25rem);
  }
  .brand-motion-caption {
    font-size: clamp(1rem, 4.4svh, 1.375rem);
  }
  .hero--motion .hero-bottom {
    padding-top: 8px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}
@media print {
  .hero.hero--motion {
    height: 500px;
  }
  .brand-motion-art,
  .brand-motion-caption {
    display: none;
  }
  .brand-motion-fallback[hidden] {
    display: block !important;
  }
  .hero--motion .brand-motion-title {
    opacity: 1 !important;
    transform: none !important;
  }
}
