/* Local review only: compact adaptation of the Our Story circle/crane identity film. */
.brand.brand-motion {
  --symbol-size: 60px;
  --brand-width: 174px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: var(--brand-width);
  min-width: var(--brand-width);
  line-height: 1;
}
.brand-motion-symbol {
  display: block;
  position: relative;
  width: var(--symbol-size);
  height: var(--symbol-size);
  flex: 0 0 auto;
}
.brand-motion-symbol img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-motion-ring { inset: 0; }
.brand-motion-crane { inset: 1px -3px -1px 3px; }
.brand-motion-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.brand-motion .brand-wordmark {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 1;
  object-fit: contain;
}
.brand-motion .brand-descriptor {
  margin-top: -1px;
  color: #e5a77a;
  font-size: 7px;
  letter-spacing: .78px;
  line-height: 1.25;
  white-space: nowrap;
}
.site-header .header-row { min-height: 110px; }
.site-header .brand-motion { padding: 4px 0 5px; }
.site-header .brand-motion .brand-wordmark,
.footer-identity .brand-motion .brand-wordmark {
  filter: brightness(0) invert(1);
}
.site-header .brand-motion .brand-wordmark { filter: none; }
.home .site-header .brand-motion .brand-wordmark { filter: brightness(0) invert(1); }
.footer-identity .brand-motion {
  --symbol-size: 58px;
  --brand-width: 180px;
}
.footer-identity .brand-motion .brand-descriptor { display: none; }
.footer-identity .brand-motion + .footer-founder-seal { margin-left: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .brand-motion.motion-ready:not(.motion-play) .brand-motion-ring,
  .brand-motion.motion-ready:not(.motion-play) .brand-motion-crane,
  .brand-motion.motion-ready:not(.motion-play) .brand-motion-name { opacity: 0; }
  .brand-motion.motion-play .brand-motion-ring {
    animation: brand-ring-arrive 2.6s cubic-bezier(.18,.65,.22,1) both;
  }
  .brand-motion.motion-play .brand-motion-crane {
    animation: brand-crane-arrive 2.8s cubic-bezier(.18,.65,.22,1) .45s both;
  }
  .brand-motion.motion-play .brand-motion-name {
    animation: brand-name-arrive 1.5s ease-out 1.75s both;
  }
  @keyframes brand-ring-arrive {
    0% { opacity: 0; transform: translate(-13px, 3px) scale(.65) rotate(-48deg); }
    65% { opacity: 1; }
    100% { opacity: 1; transform: none; }
  }
  @keyframes brand-crane-arrive {
    0% { opacity: 0; transform: translate(18px, -9px) scale(.82); }
    72% { opacity: 1; }
    100% { opacity: 1; transform: none; }
  }
  @keyframes brand-name-arrive {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: none; }
  }
}

@media (max-width: 1000px) {
  .brand.brand-motion { --brand-width: 150px; --symbol-size: 48px; }
  .site-header .header-row { min-height: 98px; }
}
@media (max-width: 820px) {
  .site-header .header-row { min-height: 91px; }
}
@media (max-width: 620px) {
  .brand.brand-motion { --brand-width: 128px; --symbol-size: 44px; }
  .site-header .header-row { min-height: 83px; }
  .brand-motion .brand-descriptor { font-size: 6px; letter-spacing: .42px; }
  .footer-identity .brand-motion { --brand-width: 145px; --symbol-size: 45px; }
  .footer-identity .brand-motion + .footer-founder-seal { margin-left: 6px; }
}

/* Keep CIRRANE readable throughout the footer symbol's entrance. */
.footer-identity .brand-motion.motion-ready .brand-motion-name {
  opacity: 1;
  animation: none;
  transform: none;
}
