/* Shared SwissOctet footer. All ornamentation is CSS and stays on the site origin. */
.footer {
  --footer-accent: #ff3548;
  position: relative;
  padding-top: 0;
  background: #0b0b0c;
  border-color: rgba(255, 255, 255, .1);
}

.footer-manifesto {
  position: relative;
  isolation: isolate;
  margin-bottom: 54px;
  padding-top: 32px;
}

.footer-manifesto-meta,
.footer-manifesto-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font: 9px/1.6 Plex, monospace;
  letter-spacing: .12em;
  color: #929294;
}

.footer-manifesto-meta > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-manifesto-meta i {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--footer-accent);
  box-shadow: 0 0 14px rgba(255, 53, 72, .3);
}

.footer-manifesto-meta > span:last-child {
  white-space: nowrap;
}

.footer-manifesto-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 64px;
  padding: 61px 0 50px;
}

.footer-manifesto-copy {
  min-width: 0;
}

.footer-manifesto-copy h2 {
  font-size: clamp(48px, 5.9vw, 82px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.065em;
  color: #fafafa;
}

.footer-manifesto-copy h2 > span {
  color: #77777a;
}

.footer .footer-manifesto-statement {
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.9;
  color: #c5c5c8;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.footer-seal {
  position: relative;
  width: 280px;
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255, 53, 72, .07), transparent 65%);
}

.footer-seal::before,
.footer-seal::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, .09);
  pointer-events: none;
}

.footer-seal::before {
  height: 1px;
  width: 100%;
}

.footer-seal::after {
  width: 1px;
  height: 100%;
}

.footer-seal-orbit {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  animation: footer-orbit 36s linear infinite;
}

.footer-seal-orbit::before,
.footer-seal-orbit::after {
  content: '';
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
}

.footer-seal-orbit::after {
  inset: -10%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .09);
}

.footer-seal-orbit > span {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--footer-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 53, 72, .3);
}

.footer-seal-orbit > span:nth-child(1) {
  top: 0;
  left: calc(50% - 2px);
}

.footer-seal-orbit > span:nth-child(2) {
  bottom: 13.5%;
  left: 13.5%;
}

.footer-seal-orbit > span:nth-child(3) {
  bottom: 13.5%;
  right: 13.5%;
  background: #c4c4c6;
}

.footer-seal-cross {
  position: relative;
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 0 22px rgba(255, 53, 72, .1));
}

.footer-seal-cross::before,
.footer-seal-cross::after {
  content: '';
  position: absolute;
  background: var(--footer-accent);
}

.footer-seal-cross::before {
  top: 0;
  left: 28px;
  width: 28px;
  height: 84px;
}

.footer-seal-cross::after {
  top: 28px;
  left: 0;
  height: 28px;
  width: 84px;
}

.footer-seal-label,
.footer-seal-coordinate {
  position: absolute;
  z-index: 1;
  padding: 4px 9px;
  background: #0b0b0c;
  font: 8px/1.5 Plex, monospace;
  letter-spacing: .14em;
  color: #a2a2a5;
}

.footer-seal-label {
  top: 1%;
}

.footer-seal-coordinate {
  bottom: 1%;
  color: #77777a;
}

.footer-manifesto-rule {
  position: relative;
  justify-content: flex-start;
  gap: 40px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  font-size: 8px;
  color: #77777c;
}

.footer-manifesto-rule i {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--footer-accent));
  animation: footer-signal 12s ease-in-out infinite;
}

.footer .footer-intro p,
.footer .footer-links,
.footer .footer-secondary,
.footer .footer-secondary .clear-data {
  color: #a5a5aa;
}

.footer h4 {
  color: #e9e9ec;
}

.footer .footer-links a:hover,
.footer .footer-secondary a:hover,
.footer .footer-secondary .clear-data:hover {
  color: var(--footer-accent);
}

.footer .footer-bottom {
  color: #88888c;
}

@keyframes footer-orbit {
  to { transform: rotate(360deg); }
}

@keyframes footer-signal {
  0%, 100% { left: 0; opacity: .2; }
  50% { left: calc(100% - 56px); opacity: .9; }
}

@media (max-width: 1000px) {
  .footer-manifesto-main {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 35px;
  }
  .footer-seal { width: 220px; }
  .footer-manifesto-copy h2 { font-size: 62px; }
  .footer-manifesto-rule { gap: 25px; }
}

@media (max-width: 680px) {
  .footer-manifesto { padding-top: 25px; margin-bottom: 36px; }
  .footer-manifesto-meta { font-size: 7px; gap: 16px; letter-spacing: .06em; }
  .footer-manifesto-meta > span:first-child { gap: 8px; }
  .footer-manifesto-main { grid-template-columns: 1fr; gap: 32px; padding: 38px 0 35px; }
  .footer-manifesto-copy h2 { font-size: clamp(43px, 10vw, 64px); }
  .footer .footer-manifesto-statement { font-size: 14px; line-height: 1.85; margin-top: 23px; }
  .footer-seal { width: 185px; justify-self: center; }
  .footer-seal-cross { transform: scale(.72); }
  .footer-manifesto-rule { justify-content: space-between; gap: 10px; padding: 17px 0; font-size: 6px; letter-spacing: .035em; }
}
