/* Centered invitation. The artwork occupies the outside columns on wide screens,
   then becomes a compact composition below the actions on smaller screens. */
.rebrand-page .hero.hero--centered {
  --hero-space-sm: 16px;
  --hero-space-md: 32px;
  --hero-space-lg: 48px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(1680px, 100%);
  margin-inline: auto;
  padding: 88px 24px 96px;
  min-height: 704px;
}

.rebrand-page .hero--centered .hero-copy {
  width: min(860px, calc(100% - 432px));
  text-align: center;
}

.rebrand-page .hero--centered h1 {
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.rebrand-page .hero--centered h1 > span,
.rebrand-page .hero--centered h1 > em {
  display: block;
}

.rebrand-page .hero--centered h1 > .hero-rotator {
  display: grid;
  line-height: 1.1;
}

.rebrand-page .hero-rotator > span {
  grid-area: 1 / 1;
  visibility: hidden;
}

.rebrand-page .hero-rotator > .is-current { visibility: visible; }

.rebrand-page .hero-motion-controls { min-height: 44px; margin-top: 8px; }
.rebrand-page .hero-motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.rebrand-page .hero-motion-toggle[hidden] { display: none; }
.rebrand-page .hero-motion-toggle:hover { color: var(--blue); }
.rebrand-page .hero-motion-toggle svg { width: 12px; height: 12px; }
.rebrand-page .hero-motion-toggle .play-mark { display: none; }
.rebrand-page .hero-motion-toggle.is-paused .play-mark { display: block; }
.rebrand-page .hero-motion-toggle.is-paused .pause-mark { display: none; }

.rebrand-page .hero--centered .intro {
  max-width: 48ch;
  margin: var(--hero-space-md) auto 0;
  font-size: 18px;
  line-height: 1.8;
}

.rebrand-page .hero--centered .hero-focus {
  max-width: 54ch;
  margin: 12px auto 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}

.rebrand-page .hero--centered .hero-actions {
  justify-content: center;
  gap: var(--hero-space-md);
  margin-top: var(--hero-space-md);
}

.rebrand-page .hero--centered .hero-actions .button,
.rebrand-page .hero--centered .hero-actions .link {
  font-size: 13px;
}

.rebrand-page .hero-artwork {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rebrand-page .hero-artwork img {
  position: absolute;
  height: auto;
  animation: print-arrive 1.15s var(--ease) both;
}

.rebrand-page .hero-artwork .hero-knowledge {
  width: clamp(160px, 18vw, 272px);
  left: 12px;
  top: 120px;
}

.rebrand-page .hero-artwork .hero-product {
  width: clamp(148px, 16.5vw, 248px);
  right: 8px;
  top: 176px;
  animation-delay: .08s;
}

.rebrand-page .hero-artwork .hero-growth {
  width: clamp(140px, 13vw, 192px);
  left: 96px;
  bottom: 64px;
  animation-delay: .16s;
}

.rebrand-page .hero-smile {
  position: absolute;
  width: 96px;
  right: 80px;
  top: 88px;
  transform: rotate(8deg);
}

.rebrand-page .hero-smile > img {
  position: static;
  width: 100%;
  animation-delay: .12s;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .rebrand-page .hero.hero--centered { min-height: 704px; padding-top: 80px; }
  .rebrand-page .hero--centered .hero-copy { width: calc(100% - 352px); }
  .rebrand-page .hero--centered .intro { font-size: 16px; }
  .rebrand-page .hero-artwork .hero-knowledge { width: 168px; left: 8px; top: 144px; }
  .rebrand-page .hero-artwork .hero-product { width: 152px; right: 8px; top: 216px; }
  .rebrand-page .hero-artwork .hero-growth { width: 144px; left: 64px; bottom: 72px; }
  .rebrand-page .hero-smile { width: 76px; right: 32px; top: 136px; }
}

@media (max-width: 900px) {
  .rebrand-page .hero.hero--centered {
    min-height: 0;
    padding: 64px 24px 48px;
  }
  .rebrand-page .hero--centered .hero-copy { width: min(660px, 100%); }
  .rebrand-page .hero--centered h1 { font-size: clamp(44px, 7.8vw, 64px); }
  .rebrand-page .hero--centered .intro { max-width: 44ch; }
  .rebrand-page .hero-artwork {
    position: relative;
    inset: auto;
    width: min(520px, 100%);
    height: 224px;
    margin-top: 64px;
  }
  .rebrand-page .hero-artwork .hero-knowledge { width: 188px; left: 0; top: 16px; }
  .rebrand-page .hero-artwork .hero-product { width: 154px; right: 0; top: 0; }
  .rebrand-page .hero-artwork .hero-growth { width: 164px; left: calc(50% - 72px); bottom: 0; }
  .rebrand-page .hero-smile { width: 64px; right: 8px; top: -48px; }
}

@media (max-width: 600px) {
  .rebrand-page .hero.hero--centered { padding: 48px 22px 32px; }
  .rebrand-page .hero--centered h1 { font-size: clamp(32px, 9.8vw, 56px); line-height: 1.08; }
  .rebrand-page .hero--centered .intro {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.75;
    margin-top: 24px;
  }
  .rebrand-page .hero--centered .hero-actions { gap: var(--hero-space-sm); margin-top: 24px; }
  .rebrand-page .hero--centered .hero-actions .button,
  .rebrand-page .hero--centered .hero-actions .link { font-size: 12px; }
  .rebrand-page .hero-artwork { height: 172px; margin-top: 64px; max-width: 380px; }
  .rebrand-page .hero-artwork .hero-knowledge { width: 132px; left: 0; top: 16px; }
  .rebrand-page .hero-artwork .hero-product { width: 116px; right: 0; top: 0; }
  .rebrand-page .hero-artwork .hero-growth { width: 120px; left: calc(50% - 52px); bottom: 0; }
  .rebrand-page .hero-smile { width: 52px; right: 8px; top: -48px; }
}

@media (prefers-reduced-motion: reduce) {
  .rebrand-page .hero-artwork img { animation: none; }
  .rebrand-page .hero-rotator > span { visibility: hidden !important; }
  .rebrand-page .hero-rotator > span:first-child { visibility: visible !important; }
}

@media print {
  .rebrand-page .hero.hero--centered { min-height: 0; padding-block: 40px; }
  .rebrand-page .hero-artwork img { animation: none; }
  .rebrand-page .hero-motion-controls { display: none; }
  .rebrand-page .hero-rotator > span { visibility: hidden !important; }
  .rebrand-page .hero-rotator > span:first-child { visibility: visible !important; }
}
