.method-logo-scene {
  width: min(960px, 94vw);
  min-height: min(72vh, 650px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.method-logo-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(18, 217, 210, 0.1), transparent 36%);
  opacity: 0;
  animation: methodAmbientIn 0.9s ease 2.1s forwards;
  z-index: -1;
  pointer-events: none;
}

.method-logo-stage {
  width: min(100%, 540px);
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 0 12px;
  box-sizing: border-box;
}

.method-logo-mark {
  width: 280px;
  height: 280px;
  position: relative;
  z-index: 2;
}

.method-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(18, 217, 210, 0.14));
}

.method-logo-arc-ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 20;
  stroke-linecap: round;
  stroke-dasharray: 110.6 341.8;
  stroke-dashoffset: 110.6;
  opacity: 0;
}

.method-logo-arc-wrap.top .method-logo-arc-ring {
  animation: methodArcDraw 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.method-logo-arc-wrap.right .method-logo-arc-ring {
  animation: methodArcDraw 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.92s forwards;
}

.method-logo-arc-wrap.left .method-logo-arc-ring {
  animation: methodArcDraw 0.52s cubic-bezier(0.22, 1, 0.36, 1) 1.29s forwards;
}

.method-logo-core {
  fill: var(--teal);
  transform-box: view-box;
  transform-origin: 100px 100px;
  cursor: pointer;
  animation:
    methodCoreIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both,
    methodCorePulse 1.7s ease-in-out 0.5s 2;
}

.method-logo-core-hit {
  fill: transparent;
  cursor: pointer;
}

.method-logo-label {
  position: absolute;
  margin: 0;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.01em;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(8px);
  white-space: nowrap;
  z-index: 3;
}

.method-logo-label a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.method-logo-label a:hover,
.method-logo-label a:focus-visible {
  color: var(--teal);
  outline: none;
}

.method-logo-label.top {
  top: 28px;
  left: 50%;
  transform: translate(-50%, 8px);
  animation: methodLabelTop 0.55s ease 0.55s forwards;
}

.method-logo-label.left {
  left: 0;
  bottom: 68px;
  animation: methodLabelIn 0.55s ease 1.29s forwards;
}

.method-logo-label.right {
  right: 0;
  bottom: 68px;
  animation: methodLabelIn 0.55s ease 0.92s forwards;
}

.method-logo-caption {
  position: absolute;
  bottom: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0;
  animation: methodCaptionIn 0.7s ease 1.85s forwards;
}

.method-logo-mark:hover .method-logo-core {
  filter: drop-shadow(0 0 18px rgba(18, 217, 210, 0.42));
  transform: scale(1.08);
  transition: 0.25s ease;
}

.method-logo-scene.replay .method-logo-core,
.method-logo-scene.replay .method-logo-arc-ring,
.method-logo-scene.replay .method-logo-label,
.method-logo-scene.replay .method-logo-caption,
.method-logo-scene.replay::before {
  animation: none !important;
}

@keyframes methodCoreIn {
  0% { opacity: 0; transform: scale(0); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes methodCorePulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(18, 217, 210, 0.22)); }
  50% { filter: drop-shadow(0 0 22px rgba(18, 217, 210, 0.42)); }
}

@keyframes methodArcDraw {
  0% { opacity: 0; stroke-dashoffset: 110.6; }
  12% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes methodLabelTop {
  to { opacity: 1; filter: blur(0); transform: translate(-50%, 0); }
}

@keyframes methodLabelIn {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes methodCaptionIn {
  to { opacity: 1; }
}

@keyframes methodAmbientIn {
  to { opacity: 1; }
}

.method-hero .method-logo-scene {
  width: 100%;
  min-height: auto;
  margin: 0;
}

.method-hero .method-logo-stage {
  width: min(100%, 540px);
  height: auto;
  min-height: 360px;
  aspect-ratio: auto;
  margin: 0 auto;
}

.hero .method-logo-scene {
  width: 100%;
  min-height: auto;
  margin: 0;
}

.hero .method-logo-stage {
  width: min(100%, 540px);
  height: auto;
  min-height: 360px;
  aspect-ratio: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .method-hero .method-logo-stage {
    width: min(100%, 400px);
  }

  .method-hero .method-logo-mark {
    width: min(100%, 240px);
  }

  .hero .method-logo-stage {
    width: min(100%, 400px);
  }

  .hero .method-logo-mark {
    width: min(100%, 240px);
  }
}

@media (max-width: 650px) {
  .method-logo-scene {
    min-height: 560px;
  }

  .method-logo-stage {
    width: min(100%, 360px);
    height: auto;
    min-height: 400px;
    transform: none;
    padding: 0 8px;
  }

  .method-logo-mark {
    width: 220px;
    height: 220px;
  }

  .method-logo-label.top { top: 28px; }
  .method-logo-label.left { left: 0; bottom: 48px; }
  .method-logo-label.right { right: 0; bottom: 48px; }
  .method-logo-caption { bottom: 6px; width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  .method-logo-scene *,
  .method-logo-scene *::before,
  .method-logo-scene::before {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .method-logo-arc-ring {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .method-logo-label.top {
    transform: translate(-50%, 0);
  }
}
