/* Optional, loader-only editorial layer. `?loadingEditorial=off` leaves the
   original real-progress loader and its four guide groups untouched. */
.loading-editorial {
  display: none;
}

.loading__background-video {
  display: none;
}

.loading.has-loading-editorial {
  --loading-core-width: min(620px, 62vw);
  --loading-core-height: 76px;
  width: 100vw;
  height: 100vh;
  contain: layout paint style;
}

.loading.has-loading-editorial .loading__background-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  background: #000;
  transition: opacity 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.loading.has-loading-editorial.is-loading-background-video-visible .loading__background-video {
  opacity: 1;
}

.loading.has-loading-editorial .loading-editorial {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--loading-core-width) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) var(--loading-core-height) minmax(0, 1fr);
  overflow: hidden;
  pointer-events: none;
}

.loading.has-loading-editorial .loading__guide-field {
  z-index: 3;
}

.loading.has-loading-editorial .loading__guide b {
  background: rgba(202, 24, 38, 0.72);
}

.loading.has-loading-editorial .loading__guide b.loading__guide-line--main {
  box-shadow: 0 0 6px rgba(202, 24, 38, 0.24);
}

.loading.has-loading-editorial .loading__guide--horizontal .loading__guide-line--dash {
  background: repeating-linear-gradient(
    to right,
    rgba(202, 24, 38, 0.76) 0 13px,
    transparent 13px 24px
  );
}

.loading.has-loading-editorial .loading__guide--horizontal .loading__guide-line--dot {
  background: repeating-linear-gradient(
    to right,
    rgba(202, 24, 38, 0.7) 0 2px,
    transparent 2px 8px
  );
}

.loading.has-loading-editorial .loading__guide--vertical .loading__guide-line--dash {
  background: repeating-linear-gradient(
    to bottom,
    rgba(202, 24, 38, 0.76) 0 13px,
    transparent 13px 24px
  );
}

.loading.has-loading-editorial .loading__guide--vertical .loading__guide-line--dot {
  background: repeating-linear-gradient(
    to bottom,
    rgba(202, 24, 38, 0.7) 0 2px,
    transparent 2px 8px
  );
}

.loading.has-loading-editorial .loading__rule,
.loading.has-loading-editorial .loading__copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  width: min(560px, calc(var(--loading-core-width) - 60px));
  transform: translateX(-50%);
}

.loading.has-loading-editorial .loading__rule {
  top: 50%;
  height: 3px;
  overflow: visible;
  background: rgba(230, 234, 235, 0.18);
  box-shadow: 0 0 9px rgba(221, 228, 228, 0.12);
}

.loading.has-loading-editorial .loading__rule::before,
.loading.has-loading-editorial .loading__rule::after {
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: rgba(222, 227, 228, 0.46);
  content: "";
}

.loading.has-loading-editorial .loading__rule::before {
  left: 0;
}

.loading.has-loading-editorial .loading__rule::after {
  right: 0;
}

.loading.has-loading-editorial #interaction-loading-bar {
  background: #e8eded;
  box-shadow:
    0 0 8px rgba(235, 240, 240, 0.68),
    0 0 18px rgba(213, 222, 223, 0.3);
}

