.opening-story {
  min-height: 700svh;
  background: #f7e8c5;
}
.opening-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.opening-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #57462f;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,240,191,.86), transparent 38%),
    linear-gradient(180deg, #f5e1b2 0%, #fffaf1 55%, #fffcf7 100%);
  transition: background 1.2s ease;
}
.opening-world {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 1;
  width: min(82vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .48;
  transform: translate(-50%, -50%) scale(.72);
  transition: opacity 1s ease, transform 1.2s ease, top 1.2s ease;
  pointer-events: none;
}
.opening-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #e4b94f;
  box-shadow:
    0 0 18px rgba(226,181,65,.72),
    0 0 60px rgba(250,218,127,.65);
  transition: width 1s ease, height 1s ease, box-shadow 1s ease;
}
.opening-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(206,161,57,.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1.2s ease, height 1.2s ease, opacity .8s ease;
}
.opening-orbit-one {
  width: 46%;
  height: 46%;
}
.opening-orbit-two {
  width: 76%;
  height: 76%;
}
.opening-lights i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: .86;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff9dc 0 20%, #e6bd58 42%, rgba(229,191,92,.1) 70%);
  box-shadow: 0 0 15px rgba(231,194,93,.62);
  transition: left 1.1s ease, top 1.1s ease, opacity .8s ease, transform 1.1s ease;
}
.opening-lights i:nth-child(1) { --x: 50%; --y: 26%; --size: 10px; }
.opening-lights i:nth-child(2) { --x: 68%; --y: 34%; --size: 8px; }
.opening-lights i:nth-child(3) { --x: 77%; --y: 52%; --size: 11px; }
.opening-lights i:nth-child(4) { --x: 66%; --y: 70%; --size: 7px; }
.opening-lights i:nth-child(5) { --x: 47%; --y: 78%; --size: 9px; }
.opening-lights i:nth-child(6) { --x: 28%; --y: 66%; --size: 10px; }
.opening-lights i:nth-child(7) { --x: 24%; --y: 45%; --size: 7px; }
.opening-lights i:nth-child(8) { --x: 34%; --y: 31%; --size: 9px; }
.opening-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  padding: 72px 24px 92px;
  opacity: 0;
  transform: translateY(12px);
  text-align: center;
  transition: opacity .65s ease, transform .85s ease;
  pointer-events: none;
}
.opening-date p,
.opening-declaration h2,
.opening-venue p,
.opening-story-summary p,
.opening-message p {
  margin: 0;
}
.opening-date p {
  color: #79591e;
  font-family: var(--serif);
  font-size: clamp(34px, 11vw, 48px);
  letter-spacing: .12em;
  text-shadow: 0 0 24px rgba(255,252,247,.95);
}
.opening-declaration h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 10vw, 46px);
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: 0 0 24px rgba(255,252,247,.98);
}
.opening-name {
  color: #75551d;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: .15em;
}
.opening-name strong {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: .17em;
}
.opening-place {
  margin-top: 32px !important;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .04em;
}
.opening-steps {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.85;
  letter-spacing: .1em;
}
.opening-action {
  margin-top: 38px !important;
  color: #6f5f47;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: .04em;
}
.opening-message {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.95;
  letter-spacing: .05em;
}
.opening-message p + p {
  margin-top: 46px;
}
.opening-stage[data-opening="0"] .opening-world {
  opacity: .52;
  transform: translate(-50%, -50%) scale(.58);
}
.opening-stage[data-opening="0"] .opening-lights i {
  left: 50%;
  top: 50%;
  opacity: .22;
  transform: translate(-50%, -50%) scale(.45);
}
.opening-stage[data-opening="1"] .opening-date,
.opening-stage[data-opening="2"] .opening-declaration,
.opening-stage[data-opening="3"] .opening-venue,
.opening-stage[data-opening="4"] .opening-story-summary,
.opening-stage[data-opening="5"] .opening-message {
  opacity: 1;
  transform: none;
}
.opening-stage[data-opening="1"] .opening-world {
  opacity: .3;
  transform: translate(-50%, -50%) scale(.82);
}
.opening-stage[data-opening="2"] .opening-world {
  opacity: .56;
  transform: translate(-50%, -50%) scale(1);
}
.opening-stage[data-opening="3"] .opening-world {
  top: 48%;
  opacity: .32;
  transform: translate(-50%, -50%) scale(1.12);
}
.opening-stage[data-opening="4"] .opening-world {
  opacity: .2;
  transform: translate(-50%, -50%) scale(1.24);
}
.opening-stage[data-opening="5"] {
  background:
    radial-gradient(circle at 50% 52%, rgba(249,214,116,.62), transparent 44%),
    linear-gradient(180deg, #fffcf7 0%, #fbefcf 60%, #f3dda9 100%);
}
.opening-stage[data-opening="5"] .opening-world {
  top: 50%;
  opacity: .42;
  transform: translate(-50%, -50%) scale(1.34);
}
.opening-stage[data-opening="5"] .opening-core {
  width: 28px;
  height: 28px;
  box-shadow:
    0 0 24px rgba(226,181,65,.7),
    0 0 100px rgba(250,218,127,.85);
}
.world-finale,
.world-finale picture,
.world-finale img {
  display: block;
  width: 100%;
}
.world-finale {
  overflow: hidden;
  background: #fffaf0;
}
.world-finale img {
  height: auto;
}
@media (min-width: 900px) {
  .opening-world { width: min(48vw, 560px); }
  .opening-scene { padding-inline: 8vw; }
  .opening-date p { font-size: 54px; }
  .opening-declaration h2 { font-size: 54px; }
  .opening-name { font-size: 22px; }
  .opening-name strong { font-size: 44px; }
  .opening-place { font-size: 18px; }
  .opening-steps { font-size: 31px; }
  .opening-action { font-size: 21px; }
  .opening-message { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .opening-stage,
  .opening-world,
  .opening-core,
  .opening-orbit,
  .opening-lights i,
  .opening-scene {
    transition: none;
  }
}
