.eclipse-phase-interactive{
  position: relative;
  width: 100%;
  min-height: 0;
  background: #2a2a2a;
  color: #fff;
  overflow: visible;
}

.eclipse-phase-interactive__stage{
  position: relative;
  top: 0;
  z-index: 1;
  width: 100%;
  min-height: clamp(430px, 62vw, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #2a2a2a;
}

.eclipse-phase-interactive__inner{
  position: relative;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

.eclipse-phase-interactive__image-container{
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.eclipse-phase-interactive__image-stack{
  position: relative;
  width: 100%;
  isolation: isolate;
}

.eclipse-phase-interactive__image{
  width: 100%;
  height: auto;
  display: block;
}

.eclipse-phase-interactive__image--totality{
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  mix-blend-mode: lighten;
  transition: opacity .35s ease;
  pointer-events: none;
}

.eclipse-phase-interactive__moon{
  position: absolute;
  top: 50%;
  left: 0;
  width: 41%;
  aspect-ratio: 1;
  border: 3px solid #2a2a2a;
  border-radius: 50%;
  background: #2a2a2a;
  opacity: .9;
  transform: translate(0, -50%);
  pointer-events: none;
  transition: opacity .4s ease;
}

.eclipse-phase-interactive__copy{
  position: absolute;
  left: 50%;
  top: calc(100% - 90px);
  width: min(740px, 100%);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .45s ease;
  pointer-events: none;
}

.eclipse-phase-interactive__copy.is-visible{
  opacity: 1;
}

.eclipse-phase-interactive__title{
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.eclipse-phase-interactive__subtitle{
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.eclipse-phase-interactive__description{
  max-width: 740px;
  margin: 0 auto;
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.5;
  white-space: pre-line;
}

.eclipse-phase-interactive__spacer{
  display: none;
}

@media (max-width: 768px){
  .eclipse-phase-interactive{
    background: #2a2a2a;
  }

  .eclipse-phase-interactive__stage{
    width: 100%;
    min-height: 0;
    display: block;
    padding: 18px 0 0;
    background: #2a2a2a;
  }

  .eclipse-phase-interactive__inner{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
    text-align: center;
  }

  .eclipse-phase-interactive__image-container{
    max-width: none;
  }

  .eclipse-phase-interactive__moon{
    border-width: 2px;
  }

  .eclipse-phase-interactive__copy{
    position: static;
    width: auto;
    margin-top: 0;
    transform: none;
  }

  .eclipse-phase-interactive__title{
    margin-bottom: 3px;
    font-size: 18px;
  }

  .eclipse-phase-interactive__subtitle{
    font-size: 12px;
  }

  .eclipse-phase-interactive__description{
    display: none;
  }

  .eclipse-phase-interactive__spacer{
    display: none;
  }
}