.loading.has-loading-editorial .loading__copy {
  top: calc(50% + 13px);
  margin: 0;
  color: rgba(206, 213, 214, 0.68);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.loading-editorial__zone {
  position: relative;
  min-width: 0;
  min-height: 0;
  color: rgba(220, 225, 226, 0.68);
  font-family: var(--tectonic-ui-small-en, "Bahnschrift", "Arial", sans-serif);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

.loading.is-loading-editorial-running .loading-editorial__zone {
  animation: tectonic-loading-zone-cycle 15s cubic-bezier(0.16, 1, 0.3, 1) infinite both;
}

.loading-editorial__zone--nw {
  grid-column: 1;
  grid-row: 1;
  padding: clamp(28px, 3.2vw, 72px);
  animation-delay: 140ms;
}

.loading-editorial__zone--n {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 22px 30px;
  animation-delay: 220ms;
}

.loading-editorial__zone--ne {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: clamp(28px, 3.2vw, 72px);
  text-align: right;
  animation-delay: 320ms;
}

.loading-editorial__zone--w {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(20px, 2.4vw, 54px);
  animation-delay: 440ms;
}

.loading-editorial__zone--e {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 2.4vw, 54px);
  animation-delay: 500ms;
}

.loading-editorial__zone--sw {
  grid-column: 1;
  grid-row: 3;
  padding: 30px clamp(28px, 3.2vw, 72px) clamp(28px, 3.2vw, 72px);
  animation-delay: 600ms;
}

.loading-editorial__zone--s {
  grid-column: 2;
  grid-row: 3;
  padding: 30px 22px;
  animation-delay: 680ms;
}

.loading-editorial__zone--se {
  grid-column: 3;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 30px clamp(28px, 3.2vw, 72px) clamp(28px, 3.2vw, 72px);
  text-align: right;
  animation-delay: 760ms;
}

.loading-editorial__label,
.loading-editorial__eyebrow {
  color: rgba(207, 214, 215, 0.46);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.loading-editorial__register {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.loading-editorial__register-index {
  color: #eef2f2;
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.loading-editorial__source-card {
  position: absolute;
  left: clamp(28px, 3.2vw, 72px);
  bottom: 34px;
  display: grid;
  gap: 7px;
  max-width: 360px;
}

.loading-editorial__source-card::before {
  width: 56px;
  height: 1px;
  margin-bottom: 4px;
  background: rgba(225, 230, 230, 0.34);
  content: "";
}

.loading-editorial__source-card strong {
  color: rgba(238, 241, 241, 0.86);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.loading-editorial__source-card small {
  color: rgba(174, 183, 184, 0.44);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.loading-editorial__eyebrow {
  margin: 0 0 13px;
}

.loading-editorial__title {
  --loading-shuffle-line: 0.86em;
  display: flex;
  align-items: flex-end;
  margin: 0;
  overflow: hidden;
  color: #edf1f1;
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(58px, 4.7vw, 94px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.047em;
  line-height: 0.78;
  white-space: nowrap;
}

.loading-editorial__shuffle-char {
  position: relative;
  display: inline-block;
  height: var(--loading-shuffle-line, 1.12em);
  overflow: hidden;
  line-height: var(--loading-shuffle-line, 1.12em);
  vertical-align: bottom;
}

.loading-editorial__shuffle-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translate3d(0, 0, 0);
}

.loading-editorial__shuffle-cell {
  display: block;
  flex: 0 0 var(--loading-shuffle-line, 1.12em);
  height: var(--loading-shuffle-line, 1.12em);
  line-height: var(--loading-shuffle-line, 1.12em);
  text-align: center;
  white-space: nowrap;
  width: max-content;
}

.loading.is-loading-editorial-running .loading-editorial__shuffle-strip {
  animation: tectonic-loading-char-shuffle var(--loading-shuffle-cycle, 6200ms)
    cubic-bezier(0.16, 1, 0.3, 1) infinite both;
  animation-delay: calc(
    var(--loading-shuffle-offset, 0ms)
    + var(--loading-char-index) * 29ms
  );
  will-change: transform;
}

.loading-editorial__title-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  color: rgba(179, 187, 188, 0.48);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.loading-editorial__metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 20px 34px;
  width: min(330px, 100%);
  margin: 18px 0 0;
}

.loading-editorial__metric-grid div {
  position: relative;
  display: grid;
  gap: 4px;
  padding-top: 9px;
}

.loading-editorial__metric-grid div::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 1px;
  background: rgba(220, 226, 227, 0.26);
  content: "";
}

.loading-editorial__metric-grid dt,
.loading-editorial__metric-grid dd {
  margin: 0;
}

.loading-editorial__metric-grid dt {
  color: rgba(165, 174, 176, 0.44);
  font-size: 7px;
  letter-spacing: 0.16em;
}

.loading-editorial__metric-grid dd {
  color: rgba(235, 239, 239, 0.82);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.loading-editorial__pipeline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(182, 191, 192, 0.5);
  font-size: 7px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.loading-editorial__pipeline i {
  width: clamp(12px, 1.7vw, 36px);
  height: 1px;
  background: rgba(205, 212, 213, 0.24);
}

.loading-editorial__live-readout {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 1px 12px;
  min-width: 270px;
}

.loading-editorial__live-readout .loading-editorial__label {
  grid-column: 1 / -1;
}

.loading-editorial__live-readout strong {
  color: rgba(238, 242, 242, 0.9);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.loading-editorial__live-readout small {
  max-width: 140px;
  color: rgba(159, 168, 170, 0.42);
  font-size: 6px;
  letter-spacing: 0.11em;
  line-height: 1.45;
}

.loading-editorial__statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 18px 34px;
  width: min(470px, 100%);
  margin-top: 20px;
}

.loading-editorial__statement-grid p {
  display: grid;
  grid-template-columns: 24px 1fr;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(206, 214, 215, 0.16);
}

.loading-editorial__statement-grid b {
  grid-row: 1 / span 2;
  color: rgba(222, 227, 228, 0.52);
  font-size: 8px;
  font-weight: 500;
}

.loading-editorial__statement-grid span {
  color: rgba(230, 234, 235, 0.75);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.loading-editorial__statement-grid small {
  margin-top: 4px;
  color: rgba(159, 168, 169, 0.38);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.loading-editorial__principle {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.loading-editorial__principle-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(218, 224, 225, 0.24);
  color: rgba(237, 240, 240, 0.76);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 17px;
}

.loading-editorial__principle p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.loading-editorial__principle strong {
  color: rgba(233, 237, 237, 0.74);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.loading-editorial__principle small {
  color: rgba(158, 167, 168, 0.38);
  font-size: 6px;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.loading-editorial__task-list {
  display: grid;
  gap: 7px;
  width: min(350px, 100%);
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.loading-editorial__task-list li {
  display: grid;
  grid-template-columns: 74px minmax(80px, 1fr) 27px;
  align-items: center;
  gap: 10px;
  color: rgba(175, 184, 185, 0.5);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.loading-editorial__task-list i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: rgba(203, 211, 212, 0.12);
}

.loading-editorial__task-list i b {
  position: absolute;
  inset: 0;
  background: rgba(226, 231, 231, 0.58);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms linear;
}

.loading-editorial__task-list em {
  color: rgba(229, 233, 233, 0.66);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

@keyframes tectonic-loading-zone-cycle {
  0% {
    opacity: 0.86;
    transform: translate3d(0, 2px, 0);
  }
  5%,
  82% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  94% {
    opacity: 0.92;
    transform: translate3d(0, -0.5px, 0);
  }
  100% {
    opacity: 0.86;
    transform: translate3d(0, -1px, 0);
  }
}

@keyframes tectonic-loading-char-shuffle {
  0%,
  7% { transform: translate3d(0, 0, 0); }
  17% { transform: translate3d(0, -33.333%, 0); }
  29%,
  66% { transform: translate3d(0, -66.666%, 0); }
  77% { transform: translate3d(0, -33.333%, 0); }
  89%,
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 1100px) {
  .loading.has-loading-editorial {
    --loading-core-width: min(620px, calc(100vw - 88px));
  }

  .loading-editorial__zone--nw,
  .loading-editorial__zone--ne,
  .loading-editorial__zone--sw,
  .loading-editorial__zone--se {
    padding-right: 22px;
    padding-left: 22px;
  }

  .loading-editorial__source-card,
  .loading-editorial__metric-grid,
  .loading-editorial__statement-grid,
  .loading-editorial__task-list {
    display: none;
  }

  .loading-editorial__pipeline span:nth-of-type(2),
  .loading-editorial__pipeline span:nth-of-type(3),
  .loading-editorial__pipeline i {
    display: none;
  }
}

@media (max-height: 720px) {
  .loading-editorial__source-card,
  .loading-editorial__statement-grid {
    display: none;
  }

  .loading-editorial__metric-grid {
    gap: 10px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-editorial__zone,
  .loading-editorial__shuffle-strip {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .loading-editorial__shuffle-strip {
    transform: translate3d(0, -66.666%, 0);
  }
}
