/*
 * MIO Diamond Jubilee orbit emblem
 * Reusable public-site component with restrained page variants.
 */
.legacy-seal {
  --seal-gold: #e5cd91;
  --seal-gold-soft: #f3e2b7;
  --seal-wine: #36050c;
  --seal-wine-deep: #260307;
  --seal-core-size: 56%;
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(510px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  filter: drop-shadow(0 38px 82px rgba(12, 0, 3, 0.3));
}

.legacy-seal::before {
  position: absolute;
  z-index: -1;
  inset: 8%;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(229, 205, 145, 0.14), transparent 68%);
  filter: blur(18px);
}

.legacy-seal .seal-orbit {
  position: absolute;
  inset: 5%;
  width: auto;
  height: auto;
  border: 1px solid rgba(229, 205, 145, 0.34);
  border-radius: 50%;
  animation: mio-seal-orbit 18s linear infinite;
  pointer-events: none;
}

.legacy-seal .seal-orbit::before,
.legacy-seal .seal-orbit::after {
  position: absolute;
  padding: 5px;
  color: var(--seal-gold);
  background: var(--seal-wine-deep);
  content: "◇";
  font-size: 17px;
  line-height: 1;
}

.legacy-seal .seal-orbit::before {
  top: 8%;
  left: 12%;
}

.legacy-seal .seal-orbit::after {
  right: 8%;
  bottom: 16%;
}

.legacy-seal .seal-orbit.orbit-two {
  inset: 16%;
  width: auto;
  height: auto;
  border-style: dashed;
  opacity: 0.72;
  animation-direction: reverse;
  animation-duration: 25s;
}

.legacy-seal .seal-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--seal-core-size);
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(229, 205, 145, 0.6);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(circle at 35% 28%, #6b2432, var(--seal-wine) 65%);
  box-shadow:
    0 0 0 10px rgba(229, 205, 145, 0.035),
    0 35px 100px rgba(0, 0, 0, 0.35),
    inset 0 0 50px rgba(229, 205, 145, 0.09);
  text-align: center;
}

.legacy-seal .seal-core small {
  color: var(--seal-gold-soft);
  font: 700 9px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legacy-seal .seal-core strong {
  color: #fff;
  font: 400 clamp(70px, 9vw, 118px)/0.9 "Playfair Display", Georgia, serif;
  letter-spacing: -0.04em;
}

.legacy-seal .seal-core b {
  margin-left: 0.25em;
  color: var(--seal-gold);
  font: 700 15px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: 0.25em;
}

.legacy-seal .seal-core span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.55);
  font: 700 10px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: 0.18em;
}

.legacy-seal .seal-note {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  border: 1px solid rgba(229, 205, 145, 0.25);
  border-radius: 999px;
  color: var(--seal-gold-soft);
  background: rgba(38, 3, 7, 0.82);
  box-shadow: 0 12px 30px rgba(12, 0, 3, 0.16);
  font: 700 10px/1.2 "DM Sans", Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.legacy-seal .note-one {
  top: 29%;
  left: 0;
}

.legacy-seal .note-two {
  top: 45%;
  right: -3%;
}

.legacy-seal .note-three {
  bottom: 15%;
  left: 12%;
}

.legacy-seal--compact {
  --seal-core-size: 58%;
  width: min(250px, 74vw);
  margin: 24px 0 8px;
  justify-self: start;
  filter: drop-shadow(0 25px 48px rgba(31, 2, 8, 0.22));
}

.legacy-seal--compact .seal-core strong {
  font-size: clamp(54px, 7vw, 72px);
}

.legacy-seal--compact .seal-core b {
  font-size: 10px;
}

.legacy-seal--compact .seal-core span,
.legacy-seal--compact .seal-core small {
  font-size: 7px;
}

.legacy-seal--compact .seal-note {
  padding: 6px 9px;
  font-size: 7px;
}

.legacy-seal--hero {
  --seal-core-size: 54%;
  width: min(500px, 100%);
}

.legacy-seal--hero::before {
  inset: 2%;
  background:
    radial-gradient(circle, rgba(229, 205, 145, 0.18), transparent 58%),
    conic-gradient(from 45deg, transparent, rgba(229, 205, 145, 0.08), transparent 42%);
}

.legacy-seal--hero .orbit-one {
  inset: 2%;
  box-shadow:
    inset 0 0 0 12px rgba(229, 205, 145, 0.018),
    0 0 54px rgba(229, 205, 145, 0.08);
}

.legacy-seal--hero .orbit-two {
  inset: 18%;
}

.legacy-seal--hero .seal-core {
  background:
    radial-gradient(circle at 36% 25%, rgba(255, 255, 255, 0.13), transparent 22%),
    radial-gradient(circle at 45% 36%, #7b2539, #2c0309 68%);
}

.legacy-seal--hero .seal-note {
  border-color: rgba(229, 205, 145, 0.34);
  background: rgba(25, 1, 5, 0.76);
}

.hero-emblem.legacy-seal--editorial {
  --seal-core-size: 58%;
  width: min(38vw, 520px);
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.35));
}

.hero-emblem.legacy-seal--editorial::after {
  display: none;
}

.legacy-seal--editorial .seal-core {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.1), transparent 23%),
    radial-gradient(circle at 38% 34%, #6f1c2b, #250207 68%);
}

.legacy-seal--editorial .seal-core strong {
  font-family: Didot, "Bodoni 72", "Playfair Display", Georgia, serif;
}

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

@media (max-width: 760px) {
  .legacy-seal {
    width: min(420px, 92vw);
  }

  .legacy-seal .seal-note {
    padding: 7px 10px;
    font-size: 8px;
  }

  .legacy-seal .note-one {
    left: 2%;
  }

  .legacy-seal .note-two {
    right: 0;
  }

  .legacy-seal--compact {
    width: min(230px, 70vw);
    margin-inline: auto;
    justify-self: center;
  }

  .hero-emblem.legacy-seal--editorial {
    width: min(430px, 90vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-seal .seal-orbit {
    animation: none;
  }
}
