/* Site identity, sized for the header, navigation rail and footer. */
.editorial-site .brand-symbol {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--brand);
}

.brand-symbol-ticks { opacity: .65; }
.brand-symbol-center { fill: var(--surface); }
.brand-symbol-foot { opacity: .45; }
.brand-symbol-sweep,
.brand-symbol-signal { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .brand-symbol-needle {
    transform-origin: 24px 29px;
    animation: kprometr-measure 6.8s cubic-bezier(.45, 0, .2, 1) infinite;
  }

  html:not([data-motion="off"]) .brand-symbol-sweep {
    stroke-dasharray: 18 100;
    animation: kprometr-scan 6.8s ease-in-out infinite;
  }

  html:not([data-motion="off"]) .brand-symbol-signal {
    transform-origin: 24px 29px;
    animation: kprometr-signal 6.8s ease-out infinite;
  }

  html:not([data-motion="off"]) .brand-symbol-ticks {
    animation: kprometr-ticks 6.8s ease-in-out infinite;
  }

  html:not([data-motion="off"]) .brand-copy strong > span {
    background-image: linear-gradient(110deg, var(--brand) 38%, var(--ink) 50%, var(--brand) 62%);
    background-size: 260% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: kprometr-wordmark 6.8s linear infinite;
  }
}

@keyframes kprometr-measure {
  0%, 5% { transform: rotate(-68deg); }
  31% { transform: rotate(7deg); }
  41% { transform: rotate(-4deg); }
  49%, 67% { transform: rotate(0deg); }
  80% { transform: rotate(-13deg); }
  100% { transform: rotate(-68deg); }
}

@keyframes kprometr-scan {
  0%, 4% { stroke-dashoffset: 18; opacity: 0; }
  12% { opacity: 1; }
  34% { stroke-dashoffset: -100; opacity: 0; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes kprometr-signal {
  0%, 32% { transform: scale(.8); opacity: 0; }
  35% { opacity: .7; }
  52%, 100% { transform: scale(2.8); opacity: 0; }
}

@keyframes kprometr-ticks {
  0%, 12%, 61%, 100% { opacity: .5; }
  32%, 43% { opacity: 1; }
}

@keyframes kprometr-wordmark {
  0%, 32% { background-position: 110% 0; }
  55%, 100% { background-position: -110% 0; }
}

.editorial-site .brand {
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.editorial-site .brand-copy,
.editorial-site .brand > .brand-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.editorial-site .brand-copy strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.editorial-site .brand-copy strong > span {
  color: var(--brand) !important;
}

.editorial-site .brand-copy small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.editorial-site .rail-brand {
  gap: 10px;
  margin: 0 4px 30px;
}

.editorial-site .rail-brand .brand-symbol {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.editorial-site .rail-brand .brand-copy { gap: 5px; }
.editorial-site .rail-brand .brand-copy strong { font-size: 19px; }
.editorial-site .rail-brand .brand-copy small { font-size: 10px; }

.editorial-site .footer-brand .brand-symbol {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

@media (max-width: 760px) {
  .editorial-site .brand { gap: 9px; }
  .editorial-site .brand > .brand-symbol {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .editorial-site .brand-copy strong { font-size: 19px; }
  .editorial-site .brand > .brand-copy small { display: none; }
}

@media (max-width: 380px) {
  .editorial-site .brand-copy strong { font-size: 17px; }
  .editorial-site .brand > .brand-symbol {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}
