.idea-section {
  position: relative;
  overflow: hidden;
  background: #0a0c10;
  color: #fff;
}

.idea-section::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #252a30;
  content: "";
  transform: translateX(50%);
  pointer-events: none;
}

.idea-section__inner {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  min-height: 560px;
  grid-template:
    "label copy" auto
    "orbit copy" 1fr
    / minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(36px, 6vw, 90px);
  margin-inline: auto;
  padding-block: 70px 82px;
}

.idea-section__label {
  grid-area: label;
  align-self: start;
  margin: 0;
  color: #9aa3b5;
  font: 500 12px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.idea-section__label span {
  padding-inline: 5px;
  color: #22e07a;
}

.idea-section__orbit {
  grid-area: orbit;
  width: min(100%, 360px);
  justify-self: center;
}

.idea-section__orbit canvas {
  display: block;
  width: 100%;
  height: auto;
}

.idea-section__right {
  grid-area: copy;
  perspective: 600px;
}

.idea-section__box {
  position: relative;
  transform: rotateX(5deg);
  transform-origin: 50% 100%;
}

.idea-section__text {
  clip-path: inset(0 100% 0 0);
}

.idea-section__title {
  margin: 0 0 18px;
  color: #fff;
  font: 800 clamp(28px, 3.2vw, 52px)/1.2 system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.idea-section__title b {
  color: #22e07a;
  font-weight: 800;
}

.idea-section__description {
  max-width: 560px;
  margin: 0;
  color: #9aa3b5;
  font: clamp(15px, 1.2vw, 18px)/1.65 system-ui, sans-serif;
}

.idea-section__beam {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 2px;
  background: #22e07a;
  opacity: 0;
}

.idea-section__beam::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46px;
  background: rgb(34 224 122 / 12%);
  content: "";
}

.idea-section.is-play .idea-section__text {
  animation: idea-text-reveal 2.6s 0.4s cubic-bezier(0.65, 0, 0.35, 1) both;
  will-change: clip-path;
}

.idea-section.is-play .idea-section__beam {
  animation: idea-beam-scan 2.6s 0.4s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.idea-section.is-play .idea-section__text.is-revealed {
  clip-path: none;
  will-change: auto;
}

@keyframes idea-text-reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes idea-beam-scan {
  0% {
    left: 0;
    opacity: 1;
  }

  99% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@media (max-width: 899px) {
  .idea-section__inner {
    width: min(640px, calc(100% - 40px));
    min-height: 0;
    grid-template:
      "label" auto
      "orbit" auto
      "copy" auto
      / minmax(0, 1fr);
    row-gap: 22px;
    padding-block: 52px 68px;
  }

  .idea-section__orbit {
    width: min(100%, 360px);
  }

  .idea-section__title {
    font-size: clamp(27px, 5.2vw, 42px);
  }

  .idea-section__description {
    font-size: clamp(14px, 2.1vw, 17px);
  }
}

@media (max-width: 480px) {
  .idea-section__inner {
    width: calc(100% - 40px);
    row-gap: 18px;
    padding-block: 42px 58px;
  }

  .idea-section__box {
    transform: rotateX(4deg);
  }

  .idea-section__title {
    font-size: clamp(25px, 7.2vw, 34px);
  }

  .idea-section__description {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-section__text {
    clip-path: none !important;
    animation: none !important;
  }

  .idea-section__beam {
    display: none;
  }

}
